re PR c++/70266 (ICE on invalid code on x86_64-linux-gnu: unexpected expression ...
[official-gcc.git] / Makefile.in
blobda2600b321d08ac57744ddf8d8391d024628136d
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 feedback; some are overridden below.
474 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
475 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
476 @if target-libstdc++-v3-bootstrap
477 # Override the above if we're bootstrapping C++.
478 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
479 @endif target-libstdc++-v3-bootstrap
480 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
481 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Defaults for stage autoprofile; some are overridden below.
484 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
485 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
486 @if target-libstdc++-v3-bootstrap
487 # Override the above if we're bootstrapping C++.
488 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
489 @endif target-libstdc++-v3-bootstrap
490 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
491 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
493 # Defaults for stage autofeedback; some are overridden below.
494 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
495 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
501 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
504 # By default, C and C++ are the only stage1 languages, because they are the
505 # only ones we require to build with the bootstrap compiler, and also the
506 # only ones useful for building stage2.
508 STAGE1_CFLAGS = @stage1_cflags@
509 STAGE1_CHECKING = @stage1_checking@
510 STAGE1_LANGUAGES = @stage1_languages@
511 # * We force-disable intermodule optimizations, even if
512 # --enable-intermodule was passed, since the installed compiler
513 # probably can't handle them. Luckily, autoconf always respects
514 # the last argument when conflicting --enable arguments are passed.
515 # * Likewise, we force-disable coverage flags, since the installed
516 # compiler probably has never heard of them.
517 # * We also disable -Wformat, since older GCCs don't understand newer %s.
518 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
519 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
520 --disable-build-format-warnings
522 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
523 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
525 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
526 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
528 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
529 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
531 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
532 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
534 do-compare = @do_compare@
535 do-compare3 = $(do-compare)
537 # -----------------------------------------------
538 # Programs producing files for the TARGET machine
539 # -----------------------------------------------
541 AR_FOR_TARGET=@AR_FOR_TARGET@
542 AS_FOR_TARGET=@AS_FOR_TARGET@
543 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
545 # If GCC_FOR_TARGET is not overriden on the command line, then this
546 # variable is passed down to the gcc Makefile, where it is used to
547 # build libgcc2.a. We define it here so that it can itself be
548 # overridden on the command line.
549 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
550 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
551 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
552 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
553 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
554 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
555 LD_FOR_TARGET=@LD_FOR_TARGET@
557 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
558 NM_FOR_TARGET=@NM_FOR_TARGET@
559 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
560 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
561 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
562 READELF_FOR_TARGET=@READELF_FOR_TARGET@
563 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
564 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
565 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
567 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
568 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
569 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
571 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
572 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
574 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
575 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
576 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
577 GOCFLAGS_FOR_TARGET = -O2 -g
579 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
580 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
581 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
583 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
585 # ------------------------------------
586 # Miscellaneous targets and flag lists
587 # ------------------------------------
589 # The first rule in the file had better be this one. Don't put any above it.
590 # This lives here to allow makefile fragments to contain dependencies.
591 all:
593 #### host and target specific makefile fragments come in here.
594 @target_makefile_frag@
595 @alphaieee_frag@
596 @ospace_frag@
597 @host_makefile_frag@
600 # This is the list of directories that may be needed in RPATH_ENVVAR
601 # so that programs built for the target machine work.
602 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)
604 @if target-libstdc++-v3
605 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
606 @endif target-libstdc++-v3
608 @if target-libsanitizer
609 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
610 @endif target-libsanitizer
612 @if target-libmpx
613 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
614 @endif target-libmpx
616 @if target-libvtv
617 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
618 @endif target-libvtv
620 @if target-libcilkrts
621 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
622 @endif target-libcilkrts
624 @if target-liboffloadmic
625 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
626 @endif target-liboffloadmic
628 @if target-libssp
629 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
630 @endif target-libssp
632 @if target-libgomp
633 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
634 @endif target-libgomp
636 @if target-libitm
637 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
638 @endif target-libitm
640 @if target-libatomic
641 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
642 @endif target-libatomic
646 # This is the list of directories that may be needed in RPATH_ENVVAR
647 # so that programs built for the host machine work.
648 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
650 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
651 @if gcc
652 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
653 @endif gcc
656 @if gmp
657 HOST_LIB_PATH_gmp = \
658 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
659 @endif gmp
661 @if mpfr
662 HOST_LIB_PATH_mpfr = \
663 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
664 @endif mpfr
666 @if mpc
667 HOST_LIB_PATH_mpc = \
668 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
669 @endif mpc
671 @if isl
672 HOST_LIB_PATH_isl = \
673 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
674 @endif isl
676 @if libelf
677 HOST_LIB_PATH_libelf = \
678 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
679 @endif libelf
682 CXX_FOR_TARGET_FLAG_TO_PASS = \
683 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
684 @if target-libstdc++-v3
685 # CXX_FOR_TARGET is tricky to get right for target libs that require a
686 # functional C++ compiler. When we recurse, if we expand
687 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
688 # libstdc++ include flags from the script. Instead, we get an
689 # -funconfigured-* word, so that we'll get errors if this invalid C++
690 # command line is used for anything, but also so that we can use the
691 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
692 # don't pass it on, sub-make will use the default definition, that
693 # re-expands it at the time of use, so we'll get it right when we need
694 # it. One potential exception is the expansion of CXX_FOR_TARGET
695 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
696 # really work, for C++ host programs can't depend on the current-stage
697 # C++ target library.
698 CXX_FOR_TARGET_FLAG_TO_PASS = \
699 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
700 @endif target-libstdc++-v3
702 # Flags to pass down to all sub-makes. STAGE*FLAGS,
703 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
704 # overrideable (for a bootstrap build stage1 also builds gcc.info).
705 BASE_FLAGS_TO_PASS = \
706 "DESTDIR=$(DESTDIR)" \
707 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
708 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
709 "bindir=$(bindir)" \
710 "datadir=$(datadir)" \
711 "exec_prefix=$(exec_prefix)" \
712 "includedir=$(includedir)" \
713 "datarootdir=$(datarootdir)" \
714 "docdir=$(docdir)" \
715 "infodir=$(infodir)" \
716 "pdfdir=$(pdfdir)" \
717 "htmldir=$(htmldir)" \
718 "libdir=$(libdir)" \
719 "libexecdir=$(libexecdir)" \
720 "lispdir=$(lispdir)" \
721 "localstatedir=$(localstatedir)" \
722 "mandir=$(mandir)" \
723 "oldincludedir=$(oldincludedir)" \
724 "prefix=$(prefix)" \
725 "sbindir=$(sbindir)" \
726 "sharedstatedir=$(sharedstatedir)" \
727 "sysconfdir=$(sysconfdir)" \
728 "tooldir=$(tooldir)" \
729 "build_tooldir=$(build_tooldir)" \
730 "target_alias=$(target_alias)" \
731 "AWK=$(AWK)" \
732 "BISON=$(BISON)" \
733 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
734 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
735 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
736 "EXPECT=$(EXPECT)" \
737 "FLEX=$(FLEX)" \
738 "INSTALL=$(INSTALL)" \
739 "INSTALL_DATA=$(INSTALL_DATA)" \
740 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
741 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
742 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
743 "LEX=$(LEX)" \
744 "M4=$(M4)" \
745 "MAKE=$(MAKE)" \
746 "RUNTEST=$(RUNTEST)" \
747 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
748 "SED=$(SED)" \
749 "SHELL=$(SHELL)" \
750 "YACC=$(YACC)" \
751 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
752 "ADA_CFLAGS=$(ADA_CFLAGS)" \
753 "AR_FLAGS=$(AR_FLAGS)" \
754 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
755 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
756 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
757 "CFLAGS=$(CFLAGS)" \
758 "CXXFLAGS=$(CXXFLAGS)" \
759 "LDFLAGS=$(LDFLAGS)" \
760 "LIBCFLAGS=$(LIBCFLAGS)" \
761 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
762 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
763 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
764 "GNATBIND=$(GNATBIND)" \
765 "GNATMAKE=$(GNATMAKE)" \
766 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
767 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
768 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
769 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
770 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
771 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
772 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
773 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
774 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
775 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
776 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
777 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
778 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
779 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
780 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
781 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
782 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
783 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
784 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
785 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
786 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
787 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
788 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
789 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
790 "BUILD_CONFIG=$(BUILD_CONFIG)" \
791 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
792 "LEAN=$(LEAN)" \
793 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
794 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
795 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
796 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
797 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
798 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
799 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
800 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
801 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
802 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
803 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
804 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
805 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
806 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
807 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
808 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
809 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
810 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
811 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
812 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
813 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
814 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
815 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
816 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
817 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
818 "TFLAGS=$(TFLAGS)" \
819 "CONFIG_SHELL=$(SHELL)" \
820 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
821 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
823 # We leave this in just in case, but it is not needed anymore.
824 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
826 # Flags to pass down to most sub-makes, in which we're building with
827 # the host environment.
828 EXTRA_HOST_FLAGS = \
829 'AR=$(AR)' \
830 'AS=$(AS)' \
831 'CC=$(CC)' \
832 'CXX=$(CXX)' \
833 'DLLTOOL=$(DLLTOOL)' \
834 'GFORTRAN=$(GFORTRAN)' \
835 'GOC=$(GOC)' \
836 'LD=$(LD)' \
837 'LIPO=$(LIPO)' \
838 'NM=$(NM)' \
839 'OBJDUMP=$(OBJDUMP)' \
840 'RANLIB=$(RANLIB)' \
841 'READELF=$(READELF)' \
842 'STRIP=$(STRIP)' \
843 'WINDRES=$(WINDRES)' \
844 'WINDMC=$(WINDMC)' \
845 'CREATE_GCOV=$(CREATE_GCOV)'
847 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
849 # Flags to pass to stage1 or when not bootstrapping.
851 STAGE1_FLAGS_TO_PASS = \
852 LDFLAGS="$${LDFLAGS}" \
853 HOST_LIBS="$${HOST_LIBS}"
855 # Flags to pass to stage2 and later makes.
857 POSTSTAGE1_FLAGS_TO_PASS = \
858 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
859 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
860 GNATBIND="$${GNATBIND}" \
861 LDFLAGS="$${LDFLAGS}" \
862 HOST_LIBS="$${HOST_LIBS}" \
863 $(LTO_FLAGS_TO_PASS) \
864 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
866 @if gcc-bootstrap
867 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
868 $(POSTSTAGE1_HOST_EXPORTS) \
871 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
872 @endif gcc-bootstrap
874 # Flags to pass down to makes which are built with the target environment.
875 # The double $ decreases the length of the command line; those variables
876 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
877 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
878 # so we expand them here.
879 EXTRA_TARGET_FLAGS = \
880 'AR=$$(AR_FOR_TARGET)' \
881 'AS=$(COMPILER_AS_FOR_TARGET)' \
882 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
883 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
884 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
885 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
886 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
887 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
888 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
889 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
890 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
891 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
892 'LD=$(COMPILER_LD_FOR_TARGET)' \
893 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
894 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
895 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
896 'NM=$(COMPILER_NM_FOR_TARGET)' \
897 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
898 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
899 'RANLIB=$$(RANLIB_FOR_TARGET)' \
900 'READELF=$$(READELF_FOR_TARGET)' \
901 'WINDRES=$$(WINDRES_FOR_TARGET)' \
902 'WINDMC=$$(WINDMC_FOR_TARGET)' \
903 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
904 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
905 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
906 "TFLAGS=$$TFLAGS"
908 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
910 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
911 # unfortunately needs the native compiler and the target ar and
912 # ranlib.
913 # If any variables are added here, they must be added to do-*, below.
914 # The BUILD_* variables are a special case, which are used for the gcc
915 # cross-building scheme.
916 EXTRA_GCC_FLAGS = \
917 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
918 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
919 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
921 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
923 @if gcc
924 BUILD_CONFIG = @BUILD_CONFIG@
925 ifneq ($(BUILD_CONFIG),)
926 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
927 endif
928 @endif gcc
930 .PHONY: configure-host
931 configure-host: \
932 maybe-configure-bfd \
933 maybe-configure-opcodes \
934 maybe-configure-binutils \
935 maybe-configure-bison \
936 maybe-configure-cgen \
937 maybe-configure-dejagnu \
938 maybe-configure-etc \
939 maybe-configure-fastjar \
940 maybe-configure-fixincludes \
941 maybe-configure-flex \
942 maybe-configure-gas \
943 maybe-configure-gcc \
944 maybe-configure-gmp \
945 maybe-configure-mpfr \
946 maybe-configure-mpc \
947 maybe-configure-isl \
948 maybe-configure-libelf \
949 maybe-configure-gold \
950 maybe-configure-gprof \
951 maybe-configure-intl \
952 maybe-configure-tcl \
953 maybe-configure-itcl \
954 maybe-configure-ld \
955 maybe-configure-libbacktrace \
956 maybe-configure-libcpp \
957 maybe-configure-libdecnumber \
958 maybe-configure-libgui \
959 maybe-configure-libiberty \
960 maybe-configure-libiberty-linker-plugin \
961 maybe-configure-libiconv \
962 maybe-configure-m4 \
963 maybe-configure-readline \
964 maybe-configure-sid \
965 maybe-configure-sim \
966 maybe-configure-texinfo \
967 maybe-configure-zlib \
968 maybe-configure-gdb \
969 maybe-configure-expect \
970 maybe-configure-guile \
971 maybe-configure-tk \
972 maybe-configure-libtermcap \
973 maybe-configure-utils \
974 maybe-configure-gnattools \
975 maybe-configure-lto-plugin \
976 maybe-configure-libcc1 \
977 maybe-configure-gotools
978 .PHONY: configure-target
979 configure-target: \
980 maybe-configure-target-libstdc++-v3 \
981 maybe-configure-target-libsanitizer \
982 maybe-configure-target-libmpx \
983 maybe-configure-target-libvtv \
984 maybe-configure-target-libcilkrts \
985 maybe-configure-target-liboffloadmic \
986 maybe-configure-target-libssp \
987 maybe-configure-target-newlib \
988 maybe-configure-target-libgcc \
989 maybe-configure-target-libbacktrace \
990 maybe-configure-target-libquadmath \
991 maybe-configure-target-libgfortran \
992 maybe-configure-target-libobjc \
993 maybe-configure-target-libgo \
994 maybe-configure-target-libhsail-rt \
995 maybe-configure-target-libtermcap \
996 maybe-configure-target-winsup \
997 maybe-configure-target-libgloss \
998 maybe-configure-target-libffi \
999 maybe-configure-target-zlib \
1000 maybe-configure-target-rda \
1001 maybe-configure-target-libada \
1002 maybe-configure-target-libgomp \
1003 maybe-configure-target-libitm \
1004 maybe-configure-target-libatomic
1006 # The target built for a native non-bootstrap build.
1007 .PHONY: all
1008 all:
1009 @if gcc-bootstrap
1010 [ -f stage_final ] || echo stage3 > stage_final
1011 @r=`${PWD_COMMAND}`; export r; \
1012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1013 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1014 @endif gcc-bootstrap
1015 @: $(MAKE); $(unstage)
1016 @r=`${PWD_COMMAND}`; export r; \
1017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1018 @if gcc-bootstrap
1019 if [ -f stage_last ]; then \
1020 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1021 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1022 else \
1023 @endif gcc-bootstrap
1024 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1025 @if gcc-bootstrap
1027 fi \
1028 @endif gcc-bootstrap
1029 && :
1031 .PHONY: all-build
1033 all-build: maybe-all-build-libiberty
1034 all-build: maybe-all-build-bison
1035 all-build: maybe-all-build-flex
1036 all-build: maybe-all-build-m4
1037 all-build: maybe-all-build-texinfo
1038 all-build: maybe-all-build-fixincludes
1039 all-build: maybe-all-build-libcpp
1041 .PHONY: all-host
1043 @if bfd-no-bootstrap
1044 all-host: maybe-all-bfd
1045 @endif bfd-no-bootstrap
1046 @if opcodes-no-bootstrap
1047 all-host: maybe-all-opcodes
1048 @endif opcodes-no-bootstrap
1049 @if binutils-no-bootstrap
1050 all-host: maybe-all-binutils
1051 @endif binutils-no-bootstrap
1052 all-host: maybe-all-bison
1053 all-host: maybe-all-cgen
1054 all-host: maybe-all-dejagnu
1055 all-host: maybe-all-etc
1056 all-host: maybe-all-fastjar
1057 @if fixincludes-no-bootstrap
1058 all-host: maybe-all-fixincludes
1059 @endif fixincludes-no-bootstrap
1060 all-host: maybe-all-flex
1061 @if gas-no-bootstrap
1062 all-host: maybe-all-gas
1063 @endif gas-no-bootstrap
1064 @if gcc-no-bootstrap
1065 all-host: maybe-all-gcc
1066 @endif gcc-no-bootstrap
1067 @if gmp-no-bootstrap
1068 all-host: maybe-all-gmp
1069 @endif gmp-no-bootstrap
1070 @if mpfr-no-bootstrap
1071 all-host: maybe-all-mpfr
1072 @endif mpfr-no-bootstrap
1073 @if mpc-no-bootstrap
1074 all-host: maybe-all-mpc
1075 @endif mpc-no-bootstrap
1076 @if isl-no-bootstrap
1077 all-host: maybe-all-isl
1078 @endif isl-no-bootstrap
1079 @if libelf-no-bootstrap
1080 all-host: maybe-all-libelf
1081 @endif libelf-no-bootstrap
1082 @if gold-no-bootstrap
1083 all-host: maybe-all-gold
1084 @endif gold-no-bootstrap
1085 all-host: maybe-all-gprof
1086 @if intl-no-bootstrap
1087 all-host: maybe-all-intl
1088 @endif intl-no-bootstrap
1089 all-host: maybe-all-tcl
1090 all-host: maybe-all-itcl
1091 @if ld-no-bootstrap
1092 all-host: maybe-all-ld
1093 @endif ld-no-bootstrap
1094 @if libbacktrace-no-bootstrap
1095 all-host: maybe-all-libbacktrace
1096 @endif libbacktrace-no-bootstrap
1097 @if libcpp-no-bootstrap
1098 all-host: maybe-all-libcpp
1099 @endif libcpp-no-bootstrap
1100 @if libdecnumber-no-bootstrap
1101 all-host: maybe-all-libdecnumber
1102 @endif libdecnumber-no-bootstrap
1103 all-host: maybe-all-libgui
1104 @if libiberty-no-bootstrap
1105 all-host: maybe-all-libiberty
1106 @endif libiberty-no-bootstrap
1107 @if libiberty-linker-plugin-no-bootstrap
1108 all-host: maybe-all-libiberty-linker-plugin
1109 @endif libiberty-linker-plugin-no-bootstrap
1110 @if libiconv-no-bootstrap
1111 all-host: maybe-all-libiconv
1112 @endif libiconv-no-bootstrap
1113 all-host: maybe-all-m4
1114 all-host: maybe-all-readline
1115 all-host: maybe-all-sid
1116 all-host: maybe-all-sim
1117 all-host: maybe-all-texinfo
1118 @if zlib-no-bootstrap
1119 all-host: maybe-all-zlib
1120 @endif zlib-no-bootstrap
1121 all-host: maybe-all-gdb
1122 all-host: maybe-all-expect
1123 all-host: maybe-all-guile
1124 all-host: maybe-all-tk
1125 all-host: maybe-all-libtermcap
1126 all-host: maybe-all-utils
1127 all-host: maybe-all-gnattools
1128 @if lto-plugin-no-bootstrap
1129 all-host: maybe-all-lto-plugin
1130 @endif lto-plugin-no-bootstrap
1131 all-host: maybe-all-libcc1
1132 all-host: maybe-all-gotools
1134 .PHONY: all-target
1136 @if target-libstdc++-v3-no-bootstrap
1137 all-target: maybe-all-target-libstdc++-v3
1138 @endif target-libstdc++-v3-no-bootstrap
1139 @if target-libsanitizer-no-bootstrap
1140 all-target: maybe-all-target-libsanitizer
1141 @endif target-libsanitizer-no-bootstrap
1142 @if target-libmpx-no-bootstrap
1143 all-target: maybe-all-target-libmpx
1144 @endif target-libmpx-no-bootstrap
1145 @if target-libvtv-no-bootstrap
1146 all-target: maybe-all-target-libvtv
1147 @endif target-libvtv-no-bootstrap
1148 all-target: maybe-all-target-libcilkrts
1149 all-target: maybe-all-target-liboffloadmic
1150 all-target: maybe-all-target-libssp
1151 all-target: maybe-all-target-newlib
1152 @if target-libgcc-no-bootstrap
1153 all-target: maybe-all-target-libgcc
1154 @endif target-libgcc-no-bootstrap
1155 all-target: maybe-all-target-libbacktrace
1156 all-target: maybe-all-target-libquadmath
1157 all-target: maybe-all-target-libgfortran
1158 all-target: maybe-all-target-libobjc
1159 all-target: maybe-all-target-libgo
1160 all-target: maybe-all-target-libhsail-rt
1161 all-target: maybe-all-target-libtermcap
1162 all-target: maybe-all-target-winsup
1163 all-target: maybe-all-target-libgloss
1164 all-target: maybe-all-target-libffi
1165 all-target: maybe-all-target-zlib
1166 all-target: maybe-all-target-rda
1167 all-target: maybe-all-target-libada
1168 @if target-libgomp-no-bootstrap
1169 all-target: maybe-all-target-libgomp
1170 @endif target-libgomp-no-bootstrap
1171 all-target: maybe-all-target-libitm
1172 all-target: maybe-all-target-libatomic
1174 # Do a target for all the subdirectories. A ``make do-X'' will do a
1175 # ``make X'' in all subdirectories (because, in general, there is a
1176 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1177 # but it may do additional work as well).
1179 .PHONY: do-info
1180 do-info:
1181 @: $(MAKE); $(unstage)
1182 @r=`${PWD_COMMAND}`; export r; \
1183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1184 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1185 info-target
1188 .PHONY: info-host
1190 info-host: maybe-info-bfd
1191 info-host: maybe-info-opcodes
1192 info-host: maybe-info-binutils
1193 info-host: maybe-info-bison
1194 info-host: maybe-info-cgen
1195 info-host: maybe-info-dejagnu
1196 info-host: maybe-info-etc
1197 info-host: maybe-info-fastjar
1198 info-host: maybe-info-fixincludes
1199 info-host: maybe-info-flex
1200 info-host: maybe-info-gas
1201 info-host: maybe-info-gcc
1202 info-host: maybe-info-gmp
1203 info-host: maybe-info-mpfr
1204 info-host: maybe-info-mpc
1205 info-host: maybe-info-isl
1206 info-host: maybe-info-libelf
1207 info-host: maybe-info-gold
1208 info-host: maybe-info-gprof
1209 info-host: maybe-info-intl
1210 info-host: maybe-info-tcl
1211 info-host: maybe-info-itcl
1212 info-host: maybe-info-ld
1213 info-host: maybe-info-libbacktrace
1214 info-host: maybe-info-libcpp
1215 info-host: maybe-info-libdecnumber
1216 info-host: maybe-info-libgui
1217 info-host: maybe-info-libiberty
1218 info-host: maybe-info-libiberty-linker-plugin
1219 info-host: maybe-info-libiconv
1220 info-host: maybe-info-m4
1221 info-host: maybe-info-readline
1222 info-host: maybe-info-sid
1223 info-host: maybe-info-sim
1224 info-host: maybe-info-texinfo
1225 info-host: maybe-info-zlib
1226 info-host: maybe-info-gdb
1227 info-host: maybe-info-expect
1228 info-host: maybe-info-guile
1229 info-host: maybe-info-tk
1230 info-host: maybe-info-libtermcap
1231 info-host: maybe-info-utils
1232 info-host: maybe-info-gnattools
1233 info-host: maybe-info-lto-plugin
1234 info-host: maybe-info-libcc1
1235 info-host: maybe-info-gotools
1237 .PHONY: info-target
1239 info-target: maybe-info-target-libstdc++-v3
1240 info-target: maybe-info-target-libsanitizer
1241 info-target: maybe-info-target-libmpx
1242 info-target: maybe-info-target-libvtv
1243 info-target: maybe-info-target-libcilkrts
1244 info-target: maybe-info-target-liboffloadmic
1245 info-target: maybe-info-target-libssp
1246 info-target: maybe-info-target-newlib
1247 info-target: maybe-info-target-libgcc
1248 info-target: maybe-info-target-libbacktrace
1249 info-target: maybe-info-target-libquadmath
1250 info-target: maybe-info-target-libgfortran
1251 info-target: maybe-info-target-libobjc
1252 info-target: maybe-info-target-libgo
1253 info-target: maybe-info-target-libhsail-rt
1254 info-target: maybe-info-target-libtermcap
1255 info-target: maybe-info-target-winsup
1256 info-target: maybe-info-target-libgloss
1257 info-target: maybe-info-target-libffi
1258 info-target: maybe-info-target-zlib
1259 info-target: maybe-info-target-rda
1260 info-target: maybe-info-target-libada
1261 info-target: maybe-info-target-libgomp
1262 info-target: maybe-info-target-libitm
1263 info-target: maybe-info-target-libatomic
1265 .PHONY: do-dvi
1266 do-dvi:
1267 @: $(MAKE); $(unstage)
1268 @r=`${PWD_COMMAND}`; export r; \
1269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1270 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1271 dvi-target
1274 .PHONY: dvi-host
1276 dvi-host: maybe-dvi-bfd
1277 dvi-host: maybe-dvi-opcodes
1278 dvi-host: maybe-dvi-binutils
1279 dvi-host: maybe-dvi-bison
1280 dvi-host: maybe-dvi-cgen
1281 dvi-host: maybe-dvi-dejagnu
1282 dvi-host: maybe-dvi-etc
1283 dvi-host: maybe-dvi-fastjar
1284 dvi-host: maybe-dvi-fixincludes
1285 dvi-host: maybe-dvi-flex
1286 dvi-host: maybe-dvi-gas
1287 dvi-host: maybe-dvi-gcc
1288 dvi-host: maybe-dvi-gmp
1289 dvi-host: maybe-dvi-mpfr
1290 dvi-host: maybe-dvi-mpc
1291 dvi-host: maybe-dvi-isl
1292 dvi-host: maybe-dvi-libelf
1293 dvi-host: maybe-dvi-gold
1294 dvi-host: maybe-dvi-gprof
1295 dvi-host: maybe-dvi-intl
1296 dvi-host: maybe-dvi-tcl
1297 dvi-host: maybe-dvi-itcl
1298 dvi-host: maybe-dvi-ld
1299 dvi-host: maybe-dvi-libbacktrace
1300 dvi-host: maybe-dvi-libcpp
1301 dvi-host: maybe-dvi-libdecnumber
1302 dvi-host: maybe-dvi-libgui
1303 dvi-host: maybe-dvi-libiberty
1304 dvi-host: maybe-dvi-libiberty-linker-plugin
1305 dvi-host: maybe-dvi-libiconv
1306 dvi-host: maybe-dvi-m4
1307 dvi-host: maybe-dvi-readline
1308 dvi-host: maybe-dvi-sid
1309 dvi-host: maybe-dvi-sim
1310 dvi-host: maybe-dvi-texinfo
1311 dvi-host: maybe-dvi-zlib
1312 dvi-host: maybe-dvi-gdb
1313 dvi-host: maybe-dvi-expect
1314 dvi-host: maybe-dvi-guile
1315 dvi-host: maybe-dvi-tk
1316 dvi-host: maybe-dvi-libtermcap
1317 dvi-host: maybe-dvi-utils
1318 dvi-host: maybe-dvi-gnattools
1319 dvi-host: maybe-dvi-lto-plugin
1320 dvi-host: maybe-dvi-libcc1
1321 dvi-host: maybe-dvi-gotools
1323 .PHONY: dvi-target
1325 dvi-target: maybe-dvi-target-libstdc++-v3
1326 dvi-target: maybe-dvi-target-libsanitizer
1327 dvi-target: maybe-dvi-target-libmpx
1328 dvi-target: maybe-dvi-target-libvtv
1329 dvi-target: maybe-dvi-target-libcilkrts
1330 dvi-target: maybe-dvi-target-liboffloadmic
1331 dvi-target: maybe-dvi-target-libssp
1332 dvi-target: maybe-dvi-target-newlib
1333 dvi-target: maybe-dvi-target-libgcc
1334 dvi-target: maybe-dvi-target-libbacktrace
1335 dvi-target: maybe-dvi-target-libquadmath
1336 dvi-target: maybe-dvi-target-libgfortran
1337 dvi-target: maybe-dvi-target-libobjc
1338 dvi-target: maybe-dvi-target-libgo
1339 dvi-target: maybe-dvi-target-libhsail-rt
1340 dvi-target: maybe-dvi-target-libtermcap
1341 dvi-target: maybe-dvi-target-winsup
1342 dvi-target: maybe-dvi-target-libgloss
1343 dvi-target: maybe-dvi-target-libffi
1344 dvi-target: maybe-dvi-target-zlib
1345 dvi-target: maybe-dvi-target-rda
1346 dvi-target: maybe-dvi-target-libada
1347 dvi-target: maybe-dvi-target-libgomp
1348 dvi-target: maybe-dvi-target-libitm
1349 dvi-target: maybe-dvi-target-libatomic
1351 .PHONY: do-pdf
1352 do-pdf:
1353 @: $(MAKE); $(unstage)
1354 @r=`${PWD_COMMAND}`; export r; \
1355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1356 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1357 pdf-target
1360 .PHONY: pdf-host
1362 pdf-host: maybe-pdf-bfd
1363 pdf-host: maybe-pdf-opcodes
1364 pdf-host: maybe-pdf-binutils
1365 pdf-host: maybe-pdf-bison
1366 pdf-host: maybe-pdf-cgen
1367 pdf-host: maybe-pdf-dejagnu
1368 pdf-host: maybe-pdf-etc
1369 pdf-host: maybe-pdf-fastjar
1370 pdf-host: maybe-pdf-fixincludes
1371 pdf-host: maybe-pdf-flex
1372 pdf-host: maybe-pdf-gas
1373 pdf-host: maybe-pdf-gcc
1374 pdf-host: maybe-pdf-gmp
1375 pdf-host: maybe-pdf-mpfr
1376 pdf-host: maybe-pdf-mpc
1377 pdf-host: maybe-pdf-isl
1378 pdf-host: maybe-pdf-libelf
1379 pdf-host: maybe-pdf-gold
1380 pdf-host: maybe-pdf-gprof
1381 pdf-host: maybe-pdf-intl
1382 pdf-host: maybe-pdf-tcl
1383 pdf-host: maybe-pdf-itcl
1384 pdf-host: maybe-pdf-ld
1385 pdf-host: maybe-pdf-libbacktrace
1386 pdf-host: maybe-pdf-libcpp
1387 pdf-host: maybe-pdf-libdecnumber
1388 pdf-host: maybe-pdf-libgui
1389 pdf-host: maybe-pdf-libiberty
1390 pdf-host: maybe-pdf-libiberty-linker-plugin
1391 pdf-host: maybe-pdf-libiconv
1392 pdf-host: maybe-pdf-m4
1393 pdf-host: maybe-pdf-readline
1394 pdf-host: maybe-pdf-sid
1395 pdf-host: maybe-pdf-sim
1396 pdf-host: maybe-pdf-texinfo
1397 pdf-host: maybe-pdf-zlib
1398 pdf-host: maybe-pdf-gdb
1399 pdf-host: maybe-pdf-expect
1400 pdf-host: maybe-pdf-guile
1401 pdf-host: maybe-pdf-tk
1402 pdf-host: maybe-pdf-libtermcap
1403 pdf-host: maybe-pdf-utils
1404 pdf-host: maybe-pdf-gnattools
1405 pdf-host: maybe-pdf-lto-plugin
1406 pdf-host: maybe-pdf-libcc1
1407 pdf-host: maybe-pdf-gotools
1409 .PHONY: pdf-target
1411 pdf-target: maybe-pdf-target-libstdc++-v3
1412 pdf-target: maybe-pdf-target-libsanitizer
1413 pdf-target: maybe-pdf-target-libmpx
1414 pdf-target: maybe-pdf-target-libvtv
1415 pdf-target: maybe-pdf-target-libcilkrts
1416 pdf-target: maybe-pdf-target-liboffloadmic
1417 pdf-target: maybe-pdf-target-libssp
1418 pdf-target: maybe-pdf-target-newlib
1419 pdf-target: maybe-pdf-target-libgcc
1420 pdf-target: maybe-pdf-target-libbacktrace
1421 pdf-target: maybe-pdf-target-libquadmath
1422 pdf-target: maybe-pdf-target-libgfortran
1423 pdf-target: maybe-pdf-target-libobjc
1424 pdf-target: maybe-pdf-target-libgo
1425 pdf-target: maybe-pdf-target-libhsail-rt
1426 pdf-target: maybe-pdf-target-libtermcap
1427 pdf-target: maybe-pdf-target-winsup
1428 pdf-target: maybe-pdf-target-libgloss
1429 pdf-target: maybe-pdf-target-libffi
1430 pdf-target: maybe-pdf-target-zlib
1431 pdf-target: maybe-pdf-target-rda
1432 pdf-target: maybe-pdf-target-libada
1433 pdf-target: maybe-pdf-target-libgomp
1434 pdf-target: maybe-pdf-target-libitm
1435 pdf-target: maybe-pdf-target-libatomic
1437 .PHONY: do-html
1438 do-html:
1439 @: $(MAKE); $(unstage)
1440 @r=`${PWD_COMMAND}`; export r; \
1441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1442 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1443 html-target
1446 .PHONY: html-host
1448 html-host: maybe-html-bfd
1449 html-host: maybe-html-opcodes
1450 html-host: maybe-html-binutils
1451 html-host: maybe-html-bison
1452 html-host: maybe-html-cgen
1453 html-host: maybe-html-dejagnu
1454 html-host: maybe-html-etc
1455 html-host: maybe-html-fastjar
1456 html-host: maybe-html-fixincludes
1457 html-host: maybe-html-flex
1458 html-host: maybe-html-gas
1459 html-host: maybe-html-gcc
1460 html-host: maybe-html-gmp
1461 html-host: maybe-html-mpfr
1462 html-host: maybe-html-mpc
1463 html-host: maybe-html-isl
1464 html-host: maybe-html-libelf
1465 html-host: maybe-html-gold
1466 html-host: maybe-html-gprof
1467 html-host: maybe-html-intl
1468 html-host: maybe-html-tcl
1469 html-host: maybe-html-itcl
1470 html-host: maybe-html-ld
1471 html-host: maybe-html-libbacktrace
1472 html-host: maybe-html-libcpp
1473 html-host: maybe-html-libdecnumber
1474 html-host: maybe-html-libgui
1475 html-host: maybe-html-libiberty
1476 html-host: maybe-html-libiberty-linker-plugin
1477 html-host: maybe-html-libiconv
1478 html-host: maybe-html-m4
1479 html-host: maybe-html-readline
1480 html-host: maybe-html-sid
1481 html-host: maybe-html-sim
1482 html-host: maybe-html-texinfo
1483 html-host: maybe-html-zlib
1484 html-host: maybe-html-gdb
1485 html-host: maybe-html-expect
1486 html-host: maybe-html-guile
1487 html-host: maybe-html-tk
1488 html-host: maybe-html-libtermcap
1489 html-host: maybe-html-utils
1490 html-host: maybe-html-gnattools
1491 html-host: maybe-html-lto-plugin
1492 html-host: maybe-html-libcc1
1493 html-host: maybe-html-gotools
1495 .PHONY: html-target
1497 html-target: maybe-html-target-libstdc++-v3
1498 html-target: maybe-html-target-libsanitizer
1499 html-target: maybe-html-target-libmpx
1500 html-target: maybe-html-target-libvtv
1501 html-target: maybe-html-target-libcilkrts
1502 html-target: maybe-html-target-liboffloadmic
1503 html-target: maybe-html-target-libssp
1504 html-target: maybe-html-target-newlib
1505 html-target: maybe-html-target-libgcc
1506 html-target: maybe-html-target-libbacktrace
1507 html-target: maybe-html-target-libquadmath
1508 html-target: maybe-html-target-libgfortran
1509 html-target: maybe-html-target-libobjc
1510 html-target: maybe-html-target-libgo
1511 html-target: maybe-html-target-libhsail-rt
1512 html-target: maybe-html-target-libtermcap
1513 html-target: maybe-html-target-winsup
1514 html-target: maybe-html-target-libgloss
1515 html-target: maybe-html-target-libffi
1516 html-target: maybe-html-target-zlib
1517 html-target: maybe-html-target-rda
1518 html-target: maybe-html-target-libada
1519 html-target: maybe-html-target-libgomp
1520 html-target: maybe-html-target-libitm
1521 html-target: maybe-html-target-libatomic
1523 .PHONY: do-TAGS
1524 do-TAGS:
1525 @: $(MAKE); $(unstage)
1526 @r=`${PWD_COMMAND}`; export r; \
1527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1528 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1529 TAGS-target
1532 .PHONY: TAGS-host
1534 TAGS-host: maybe-TAGS-bfd
1535 TAGS-host: maybe-TAGS-opcodes
1536 TAGS-host: maybe-TAGS-binutils
1537 TAGS-host: maybe-TAGS-bison
1538 TAGS-host: maybe-TAGS-cgen
1539 TAGS-host: maybe-TAGS-dejagnu
1540 TAGS-host: maybe-TAGS-etc
1541 TAGS-host: maybe-TAGS-fastjar
1542 TAGS-host: maybe-TAGS-fixincludes
1543 TAGS-host: maybe-TAGS-flex
1544 TAGS-host: maybe-TAGS-gas
1545 TAGS-host: maybe-TAGS-gcc
1546 TAGS-host: maybe-TAGS-gmp
1547 TAGS-host: maybe-TAGS-mpfr
1548 TAGS-host: maybe-TAGS-mpc
1549 TAGS-host: maybe-TAGS-isl
1550 TAGS-host: maybe-TAGS-libelf
1551 TAGS-host: maybe-TAGS-gold
1552 TAGS-host: maybe-TAGS-gprof
1553 TAGS-host: maybe-TAGS-intl
1554 TAGS-host: maybe-TAGS-tcl
1555 TAGS-host: maybe-TAGS-itcl
1556 TAGS-host: maybe-TAGS-ld
1557 TAGS-host: maybe-TAGS-libbacktrace
1558 TAGS-host: maybe-TAGS-libcpp
1559 TAGS-host: maybe-TAGS-libdecnumber
1560 TAGS-host: maybe-TAGS-libgui
1561 TAGS-host: maybe-TAGS-libiberty
1562 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1563 TAGS-host: maybe-TAGS-libiconv
1564 TAGS-host: maybe-TAGS-m4
1565 TAGS-host: maybe-TAGS-readline
1566 TAGS-host: maybe-TAGS-sid
1567 TAGS-host: maybe-TAGS-sim
1568 TAGS-host: maybe-TAGS-texinfo
1569 TAGS-host: maybe-TAGS-zlib
1570 TAGS-host: maybe-TAGS-gdb
1571 TAGS-host: maybe-TAGS-expect
1572 TAGS-host: maybe-TAGS-guile
1573 TAGS-host: maybe-TAGS-tk
1574 TAGS-host: maybe-TAGS-libtermcap
1575 TAGS-host: maybe-TAGS-utils
1576 TAGS-host: maybe-TAGS-gnattools
1577 TAGS-host: maybe-TAGS-lto-plugin
1578 TAGS-host: maybe-TAGS-libcc1
1579 TAGS-host: maybe-TAGS-gotools
1581 .PHONY: TAGS-target
1583 TAGS-target: maybe-TAGS-target-libstdc++-v3
1584 TAGS-target: maybe-TAGS-target-libsanitizer
1585 TAGS-target: maybe-TAGS-target-libmpx
1586 TAGS-target: maybe-TAGS-target-libvtv
1587 TAGS-target: maybe-TAGS-target-libcilkrts
1588 TAGS-target: maybe-TAGS-target-liboffloadmic
1589 TAGS-target: maybe-TAGS-target-libssp
1590 TAGS-target: maybe-TAGS-target-newlib
1591 TAGS-target: maybe-TAGS-target-libgcc
1592 TAGS-target: maybe-TAGS-target-libbacktrace
1593 TAGS-target: maybe-TAGS-target-libquadmath
1594 TAGS-target: maybe-TAGS-target-libgfortran
1595 TAGS-target: maybe-TAGS-target-libobjc
1596 TAGS-target: maybe-TAGS-target-libgo
1597 TAGS-target: maybe-TAGS-target-libhsail-rt
1598 TAGS-target: maybe-TAGS-target-libtermcap
1599 TAGS-target: maybe-TAGS-target-winsup
1600 TAGS-target: maybe-TAGS-target-libgloss
1601 TAGS-target: maybe-TAGS-target-libffi
1602 TAGS-target: maybe-TAGS-target-zlib
1603 TAGS-target: maybe-TAGS-target-rda
1604 TAGS-target: maybe-TAGS-target-libada
1605 TAGS-target: maybe-TAGS-target-libgomp
1606 TAGS-target: maybe-TAGS-target-libitm
1607 TAGS-target: maybe-TAGS-target-libatomic
1609 .PHONY: do-install-info
1610 do-install-info:
1611 @: $(MAKE); $(unstage)
1612 @r=`${PWD_COMMAND}`; export r; \
1613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1614 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1615 install-info-target
1618 .PHONY: install-info-host
1620 install-info-host: maybe-install-info-bfd
1621 install-info-host: maybe-install-info-opcodes
1622 install-info-host: maybe-install-info-binutils
1623 install-info-host: maybe-install-info-bison
1624 install-info-host: maybe-install-info-cgen
1625 install-info-host: maybe-install-info-dejagnu
1626 install-info-host: maybe-install-info-etc
1627 install-info-host: maybe-install-info-fastjar
1628 install-info-host: maybe-install-info-fixincludes
1629 install-info-host: maybe-install-info-flex
1630 install-info-host: maybe-install-info-gas
1631 install-info-host: maybe-install-info-gcc
1632 install-info-host: maybe-install-info-gmp
1633 install-info-host: maybe-install-info-mpfr
1634 install-info-host: maybe-install-info-mpc
1635 install-info-host: maybe-install-info-isl
1636 install-info-host: maybe-install-info-libelf
1637 install-info-host: maybe-install-info-gold
1638 install-info-host: maybe-install-info-gprof
1639 install-info-host: maybe-install-info-intl
1640 install-info-host: maybe-install-info-tcl
1641 install-info-host: maybe-install-info-itcl
1642 install-info-host: maybe-install-info-ld
1643 install-info-host: maybe-install-info-libbacktrace
1644 install-info-host: maybe-install-info-libcpp
1645 install-info-host: maybe-install-info-libdecnumber
1646 install-info-host: maybe-install-info-libgui
1647 install-info-host: maybe-install-info-libiberty
1648 install-info-host: maybe-install-info-libiberty-linker-plugin
1649 install-info-host: maybe-install-info-libiconv
1650 install-info-host: maybe-install-info-m4
1651 install-info-host: maybe-install-info-readline
1652 install-info-host: maybe-install-info-sid
1653 install-info-host: maybe-install-info-sim
1654 install-info-host: maybe-install-info-texinfo
1655 install-info-host: maybe-install-info-zlib
1656 install-info-host: maybe-install-info-gdb
1657 install-info-host: maybe-install-info-expect
1658 install-info-host: maybe-install-info-guile
1659 install-info-host: maybe-install-info-tk
1660 install-info-host: maybe-install-info-libtermcap
1661 install-info-host: maybe-install-info-utils
1662 install-info-host: maybe-install-info-gnattools
1663 install-info-host: maybe-install-info-lto-plugin
1664 install-info-host: maybe-install-info-libcc1
1665 install-info-host: maybe-install-info-gotools
1667 .PHONY: install-info-target
1669 install-info-target: maybe-install-info-target-libstdc++-v3
1670 install-info-target: maybe-install-info-target-libsanitizer
1671 install-info-target: maybe-install-info-target-libmpx
1672 install-info-target: maybe-install-info-target-libvtv
1673 install-info-target: maybe-install-info-target-libcilkrts
1674 install-info-target: maybe-install-info-target-liboffloadmic
1675 install-info-target: maybe-install-info-target-libssp
1676 install-info-target: maybe-install-info-target-newlib
1677 install-info-target: maybe-install-info-target-libgcc
1678 install-info-target: maybe-install-info-target-libbacktrace
1679 install-info-target: maybe-install-info-target-libquadmath
1680 install-info-target: maybe-install-info-target-libgfortran
1681 install-info-target: maybe-install-info-target-libobjc
1682 install-info-target: maybe-install-info-target-libgo
1683 install-info-target: maybe-install-info-target-libhsail-rt
1684 install-info-target: maybe-install-info-target-libtermcap
1685 install-info-target: maybe-install-info-target-winsup
1686 install-info-target: maybe-install-info-target-libgloss
1687 install-info-target: maybe-install-info-target-libffi
1688 install-info-target: maybe-install-info-target-zlib
1689 install-info-target: maybe-install-info-target-rda
1690 install-info-target: maybe-install-info-target-libada
1691 install-info-target: maybe-install-info-target-libgomp
1692 install-info-target: maybe-install-info-target-libitm
1693 install-info-target: maybe-install-info-target-libatomic
1695 .PHONY: do-install-pdf
1696 do-install-pdf:
1697 @: $(MAKE); $(unstage)
1698 @r=`${PWD_COMMAND}`; export r; \
1699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1701 install-pdf-target
1704 .PHONY: install-pdf-host
1706 install-pdf-host: maybe-install-pdf-bfd
1707 install-pdf-host: maybe-install-pdf-opcodes
1708 install-pdf-host: maybe-install-pdf-binutils
1709 install-pdf-host: maybe-install-pdf-bison
1710 install-pdf-host: maybe-install-pdf-cgen
1711 install-pdf-host: maybe-install-pdf-dejagnu
1712 install-pdf-host: maybe-install-pdf-etc
1713 install-pdf-host: maybe-install-pdf-fastjar
1714 install-pdf-host: maybe-install-pdf-fixincludes
1715 install-pdf-host: maybe-install-pdf-flex
1716 install-pdf-host: maybe-install-pdf-gas
1717 install-pdf-host: maybe-install-pdf-gcc
1718 install-pdf-host: maybe-install-pdf-gmp
1719 install-pdf-host: maybe-install-pdf-mpfr
1720 install-pdf-host: maybe-install-pdf-mpc
1721 install-pdf-host: maybe-install-pdf-isl
1722 install-pdf-host: maybe-install-pdf-libelf
1723 install-pdf-host: maybe-install-pdf-gold
1724 install-pdf-host: maybe-install-pdf-gprof
1725 install-pdf-host: maybe-install-pdf-intl
1726 install-pdf-host: maybe-install-pdf-tcl
1727 install-pdf-host: maybe-install-pdf-itcl
1728 install-pdf-host: maybe-install-pdf-ld
1729 install-pdf-host: maybe-install-pdf-libbacktrace
1730 install-pdf-host: maybe-install-pdf-libcpp
1731 install-pdf-host: maybe-install-pdf-libdecnumber
1732 install-pdf-host: maybe-install-pdf-libgui
1733 install-pdf-host: maybe-install-pdf-libiberty
1734 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1735 install-pdf-host: maybe-install-pdf-libiconv
1736 install-pdf-host: maybe-install-pdf-m4
1737 install-pdf-host: maybe-install-pdf-readline
1738 install-pdf-host: maybe-install-pdf-sid
1739 install-pdf-host: maybe-install-pdf-sim
1740 install-pdf-host: maybe-install-pdf-texinfo
1741 install-pdf-host: maybe-install-pdf-zlib
1742 install-pdf-host: maybe-install-pdf-gdb
1743 install-pdf-host: maybe-install-pdf-expect
1744 install-pdf-host: maybe-install-pdf-guile
1745 install-pdf-host: maybe-install-pdf-tk
1746 install-pdf-host: maybe-install-pdf-libtermcap
1747 install-pdf-host: maybe-install-pdf-utils
1748 install-pdf-host: maybe-install-pdf-gnattools
1749 install-pdf-host: maybe-install-pdf-lto-plugin
1750 install-pdf-host: maybe-install-pdf-libcc1
1751 install-pdf-host: maybe-install-pdf-gotools
1753 .PHONY: install-pdf-target
1755 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1756 install-pdf-target: maybe-install-pdf-target-libsanitizer
1757 install-pdf-target: maybe-install-pdf-target-libmpx
1758 install-pdf-target: maybe-install-pdf-target-libvtv
1759 install-pdf-target: maybe-install-pdf-target-libcilkrts
1760 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1761 install-pdf-target: maybe-install-pdf-target-libssp
1762 install-pdf-target: maybe-install-pdf-target-newlib
1763 install-pdf-target: maybe-install-pdf-target-libgcc
1764 install-pdf-target: maybe-install-pdf-target-libbacktrace
1765 install-pdf-target: maybe-install-pdf-target-libquadmath
1766 install-pdf-target: maybe-install-pdf-target-libgfortran
1767 install-pdf-target: maybe-install-pdf-target-libobjc
1768 install-pdf-target: maybe-install-pdf-target-libgo
1769 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1770 install-pdf-target: maybe-install-pdf-target-libtermcap
1771 install-pdf-target: maybe-install-pdf-target-winsup
1772 install-pdf-target: maybe-install-pdf-target-libgloss
1773 install-pdf-target: maybe-install-pdf-target-libffi
1774 install-pdf-target: maybe-install-pdf-target-zlib
1775 install-pdf-target: maybe-install-pdf-target-rda
1776 install-pdf-target: maybe-install-pdf-target-libada
1777 install-pdf-target: maybe-install-pdf-target-libgomp
1778 install-pdf-target: maybe-install-pdf-target-libitm
1779 install-pdf-target: maybe-install-pdf-target-libatomic
1781 .PHONY: do-install-html
1782 do-install-html:
1783 @: $(MAKE); $(unstage)
1784 @r=`${PWD_COMMAND}`; export r; \
1785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1786 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1787 install-html-target
1790 .PHONY: install-html-host
1792 install-html-host: maybe-install-html-bfd
1793 install-html-host: maybe-install-html-opcodes
1794 install-html-host: maybe-install-html-binutils
1795 install-html-host: maybe-install-html-bison
1796 install-html-host: maybe-install-html-cgen
1797 install-html-host: maybe-install-html-dejagnu
1798 install-html-host: maybe-install-html-etc
1799 install-html-host: maybe-install-html-fastjar
1800 install-html-host: maybe-install-html-fixincludes
1801 install-html-host: maybe-install-html-flex
1802 install-html-host: maybe-install-html-gas
1803 install-html-host: maybe-install-html-gcc
1804 install-html-host: maybe-install-html-gmp
1805 install-html-host: maybe-install-html-mpfr
1806 install-html-host: maybe-install-html-mpc
1807 install-html-host: maybe-install-html-isl
1808 install-html-host: maybe-install-html-libelf
1809 install-html-host: maybe-install-html-gold
1810 install-html-host: maybe-install-html-gprof
1811 install-html-host: maybe-install-html-intl
1812 install-html-host: maybe-install-html-tcl
1813 install-html-host: maybe-install-html-itcl
1814 install-html-host: maybe-install-html-ld
1815 install-html-host: maybe-install-html-libbacktrace
1816 install-html-host: maybe-install-html-libcpp
1817 install-html-host: maybe-install-html-libdecnumber
1818 install-html-host: maybe-install-html-libgui
1819 install-html-host: maybe-install-html-libiberty
1820 install-html-host: maybe-install-html-libiberty-linker-plugin
1821 install-html-host: maybe-install-html-libiconv
1822 install-html-host: maybe-install-html-m4
1823 install-html-host: maybe-install-html-readline
1824 install-html-host: maybe-install-html-sid
1825 install-html-host: maybe-install-html-sim
1826 install-html-host: maybe-install-html-texinfo
1827 install-html-host: maybe-install-html-zlib
1828 install-html-host: maybe-install-html-gdb
1829 install-html-host: maybe-install-html-expect
1830 install-html-host: maybe-install-html-guile
1831 install-html-host: maybe-install-html-tk
1832 install-html-host: maybe-install-html-libtermcap
1833 install-html-host: maybe-install-html-utils
1834 install-html-host: maybe-install-html-gnattools
1835 install-html-host: maybe-install-html-lto-plugin
1836 install-html-host: maybe-install-html-libcc1
1837 install-html-host: maybe-install-html-gotools
1839 .PHONY: install-html-target
1841 install-html-target: maybe-install-html-target-libstdc++-v3
1842 install-html-target: maybe-install-html-target-libsanitizer
1843 install-html-target: maybe-install-html-target-libmpx
1844 install-html-target: maybe-install-html-target-libvtv
1845 install-html-target: maybe-install-html-target-libcilkrts
1846 install-html-target: maybe-install-html-target-liboffloadmic
1847 install-html-target: maybe-install-html-target-libssp
1848 install-html-target: maybe-install-html-target-newlib
1849 install-html-target: maybe-install-html-target-libgcc
1850 install-html-target: maybe-install-html-target-libbacktrace
1851 install-html-target: maybe-install-html-target-libquadmath
1852 install-html-target: maybe-install-html-target-libgfortran
1853 install-html-target: maybe-install-html-target-libobjc
1854 install-html-target: maybe-install-html-target-libgo
1855 install-html-target: maybe-install-html-target-libhsail-rt
1856 install-html-target: maybe-install-html-target-libtermcap
1857 install-html-target: maybe-install-html-target-winsup
1858 install-html-target: maybe-install-html-target-libgloss
1859 install-html-target: maybe-install-html-target-libffi
1860 install-html-target: maybe-install-html-target-zlib
1861 install-html-target: maybe-install-html-target-rda
1862 install-html-target: maybe-install-html-target-libada
1863 install-html-target: maybe-install-html-target-libgomp
1864 install-html-target: maybe-install-html-target-libitm
1865 install-html-target: maybe-install-html-target-libatomic
1867 .PHONY: do-installcheck
1868 do-installcheck:
1869 @: $(MAKE); $(unstage)
1870 @r=`${PWD_COMMAND}`; export r; \
1871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1872 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1873 installcheck-target
1876 .PHONY: installcheck-host
1878 installcheck-host: maybe-installcheck-bfd
1879 installcheck-host: maybe-installcheck-opcodes
1880 installcheck-host: maybe-installcheck-binutils
1881 installcheck-host: maybe-installcheck-bison
1882 installcheck-host: maybe-installcheck-cgen
1883 installcheck-host: maybe-installcheck-dejagnu
1884 installcheck-host: maybe-installcheck-etc
1885 installcheck-host: maybe-installcheck-fastjar
1886 installcheck-host: maybe-installcheck-fixincludes
1887 installcheck-host: maybe-installcheck-flex
1888 installcheck-host: maybe-installcheck-gas
1889 installcheck-host: maybe-installcheck-gcc
1890 installcheck-host: maybe-installcheck-gmp
1891 installcheck-host: maybe-installcheck-mpfr
1892 installcheck-host: maybe-installcheck-mpc
1893 installcheck-host: maybe-installcheck-isl
1894 installcheck-host: maybe-installcheck-libelf
1895 installcheck-host: maybe-installcheck-gold
1896 installcheck-host: maybe-installcheck-gprof
1897 installcheck-host: maybe-installcheck-intl
1898 installcheck-host: maybe-installcheck-tcl
1899 installcheck-host: maybe-installcheck-itcl
1900 installcheck-host: maybe-installcheck-ld
1901 installcheck-host: maybe-installcheck-libbacktrace
1902 installcheck-host: maybe-installcheck-libcpp
1903 installcheck-host: maybe-installcheck-libdecnumber
1904 installcheck-host: maybe-installcheck-libgui
1905 installcheck-host: maybe-installcheck-libiberty
1906 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1907 installcheck-host: maybe-installcheck-libiconv
1908 installcheck-host: maybe-installcheck-m4
1909 installcheck-host: maybe-installcheck-readline
1910 installcheck-host: maybe-installcheck-sid
1911 installcheck-host: maybe-installcheck-sim
1912 installcheck-host: maybe-installcheck-texinfo
1913 installcheck-host: maybe-installcheck-zlib
1914 installcheck-host: maybe-installcheck-gdb
1915 installcheck-host: maybe-installcheck-expect
1916 installcheck-host: maybe-installcheck-guile
1917 installcheck-host: maybe-installcheck-tk
1918 installcheck-host: maybe-installcheck-libtermcap
1919 installcheck-host: maybe-installcheck-utils
1920 installcheck-host: maybe-installcheck-gnattools
1921 installcheck-host: maybe-installcheck-lto-plugin
1922 installcheck-host: maybe-installcheck-libcc1
1923 installcheck-host: maybe-installcheck-gotools
1925 .PHONY: installcheck-target
1927 installcheck-target: maybe-installcheck-target-libstdc++-v3
1928 installcheck-target: maybe-installcheck-target-libsanitizer
1929 installcheck-target: maybe-installcheck-target-libmpx
1930 installcheck-target: maybe-installcheck-target-libvtv
1931 installcheck-target: maybe-installcheck-target-libcilkrts
1932 installcheck-target: maybe-installcheck-target-liboffloadmic
1933 installcheck-target: maybe-installcheck-target-libssp
1934 installcheck-target: maybe-installcheck-target-newlib
1935 installcheck-target: maybe-installcheck-target-libgcc
1936 installcheck-target: maybe-installcheck-target-libbacktrace
1937 installcheck-target: maybe-installcheck-target-libquadmath
1938 installcheck-target: maybe-installcheck-target-libgfortran
1939 installcheck-target: maybe-installcheck-target-libobjc
1940 installcheck-target: maybe-installcheck-target-libgo
1941 installcheck-target: maybe-installcheck-target-libhsail-rt
1942 installcheck-target: maybe-installcheck-target-libtermcap
1943 installcheck-target: maybe-installcheck-target-winsup
1944 installcheck-target: maybe-installcheck-target-libgloss
1945 installcheck-target: maybe-installcheck-target-libffi
1946 installcheck-target: maybe-installcheck-target-zlib
1947 installcheck-target: maybe-installcheck-target-rda
1948 installcheck-target: maybe-installcheck-target-libada
1949 installcheck-target: maybe-installcheck-target-libgomp
1950 installcheck-target: maybe-installcheck-target-libitm
1951 installcheck-target: maybe-installcheck-target-libatomic
1953 .PHONY: do-mostlyclean
1954 do-mostlyclean:
1955 @: $(MAKE); $(unstage)
1956 @r=`${PWD_COMMAND}`; export r; \
1957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1959 mostlyclean-target
1962 .PHONY: mostlyclean-host
1964 mostlyclean-host: maybe-mostlyclean-bfd
1965 mostlyclean-host: maybe-mostlyclean-opcodes
1966 mostlyclean-host: maybe-mostlyclean-binutils
1967 mostlyclean-host: maybe-mostlyclean-bison
1968 mostlyclean-host: maybe-mostlyclean-cgen
1969 mostlyclean-host: maybe-mostlyclean-dejagnu
1970 mostlyclean-host: maybe-mostlyclean-etc
1971 mostlyclean-host: maybe-mostlyclean-fastjar
1972 mostlyclean-host: maybe-mostlyclean-fixincludes
1973 mostlyclean-host: maybe-mostlyclean-flex
1974 mostlyclean-host: maybe-mostlyclean-gas
1975 mostlyclean-host: maybe-mostlyclean-gcc
1976 mostlyclean-host: maybe-mostlyclean-gmp
1977 mostlyclean-host: maybe-mostlyclean-mpfr
1978 mostlyclean-host: maybe-mostlyclean-mpc
1979 mostlyclean-host: maybe-mostlyclean-isl
1980 mostlyclean-host: maybe-mostlyclean-libelf
1981 mostlyclean-host: maybe-mostlyclean-gold
1982 mostlyclean-host: maybe-mostlyclean-gprof
1983 mostlyclean-host: maybe-mostlyclean-intl
1984 mostlyclean-host: maybe-mostlyclean-tcl
1985 mostlyclean-host: maybe-mostlyclean-itcl
1986 mostlyclean-host: maybe-mostlyclean-ld
1987 mostlyclean-host: maybe-mostlyclean-libbacktrace
1988 mostlyclean-host: maybe-mostlyclean-libcpp
1989 mostlyclean-host: maybe-mostlyclean-libdecnumber
1990 mostlyclean-host: maybe-mostlyclean-libgui
1991 mostlyclean-host: maybe-mostlyclean-libiberty
1992 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1993 mostlyclean-host: maybe-mostlyclean-libiconv
1994 mostlyclean-host: maybe-mostlyclean-m4
1995 mostlyclean-host: maybe-mostlyclean-readline
1996 mostlyclean-host: maybe-mostlyclean-sid
1997 mostlyclean-host: maybe-mostlyclean-sim
1998 mostlyclean-host: maybe-mostlyclean-texinfo
1999 mostlyclean-host: maybe-mostlyclean-zlib
2000 mostlyclean-host: maybe-mostlyclean-gdb
2001 mostlyclean-host: maybe-mostlyclean-expect
2002 mostlyclean-host: maybe-mostlyclean-guile
2003 mostlyclean-host: maybe-mostlyclean-tk
2004 mostlyclean-host: maybe-mostlyclean-libtermcap
2005 mostlyclean-host: maybe-mostlyclean-utils
2006 mostlyclean-host: maybe-mostlyclean-gnattools
2007 mostlyclean-host: maybe-mostlyclean-lto-plugin
2008 mostlyclean-host: maybe-mostlyclean-libcc1
2009 mostlyclean-host: maybe-mostlyclean-gotools
2011 .PHONY: mostlyclean-target
2013 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2014 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2015 mostlyclean-target: maybe-mostlyclean-target-libmpx
2016 mostlyclean-target: maybe-mostlyclean-target-libvtv
2017 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2018 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2019 mostlyclean-target: maybe-mostlyclean-target-libssp
2020 mostlyclean-target: maybe-mostlyclean-target-newlib
2021 mostlyclean-target: maybe-mostlyclean-target-libgcc
2022 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2023 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2024 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2025 mostlyclean-target: maybe-mostlyclean-target-libobjc
2026 mostlyclean-target: maybe-mostlyclean-target-libgo
2027 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2028 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2029 mostlyclean-target: maybe-mostlyclean-target-winsup
2030 mostlyclean-target: maybe-mostlyclean-target-libgloss
2031 mostlyclean-target: maybe-mostlyclean-target-libffi
2032 mostlyclean-target: maybe-mostlyclean-target-zlib
2033 mostlyclean-target: maybe-mostlyclean-target-rda
2034 mostlyclean-target: maybe-mostlyclean-target-libada
2035 mostlyclean-target: maybe-mostlyclean-target-libgomp
2036 mostlyclean-target: maybe-mostlyclean-target-libitm
2037 mostlyclean-target: maybe-mostlyclean-target-libatomic
2039 .PHONY: do-clean
2040 do-clean:
2041 @: $(MAKE); $(unstage)
2042 @r=`${PWD_COMMAND}`; export r; \
2043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2044 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2045 clean-target
2048 .PHONY: clean-host
2050 clean-host: maybe-clean-bfd
2051 clean-host: maybe-clean-opcodes
2052 clean-host: maybe-clean-binutils
2053 clean-host: maybe-clean-bison
2054 clean-host: maybe-clean-cgen
2055 clean-host: maybe-clean-dejagnu
2056 clean-host: maybe-clean-etc
2057 clean-host: maybe-clean-fastjar
2058 clean-host: maybe-clean-fixincludes
2059 clean-host: maybe-clean-flex
2060 clean-host: maybe-clean-gas
2061 clean-host: maybe-clean-gcc
2062 clean-host: maybe-clean-gmp
2063 clean-host: maybe-clean-mpfr
2064 clean-host: maybe-clean-mpc
2065 clean-host: maybe-clean-isl
2066 clean-host: maybe-clean-libelf
2067 clean-host: maybe-clean-gold
2068 clean-host: maybe-clean-gprof
2069 clean-host: maybe-clean-intl
2070 clean-host: maybe-clean-tcl
2071 clean-host: maybe-clean-itcl
2072 clean-host: maybe-clean-ld
2073 clean-host: maybe-clean-libbacktrace
2074 clean-host: maybe-clean-libcpp
2075 clean-host: maybe-clean-libdecnumber
2076 clean-host: maybe-clean-libgui
2077 clean-host: maybe-clean-libiberty
2078 clean-host: maybe-clean-libiberty-linker-plugin
2079 clean-host: maybe-clean-libiconv
2080 clean-host: maybe-clean-m4
2081 clean-host: maybe-clean-readline
2082 clean-host: maybe-clean-sid
2083 clean-host: maybe-clean-sim
2084 clean-host: maybe-clean-texinfo
2085 clean-host: maybe-clean-zlib
2086 clean-host: maybe-clean-gdb
2087 clean-host: maybe-clean-expect
2088 clean-host: maybe-clean-guile
2089 clean-host: maybe-clean-tk
2090 clean-host: maybe-clean-libtermcap
2091 clean-host: maybe-clean-utils
2092 clean-host: maybe-clean-gnattools
2093 clean-host: maybe-clean-lto-plugin
2094 clean-host: maybe-clean-libcc1
2095 clean-host: maybe-clean-gotools
2097 .PHONY: clean-target
2099 clean-target: maybe-clean-target-libstdc++-v3
2100 clean-target: maybe-clean-target-libsanitizer
2101 clean-target: maybe-clean-target-libmpx
2102 clean-target: maybe-clean-target-libvtv
2103 clean-target: maybe-clean-target-libcilkrts
2104 clean-target: maybe-clean-target-liboffloadmic
2105 clean-target: maybe-clean-target-libssp
2106 clean-target: maybe-clean-target-newlib
2107 clean-target: maybe-clean-target-libgcc
2108 clean-target: maybe-clean-target-libbacktrace
2109 clean-target: maybe-clean-target-libquadmath
2110 clean-target: maybe-clean-target-libgfortran
2111 clean-target: maybe-clean-target-libobjc
2112 clean-target: maybe-clean-target-libgo
2113 clean-target: maybe-clean-target-libhsail-rt
2114 clean-target: maybe-clean-target-libtermcap
2115 clean-target: maybe-clean-target-winsup
2116 clean-target: maybe-clean-target-libgloss
2117 clean-target: maybe-clean-target-libffi
2118 clean-target: maybe-clean-target-zlib
2119 clean-target: maybe-clean-target-rda
2120 clean-target: maybe-clean-target-libada
2121 clean-target: maybe-clean-target-libgomp
2122 clean-target: maybe-clean-target-libitm
2123 clean-target: maybe-clean-target-libatomic
2125 .PHONY: do-distclean
2126 do-distclean:
2127 @: $(MAKE); $(unstage)
2128 @r=`${PWD_COMMAND}`; export r; \
2129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2131 distclean-target
2134 .PHONY: distclean-host
2136 distclean-host: maybe-distclean-bfd
2137 distclean-host: maybe-distclean-opcodes
2138 distclean-host: maybe-distclean-binutils
2139 distclean-host: maybe-distclean-bison
2140 distclean-host: maybe-distclean-cgen
2141 distclean-host: maybe-distclean-dejagnu
2142 distclean-host: maybe-distclean-etc
2143 distclean-host: maybe-distclean-fastjar
2144 distclean-host: maybe-distclean-fixincludes
2145 distclean-host: maybe-distclean-flex
2146 distclean-host: maybe-distclean-gas
2147 distclean-host: maybe-distclean-gcc
2148 distclean-host: maybe-distclean-gmp
2149 distclean-host: maybe-distclean-mpfr
2150 distclean-host: maybe-distclean-mpc
2151 distclean-host: maybe-distclean-isl
2152 distclean-host: maybe-distclean-libelf
2153 distclean-host: maybe-distclean-gold
2154 distclean-host: maybe-distclean-gprof
2155 distclean-host: maybe-distclean-intl
2156 distclean-host: maybe-distclean-tcl
2157 distclean-host: maybe-distclean-itcl
2158 distclean-host: maybe-distclean-ld
2159 distclean-host: maybe-distclean-libbacktrace
2160 distclean-host: maybe-distclean-libcpp
2161 distclean-host: maybe-distclean-libdecnumber
2162 distclean-host: maybe-distclean-libgui
2163 distclean-host: maybe-distclean-libiberty
2164 distclean-host: maybe-distclean-libiberty-linker-plugin
2165 distclean-host: maybe-distclean-libiconv
2166 distclean-host: maybe-distclean-m4
2167 distclean-host: maybe-distclean-readline
2168 distclean-host: maybe-distclean-sid
2169 distclean-host: maybe-distclean-sim
2170 distclean-host: maybe-distclean-texinfo
2171 distclean-host: maybe-distclean-zlib
2172 distclean-host: maybe-distclean-gdb
2173 distclean-host: maybe-distclean-expect
2174 distclean-host: maybe-distclean-guile
2175 distclean-host: maybe-distclean-tk
2176 distclean-host: maybe-distclean-libtermcap
2177 distclean-host: maybe-distclean-utils
2178 distclean-host: maybe-distclean-gnattools
2179 distclean-host: maybe-distclean-lto-plugin
2180 distclean-host: maybe-distclean-libcc1
2181 distclean-host: maybe-distclean-gotools
2183 .PHONY: distclean-target
2185 distclean-target: maybe-distclean-target-libstdc++-v3
2186 distclean-target: maybe-distclean-target-libsanitizer
2187 distclean-target: maybe-distclean-target-libmpx
2188 distclean-target: maybe-distclean-target-libvtv
2189 distclean-target: maybe-distclean-target-libcilkrts
2190 distclean-target: maybe-distclean-target-liboffloadmic
2191 distclean-target: maybe-distclean-target-libssp
2192 distclean-target: maybe-distclean-target-newlib
2193 distclean-target: maybe-distclean-target-libgcc
2194 distclean-target: maybe-distclean-target-libbacktrace
2195 distclean-target: maybe-distclean-target-libquadmath
2196 distclean-target: maybe-distclean-target-libgfortran
2197 distclean-target: maybe-distclean-target-libobjc
2198 distclean-target: maybe-distclean-target-libgo
2199 distclean-target: maybe-distclean-target-libhsail-rt
2200 distclean-target: maybe-distclean-target-libtermcap
2201 distclean-target: maybe-distclean-target-winsup
2202 distclean-target: maybe-distclean-target-libgloss
2203 distclean-target: maybe-distclean-target-libffi
2204 distclean-target: maybe-distclean-target-zlib
2205 distclean-target: maybe-distclean-target-rda
2206 distclean-target: maybe-distclean-target-libada
2207 distclean-target: maybe-distclean-target-libgomp
2208 distclean-target: maybe-distclean-target-libitm
2209 distclean-target: maybe-distclean-target-libatomic
2211 .PHONY: do-maintainer-clean
2212 do-maintainer-clean:
2213 @: $(MAKE); $(unstage)
2214 @r=`${PWD_COMMAND}`; export r; \
2215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2217 maintainer-clean-target
2220 .PHONY: maintainer-clean-host
2222 maintainer-clean-host: maybe-maintainer-clean-bfd
2223 maintainer-clean-host: maybe-maintainer-clean-opcodes
2224 maintainer-clean-host: maybe-maintainer-clean-binutils
2225 maintainer-clean-host: maybe-maintainer-clean-bison
2226 maintainer-clean-host: maybe-maintainer-clean-cgen
2227 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2228 maintainer-clean-host: maybe-maintainer-clean-etc
2229 maintainer-clean-host: maybe-maintainer-clean-fastjar
2230 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2231 maintainer-clean-host: maybe-maintainer-clean-flex
2232 maintainer-clean-host: maybe-maintainer-clean-gas
2233 maintainer-clean-host: maybe-maintainer-clean-gcc
2234 maintainer-clean-host: maybe-maintainer-clean-gmp
2235 maintainer-clean-host: maybe-maintainer-clean-mpfr
2236 maintainer-clean-host: maybe-maintainer-clean-mpc
2237 maintainer-clean-host: maybe-maintainer-clean-isl
2238 maintainer-clean-host: maybe-maintainer-clean-libelf
2239 maintainer-clean-host: maybe-maintainer-clean-gold
2240 maintainer-clean-host: maybe-maintainer-clean-gprof
2241 maintainer-clean-host: maybe-maintainer-clean-intl
2242 maintainer-clean-host: maybe-maintainer-clean-tcl
2243 maintainer-clean-host: maybe-maintainer-clean-itcl
2244 maintainer-clean-host: maybe-maintainer-clean-ld
2245 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2246 maintainer-clean-host: maybe-maintainer-clean-libcpp
2247 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2248 maintainer-clean-host: maybe-maintainer-clean-libgui
2249 maintainer-clean-host: maybe-maintainer-clean-libiberty
2250 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2251 maintainer-clean-host: maybe-maintainer-clean-libiconv
2252 maintainer-clean-host: maybe-maintainer-clean-m4
2253 maintainer-clean-host: maybe-maintainer-clean-readline
2254 maintainer-clean-host: maybe-maintainer-clean-sid
2255 maintainer-clean-host: maybe-maintainer-clean-sim
2256 maintainer-clean-host: maybe-maintainer-clean-texinfo
2257 maintainer-clean-host: maybe-maintainer-clean-zlib
2258 maintainer-clean-host: maybe-maintainer-clean-gdb
2259 maintainer-clean-host: maybe-maintainer-clean-expect
2260 maintainer-clean-host: maybe-maintainer-clean-guile
2261 maintainer-clean-host: maybe-maintainer-clean-tk
2262 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2263 maintainer-clean-host: maybe-maintainer-clean-utils
2264 maintainer-clean-host: maybe-maintainer-clean-gnattools
2265 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2266 maintainer-clean-host: maybe-maintainer-clean-libcc1
2267 maintainer-clean-host: maybe-maintainer-clean-gotools
2269 .PHONY: maintainer-clean-target
2271 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2272 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2273 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2274 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2275 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2276 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2277 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2278 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2279 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2280 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2281 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2282 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2283 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2284 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2285 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2286 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2287 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2288 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2289 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2290 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2291 maintainer-clean-target: maybe-maintainer-clean-target-rda
2292 maintainer-clean-target: maybe-maintainer-clean-target-libada
2293 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2294 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2295 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2298 # Here are the targets which correspond to the do-X targets.
2300 .PHONY: info installcheck dvi pdf html
2301 .PHONY: install-info install-pdf install-html
2302 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2303 .PHONY: local-clean local-distclean local-maintainer-clean
2304 info: do-info
2305 installcheck: do-installcheck
2306 dvi: do-dvi
2307 pdf: do-pdf
2308 html: do-html
2310 # Make sure makeinfo is built before we do a `make info', if we're
2311 # in fact building texinfo.
2312 do-info: maybe-all-texinfo
2314 install-info: do-install-info dir.info
2315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2316 if [ -f dir.info ]; then \
2317 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2318 else true; fi
2320 install-pdf: do-install-pdf
2322 install-html: do-install-html
2324 local-clean:
2325 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2327 local-distclean:
2328 -rm -f Makefile config.status config.cache mh-frag mt-frag
2329 -rm -f maybedep.tmp serdep.tmp stage_final
2330 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2331 rm -rf $(TARGET_SUBDIR); \
2332 else true; fi
2333 -rm -rf $(BUILD_SUBDIR)
2334 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2335 rm -rf $(HOST_SUBDIR); \
2336 else true; fi
2337 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2338 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2339 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2340 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2341 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2342 -rmdir texinfo zlib 2>/dev/null
2343 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2345 local-maintainer-clean:
2346 @echo "This command is intended for maintainers to use;"
2347 @echo "it deletes files that may require special tools to rebuild."
2349 clean: do-clean local-clean
2350 mostlyclean: do-mostlyclean local-clean
2351 distclean: do-distclean local-clean local-distclean
2352 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2353 maintainer-clean: local-distclean
2354 realclean: maintainer-clean
2356 # Check target.
2358 .PHONY: check do-check
2359 check: do-check
2361 # Only include modules actually being configured and built.
2362 .PHONY: check-host
2363 check-host: \
2364 maybe-check-bfd \
2365 maybe-check-opcodes \
2366 maybe-check-binutils \
2367 maybe-check-bison \
2368 maybe-check-cgen \
2369 maybe-check-dejagnu \
2370 maybe-check-etc \
2371 maybe-check-fastjar \
2372 maybe-check-fixincludes \
2373 maybe-check-flex \
2374 maybe-check-gas \
2375 maybe-check-gcc \
2376 maybe-check-gmp \
2377 maybe-check-mpfr \
2378 maybe-check-mpc \
2379 maybe-check-isl \
2380 maybe-check-libelf \
2381 maybe-check-gold \
2382 maybe-check-gprof \
2383 maybe-check-intl \
2384 maybe-check-tcl \
2385 maybe-check-itcl \
2386 maybe-check-ld \
2387 maybe-check-libbacktrace \
2388 maybe-check-libcpp \
2389 maybe-check-libdecnumber \
2390 maybe-check-libgui \
2391 maybe-check-libiberty \
2392 maybe-check-libiberty-linker-plugin \
2393 maybe-check-libiconv \
2394 maybe-check-m4 \
2395 maybe-check-readline \
2396 maybe-check-sid \
2397 maybe-check-sim \
2398 maybe-check-texinfo \
2399 maybe-check-zlib \
2400 maybe-check-gdb \
2401 maybe-check-expect \
2402 maybe-check-guile \
2403 maybe-check-tk \
2404 maybe-check-libtermcap \
2405 maybe-check-utils \
2406 maybe-check-gnattools \
2407 maybe-check-lto-plugin \
2408 maybe-check-libcc1 \
2409 maybe-check-gotools
2411 .PHONY: check-target
2412 check-target: \
2413 maybe-check-target-libstdc++-v3 \
2414 maybe-check-target-libsanitizer \
2415 maybe-check-target-libmpx \
2416 maybe-check-target-libvtv \
2417 maybe-check-target-libcilkrts \
2418 maybe-check-target-liboffloadmic \
2419 maybe-check-target-libssp \
2420 maybe-check-target-newlib \
2421 maybe-check-target-libgcc \
2422 maybe-check-target-libbacktrace \
2423 maybe-check-target-libquadmath \
2424 maybe-check-target-libgfortran \
2425 maybe-check-target-libobjc \
2426 maybe-check-target-libgo \
2427 maybe-check-target-libhsail-rt \
2428 maybe-check-target-libtermcap \
2429 maybe-check-target-winsup \
2430 maybe-check-target-libgloss \
2431 maybe-check-target-libffi \
2432 maybe-check-target-zlib \
2433 maybe-check-target-rda \
2434 maybe-check-target-libada \
2435 maybe-check-target-libgomp \
2436 maybe-check-target-libitm \
2437 maybe-check-target-libatomic
2439 do-check:
2440 @: $(MAKE); $(unstage)
2441 @r=`${PWD_COMMAND}`; export r; \
2442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2443 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2445 # Automated reporting of test results.
2447 warning.log: build.log
2448 $(srcdir)/contrib/warn_summary build.log > $@
2450 mail-report.log:
2451 if test x'$(BOOT_CFLAGS)' != x''; then \
2452 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2453 fi; \
2454 $(srcdir)/contrib/test_summary -t >$@
2455 chmod +x $@
2456 echo If you really want to send e-mail, run ./$@ now
2458 mail-report-with-warnings.log: warning.log
2459 if test x'$(BOOT_CFLAGS)' != x''; then \
2460 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2461 fi; \
2462 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2463 chmod +x $@
2464 echo If you really want to send e-mail, run ./$@ now
2466 # Local Vim config
2468 $(srcdir)/.local.vimrc:
2469 $(LN_S) contrib/vimrc $@
2471 $(srcdir)/.lvimrc:
2472 $(LN_S) contrib/vimrc $@
2474 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2476 .PHONY: vimrc
2478 # clang-format config
2480 $(srcdir)/.clang-format:
2481 $(LN_S) contrib/clang-format $@
2483 clang-format: $(srcdir)/.clang-format
2485 .PHONY: clang-format
2487 # Installation targets.
2489 .PHONY: install uninstall
2490 install:
2491 @: $(MAKE); $(unstage)
2492 @r=`${PWD_COMMAND}`; export r; \
2493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2496 .PHONY: install-host-nogcc
2497 install-host-nogcc: \
2498 maybe-install-bfd \
2499 maybe-install-opcodes \
2500 maybe-install-binutils \
2501 maybe-install-bison \
2502 maybe-install-cgen \
2503 maybe-install-dejagnu \
2504 maybe-install-etc \
2505 maybe-install-fastjar \
2506 maybe-install-fixincludes \
2507 maybe-install-flex \
2508 maybe-install-gas \
2509 maybe-install-gmp \
2510 maybe-install-mpfr \
2511 maybe-install-mpc \
2512 maybe-install-isl \
2513 maybe-install-libelf \
2514 maybe-install-gold \
2515 maybe-install-gprof \
2516 maybe-install-intl \
2517 maybe-install-tcl \
2518 maybe-install-itcl \
2519 maybe-install-ld \
2520 maybe-install-libbacktrace \
2521 maybe-install-libcpp \
2522 maybe-install-libdecnumber \
2523 maybe-install-libgui \
2524 maybe-install-libiberty \
2525 maybe-install-libiberty-linker-plugin \
2526 maybe-install-libiconv \
2527 maybe-install-m4 \
2528 maybe-install-readline \
2529 maybe-install-sid \
2530 maybe-install-sim \
2531 maybe-install-texinfo \
2532 maybe-install-zlib \
2533 maybe-install-gdb \
2534 maybe-install-expect \
2535 maybe-install-guile \
2536 maybe-install-tk \
2537 maybe-install-libtermcap \
2538 maybe-install-utils \
2539 maybe-install-gnattools \
2540 maybe-install-lto-plugin \
2541 maybe-install-libcc1 \
2542 maybe-install-gotools
2544 .PHONY: install-host
2545 install-host: \
2546 maybe-install-bfd \
2547 maybe-install-opcodes \
2548 maybe-install-binutils \
2549 maybe-install-bison \
2550 maybe-install-cgen \
2551 maybe-install-dejagnu \
2552 maybe-install-etc \
2553 maybe-install-fastjar \
2554 maybe-install-fixincludes \
2555 maybe-install-flex \
2556 maybe-install-gas \
2557 maybe-install-gcc \
2558 maybe-install-gmp \
2559 maybe-install-mpfr \
2560 maybe-install-mpc \
2561 maybe-install-isl \
2562 maybe-install-libelf \
2563 maybe-install-gold \
2564 maybe-install-gprof \
2565 maybe-install-intl \
2566 maybe-install-tcl \
2567 maybe-install-itcl \
2568 maybe-install-ld \
2569 maybe-install-libbacktrace \
2570 maybe-install-libcpp \
2571 maybe-install-libdecnumber \
2572 maybe-install-libgui \
2573 maybe-install-libiberty \
2574 maybe-install-libiberty-linker-plugin \
2575 maybe-install-libiconv \
2576 maybe-install-m4 \
2577 maybe-install-readline \
2578 maybe-install-sid \
2579 maybe-install-sim \
2580 maybe-install-texinfo \
2581 maybe-install-zlib \
2582 maybe-install-gdb \
2583 maybe-install-expect \
2584 maybe-install-guile \
2585 maybe-install-tk \
2586 maybe-install-libtermcap \
2587 maybe-install-utils \
2588 maybe-install-gnattools \
2589 maybe-install-lto-plugin \
2590 maybe-install-libcc1 \
2591 maybe-install-gotools
2593 .PHONY: install-target
2594 install-target: \
2595 maybe-install-target-libstdc++-v3 \
2596 maybe-install-target-libsanitizer \
2597 maybe-install-target-libmpx \
2598 maybe-install-target-libvtv \
2599 maybe-install-target-libcilkrts \
2600 maybe-install-target-liboffloadmic \
2601 maybe-install-target-libssp \
2602 maybe-install-target-newlib \
2603 maybe-install-target-libgcc \
2604 maybe-install-target-libbacktrace \
2605 maybe-install-target-libquadmath \
2606 maybe-install-target-libgfortran \
2607 maybe-install-target-libobjc \
2608 maybe-install-target-libgo \
2609 maybe-install-target-libhsail-rt \
2610 maybe-install-target-libtermcap \
2611 maybe-install-target-winsup \
2612 maybe-install-target-libgloss \
2613 maybe-install-target-libffi \
2614 maybe-install-target-zlib \
2615 maybe-install-target-rda \
2616 maybe-install-target-libada \
2617 maybe-install-target-libgomp \
2618 maybe-install-target-libitm \
2619 maybe-install-target-libatomic
2621 uninstall:
2622 @echo "the uninstall target is not supported in this tree"
2624 .PHONY: install.all
2625 install.all: install-no-fixedincludes
2626 @if [ -f ./gcc/Makefile ]; then \
2627 r=`${PWD_COMMAND}`; export r; \
2628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2629 $(HOST_EXPORTS) \
2630 (cd ./gcc && \
2631 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2632 else \
2633 true; \
2636 # install-no-fixedincludes is used to allow the elaboration of binary packages
2637 # suitable for distribution, where we cannot include the fixed system header
2638 # files.
2639 .PHONY: install-no-fixedincludes
2640 install-no-fixedincludes: installdirs install-host-nogcc \
2641 install-target gcc-install-no-fixedincludes
2643 .PHONY: install-strip
2644 install-strip:
2645 @: $(MAKE); $(unstage)
2646 @r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2650 .PHONY: install-strip-host
2651 install-strip-host: \
2652 maybe-install-strip-bfd \
2653 maybe-install-strip-opcodes \
2654 maybe-install-strip-binutils \
2655 maybe-install-strip-bison \
2656 maybe-install-strip-cgen \
2657 maybe-install-strip-dejagnu \
2658 maybe-install-strip-etc \
2659 maybe-install-strip-fastjar \
2660 maybe-install-strip-fixincludes \
2661 maybe-install-strip-flex \
2662 maybe-install-strip-gas \
2663 maybe-install-strip-gcc \
2664 maybe-install-strip-gmp \
2665 maybe-install-strip-mpfr \
2666 maybe-install-strip-mpc \
2667 maybe-install-strip-isl \
2668 maybe-install-strip-libelf \
2669 maybe-install-strip-gold \
2670 maybe-install-strip-gprof \
2671 maybe-install-strip-intl \
2672 maybe-install-strip-tcl \
2673 maybe-install-strip-itcl \
2674 maybe-install-strip-ld \
2675 maybe-install-strip-libbacktrace \
2676 maybe-install-strip-libcpp \
2677 maybe-install-strip-libdecnumber \
2678 maybe-install-strip-libgui \
2679 maybe-install-strip-libiberty \
2680 maybe-install-strip-libiberty-linker-plugin \
2681 maybe-install-strip-libiconv \
2682 maybe-install-strip-m4 \
2683 maybe-install-strip-readline \
2684 maybe-install-strip-sid \
2685 maybe-install-strip-sim \
2686 maybe-install-strip-texinfo \
2687 maybe-install-strip-zlib \
2688 maybe-install-strip-gdb \
2689 maybe-install-strip-expect \
2690 maybe-install-strip-guile \
2691 maybe-install-strip-tk \
2692 maybe-install-strip-libtermcap \
2693 maybe-install-strip-utils \
2694 maybe-install-strip-gnattools \
2695 maybe-install-strip-lto-plugin \
2696 maybe-install-strip-libcc1 \
2697 maybe-install-strip-gotools
2699 .PHONY: install-strip-target
2700 install-strip-target: \
2701 maybe-install-strip-target-libstdc++-v3 \
2702 maybe-install-strip-target-libsanitizer \
2703 maybe-install-strip-target-libmpx \
2704 maybe-install-strip-target-libvtv \
2705 maybe-install-strip-target-libcilkrts \
2706 maybe-install-strip-target-liboffloadmic \
2707 maybe-install-strip-target-libssp \
2708 maybe-install-strip-target-newlib \
2709 maybe-install-strip-target-libgcc \
2710 maybe-install-strip-target-libbacktrace \
2711 maybe-install-strip-target-libquadmath \
2712 maybe-install-strip-target-libgfortran \
2713 maybe-install-strip-target-libobjc \
2714 maybe-install-strip-target-libgo \
2715 maybe-install-strip-target-libhsail-rt \
2716 maybe-install-strip-target-libtermcap \
2717 maybe-install-strip-target-winsup \
2718 maybe-install-strip-target-libgloss \
2719 maybe-install-strip-target-libffi \
2720 maybe-install-strip-target-zlib \
2721 maybe-install-strip-target-rda \
2722 maybe-install-strip-target-libada \
2723 maybe-install-strip-target-libgomp \
2724 maybe-install-strip-target-libitm \
2725 maybe-install-strip-target-libatomic
2728 ### other supporting targets
2730 MAKEDIRS= \
2731 $(DESTDIR)$(prefix) \
2732 $(DESTDIR)$(exec_prefix)
2733 .PHONY: installdirs
2734 installdirs: mkinstalldirs
2735 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2737 dir.info: do-install-info
2738 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2739 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2740 mv -f dir.info.new dir.info; \
2741 else true; \
2744 dist:
2745 @echo "Building a full distribution of this tree isn't done"
2746 @echo "via 'make dist'. Check out the etc/ subdirectory"
2748 etags tags: TAGS
2750 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2751 # ability to use several tags files at once, so there is probably no need
2752 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2753 # (if we felt like it) have this Makefile write a piece of elisp which
2754 # the user could load to tell emacs19 where all the TAGS files we just
2755 # built are.
2756 TAGS: do-TAGS
2758 # ------------------------------------
2759 # Macros for configure and all targets
2760 # ------------------------------------
2766 # --------------------------------------
2767 # Modules which run on the build machine
2768 # --------------------------------------
2771 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2772 maybe-configure-build-libiberty:
2773 @if gcc-bootstrap
2774 configure-build-libiberty: stage_current
2775 @endif gcc-bootstrap
2776 @if build-libiberty
2777 maybe-configure-build-libiberty: configure-build-libiberty
2778 configure-build-libiberty:
2779 @: $(MAKE); $(unstage)
2780 @r=`${PWD_COMMAND}`; export r; \
2781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2782 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2783 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2784 $(BUILD_EXPORTS) \
2785 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2786 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2787 case $(srcdir) in \
2788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2789 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2791 esac; \
2792 module_srcdir=libiberty; \
2793 rm -f no-such-file || : ; \
2794 CONFIG_SITE=no-such-file $(SHELL) \
2795 $$s/$$module_srcdir/configure \
2796 --srcdir=$${topdir}/$$module_srcdir \
2797 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2798 --target=${target_alias} \
2799 || exit 1
2800 @endif build-libiberty
2806 .PHONY: all-build-libiberty maybe-all-build-libiberty
2807 maybe-all-build-libiberty:
2808 @if gcc-bootstrap
2809 all-build-libiberty: stage_current
2810 @endif gcc-bootstrap
2811 @if build-libiberty
2812 TARGET-build-libiberty=all
2813 maybe-all-build-libiberty: all-build-libiberty
2814 all-build-libiberty: configure-build-libiberty
2815 @: $(MAKE); $(unstage)
2816 @r=`${PWD_COMMAND}`; export r; \
2817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 $(BUILD_EXPORTS) \
2819 (cd $(BUILD_SUBDIR)/libiberty && \
2820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2821 $(TARGET-build-libiberty))
2822 @endif build-libiberty
2828 .PHONY: configure-build-bison maybe-configure-build-bison
2829 maybe-configure-build-bison:
2830 @if gcc-bootstrap
2831 configure-build-bison: stage_current
2832 @endif gcc-bootstrap
2833 @if build-bison
2834 maybe-configure-build-bison: configure-build-bison
2835 configure-build-bison:
2836 @: $(MAKE); $(unstage)
2837 @r=`${PWD_COMMAND}`; export r; \
2838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2839 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2840 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2841 $(BUILD_EXPORTS) \
2842 echo Configuring in $(BUILD_SUBDIR)/bison; \
2843 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2844 case $(srcdir) in \
2845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2846 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2848 esac; \
2849 module_srcdir=bison; \
2850 rm -f no-such-file || : ; \
2851 CONFIG_SITE=no-such-file $(SHELL) \
2852 $$s/$$module_srcdir/configure \
2853 --srcdir=$${topdir}/$$module_srcdir \
2854 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2855 --target=${target_alias} \
2856 || exit 1
2857 @endif build-bison
2863 .PHONY: all-build-bison maybe-all-build-bison
2864 maybe-all-build-bison:
2865 @if gcc-bootstrap
2866 all-build-bison: stage_current
2867 @endif gcc-bootstrap
2868 @if build-bison
2869 TARGET-build-bison=all
2870 maybe-all-build-bison: all-build-bison
2871 all-build-bison: configure-build-bison
2872 @: $(MAKE); $(unstage)
2873 @r=`${PWD_COMMAND}`; export r; \
2874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 $(BUILD_EXPORTS) \
2876 (cd $(BUILD_SUBDIR)/bison && \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2878 $(TARGET-build-bison))
2879 @endif build-bison
2885 .PHONY: configure-build-flex maybe-configure-build-flex
2886 maybe-configure-build-flex:
2887 @if gcc-bootstrap
2888 configure-build-flex: stage_current
2889 @endif gcc-bootstrap
2890 @if build-flex
2891 maybe-configure-build-flex: configure-build-flex
2892 configure-build-flex:
2893 @: $(MAKE); $(unstage)
2894 @r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2896 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2897 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2898 $(BUILD_EXPORTS) \
2899 echo Configuring in $(BUILD_SUBDIR)/flex; \
2900 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2901 case $(srcdir) in \
2902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2903 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2905 esac; \
2906 module_srcdir=flex; \
2907 rm -f no-such-file || : ; \
2908 CONFIG_SITE=no-such-file $(SHELL) \
2909 $$s/$$module_srcdir/configure \
2910 --srcdir=$${topdir}/$$module_srcdir \
2911 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2912 --target=${target_alias} \
2913 || exit 1
2914 @endif build-flex
2920 .PHONY: all-build-flex maybe-all-build-flex
2921 maybe-all-build-flex:
2922 @if gcc-bootstrap
2923 all-build-flex: stage_current
2924 @endif gcc-bootstrap
2925 @if build-flex
2926 TARGET-build-flex=all
2927 maybe-all-build-flex: all-build-flex
2928 all-build-flex: configure-build-flex
2929 @: $(MAKE); $(unstage)
2930 @r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2932 $(BUILD_EXPORTS) \
2933 (cd $(BUILD_SUBDIR)/flex && \
2934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2935 $(TARGET-build-flex))
2936 @endif build-flex
2942 .PHONY: configure-build-m4 maybe-configure-build-m4
2943 maybe-configure-build-m4:
2944 @if gcc-bootstrap
2945 configure-build-m4: stage_current
2946 @endif gcc-bootstrap
2947 @if build-m4
2948 maybe-configure-build-m4: configure-build-m4
2949 configure-build-m4:
2950 @: $(MAKE); $(unstage)
2951 @r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2954 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2955 $(BUILD_EXPORTS) \
2956 echo Configuring in $(BUILD_SUBDIR)/m4; \
2957 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2958 case $(srcdir) in \
2959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2960 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2962 esac; \
2963 module_srcdir=m4; \
2964 rm -f no-such-file || : ; \
2965 CONFIG_SITE=no-such-file $(SHELL) \
2966 $$s/$$module_srcdir/configure \
2967 --srcdir=$${topdir}/$$module_srcdir \
2968 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2969 --target=${target_alias} \
2970 || exit 1
2971 @endif build-m4
2977 .PHONY: all-build-m4 maybe-all-build-m4
2978 maybe-all-build-m4:
2979 @if gcc-bootstrap
2980 all-build-m4: stage_current
2981 @endif gcc-bootstrap
2982 @if build-m4
2983 TARGET-build-m4=all
2984 maybe-all-build-m4: all-build-m4
2985 all-build-m4: configure-build-m4
2986 @: $(MAKE); $(unstage)
2987 @r=`${PWD_COMMAND}`; export r; \
2988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2989 $(BUILD_EXPORTS) \
2990 (cd $(BUILD_SUBDIR)/m4 && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2992 $(TARGET-build-m4))
2993 @endif build-m4
2999 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3000 maybe-configure-build-texinfo:
3001 @if gcc-bootstrap
3002 configure-build-texinfo: stage_current
3003 @endif gcc-bootstrap
3004 @if build-texinfo
3005 maybe-configure-build-texinfo: configure-build-texinfo
3006 configure-build-texinfo:
3007 @: $(MAKE); $(unstage)
3008 @r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3011 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3012 $(BUILD_EXPORTS) \
3013 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3014 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3015 case $(srcdir) in \
3016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3017 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3019 esac; \
3020 module_srcdir=texinfo; \
3021 rm -f no-such-file || : ; \
3022 CONFIG_SITE=no-such-file $(SHELL) \
3023 $$s/$$module_srcdir/configure \
3024 --srcdir=$${topdir}/$$module_srcdir \
3025 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3026 --target=${target_alias} \
3027 || exit 1
3028 @endif build-texinfo
3034 .PHONY: all-build-texinfo maybe-all-build-texinfo
3035 maybe-all-build-texinfo:
3036 @if gcc-bootstrap
3037 all-build-texinfo: stage_current
3038 @endif gcc-bootstrap
3039 @if build-texinfo
3040 TARGET-build-texinfo=all
3041 maybe-all-build-texinfo: all-build-texinfo
3042 all-build-texinfo: configure-build-texinfo
3043 @: $(MAKE); $(unstage)
3044 @r=`${PWD_COMMAND}`; export r; \
3045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3046 $(BUILD_EXPORTS) \
3047 (cd $(BUILD_SUBDIR)/texinfo && \
3048 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3049 $(TARGET-build-texinfo))
3050 @endif build-texinfo
3056 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3057 maybe-configure-build-fixincludes:
3058 @if gcc-bootstrap
3059 configure-build-fixincludes: stage_current
3060 @endif gcc-bootstrap
3061 @if build-fixincludes
3062 maybe-configure-build-fixincludes: configure-build-fixincludes
3063 configure-build-fixincludes:
3064 @: $(MAKE); $(unstage)
3065 @r=`${PWD_COMMAND}`; export r; \
3066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3067 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3068 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3069 $(BUILD_EXPORTS) \
3070 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3071 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3072 case $(srcdir) in \
3073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3074 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3076 esac; \
3077 module_srcdir=fixincludes; \
3078 rm -f no-such-file || : ; \
3079 CONFIG_SITE=no-such-file $(SHELL) \
3080 $$s/$$module_srcdir/configure \
3081 --srcdir=$${topdir}/$$module_srcdir \
3082 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3083 --target=${target_alias} \
3084 || exit 1
3085 @endif build-fixincludes
3091 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3092 maybe-all-build-fixincludes:
3093 @if gcc-bootstrap
3094 all-build-fixincludes: stage_current
3095 @endif gcc-bootstrap
3096 @if build-fixincludes
3097 TARGET-build-fixincludes=all
3098 maybe-all-build-fixincludes: all-build-fixincludes
3099 all-build-fixincludes: configure-build-fixincludes
3100 @: $(MAKE); $(unstage)
3101 @r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 $(BUILD_EXPORTS) \
3104 (cd $(BUILD_SUBDIR)/fixincludes && \
3105 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3106 $(TARGET-build-fixincludes))
3107 @endif build-fixincludes
3113 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3114 maybe-configure-build-libcpp:
3115 @if gcc-bootstrap
3116 configure-build-libcpp: stage_current
3117 @endif gcc-bootstrap
3118 @if build-libcpp
3119 maybe-configure-build-libcpp: configure-build-libcpp
3120 configure-build-libcpp:
3121 @: $(MAKE); $(unstage)
3122 @r=`${PWD_COMMAND}`; export r; \
3123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3124 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3125 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3126 $(BUILD_EXPORTS) \
3127 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3128 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3129 case $(srcdir) in \
3130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3131 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3133 esac; \
3134 module_srcdir=libcpp; \
3135 rm -f no-such-file || : ; \
3136 CONFIG_SITE=no-such-file $(SHELL) \
3137 $$s/$$module_srcdir/configure \
3138 --srcdir=$${topdir}/$$module_srcdir \
3139 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3140 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3141 || exit 1
3142 @endif build-libcpp
3148 .PHONY: all-build-libcpp maybe-all-build-libcpp
3149 maybe-all-build-libcpp:
3150 @if gcc-bootstrap
3151 all-build-libcpp: stage_current
3152 @endif gcc-bootstrap
3153 @if build-libcpp
3154 TARGET-build-libcpp=all
3155 maybe-all-build-libcpp: all-build-libcpp
3156 all-build-libcpp: configure-build-libcpp
3157 @: $(MAKE); $(unstage)
3158 @r=`${PWD_COMMAND}`; export r; \
3159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 $(BUILD_EXPORTS) \
3161 (cd $(BUILD_SUBDIR)/libcpp && \
3162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3163 $(TARGET-build-libcpp))
3164 @endif build-libcpp
3170 # --------------------------------------
3171 # Modules which run on the host machine
3172 # --------------------------------------
3175 .PHONY: configure-bfd maybe-configure-bfd
3176 maybe-configure-bfd:
3177 @if gcc-bootstrap
3178 configure-bfd: stage_current
3179 @endif gcc-bootstrap
3180 @if bfd
3181 maybe-configure-bfd: configure-bfd
3182 configure-bfd:
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3187 $(HOST_EXPORTS) \
3188 echo Configuring in $(HOST_SUBDIR)/bfd; \
3189 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3190 case $(srcdir) in \
3191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3192 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3194 esac; \
3195 module_srcdir=bfd; \
3196 $(SHELL) \
3197 $$s/$$module_srcdir/configure \
3198 --srcdir=$${topdir}/$$module_srcdir \
3199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3200 --target=${target_alias} \
3201 || exit 1
3202 @endif bfd
3206 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3207 maybe-configure-stage1-bfd:
3208 @if bfd-bootstrap
3209 maybe-configure-stage1-bfd: configure-stage1-bfd
3210 configure-stage1-bfd:
3211 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3213 @r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 TFLAGS="$(STAGE1_TFLAGS)"; \
3216 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3217 $(HOST_EXPORTS) \
3218 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3219 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3220 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3221 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3223 cd $(HOST_SUBDIR)/bfd || exit 1; \
3224 case $(srcdir) in \
3225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3226 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3228 esac; \
3229 module_srcdir=bfd; \
3230 $(SHELL) $$s/$$module_srcdir/configure \
3231 --srcdir=$${topdir}/$$module_srcdir \
3232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3233 --target=${target_alias} \
3235 $(STAGE1_CONFIGURE_FLAGS)
3236 @endif bfd-bootstrap
3238 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3239 maybe-configure-stage2-bfd:
3240 @if bfd-bootstrap
3241 maybe-configure-stage2-bfd: configure-stage2-bfd
3242 configure-stage2-bfd:
3243 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3244 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3245 @r=`${PWD_COMMAND}`; export r; \
3246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3247 TFLAGS="$(STAGE2_TFLAGS)"; \
3248 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3249 $(HOST_EXPORTS) \
3250 $(POSTSTAGE1_HOST_EXPORTS) \
3251 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3252 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3253 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3254 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3256 cd $(HOST_SUBDIR)/bfd || exit 1; \
3257 case $(srcdir) in \
3258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3259 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3261 esac; \
3262 module_srcdir=bfd; \
3263 $(SHELL) $$s/$$module_srcdir/configure \
3264 --srcdir=$${topdir}/$$module_srcdir \
3265 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3266 --target=${target_alias} \
3267 --with-build-libsubdir=$(HOST_SUBDIR) \
3268 $(STAGE2_CONFIGURE_FLAGS)
3269 @endif bfd-bootstrap
3271 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3272 maybe-configure-stage3-bfd:
3273 @if bfd-bootstrap
3274 maybe-configure-stage3-bfd: configure-stage3-bfd
3275 configure-stage3-bfd:
3276 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3277 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3278 @r=`${PWD_COMMAND}`; export r; \
3279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3280 TFLAGS="$(STAGE3_TFLAGS)"; \
3281 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3282 $(HOST_EXPORTS) \
3283 $(POSTSTAGE1_HOST_EXPORTS) \
3284 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3285 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3286 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3287 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3289 cd $(HOST_SUBDIR)/bfd || exit 1; \
3290 case $(srcdir) in \
3291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3292 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3294 esac; \
3295 module_srcdir=bfd; \
3296 $(SHELL) $$s/$$module_srcdir/configure \
3297 --srcdir=$${topdir}/$$module_srcdir \
3298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3299 --target=${target_alias} \
3300 --with-build-libsubdir=$(HOST_SUBDIR) \
3301 $(STAGE3_CONFIGURE_FLAGS)
3302 @endif bfd-bootstrap
3304 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3305 maybe-configure-stage4-bfd:
3306 @if bfd-bootstrap
3307 maybe-configure-stage4-bfd: configure-stage4-bfd
3308 configure-stage4-bfd:
3309 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3311 @r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 TFLAGS="$(STAGE4_TFLAGS)"; \
3314 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3315 $(HOST_EXPORTS) \
3316 $(POSTSTAGE1_HOST_EXPORTS) \
3317 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3318 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3319 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3320 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3322 cd $(HOST_SUBDIR)/bfd || exit 1; \
3323 case $(srcdir) in \
3324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3325 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3327 esac; \
3328 module_srcdir=bfd; \
3329 $(SHELL) $$s/$$module_srcdir/configure \
3330 --srcdir=$${topdir}/$$module_srcdir \
3331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3332 --target=${target_alias} \
3333 --with-build-libsubdir=$(HOST_SUBDIR) \
3334 $(STAGE4_CONFIGURE_FLAGS)
3335 @endif bfd-bootstrap
3337 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3338 maybe-configure-stageprofile-bfd:
3339 @if bfd-bootstrap
3340 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3341 configure-stageprofile-bfd:
3342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3344 @r=`${PWD_COMMAND}`; export r; \
3345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3347 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3348 $(HOST_EXPORTS) \
3349 $(POSTSTAGE1_HOST_EXPORTS) \
3350 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3351 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3352 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3353 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3355 cd $(HOST_SUBDIR)/bfd || exit 1; \
3356 case $(srcdir) in \
3357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3358 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3360 esac; \
3361 module_srcdir=bfd; \
3362 $(SHELL) $$s/$$module_srcdir/configure \
3363 --srcdir=$${topdir}/$$module_srcdir \
3364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3365 --target=${target_alias} \
3366 --with-build-libsubdir=$(HOST_SUBDIR) \
3367 $(STAGEprofile_CONFIGURE_FLAGS)
3368 @endif bfd-bootstrap
3370 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3371 maybe-configure-stagefeedback-bfd:
3372 @if bfd-bootstrap
3373 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3374 configure-stagefeedback-bfd:
3375 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3377 @r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3380 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3381 $(HOST_EXPORTS) \
3382 $(POSTSTAGE1_HOST_EXPORTS) \
3383 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3384 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3385 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3386 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3388 cd $(HOST_SUBDIR)/bfd || exit 1; \
3389 case $(srcdir) in \
3390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3391 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3393 esac; \
3394 module_srcdir=bfd; \
3395 $(SHELL) $$s/$$module_srcdir/configure \
3396 --srcdir=$${topdir}/$$module_srcdir \
3397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3398 --target=${target_alias} \
3399 --with-build-libsubdir=$(HOST_SUBDIR) \
3400 $(STAGEfeedback_CONFIGURE_FLAGS)
3401 @endif bfd-bootstrap
3403 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3404 maybe-configure-stageautoprofile-bfd:
3405 @if bfd-bootstrap
3406 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3407 configure-stageautoprofile-bfd:
3408 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3410 @r=`${PWD_COMMAND}`; export r; \
3411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3412 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3413 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3414 $(HOST_EXPORTS) \
3415 $(POSTSTAGE1_HOST_EXPORTS) \
3416 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3417 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3418 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3419 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3421 cd $(HOST_SUBDIR)/bfd || exit 1; \
3422 case $(srcdir) in \
3423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3424 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3426 esac; \
3427 module_srcdir=bfd; \
3428 $(SHELL) $$s/$$module_srcdir/configure \
3429 --srcdir=$${topdir}/$$module_srcdir \
3430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3431 --target=${target_alias} \
3432 --with-build-libsubdir=$(HOST_SUBDIR) \
3433 $(STAGEautoprofile_CONFIGURE_FLAGS)
3434 @endif bfd-bootstrap
3436 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3437 maybe-configure-stageautofeedback-bfd:
3438 @if bfd-bootstrap
3439 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3440 configure-stageautofeedback-bfd:
3441 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3443 @r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3446 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3447 $(HOST_EXPORTS) \
3448 $(POSTSTAGE1_HOST_EXPORTS) \
3449 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3450 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3451 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3452 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3454 cd $(HOST_SUBDIR)/bfd || exit 1; \
3455 case $(srcdir) in \
3456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3457 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3459 esac; \
3460 module_srcdir=bfd; \
3461 $(SHELL) $$s/$$module_srcdir/configure \
3462 --srcdir=$${topdir}/$$module_srcdir \
3463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3464 --target=${target_alias} \
3465 --with-build-libsubdir=$(HOST_SUBDIR) \
3466 $(STAGEautofeedback_CONFIGURE_FLAGS)
3467 @endif bfd-bootstrap
3473 .PHONY: all-bfd maybe-all-bfd
3474 maybe-all-bfd:
3475 @if gcc-bootstrap
3476 all-bfd: stage_current
3477 @endif gcc-bootstrap
3478 @if bfd
3479 TARGET-bfd=all
3480 maybe-all-bfd: all-bfd
3481 all-bfd: configure-bfd
3482 @r=`${PWD_COMMAND}`; export r; \
3483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3484 $(HOST_EXPORTS) \
3485 (cd $(HOST_SUBDIR)/bfd && \
3486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3487 $(TARGET-bfd))
3488 @endif bfd
3492 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3493 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3494 maybe-all-stage1-bfd:
3495 maybe-clean-stage1-bfd:
3496 @if bfd-bootstrap
3497 maybe-all-stage1-bfd: all-stage1-bfd
3498 all-stage1: all-stage1-bfd
3499 TARGET-stage1-bfd = $(TARGET-bfd)
3500 all-stage1-bfd: configure-stage1-bfd
3501 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3502 @r=`${PWD_COMMAND}`; export r; \
3503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3504 TFLAGS="$(STAGE1_TFLAGS)"; \
3505 $(HOST_EXPORTS) \
3506 cd $(HOST_SUBDIR)/bfd && \
3508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3509 CFLAGS="$(STAGE1_CFLAGS)" \
3510 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3511 LIBCFLAGS="$(LIBCFLAGS)" \
3512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3515 $(EXTRA_HOST_FLAGS) \
3516 $(STAGE1_FLAGS_TO_PASS) \
3517 TFLAGS="$(STAGE1_TFLAGS)" \
3518 $(TARGET-stage1-bfd)
3520 maybe-clean-stage1-bfd: clean-stage1-bfd
3521 clean-stage1: clean-stage1-bfd
3522 clean-stage1-bfd:
3523 @if [ $(current_stage) = stage1 ]; then \
3524 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3525 else \
3526 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3527 $(MAKE) stage1-start; \
3528 fi; \
3529 cd $(HOST_SUBDIR)/bfd && \
3530 $(MAKE) $(EXTRA_HOST_FLAGS) \
3531 $(STAGE1_FLAGS_TO_PASS) clean
3532 @endif bfd-bootstrap
3535 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3536 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3537 maybe-all-stage2-bfd:
3538 maybe-clean-stage2-bfd:
3539 @if bfd-bootstrap
3540 maybe-all-stage2-bfd: all-stage2-bfd
3541 all-stage2: all-stage2-bfd
3542 TARGET-stage2-bfd = $(TARGET-bfd)
3543 all-stage2-bfd: configure-stage2-bfd
3544 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3545 @r=`${PWD_COMMAND}`; export r; \
3546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3547 TFLAGS="$(STAGE2_TFLAGS)"; \
3548 $(HOST_EXPORTS) \
3549 $(POSTSTAGE1_HOST_EXPORTS) \
3550 cd $(HOST_SUBDIR)/bfd && \
3552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3553 CFLAGS="$(STAGE2_CFLAGS)" \
3554 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3555 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3560 TFLAGS="$(STAGE2_TFLAGS)" \
3561 $(TARGET-stage2-bfd)
3563 maybe-clean-stage2-bfd: clean-stage2-bfd
3564 clean-stage2: clean-stage2-bfd
3565 clean-stage2-bfd:
3566 @if [ $(current_stage) = stage2 ]; then \
3567 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3568 else \
3569 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3570 $(MAKE) stage2-start; \
3571 fi; \
3572 cd $(HOST_SUBDIR)/bfd && \
3573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3574 @endif bfd-bootstrap
3577 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3578 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3579 maybe-all-stage3-bfd:
3580 maybe-clean-stage3-bfd:
3581 @if bfd-bootstrap
3582 maybe-all-stage3-bfd: all-stage3-bfd
3583 all-stage3: all-stage3-bfd
3584 TARGET-stage3-bfd = $(TARGET-bfd)
3585 all-stage3-bfd: configure-stage3-bfd
3586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3587 @r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 TFLAGS="$(STAGE3_TFLAGS)"; \
3590 $(HOST_EXPORTS) \
3591 $(POSTSTAGE1_HOST_EXPORTS) \
3592 cd $(HOST_SUBDIR)/bfd && \
3594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3595 CFLAGS="$(STAGE3_CFLAGS)" \
3596 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3597 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3602 TFLAGS="$(STAGE3_TFLAGS)" \
3603 $(TARGET-stage3-bfd)
3605 maybe-clean-stage3-bfd: clean-stage3-bfd
3606 clean-stage3: clean-stage3-bfd
3607 clean-stage3-bfd:
3608 @if [ $(current_stage) = stage3 ]; then \
3609 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3610 else \
3611 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3612 $(MAKE) stage3-start; \
3613 fi; \
3614 cd $(HOST_SUBDIR)/bfd && \
3615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3616 @endif bfd-bootstrap
3619 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3620 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3621 maybe-all-stage4-bfd:
3622 maybe-clean-stage4-bfd:
3623 @if bfd-bootstrap
3624 maybe-all-stage4-bfd: all-stage4-bfd
3625 all-stage4: all-stage4-bfd
3626 TARGET-stage4-bfd = $(TARGET-bfd)
3627 all-stage4-bfd: configure-stage4-bfd
3628 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3629 @r=`${PWD_COMMAND}`; export r; \
3630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3631 TFLAGS="$(STAGE4_TFLAGS)"; \
3632 $(HOST_EXPORTS) \
3633 $(POSTSTAGE1_HOST_EXPORTS) \
3634 cd $(HOST_SUBDIR)/bfd && \
3636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3637 CFLAGS="$(STAGE4_CFLAGS)" \
3638 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3639 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3643 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3644 TFLAGS="$(STAGE4_TFLAGS)" \
3645 $(TARGET-stage4-bfd)
3647 maybe-clean-stage4-bfd: clean-stage4-bfd
3648 clean-stage4: clean-stage4-bfd
3649 clean-stage4-bfd:
3650 @if [ $(current_stage) = stage4 ]; then \
3651 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3652 else \
3653 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3654 $(MAKE) stage4-start; \
3655 fi; \
3656 cd $(HOST_SUBDIR)/bfd && \
3657 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3658 @endif bfd-bootstrap
3661 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3662 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3663 maybe-all-stageprofile-bfd:
3664 maybe-clean-stageprofile-bfd:
3665 @if bfd-bootstrap
3666 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3667 all-stageprofile: all-stageprofile-bfd
3668 TARGET-stageprofile-bfd = $(TARGET-bfd)
3669 all-stageprofile-bfd: configure-stageprofile-bfd
3670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3671 @r=`${PWD_COMMAND}`; export r; \
3672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3673 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3674 $(HOST_EXPORTS) \
3675 $(POSTSTAGE1_HOST_EXPORTS) \
3676 cd $(HOST_SUBDIR)/bfd && \
3678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3679 CFLAGS="$(STAGEprofile_CFLAGS)" \
3680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3681 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3686 TFLAGS="$(STAGEprofile_TFLAGS)" \
3687 $(TARGET-stageprofile-bfd)
3689 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3690 clean-stageprofile: clean-stageprofile-bfd
3691 clean-stageprofile-bfd:
3692 @if [ $(current_stage) = stageprofile ]; then \
3693 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3694 else \
3695 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3696 $(MAKE) stageprofile-start; \
3697 fi; \
3698 cd $(HOST_SUBDIR)/bfd && \
3699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3700 @endif bfd-bootstrap
3703 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3704 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3705 maybe-all-stagefeedback-bfd:
3706 maybe-clean-stagefeedback-bfd:
3707 @if bfd-bootstrap
3708 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3709 all-stagefeedback: all-stagefeedback-bfd
3710 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3711 all-stagefeedback-bfd: configure-stagefeedback-bfd
3712 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3713 @r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3716 $(HOST_EXPORTS) \
3717 $(POSTSTAGE1_HOST_EXPORTS) \
3718 cd $(HOST_SUBDIR)/bfd && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3721 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3722 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3723 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3727 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3728 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3729 $(TARGET-stagefeedback-bfd)
3731 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3732 clean-stagefeedback: clean-stagefeedback-bfd
3733 clean-stagefeedback-bfd:
3734 @if [ $(current_stage) = stagefeedback ]; then \
3735 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3736 else \
3737 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3738 $(MAKE) stagefeedback-start; \
3739 fi; \
3740 cd $(HOST_SUBDIR)/bfd && \
3741 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3742 @endif bfd-bootstrap
3745 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3746 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3747 maybe-all-stageautoprofile-bfd:
3748 maybe-clean-stageautoprofile-bfd:
3749 @if bfd-bootstrap
3750 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3751 all-stageautoprofile: all-stageautoprofile-bfd
3752 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3753 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3754 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3755 @r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3758 $(HOST_EXPORTS) \
3759 $(POSTSTAGE1_HOST_EXPORTS) \
3760 cd $(HOST_SUBDIR)/bfd && \
3761 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3763 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3764 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3765 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3769 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3770 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3771 $(TARGET-stageautoprofile-bfd)
3773 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3774 clean-stageautoprofile: clean-stageautoprofile-bfd
3775 clean-stageautoprofile-bfd:
3776 @if [ $(current_stage) = stageautoprofile ]; then \
3777 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3778 else \
3779 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3780 $(MAKE) stageautoprofile-start; \
3781 fi; \
3782 cd $(HOST_SUBDIR)/bfd && \
3783 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3784 @endif bfd-bootstrap
3787 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3788 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3789 maybe-all-stageautofeedback-bfd:
3790 maybe-clean-stageautofeedback-bfd:
3791 @if bfd-bootstrap
3792 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3793 all-stageautofeedback: all-stageautofeedback-bfd
3794 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3795 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3796 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3797 @r=`${PWD_COMMAND}`; export r; \
3798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3799 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3800 $(HOST_EXPORTS) \
3801 $(POSTSTAGE1_HOST_EXPORTS) \
3802 cd $(HOST_SUBDIR)/bfd && \
3804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3805 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3806 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3807 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3812 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3813 $(TARGET-stageautofeedback-bfd)
3815 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3816 clean-stageautofeedback: clean-stageautofeedback-bfd
3817 clean-stageautofeedback-bfd:
3818 @if [ $(current_stage) = stageautofeedback ]; then \
3819 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3820 else \
3821 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3822 $(MAKE) stageautofeedback-start; \
3823 fi; \
3824 cd $(HOST_SUBDIR)/bfd && \
3825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3826 @endif bfd-bootstrap
3832 .PHONY: check-bfd maybe-check-bfd
3833 maybe-check-bfd:
3834 @if bfd
3835 maybe-check-bfd: check-bfd
3837 check-bfd:
3838 @: $(MAKE); $(unstage)
3839 @r=`${PWD_COMMAND}`; export r; \
3840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3841 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3842 (cd $(HOST_SUBDIR)/bfd && \
3843 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3845 @endif bfd
3847 .PHONY: install-bfd maybe-install-bfd
3848 maybe-install-bfd:
3849 @if bfd
3850 maybe-install-bfd: install-bfd
3852 install-bfd: installdirs
3853 @: $(MAKE); $(unstage)
3854 @r=`${PWD_COMMAND}`; export r; \
3855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3856 $(HOST_EXPORTS) \
3857 (cd $(HOST_SUBDIR)/bfd && \
3858 $(MAKE) $(FLAGS_TO_PASS) install)
3860 @endif bfd
3862 .PHONY: install-strip-bfd maybe-install-strip-bfd
3863 maybe-install-strip-bfd:
3864 @if bfd
3865 maybe-install-strip-bfd: install-strip-bfd
3867 install-strip-bfd: installdirs
3868 @: $(MAKE); $(unstage)
3869 @r=`${PWD_COMMAND}`; export r; \
3870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3871 $(HOST_EXPORTS) \
3872 (cd $(HOST_SUBDIR)/bfd && \
3873 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3875 @endif bfd
3877 # Other targets (info, dvi, pdf, etc.)
3879 .PHONY: maybe-info-bfd info-bfd
3880 maybe-info-bfd:
3881 @if bfd
3882 maybe-info-bfd: info-bfd
3884 info-bfd: \
3885 configure-bfd
3886 @[ -f ./bfd/Makefile ] || exit 0; \
3887 r=`${PWD_COMMAND}`; export r; \
3888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3889 $(HOST_EXPORTS) \
3890 for flag in $(EXTRA_HOST_FLAGS) ; do \
3891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3892 done; \
3893 echo "Doing info in bfd"; \
3894 (cd $(HOST_SUBDIR)/bfd && \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897 "RANLIB=$${RANLIB}" \
3898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3899 info) \
3900 || exit 1
3902 @endif bfd
3904 .PHONY: maybe-dvi-bfd dvi-bfd
3905 maybe-dvi-bfd:
3906 @if bfd
3907 maybe-dvi-bfd: dvi-bfd
3909 dvi-bfd: \
3910 configure-bfd
3911 @[ -f ./bfd/Makefile ] || exit 0; \
3912 r=`${PWD_COMMAND}`; export r; \
3913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3914 $(HOST_EXPORTS) \
3915 for flag in $(EXTRA_HOST_FLAGS) ; do \
3916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3917 done; \
3918 echo "Doing dvi in bfd"; \
3919 (cd $(HOST_SUBDIR)/bfd && \
3920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3922 "RANLIB=$${RANLIB}" \
3923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3924 dvi) \
3925 || exit 1
3927 @endif bfd
3929 .PHONY: maybe-pdf-bfd pdf-bfd
3930 maybe-pdf-bfd:
3931 @if bfd
3932 maybe-pdf-bfd: pdf-bfd
3934 pdf-bfd: \
3935 configure-bfd
3936 @[ -f ./bfd/Makefile ] || exit 0; \
3937 r=`${PWD_COMMAND}`; export r; \
3938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3939 $(HOST_EXPORTS) \
3940 for flag in $(EXTRA_HOST_FLAGS) ; do \
3941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3942 done; \
3943 echo "Doing pdf in bfd"; \
3944 (cd $(HOST_SUBDIR)/bfd && \
3945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3947 "RANLIB=$${RANLIB}" \
3948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3949 pdf) \
3950 || exit 1
3952 @endif bfd
3954 .PHONY: maybe-html-bfd html-bfd
3955 maybe-html-bfd:
3956 @if bfd
3957 maybe-html-bfd: html-bfd
3959 html-bfd: \
3960 configure-bfd
3961 @[ -f ./bfd/Makefile ] || exit 0; \
3962 r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 $(HOST_EXPORTS) \
3965 for flag in $(EXTRA_HOST_FLAGS) ; do \
3966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3967 done; \
3968 echo "Doing html in bfd"; \
3969 (cd $(HOST_SUBDIR)/bfd && \
3970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3972 "RANLIB=$${RANLIB}" \
3973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3974 html) \
3975 || exit 1
3977 @endif bfd
3979 .PHONY: maybe-TAGS-bfd TAGS-bfd
3980 maybe-TAGS-bfd:
3981 @if bfd
3982 maybe-TAGS-bfd: TAGS-bfd
3984 TAGS-bfd: \
3985 configure-bfd
3986 @[ -f ./bfd/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing TAGS in bfd"; \
3994 (cd $(HOST_SUBDIR)/bfd && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3999 TAGS) \
4000 || exit 1
4002 @endif bfd
4004 .PHONY: maybe-install-info-bfd install-info-bfd
4005 maybe-install-info-bfd:
4006 @if bfd
4007 maybe-install-info-bfd: install-info-bfd
4009 install-info-bfd: \
4010 configure-bfd \
4011 info-bfd
4012 @[ -f ./bfd/Makefile ] || exit 0; \
4013 r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 $(HOST_EXPORTS) \
4016 for flag in $(EXTRA_HOST_FLAGS) ; do \
4017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4018 done; \
4019 echo "Doing install-info in bfd"; \
4020 (cd $(HOST_SUBDIR)/bfd && \
4021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4023 "RANLIB=$${RANLIB}" \
4024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4025 install-info) \
4026 || exit 1
4028 @endif bfd
4030 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4031 maybe-install-pdf-bfd:
4032 @if bfd
4033 maybe-install-pdf-bfd: install-pdf-bfd
4035 install-pdf-bfd: \
4036 configure-bfd \
4037 pdf-bfd
4038 @[ -f ./bfd/Makefile ] || exit 0; \
4039 r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 $(HOST_EXPORTS) \
4042 for flag in $(EXTRA_HOST_FLAGS) ; do \
4043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4044 done; \
4045 echo "Doing install-pdf in bfd"; \
4046 (cd $(HOST_SUBDIR)/bfd && \
4047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4049 "RANLIB=$${RANLIB}" \
4050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4051 install-pdf) \
4052 || exit 1
4054 @endif bfd
4056 .PHONY: maybe-install-html-bfd install-html-bfd
4057 maybe-install-html-bfd:
4058 @if bfd
4059 maybe-install-html-bfd: install-html-bfd
4061 install-html-bfd: \
4062 configure-bfd \
4063 html-bfd
4064 @[ -f ./bfd/Makefile ] || exit 0; \
4065 r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4067 $(HOST_EXPORTS) \
4068 for flag in $(EXTRA_HOST_FLAGS) ; do \
4069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4070 done; \
4071 echo "Doing install-html in bfd"; \
4072 (cd $(HOST_SUBDIR)/bfd && \
4073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4075 "RANLIB=$${RANLIB}" \
4076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4077 install-html) \
4078 || exit 1
4080 @endif bfd
4082 .PHONY: maybe-installcheck-bfd installcheck-bfd
4083 maybe-installcheck-bfd:
4084 @if bfd
4085 maybe-installcheck-bfd: installcheck-bfd
4087 installcheck-bfd: \
4088 configure-bfd
4089 @[ -f ./bfd/Makefile ] || exit 0; \
4090 r=`${PWD_COMMAND}`; export r; \
4091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4092 $(HOST_EXPORTS) \
4093 for flag in $(EXTRA_HOST_FLAGS) ; do \
4094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4095 done; \
4096 echo "Doing installcheck in bfd"; \
4097 (cd $(HOST_SUBDIR)/bfd && \
4098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4100 "RANLIB=$${RANLIB}" \
4101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4102 installcheck) \
4103 || exit 1
4105 @endif bfd
4107 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4108 maybe-mostlyclean-bfd:
4109 @if bfd
4110 maybe-mostlyclean-bfd: mostlyclean-bfd
4112 mostlyclean-bfd:
4113 @[ -f ./bfd/Makefile ] || exit 0; \
4114 r=`${PWD_COMMAND}`; export r; \
4115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4116 $(HOST_EXPORTS) \
4117 for flag in $(EXTRA_HOST_FLAGS) ; do \
4118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4119 done; \
4120 echo "Doing mostlyclean in bfd"; \
4121 (cd $(HOST_SUBDIR)/bfd && \
4122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4124 "RANLIB=$${RANLIB}" \
4125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4126 mostlyclean) \
4127 || exit 1
4129 @endif bfd
4131 .PHONY: maybe-clean-bfd clean-bfd
4132 maybe-clean-bfd:
4133 @if bfd
4134 maybe-clean-bfd: clean-bfd
4136 clean-bfd:
4137 @[ -f ./bfd/Makefile ] || exit 0; \
4138 r=`${PWD_COMMAND}`; export r; \
4139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4140 $(HOST_EXPORTS) \
4141 for flag in $(EXTRA_HOST_FLAGS) ; do \
4142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4143 done; \
4144 echo "Doing clean in bfd"; \
4145 (cd $(HOST_SUBDIR)/bfd && \
4146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4148 "RANLIB=$${RANLIB}" \
4149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4150 clean) \
4151 || exit 1
4153 @endif bfd
4155 .PHONY: maybe-distclean-bfd distclean-bfd
4156 maybe-distclean-bfd:
4157 @if bfd
4158 maybe-distclean-bfd: distclean-bfd
4160 distclean-bfd:
4161 @[ -f ./bfd/Makefile ] || exit 0; \
4162 r=`${PWD_COMMAND}`; export r; \
4163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4164 $(HOST_EXPORTS) \
4165 for flag in $(EXTRA_HOST_FLAGS) ; do \
4166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4167 done; \
4168 echo "Doing distclean in bfd"; \
4169 (cd $(HOST_SUBDIR)/bfd && \
4170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4172 "RANLIB=$${RANLIB}" \
4173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4174 distclean) \
4175 || exit 1
4177 @endif bfd
4179 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4180 maybe-maintainer-clean-bfd:
4181 @if bfd
4182 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4184 maintainer-clean-bfd:
4185 @[ -f ./bfd/Makefile ] || exit 0; \
4186 r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 $(HOST_EXPORTS) \
4189 for flag in $(EXTRA_HOST_FLAGS) ; do \
4190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4191 done; \
4192 echo "Doing maintainer-clean in bfd"; \
4193 (cd $(HOST_SUBDIR)/bfd && \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4196 "RANLIB=$${RANLIB}" \
4197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4198 maintainer-clean) \
4199 || exit 1
4201 @endif bfd
4205 .PHONY: configure-opcodes maybe-configure-opcodes
4206 maybe-configure-opcodes:
4207 @if gcc-bootstrap
4208 configure-opcodes: stage_current
4209 @endif gcc-bootstrap
4210 @if opcodes
4211 maybe-configure-opcodes: configure-opcodes
4212 configure-opcodes:
4213 @r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4217 $(HOST_EXPORTS) \
4218 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4219 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4220 case $(srcdir) in \
4221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4222 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4224 esac; \
4225 module_srcdir=opcodes; \
4226 $(SHELL) \
4227 $$s/$$module_srcdir/configure \
4228 --srcdir=$${topdir}/$$module_srcdir \
4229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4230 --target=${target_alias} \
4231 || exit 1
4232 @endif opcodes
4236 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4237 maybe-configure-stage1-opcodes:
4238 @if opcodes-bootstrap
4239 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4240 configure-stage1-opcodes:
4241 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4243 @r=`${PWD_COMMAND}`; export r; \
4244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4245 TFLAGS="$(STAGE1_TFLAGS)"; \
4246 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4247 $(HOST_EXPORTS) \
4248 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4249 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4250 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4251 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4253 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4254 case $(srcdir) in \
4255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4256 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4258 esac; \
4259 module_srcdir=opcodes; \
4260 $(SHELL) $$s/$$module_srcdir/configure \
4261 --srcdir=$${topdir}/$$module_srcdir \
4262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4263 --target=${target_alias} \
4265 $(STAGE1_CONFIGURE_FLAGS)
4266 @endif opcodes-bootstrap
4268 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4269 maybe-configure-stage2-opcodes:
4270 @if opcodes-bootstrap
4271 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4272 configure-stage2-opcodes:
4273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4275 @r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 TFLAGS="$(STAGE2_TFLAGS)"; \
4278 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4279 $(HOST_EXPORTS) \
4280 $(POSTSTAGE1_HOST_EXPORTS) \
4281 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4282 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4283 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4284 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4286 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4287 case $(srcdir) in \
4288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4289 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4291 esac; \
4292 module_srcdir=opcodes; \
4293 $(SHELL) $$s/$$module_srcdir/configure \
4294 --srcdir=$${topdir}/$$module_srcdir \
4295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4296 --target=${target_alias} \
4297 --with-build-libsubdir=$(HOST_SUBDIR) \
4298 $(STAGE2_CONFIGURE_FLAGS)
4299 @endif opcodes-bootstrap
4301 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4302 maybe-configure-stage3-opcodes:
4303 @if opcodes-bootstrap
4304 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4305 configure-stage3-opcodes:
4306 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4308 @r=`${PWD_COMMAND}`; export r; \
4309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4310 TFLAGS="$(STAGE3_TFLAGS)"; \
4311 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4312 $(HOST_EXPORTS) \
4313 $(POSTSTAGE1_HOST_EXPORTS) \
4314 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4315 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4316 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4317 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4319 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4320 case $(srcdir) in \
4321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4322 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4324 esac; \
4325 module_srcdir=opcodes; \
4326 $(SHELL) $$s/$$module_srcdir/configure \
4327 --srcdir=$${topdir}/$$module_srcdir \
4328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4329 --target=${target_alias} \
4330 --with-build-libsubdir=$(HOST_SUBDIR) \
4331 $(STAGE3_CONFIGURE_FLAGS)
4332 @endif opcodes-bootstrap
4334 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4335 maybe-configure-stage4-opcodes:
4336 @if opcodes-bootstrap
4337 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4338 configure-stage4-opcodes:
4339 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4341 @r=`${PWD_COMMAND}`; export r; \
4342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4343 TFLAGS="$(STAGE4_TFLAGS)"; \
4344 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4345 $(HOST_EXPORTS) \
4346 $(POSTSTAGE1_HOST_EXPORTS) \
4347 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4348 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4349 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4350 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4352 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4353 case $(srcdir) in \
4354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4355 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4357 esac; \
4358 module_srcdir=opcodes; \
4359 $(SHELL) $$s/$$module_srcdir/configure \
4360 --srcdir=$${topdir}/$$module_srcdir \
4361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4362 --target=${target_alias} \
4363 --with-build-libsubdir=$(HOST_SUBDIR) \
4364 $(STAGE4_CONFIGURE_FLAGS)
4365 @endif opcodes-bootstrap
4367 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4368 maybe-configure-stageprofile-opcodes:
4369 @if opcodes-bootstrap
4370 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4371 configure-stageprofile-opcodes:
4372 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4374 @r=`${PWD_COMMAND}`; export r; \
4375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4376 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4377 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4378 $(HOST_EXPORTS) \
4379 $(POSTSTAGE1_HOST_EXPORTS) \
4380 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4381 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4382 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4383 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4385 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4386 case $(srcdir) in \
4387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4388 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4390 esac; \
4391 module_srcdir=opcodes; \
4392 $(SHELL) $$s/$$module_srcdir/configure \
4393 --srcdir=$${topdir}/$$module_srcdir \
4394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4395 --target=${target_alias} \
4396 --with-build-libsubdir=$(HOST_SUBDIR) \
4397 $(STAGEprofile_CONFIGURE_FLAGS)
4398 @endif opcodes-bootstrap
4400 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4401 maybe-configure-stagefeedback-opcodes:
4402 @if opcodes-bootstrap
4403 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4404 configure-stagefeedback-opcodes:
4405 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4407 @r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4410 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4411 $(HOST_EXPORTS) \
4412 $(POSTSTAGE1_HOST_EXPORTS) \
4413 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4414 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4415 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4416 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4418 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4419 case $(srcdir) in \
4420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4421 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4423 esac; \
4424 module_srcdir=opcodes; \
4425 $(SHELL) $$s/$$module_srcdir/configure \
4426 --srcdir=$${topdir}/$$module_srcdir \
4427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4428 --target=${target_alias} \
4429 --with-build-libsubdir=$(HOST_SUBDIR) \
4430 $(STAGEfeedback_CONFIGURE_FLAGS)
4431 @endif opcodes-bootstrap
4433 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4434 maybe-configure-stageautoprofile-opcodes:
4435 @if opcodes-bootstrap
4436 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4437 configure-stageautoprofile-opcodes:
4438 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4440 @r=`${PWD_COMMAND}`; export r; \
4441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4442 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4443 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4444 $(HOST_EXPORTS) \
4445 $(POSTSTAGE1_HOST_EXPORTS) \
4446 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4447 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4448 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4449 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4451 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4452 case $(srcdir) in \
4453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4454 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4456 esac; \
4457 module_srcdir=opcodes; \
4458 $(SHELL) $$s/$$module_srcdir/configure \
4459 --srcdir=$${topdir}/$$module_srcdir \
4460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4461 --target=${target_alias} \
4462 --with-build-libsubdir=$(HOST_SUBDIR) \
4463 $(STAGEautoprofile_CONFIGURE_FLAGS)
4464 @endif opcodes-bootstrap
4466 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4467 maybe-configure-stageautofeedback-opcodes:
4468 @if opcodes-bootstrap
4469 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4470 configure-stageautofeedback-opcodes:
4471 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4473 @r=`${PWD_COMMAND}`; export r; \
4474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4475 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4476 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4477 $(HOST_EXPORTS) \
4478 $(POSTSTAGE1_HOST_EXPORTS) \
4479 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4480 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4481 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4482 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4484 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4485 case $(srcdir) in \
4486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4487 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4489 esac; \
4490 module_srcdir=opcodes; \
4491 $(SHELL) $$s/$$module_srcdir/configure \
4492 --srcdir=$${topdir}/$$module_srcdir \
4493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4494 --target=${target_alias} \
4495 --with-build-libsubdir=$(HOST_SUBDIR) \
4496 $(STAGEautofeedback_CONFIGURE_FLAGS)
4497 @endif opcodes-bootstrap
4503 .PHONY: all-opcodes maybe-all-opcodes
4504 maybe-all-opcodes:
4505 @if gcc-bootstrap
4506 all-opcodes: stage_current
4507 @endif gcc-bootstrap
4508 @if opcodes
4509 TARGET-opcodes=all
4510 maybe-all-opcodes: all-opcodes
4511 all-opcodes: configure-opcodes
4512 @r=`${PWD_COMMAND}`; export r; \
4513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4514 $(HOST_EXPORTS) \
4515 (cd $(HOST_SUBDIR)/opcodes && \
4516 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4517 $(TARGET-opcodes))
4518 @endif opcodes
4522 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4523 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4524 maybe-all-stage1-opcodes:
4525 maybe-clean-stage1-opcodes:
4526 @if opcodes-bootstrap
4527 maybe-all-stage1-opcodes: all-stage1-opcodes
4528 all-stage1: all-stage1-opcodes
4529 TARGET-stage1-opcodes = $(TARGET-opcodes)
4530 all-stage1-opcodes: configure-stage1-opcodes
4531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4532 @r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 TFLAGS="$(STAGE1_TFLAGS)"; \
4535 $(HOST_EXPORTS) \
4536 cd $(HOST_SUBDIR)/opcodes && \
4538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4539 CFLAGS="$(STAGE1_CFLAGS)" \
4540 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4541 LIBCFLAGS="$(LIBCFLAGS)" \
4542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4545 $(EXTRA_HOST_FLAGS) \
4546 $(STAGE1_FLAGS_TO_PASS) \
4547 TFLAGS="$(STAGE1_TFLAGS)" \
4548 $(TARGET-stage1-opcodes)
4550 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4551 clean-stage1: clean-stage1-opcodes
4552 clean-stage1-opcodes:
4553 @if [ $(current_stage) = stage1 ]; then \
4554 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4555 else \
4556 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4557 $(MAKE) stage1-start; \
4558 fi; \
4559 cd $(HOST_SUBDIR)/opcodes && \
4560 $(MAKE) $(EXTRA_HOST_FLAGS) \
4561 $(STAGE1_FLAGS_TO_PASS) clean
4562 @endif opcodes-bootstrap
4565 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4566 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4567 maybe-all-stage2-opcodes:
4568 maybe-clean-stage2-opcodes:
4569 @if opcodes-bootstrap
4570 maybe-all-stage2-opcodes: all-stage2-opcodes
4571 all-stage2: all-stage2-opcodes
4572 TARGET-stage2-opcodes = $(TARGET-opcodes)
4573 all-stage2-opcodes: configure-stage2-opcodes
4574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4575 @r=`${PWD_COMMAND}`; export r; \
4576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4577 TFLAGS="$(STAGE2_TFLAGS)"; \
4578 $(HOST_EXPORTS) \
4579 $(POSTSTAGE1_HOST_EXPORTS) \
4580 cd $(HOST_SUBDIR)/opcodes && \
4582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4583 CFLAGS="$(STAGE2_CFLAGS)" \
4584 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4585 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4590 TFLAGS="$(STAGE2_TFLAGS)" \
4591 $(TARGET-stage2-opcodes)
4593 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4594 clean-stage2: clean-stage2-opcodes
4595 clean-stage2-opcodes:
4596 @if [ $(current_stage) = stage2 ]; then \
4597 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4598 else \
4599 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4600 $(MAKE) stage2-start; \
4601 fi; \
4602 cd $(HOST_SUBDIR)/opcodes && \
4603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4604 @endif opcodes-bootstrap
4607 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4608 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4609 maybe-all-stage3-opcodes:
4610 maybe-clean-stage3-opcodes:
4611 @if opcodes-bootstrap
4612 maybe-all-stage3-opcodes: all-stage3-opcodes
4613 all-stage3: all-stage3-opcodes
4614 TARGET-stage3-opcodes = $(TARGET-opcodes)
4615 all-stage3-opcodes: configure-stage3-opcodes
4616 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4617 @r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 TFLAGS="$(STAGE3_TFLAGS)"; \
4620 $(HOST_EXPORTS) \
4621 $(POSTSTAGE1_HOST_EXPORTS) \
4622 cd $(HOST_SUBDIR)/opcodes && \
4624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4625 CFLAGS="$(STAGE3_CFLAGS)" \
4626 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4627 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4632 TFLAGS="$(STAGE3_TFLAGS)" \
4633 $(TARGET-stage3-opcodes)
4635 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4636 clean-stage3: clean-stage3-opcodes
4637 clean-stage3-opcodes:
4638 @if [ $(current_stage) = stage3 ]; then \
4639 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4640 else \
4641 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4642 $(MAKE) stage3-start; \
4643 fi; \
4644 cd $(HOST_SUBDIR)/opcodes && \
4645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4646 @endif opcodes-bootstrap
4649 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4650 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4651 maybe-all-stage4-opcodes:
4652 maybe-clean-stage4-opcodes:
4653 @if opcodes-bootstrap
4654 maybe-all-stage4-opcodes: all-stage4-opcodes
4655 all-stage4: all-stage4-opcodes
4656 TARGET-stage4-opcodes = $(TARGET-opcodes)
4657 all-stage4-opcodes: configure-stage4-opcodes
4658 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4659 @r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 TFLAGS="$(STAGE4_TFLAGS)"; \
4662 $(HOST_EXPORTS) \
4663 $(POSTSTAGE1_HOST_EXPORTS) \
4664 cd $(HOST_SUBDIR)/opcodes && \
4666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4667 CFLAGS="$(STAGE4_CFLAGS)" \
4668 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4669 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4674 TFLAGS="$(STAGE4_TFLAGS)" \
4675 $(TARGET-stage4-opcodes)
4677 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4678 clean-stage4: clean-stage4-opcodes
4679 clean-stage4-opcodes:
4680 @if [ $(current_stage) = stage4 ]; then \
4681 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4682 else \
4683 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4684 $(MAKE) stage4-start; \
4685 fi; \
4686 cd $(HOST_SUBDIR)/opcodes && \
4687 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4688 @endif opcodes-bootstrap
4691 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4692 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4693 maybe-all-stageprofile-opcodes:
4694 maybe-clean-stageprofile-opcodes:
4695 @if opcodes-bootstrap
4696 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4697 all-stageprofile: all-stageprofile-opcodes
4698 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4699 all-stageprofile-opcodes: configure-stageprofile-opcodes
4700 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4701 @r=`${PWD_COMMAND}`; export r; \
4702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4703 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4704 $(HOST_EXPORTS) \
4705 $(POSTSTAGE1_HOST_EXPORTS) \
4706 cd $(HOST_SUBDIR)/opcodes && \
4708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4709 CFLAGS="$(STAGEprofile_CFLAGS)" \
4710 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4711 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4715 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4716 TFLAGS="$(STAGEprofile_TFLAGS)" \
4717 $(TARGET-stageprofile-opcodes)
4719 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4720 clean-stageprofile: clean-stageprofile-opcodes
4721 clean-stageprofile-opcodes:
4722 @if [ $(current_stage) = stageprofile ]; then \
4723 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4724 else \
4725 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4726 $(MAKE) stageprofile-start; \
4727 fi; \
4728 cd $(HOST_SUBDIR)/opcodes && \
4729 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4730 @endif opcodes-bootstrap
4733 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4734 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4735 maybe-all-stagefeedback-opcodes:
4736 maybe-clean-stagefeedback-opcodes:
4737 @if opcodes-bootstrap
4738 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4739 all-stagefeedback: all-stagefeedback-opcodes
4740 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4741 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4742 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4743 @r=`${PWD_COMMAND}`; export r; \
4744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4746 $(HOST_EXPORTS) \
4747 $(POSTSTAGE1_HOST_EXPORTS) \
4748 cd $(HOST_SUBDIR)/opcodes && \
4750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4751 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4752 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4753 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4758 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4759 $(TARGET-stagefeedback-opcodes)
4761 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4762 clean-stagefeedback: clean-stagefeedback-opcodes
4763 clean-stagefeedback-opcodes:
4764 @if [ $(current_stage) = stagefeedback ]; then \
4765 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4766 else \
4767 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4768 $(MAKE) stagefeedback-start; \
4769 fi; \
4770 cd $(HOST_SUBDIR)/opcodes && \
4771 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4772 @endif opcodes-bootstrap
4775 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4776 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4777 maybe-all-stageautoprofile-opcodes:
4778 maybe-clean-stageautoprofile-opcodes:
4779 @if opcodes-bootstrap
4780 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4781 all-stageautoprofile: all-stageautoprofile-opcodes
4782 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4783 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4784 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4785 @r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4788 $(HOST_EXPORTS) \
4789 $(POSTSTAGE1_HOST_EXPORTS) \
4790 cd $(HOST_SUBDIR)/opcodes && \
4791 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4793 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4794 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4795 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4800 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4801 $(TARGET-stageautoprofile-opcodes)
4803 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4804 clean-stageautoprofile: clean-stageautoprofile-opcodes
4805 clean-stageautoprofile-opcodes:
4806 @if [ $(current_stage) = stageautoprofile ]; then \
4807 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4808 else \
4809 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4810 $(MAKE) stageautoprofile-start; \
4811 fi; \
4812 cd $(HOST_SUBDIR)/opcodes && \
4813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4814 @endif opcodes-bootstrap
4817 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4818 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4819 maybe-all-stageautofeedback-opcodes:
4820 maybe-clean-stageautofeedback-opcodes:
4821 @if opcodes-bootstrap
4822 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4823 all-stageautofeedback: all-stageautofeedback-opcodes
4824 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4825 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4826 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4827 @r=`${PWD_COMMAND}`; export r; \
4828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4829 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4830 $(HOST_EXPORTS) \
4831 $(POSTSTAGE1_HOST_EXPORTS) \
4832 cd $(HOST_SUBDIR)/opcodes && \
4834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4835 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4836 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4837 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4842 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4843 $(TARGET-stageautofeedback-opcodes)
4845 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
4846 clean-stageautofeedback: clean-stageautofeedback-opcodes
4847 clean-stageautofeedback-opcodes:
4848 @if [ $(current_stage) = stageautofeedback ]; then \
4849 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4850 else \
4851 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
4852 $(MAKE) stageautofeedback-start; \
4853 fi; \
4854 cd $(HOST_SUBDIR)/opcodes && \
4855 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4856 @endif opcodes-bootstrap
4862 .PHONY: check-opcodes maybe-check-opcodes
4863 maybe-check-opcodes:
4864 @if opcodes
4865 maybe-check-opcodes: check-opcodes
4867 check-opcodes:
4868 @: $(MAKE); $(unstage)
4869 @r=`${PWD_COMMAND}`; export r; \
4870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4871 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4872 (cd $(HOST_SUBDIR)/opcodes && \
4873 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4875 @endif opcodes
4877 .PHONY: install-opcodes maybe-install-opcodes
4878 maybe-install-opcodes:
4879 @if opcodes
4880 maybe-install-opcodes: install-opcodes
4882 install-opcodes: installdirs
4883 @: $(MAKE); $(unstage)
4884 @r=`${PWD_COMMAND}`; export r; \
4885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4886 $(HOST_EXPORTS) \
4887 (cd $(HOST_SUBDIR)/opcodes && \
4888 $(MAKE) $(FLAGS_TO_PASS) install)
4890 @endif opcodes
4892 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4893 maybe-install-strip-opcodes:
4894 @if opcodes
4895 maybe-install-strip-opcodes: install-strip-opcodes
4897 install-strip-opcodes: installdirs
4898 @: $(MAKE); $(unstage)
4899 @r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(HOST_EXPORTS) \
4902 (cd $(HOST_SUBDIR)/opcodes && \
4903 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4905 @endif opcodes
4907 # Other targets (info, dvi, pdf, etc.)
4909 .PHONY: maybe-info-opcodes info-opcodes
4910 maybe-info-opcodes:
4911 @if opcodes
4912 maybe-info-opcodes: info-opcodes
4914 info-opcodes: \
4915 configure-opcodes
4916 @[ -f ./opcodes/Makefile ] || exit 0; \
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 $(HOST_EXPORTS) \
4920 for flag in $(EXTRA_HOST_FLAGS) ; do \
4921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4922 done; \
4923 echo "Doing info in opcodes"; \
4924 (cd $(HOST_SUBDIR)/opcodes && \
4925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4927 "RANLIB=$${RANLIB}" \
4928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4929 info) \
4930 || exit 1
4932 @endif opcodes
4934 .PHONY: maybe-dvi-opcodes dvi-opcodes
4935 maybe-dvi-opcodes:
4936 @if opcodes
4937 maybe-dvi-opcodes: dvi-opcodes
4939 dvi-opcodes: \
4940 configure-opcodes
4941 @[ -f ./opcodes/Makefile ] || exit 0; \
4942 r=`${PWD_COMMAND}`; export r; \
4943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4944 $(HOST_EXPORTS) \
4945 for flag in $(EXTRA_HOST_FLAGS) ; do \
4946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4947 done; \
4948 echo "Doing dvi in opcodes"; \
4949 (cd $(HOST_SUBDIR)/opcodes && \
4950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4952 "RANLIB=$${RANLIB}" \
4953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4954 dvi) \
4955 || exit 1
4957 @endif opcodes
4959 .PHONY: maybe-pdf-opcodes pdf-opcodes
4960 maybe-pdf-opcodes:
4961 @if opcodes
4962 maybe-pdf-opcodes: pdf-opcodes
4964 pdf-opcodes: \
4965 configure-opcodes
4966 @[ -f ./opcodes/Makefile ] || exit 0; \
4967 r=`${PWD_COMMAND}`; export r; \
4968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4969 $(HOST_EXPORTS) \
4970 for flag in $(EXTRA_HOST_FLAGS) ; do \
4971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4972 done; \
4973 echo "Doing pdf in opcodes"; \
4974 (cd $(HOST_SUBDIR)/opcodes && \
4975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4977 "RANLIB=$${RANLIB}" \
4978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4979 pdf) \
4980 || exit 1
4982 @endif opcodes
4984 .PHONY: maybe-html-opcodes html-opcodes
4985 maybe-html-opcodes:
4986 @if opcodes
4987 maybe-html-opcodes: html-opcodes
4989 html-opcodes: \
4990 configure-opcodes
4991 @[ -f ./opcodes/Makefile ] || exit 0; \
4992 r=`${PWD_COMMAND}`; export r; \
4993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 $(HOST_EXPORTS) \
4995 for flag in $(EXTRA_HOST_FLAGS) ; do \
4996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4997 done; \
4998 echo "Doing html in opcodes"; \
4999 (cd $(HOST_SUBDIR)/opcodes && \
5000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5002 "RANLIB=$${RANLIB}" \
5003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5004 html) \
5005 || exit 1
5007 @endif opcodes
5009 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5010 maybe-TAGS-opcodes:
5011 @if opcodes
5012 maybe-TAGS-opcodes: TAGS-opcodes
5014 TAGS-opcodes: \
5015 configure-opcodes
5016 @[ -f ./opcodes/Makefile ] || exit 0; \
5017 r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 $(HOST_EXPORTS) \
5020 for flag in $(EXTRA_HOST_FLAGS) ; do \
5021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5022 done; \
5023 echo "Doing TAGS in opcodes"; \
5024 (cd $(HOST_SUBDIR)/opcodes && \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027 "RANLIB=$${RANLIB}" \
5028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5029 TAGS) \
5030 || exit 1
5032 @endif opcodes
5034 .PHONY: maybe-install-info-opcodes install-info-opcodes
5035 maybe-install-info-opcodes:
5036 @if opcodes
5037 maybe-install-info-opcodes: install-info-opcodes
5039 install-info-opcodes: \
5040 configure-opcodes \
5041 info-opcodes
5042 @[ -f ./opcodes/Makefile ] || exit 0; \
5043 r=`${PWD_COMMAND}`; export r; \
5044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5045 $(HOST_EXPORTS) \
5046 for flag in $(EXTRA_HOST_FLAGS) ; do \
5047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5048 done; \
5049 echo "Doing install-info in opcodes"; \
5050 (cd $(HOST_SUBDIR)/opcodes && \
5051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5053 "RANLIB=$${RANLIB}" \
5054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5055 install-info) \
5056 || exit 1
5058 @endif opcodes
5060 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5061 maybe-install-pdf-opcodes:
5062 @if opcodes
5063 maybe-install-pdf-opcodes: install-pdf-opcodes
5065 install-pdf-opcodes: \
5066 configure-opcodes \
5067 pdf-opcodes
5068 @[ -f ./opcodes/Makefile ] || exit 0; \
5069 r=`${PWD_COMMAND}`; export r; \
5070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 $(HOST_EXPORTS) \
5072 for flag in $(EXTRA_HOST_FLAGS) ; do \
5073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5074 done; \
5075 echo "Doing install-pdf in opcodes"; \
5076 (cd $(HOST_SUBDIR)/opcodes && \
5077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5079 "RANLIB=$${RANLIB}" \
5080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5081 install-pdf) \
5082 || exit 1
5084 @endif opcodes
5086 .PHONY: maybe-install-html-opcodes install-html-opcodes
5087 maybe-install-html-opcodes:
5088 @if opcodes
5089 maybe-install-html-opcodes: install-html-opcodes
5091 install-html-opcodes: \
5092 configure-opcodes \
5093 html-opcodes
5094 @[ -f ./opcodes/Makefile ] || exit 0; \
5095 r=`${PWD_COMMAND}`; export r; \
5096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5097 $(HOST_EXPORTS) \
5098 for flag in $(EXTRA_HOST_FLAGS) ; do \
5099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5100 done; \
5101 echo "Doing install-html in opcodes"; \
5102 (cd $(HOST_SUBDIR)/opcodes && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5105 "RANLIB=$${RANLIB}" \
5106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5107 install-html) \
5108 || exit 1
5110 @endif opcodes
5112 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5113 maybe-installcheck-opcodes:
5114 @if opcodes
5115 maybe-installcheck-opcodes: installcheck-opcodes
5117 installcheck-opcodes: \
5118 configure-opcodes
5119 @[ -f ./opcodes/Makefile ] || exit 0; \
5120 r=`${PWD_COMMAND}`; export r; \
5121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 $(HOST_EXPORTS) \
5123 for flag in $(EXTRA_HOST_FLAGS) ; do \
5124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5125 done; \
5126 echo "Doing installcheck in opcodes"; \
5127 (cd $(HOST_SUBDIR)/opcodes && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5130 "RANLIB=$${RANLIB}" \
5131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5132 installcheck) \
5133 || exit 1
5135 @endif opcodes
5137 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5138 maybe-mostlyclean-opcodes:
5139 @if opcodes
5140 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5142 mostlyclean-opcodes:
5143 @[ -f ./opcodes/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 $(HOST_EXPORTS) \
5147 for flag in $(EXTRA_HOST_FLAGS) ; do \
5148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5149 done; \
5150 echo "Doing mostlyclean in opcodes"; \
5151 (cd $(HOST_SUBDIR)/opcodes && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5154 "RANLIB=$${RANLIB}" \
5155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5156 mostlyclean) \
5157 || exit 1
5159 @endif opcodes
5161 .PHONY: maybe-clean-opcodes clean-opcodes
5162 maybe-clean-opcodes:
5163 @if opcodes
5164 maybe-clean-opcodes: clean-opcodes
5166 clean-opcodes:
5167 @[ -f ./opcodes/Makefile ] || exit 0; \
5168 r=`${PWD_COMMAND}`; export r; \
5169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5170 $(HOST_EXPORTS) \
5171 for flag in $(EXTRA_HOST_FLAGS) ; do \
5172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5173 done; \
5174 echo "Doing clean in opcodes"; \
5175 (cd $(HOST_SUBDIR)/opcodes && \
5176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5178 "RANLIB=$${RANLIB}" \
5179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5180 clean) \
5181 || exit 1
5183 @endif opcodes
5185 .PHONY: maybe-distclean-opcodes distclean-opcodes
5186 maybe-distclean-opcodes:
5187 @if opcodes
5188 maybe-distclean-opcodes: distclean-opcodes
5190 distclean-opcodes:
5191 @[ -f ./opcodes/Makefile ] || exit 0; \
5192 r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 for flag in $(EXTRA_HOST_FLAGS) ; do \
5196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 done; \
5198 echo "Doing distclean in opcodes"; \
5199 (cd $(HOST_SUBDIR)/opcodes && \
5200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5202 "RANLIB=$${RANLIB}" \
5203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5204 distclean) \
5205 || exit 1
5207 @endif opcodes
5209 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5210 maybe-maintainer-clean-opcodes:
5211 @if opcodes
5212 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5214 maintainer-clean-opcodes:
5215 @[ -f ./opcodes/Makefile ] || exit 0; \
5216 r=`${PWD_COMMAND}`; export r; \
5217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5218 $(HOST_EXPORTS) \
5219 for flag in $(EXTRA_HOST_FLAGS) ; do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5221 done; \
5222 echo "Doing maintainer-clean in opcodes"; \
5223 (cd $(HOST_SUBDIR)/opcodes && \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5228 maintainer-clean) \
5229 || exit 1
5231 @endif opcodes
5235 .PHONY: configure-binutils maybe-configure-binutils
5236 maybe-configure-binutils:
5237 @if gcc-bootstrap
5238 configure-binutils: stage_current
5239 @endif gcc-bootstrap
5240 @if binutils
5241 maybe-configure-binutils: configure-binutils
5242 configure-binutils:
5243 @r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5247 $(HOST_EXPORTS) \
5248 echo Configuring in $(HOST_SUBDIR)/binutils; \
5249 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5250 case $(srcdir) in \
5251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5252 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5254 esac; \
5255 module_srcdir=binutils; \
5256 $(SHELL) \
5257 $$s/$$module_srcdir/configure \
5258 --srcdir=$${topdir}/$$module_srcdir \
5259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5260 --target=${target_alias} \
5261 || exit 1
5262 @endif binutils
5266 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5267 maybe-configure-stage1-binutils:
5268 @if binutils-bootstrap
5269 maybe-configure-stage1-binutils: configure-stage1-binutils
5270 configure-stage1-binutils:
5271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5273 @r=`${PWD_COMMAND}`; export r; \
5274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275 TFLAGS="$(STAGE1_TFLAGS)"; \
5276 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5277 $(HOST_EXPORTS) \
5278 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5279 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5280 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5281 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5283 cd $(HOST_SUBDIR)/binutils || exit 1; \
5284 case $(srcdir) in \
5285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5286 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5288 esac; \
5289 module_srcdir=binutils; \
5290 $(SHELL) $$s/$$module_srcdir/configure \
5291 --srcdir=$${topdir}/$$module_srcdir \
5292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5293 --target=${target_alias} \
5295 $(STAGE1_CONFIGURE_FLAGS)
5296 @endif binutils-bootstrap
5298 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5299 maybe-configure-stage2-binutils:
5300 @if binutils-bootstrap
5301 maybe-configure-stage2-binutils: configure-stage2-binutils
5302 configure-stage2-binutils:
5303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5305 @r=`${PWD_COMMAND}`; export r; \
5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 TFLAGS="$(STAGE2_TFLAGS)"; \
5308 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5309 $(HOST_EXPORTS) \
5310 $(POSTSTAGE1_HOST_EXPORTS) \
5311 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5312 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5313 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5314 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5316 cd $(HOST_SUBDIR)/binutils || exit 1; \
5317 case $(srcdir) in \
5318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5319 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5321 esac; \
5322 module_srcdir=binutils; \
5323 $(SHELL) $$s/$$module_srcdir/configure \
5324 --srcdir=$${topdir}/$$module_srcdir \
5325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5326 --target=${target_alias} \
5327 --with-build-libsubdir=$(HOST_SUBDIR) \
5328 $(STAGE2_CONFIGURE_FLAGS)
5329 @endif binutils-bootstrap
5331 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5332 maybe-configure-stage3-binutils:
5333 @if binutils-bootstrap
5334 maybe-configure-stage3-binutils: configure-stage3-binutils
5335 configure-stage3-binutils:
5336 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5338 @r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5340 TFLAGS="$(STAGE3_TFLAGS)"; \
5341 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5342 $(HOST_EXPORTS) \
5343 $(POSTSTAGE1_HOST_EXPORTS) \
5344 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5345 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5346 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5347 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5349 cd $(HOST_SUBDIR)/binutils || exit 1; \
5350 case $(srcdir) in \
5351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5352 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5354 esac; \
5355 module_srcdir=binutils; \
5356 $(SHELL) $$s/$$module_srcdir/configure \
5357 --srcdir=$${topdir}/$$module_srcdir \
5358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5359 --target=${target_alias} \
5360 --with-build-libsubdir=$(HOST_SUBDIR) \
5361 $(STAGE3_CONFIGURE_FLAGS)
5362 @endif binutils-bootstrap
5364 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5365 maybe-configure-stage4-binutils:
5366 @if binutils-bootstrap
5367 maybe-configure-stage4-binutils: configure-stage4-binutils
5368 configure-stage4-binutils:
5369 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5371 @r=`${PWD_COMMAND}`; export r; \
5372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5373 TFLAGS="$(STAGE4_TFLAGS)"; \
5374 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5375 $(HOST_EXPORTS) \
5376 $(POSTSTAGE1_HOST_EXPORTS) \
5377 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5378 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5379 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5380 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5382 cd $(HOST_SUBDIR)/binutils || exit 1; \
5383 case $(srcdir) in \
5384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5385 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5387 esac; \
5388 module_srcdir=binutils; \
5389 $(SHELL) $$s/$$module_srcdir/configure \
5390 --srcdir=$${topdir}/$$module_srcdir \
5391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5392 --target=${target_alias} \
5393 --with-build-libsubdir=$(HOST_SUBDIR) \
5394 $(STAGE4_CONFIGURE_FLAGS)
5395 @endif binutils-bootstrap
5397 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5398 maybe-configure-stageprofile-binutils:
5399 @if binutils-bootstrap
5400 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5401 configure-stageprofile-binutils:
5402 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5404 @r=`${PWD_COMMAND}`; export r; \
5405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5406 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5407 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5408 $(HOST_EXPORTS) \
5409 $(POSTSTAGE1_HOST_EXPORTS) \
5410 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5411 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5412 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5413 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5414 $(SHELL) $(srcdir)/mkinstalldirs $(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) $$s/$$module_srcdir/configure \
5423 --srcdir=$${topdir}/$$module_srcdir \
5424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5425 --target=${target_alias} \
5426 --with-build-libsubdir=$(HOST_SUBDIR) \
5427 $(STAGEprofile_CONFIGURE_FLAGS)
5428 @endif binutils-bootstrap
5430 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5431 maybe-configure-stagefeedback-binutils:
5432 @if binutils-bootstrap
5433 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5434 configure-stagefeedback-binutils:
5435 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5437 @r=`${PWD_COMMAND}`; export r; \
5438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5440 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5441 $(HOST_EXPORTS) \
5442 $(POSTSTAGE1_HOST_EXPORTS) \
5443 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5444 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5445 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5446 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5448 cd $(HOST_SUBDIR)/binutils || exit 1; \
5449 case $(srcdir) in \
5450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5451 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5453 esac; \
5454 module_srcdir=binutils; \
5455 $(SHELL) $$s/$$module_srcdir/configure \
5456 --srcdir=$${topdir}/$$module_srcdir \
5457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5458 --target=${target_alias} \
5459 --with-build-libsubdir=$(HOST_SUBDIR) \
5460 $(STAGEfeedback_CONFIGURE_FLAGS)
5461 @endif binutils-bootstrap
5463 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5464 maybe-configure-stageautoprofile-binutils:
5465 @if binutils-bootstrap
5466 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5467 configure-stageautoprofile-binutils:
5468 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5470 @r=`${PWD_COMMAND}`; export r; \
5471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5473 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5474 $(HOST_EXPORTS) \
5475 $(POSTSTAGE1_HOST_EXPORTS) \
5476 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5477 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5478 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5479 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5481 cd $(HOST_SUBDIR)/binutils || exit 1; \
5482 case $(srcdir) in \
5483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5484 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5486 esac; \
5487 module_srcdir=binutils; \
5488 $(SHELL) $$s/$$module_srcdir/configure \
5489 --srcdir=$${topdir}/$$module_srcdir \
5490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5491 --target=${target_alias} \
5492 --with-build-libsubdir=$(HOST_SUBDIR) \
5493 $(STAGEautoprofile_CONFIGURE_FLAGS)
5494 @endif binutils-bootstrap
5496 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5497 maybe-configure-stageautofeedback-binutils:
5498 @if binutils-bootstrap
5499 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5500 configure-stageautofeedback-binutils:
5501 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5503 @r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5506 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5507 $(HOST_EXPORTS) \
5508 $(POSTSTAGE1_HOST_EXPORTS) \
5509 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5510 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5511 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5512 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5514 cd $(HOST_SUBDIR)/binutils || exit 1; \
5515 case $(srcdir) in \
5516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5517 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5519 esac; \
5520 module_srcdir=binutils; \
5521 $(SHELL) $$s/$$module_srcdir/configure \
5522 --srcdir=$${topdir}/$$module_srcdir \
5523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5524 --target=${target_alias} \
5525 --with-build-libsubdir=$(HOST_SUBDIR) \
5526 $(STAGEautofeedback_CONFIGURE_FLAGS)
5527 @endif binutils-bootstrap
5533 .PHONY: all-binutils maybe-all-binutils
5534 maybe-all-binutils:
5535 @if gcc-bootstrap
5536 all-binutils: stage_current
5537 @endif gcc-bootstrap
5538 @if binutils
5539 TARGET-binutils=all
5540 maybe-all-binutils: all-binutils
5541 all-binutils: configure-binutils
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 (cd $(HOST_SUBDIR)/binutils && \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5547 $(TARGET-binutils))
5548 @endif binutils
5552 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5553 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5554 maybe-all-stage1-binutils:
5555 maybe-clean-stage1-binutils:
5556 @if binutils-bootstrap
5557 maybe-all-stage1-binutils: all-stage1-binutils
5558 all-stage1: all-stage1-binutils
5559 TARGET-stage1-binutils = $(TARGET-binutils)
5560 all-stage1-binutils: configure-stage1-binutils
5561 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5562 @r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 TFLAGS="$(STAGE1_TFLAGS)"; \
5565 $(HOST_EXPORTS) \
5566 cd $(HOST_SUBDIR)/binutils && \
5568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5569 CFLAGS="$(STAGE1_CFLAGS)" \
5570 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5571 LIBCFLAGS="$(LIBCFLAGS)" \
5572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5575 $(EXTRA_HOST_FLAGS) \
5576 $(STAGE1_FLAGS_TO_PASS) \
5577 TFLAGS="$(STAGE1_TFLAGS)" \
5578 $(TARGET-stage1-binutils)
5580 maybe-clean-stage1-binutils: clean-stage1-binutils
5581 clean-stage1: clean-stage1-binutils
5582 clean-stage1-binutils:
5583 @if [ $(current_stage) = stage1 ]; then \
5584 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5585 else \
5586 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5587 $(MAKE) stage1-start; \
5588 fi; \
5589 cd $(HOST_SUBDIR)/binutils && \
5590 $(MAKE) $(EXTRA_HOST_FLAGS) \
5591 $(STAGE1_FLAGS_TO_PASS) clean
5592 @endif binutils-bootstrap
5595 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5596 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5597 maybe-all-stage2-binutils:
5598 maybe-clean-stage2-binutils:
5599 @if binutils-bootstrap
5600 maybe-all-stage2-binutils: all-stage2-binutils
5601 all-stage2: all-stage2-binutils
5602 TARGET-stage2-binutils = $(TARGET-binutils)
5603 all-stage2-binutils: configure-stage2-binutils
5604 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5605 @r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 TFLAGS="$(STAGE2_TFLAGS)"; \
5608 $(HOST_EXPORTS) \
5609 $(POSTSTAGE1_HOST_EXPORTS) \
5610 cd $(HOST_SUBDIR)/binutils && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5613 CFLAGS="$(STAGE2_CFLAGS)" \
5614 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5615 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5620 TFLAGS="$(STAGE2_TFLAGS)" \
5621 $(TARGET-stage2-binutils)
5623 maybe-clean-stage2-binutils: clean-stage2-binutils
5624 clean-stage2: clean-stage2-binutils
5625 clean-stage2-binutils:
5626 @if [ $(current_stage) = stage2 ]; then \
5627 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5628 else \
5629 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5630 $(MAKE) stage2-start; \
5631 fi; \
5632 cd $(HOST_SUBDIR)/binutils && \
5633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5634 @endif binutils-bootstrap
5637 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5638 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5639 maybe-all-stage3-binutils:
5640 maybe-clean-stage3-binutils:
5641 @if binutils-bootstrap
5642 maybe-all-stage3-binutils: all-stage3-binutils
5643 all-stage3: all-stage3-binutils
5644 TARGET-stage3-binutils = $(TARGET-binutils)
5645 all-stage3-binutils: configure-stage3-binutils
5646 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5647 @r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 TFLAGS="$(STAGE3_TFLAGS)"; \
5650 $(HOST_EXPORTS) \
5651 $(POSTSTAGE1_HOST_EXPORTS) \
5652 cd $(HOST_SUBDIR)/binutils && \
5654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5655 CFLAGS="$(STAGE3_CFLAGS)" \
5656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5662 TFLAGS="$(STAGE3_TFLAGS)" \
5663 $(TARGET-stage3-binutils)
5665 maybe-clean-stage3-binutils: clean-stage3-binutils
5666 clean-stage3: clean-stage3-binutils
5667 clean-stage3-binutils:
5668 @if [ $(current_stage) = stage3 ]; then \
5669 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5670 else \
5671 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5672 $(MAKE) stage3-start; \
5673 fi; \
5674 cd $(HOST_SUBDIR)/binutils && \
5675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5676 @endif binutils-bootstrap
5679 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5680 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5681 maybe-all-stage4-binutils:
5682 maybe-clean-stage4-binutils:
5683 @if binutils-bootstrap
5684 maybe-all-stage4-binutils: all-stage4-binutils
5685 all-stage4: all-stage4-binutils
5686 TARGET-stage4-binutils = $(TARGET-binutils)
5687 all-stage4-binutils: configure-stage4-binutils
5688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5689 @r=`${PWD_COMMAND}`; export r; \
5690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691 TFLAGS="$(STAGE4_TFLAGS)"; \
5692 $(HOST_EXPORTS) \
5693 $(POSTSTAGE1_HOST_EXPORTS) \
5694 cd $(HOST_SUBDIR)/binutils && \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5697 CFLAGS="$(STAGE4_CFLAGS)" \
5698 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5699 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5704 TFLAGS="$(STAGE4_TFLAGS)" \
5705 $(TARGET-stage4-binutils)
5707 maybe-clean-stage4-binutils: clean-stage4-binutils
5708 clean-stage4: clean-stage4-binutils
5709 clean-stage4-binutils:
5710 @if [ $(current_stage) = stage4 ]; then \
5711 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5712 else \
5713 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5714 $(MAKE) stage4-start; \
5715 fi; \
5716 cd $(HOST_SUBDIR)/binutils && \
5717 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5718 @endif binutils-bootstrap
5721 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5722 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5723 maybe-all-stageprofile-binutils:
5724 maybe-clean-stageprofile-binutils:
5725 @if binutils-bootstrap
5726 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5727 all-stageprofile: all-stageprofile-binutils
5728 TARGET-stageprofile-binutils = $(TARGET-binutils)
5729 all-stageprofile-binutils: configure-stageprofile-binutils
5730 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5731 @r=`${PWD_COMMAND}`; export r; \
5732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5734 $(HOST_EXPORTS) \
5735 $(POSTSTAGE1_HOST_EXPORTS) \
5736 cd $(HOST_SUBDIR)/binutils && \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5739 CFLAGS="$(STAGEprofile_CFLAGS)" \
5740 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5741 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5746 TFLAGS="$(STAGEprofile_TFLAGS)" \
5747 $(TARGET-stageprofile-binutils)
5749 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5750 clean-stageprofile: clean-stageprofile-binutils
5751 clean-stageprofile-binutils:
5752 @if [ $(current_stage) = stageprofile ]; then \
5753 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5754 else \
5755 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5756 $(MAKE) stageprofile-start; \
5757 fi; \
5758 cd $(HOST_SUBDIR)/binutils && \
5759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5760 @endif binutils-bootstrap
5763 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5764 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5765 maybe-all-stagefeedback-binutils:
5766 maybe-clean-stagefeedback-binutils:
5767 @if binutils-bootstrap
5768 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5769 all-stagefeedback: all-stagefeedback-binutils
5770 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5771 all-stagefeedback-binutils: configure-stagefeedback-binutils
5772 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5773 @r=`${PWD_COMMAND}`; export r; \
5774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5775 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5776 $(HOST_EXPORTS) \
5777 $(POSTSTAGE1_HOST_EXPORTS) \
5778 cd $(HOST_SUBDIR)/binutils && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5781 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5782 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5783 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5788 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5789 $(TARGET-stagefeedback-binutils)
5791 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5792 clean-stagefeedback: clean-stagefeedback-binutils
5793 clean-stagefeedback-binutils:
5794 @if [ $(current_stage) = stagefeedback ]; then \
5795 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5796 else \
5797 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5798 $(MAKE) stagefeedback-start; \
5799 fi; \
5800 cd $(HOST_SUBDIR)/binutils && \
5801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5802 @endif binutils-bootstrap
5805 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
5806 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
5807 maybe-all-stageautoprofile-binutils:
5808 maybe-clean-stageautoprofile-binutils:
5809 @if binutils-bootstrap
5810 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
5811 all-stageautoprofile: all-stageautoprofile-binutils
5812 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
5813 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
5814 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5815 @r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5818 $(HOST_EXPORTS) \
5819 $(POSTSTAGE1_HOST_EXPORTS) \
5820 cd $(HOST_SUBDIR)/binutils && \
5821 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5823 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5824 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5825 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5830 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5831 $(TARGET-stageautoprofile-binutils)
5833 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
5834 clean-stageautoprofile: clean-stageautoprofile-binutils
5835 clean-stageautoprofile-binutils:
5836 @if [ $(current_stage) = stageautoprofile ]; then \
5837 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5838 else \
5839 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
5840 $(MAKE) stageautoprofile-start; \
5841 fi; \
5842 cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5844 @endif binutils-bootstrap
5847 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
5848 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
5849 maybe-all-stageautofeedback-binutils:
5850 maybe-clean-stageautofeedback-binutils:
5851 @if binutils-bootstrap
5852 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
5853 all-stageautofeedback: all-stageautofeedback-binutils
5854 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
5855 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
5856 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5857 @r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5860 $(HOST_EXPORTS) \
5861 $(POSTSTAGE1_HOST_EXPORTS) \
5862 cd $(HOST_SUBDIR)/binutils && \
5864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5865 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5866 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5867 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5872 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5873 $(TARGET-stageautofeedback-binutils)
5875 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
5876 clean-stageautofeedback: clean-stageautofeedback-binutils
5877 clean-stageautofeedback-binutils:
5878 @if [ $(current_stage) = stageautofeedback ]; then \
5879 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5880 else \
5881 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
5882 $(MAKE) stageautofeedback-start; \
5883 fi; \
5884 cd $(HOST_SUBDIR)/binutils && \
5885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5886 @endif binutils-bootstrap
5892 .PHONY: check-binutils maybe-check-binutils
5893 maybe-check-binutils:
5894 @if binutils
5895 maybe-check-binutils: check-binutils
5897 check-binutils:
5898 @: $(MAKE); $(unstage)
5899 @r=`${PWD_COMMAND}`; export r; \
5900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5901 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5902 (cd $(HOST_SUBDIR)/binutils && \
5903 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5905 @endif binutils
5907 .PHONY: install-binutils maybe-install-binutils
5908 maybe-install-binutils:
5909 @if binutils
5910 maybe-install-binutils: install-binutils
5912 install-binutils: installdirs
5913 @: $(MAKE); $(unstage)
5914 @r=`${PWD_COMMAND}`; export r; \
5915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5916 $(HOST_EXPORTS) \
5917 (cd $(HOST_SUBDIR)/binutils && \
5918 $(MAKE) $(FLAGS_TO_PASS) install)
5920 @endif binutils
5922 .PHONY: install-strip-binutils maybe-install-strip-binutils
5923 maybe-install-strip-binutils:
5924 @if binutils
5925 maybe-install-strip-binutils: install-strip-binutils
5927 install-strip-binutils: installdirs
5928 @: $(MAKE); $(unstage)
5929 @r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5931 $(HOST_EXPORTS) \
5932 (cd $(HOST_SUBDIR)/binutils && \
5933 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5935 @endif binutils
5937 # Other targets (info, dvi, pdf, etc.)
5939 .PHONY: maybe-info-binutils info-binutils
5940 maybe-info-binutils:
5941 @if binutils
5942 maybe-info-binutils: info-binutils
5944 info-binutils: \
5945 configure-binutils
5946 @[ -f ./binutils/Makefile ] || exit 0; \
5947 r=`${PWD_COMMAND}`; export r; \
5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5949 $(HOST_EXPORTS) \
5950 for flag in $(EXTRA_HOST_FLAGS) ; do \
5951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5952 done; \
5953 echo "Doing info in binutils"; \
5954 (cd $(HOST_SUBDIR)/binutils && \
5955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5957 "RANLIB=$${RANLIB}" \
5958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5959 info) \
5960 || exit 1
5962 @endif binutils
5964 .PHONY: maybe-dvi-binutils dvi-binutils
5965 maybe-dvi-binutils:
5966 @if binutils
5967 maybe-dvi-binutils: dvi-binutils
5969 dvi-binutils: \
5970 configure-binutils
5971 @[ -f ./binutils/Makefile ] || exit 0; \
5972 r=`${PWD_COMMAND}`; export r; \
5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 $(HOST_EXPORTS) \
5975 for flag in $(EXTRA_HOST_FLAGS) ; do \
5976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5977 done; \
5978 echo "Doing dvi in binutils"; \
5979 (cd $(HOST_SUBDIR)/binutils && \
5980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5982 "RANLIB=$${RANLIB}" \
5983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5984 dvi) \
5985 || exit 1
5987 @endif binutils
5989 .PHONY: maybe-pdf-binutils pdf-binutils
5990 maybe-pdf-binutils:
5991 @if binutils
5992 maybe-pdf-binutils: pdf-binutils
5994 pdf-binutils: \
5995 configure-binutils
5996 @[ -f ./binutils/Makefile ] || exit 0; \
5997 r=`${PWD_COMMAND}`; export r; \
5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999 $(HOST_EXPORTS) \
6000 for flag in $(EXTRA_HOST_FLAGS) ; do \
6001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6002 done; \
6003 echo "Doing pdf in binutils"; \
6004 (cd $(HOST_SUBDIR)/binutils && \
6005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6007 "RANLIB=$${RANLIB}" \
6008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6009 pdf) \
6010 || exit 1
6012 @endif binutils
6014 .PHONY: maybe-html-binutils html-binutils
6015 maybe-html-binutils:
6016 @if binutils
6017 maybe-html-binutils: html-binutils
6019 html-binutils: \
6020 configure-binutils
6021 @[ -f ./binutils/Makefile ] || exit 0; \
6022 r=`${PWD_COMMAND}`; export r; \
6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 $(HOST_EXPORTS) \
6025 for flag in $(EXTRA_HOST_FLAGS) ; do \
6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6027 done; \
6028 echo "Doing html in binutils"; \
6029 (cd $(HOST_SUBDIR)/binutils && \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6034 html) \
6035 || exit 1
6037 @endif binutils
6039 .PHONY: maybe-TAGS-binutils TAGS-binutils
6040 maybe-TAGS-binutils:
6041 @if binutils
6042 maybe-TAGS-binutils: TAGS-binutils
6044 TAGS-binutils: \
6045 configure-binutils
6046 @[ -f ./binutils/Makefile ] || exit 0; \
6047 r=`${PWD_COMMAND}`; export r; \
6048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6049 $(HOST_EXPORTS) \
6050 for flag in $(EXTRA_HOST_FLAGS) ; do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6052 done; \
6053 echo "Doing TAGS in binutils"; \
6054 (cd $(HOST_SUBDIR)/binutils && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6059 TAGS) \
6060 || exit 1
6062 @endif binutils
6064 .PHONY: maybe-install-info-binutils install-info-binutils
6065 maybe-install-info-binutils:
6066 @if binutils
6067 maybe-install-info-binutils: install-info-binutils
6069 install-info-binutils: \
6070 configure-binutils \
6071 info-binutils
6072 @[ -f ./binutils/Makefile ] || exit 0; \
6073 r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 $(HOST_EXPORTS) \
6076 for flag in $(EXTRA_HOST_FLAGS) ; do \
6077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078 done; \
6079 echo "Doing install-info in binutils"; \
6080 (cd $(HOST_SUBDIR)/binutils && \
6081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6083 "RANLIB=$${RANLIB}" \
6084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6085 install-info) \
6086 || exit 1
6088 @endif binutils
6090 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6091 maybe-install-pdf-binutils:
6092 @if binutils
6093 maybe-install-pdf-binutils: install-pdf-binutils
6095 install-pdf-binutils: \
6096 configure-binutils \
6097 pdf-binutils
6098 @[ -f ./binutils/Makefile ] || exit 0; \
6099 r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 $(HOST_EXPORTS) \
6102 for flag in $(EXTRA_HOST_FLAGS) ; do \
6103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6104 done; \
6105 echo "Doing install-pdf in binutils"; \
6106 (cd $(HOST_SUBDIR)/binutils && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6109 "RANLIB=$${RANLIB}" \
6110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6111 install-pdf) \
6112 || exit 1
6114 @endif binutils
6116 .PHONY: maybe-install-html-binutils install-html-binutils
6117 maybe-install-html-binutils:
6118 @if binutils
6119 maybe-install-html-binutils: install-html-binutils
6121 install-html-binutils: \
6122 configure-binutils \
6123 html-binutils
6124 @[ -f ./binutils/Makefile ] || exit 0; \
6125 r=`${PWD_COMMAND}`; export r; \
6126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6127 $(HOST_EXPORTS) \
6128 for flag in $(EXTRA_HOST_FLAGS) ; do \
6129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6130 done; \
6131 echo "Doing install-html in binutils"; \
6132 (cd $(HOST_SUBDIR)/binutils && \
6133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6135 "RANLIB=$${RANLIB}" \
6136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6137 install-html) \
6138 || exit 1
6140 @endif binutils
6142 .PHONY: maybe-installcheck-binutils installcheck-binutils
6143 maybe-installcheck-binutils:
6144 @if binutils
6145 maybe-installcheck-binutils: installcheck-binutils
6147 installcheck-binutils: \
6148 configure-binutils
6149 @[ -f ./binutils/Makefile ] || exit 0; \
6150 r=`${PWD_COMMAND}`; export r; \
6151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6152 $(HOST_EXPORTS) \
6153 for flag in $(EXTRA_HOST_FLAGS) ; do \
6154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6155 done; \
6156 echo "Doing installcheck in binutils"; \
6157 (cd $(HOST_SUBDIR)/binutils && \
6158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6160 "RANLIB=$${RANLIB}" \
6161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6162 installcheck) \
6163 || exit 1
6165 @endif binutils
6167 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6168 maybe-mostlyclean-binutils:
6169 @if binutils
6170 maybe-mostlyclean-binutils: mostlyclean-binutils
6172 mostlyclean-binutils:
6173 @[ -f ./binutils/Makefile ] || exit 0; \
6174 r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing mostlyclean in binutils"; \
6181 (cd $(HOST_SUBDIR)/binutils && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6186 mostlyclean) \
6187 || exit 1
6189 @endif binutils
6191 .PHONY: maybe-clean-binutils clean-binutils
6192 maybe-clean-binutils:
6193 @if binutils
6194 maybe-clean-binutils: clean-binutils
6196 clean-binutils:
6197 @[ -f ./binutils/Makefile ] || exit 0; \
6198 r=`${PWD_COMMAND}`; export r; \
6199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6200 $(HOST_EXPORTS) \
6201 for flag in $(EXTRA_HOST_FLAGS) ; do \
6202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6203 done; \
6204 echo "Doing clean in binutils"; \
6205 (cd $(HOST_SUBDIR)/binutils && \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6208 "RANLIB=$${RANLIB}" \
6209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6210 clean) \
6211 || exit 1
6213 @endif binutils
6215 .PHONY: maybe-distclean-binutils distclean-binutils
6216 maybe-distclean-binutils:
6217 @if binutils
6218 maybe-distclean-binutils: distclean-binutils
6220 distclean-binutils:
6221 @[ -f ./binutils/Makefile ] || exit 0; \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6224 $(HOST_EXPORTS) \
6225 for flag in $(EXTRA_HOST_FLAGS) ; do \
6226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6227 done; \
6228 echo "Doing distclean in binutils"; \
6229 (cd $(HOST_SUBDIR)/binutils && \
6230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6232 "RANLIB=$${RANLIB}" \
6233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6234 distclean) \
6235 || exit 1
6237 @endif binutils
6239 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6240 maybe-maintainer-clean-binutils:
6241 @if binutils
6242 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6244 maintainer-clean-binutils:
6245 @[ -f ./binutils/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(HOST_EXPORTS) \
6249 for flag in $(EXTRA_HOST_FLAGS) ; do \
6250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6251 done; \
6252 echo "Doing maintainer-clean in binutils"; \
6253 (cd $(HOST_SUBDIR)/binutils && \
6254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6256 "RANLIB=$${RANLIB}" \
6257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6258 maintainer-clean) \
6259 || exit 1
6261 @endif binutils
6265 .PHONY: configure-bison maybe-configure-bison
6266 maybe-configure-bison:
6267 @if gcc-bootstrap
6268 configure-bison: stage_current
6269 @endif gcc-bootstrap
6270 @if bison
6271 maybe-configure-bison: configure-bison
6272 configure-bison:
6273 @: $(MAKE); $(unstage)
6274 @r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6278 $(HOST_EXPORTS) \
6279 echo Configuring in $(HOST_SUBDIR)/bison; \
6280 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6281 case $(srcdir) in \
6282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6283 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6285 esac; \
6286 module_srcdir=bison; \
6287 $(SHELL) \
6288 $$s/$$module_srcdir/configure \
6289 --srcdir=$${topdir}/$$module_srcdir \
6290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6291 --target=${target_alias} \
6292 || exit 1
6293 @endif bison
6299 .PHONY: all-bison maybe-all-bison
6300 maybe-all-bison:
6301 @if gcc-bootstrap
6302 all-bison: stage_current
6303 @endif gcc-bootstrap
6304 @if bison
6305 TARGET-bison=all
6306 maybe-all-bison: all-bison
6307 all-bison: configure-bison
6308 @: $(MAKE); $(unstage)
6309 @r=`${PWD_COMMAND}`; export r; \
6310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6311 $(HOST_EXPORTS) \
6312 (cd $(HOST_SUBDIR)/bison && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6314 $(TARGET-bison))
6315 @endif bison
6320 .PHONY: check-bison maybe-check-bison
6321 maybe-check-bison:
6322 @if bison
6323 maybe-check-bison: check-bison
6325 # This module is only tested in a native toolchain.
6326 check-bison:
6327 @: $(MAKE); $(unstage)
6328 @if [ '$(host)' = '$(target)' ]; then \
6329 r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 (cd $(HOST_SUBDIR)/bison && \
6333 $(MAKE) $(FLAGS_TO_PASS) check)
6336 @endif bison
6338 .PHONY: install-bison maybe-install-bison
6339 maybe-install-bison:
6340 @if bison
6341 maybe-install-bison: install-bison
6343 install-bison: installdirs
6344 @: $(MAKE); $(unstage)
6345 @r=`${PWD_COMMAND}`; export r; \
6346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 $(HOST_EXPORTS) \
6348 (cd $(HOST_SUBDIR)/bison && \
6349 $(MAKE) $(FLAGS_TO_PASS) install)
6351 @endif bison
6353 .PHONY: install-strip-bison maybe-install-strip-bison
6354 maybe-install-strip-bison:
6355 @if bison
6356 maybe-install-strip-bison: install-strip-bison
6358 install-strip-bison: installdirs
6359 @: $(MAKE); $(unstage)
6360 @r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 $(HOST_EXPORTS) \
6363 (cd $(HOST_SUBDIR)/bison && \
6364 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6366 @endif bison
6368 # Other targets (info, dvi, pdf, etc.)
6370 .PHONY: maybe-info-bison info-bison
6371 maybe-info-bison:
6372 @if bison
6373 maybe-info-bison: info-bison
6375 info-bison: \
6376 configure-bison
6377 @: $(MAKE); $(unstage)
6378 @[ -f ./bison/Makefile ] || exit 0; \
6379 r=`${PWD_COMMAND}`; export r; \
6380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6381 $(HOST_EXPORTS) \
6382 for flag in $(EXTRA_HOST_FLAGS) ; do \
6383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6384 done; \
6385 echo "Doing info in bison"; \
6386 (cd $(HOST_SUBDIR)/bison && \
6387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6389 "RANLIB=$${RANLIB}" \
6390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6391 info) \
6392 || exit 1
6394 @endif bison
6396 .PHONY: maybe-dvi-bison dvi-bison
6397 maybe-dvi-bison:
6398 @if bison
6399 maybe-dvi-bison: dvi-bison
6401 dvi-bison: \
6402 configure-bison
6403 @: $(MAKE); $(unstage)
6404 @[ -f ./bison/Makefile ] || exit 0; \
6405 r=`${PWD_COMMAND}`; export r; \
6406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6407 $(HOST_EXPORTS) \
6408 for flag in $(EXTRA_HOST_FLAGS) ; do \
6409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6410 done; \
6411 echo "Doing dvi in bison"; \
6412 (cd $(HOST_SUBDIR)/bison && \
6413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6415 "RANLIB=$${RANLIB}" \
6416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6417 dvi) \
6418 || exit 1
6420 @endif bison
6422 .PHONY: maybe-pdf-bison pdf-bison
6423 maybe-pdf-bison:
6424 @if bison
6425 maybe-pdf-bison: pdf-bison
6427 pdf-bison: \
6428 configure-bison
6429 @: $(MAKE); $(unstage)
6430 @[ -f ./bison/Makefile ] || exit 0; \
6431 r=`${PWD_COMMAND}`; export r; \
6432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6433 $(HOST_EXPORTS) \
6434 for flag in $(EXTRA_HOST_FLAGS) ; do \
6435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6436 done; \
6437 echo "Doing pdf in bison"; \
6438 (cd $(HOST_SUBDIR)/bison && \
6439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6441 "RANLIB=$${RANLIB}" \
6442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6443 pdf) \
6444 || exit 1
6446 @endif bison
6448 .PHONY: maybe-html-bison html-bison
6449 maybe-html-bison:
6450 @if bison
6451 maybe-html-bison: html-bison
6453 html-bison: \
6454 configure-bison
6455 @: $(MAKE); $(unstage)
6456 @[ -f ./bison/Makefile ] || exit 0; \
6457 r=`${PWD_COMMAND}`; export r; \
6458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6459 $(HOST_EXPORTS) \
6460 for flag in $(EXTRA_HOST_FLAGS) ; do \
6461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6462 done; \
6463 echo "Doing html in bison"; \
6464 (cd $(HOST_SUBDIR)/bison && \
6465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6467 "RANLIB=$${RANLIB}" \
6468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6469 html) \
6470 || exit 1
6472 @endif bison
6474 .PHONY: maybe-TAGS-bison TAGS-bison
6475 maybe-TAGS-bison:
6476 @if bison
6477 maybe-TAGS-bison: TAGS-bison
6479 TAGS-bison: \
6480 configure-bison
6481 @: $(MAKE); $(unstage)
6482 @[ -f ./bison/Makefile ] || exit 0; \
6483 r=`${PWD_COMMAND}`; export r; \
6484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6485 $(HOST_EXPORTS) \
6486 for flag in $(EXTRA_HOST_FLAGS) ; do \
6487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6488 done; \
6489 echo "Doing TAGS in bison"; \
6490 (cd $(HOST_SUBDIR)/bison && \
6491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6493 "RANLIB=$${RANLIB}" \
6494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6495 TAGS) \
6496 || exit 1
6498 @endif bison
6500 .PHONY: maybe-install-info-bison install-info-bison
6501 maybe-install-info-bison:
6502 @if bison
6503 maybe-install-info-bison: install-info-bison
6505 install-info-bison: \
6506 configure-bison \
6507 info-bison
6508 @: $(MAKE); $(unstage)
6509 @[ -f ./bison/Makefile ] || exit 0; \
6510 r=`${PWD_COMMAND}`; export r; \
6511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6512 $(HOST_EXPORTS) \
6513 for flag in $(EXTRA_HOST_FLAGS) ; do \
6514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6515 done; \
6516 echo "Doing install-info in bison"; \
6517 (cd $(HOST_SUBDIR)/bison && \
6518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6520 "RANLIB=$${RANLIB}" \
6521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6522 install-info) \
6523 || exit 1
6525 @endif bison
6527 .PHONY: maybe-install-pdf-bison install-pdf-bison
6528 maybe-install-pdf-bison:
6529 @if bison
6530 maybe-install-pdf-bison: install-pdf-bison
6532 install-pdf-bison: \
6533 configure-bison \
6534 pdf-bison
6535 @: $(MAKE); $(unstage)
6536 @[ -f ./bison/Makefile ] || exit 0; \
6537 r=`${PWD_COMMAND}`; export r; \
6538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6539 $(HOST_EXPORTS) \
6540 for flag in $(EXTRA_HOST_FLAGS) ; do \
6541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6542 done; \
6543 echo "Doing install-pdf in bison"; \
6544 (cd $(HOST_SUBDIR)/bison && \
6545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547 "RANLIB=$${RANLIB}" \
6548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6549 install-pdf) \
6550 || exit 1
6552 @endif bison
6554 .PHONY: maybe-install-html-bison install-html-bison
6555 maybe-install-html-bison:
6556 @if bison
6557 maybe-install-html-bison: install-html-bison
6559 install-html-bison: \
6560 configure-bison \
6561 html-bison
6562 @: $(MAKE); $(unstage)
6563 @[ -f ./bison/Makefile ] || exit 0; \
6564 r=`${PWD_COMMAND}`; export r; \
6565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 $(HOST_EXPORTS) \
6567 for flag in $(EXTRA_HOST_FLAGS) ; do \
6568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6569 done; \
6570 echo "Doing install-html in bison"; \
6571 (cd $(HOST_SUBDIR)/bison && \
6572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6574 "RANLIB=$${RANLIB}" \
6575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6576 install-html) \
6577 || exit 1
6579 @endif bison
6581 .PHONY: maybe-installcheck-bison installcheck-bison
6582 maybe-installcheck-bison:
6583 @if bison
6584 maybe-installcheck-bison: installcheck-bison
6586 installcheck-bison: \
6587 configure-bison
6588 @: $(MAKE); $(unstage)
6589 @[ -f ./bison/Makefile ] || exit 0; \
6590 r=`${PWD_COMMAND}`; export r; \
6591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6592 $(HOST_EXPORTS) \
6593 for flag in $(EXTRA_HOST_FLAGS) ; do \
6594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6595 done; \
6596 echo "Doing installcheck in bison"; \
6597 (cd $(HOST_SUBDIR)/bison && \
6598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6600 "RANLIB=$${RANLIB}" \
6601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6602 installcheck) \
6603 || exit 1
6605 @endif bison
6607 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6608 maybe-mostlyclean-bison:
6609 @if bison
6610 maybe-mostlyclean-bison: mostlyclean-bison
6612 mostlyclean-bison:
6613 @: $(MAKE); $(unstage)
6614 @[ -f ./bison/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing mostlyclean in bison"; \
6622 (cd $(HOST_SUBDIR)/bison && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6627 mostlyclean) \
6628 || exit 1
6630 @endif bison
6632 .PHONY: maybe-clean-bison clean-bison
6633 maybe-clean-bison:
6634 @if bison
6635 maybe-clean-bison: clean-bison
6637 clean-bison:
6638 @: $(MAKE); $(unstage)
6639 @[ -f ./bison/Makefile ] || exit 0; \
6640 r=`${PWD_COMMAND}`; export r; \
6641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6642 $(HOST_EXPORTS) \
6643 for flag in $(EXTRA_HOST_FLAGS) ; do \
6644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6645 done; \
6646 echo "Doing clean in bison"; \
6647 (cd $(HOST_SUBDIR)/bison && \
6648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6650 "RANLIB=$${RANLIB}" \
6651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6652 clean) \
6653 || exit 1
6655 @endif bison
6657 .PHONY: maybe-distclean-bison distclean-bison
6658 maybe-distclean-bison:
6659 @if bison
6660 maybe-distclean-bison: distclean-bison
6662 distclean-bison:
6663 @: $(MAKE); $(unstage)
6664 @[ -f ./bison/Makefile ] || exit 0; \
6665 r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(HOST_EXPORTS) \
6668 for flag in $(EXTRA_HOST_FLAGS) ; do \
6669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6670 done; \
6671 echo "Doing distclean in bison"; \
6672 (cd $(HOST_SUBDIR)/bison && \
6673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6675 "RANLIB=$${RANLIB}" \
6676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6677 distclean) \
6678 || exit 1
6680 @endif bison
6682 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6683 maybe-maintainer-clean-bison:
6684 @if bison
6685 maybe-maintainer-clean-bison: maintainer-clean-bison
6687 maintainer-clean-bison:
6688 @: $(MAKE); $(unstage)
6689 @[ -f ./bison/Makefile ] || exit 0; \
6690 r=`${PWD_COMMAND}`; export r; \
6691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6692 $(HOST_EXPORTS) \
6693 for flag in $(EXTRA_HOST_FLAGS) ; do \
6694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6695 done; \
6696 echo "Doing maintainer-clean in bison"; \
6697 (cd $(HOST_SUBDIR)/bison && \
6698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6700 "RANLIB=$${RANLIB}" \
6701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6702 maintainer-clean) \
6703 || exit 1
6705 @endif bison
6709 .PHONY: configure-cgen maybe-configure-cgen
6710 maybe-configure-cgen:
6711 @if gcc-bootstrap
6712 configure-cgen: stage_current
6713 @endif gcc-bootstrap
6714 @if cgen
6715 maybe-configure-cgen: configure-cgen
6716 configure-cgen:
6717 @: $(MAKE); $(unstage)
6718 @r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6722 $(HOST_EXPORTS) \
6723 echo Configuring in $(HOST_SUBDIR)/cgen; \
6724 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6725 case $(srcdir) in \
6726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6727 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6729 esac; \
6730 module_srcdir=cgen; \
6731 $(SHELL) \
6732 $$s/$$module_srcdir/configure \
6733 --srcdir=$${topdir}/$$module_srcdir \
6734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6735 --target=${target_alias} \
6736 || exit 1
6737 @endif cgen
6743 .PHONY: all-cgen maybe-all-cgen
6744 maybe-all-cgen:
6745 @if gcc-bootstrap
6746 all-cgen: stage_current
6747 @endif gcc-bootstrap
6748 @if cgen
6749 TARGET-cgen=all
6750 maybe-all-cgen: all-cgen
6751 all-cgen: configure-cgen
6752 @: $(MAKE); $(unstage)
6753 @r=`${PWD_COMMAND}`; export r; \
6754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 $(HOST_EXPORTS) \
6756 (cd $(HOST_SUBDIR)/cgen && \
6757 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6758 $(TARGET-cgen))
6759 @endif cgen
6764 .PHONY: check-cgen maybe-check-cgen
6765 maybe-check-cgen:
6766 @if cgen
6767 maybe-check-cgen: check-cgen
6769 check-cgen:
6770 @: $(MAKE); $(unstage)
6771 @r=`${PWD_COMMAND}`; export r; \
6772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6773 $(HOST_EXPORTS) \
6774 (cd $(HOST_SUBDIR)/cgen && \
6775 $(MAKE) $(FLAGS_TO_PASS) check)
6777 @endif cgen
6779 .PHONY: install-cgen maybe-install-cgen
6780 maybe-install-cgen:
6781 @if cgen
6782 maybe-install-cgen: install-cgen
6784 install-cgen: installdirs
6785 @: $(MAKE); $(unstage)
6786 @r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 (cd $(HOST_SUBDIR)/cgen && \
6790 $(MAKE) $(FLAGS_TO_PASS) install)
6792 @endif cgen
6794 .PHONY: install-strip-cgen maybe-install-strip-cgen
6795 maybe-install-strip-cgen:
6796 @if cgen
6797 maybe-install-strip-cgen: install-strip-cgen
6799 install-strip-cgen: installdirs
6800 @: $(MAKE); $(unstage)
6801 @r=`${PWD_COMMAND}`; export r; \
6802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6803 $(HOST_EXPORTS) \
6804 (cd $(HOST_SUBDIR)/cgen && \
6805 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6807 @endif cgen
6809 # Other targets (info, dvi, pdf, etc.)
6811 .PHONY: maybe-info-cgen info-cgen
6812 maybe-info-cgen:
6813 @if cgen
6814 maybe-info-cgen: info-cgen
6816 info-cgen: \
6817 configure-cgen
6818 @: $(MAKE); $(unstage)
6819 @[ -f ./cgen/Makefile ] || exit 0; \
6820 r=`${PWD_COMMAND}`; export r; \
6821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6822 $(HOST_EXPORTS) \
6823 for flag in $(EXTRA_HOST_FLAGS) ; do \
6824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6825 done; \
6826 echo "Doing info in cgen"; \
6827 (cd $(HOST_SUBDIR)/cgen && \
6828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6830 "RANLIB=$${RANLIB}" \
6831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6832 info) \
6833 || exit 1
6835 @endif cgen
6837 .PHONY: maybe-dvi-cgen dvi-cgen
6838 maybe-dvi-cgen:
6839 @if cgen
6840 maybe-dvi-cgen: dvi-cgen
6842 dvi-cgen: \
6843 configure-cgen
6844 @: $(MAKE); $(unstage)
6845 @[ -f ./cgen/Makefile ] || exit 0; \
6846 r=`${PWD_COMMAND}`; export r; \
6847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6848 $(HOST_EXPORTS) \
6849 for flag in $(EXTRA_HOST_FLAGS) ; do \
6850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6851 done; \
6852 echo "Doing dvi in cgen"; \
6853 (cd $(HOST_SUBDIR)/cgen && \
6854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6856 "RANLIB=$${RANLIB}" \
6857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6858 dvi) \
6859 || exit 1
6861 @endif cgen
6863 .PHONY: maybe-pdf-cgen pdf-cgen
6864 maybe-pdf-cgen:
6865 @if cgen
6866 maybe-pdf-cgen: pdf-cgen
6868 pdf-cgen: \
6869 configure-cgen
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./cgen/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing pdf in cgen"; \
6879 (cd $(HOST_SUBDIR)/cgen && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6884 pdf) \
6885 || exit 1
6887 @endif cgen
6889 .PHONY: maybe-html-cgen html-cgen
6890 maybe-html-cgen:
6891 @if cgen
6892 maybe-html-cgen: html-cgen
6894 html-cgen: \
6895 configure-cgen
6896 @: $(MAKE); $(unstage)
6897 @[ -f ./cgen/Makefile ] || exit 0; \
6898 r=`${PWD_COMMAND}`; export r; \
6899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6900 $(HOST_EXPORTS) \
6901 for flag in $(EXTRA_HOST_FLAGS) ; do \
6902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6903 done; \
6904 echo "Doing html in cgen"; \
6905 (cd $(HOST_SUBDIR)/cgen && \
6906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6908 "RANLIB=$${RANLIB}" \
6909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6910 html) \
6911 || exit 1
6913 @endif cgen
6915 .PHONY: maybe-TAGS-cgen TAGS-cgen
6916 maybe-TAGS-cgen:
6917 @if cgen
6918 maybe-TAGS-cgen: TAGS-cgen
6920 TAGS-cgen: \
6921 configure-cgen
6922 @: $(MAKE); $(unstage)
6923 @[ -f ./cgen/Makefile ] || exit 0; \
6924 r=`${PWD_COMMAND}`; export r; \
6925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6926 $(HOST_EXPORTS) \
6927 for flag in $(EXTRA_HOST_FLAGS) ; do \
6928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6929 done; \
6930 echo "Doing TAGS in cgen"; \
6931 (cd $(HOST_SUBDIR)/cgen && \
6932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6934 "RANLIB=$${RANLIB}" \
6935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6936 TAGS) \
6937 || exit 1
6939 @endif cgen
6941 .PHONY: maybe-install-info-cgen install-info-cgen
6942 maybe-install-info-cgen:
6943 @if cgen
6944 maybe-install-info-cgen: install-info-cgen
6946 install-info-cgen: \
6947 configure-cgen \
6948 info-cgen
6949 @: $(MAKE); $(unstage)
6950 @[ -f ./cgen/Makefile ] || exit 0; \
6951 r=`${PWD_COMMAND}`; export r; \
6952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6953 $(HOST_EXPORTS) \
6954 for flag in $(EXTRA_HOST_FLAGS) ; do \
6955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6956 done; \
6957 echo "Doing install-info in cgen"; \
6958 (cd $(HOST_SUBDIR)/cgen && \
6959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6961 "RANLIB=$${RANLIB}" \
6962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6963 install-info) \
6964 || exit 1
6966 @endif cgen
6968 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6969 maybe-install-pdf-cgen:
6970 @if cgen
6971 maybe-install-pdf-cgen: install-pdf-cgen
6973 install-pdf-cgen: \
6974 configure-cgen \
6975 pdf-cgen
6976 @: $(MAKE); $(unstage)
6977 @[ -f ./cgen/Makefile ] || exit 0; \
6978 r=`${PWD_COMMAND}`; export r; \
6979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6980 $(HOST_EXPORTS) \
6981 for flag in $(EXTRA_HOST_FLAGS) ; do \
6982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6983 done; \
6984 echo "Doing install-pdf in cgen"; \
6985 (cd $(HOST_SUBDIR)/cgen && \
6986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6988 "RANLIB=$${RANLIB}" \
6989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6990 install-pdf) \
6991 || exit 1
6993 @endif cgen
6995 .PHONY: maybe-install-html-cgen install-html-cgen
6996 maybe-install-html-cgen:
6997 @if cgen
6998 maybe-install-html-cgen: install-html-cgen
7000 install-html-cgen: \
7001 configure-cgen \
7002 html-cgen
7003 @: $(MAKE); $(unstage)
7004 @[ -f ./cgen/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 done; \
7011 echo "Doing install-html in cgen"; \
7012 (cd $(HOST_SUBDIR)/cgen && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7017 install-html) \
7018 || exit 1
7020 @endif cgen
7022 .PHONY: maybe-installcheck-cgen installcheck-cgen
7023 maybe-installcheck-cgen:
7024 @if cgen
7025 maybe-installcheck-cgen: installcheck-cgen
7027 installcheck-cgen: \
7028 configure-cgen
7029 @: $(MAKE); $(unstage)
7030 @[ -f ./cgen/Makefile ] || exit 0; \
7031 r=`${PWD_COMMAND}`; export r; \
7032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7033 $(HOST_EXPORTS) \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7036 done; \
7037 echo "Doing installcheck in cgen"; \
7038 (cd $(HOST_SUBDIR)/cgen && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7043 installcheck) \
7044 || exit 1
7046 @endif cgen
7048 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7049 maybe-mostlyclean-cgen:
7050 @if cgen
7051 maybe-mostlyclean-cgen: mostlyclean-cgen
7053 mostlyclean-cgen:
7054 @: $(MAKE); $(unstage)
7055 @[ -f ./cgen/Makefile ] || exit 0; \
7056 r=`${PWD_COMMAND}`; export r; \
7057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7058 $(HOST_EXPORTS) \
7059 for flag in $(EXTRA_HOST_FLAGS) ; do \
7060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7061 done; \
7062 echo "Doing mostlyclean in cgen"; \
7063 (cd $(HOST_SUBDIR)/cgen && \
7064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7066 "RANLIB=$${RANLIB}" \
7067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7068 mostlyclean) \
7069 || exit 1
7071 @endif cgen
7073 .PHONY: maybe-clean-cgen clean-cgen
7074 maybe-clean-cgen:
7075 @if cgen
7076 maybe-clean-cgen: clean-cgen
7078 clean-cgen:
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./cgen/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing clean in cgen"; \
7088 (cd $(HOST_SUBDIR)/cgen && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7093 clean) \
7094 || exit 1
7096 @endif cgen
7098 .PHONY: maybe-distclean-cgen distclean-cgen
7099 maybe-distclean-cgen:
7100 @if cgen
7101 maybe-distclean-cgen: distclean-cgen
7103 distclean-cgen:
7104 @: $(MAKE); $(unstage)
7105 @[ -f ./cgen/Makefile ] || exit 0; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(HOST_EXPORTS) \
7109 for flag in $(EXTRA_HOST_FLAGS) ; do \
7110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7111 done; \
7112 echo "Doing distclean in cgen"; \
7113 (cd $(HOST_SUBDIR)/cgen && \
7114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7116 "RANLIB=$${RANLIB}" \
7117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7118 distclean) \
7119 || exit 1
7121 @endif cgen
7123 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7124 maybe-maintainer-clean-cgen:
7125 @if cgen
7126 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7128 maintainer-clean-cgen:
7129 @: $(MAKE); $(unstage)
7130 @[ -f ./cgen/Makefile ] || exit 0; \
7131 r=`${PWD_COMMAND}`; export r; \
7132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7133 $(HOST_EXPORTS) \
7134 for flag in $(EXTRA_HOST_FLAGS) ; do \
7135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7136 done; \
7137 echo "Doing maintainer-clean in cgen"; \
7138 (cd $(HOST_SUBDIR)/cgen && \
7139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7141 "RANLIB=$${RANLIB}" \
7142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7143 maintainer-clean) \
7144 || exit 1
7146 @endif cgen
7150 .PHONY: configure-dejagnu maybe-configure-dejagnu
7151 maybe-configure-dejagnu:
7152 @if gcc-bootstrap
7153 configure-dejagnu: stage_current
7154 @endif gcc-bootstrap
7155 @if dejagnu
7156 maybe-configure-dejagnu: configure-dejagnu
7157 configure-dejagnu:
7158 @: $(MAKE); $(unstage)
7159 @r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7163 $(HOST_EXPORTS) \
7164 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7165 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7166 case $(srcdir) in \
7167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7168 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7170 esac; \
7171 module_srcdir=dejagnu; \
7172 $(SHELL) \
7173 $$s/$$module_srcdir/configure \
7174 --srcdir=$${topdir}/$$module_srcdir \
7175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7176 --target=${target_alias} \
7177 || exit 1
7178 @endif dejagnu
7184 .PHONY: all-dejagnu maybe-all-dejagnu
7185 maybe-all-dejagnu:
7186 @if gcc-bootstrap
7187 all-dejagnu: stage_current
7188 @endif gcc-bootstrap
7189 @if dejagnu
7190 TARGET-dejagnu=all
7191 maybe-all-dejagnu: all-dejagnu
7192 all-dejagnu: configure-dejagnu
7193 @: $(MAKE); $(unstage)
7194 @r=`${PWD_COMMAND}`; export r; \
7195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7196 $(HOST_EXPORTS) \
7197 (cd $(HOST_SUBDIR)/dejagnu && \
7198 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7199 $(TARGET-dejagnu))
7200 @endif dejagnu
7205 .PHONY: check-dejagnu maybe-check-dejagnu
7206 maybe-check-dejagnu:
7207 @if dejagnu
7208 maybe-check-dejagnu: check-dejagnu
7210 check-dejagnu:
7211 @: $(MAKE); $(unstage)
7212 @r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214 $(HOST_EXPORTS) \
7215 (cd $(HOST_SUBDIR)/dejagnu && \
7216 $(MAKE) $(FLAGS_TO_PASS) check)
7218 @endif dejagnu
7220 .PHONY: install-dejagnu maybe-install-dejagnu
7221 maybe-install-dejagnu:
7222 @if dejagnu
7223 maybe-install-dejagnu: install-dejagnu
7225 install-dejagnu: installdirs
7226 @: $(MAKE); $(unstage)
7227 @r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(HOST_EXPORTS) \
7230 (cd $(HOST_SUBDIR)/dejagnu && \
7231 $(MAKE) $(FLAGS_TO_PASS) install)
7233 @endif dejagnu
7235 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7236 maybe-install-strip-dejagnu:
7237 @if dejagnu
7238 maybe-install-strip-dejagnu: install-strip-dejagnu
7240 install-strip-dejagnu: installdirs
7241 @: $(MAKE); $(unstage)
7242 @r=`${PWD_COMMAND}`; export r; \
7243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7244 $(HOST_EXPORTS) \
7245 (cd $(HOST_SUBDIR)/dejagnu && \
7246 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7248 @endif dejagnu
7250 # Other targets (info, dvi, pdf, etc.)
7252 .PHONY: maybe-info-dejagnu info-dejagnu
7253 maybe-info-dejagnu:
7254 @if dejagnu
7255 maybe-info-dejagnu: info-dejagnu
7257 info-dejagnu: \
7258 configure-dejagnu
7259 @: $(MAKE); $(unstage)
7260 @[ -f ./dejagnu/Makefile ] || exit 0; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 for flag in $(EXTRA_HOST_FLAGS) ; do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing info in dejagnu"; \
7268 (cd $(HOST_SUBDIR)/dejagnu && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7273 info) \
7274 || exit 1
7276 @endif dejagnu
7278 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7279 maybe-dvi-dejagnu:
7280 @if dejagnu
7281 maybe-dvi-dejagnu: dvi-dejagnu
7283 dvi-dejagnu: \
7284 configure-dejagnu
7285 @: $(MAKE); $(unstage)
7286 @[ -f ./dejagnu/Makefile ] || exit 0; \
7287 r=`${PWD_COMMAND}`; export r; \
7288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7289 $(HOST_EXPORTS) \
7290 for flag in $(EXTRA_HOST_FLAGS) ; do \
7291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7292 done; \
7293 echo "Doing dvi in dejagnu"; \
7294 (cd $(HOST_SUBDIR)/dejagnu && \
7295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7297 "RANLIB=$${RANLIB}" \
7298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7299 dvi) \
7300 || exit 1
7302 @endif dejagnu
7304 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7305 maybe-pdf-dejagnu:
7306 @if dejagnu
7307 maybe-pdf-dejagnu: pdf-dejagnu
7309 pdf-dejagnu: \
7310 configure-dejagnu
7311 @: $(MAKE); $(unstage)
7312 @[ -f ./dejagnu/Makefile ] || exit 0; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(HOST_EXPORTS) \
7316 for flag in $(EXTRA_HOST_FLAGS) ; do \
7317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7318 done; \
7319 echo "Doing pdf in dejagnu"; \
7320 (cd $(HOST_SUBDIR)/dejagnu && \
7321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7323 "RANLIB=$${RANLIB}" \
7324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7325 pdf) \
7326 || exit 1
7328 @endif dejagnu
7330 .PHONY: maybe-html-dejagnu html-dejagnu
7331 maybe-html-dejagnu:
7332 @if dejagnu
7333 maybe-html-dejagnu: html-dejagnu
7335 html-dejagnu: \
7336 configure-dejagnu
7337 @: $(MAKE); $(unstage)
7338 @[ -f ./dejagnu/Makefile ] || exit 0; \
7339 r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7341 $(HOST_EXPORTS) \
7342 for flag in $(EXTRA_HOST_FLAGS) ; do \
7343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7344 done; \
7345 echo "Doing html in dejagnu"; \
7346 (cd $(HOST_SUBDIR)/dejagnu && \
7347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7349 "RANLIB=$${RANLIB}" \
7350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7351 html) \
7352 || exit 1
7354 @endif dejagnu
7356 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7357 maybe-TAGS-dejagnu:
7358 @if dejagnu
7359 maybe-TAGS-dejagnu: TAGS-dejagnu
7361 TAGS-dejagnu: \
7362 configure-dejagnu
7363 @: $(MAKE); $(unstage)
7364 @[ -f ./dejagnu/Makefile ] || exit 0; \
7365 r=`${PWD_COMMAND}`; export r; \
7366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7367 $(HOST_EXPORTS) \
7368 for flag in $(EXTRA_HOST_FLAGS) ; do \
7369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7370 done; \
7371 echo "Doing TAGS in dejagnu"; \
7372 (cd $(HOST_SUBDIR)/dejagnu && \
7373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7375 "RANLIB=$${RANLIB}" \
7376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7377 TAGS) \
7378 || exit 1
7380 @endif dejagnu
7382 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7383 maybe-install-info-dejagnu:
7384 @if dejagnu
7385 maybe-install-info-dejagnu: install-info-dejagnu
7387 install-info-dejagnu: \
7388 configure-dejagnu \
7389 info-dejagnu
7390 @: $(MAKE); $(unstage)
7391 @[ -f ./dejagnu/Makefile ] || exit 0; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 for flag in $(EXTRA_HOST_FLAGS) ; do \
7396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7397 done; \
7398 echo "Doing install-info in dejagnu"; \
7399 (cd $(HOST_SUBDIR)/dejagnu && \
7400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7402 "RANLIB=$${RANLIB}" \
7403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7404 install-info) \
7405 || exit 1
7407 @endif dejagnu
7409 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7410 maybe-install-pdf-dejagnu:
7411 @if dejagnu
7412 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7414 install-pdf-dejagnu: \
7415 configure-dejagnu \
7416 pdf-dejagnu
7417 @: $(MAKE); $(unstage)
7418 @[ -f ./dejagnu/Makefile ] || exit 0; \
7419 r=`${PWD_COMMAND}`; export r; \
7420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7421 $(HOST_EXPORTS) \
7422 for flag in $(EXTRA_HOST_FLAGS) ; do \
7423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7424 done; \
7425 echo "Doing install-pdf in dejagnu"; \
7426 (cd $(HOST_SUBDIR)/dejagnu && \
7427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7429 "RANLIB=$${RANLIB}" \
7430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7431 install-pdf) \
7432 || exit 1
7434 @endif dejagnu
7436 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7437 maybe-install-html-dejagnu:
7438 @if dejagnu
7439 maybe-install-html-dejagnu: install-html-dejagnu
7441 install-html-dejagnu: \
7442 configure-dejagnu \
7443 html-dejagnu
7444 @: $(MAKE); $(unstage)
7445 @[ -f ./dejagnu/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 for flag in $(EXTRA_HOST_FLAGS) ; do \
7450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7451 done; \
7452 echo "Doing install-html in dejagnu"; \
7453 (cd $(HOST_SUBDIR)/dejagnu && \
7454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456 "RANLIB=$${RANLIB}" \
7457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7458 install-html) \
7459 || exit 1
7461 @endif dejagnu
7463 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7464 maybe-installcheck-dejagnu:
7465 @if dejagnu
7466 maybe-installcheck-dejagnu: installcheck-dejagnu
7468 installcheck-dejagnu: \
7469 configure-dejagnu
7470 @: $(MAKE); $(unstage)
7471 @[ -f ./dejagnu/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 for flag in $(EXTRA_HOST_FLAGS) ; do \
7476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7477 done; \
7478 echo "Doing installcheck in dejagnu"; \
7479 (cd $(HOST_SUBDIR)/dejagnu && \
7480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482 "RANLIB=$${RANLIB}" \
7483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7484 installcheck) \
7485 || exit 1
7487 @endif dejagnu
7489 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7490 maybe-mostlyclean-dejagnu:
7491 @if dejagnu
7492 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7494 mostlyclean-dejagnu:
7495 @: $(MAKE); $(unstage)
7496 @[ -f ./dejagnu/Makefile ] || exit 0; \
7497 r=`${PWD_COMMAND}`; export r; \
7498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499 $(HOST_EXPORTS) \
7500 for flag in $(EXTRA_HOST_FLAGS) ; do \
7501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7502 done; \
7503 echo "Doing mostlyclean in dejagnu"; \
7504 (cd $(HOST_SUBDIR)/dejagnu && \
7505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7507 "RANLIB=$${RANLIB}" \
7508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7509 mostlyclean) \
7510 || exit 1
7512 @endif dejagnu
7514 .PHONY: maybe-clean-dejagnu clean-dejagnu
7515 maybe-clean-dejagnu:
7516 @if dejagnu
7517 maybe-clean-dejagnu: clean-dejagnu
7519 clean-dejagnu:
7520 @: $(MAKE); $(unstage)
7521 @[ -f ./dejagnu/Makefile ] || exit 0; \
7522 r=`${PWD_COMMAND}`; export r; \
7523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7524 $(HOST_EXPORTS) \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527 done; \
7528 echo "Doing clean in dejagnu"; \
7529 (cd $(HOST_SUBDIR)/dejagnu && \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7534 clean) \
7535 || exit 1
7537 @endif dejagnu
7539 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7540 maybe-distclean-dejagnu:
7541 @if dejagnu
7542 maybe-distclean-dejagnu: distclean-dejagnu
7544 distclean-dejagnu:
7545 @: $(MAKE); $(unstage)
7546 @[ -f ./dejagnu/Makefile ] || exit 0; \
7547 r=`${PWD_COMMAND}`; export r; \
7548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7549 $(HOST_EXPORTS) \
7550 for flag in $(EXTRA_HOST_FLAGS) ; do \
7551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7552 done; \
7553 echo "Doing distclean in dejagnu"; \
7554 (cd $(HOST_SUBDIR)/dejagnu && \
7555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7557 "RANLIB=$${RANLIB}" \
7558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7559 distclean) \
7560 || exit 1
7562 @endif dejagnu
7564 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7565 maybe-maintainer-clean-dejagnu:
7566 @if dejagnu
7567 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7569 maintainer-clean-dejagnu:
7570 @: $(MAKE); $(unstage)
7571 @[ -f ./dejagnu/Makefile ] || exit 0; \
7572 r=`${PWD_COMMAND}`; export r; \
7573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7574 $(HOST_EXPORTS) \
7575 for flag in $(EXTRA_HOST_FLAGS) ; do \
7576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7577 done; \
7578 echo "Doing maintainer-clean in dejagnu"; \
7579 (cd $(HOST_SUBDIR)/dejagnu && \
7580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7582 "RANLIB=$${RANLIB}" \
7583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7584 maintainer-clean) \
7585 || exit 1
7587 @endif dejagnu
7591 .PHONY: configure-etc maybe-configure-etc
7592 maybe-configure-etc:
7593 @if gcc-bootstrap
7594 configure-etc: stage_current
7595 @endif gcc-bootstrap
7596 @if etc
7597 maybe-configure-etc: configure-etc
7598 configure-etc:
7599 @: $(MAKE); $(unstage)
7600 @r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7604 $(HOST_EXPORTS) \
7605 echo Configuring in $(HOST_SUBDIR)/etc; \
7606 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7607 case $(srcdir) in \
7608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7609 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7611 esac; \
7612 module_srcdir=etc; \
7613 $(SHELL) \
7614 $$s/$$module_srcdir/configure \
7615 --srcdir=$${topdir}/$$module_srcdir \
7616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7617 --target=${target_alias} \
7618 || exit 1
7619 @endif etc
7625 .PHONY: all-etc maybe-all-etc
7626 maybe-all-etc:
7627 @if gcc-bootstrap
7628 all-etc: stage_current
7629 @endif gcc-bootstrap
7630 @if etc
7631 TARGET-etc=all
7632 maybe-all-etc: all-etc
7633 all-etc: configure-etc
7634 @: $(MAKE); $(unstage)
7635 @r=`${PWD_COMMAND}`; export r; \
7636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637 $(HOST_EXPORTS) \
7638 (cd $(HOST_SUBDIR)/etc && \
7639 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7640 $(TARGET-etc))
7641 @endif etc
7646 .PHONY: check-etc maybe-check-etc
7647 maybe-check-etc:
7648 @if etc
7649 maybe-check-etc: check-etc
7651 check-etc:
7652 @: $(MAKE); $(unstage)
7653 @r=`${PWD_COMMAND}`; export r; \
7654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7655 $(HOST_EXPORTS) \
7656 (cd $(HOST_SUBDIR)/etc && \
7657 $(MAKE) $(FLAGS_TO_PASS) check)
7659 @endif etc
7661 .PHONY: install-etc maybe-install-etc
7662 maybe-install-etc:
7663 @if etc
7664 maybe-install-etc: install-etc
7666 install-etc: installdirs
7667 @: $(MAKE); $(unstage)
7668 @r=`${PWD_COMMAND}`; export r; \
7669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7670 $(HOST_EXPORTS) \
7671 (cd $(HOST_SUBDIR)/etc && \
7672 $(MAKE) $(FLAGS_TO_PASS) install)
7674 @endif etc
7676 .PHONY: install-strip-etc maybe-install-strip-etc
7677 maybe-install-strip-etc:
7678 @if etc
7679 maybe-install-strip-etc: install-strip-etc
7681 install-strip-etc: installdirs
7682 @: $(MAKE); $(unstage)
7683 @r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 (cd $(HOST_SUBDIR)/etc && \
7687 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7689 @endif etc
7691 # Other targets (info, dvi, pdf, etc.)
7693 .PHONY: maybe-info-etc info-etc
7694 maybe-info-etc:
7695 @if etc
7696 maybe-info-etc: info-etc
7698 info-etc: \
7699 configure-etc
7700 @: $(MAKE); $(unstage)
7701 @[ -f ./etc/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing info in etc"; \
7709 (cd $(HOST_SUBDIR)/etc && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7714 info) \
7715 || exit 1
7717 @endif etc
7719 .PHONY: maybe-dvi-etc dvi-etc
7720 maybe-dvi-etc:
7721 @if etc
7722 maybe-dvi-etc: dvi-etc
7724 dvi-etc: \
7725 configure-etc
7726 @: $(MAKE); $(unstage)
7727 @[ -f ./etc/Makefile ] || exit 0; \
7728 r=`${PWD_COMMAND}`; export r; \
7729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 $(HOST_EXPORTS) \
7731 for flag in $(EXTRA_HOST_FLAGS) ; do \
7732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7733 done; \
7734 echo "Doing dvi in etc"; \
7735 (cd $(HOST_SUBDIR)/etc && \
7736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7738 "RANLIB=$${RANLIB}" \
7739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7740 dvi) \
7741 || exit 1
7743 @endif etc
7745 .PHONY: maybe-pdf-etc pdf-etc
7746 maybe-pdf-etc:
7747 @if etc
7748 maybe-pdf-etc: pdf-etc
7750 pdf-etc: \
7751 configure-etc
7752 @: $(MAKE); $(unstage)
7753 @[ -f ./etc/Makefile ] || exit 0; \
7754 r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 $(HOST_EXPORTS) \
7757 for flag in $(EXTRA_HOST_FLAGS) ; do \
7758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759 done; \
7760 echo "Doing pdf in etc"; \
7761 (cd $(HOST_SUBDIR)/etc && \
7762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764 "RANLIB=$${RANLIB}" \
7765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7766 pdf) \
7767 || exit 1
7769 @endif etc
7771 .PHONY: maybe-html-etc html-etc
7772 maybe-html-etc:
7773 @if etc
7774 maybe-html-etc: html-etc
7776 html-etc: \
7777 configure-etc
7778 @: $(MAKE); $(unstage)
7779 @[ -f ./etc/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 for flag in $(EXTRA_HOST_FLAGS) ; do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 done; \
7786 echo "Doing html in etc"; \
7787 (cd $(HOST_SUBDIR)/etc && \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7792 html) \
7793 || exit 1
7795 @endif etc
7797 .PHONY: maybe-TAGS-etc TAGS-etc
7798 maybe-TAGS-etc:
7799 @if etc
7800 maybe-TAGS-etc: TAGS-etc
7802 TAGS-etc: \
7803 configure-etc
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./etc/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing TAGS in etc"; \
7813 (cd $(HOST_SUBDIR)/etc && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7818 TAGS) \
7819 || exit 1
7821 @endif etc
7823 .PHONY: maybe-install-info-etc install-info-etc
7824 maybe-install-info-etc:
7825 @if etc
7826 maybe-install-info-etc: install-info-etc
7828 install-info-etc: \
7829 configure-etc \
7830 info-etc
7831 @: $(MAKE); $(unstage)
7832 @[ -f ./etc/Makefile ] || exit 0; \
7833 r=`${PWD_COMMAND}`; export r; \
7834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835 $(HOST_EXPORTS) \
7836 for flag in $(EXTRA_HOST_FLAGS) ; do \
7837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7838 done; \
7839 echo "Doing install-info in etc"; \
7840 (cd $(HOST_SUBDIR)/etc && \
7841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7843 "RANLIB=$${RANLIB}" \
7844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7845 install-info) \
7846 || exit 1
7848 @endif etc
7850 .PHONY: maybe-install-pdf-etc install-pdf-etc
7851 maybe-install-pdf-etc:
7852 @if etc
7853 maybe-install-pdf-etc: install-pdf-etc
7855 install-pdf-etc: \
7856 configure-etc \
7857 pdf-etc
7858 @: $(MAKE); $(unstage)
7859 @[ -f ./etc/Makefile ] || exit 0; \
7860 r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7862 $(HOST_EXPORTS) \
7863 for flag in $(EXTRA_HOST_FLAGS) ; do \
7864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7865 done; \
7866 echo "Doing install-pdf in etc"; \
7867 (cd $(HOST_SUBDIR)/etc && \
7868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7870 "RANLIB=$${RANLIB}" \
7871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7872 install-pdf) \
7873 || exit 1
7875 @endif etc
7877 .PHONY: maybe-install-html-etc install-html-etc
7878 maybe-install-html-etc:
7879 @if etc
7880 maybe-install-html-etc: install-html-etc
7882 install-html-etc: \
7883 configure-etc \
7884 html-etc
7885 @: $(MAKE); $(unstage)
7886 @[ -f ./etc/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing install-html in etc"; \
7894 (cd $(HOST_SUBDIR)/etc && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7899 install-html) \
7900 || exit 1
7902 @endif etc
7904 .PHONY: maybe-installcheck-etc installcheck-etc
7905 maybe-installcheck-etc:
7906 @if etc
7907 maybe-installcheck-etc: installcheck-etc
7909 installcheck-etc: \
7910 configure-etc
7911 @: $(MAKE); $(unstage)
7912 @[ -f ./etc/Makefile ] || exit 0; \
7913 r=`${PWD_COMMAND}`; export r; \
7914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 $(HOST_EXPORTS) \
7916 for flag in $(EXTRA_HOST_FLAGS) ; do \
7917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918 done; \
7919 echo "Doing installcheck in etc"; \
7920 (cd $(HOST_SUBDIR)/etc && \
7921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923 "RANLIB=$${RANLIB}" \
7924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7925 installcheck) \
7926 || exit 1
7928 @endif etc
7930 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7931 maybe-mostlyclean-etc:
7932 @if etc
7933 maybe-mostlyclean-etc: mostlyclean-etc
7935 mostlyclean-etc:
7936 @: $(MAKE); $(unstage)
7937 @[ -f ./etc/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 done; \
7944 echo "Doing mostlyclean in etc"; \
7945 (cd $(HOST_SUBDIR)/etc && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7950 mostlyclean) \
7951 || exit 1
7953 @endif etc
7955 .PHONY: maybe-clean-etc clean-etc
7956 maybe-clean-etc:
7957 @if etc
7958 maybe-clean-etc: clean-etc
7960 clean-etc:
7961 @: $(MAKE); $(unstage)
7962 @[ -f ./etc/Makefile ] || exit 0; \
7963 r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7965 $(HOST_EXPORTS) \
7966 for flag in $(EXTRA_HOST_FLAGS) ; do \
7967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7968 done; \
7969 echo "Doing clean in etc"; \
7970 (cd $(HOST_SUBDIR)/etc && \
7971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7973 "RANLIB=$${RANLIB}" \
7974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7975 clean) \
7976 || exit 1
7978 @endif etc
7980 .PHONY: maybe-distclean-etc distclean-etc
7981 maybe-distclean-etc:
7982 @if etc
7983 maybe-distclean-etc: distclean-etc
7985 distclean-etc:
7986 @: $(MAKE); $(unstage)
7987 @[ -f ./etc/Makefile ] || exit 0; \
7988 r=`${PWD_COMMAND}`; export r; \
7989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7990 $(HOST_EXPORTS) \
7991 for flag in $(EXTRA_HOST_FLAGS) ; do \
7992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7993 done; \
7994 echo "Doing distclean in etc"; \
7995 (cd $(HOST_SUBDIR)/etc && \
7996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7998 "RANLIB=$${RANLIB}" \
7999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8000 distclean) \
8001 || exit 1
8003 @endif etc
8005 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8006 maybe-maintainer-clean-etc:
8007 @if etc
8008 maybe-maintainer-clean-etc: maintainer-clean-etc
8010 maintainer-clean-etc:
8011 @: $(MAKE); $(unstage)
8012 @[ -f ./etc/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(HOST_EXPORTS) \
8016 for flag in $(EXTRA_HOST_FLAGS) ; do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 echo "Doing maintainer-clean in etc"; \
8020 (cd $(HOST_SUBDIR)/etc && \
8021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8023 "RANLIB=$${RANLIB}" \
8024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8025 maintainer-clean) \
8026 || exit 1
8028 @endif etc
8032 .PHONY: configure-fastjar maybe-configure-fastjar
8033 maybe-configure-fastjar:
8034 @if gcc-bootstrap
8035 configure-fastjar: stage_current
8036 @endif gcc-bootstrap
8037 @if fastjar
8038 maybe-configure-fastjar: configure-fastjar
8039 configure-fastjar:
8040 @: $(MAKE); $(unstage)
8041 @r=`${PWD_COMMAND}`; export r; \
8042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8043 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8045 $(HOST_EXPORTS) \
8046 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8047 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8048 case $(srcdir) in \
8049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8050 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8052 esac; \
8053 module_srcdir=fastjar; \
8054 $(SHELL) \
8055 $$s/$$module_srcdir/configure \
8056 --srcdir=$${topdir}/$$module_srcdir \
8057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8058 --target=${target_alias} \
8059 || exit 1
8060 @endif fastjar
8066 .PHONY: all-fastjar maybe-all-fastjar
8067 maybe-all-fastjar:
8068 @if gcc-bootstrap
8069 all-fastjar: stage_current
8070 @endif gcc-bootstrap
8071 @if fastjar
8072 TARGET-fastjar=all
8073 maybe-all-fastjar: all-fastjar
8074 all-fastjar: configure-fastjar
8075 @: $(MAKE); $(unstage)
8076 @r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8078 $(HOST_EXPORTS) \
8079 (cd $(HOST_SUBDIR)/fastjar && \
8080 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8081 $(TARGET-fastjar))
8082 @endif fastjar
8087 .PHONY: check-fastjar maybe-check-fastjar
8088 maybe-check-fastjar:
8089 @if fastjar
8090 maybe-check-fastjar: check-fastjar
8092 # This module is only tested in a native toolchain.
8093 check-fastjar:
8094 @: $(MAKE); $(unstage)
8095 @if [ '$(host)' = '$(target)' ]; then \
8096 r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(HOST_EXPORTS) \
8099 (cd $(HOST_SUBDIR)/fastjar && \
8100 $(MAKE) $(FLAGS_TO_PASS) check)
8103 @endif fastjar
8105 .PHONY: install-fastjar maybe-install-fastjar
8106 maybe-install-fastjar:
8107 @if fastjar
8108 maybe-install-fastjar: install-fastjar
8110 install-fastjar: installdirs
8111 @: $(MAKE); $(unstage)
8112 @r=`${PWD_COMMAND}`; export r; \
8113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 $(HOST_EXPORTS) \
8115 (cd $(HOST_SUBDIR)/fastjar && \
8116 $(MAKE) $(FLAGS_TO_PASS) install)
8118 @endif fastjar
8120 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8121 maybe-install-strip-fastjar:
8122 @if fastjar
8123 maybe-install-strip-fastjar: install-strip-fastjar
8125 install-strip-fastjar: installdirs
8126 @: $(MAKE); $(unstage)
8127 @r=`${PWD_COMMAND}`; export r; \
8128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 $(HOST_EXPORTS) \
8130 (cd $(HOST_SUBDIR)/fastjar && \
8131 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8133 @endif fastjar
8135 # Other targets (info, dvi, pdf, etc.)
8137 .PHONY: maybe-info-fastjar info-fastjar
8138 maybe-info-fastjar:
8139 @if fastjar
8140 maybe-info-fastjar: info-fastjar
8142 info-fastjar: \
8143 configure-fastjar
8144 @: $(MAKE); $(unstage)
8145 @[ -f ./fastjar/Makefile ] || exit 0; \
8146 r=`${PWD_COMMAND}`; export r; \
8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing info in fastjar"; \
8153 (cd $(HOST_SUBDIR)/fastjar && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8158 info) \
8159 || exit 1
8161 @endif fastjar
8163 .PHONY: maybe-dvi-fastjar dvi-fastjar
8164 maybe-dvi-fastjar:
8165 @if fastjar
8166 maybe-dvi-fastjar: dvi-fastjar
8168 dvi-fastjar: \
8169 configure-fastjar
8170 @: $(MAKE); $(unstage)
8171 @[ -f ./fastjar/Makefile ] || exit 0; \
8172 r=`${PWD_COMMAND}`; export r; \
8173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8174 $(HOST_EXPORTS) \
8175 for flag in $(EXTRA_HOST_FLAGS) ; do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177 done; \
8178 echo "Doing dvi in fastjar"; \
8179 (cd $(HOST_SUBDIR)/fastjar && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8184 dvi) \
8185 || exit 1
8187 @endif fastjar
8189 .PHONY: maybe-pdf-fastjar pdf-fastjar
8190 maybe-pdf-fastjar:
8191 @if fastjar
8192 maybe-pdf-fastjar: pdf-fastjar
8194 pdf-fastjar: \
8195 configure-fastjar
8196 @: $(MAKE); $(unstage)
8197 @[ -f ./fastjar/Makefile ] || exit 0; \
8198 r=`${PWD_COMMAND}`; export r; \
8199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8200 $(HOST_EXPORTS) \
8201 for flag in $(EXTRA_HOST_FLAGS) ; do \
8202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8203 done; \
8204 echo "Doing pdf in fastjar"; \
8205 (cd $(HOST_SUBDIR)/fastjar && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8210 pdf) \
8211 || exit 1
8213 @endif fastjar
8215 .PHONY: maybe-html-fastjar html-fastjar
8216 maybe-html-fastjar:
8217 @if fastjar
8218 maybe-html-fastjar: html-fastjar
8220 html-fastjar: \
8221 configure-fastjar
8222 @: $(MAKE); $(unstage)
8223 @[ -f ./fastjar/Makefile ] || exit 0; \
8224 r=`${PWD_COMMAND}`; export r; \
8225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8226 $(HOST_EXPORTS) \
8227 for flag in $(EXTRA_HOST_FLAGS) ; do \
8228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8229 done; \
8230 echo "Doing html in fastjar"; \
8231 (cd $(HOST_SUBDIR)/fastjar && \
8232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8234 "RANLIB=$${RANLIB}" \
8235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8236 html) \
8237 || exit 1
8239 @endif fastjar
8241 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8242 maybe-TAGS-fastjar:
8243 @if fastjar
8244 maybe-TAGS-fastjar: TAGS-fastjar
8246 TAGS-fastjar: \
8247 configure-fastjar
8248 @: $(MAKE); $(unstage)
8249 @[ -f ./fastjar/Makefile ] || exit 0; \
8250 r=`${PWD_COMMAND}`; export r; \
8251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8252 $(HOST_EXPORTS) \
8253 for flag in $(EXTRA_HOST_FLAGS) ; do \
8254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8255 done; \
8256 echo "Doing TAGS in fastjar"; \
8257 (cd $(HOST_SUBDIR)/fastjar && \
8258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8260 "RANLIB=$${RANLIB}" \
8261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8262 TAGS) \
8263 || exit 1
8265 @endif fastjar
8267 .PHONY: maybe-install-info-fastjar install-info-fastjar
8268 maybe-install-info-fastjar:
8269 @if fastjar
8270 maybe-install-info-fastjar: install-info-fastjar
8272 install-info-fastjar: \
8273 configure-fastjar \
8274 info-fastjar
8275 @: $(MAKE); $(unstage)
8276 @[ -f ./fastjar/Makefile ] || exit 0; \
8277 r=`${PWD_COMMAND}`; export r; \
8278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279 $(HOST_EXPORTS) \
8280 for flag in $(EXTRA_HOST_FLAGS) ; do \
8281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8282 done; \
8283 echo "Doing install-info in fastjar"; \
8284 (cd $(HOST_SUBDIR)/fastjar && \
8285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8287 "RANLIB=$${RANLIB}" \
8288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8289 install-info) \
8290 || exit 1
8292 @endif fastjar
8294 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8295 maybe-install-pdf-fastjar:
8296 @if fastjar
8297 maybe-install-pdf-fastjar: install-pdf-fastjar
8299 install-pdf-fastjar: \
8300 configure-fastjar \
8301 pdf-fastjar
8302 @: $(MAKE); $(unstage)
8303 @[ -f ./fastjar/Makefile ] || exit 0; \
8304 r=`${PWD_COMMAND}`; export r; \
8305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8306 $(HOST_EXPORTS) \
8307 for flag in $(EXTRA_HOST_FLAGS) ; do \
8308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8309 done; \
8310 echo "Doing install-pdf in fastjar"; \
8311 (cd $(HOST_SUBDIR)/fastjar && \
8312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8314 "RANLIB=$${RANLIB}" \
8315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8316 install-pdf) \
8317 || exit 1
8319 @endif fastjar
8321 .PHONY: maybe-install-html-fastjar install-html-fastjar
8322 maybe-install-html-fastjar:
8323 @if fastjar
8324 maybe-install-html-fastjar: install-html-fastjar
8326 install-html-fastjar: \
8327 configure-fastjar \
8328 html-fastjar
8329 @: $(MAKE); $(unstage)
8330 @[ -f ./fastjar/Makefile ] || exit 0; \
8331 r=`${PWD_COMMAND}`; export r; \
8332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8333 $(HOST_EXPORTS) \
8334 for flag in $(EXTRA_HOST_FLAGS) ; do \
8335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8336 done; \
8337 echo "Doing install-html in fastjar"; \
8338 (cd $(HOST_SUBDIR)/fastjar && \
8339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8341 "RANLIB=$${RANLIB}" \
8342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8343 install-html) \
8344 || exit 1
8346 @endif fastjar
8348 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8349 maybe-installcheck-fastjar:
8350 @if fastjar
8351 maybe-installcheck-fastjar: installcheck-fastjar
8353 installcheck-fastjar: \
8354 configure-fastjar
8355 @: $(MAKE); $(unstage)
8356 @[ -f ./fastjar/Makefile ] || exit 0; \
8357 r=`${PWD_COMMAND}`; export r; \
8358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8359 $(HOST_EXPORTS) \
8360 for flag in $(EXTRA_HOST_FLAGS) ; do \
8361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8362 done; \
8363 echo "Doing installcheck in fastjar"; \
8364 (cd $(HOST_SUBDIR)/fastjar && \
8365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8367 "RANLIB=$${RANLIB}" \
8368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8369 installcheck) \
8370 || exit 1
8372 @endif fastjar
8374 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8375 maybe-mostlyclean-fastjar:
8376 @if fastjar
8377 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8379 mostlyclean-fastjar:
8380 @: $(MAKE); $(unstage)
8381 @[ -f ./fastjar/Makefile ] || exit 0; \
8382 r=`${PWD_COMMAND}`; export r; \
8383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8384 $(HOST_EXPORTS) \
8385 for flag in $(EXTRA_HOST_FLAGS) ; do \
8386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8387 done; \
8388 echo "Doing mostlyclean in fastjar"; \
8389 (cd $(HOST_SUBDIR)/fastjar && \
8390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8392 "RANLIB=$${RANLIB}" \
8393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8394 mostlyclean) \
8395 || exit 1
8397 @endif fastjar
8399 .PHONY: maybe-clean-fastjar clean-fastjar
8400 maybe-clean-fastjar:
8401 @if fastjar
8402 maybe-clean-fastjar: clean-fastjar
8404 clean-fastjar:
8405 @: $(MAKE); $(unstage)
8406 @[ -f ./fastjar/Makefile ] || exit 0; \
8407 r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(HOST_EXPORTS) \
8410 for flag in $(EXTRA_HOST_FLAGS) ; do \
8411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8412 done; \
8413 echo "Doing clean in fastjar"; \
8414 (cd $(HOST_SUBDIR)/fastjar && \
8415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8417 "RANLIB=$${RANLIB}" \
8418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8419 clean) \
8420 || exit 1
8422 @endif fastjar
8424 .PHONY: maybe-distclean-fastjar distclean-fastjar
8425 maybe-distclean-fastjar:
8426 @if fastjar
8427 maybe-distclean-fastjar: distclean-fastjar
8429 distclean-fastjar:
8430 @: $(MAKE); $(unstage)
8431 @[ -f ./fastjar/Makefile ] || exit 0; \
8432 r=`${PWD_COMMAND}`; export r; \
8433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8434 $(HOST_EXPORTS) \
8435 for flag in $(EXTRA_HOST_FLAGS) ; do \
8436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8437 done; \
8438 echo "Doing distclean in fastjar"; \
8439 (cd $(HOST_SUBDIR)/fastjar && \
8440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8442 "RANLIB=$${RANLIB}" \
8443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8444 distclean) \
8445 || exit 1
8447 @endif fastjar
8449 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8450 maybe-maintainer-clean-fastjar:
8451 @if fastjar
8452 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8454 maintainer-clean-fastjar:
8455 @: $(MAKE); $(unstage)
8456 @[ -f ./fastjar/Makefile ] || exit 0; \
8457 r=`${PWD_COMMAND}`; export r; \
8458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8459 $(HOST_EXPORTS) \
8460 for flag in $(EXTRA_HOST_FLAGS) ; do \
8461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8462 done; \
8463 echo "Doing maintainer-clean in fastjar"; \
8464 (cd $(HOST_SUBDIR)/fastjar && \
8465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8467 "RANLIB=$${RANLIB}" \
8468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8469 maintainer-clean) \
8470 || exit 1
8472 @endif fastjar
8476 .PHONY: configure-fixincludes maybe-configure-fixincludes
8477 maybe-configure-fixincludes:
8478 @if gcc-bootstrap
8479 configure-fixincludes: stage_current
8480 @endif gcc-bootstrap
8481 @if fixincludes
8482 maybe-configure-fixincludes: configure-fixincludes
8483 configure-fixincludes:
8484 @r=`${PWD_COMMAND}`; export r; \
8485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8486 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8488 $(HOST_EXPORTS) \
8489 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8490 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8491 case $(srcdir) in \
8492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8493 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8495 esac; \
8496 module_srcdir=fixincludes; \
8497 $(SHELL) \
8498 $$s/$$module_srcdir/configure \
8499 --srcdir=$${topdir}/$$module_srcdir \
8500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8501 --target=${target_alias} \
8502 || exit 1
8503 @endif fixincludes
8507 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8508 maybe-configure-stage1-fixincludes:
8509 @if fixincludes-bootstrap
8510 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8511 configure-stage1-fixincludes:
8512 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8514 @r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 TFLAGS="$(STAGE1_TFLAGS)"; \
8517 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8518 $(HOST_EXPORTS) \
8519 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8520 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8521 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8522 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8524 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8525 case $(srcdir) in \
8526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8527 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8529 esac; \
8530 module_srcdir=fixincludes; \
8531 $(SHELL) $$s/$$module_srcdir/configure \
8532 --srcdir=$${topdir}/$$module_srcdir \
8533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8534 --target=${target_alias} \
8536 $(STAGE1_CONFIGURE_FLAGS)
8537 @endif fixincludes-bootstrap
8539 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8540 maybe-configure-stage2-fixincludes:
8541 @if fixincludes-bootstrap
8542 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8543 configure-stage2-fixincludes:
8544 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8546 @r=`${PWD_COMMAND}`; export r; \
8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8548 TFLAGS="$(STAGE2_TFLAGS)"; \
8549 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8550 $(HOST_EXPORTS) \
8551 $(POSTSTAGE1_HOST_EXPORTS) \
8552 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8553 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8554 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8555 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8557 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8558 case $(srcdir) in \
8559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8560 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8562 esac; \
8563 module_srcdir=fixincludes; \
8564 $(SHELL) $$s/$$module_srcdir/configure \
8565 --srcdir=$${topdir}/$$module_srcdir \
8566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8567 --target=${target_alias} \
8568 --with-build-libsubdir=$(HOST_SUBDIR) \
8569 $(STAGE2_CONFIGURE_FLAGS)
8570 @endif fixincludes-bootstrap
8572 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8573 maybe-configure-stage3-fixincludes:
8574 @if fixincludes-bootstrap
8575 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8576 configure-stage3-fixincludes:
8577 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8579 @r=`${PWD_COMMAND}`; export r; \
8580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8581 TFLAGS="$(STAGE3_TFLAGS)"; \
8582 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8583 $(HOST_EXPORTS) \
8584 $(POSTSTAGE1_HOST_EXPORTS) \
8585 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8586 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8587 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8588 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8590 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8591 case $(srcdir) in \
8592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8593 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8595 esac; \
8596 module_srcdir=fixincludes; \
8597 $(SHELL) $$s/$$module_srcdir/configure \
8598 --srcdir=$${topdir}/$$module_srcdir \
8599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8600 --target=${target_alias} \
8601 --with-build-libsubdir=$(HOST_SUBDIR) \
8602 $(STAGE3_CONFIGURE_FLAGS)
8603 @endif fixincludes-bootstrap
8605 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8606 maybe-configure-stage4-fixincludes:
8607 @if fixincludes-bootstrap
8608 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8609 configure-stage4-fixincludes:
8610 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8612 @r=`${PWD_COMMAND}`; export r; \
8613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8614 TFLAGS="$(STAGE4_TFLAGS)"; \
8615 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8616 $(HOST_EXPORTS) \
8617 $(POSTSTAGE1_HOST_EXPORTS) \
8618 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8619 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8620 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8621 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8623 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8624 case $(srcdir) in \
8625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8626 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8628 esac; \
8629 module_srcdir=fixincludes; \
8630 $(SHELL) $$s/$$module_srcdir/configure \
8631 --srcdir=$${topdir}/$$module_srcdir \
8632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8633 --target=${target_alias} \
8634 --with-build-libsubdir=$(HOST_SUBDIR) \
8635 $(STAGE4_CONFIGURE_FLAGS)
8636 @endif fixincludes-bootstrap
8638 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8639 maybe-configure-stageprofile-fixincludes:
8640 @if fixincludes-bootstrap
8641 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8642 configure-stageprofile-fixincludes:
8643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8645 @r=`${PWD_COMMAND}`; export r; \
8646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8647 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8648 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8649 $(HOST_EXPORTS) \
8650 $(POSTSTAGE1_HOST_EXPORTS) \
8651 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8652 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8653 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8654 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8656 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8657 case $(srcdir) in \
8658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8659 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8661 esac; \
8662 module_srcdir=fixincludes; \
8663 $(SHELL) $$s/$$module_srcdir/configure \
8664 --srcdir=$${topdir}/$$module_srcdir \
8665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8666 --target=${target_alias} \
8667 --with-build-libsubdir=$(HOST_SUBDIR) \
8668 $(STAGEprofile_CONFIGURE_FLAGS)
8669 @endif fixincludes-bootstrap
8671 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8672 maybe-configure-stagefeedback-fixincludes:
8673 @if fixincludes-bootstrap
8674 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8675 configure-stagefeedback-fixincludes:
8676 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8678 @r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8680 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8681 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8682 $(HOST_EXPORTS) \
8683 $(POSTSTAGE1_HOST_EXPORTS) \
8684 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8685 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8686 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8687 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8689 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8690 case $(srcdir) in \
8691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8692 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8694 esac; \
8695 module_srcdir=fixincludes; \
8696 $(SHELL) $$s/$$module_srcdir/configure \
8697 --srcdir=$${topdir}/$$module_srcdir \
8698 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8699 --target=${target_alias} \
8700 --with-build-libsubdir=$(HOST_SUBDIR) \
8701 $(STAGEfeedback_CONFIGURE_FLAGS)
8702 @endif fixincludes-bootstrap
8704 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8705 maybe-configure-stageautoprofile-fixincludes:
8706 @if fixincludes-bootstrap
8707 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8708 configure-stageautoprofile-fixincludes:
8709 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8711 @r=`${PWD_COMMAND}`; export r; \
8712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8714 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8715 $(HOST_EXPORTS) \
8716 $(POSTSTAGE1_HOST_EXPORTS) \
8717 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8718 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8719 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8720 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8722 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8723 case $(srcdir) in \
8724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8725 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8727 esac; \
8728 module_srcdir=fixincludes; \
8729 $(SHELL) $$s/$$module_srcdir/configure \
8730 --srcdir=$${topdir}/$$module_srcdir \
8731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8732 --target=${target_alias} \
8733 --with-build-libsubdir=$(HOST_SUBDIR) \
8734 $(STAGEautoprofile_CONFIGURE_FLAGS)
8735 @endif fixincludes-bootstrap
8737 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
8738 maybe-configure-stageautofeedback-fixincludes:
8739 @if fixincludes-bootstrap
8740 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
8741 configure-stageautofeedback-fixincludes:
8742 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
8743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8744 @r=`${PWD_COMMAND}`; export r; \
8745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8746 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
8747 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8748 $(HOST_EXPORTS) \
8749 $(POSTSTAGE1_HOST_EXPORTS) \
8750 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
8751 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
8752 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
8753 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
8754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8755 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8756 case $(srcdir) in \
8757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8758 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8760 esac; \
8761 module_srcdir=fixincludes; \
8762 $(SHELL) $$s/$$module_srcdir/configure \
8763 --srcdir=$${topdir}/$$module_srcdir \
8764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8765 --target=${target_alias} \
8766 --with-build-libsubdir=$(HOST_SUBDIR) \
8767 $(STAGEautofeedback_CONFIGURE_FLAGS)
8768 @endif fixincludes-bootstrap
8774 .PHONY: all-fixincludes maybe-all-fixincludes
8775 maybe-all-fixincludes:
8776 @if gcc-bootstrap
8777 all-fixincludes: stage_current
8778 @endif gcc-bootstrap
8779 @if fixincludes
8780 TARGET-fixincludes=all
8781 maybe-all-fixincludes: all-fixincludes
8782 all-fixincludes: configure-fixincludes
8783 @r=`${PWD_COMMAND}`; export r; \
8784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8785 $(HOST_EXPORTS) \
8786 (cd $(HOST_SUBDIR)/fixincludes && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8788 $(TARGET-fixincludes))
8789 @endif fixincludes
8793 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8794 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8795 maybe-all-stage1-fixincludes:
8796 maybe-clean-stage1-fixincludes:
8797 @if fixincludes-bootstrap
8798 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8799 all-stage1: all-stage1-fixincludes
8800 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8801 all-stage1-fixincludes: configure-stage1-fixincludes
8802 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8803 @r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 TFLAGS="$(STAGE1_TFLAGS)"; \
8806 $(HOST_EXPORTS) \
8807 cd $(HOST_SUBDIR)/fixincludes && \
8809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8810 CFLAGS="$(STAGE1_CFLAGS)" \
8811 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8812 LIBCFLAGS="$(LIBCFLAGS)" \
8813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8816 $(EXTRA_HOST_FLAGS) \
8817 $(STAGE1_FLAGS_TO_PASS) \
8818 TFLAGS="$(STAGE1_TFLAGS)" \
8819 $(TARGET-stage1-fixincludes)
8821 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8822 clean-stage1: clean-stage1-fixincludes
8823 clean-stage1-fixincludes:
8824 @if [ $(current_stage) = stage1 ]; then \
8825 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8826 else \
8827 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8828 $(MAKE) stage1-start; \
8829 fi; \
8830 cd $(HOST_SUBDIR)/fixincludes && \
8831 $(MAKE) $(EXTRA_HOST_FLAGS) \
8832 $(STAGE1_FLAGS_TO_PASS) clean
8833 @endif fixincludes-bootstrap
8836 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8837 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8838 maybe-all-stage2-fixincludes:
8839 maybe-clean-stage2-fixincludes:
8840 @if fixincludes-bootstrap
8841 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8842 all-stage2: all-stage2-fixincludes
8843 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8844 all-stage2-fixincludes: configure-stage2-fixincludes
8845 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8846 @r=`${PWD_COMMAND}`; export r; \
8847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8848 TFLAGS="$(STAGE2_TFLAGS)"; \
8849 $(HOST_EXPORTS) \
8850 $(POSTSTAGE1_HOST_EXPORTS) \
8851 cd $(HOST_SUBDIR)/fixincludes && \
8853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8854 CFLAGS="$(STAGE2_CFLAGS)" \
8855 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8856 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8861 TFLAGS="$(STAGE2_TFLAGS)" \
8862 $(TARGET-stage2-fixincludes)
8864 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8865 clean-stage2: clean-stage2-fixincludes
8866 clean-stage2-fixincludes:
8867 @if [ $(current_stage) = stage2 ]; then \
8868 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8869 else \
8870 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8871 $(MAKE) stage2-start; \
8872 fi; \
8873 cd $(HOST_SUBDIR)/fixincludes && \
8874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8875 @endif fixincludes-bootstrap
8878 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8879 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8880 maybe-all-stage3-fixincludes:
8881 maybe-clean-stage3-fixincludes:
8882 @if fixincludes-bootstrap
8883 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8884 all-stage3: all-stage3-fixincludes
8885 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8886 all-stage3-fixincludes: configure-stage3-fixincludes
8887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8888 @r=`${PWD_COMMAND}`; export r; \
8889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890 TFLAGS="$(STAGE3_TFLAGS)"; \
8891 $(HOST_EXPORTS) \
8892 $(POSTSTAGE1_HOST_EXPORTS) \
8893 cd $(HOST_SUBDIR)/fixincludes && \
8895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8896 CFLAGS="$(STAGE3_CFLAGS)" \
8897 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8898 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8903 TFLAGS="$(STAGE3_TFLAGS)" \
8904 $(TARGET-stage3-fixincludes)
8906 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8907 clean-stage3: clean-stage3-fixincludes
8908 clean-stage3-fixincludes:
8909 @if [ $(current_stage) = stage3 ]; then \
8910 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8911 else \
8912 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8913 $(MAKE) stage3-start; \
8914 fi; \
8915 cd $(HOST_SUBDIR)/fixincludes && \
8916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8917 @endif fixincludes-bootstrap
8920 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8921 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8922 maybe-all-stage4-fixincludes:
8923 maybe-clean-stage4-fixincludes:
8924 @if fixincludes-bootstrap
8925 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8926 all-stage4: all-stage4-fixincludes
8927 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8928 all-stage4-fixincludes: configure-stage4-fixincludes
8929 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8930 @r=`${PWD_COMMAND}`; export r; \
8931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 TFLAGS="$(STAGE4_TFLAGS)"; \
8933 $(HOST_EXPORTS) \
8934 $(POSTSTAGE1_HOST_EXPORTS) \
8935 cd $(HOST_SUBDIR)/fixincludes && \
8937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8938 CFLAGS="$(STAGE4_CFLAGS)" \
8939 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8940 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8945 TFLAGS="$(STAGE4_TFLAGS)" \
8946 $(TARGET-stage4-fixincludes)
8948 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8949 clean-stage4: clean-stage4-fixincludes
8950 clean-stage4-fixincludes:
8951 @if [ $(current_stage) = stage4 ]; then \
8952 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8953 else \
8954 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8955 $(MAKE) stage4-start; \
8956 fi; \
8957 cd $(HOST_SUBDIR)/fixincludes && \
8958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8959 @endif fixincludes-bootstrap
8962 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8963 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8964 maybe-all-stageprofile-fixincludes:
8965 maybe-clean-stageprofile-fixincludes:
8966 @if fixincludes-bootstrap
8967 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8968 all-stageprofile: all-stageprofile-fixincludes
8969 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8970 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8971 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8972 @r=`${PWD_COMMAND}`; export r; \
8973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8974 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8975 $(HOST_EXPORTS) \
8976 $(POSTSTAGE1_HOST_EXPORTS) \
8977 cd $(HOST_SUBDIR)/fixincludes && \
8979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8980 CFLAGS="$(STAGEprofile_CFLAGS)" \
8981 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8982 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8987 TFLAGS="$(STAGEprofile_TFLAGS)" \
8988 $(TARGET-stageprofile-fixincludes)
8990 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8991 clean-stageprofile: clean-stageprofile-fixincludes
8992 clean-stageprofile-fixincludes:
8993 @if [ $(current_stage) = stageprofile ]; then \
8994 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8995 else \
8996 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8997 $(MAKE) stageprofile-start; \
8998 fi; \
8999 cd $(HOST_SUBDIR)/fixincludes && \
9000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9001 @endif fixincludes-bootstrap
9004 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9005 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9006 maybe-all-stagefeedback-fixincludes:
9007 maybe-clean-stagefeedback-fixincludes:
9008 @if fixincludes-bootstrap
9009 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9010 all-stagefeedback: all-stagefeedback-fixincludes
9011 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9012 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9013 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9014 @r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9017 $(HOST_EXPORTS) \
9018 $(POSTSTAGE1_HOST_EXPORTS) \
9019 cd $(HOST_SUBDIR)/fixincludes && \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9022 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9023 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9024 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9029 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9030 $(TARGET-stagefeedback-fixincludes)
9032 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9033 clean-stagefeedback: clean-stagefeedback-fixincludes
9034 clean-stagefeedback-fixincludes:
9035 @if [ $(current_stage) = stagefeedback ]; then \
9036 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9037 else \
9038 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9039 $(MAKE) stagefeedback-start; \
9040 fi; \
9041 cd $(HOST_SUBDIR)/fixincludes && \
9042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9043 @endif fixincludes-bootstrap
9046 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9047 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9048 maybe-all-stageautoprofile-fixincludes:
9049 maybe-clean-stageautoprofile-fixincludes:
9050 @if fixincludes-bootstrap
9051 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9052 all-stageautoprofile: all-stageautoprofile-fixincludes
9053 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9054 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9055 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9056 @r=`${PWD_COMMAND}`; export r; \
9057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9058 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9059 $(HOST_EXPORTS) \
9060 $(POSTSTAGE1_HOST_EXPORTS) \
9061 cd $(HOST_SUBDIR)/fixincludes && \
9062 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9064 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9065 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9066 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9071 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9072 $(TARGET-stageautoprofile-fixincludes)
9074 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9075 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9076 clean-stageautoprofile-fixincludes:
9077 @if [ $(current_stage) = stageautoprofile ]; then \
9078 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9079 else \
9080 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9081 $(MAKE) stageautoprofile-start; \
9082 fi; \
9083 cd $(HOST_SUBDIR)/fixincludes && \
9084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9085 @endif fixincludes-bootstrap
9088 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9089 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9090 maybe-all-stageautofeedback-fixincludes:
9091 maybe-clean-stageautofeedback-fixincludes:
9092 @if fixincludes-bootstrap
9093 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9094 all-stageautofeedback: all-stageautofeedback-fixincludes
9095 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9096 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9097 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9098 @r=`${PWD_COMMAND}`; export r; \
9099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9100 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9101 $(HOST_EXPORTS) \
9102 $(POSTSTAGE1_HOST_EXPORTS) \
9103 cd $(HOST_SUBDIR)/fixincludes && \
9105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9106 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9107 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9108 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9112 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9113 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9114 $(TARGET-stageautofeedback-fixincludes)
9116 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9117 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9118 clean-stageautofeedback-fixincludes:
9119 @if [ $(current_stage) = stageautofeedback ]; then \
9120 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9121 else \
9122 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9123 $(MAKE) stageautofeedback-start; \
9124 fi; \
9125 cd $(HOST_SUBDIR)/fixincludes && \
9126 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9127 @endif fixincludes-bootstrap
9133 .PHONY: check-fixincludes maybe-check-fixincludes
9134 maybe-check-fixincludes:
9135 @if fixincludes
9136 maybe-check-fixincludes: check-fixincludes
9138 check-fixincludes:
9139 @: $(MAKE); $(unstage)
9140 @r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9143 (cd $(HOST_SUBDIR)/fixincludes && \
9144 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9146 @endif fixincludes
9148 .PHONY: install-fixincludes maybe-install-fixincludes
9149 maybe-install-fixincludes:
9150 @if fixincludes
9151 maybe-install-fixincludes: install-fixincludes
9153 install-fixincludes: installdirs
9154 @: $(MAKE); $(unstage)
9155 @r=`${PWD_COMMAND}`; export r; \
9156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9157 $(HOST_EXPORTS) \
9158 (cd $(HOST_SUBDIR)/fixincludes && \
9159 $(MAKE) $(FLAGS_TO_PASS) install)
9161 @endif fixincludes
9163 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9164 maybe-install-strip-fixincludes:
9165 @if fixincludes
9166 maybe-install-strip-fixincludes: install-strip-fixincludes
9168 install-strip-fixincludes: installdirs
9169 @: $(MAKE); $(unstage)
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(HOST_EXPORTS) \
9173 (cd $(HOST_SUBDIR)/fixincludes && \
9174 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9176 @endif fixincludes
9178 # Other targets (info, dvi, pdf, etc.)
9180 .PHONY: maybe-info-fixincludes info-fixincludes
9181 maybe-info-fixincludes:
9182 @if fixincludes
9183 maybe-info-fixincludes: info-fixincludes
9185 info-fixincludes: \
9186 configure-fixincludes
9187 @[ -f ./fixincludes/Makefile ] || exit 0; \
9188 r=`${PWD_COMMAND}`; export r; \
9189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9190 $(HOST_EXPORTS) \
9191 for flag in $(EXTRA_HOST_FLAGS) ; do \
9192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9193 done; \
9194 echo "Doing info in fixincludes"; \
9195 (cd $(HOST_SUBDIR)/fixincludes && \
9196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9198 "RANLIB=$${RANLIB}" \
9199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9200 info) \
9201 || exit 1
9203 @endif fixincludes
9205 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9206 maybe-dvi-fixincludes:
9207 @if fixincludes
9208 maybe-dvi-fixincludes: dvi-fixincludes
9210 dvi-fixincludes: \
9211 configure-fixincludes
9212 @[ -f ./fixincludes/Makefile ] || exit 0; \
9213 r=`${PWD_COMMAND}`; export r; \
9214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9215 $(HOST_EXPORTS) \
9216 for flag in $(EXTRA_HOST_FLAGS) ; do \
9217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9218 done; \
9219 echo "Doing dvi in fixincludes"; \
9220 (cd $(HOST_SUBDIR)/fixincludes && \
9221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9223 "RANLIB=$${RANLIB}" \
9224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9225 dvi) \
9226 || exit 1
9228 @endif fixincludes
9230 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9231 maybe-pdf-fixincludes:
9232 @if fixincludes
9233 maybe-pdf-fixincludes: pdf-fixincludes
9235 pdf-fixincludes: \
9236 configure-fixincludes
9237 @[ -f ./fixincludes/Makefile ] || exit 0; \
9238 r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9240 $(HOST_EXPORTS) \
9241 for flag in $(EXTRA_HOST_FLAGS) ; do \
9242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9243 done; \
9244 echo "Doing pdf in fixincludes"; \
9245 (cd $(HOST_SUBDIR)/fixincludes && \
9246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9248 "RANLIB=$${RANLIB}" \
9249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9250 pdf) \
9251 || exit 1
9253 @endif fixincludes
9255 .PHONY: maybe-html-fixincludes html-fixincludes
9256 maybe-html-fixincludes:
9257 @if fixincludes
9258 maybe-html-fixincludes: html-fixincludes
9260 html-fixincludes: \
9261 configure-fixincludes
9262 @[ -f ./fixincludes/Makefile ] || exit 0; \
9263 r=`${PWD_COMMAND}`; export r; \
9264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9265 $(HOST_EXPORTS) \
9266 for flag in $(EXTRA_HOST_FLAGS) ; do \
9267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9268 done; \
9269 echo "Doing html in fixincludes"; \
9270 (cd $(HOST_SUBDIR)/fixincludes && \
9271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9273 "RANLIB=$${RANLIB}" \
9274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9275 html) \
9276 || exit 1
9278 @endif fixincludes
9280 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9281 maybe-TAGS-fixincludes:
9282 @if fixincludes
9283 maybe-TAGS-fixincludes: TAGS-fixincludes
9285 # fixincludes doesn't support TAGS.
9286 TAGS-fixincludes:
9288 @endif fixincludes
9290 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9291 maybe-install-info-fixincludes:
9292 @if fixincludes
9293 maybe-install-info-fixincludes: install-info-fixincludes
9295 install-info-fixincludes: \
9296 configure-fixincludes \
9297 info-fixincludes
9298 @[ -f ./fixincludes/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304 done; \
9305 echo "Doing install-info in fixincludes"; \
9306 (cd $(HOST_SUBDIR)/fixincludes && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9311 install-info) \
9312 || exit 1
9314 @endif fixincludes
9316 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9317 maybe-install-pdf-fixincludes:
9318 @if fixincludes
9319 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9321 install-pdf-fixincludes: \
9322 configure-fixincludes \
9323 pdf-fixincludes
9324 @[ -f ./fixincludes/Makefile ] || exit 0; \
9325 r=`${PWD_COMMAND}`; export r; \
9326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9327 $(HOST_EXPORTS) \
9328 for flag in $(EXTRA_HOST_FLAGS) ; do \
9329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9330 done; \
9331 echo "Doing install-pdf in fixincludes"; \
9332 (cd $(HOST_SUBDIR)/fixincludes && \
9333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9335 "RANLIB=$${RANLIB}" \
9336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9337 install-pdf) \
9338 || exit 1
9340 @endif fixincludes
9342 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9343 maybe-install-html-fixincludes:
9344 @if fixincludes
9345 maybe-install-html-fixincludes: install-html-fixincludes
9347 install-html-fixincludes: \
9348 configure-fixincludes \
9349 html-fixincludes
9350 @[ -f ./fixincludes/Makefile ] || exit 0; \
9351 r=`${PWD_COMMAND}`; export r; \
9352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9353 $(HOST_EXPORTS) \
9354 for flag in $(EXTRA_HOST_FLAGS) ; do \
9355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9356 done; \
9357 echo "Doing install-html in fixincludes"; \
9358 (cd $(HOST_SUBDIR)/fixincludes && \
9359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9361 "RANLIB=$${RANLIB}" \
9362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9363 install-html) \
9364 || exit 1
9366 @endif fixincludes
9368 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9369 maybe-installcheck-fixincludes:
9370 @if fixincludes
9371 maybe-installcheck-fixincludes: installcheck-fixincludes
9373 installcheck-fixincludes: \
9374 configure-fixincludes
9375 @[ -f ./fixincludes/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 $(HOST_EXPORTS) \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 done; \
9382 echo "Doing installcheck in fixincludes"; \
9383 (cd $(HOST_SUBDIR)/fixincludes && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9388 installcheck) \
9389 || exit 1
9391 @endif fixincludes
9393 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9394 maybe-mostlyclean-fixincludes:
9395 @if fixincludes
9396 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9398 mostlyclean-fixincludes:
9399 @[ -f ./fixincludes/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9402 $(HOST_EXPORTS) \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9405 done; \
9406 echo "Doing mostlyclean in fixincludes"; \
9407 (cd $(HOST_SUBDIR)/fixincludes && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9412 mostlyclean) \
9413 || exit 1
9415 @endif fixincludes
9417 .PHONY: maybe-clean-fixincludes clean-fixincludes
9418 maybe-clean-fixincludes:
9419 @if fixincludes
9420 maybe-clean-fixincludes: clean-fixincludes
9422 clean-fixincludes:
9423 @[ -f ./fixincludes/Makefile ] || exit 0; \
9424 r=`${PWD_COMMAND}`; export r; \
9425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9426 $(HOST_EXPORTS) \
9427 for flag in $(EXTRA_HOST_FLAGS) ; do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9429 done; \
9430 echo "Doing clean in fixincludes"; \
9431 (cd $(HOST_SUBDIR)/fixincludes && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9436 clean) \
9437 || exit 1
9439 @endif fixincludes
9441 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9442 maybe-distclean-fixincludes:
9443 @if fixincludes
9444 maybe-distclean-fixincludes: distclean-fixincludes
9446 distclean-fixincludes:
9447 @[ -f ./fixincludes/Makefile ] || exit 0; \
9448 r=`${PWD_COMMAND}`; export r; \
9449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9450 $(HOST_EXPORTS) \
9451 for flag in $(EXTRA_HOST_FLAGS) ; do \
9452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9453 done; \
9454 echo "Doing distclean in fixincludes"; \
9455 (cd $(HOST_SUBDIR)/fixincludes && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9458 "RANLIB=$${RANLIB}" \
9459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9460 distclean) \
9461 || exit 1
9463 @endif fixincludes
9465 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9466 maybe-maintainer-clean-fixincludes:
9467 @if fixincludes
9468 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9470 maintainer-clean-fixincludes:
9471 @[ -f ./fixincludes/Makefile ] || exit 0; \
9472 r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(HOST_EXPORTS) \
9475 for flag in $(EXTRA_HOST_FLAGS) ; do \
9476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9477 done; \
9478 echo "Doing maintainer-clean in fixincludes"; \
9479 (cd $(HOST_SUBDIR)/fixincludes && \
9480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9482 "RANLIB=$${RANLIB}" \
9483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9484 maintainer-clean) \
9485 || exit 1
9487 @endif fixincludes
9491 .PHONY: configure-flex maybe-configure-flex
9492 maybe-configure-flex:
9493 @if gcc-bootstrap
9494 configure-flex: stage_current
9495 @endif gcc-bootstrap
9496 @if flex
9497 maybe-configure-flex: configure-flex
9498 configure-flex:
9499 @: $(MAKE); $(unstage)
9500 @r=`${PWD_COMMAND}`; export r; \
9501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9502 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9504 $(HOST_EXPORTS) \
9505 echo Configuring in $(HOST_SUBDIR)/flex; \
9506 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9507 case $(srcdir) in \
9508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9509 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9511 esac; \
9512 module_srcdir=flex; \
9513 $(SHELL) \
9514 $$s/$$module_srcdir/configure \
9515 --srcdir=$${topdir}/$$module_srcdir \
9516 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9517 --target=${target_alias} \
9518 || exit 1
9519 @endif flex
9525 .PHONY: all-flex maybe-all-flex
9526 maybe-all-flex:
9527 @if gcc-bootstrap
9528 all-flex: stage_current
9529 @endif gcc-bootstrap
9530 @if flex
9531 TARGET-flex=all
9532 maybe-all-flex: all-flex
9533 all-flex: configure-flex
9534 @: $(MAKE); $(unstage)
9535 @r=`${PWD_COMMAND}`; export r; \
9536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9537 $(HOST_EXPORTS) \
9538 (cd $(HOST_SUBDIR)/flex && \
9539 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9540 $(TARGET-flex))
9541 @endif flex
9546 .PHONY: check-flex maybe-check-flex
9547 maybe-check-flex:
9548 @if flex
9549 maybe-check-flex: check-flex
9551 # This module is only tested in a native toolchain.
9552 check-flex:
9553 @: $(MAKE); $(unstage)
9554 @if [ '$(host)' = '$(target)' ]; then \
9555 r=`${PWD_COMMAND}`; export r; \
9556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 $(HOST_EXPORTS) \
9558 (cd $(HOST_SUBDIR)/flex && \
9559 $(MAKE) $(FLAGS_TO_PASS) check)
9562 @endif flex
9564 .PHONY: install-flex maybe-install-flex
9565 maybe-install-flex:
9566 @if flex
9567 maybe-install-flex: install-flex
9569 install-flex: installdirs
9570 @: $(MAKE); $(unstage)
9571 @r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 $(HOST_EXPORTS) \
9574 (cd $(HOST_SUBDIR)/flex && \
9575 $(MAKE) $(FLAGS_TO_PASS) install)
9577 @endif flex
9579 .PHONY: install-strip-flex maybe-install-strip-flex
9580 maybe-install-strip-flex:
9581 @if flex
9582 maybe-install-strip-flex: install-strip-flex
9584 install-strip-flex: installdirs
9585 @: $(MAKE); $(unstage)
9586 @r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9588 $(HOST_EXPORTS) \
9589 (cd $(HOST_SUBDIR)/flex && \
9590 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9592 @endif flex
9594 # Other targets (info, dvi, pdf, etc.)
9596 .PHONY: maybe-info-flex info-flex
9597 maybe-info-flex:
9598 @if flex
9599 maybe-info-flex: info-flex
9601 info-flex: \
9602 configure-flex
9603 @: $(MAKE); $(unstage)
9604 @[ -f ./flex/Makefile ] || exit 0; \
9605 r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 $(HOST_EXPORTS) \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9610 done; \
9611 echo "Doing info in flex"; \
9612 (cd $(HOST_SUBDIR)/flex && \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9617 info) \
9618 || exit 1
9620 @endif flex
9622 .PHONY: maybe-dvi-flex dvi-flex
9623 maybe-dvi-flex:
9624 @if flex
9625 maybe-dvi-flex: dvi-flex
9627 dvi-flex: \
9628 configure-flex
9629 @: $(MAKE); $(unstage)
9630 @[ -f ./flex/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing dvi in flex"; \
9638 (cd $(HOST_SUBDIR)/flex && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9643 dvi) \
9644 || exit 1
9646 @endif flex
9648 .PHONY: maybe-pdf-flex pdf-flex
9649 maybe-pdf-flex:
9650 @if flex
9651 maybe-pdf-flex: pdf-flex
9653 pdf-flex: \
9654 configure-flex
9655 @: $(MAKE); $(unstage)
9656 @[ -f ./flex/Makefile ] || exit 0; \
9657 r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 $(HOST_EXPORTS) \
9660 for flag in $(EXTRA_HOST_FLAGS) ; do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing pdf in flex"; \
9664 (cd $(HOST_SUBDIR)/flex && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9669 pdf) \
9670 || exit 1
9672 @endif flex
9674 .PHONY: maybe-html-flex html-flex
9675 maybe-html-flex:
9676 @if flex
9677 maybe-html-flex: html-flex
9679 html-flex: \
9680 configure-flex
9681 @: $(MAKE); $(unstage)
9682 @[ -f ./flex/Makefile ] || exit 0; \
9683 r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685 $(HOST_EXPORTS) \
9686 for flag in $(EXTRA_HOST_FLAGS) ; do \
9687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9688 done; \
9689 echo "Doing html in flex"; \
9690 (cd $(HOST_SUBDIR)/flex && \
9691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693 "RANLIB=$${RANLIB}" \
9694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9695 html) \
9696 || exit 1
9698 @endif flex
9700 .PHONY: maybe-TAGS-flex TAGS-flex
9701 maybe-TAGS-flex:
9702 @if flex
9703 maybe-TAGS-flex: TAGS-flex
9705 TAGS-flex: \
9706 configure-flex
9707 @: $(MAKE); $(unstage)
9708 @[ -f ./flex/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 $(HOST_EXPORTS) \
9712 for flag in $(EXTRA_HOST_FLAGS) ; do \
9713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9714 done; \
9715 echo "Doing TAGS in flex"; \
9716 (cd $(HOST_SUBDIR)/flex && \
9717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9719 "RANLIB=$${RANLIB}" \
9720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9721 TAGS) \
9722 || exit 1
9724 @endif flex
9726 .PHONY: maybe-install-info-flex install-info-flex
9727 maybe-install-info-flex:
9728 @if flex
9729 maybe-install-info-flex: install-info-flex
9731 install-info-flex: \
9732 configure-flex \
9733 info-flex
9734 @: $(MAKE); $(unstage)
9735 @[ -f ./flex/Makefile ] || exit 0; \
9736 r=`${PWD_COMMAND}`; export r; \
9737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738 $(HOST_EXPORTS) \
9739 for flag in $(EXTRA_HOST_FLAGS) ; do \
9740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9741 done; \
9742 echo "Doing install-info in flex"; \
9743 (cd $(HOST_SUBDIR)/flex && \
9744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9746 "RANLIB=$${RANLIB}" \
9747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9748 install-info) \
9749 || exit 1
9751 @endif flex
9753 .PHONY: maybe-install-pdf-flex install-pdf-flex
9754 maybe-install-pdf-flex:
9755 @if flex
9756 maybe-install-pdf-flex: install-pdf-flex
9758 install-pdf-flex: \
9759 configure-flex \
9760 pdf-flex
9761 @: $(MAKE); $(unstage)
9762 @[ -f ./flex/Makefile ] || exit 0; \
9763 r=`${PWD_COMMAND}`; export r; \
9764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9765 $(HOST_EXPORTS) \
9766 for flag in $(EXTRA_HOST_FLAGS) ; do \
9767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9768 done; \
9769 echo "Doing install-pdf in flex"; \
9770 (cd $(HOST_SUBDIR)/flex && \
9771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9773 "RANLIB=$${RANLIB}" \
9774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9775 install-pdf) \
9776 || exit 1
9778 @endif flex
9780 .PHONY: maybe-install-html-flex install-html-flex
9781 maybe-install-html-flex:
9782 @if flex
9783 maybe-install-html-flex: install-html-flex
9785 install-html-flex: \
9786 configure-flex \
9787 html-flex
9788 @: $(MAKE); $(unstage)
9789 @[ -f ./flex/Makefile ] || exit 0; \
9790 r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 $(HOST_EXPORTS) \
9793 for flag in $(EXTRA_HOST_FLAGS) ; do \
9794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9795 done; \
9796 echo "Doing install-html in flex"; \
9797 (cd $(HOST_SUBDIR)/flex && \
9798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9800 "RANLIB=$${RANLIB}" \
9801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9802 install-html) \
9803 || exit 1
9805 @endif flex
9807 .PHONY: maybe-installcheck-flex installcheck-flex
9808 maybe-installcheck-flex:
9809 @if flex
9810 maybe-installcheck-flex: installcheck-flex
9812 installcheck-flex: \
9813 configure-flex
9814 @: $(MAKE); $(unstage)
9815 @[ -f ./flex/Makefile ] || exit 0; \
9816 r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 $(HOST_EXPORTS) \
9819 for flag in $(EXTRA_HOST_FLAGS) ; do \
9820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9821 done; \
9822 echo "Doing installcheck in flex"; \
9823 (cd $(HOST_SUBDIR)/flex && \
9824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9826 "RANLIB=$${RANLIB}" \
9827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9828 installcheck) \
9829 || exit 1
9831 @endif flex
9833 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9834 maybe-mostlyclean-flex:
9835 @if flex
9836 maybe-mostlyclean-flex: mostlyclean-flex
9838 mostlyclean-flex:
9839 @: $(MAKE); $(unstage)
9840 @[ -f ./flex/Makefile ] || exit 0; \
9841 r=`${PWD_COMMAND}`; export r; \
9842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9843 $(HOST_EXPORTS) \
9844 for flag in $(EXTRA_HOST_FLAGS) ; do \
9845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9846 done; \
9847 echo "Doing mostlyclean in flex"; \
9848 (cd $(HOST_SUBDIR)/flex && \
9849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9851 "RANLIB=$${RANLIB}" \
9852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9853 mostlyclean) \
9854 || exit 1
9856 @endif flex
9858 .PHONY: maybe-clean-flex clean-flex
9859 maybe-clean-flex:
9860 @if flex
9861 maybe-clean-flex: clean-flex
9863 clean-flex:
9864 @: $(MAKE); $(unstage)
9865 @[ -f ./flex/Makefile ] || exit 0; \
9866 r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 $(HOST_EXPORTS) \
9869 for flag in $(EXTRA_HOST_FLAGS) ; do \
9870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9871 done; \
9872 echo "Doing clean in flex"; \
9873 (cd $(HOST_SUBDIR)/flex && \
9874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9876 "RANLIB=$${RANLIB}" \
9877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9878 clean) \
9879 || exit 1
9881 @endif flex
9883 .PHONY: maybe-distclean-flex distclean-flex
9884 maybe-distclean-flex:
9885 @if flex
9886 maybe-distclean-flex: distclean-flex
9888 distclean-flex:
9889 @: $(MAKE); $(unstage)
9890 @[ -f ./flex/Makefile ] || exit 0; \
9891 r=`${PWD_COMMAND}`; export r; \
9892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 $(HOST_EXPORTS) \
9894 for flag in $(EXTRA_HOST_FLAGS) ; do \
9895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9896 done; \
9897 echo "Doing distclean in flex"; \
9898 (cd $(HOST_SUBDIR)/flex && \
9899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9901 "RANLIB=$${RANLIB}" \
9902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9903 distclean) \
9904 || exit 1
9906 @endif flex
9908 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9909 maybe-maintainer-clean-flex:
9910 @if flex
9911 maybe-maintainer-clean-flex: maintainer-clean-flex
9913 maintainer-clean-flex:
9914 @: $(MAKE); $(unstage)
9915 @[ -f ./flex/Makefile ] || exit 0; \
9916 r=`${PWD_COMMAND}`; export r; \
9917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9918 $(HOST_EXPORTS) \
9919 for flag in $(EXTRA_HOST_FLAGS) ; do \
9920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9921 done; \
9922 echo "Doing maintainer-clean in flex"; \
9923 (cd $(HOST_SUBDIR)/flex && \
9924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9926 "RANLIB=$${RANLIB}" \
9927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9928 maintainer-clean) \
9929 || exit 1
9931 @endif flex
9935 .PHONY: configure-gas maybe-configure-gas
9936 maybe-configure-gas:
9937 @if gcc-bootstrap
9938 configure-gas: stage_current
9939 @endif gcc-bootstrap
9940 @if gas
9941 maybe-configure-gas: configure-gas
9942 configure-gas:
9943 @r=`${PWD_COMMAND}`; export r; \
9944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9947 $(HOST_EXPORTS) \
9948 echo Configuring in $(HOST_SUBDIR)/gas; \
9949 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9950 case $(srcdir) in \
9951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9952 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9954 esac; \
9955 module_srcdir=gas; \
9956 $(SHELL) \
9957 $$s/$$module_srcdir/configure \
9958 --srcdir=$${topdir}/$$module_srcdir \
9959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9960 --target=${target_alias} \
9961 || exit 1
9962 @endif gas
9966 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9967 maybe-configure-stage1-gas:
9968 @if gas-bootstrap
9969 maybe-configure-stage1-gas: configure-stage1-gas
9970 configure-stage1-gas:
9971 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9973 @r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 TFLAGS="$(STAGE1_TFLAGS)"; \
9976 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9977 $(HOST_EXPORTS) \
9978 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9979 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9980 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9981 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
9982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9983 cd $(HOST_SUBDIR)/gas || exit 1; \
9984 case $(srcdir) in \
9985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9986 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9988 esac; \
9989 module_srcdir=gas; \
9990 $(SHELL) $$s/$$module_srcdir/configure \
9991 --srcdir=$${topdir}/$$module_srcdir \
9992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9993 --target=${target_alias} \
9995 $(STAGE1_CONFIGURE_FLAGS)
9996 @endif gas-bootstrap
9998 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9999 maybe-configure-stage2-gas:
10000 @if gas-bootstrap
10001 maybe-configure-stage2-gas: configure-stage2-gas
10002 configure-stage2-gas:
10003 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10005 @r=`${PWD_COMMAND}`; export r; \
10006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10007 TFLAGS="$(STAGE2_TFLAGS)"; \
10008 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10009 $(HOST_EXPORTS) \
10010 $(POSTSTAGE1_HOST_EXPORTS) \
10011 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10012 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10013 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10014 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10016 cd $(HOST_SUBDIR)/gas || exit 1; \
10017 case $(srcdir) in \
10018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10019 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10021 esac; \
10022 module_srcdir=gas; \
10023 $(SHELL) $$s/$$module_srcdir/configure \
10024 --srcdir=$${topdir}/$$module_srcdir \
10025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10026 --target=${target_alias} \
10027 --with-build-libsubdir=$(HOST_SUBDIR) \
10028 $(STAGE2_CONFIGURE_FLAGS)
10029 @endif gas-bootstrap
10031 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10032 maybe-configure-stage3-gas:
10033 @if gas-bootstrap
10034 maybe-configure-stage3-gas: configure-stage3-gas
10035 configure-stage3-gas:
10036 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10038 @r=`${PWD_COMMAND}`; export r; \
10039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10040 TFLAGS="$(STAGE3_TFLAGS)"; \
10041 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10042 $(HOST_EXPORTS) \
10043 $(POSTSTAGE1_HOST_EXPORTS) \
10044 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10045 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10046 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10047 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10049 cd $(HOST_SUBDIR)/gas || exit 1; \
10050 case $(srcdir) in \
10051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10052 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10054 esac; \
10055 module_srcdir=gas; \
10056 $(SHELL) $$s/$$module_srcdir/configure \
10057 --srcdir=$${topdir}/$$module_srcdir \
10058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10059 --target=${target_alias} \
10060 --with-build-libsubdir=$(HOST_SUBDIR) \
10061 $(STAGE3_CONFIGURE_FLAGS)
10062 @endif gas-bootstrap
10064 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10065 maybe-configure-stage4-gas:
10066 @if gas-bootstrap
10067 maybe-configure-stage4-gas: configure-stage4-gas
10068 configure-stage4-gas:
10069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10071 @r=`${PWD_COMMAND}`; export r; \
10072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10073 TFLAGS="$(STAGE4_TFLAGS)"; \
10074 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10075 $(HOST_EXPORTS) \
10076 $(POSTSTAGE1_HOST_EXPORTS) \
10077 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10078 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10079 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10080 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10082 cd $(HOST_SUBDIR)/gas || exit 1; \
10083 case $(srcdir) in \
10084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10085 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10087 esac; \
10088 module_srcdir=gas; \
10089 $(SHELL) $$s/$$module_srcdir/configure \
10090 --srcdir=$${topdir}/$$module_srcdir \
10091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10092 --target=${target_alias} \
10093 --with-build-libsubdir=$(HOST_SUBDIR) \
10094 $(STAGE4_CONFIGURE_FLAGS)
10095 @endif gas-bootstrap
10097 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10098 maybe-configure-stageprofile-gas:
10099 @if gas-bootstrap
10100 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10101 configure-stageprofile-gas:
10102 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10104 @r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10107 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10108 $(HOST_EXPORTS) \
10109 $(POSTSTAGE1_HOST_EXPORTS) \
10110 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10111 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10112 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10113 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10115 cd $(HOST_SUBDIR)/gas || exit 1; \
10116 case $(srcdir) in \
10117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10118 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10120 esac; \
10121 module_srcdir=gas; \
10122 $(SHELL) $$s/$$module_srcdir/configure \
10123 --srcdir=$${topdir}/$$module_srcdir \
10124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10125 --target=${target_alias} \
10126 --with-build-libsubdir=$(HOST_SUBDIR) \
10127 $(STAGEprofile_CONFIGURE_FLAGS)
10128 @endif gas-bootstrap
10130 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10131 maybe-configure-stagefeedback-gas:
10132 @if gas-bootstrap
10133 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10134 configure-stagefeedback-gas:
10135 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10137 @r=`${PWD_COMMAND}`; export r; \
10138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10139 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10140 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10141 $(HOST_EXPORTS) \
10142 $(POSTSTAGE1_HOST_EXPORTS) \
10143 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10144 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10145 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10146 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10148 cd $(HOST_SUBDIR)/gas || exit 1; \
10149 case $(srcdir) in \
10150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10151 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10153 esac; \
10154 module_srcdir=gas; \
10155 $(SHELL) $$s/$$module_srcdir/configure \
10156 --srcdir=$${topdir}/$$module_srcdir \
10157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10158 --target=${target_alias} \
10159 --with-build-libsubdir=$(HOST_SUBDIR) \
10160 $(STAGEfeedback_CONFIGURE_FLAGS)
10161 @endif gas-bootstrap
10163 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10164 maybe-configure-stageautoprofile-gas:
10165 @if gas-bootstrap
10166 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10167 configure-stageautoprofile-gas:
10168 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10170 @r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10173 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10174 $(HOST_EXPORTS) \
10175 $(POSTSTAGE1_HOST_EXPORTS) \
10176 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10177 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10178 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10179 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10181 cd $(HOST_SUBDIR)/gas || exit 1; \
10182 case $(srcdir) in \
10183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10184 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10186 esac; \
10187 module_srcdir=gas; \
10188 $(SHELL) $$s/$$module_srcdir/configure \
10189 --srcdir=$${topdir}/$$module_srcdir \
10190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10191 --target=${target_alias} \
10192 --with-build-libsubdir=$(HOST_SUBDIR) \
10193 $(STAGEautoprofile_CONFIGURE_FLAGS)
10194 @endif gas-bootstrap
10196 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10197 maybe-configure-stageautofeedback-gas:
10198 @if gas-bootstrap
10199 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10200 configure-stageautofeedback-gas:
10201 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10203 @r=`${PWD_COMMAND}`; export r; \
10204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10205 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10206 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10207 $(HOST_EXPORTS) \
10208 $(POSTSTAGE1_HOST_EXPORTS) \
10209 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10210 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10211 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10212 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10214 cd $(HOST_SUBDIR)/gas || exit 1; \
10215 case $(srcdir) in \
10216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10217 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10219 esac; \
10220 module_srcdir=gas; \
10221 $(SHELL) $$s/$$module_srcdir/configure \
10222 --srcdir=$${topdir}/$$module_srcdir \
10223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10224 --target=${target_alias} \
10225 --with-build-libsubdir=$(HOST_SUBDIR) \
10226 $(STAGEautofeedback_CONFIGURE_FLAGS)
10227 @endif gas-bootstrap
10233 .PHONY: all-gas maybe-all-gas
10234 maybe-all-gas:
10235 @if gcc-bootstrap
10236 all-gas: stage_current
10237 @endif gcc-bootstrap
10238 @if gas
10239 TARGET-gas=all
10240 maybe-all-gas: all-gas
10241 all-gas: configure-gas
10242 @r=`${PWD_COMMAND}`; export r; \
10243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10244 $(HOST_EXPORTS) \
10245 (cd $(HOST_SUBDIR)/gas && \
10246 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10247 $(TARGET-gas))
10248 @endif gas
10252 .PHONY: all-stage1-gas maybe-all-stage1-gas
10253 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10254 maybe-all-stage1-gas:
10255 maybe-clean-stage1-gas:
10256 @if gas-bootstrap
10257 maybe-all-stage1-gas: all-stage1-gas
10258 all-stage1: all-stage1-gas
10259 TARGET-stage1-gas = $(TARGET-gas)
10260 all-stage1-gas: configure-stage1-gas
10261 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10262 @r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 TFLAGS="$(STAGE1_TFLAGS)"; \
10265 $(HOST_EXPORTS) \
10266 cd $(HOST_SUBDIR)/gas && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10269 CFLAGS="$(STAGE1_CFLAGS)" \
10270 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10271 LIBCFLAGS="$(LIBCFLAGS)" \
10272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10275 $(EXTRA_HOST_FLAGS) \
10276 $(STAGE1_FLAGS_TO_PASS) \
10277 TFLAGS="$(STAGE1_TFLAGS)" \
10278 $(TARGET-stage1-gas)
10280 maybe-clean-stage1-gas: clean-stage1-gas
10281 clean-stage1: clean-stage1-gas
10282 clean-stage1-gas:
10283 @if [ $(current_stage) = stage1 ]; then \
10284 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10285 else \
10286 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10287 $(MAKE) stage1-start; \
10288 fi; \
10289 cd $(HOST_SUBDIR)/gas && \
10290 $(MAKE) $(EXTRA_HOST_FLAGS) \
10291 $(STAGE1_FLAGS_TO_PASS) clean
10292 @endif gas-bootstrap
10295 .PHONY: all-stage2-gas maybe-all-stage2-gas
10296 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10297 maybe-all-stage2-gas:
10298 maybe-clean-stage2-gas:
10299 @if gas-bootstrap
10300 maybe-all-stage2-gas: all-stage2-gas
10301 all-stage2: all-stage2-gas
10302 TARGET-stage2-gas = $(TARGET-gas)
10303 all-stage2-gas: configure-stage2-gas
10304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10305 @r=`${PWD_COMMAND}`; export r; \
10306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10307 TFLAGS="$(STAGE2_TFLAGS)"; \
10308 $(HOST_EXPORTS) \
10309 $(POSTSTAGE1_HOST_EXPORTS) \
10310 cd $(HOST_SUBDIR)/gas && \
10312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10313 CFLAGS="$(STAGE2_CFLAGS)" \
10314 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10315 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10320 TFLAGS="$(STAGE2_TFLAGS)" \
10321 $(TARGET-stage2-gas)
10323 maybe-clean-stage2-gas: clean-stage2-gas
10324 clean-stage2: clean-stage2-gas
10325 clean-stage2-gas:
10326 @if [ $(current_stage) = stage2 ]; then \
10327 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10328 else \
10329 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10330 $(MAKE) stage2-start; \
10331 fi; \
10332 cd $(HOST_SUBDIR)/gas && \
10333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10334 @endif gas-bootstrap
10337 .PHONY: all-stage3-gas maybe-all-stage3-gas
10338 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10339 maybe-all-stage3-gas:
10340 maybe-clean-stage3-gas:
10341 @if gas-bootstrap
10342 maybe-all-stage3-gas: all-stage3-gas
10343 all-stage3: all-stage3-gas
10344 TARGET-stage3-gas = $(TARGET-gas)
10345 all-stage3-gas: configure-stage3-gas
10346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10347 @r=`${PWD_COMMAND}`; export r; \
10348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349 TFLAGS="$(STAGE3_TFLAGS)"; \
10350 $(HOST_EXPORTS) \
10351 $(POSTSTAGE1_HOST_EXPORTS) \
10352 cd $(HOST_SUBDIR)/gas && \
10354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10355 CFLAGS="$(STAGE3_CFLAGS)" \
10356 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10357 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10362 TFLAGS="$(STAGE3_TFLAGS)" \
10363 $(TARGET-stage3-gas)
10365 maybe-clean-stage3-gas: clean-stage3-gas
10366 clean-stage3: clean-stage3-gas
10367 clean-stage3-gas:
10368 @if [ $(current_stage) = stage3 ]; then \
10369 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10370 else \
10371 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10372 $(MAKE) stage3-start; \
10373 fi; \
10374 cd $(HOST_SUBDIR)/gas && \
10375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10376 @endif gas-bootstrap
10379 .PHONY: all-stage4-gas maybe-all-stage4-gas
10380 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10381 maybe-all-stage4-gas:
10382 maybe-clean-stage4-gas:
10383 @if gas-bootstrap
10384 maybe-all-stage4-gas: all-stage4-gas
10385 all-stage4: all-stage4-gas
10386 TARGET-stage4-gas = $(TARGET-gas)
10387 all-stage4-gas: configure-stage4-gas
10388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10389 @r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 TFLAGS="$(STAGE4_TFLAGS)"; \
10392 $(HOST_EXPORTS) \
10393 $(POSTSTAGE1_HOST_EXPORTS) \
10394 cd $(HOST_SUBDIR)/gas && \
10396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10397 CFLAGS="$(STAGE4_CFLAGS)" \
10398 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10399 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10404 TFLAGS="$(STAGE4_TFLAGS)" \
10405 $(TARGET-stage4-gas)
10407 maybe-clean-stage4-gas: clean-stage4-gas
10408 clean-stage4: clean-stage4-gas
10409 clean-stage4-gas:
10410 @if [ $(current_stage) = stage4 ]; then \
10411 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10412 else \
10413 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10414 $(MAKE) stage4-start; \
10415 fi; \
10416 cd $(HOST_SUBDIR)/gas && \
10417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10418 @endif gas-bootstrap
10421 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10422 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10423 maybe-all-stageprofile-gas:
10424 maybe-clean-stageprofile-gas:
10425 @if gas-bootstrap
10426 maybe-all-stageprofile-gas: all-stageprofile-gas
10427 all-stageprofile: all-stageprofile-gas
10428 TARGET-stageprofile-gas = $(TARGET-gas)
10429 all-stageprofile-gas: configure-stageprofile-gas
10430 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10431 @r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10434 $(HOST_EXPORTS) \
10435 $(POSTSTAGE1_HOST_EXPORTS) \
10436 cd $(HOST_SUBDIR)/gas && \
10438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10439 CFLAGS="$(STAGEprofile_CFLAGS)" \
10440 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10441 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10446 TFLAGS="$(STAGEprofile_TFLAGS)" \
10447 $(TARGET-stageprofile-gas)
10449 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10450 clean-stageprofile: clean-stageprofile-gas
10451 clean-stageprofile-gas:
10452 @if [ $(current_stage) = stageprofile ]; then \
10453 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10454 else \
10455 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10456 $(MAKE) stageprofile-start; \
10457 fi; \
10458 cd $(HOST_SUBDIR)/gas && \
10459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10460 @endif gas-bootstrap
10463 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10464 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10465 maybe-all-stagefeedback-gas:
10466 maybe-clean-stagefeedback-gas:
10467 @if gas-bootstrap
10468 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10469 all-stagefeedback: all-stagefeedback-gas
10470 TARGET-stagefeedback-gas = $(TARGET-gas)
10471 all-stagefeedback-gas: configure-stagefeedback-gas
10472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10473 @r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10476 $(HOST_EXPORTS) \
10477 $(POSTSTAGE1_HOST_EXPORTS) \
10478 cd $(HOST_SUBDIR)/gas && \
10480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10481 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10482 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10483 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10488 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10489 $(TARGET-stagefeedback-gas)
10491 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10492 clean-stagefeedback: clean-stagefeedback-gas
10493 clean-stagefeedback-gas:
10494 @if [ $(current_stage) = stagefeedback ]; then \
10495 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10496 else \
10497 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10498 $(MAKE) stagefeedback-start; \
10499 fi; \
10500 cd $(HOST_SUBDIR)/gas && \
10501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10502 @endif gas-bootstrap
10505 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10506 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10507 maybe-all-stageautoprofile-gas:
10508 maybe-clean-stageautoprofile-gas:
10509 @if gas-bootstrap
10510 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10511 all-stageautoprofile: all-stageautoprofile-gas
10512 TARGET-stageautoprofile-gas = $(TARGET-gas)
10513 all-stageautoprofile-gas: configure-stageautoprofile-gas
10514 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10518 $(HOST_EXPORTS) \
10519 $(POSTSTAGE1_HOST_EXPORTS) \
10520 cd $(HOST_SUBDIR)/gas && \
10521 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10523 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10524 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10525 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10529 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10530 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10531 $(TARGET-stageautoprofile-gas)
10533 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10534 clean-stageautoprofile: clean-stageautoprofile-gas
10535 clean-stageautoprofile-gas:
10536 @if [ $(current_stage) = stageautoprofile ]; then \
10537 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10538 else \
10539 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10540 $(MAKE) stageautoprofile-start; \
10541 fi; \
10542 cd $(HOST_SUBDIR)/gas && \
10543 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10544 @endif gas-bootstrap
10547 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10548 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10549 maybe-all-stageautofeedback-gas:
10550 maybe-clean-stageautofeedback-gas:
10551 @if gas-bootstrap
10552 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10553 all-stageautofeedback: all-stageautofeedback-gas
10554 TARGET-stageautofeedback-gas = $(TARGET-gas)
10555 all-stageautofeedback-gas: configure-stageautofeedback-gas
10556 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10557 @r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10560 $(HOST_EXPORTS) \
10561 $(POSTSTAGE1_HOST_EXPORTS) \
10562 cd $(HOST_SUBDIR)/gas && \
10564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10565 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10566 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10567 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10572 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10573 $(TARGET-stageautofeedback-gas)
10575 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10576 clean-stageautofeedback: clean-stageautofeedback-gas
10577 clean-stageautofeedback-gas:
10578 @if [ $(current_stage) = stageautofeedback ]; then \
10579 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10580 else \
10581 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10582 $(MAKE) stageautofeedback-start; \
10583 fi; \
10584 cd $(HOST_SUBDIR)/gas && \
10585 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10586 @endif gas-bootstrap
10592 .PHONY: check-gas maybe-check-gas
10593 maybe-check-gas:
10594 @if gas
10595 maybe-check-gas: check-gas
10597 check-gas:
10598 @: $(MAKE); $(unstage)
10599 @r=`${PWD_COMMAND}`; export r; \
10600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10602 (cd $(HOST_SUBDIR)/gas && \
10603 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10605 @endif gas
10607 .PHONY: install-gas maybe-install-gas
10608 maybe-install-gas:
10609 @if gas
10610 maybe-install-gas: install-gas
10612 install-gas: installdirs
10613 @: $(MAKE); $(unstage)
10614 @r=`${PWD_COMMAND}`; export r; \
10615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 $(HOST_EXPORTS) \
10617 (cd $(HOST_SUBDIR)/gas && \
10618 $(MAKE) $(FLAGS_TO_PASS) install)
10620 @endif gas
10622 .PHONY: install-strip-gas maybe-install-strip-gas
10623 maybe-install-strip-gas:
10624 @if gas
10625 maybe-install-strip-gas: install-strip-gas
10627 install-strip-gas: installdirs
10628 @: $(MAKE); $(unstage)
10629 @r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 (cd $(HOST_SUBDIR)/gas && \
10633 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10635 @endif gas
10637 # Other targets (info, dvi, pdf, etc.)
10639 .PHONY: maybe-info-gas info-gas
10640 maybe-info-gas:
10641 @if gas
10642 maybe-info-gas: info-gas
10644 info-gas: \
10645 configure-gas
10646 @[ -f ./gas/Makefile ] || exit 0; \
10647 r=`${PWD_COMMAND}`; export r; \
10648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10649 $(HOST_EXPORTS) \
10650 for flag in $(EXTRA_HOST_FLAGS) ; do \
10651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10652 done; \
10653 echo "Doing info in gas"; \
10654 (cd $(HOST_SUBDIR)/gas && \
10655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10657 "RANLIB=$${RANLIB}" \
10658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10659 info) \
10660 || exit 1
10662 @endif gas
10664 .PHONY: maybe-dvi-gas dvi-gas
10665 maybe-dvi-gas:
10666 @if gas
10667 maybe-dvi-gas: dvi-gas
10669 dvi-gas: \
10670 configure-gas
10671 @[ -f ./gas/Makefile ] || exit 0; \
10672 r=`${PWD_COMMAND}`; export r; \
10673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10674 $(HOST_EXPORTS) \
10675 for flag in $(EXTRA_HOST_FLAGS) ; do \
10676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10677 done; \
10678 echo "Doing dvi in gas"; \
10679 (cd $(HOST_SUBDIR)/gas && \
10680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682 "RANLIB=$${RANLIB}" \
10683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10684 dvi) \
10685 || exit 1
10687 @endif gas
10689 .PHONY: maybe-pdf-gas pdf-gas
10690 maybe-pdf-gas:
10691 @if gas
10692 maybe-pdf-gas: pdf-gas
10694 pdf-gas: \
10695 configure-gas
10696 @[ -f ./gas/Makefile ] || exit 0; \
10697 r=`${PWD_COMMAND}`; export r; \
10698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10699 $(HOST_EXPORTS) \
10700 for flag in $(EXTRA_HOST_FLAGS) ; do \
10701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10702 done; \
10703 echo "Doing pdf in gas"; \
10704 (cd $(HOST_SUBDIR)/gas && \
10705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10707 "RANLIB=$${RANLIB}" \
10708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10709 pdf) \
10710 || exit 1
10712 @endif gas
10714 .PHONY: maybe-html-gas html-gas
10715 maybe-html-gas:
10716 @if gas
10717 maybe-html-gas: html-gas
10719 html-gas: \
10720 configure-gas
10721 @[ -f ./gas/Makefile ] || exit 0; \
10722 r=`${PWD_COMMAND}`; export r; \
10723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10724 $(HOST_EXPORTS) \
10725 for flag in $(EXTRA_HOST_FLAGS) ; do \
10726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10727 done; \
10728 echo "Doing html in gas"; \
10729 (cd $(HOST_SUBDIR)/gas && \
10730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10732 "RANLIB=$${RANLIB}" \
10733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10734 html) \
10735 || exit 1
10737 @endif gas
10739 .PHONY: maybe-TAGS-gas TAGS-gas
10740 maybe-TAGS-gas:
10741 @if gas
10742 maybe-TAGS-gas: TAGS-gas
10744 TAGS-gas: \
10745 configure-gas
10746 @[ -f ./gas/Makefile ] || exit 0; \
10747 r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10749 $(HOST_EXPORTS) \
10750 for flag in $(EXTRA_HOST_FLAGS) ; do \
10751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10752 done; \
10753 echo "Doing TAGS in gas"; \
10754 (cd $(HOST_SUBDIR)/gas && \
10755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10757 "RANLIB=$${RANLIB}" \
10758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10759 TAGS) \
10760 || exit 1
10762 @endif gas
10764 .PHONY: maybe-install-info-gas install-info-gas
10765 maybe-install-info-gas:
10766 @if gas
10767 maybe-install-info-gas: install-info-gas
10769 install-info-gas: \
10770 configure-gas \
10771 info-gas
10772 @[ -f ./gas/Makefile ] || exit 0; \
10773 r=`${PWD_COMMAND}`; export r; \
10774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10775 $(HOST_EXPORTS) \
10776 for flag in $(EXTRA_HOST_FLAGS) ; do \
10777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10778 done; \
10779 echo "Doing install-info in gas"; \
10780 (cd $(HOST_SUBDIR)/gas && \
10781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10783 "RANLIB=$${RANLIB}" \
10784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10785 install-info) \
10786 || exit 1
10788 @endif gas
10790 .PHONY: maybe-install-pdf-gas install-pdf-gas
10791 maybe-install-pdf-gas:
10792 @if gas
10793 maybe-install-pdf-gas: install-pdf-gas
10795 install-pdf-gas: \
10796 configure-gas \
10797 pdf-gas
10798 @[ -f ./gas/Makefile ] || exit 0; \
10799 r=`${PWD_COMMAND}`; export r; \
10800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10801 $(HOST_EXPORTS) \
10802 for flag in $(EXTRA_HOST_FLAGS) ; do \
10803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10804 done; \
10805 echo "Doing install-pdf in gas"; \
10806 (cd $(HOST_SUBDIR)/gas && \
10807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10809 "RANLIB=$${RANLIB}" \
10810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10811 install-pdf) \
10812 || exit 1
10814 @endif gas
10816 .PHONY: maybe-install-html-gas install-html-gas
10817 maybe-install-html-gas:
10818 @if gas
10819 maybe-install-html-gas: install-html-gas
10821 install-html-gas: \
10822 configure-gas \
10823 html-gas
10824 @[ -f ./gas/Makefile ] || exit 0; \
10825 r=`${PWD_COMMAND}`; export r; \
10826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10827 $(HOST_EXPORTS) \
10828 for flag in $(EXTRA_HOST_FLAGS) ; do \
10829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10830 done; \
10831 echo "Doing install-html in gas"; \
10832 (cd $(HOST_SUBDIR)/gas && \
10833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10835 "RANLIB=$${RANLIB}" \
10836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10837 install-html) \
10838 || exit 1
10840 @endif gas
10842 .PHONY: maybe-installcheck-gas installcheck-gas
10843 maybe-installcheck-gas:
10844 @if gas
10845 maybe-installcheck-gas: installcheck-gas
10847 installcheck-gas: \
10848 configure-gas
10849 @[ -f ./gas/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852 $(HOST_EXPORTS) \
10853 for flag in $(EXTRA_HOST_FLAGS) ; do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855 done; \
10856 echo "Doing installcheck in gas"; \
10857 (cd $(HOST_SUBDIR)/gas && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10862 installcheck) \
10863 || exit 1
10865 @endif gas
10867 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10868 maybe-mostlyclean-gas:
10869 @if gas
10870 maybe-mostlyclean-gas: mostlyclean-gas
10872 mostlyclean-gas:
10873 @[ -f ./gas/Makefile ] || exit 0; \
10874 r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 $(HOST_EXPORTS) \
10877 for flag in $(EXTRA_HOST_FLAGS) ; do \
10878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10879 done; \
10880 echo "Doing mostlyclean in gas"; \
10881 (cd $(HOST_SUBDIR)/gas && \
10882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10884 "RANLIB=$${RANLIB}" \
10885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10886 mostlyclean) \
10887 || exit 1
10889 @endif gas
10891 .PHONY: maybe-clean-gas clean-gas
10892 maybe-clean-gas:
10893 @if gas
10894 maybe-clean-gas: clean-gas
10896 clean-gas:
10897 @[ -f ./gas/Makefile ] || exit 0; \
10898 r=`${PWD_COMMAND}`; export r; \
10899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10900 $(HOST_EXPORTS) \
10901 for flag in $(EXTRA_HOST_FLAGS) ; do \
10902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10903 done; \
10904 echo "Doing clean in gas"; \
10905 (cd $(HOST_SUBDIR)/gas && \
10906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10908 "RANLIB=$${RANLIB}" \
10909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10910 clean) \
10911 || exit 1
10913 @endif gas
10915 .PHONY: maybe-distclean-gas distclean-gas
10916 maybe-distclean-gas:
10917 @if gas
10918 maybe-distclean-gas: distclean-gas
10920 distclean-gas:
10921 @[ -f ./gas/Makefile ] || exit 0; \
10922 r=`${PWD_COMMAND}`; export r; \
10923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10924 $(HOST_EXPORTS) \
10925 for flag in $(EXTRA_HOST_FLAGS) ; do \
10926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10927 done; \
10928 echo "Doing distclean in gas"; \
10929 (cd $(HOST_SUBDIR)/gas && \
10930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10932 "RANLIB=$${RANLIB}" \
10933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10934 distclean) \
10935 || exit 1
10937 @endif gas
10939 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10940 maybe-maintainer-clean-gas:
10941 @if gas
10942 maybe-maintainer-clean-gas: maintainer-clean-gas
10944 maintainer-clean-gas:
10945 @[ -f ./gas/Makefile ] || exit 0; \
10946 r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10948 $(HOST_EXPORTS) \
10949 for flag in $(EXTRA_HOST_FLAGS) ; do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10951 done; \
10952 echo "Doing maintainer-clean in gas"; \
10953 (cd $(HOST_SUBDIR)/gas && \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10958 maintainer-clean) \
10959 || exit 1
10961 @endif gas
10965 .PHONY: configure-gcc maybe-configure-gcc
10966 maybe-configure-gcc:
10967 @if gcc-bootstrap
10968 configure-gcc: stage_current
10969 @endif gcc-bootstrap
10970 @if gcc
10971 maybe-configure-gcc: configure-gcc
10972 configure-gcc:
10973 @r=`${PWD_COMMAND}`; export r; \
10974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10975 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10977 $(HOST_EXPORTS) \
10978 echo Configuring in $(HOST_SUBDIR)/gcc; \
10979 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10980 case $(srcdir) in \
10981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10982 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10984 esac; \
10985 module_srcdir=gcc; \
10986 $(SHELL) \
10987 $$s/$$module_srcdir/configure \
10988 --srcdir=$${topdir}/$$module_srcdir \
10989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10990 --target=${target_alias} \
10991 || exit 1
10992 @endif gcc
10996 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10997 maybe-configure-stage1-gcc:
10998 @if gcc-bootstrap
10999 maybe-configure-stage1-gcc: configure-stage1-gcc
11000 configure-stage1-gcc:
11001 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11003 @r=`${PWD_COMMAND}`; export r; \
11004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11005 TFLAGS="$(STAGE1_TFLAGS)"; \
11006 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11007 $(HOST_EXPORTS) \
11008 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11009 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11010 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11011 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11013 cd $(HOST_SUBDIR)/gcc || exit 1; \
11014 case $(srcdir) in \
11015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11016 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11018 esac; \
11019 module_srcdir=gcc; \
11020 $(SHELL) $$s/$$module_srcdir/configure \
11021 --srcdir=$${topdir}/$$module_srcdir \
11022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11023 --target=${target_alias} \
11025 $(STAGE1_CONFIGURE_FLAGS)
11026 @endif gcc-bootstrap
11028 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11029 maybe-configure-stage2-gcc:
11030 @if gcc-bootstrap
11031 maybe-configure-stage2-gcc: configure-stage2-gcc
11032 configure-stage2-gcc:
11033 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11035 @r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 TFLAGS="$(STAGE2_TFLAGS)"; \
11038 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11039 $(HOST_EXPORTS) \
11040 $(POSTSTAGE1_HOST_EXPORTS) \
11041 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11042 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11043 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11044 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11046 cd $(HOST_SUBDIR)/gcc || exit 1; \
11047 case $(srcdir) in \
11048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11049 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11051 esac; \
11052 module_srcdir=gcc; \
11053 $(SHELL) $$s/$$module_srcdir/configure \
11054 --srcdir=$${topdir}/$$module_srcdir \
11055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11056 --target=${target_alias} \
11057 --with-build-libsubdir=$(HOST_SUBDIR) \
11058 $(STAGE2_CONFIGURE_FLAGS)
11059 @endif gcc-bootstrap
11061 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11062 maybe-configure-stage3-gcc:
11063 @if gcc-bootstrap
11064 maybe-configure-stage3-gcc: configure-stage3-gcc
11065 configure-stage3-gcc:
11066 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11068 @r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 TFLAGS="$(STAGE3_TFLAGS)"; \
11071 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11072 $(HOST_EXPORTS) \
11073 $(POSTSTAGE1_HOST_EXPORTS) \
11074 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11075 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11076 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11077 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11079 cd $(HOST_SUBDIR)/gcc || exit 1; \
11080 case $(srcdir) in \
11081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11082 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11084 esac; \
11085 module_srcdir=gcc; \
11086 $(SHELL) $$s/$$module_srcdir/configure \
11087 --srcdir=$${topdir}/$$module_srcdir \
11088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11089 --target=${target_alias} \
11090 --with-build-libsubdir=$(HOST_SUBDIR) \
11091 $(STAGE3_CONFIGURE_FLAGS)
11092 @endif gcc-bootstrap
11094 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11095 maybe-configure-stage4-gcc:
11096 @if gcc-bootstrap
11097 maybe-configure-stage4-gcc: configure-stage4-gcc
11098 configure-stage4-gcc:
11099 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11101 @r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 TFLAGS="$(STAGE4_TFLAGS)"; \
11104 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11105 $(HOST_EXPORTS) \
11106 $(POSTSTAGE1_HOST_EXPORTS) \
11107 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11108 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11109 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11110 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11112 cd $(HOST_SUBDIR)/gcc || exit 1; \
11113 case $(srcdir) in \
11114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11115 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11117 esac; \
11118 module_srcdir=gcc; \
11119 $(SHELL) $$s/$$module_srcdir/configure \
11120 --srcdir=$${topdir}/$$module_srcdir \
11121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11122 --target=${target_alias} \
11123 --with-build-libsubdir=$(HOST_SUBDIR) \
11124 $(STAGE4_CONFIGURE_FLAGS)
11125 @endif gcc-bootstrap
11127 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11128 maybe-configure-stageprofile-gcc:
11129 @if gcc-bootstrap
11130 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11131 configure-stageprofile-gcc:
11132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11134 @r=`${PWD_COMMAND}`; export r; \
11135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11137 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11138 $(HOST_EXPORTS) \
11139 $(POSTSTAGE1_HOST_EXPORTS) \
11140 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11142 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11143 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11145 cd $(HOST_SUBDIR)/gcc || exit 1; \
11146 case $(srcdir) in \
11147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11148 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11150 esac; \
11151 module_srcdir=gcc; \
11152 $(SHELL) $$s/$$module_srcdir/configure \
11153 --srcdir=$${topdir}/$$module_srcdir \
11154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11155 --target=${target_alias} \
11156 --with-build-libsubdir=$(HOST_SUBDIR) \
11157 $(STAGEprofile_CONFIGURE_FLAGS)
11158 @endif gcc-bootstrap
11160 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11161 maybe-configure-stagefeedback-gcc:
11162 @if gcc-bootstrap
11163 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11164 configure-stagefeedback-gcc:
11165 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11167 @r=`${PWD_COMMAND}`; export r; \
11168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11169 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11170 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11171 $(HOST_EXPORTS) \
11172 $(POSTSTAGE1_HOST_EXPORTS) \
11173 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11174 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11175 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11176 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11178 cd $(HOST_SUBDIR)/gcc || exit 1; \
11179 case $(srcdir) in \
11180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11181 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11183 esac; \
11184 module_srcdir=gcc; \
11185 $(SHELL) $$s/$$module_srcdir/configure \
11186 --srcdir=$${topdir}/$$module_srcdir \
11187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11188 --target=${target_alias} \
11189 --with-build-libsubdir=$(HOST_SUBDIR) \
11190 $(STAGEfeedback_CONFIGURE_FLAGS)
11191 @endif gcc-bootstrap
11193 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11194 maybe-configure-stageautoprofile-gcc:
11195 @if gcc-bootstrap
11196 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11197 configure-stageautoprofile-gcc:
11198 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11200 @r=`${PWD_COMMAND}`; export r; \
11201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11202 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11203 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11204 $(HOST_EXPORTS) \
11205 $(POSTSTAGE1_HOST_EXPORTS) \
11206 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11207 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11208 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11209 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11211 cd $(HOST_SUBDIR)/gcc || exit 1; \
11212 case $(srcdir) in \
11213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11214 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11216 esac; \
11217 module_srcdir=gcc; \
11218 $(SHELL) $$s/$$module_srcdir/configure \
11219 --srcdir=$${topdir}/$$module_srcdir \
11220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11221 --target=${target_alias} \
11222 --with-build-libsubdir=$(HOST_SUBDIR) \
11223 $(STAGEautoprofile_CONFIGURE_FLAGS)
11224 @endif gcc-bootstrap
11226 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11227 maybe-configure-stageautofeedback-gcc:
11228 @if gcc-bootstrap
11229 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11230 configure-stageautofeedback-gcc:
11231 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11233 @r=`${PWD_COMMAND}`; export r; \
11234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11236 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11237 $(HOST_EXPORTS) \
11238 $(POSTSTAGE1_HOST_EXPORTS) \
11239 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11240 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11241 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11242 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11244 cd $(HOST_SUBDIR)/gcc || exit 1; \
11245 case $(srcdir) in \
11246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11247 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11249 esac; \
11250 module_srcdir=gcc; \
11251 $(SHELL) $$s/$$module_srcdir/configure \
11252 --srcdir=$${topdir}/$$module_srcdir \
11253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11254 --target=${target_alias} \
11255 --with-build-libsubdir=$(HOST_SUBDIR) \
11256 $(STAGEautofeedback_CONFIGURE_FLAGS)
11257 @endif gcc-bootstrap
11263 .PHONY: all-gcc maybe-all-gcc
11264 maybe-all-gcc:
11265 @if gcc-bootstrap
11266 all-gcc: stage_current
11267 @endif gcc-bootstrap
11268 @if gcc
11269 TARGET-gcc=all
11270 maybe-all-gcc: all-gcc
11271 all-gcc: configure-gcc
11272 @r=`${PWD_COMMAND}`; export r; \
11273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11274 $(HOST_EXPORTS) \
11275 (cd $(HOST_SUBDIR)/gcc && \
11276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11277 $(TARGET-gcc))
11278 @endif gcc
11282 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11283 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11284 maybe-all-stage1-gcc:
11285 maybe-clean-stage1-gcc:
11286 @if gcc-bootstrap
11287 maybe-all-stage1-gcc: all-stage1-gcc
11288 all-stage1: all-stage1-gcc
11289 TARGET-stage1-gcc = $(TARGET-gcc)
11290 all-stage1-gcc: configure-stage1-gcc
11291 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11292 @r=`${PWD_COMMAND}`; export r; \
11293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11294 TFLAGS="$(STAGE1_TFLAGS)"; \
11295 $(HOST_EXPORTS) \
11296 cd $(HOST_SUBDIR)/gcc && \
11298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11299 CFLAGS="$(STAGE1_CFLAGS)" \
11300 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11301 LIBCFLAGS="$(LIBCFLAGS)" \
11302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11305 $(EXTRA_HOST_FLAGS) \
11306 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11307 TFLAGS="$(STAGE1_TFLAGS)" \
11308 $(TARGET-stage1-gcc)
11310 maybe-clean-stage1-gcc: clean-stage1-gcc
11311 clean-stage1: clean-stage1-gcc
11312 clean-stage1-gcc:
11313 @if [ $(current_stage) = stage1 ]; then \
11314 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11315 else \
11316 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11317 $(MAKE) stage1-start; \
11318 fi; \
11319 cd $(HOST_SUBDIR)/gcc && \
11320 $(MAKE) $(EXTRA_HOST_FLAGS) \
11321 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11322 @endif gcc-bootstrap
11325 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11326 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11327 maybe-all-stage2-gcc:
11328 maybe-clean-stage2-gcc:
11329 @if gcc-bootstrap
11330 maybe-all-stage2-gcc: all-stage2-gcc
11331 all-stage2: all-stage2-gcc
11332 TARGET-stage2-gcc = $(TARGET-gcc)
11333 all-stage2-gcc: configure-stage2-gcc
11334 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11335 @r=`${PWD_COMMAND}`; export r; \
11336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11337 TFLAGS="$(STAGE2_TFLAGS)"; \
11338 $(HOST_EXPORTS) \
11339 $(POSTSTAGE1_HOST_EXPORTS) \
11340 cd $(HOST_SUBDIR)/gcc && \
11342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11343 CFLAGS="$(STAGE2_CFLAGS)" \
11344 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11345 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11350 TFLAGS="$(STAGE2_TFLAGS)" \
11351 $(TARGET-stage2-gcc)
11353 maybe-clean-stage2-gcc: clean-stage2-gcc
11354 clean-stage2: clean-stage2-gcc
11355 clean-stage2-gcc:
11356 @if [ $(current_stage) = stage2 ]; then \
11357 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11358 else \
11359 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11360 $(MAKE) stage2-start; \
11361 fi; \
11362 cd $(HOST_SUBDIR)/gcc && \
11363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11364 @endif gcc-bootstrap
11367 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11368 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11369 maybe-all-stage3-gcc:
11370 maybe-clean-stage3-gcc:
11371 @if gcc-bootstrap
11372 maybe-all-stage3-gcc: all-stage3-gcc
11373 all-stage3: all-stage3-gcc
11374 TARGET-stage3-gcc = $(TARGET-gcc)
11375 all-stage3-gcc: configure-stage3-gcc
11376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11377 @r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11379 TFLAGS="$(STAGE3_TFLAGS)"; \
11380 $(HOST_EXPORTS) \
11381 $(POSTSTAGE1_HOST_EXPORTS) \
11382 cd $(HOST_SUBDIR)/gcc && \
11384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11385 CFLAGS="$(STAGE3_CFLAGS)" \
11386 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11387 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11392 TFLAGS="$(STAGE3_TFLAGS)" \
11393 $(TARGET-stage3-gcc)
11395 maybe-clean-stage3-gcc: clean-stage3-gcc
11396 clean-stage3: clean-stage3-gcc
11397 clean-stage3-gcc:
11398 @if [ $(current_stage) = stage3 ]; then \
11399 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11400 else \
11401 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11402 $(MAKE) stage3-start; \
11403 fi; \
11404 cd $(HOST_SUBDIR)/gcc && \
11405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11406 @endif gcc-bootstrap
11409 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11410 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11411 maybe-all-stage4-gcc:
11412 maybe-clean-stage4-gcc:
11413 @if gcc-bootstrap
11414 maybe-all-stage4-gcc: all-stage4-gcc
11415 all-stage4: all-stage4-gcc
11416 TARGET-stage4-gcc = $(TARGET-gcc)
11417 all-stage4-gcc: configure-stage4-gcc
11418 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11419 @r=`${PWD_COMMAND}`; export r; \
11420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11421 TFLAGS="$(STAGE4_TFLAGS)"; \
11422 $(HOST_EXPORTS) \
11423 $(POSTSTAGE1_HOST_EXPORTS) \
11424 cd $(HOST_SUBDIR)/gcc && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11427 CFLAGS="$(STAGE4_CFLAGS)" \
11428 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11429 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11434 TFLAGS="$(STAGE4_TFLAGS)" \
11435 $(TARGET-stage4-gcc)
11437 maybe-clean-stage4-gcc: clean-stage4-gcc
11438 clean-stage4: clean-stage4-gcc
11439 clean-stage4-gcc:
11440 @if [ $(current_stage) = stage4 ]; then \
11441 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11442 else \
11443 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11444 $(MAKE) stage4-start; \
11445 fi; \
11446 cd $(HOST_SUBDIR)/gcc && \
11447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11448 @endif gcc-bootstrap
11451 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11452 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11453 maybe-all-stageprofile-gcc:
11454 maybe-clean-stageprofile-gcc:
11455 @if gcc-bootstrap
11456 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11457 all-stageprofile: all-stageprofile-gcc
11458 TARGET-stageprofile-gcc = $(TARGET-gcc)
11459 all-stageprofile-gcc: configure-stageprofile-gcc
11460 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11461 @r=`${PWD_COMMAND}`; export r; \
11462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11463 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11464 $(HOST_EXPORTS) \
11465 $(POSTSTAGE1_HOST_EXPORTS) \
11466 cd $(HOST_SUBDIR)/gcc && \
11468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11469 CFLAGS="$(STAGEprofile_CFLAGS)" \
11470 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11471 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11476 TFLAGS="$(STAGEprofile_TFLAGS)" \
11477 $(TARGET-stageprofile-gcc)
11479 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11480 clean-stageprofile: clean-stageprofile-gcc
11481 clean-stageprofile-gcc:
11482 @if [ $(current_stage) = stageprofile ]; then \
11483 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11484 else \
11485 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11486 $(MAKE) stageprofile-start; \
11487 fi; \
11488 cd $(HOST_SUBDIR)/gcc && \
11489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11490 @endif gcc-bootstrap
11493 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11494 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11495 maybe-all-stagefeedback-gcc:
11496 maybe-clean-stagefeedback-gcc:
11497 @if gcc-bootstrap
11498 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11499 all-stagefeedback: all-stagefeedback-gcc
11500 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11501 all-stagefeedback-gcc: configure-stagefeedback-gcc
11502 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11503 @r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11506 $(HOST_EXPORTS) \
11507 $(POSTSTAGE1_HOST_EXPORTS) \
11508 cd $(HOST_SUBDIR)/gcc && \
11510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11511 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11512 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11513 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11518 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11519 $(TARGET-stagefeedback-gcc)
11521 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11522 clean-stagefeedback: clean-stagefeedback-gcc
11523 clean-stagefeedback-gcc:
11524 @if [ $(current_stage) = stagefeedback ]; then \
11525 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11526 else \
11527 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11528 $(MAKE) stagefeedback-start; \
11529 fi; \
11530 cd $(HOST_SUBDIR)/gcc && \
11531 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11532 @endif gcc-bootstrap
11535 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11536 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11537 maybe-all-stageautoprofile-gcc:
11538 maybe-clean-stageautoprofile-gcc:
11539 @if gcc-bootstrap
11540 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11541 all-stageautoprofile: all-stageautoprofile-gcc
11542 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11543 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11544 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11545 @r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11548 $(HOST_EXPORTS) \
11549 $(POSTSTAGE1_HOST_EXPORTS) \
11550 cd $(HOST_SUBDIR)/gcc && \
11551 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11553 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11554 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11555 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11560 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11561 $(TARGET-stageautoprofile-gcc)
11563 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
11564 clean-stageautoprofile: clean-stageautoprofile-gcc
11565 clean-stageautoprofile-gcc:
11566 @if [ $(current_stage) = stageautoprofile ]; then \
11567 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11568 else \
11569 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
11570 $(MAKE) stageautoprofile-start; \
11571 fi; \
11572 cd $(HOST_SUBDIR)/gcc && \
11573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11574 @endif gcc-bootstrap
11577 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
11578 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
11579 maybe-all-stageautofeedback-gcc:
11580 maybe-clean-stageautofeedback-gcc:
11581 @if gcc-bootstrap
11582 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
11583 all-stageautofeedback: all-stageautofeedback-gcc
11584 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
11585 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
11586 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11590 $(HOST_EXPORTS) \
11591 $(POSTSTAGE1_HOST_EXPORTS) \
11592 cd $(HOST_SUBDIR)/gcc && \
11594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11595 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11596 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11597 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11602 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11603 $(TARGET-stageautofeedback-gcc)
11605 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
11606 clean-stageautofeedback: clean-stageautofeedback-gcc
11607 clean-stageautofeedback-gcc:
11608 @if [ $(current_stage) = stageautofeedback ]; then \
11609 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11610 else \
11611 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
11612 $(MAKE) stageautofeedback-start; \
11613 fi; \
11614 cd $(HOST_SUBDIR)/gcc && \
11615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11616 @endif gcc-bootstrap
11622 .PHONY: check-gcc maybe-check-gcc
11623 maybe-check-gcc:
11624 @if gcc
11625 maybe-check-gcc: check-gcc
11627 check-gcc:
11628 @: $(MAKE); $(unstage)
11629 @r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11631 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11632 (cd $(HOST_SUBDIR)/gcc && \
11633 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11635 @endif gcc
11637 .PHONY: install-gcc maybe-install-gcc
11638 maybe-install-gcc:
11639 @if gcc
11640 maybe-install-gcc: install-gcc
11642 install-gcc: installdirs
11643 @: $(MAKE); $(unstage)
11644 @r=`${PWD_COMMAND}`; export r; \
11645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646 $(HOST_EXPORTS) \
11647 (cd $(HOST_SUBDIR)/gcc && \
11648 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11650 @endif gcc
11652 .PHONY: install-strip-gcc maybe-install-strip-gcc
11653 maybe-install-strip-gcc:
11654 @if gcc
11655 maybe-install-strip-gcc: install-strip-gcc
11657 install-strip-gcc: installdirs
11658 @: $(MAKE); $(unstage)
11659 @r=`${PWD_COMMAND}`; export r; \
11660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11661 $(HOST_EXPORTS) \
11662 (cd $(HOST_SUBDIR)/gcc && \
11663 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
11665 @endif gcc
11667 # Other targets (info, dvi, pdf, etc.)
11669 .PHONY: maybe-info-gcc info-gcc
11670 maybe-info-gcc:
11671 @if gcc
11672 maybe-info-gcc: info-gcc
11674 info-gcc: \
11675 configure-gcc
11676 @[ -f ./gcc/Makefile ] || exit 0; \
11677 r=`${PWD_COMMAND}`; export r; \
11678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11679 $(HOST_EXPORTS) \
11680 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11682 done; \
11683 echo "Doing info in gcc"; \
11684 (cd $(HOST_SUBDIR)/gcc && \
11685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11687 "RANLIB=$${RANLIB}" \
11688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11689 info) \
11690 || exit 1
11692 @endif gcc
11694 .PHONY: maybe-dvi-gcc dvi-gcc
11695 maybe-dvi-gcc:
11696 @if gcc
11697 maybe-dvi-gcc: dvi-gcc
11699 dvi-gcc: \
11700 configure-gcc
11701 @[ -f ./gcc/Makefile ] || exit 0; \
11702 r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704 $(HOST_EXPORTS) \
11705 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11707 done; \
11708 echo "Doing dvi in gcc"; \
11709 (cd $(HOST_SUBDIR)/gcc && \
11710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11712 "RANLIB=$${RANLIB}" \
11713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11714 dvi) \
11715 || exit 1
11717 @endif gcc
11719 .PHONY: maybe-pdf-gcc pdf-gcc
11720 maybe-pdf-gcc:
11721 @if gcc
11722 maybe-pdf-gcc: pdf-gcc
11724 pdf-gcc: \
11725 configure-gcc
11726 @[ -f ./gcc/Makefile ] || exit 0; \
11727 r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 $(HOST_EXPORTS) \
11730 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11732 done; \
11733 echo "Doing pdf in gcc"; \
11734 (cd $(HOST_SUBDIR)/gcc && \
11735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11737 "RANLIB=$${RANLIB}" \
11738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11739 pdf) \
11740 || exit 1
11742 @endif gcc
11744 .PHONY: maybe-html-gcc html-gcc
11745 maybe-html-gcc:
11746 @if gcc
11747 maybe-html-gcc: html-gcc
11749 html-gcc: \
11750 configure-gcc
11751 @[ -f ./gcc/Makefile ] || exit 0; \
11752 r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 echo "Doing html in gcc"; \
11759 (cd $(HOST_SUBDIR)/gcc && \
11760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11762 "RANLIB=$${RANLIB}" \
11763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11764 html) \
11765 || exit 1
11767 @endif gcc
11769 .PHONY: maybe-TAGS-gcc TAGS-gcc
11770 maybe-TAGS-gcc:
11771 @if gcc
11772 maybe-TAGS-gcc: TAGS-gcc
11774 TAGS-gcc: \
11775 configure-gcc
11776 @[ -f ./gcc/Makefile ] || exit 0; \
11777 r=`${PWD_COMMAND}`; export r; \
11778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11779 $(HOST_EXPORTS) \
11780 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11782 done; \
11783 echo "Doing TAGS in gcc"; \
11784 (cd $(HOST_SUBDIR)/gcc && \
11785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11787 "RANLIB=$${RANLIB}" \
11788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11789 TAGS) \
11790 || exit 1
11792 @endif gcc
11794 .PHONY: maybe-install-info-gcc install-info-gcc
11795 maybe-install-info-gcc:
11796 @if gcc
11797 maybe-install-info-gcc: install-info-gcc
11799 install-info-gcc: \
11800 configure-gcc \
11801 info-gcc
11802 @[ -f ./gcc/Makefile ] || exit 0; \
11803 r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 $(HOST_EXPORTS) \
11806 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11808 done; \
11809 echo "Doing install-info in gcc"; \
11810 (cd $(HOST_SUBDIR)/gcc && \
11811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11813 "RANLIB=$${RANLIB}" \
11814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11815 install-info) \
11816 || exit 1
11818 @endif gcc
11820 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
11821 maybe-install-pdf-gcc:
11822 @if gcc
11823 maybe-install-pdf-gcc: install-pdf-gcc
11825 install-pdf-gcc: \
11826 configure-gcc \
11827 pdf-gcc
11828 @[ -f ./gcc/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing install-pdf in gcc"; \
11836 (cd $(HOST_SUBDIR)/gcc && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11841 install-pdf) \
11842 || exit 1
11844 @endif gcc
11846 .PHONY: maybe-install-html-gcc install-html-gcc
11847 maybe-install-html-gcc:
11848 @if gcc
11849 maybe-install-html-gcc: install-html-gcc
11851 install-html-gcc: \
11852 configure-gcc \
11853 html-gcc
11854 @[ -f ./gcc/Makefile ] || exit 0; \
11855 r=`${PWD_COMMAND}`; export r; \
11856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857 $(HOST_EXPORTS) \
11858 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11860 done; \
11861 echo "Doing install-html in gcc"; \
11862 (cd $(HOST_SUBDIR)/gcc && \
11863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11865 "RANLIB=$${RANLIB}" \
11866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11867 install-html) \
11868 || exit 1
11870 @endif gcc
11872 .PHONY: maybe-installcheck-gcc installcheck-gcc
11873 maybe-installcheck-gcc:
11874 @if gcc
11875 maybe-installcheck-gcc: installcheck-gcc
11877 installcheck-gcc: \
11878 configure-gcc
11879 @[ -f ./gcc/Makefile ] || exit 0; \
11880 r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 $(HOST_EXPORTS) \
11883 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11885 done; \
11886 echo "Doing installcheck in gcc"; \
11887 (cd $(HOST_SUBDIR)/gcc && \
11888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11890 "RANLIB=$${RANLIB}" \
11891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11892 installcheck) \
11893 || exit 1
11895 @endif gcc
11897 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11898 maybe-mostlyclean-gcc:
11899 @if gcc
11900 maybe-mostlyclean-gcc: mostlyclean-gcc
11902 mostlyclean-gcc:
11903 @[ -f ./gcc/Makefile ] || exit 0; \
11904 r=`${PWD_COMMAND}`; export r; \
11905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11906 $(HOST_EXPORTS) \
11907 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11909 done; \
11910 echo "Doing mostlyclean in gcc"; \
11911 (cd $(HOST_SUBDIR)/gcc && \
11912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11914 "RANLIB=$${RANLIB}" \
11915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11916 mostlyclean) \
11917 || exit 1
11919 @endif gcc
11921 .PHONY: maybe-clean-gcc clean-gcc
11922 maybe-clean-gcc:
11923 @if gcc
11924 maybe-clean-gcc: clean-gcc
11926 clean-gcc:
11927 @[ -f ./gcc/Makefile ] || exit 0; \
11928 r=`${PWD_COMMAND}`; export r; \
11929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 $(HOST_EXPORTS) \
11931 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11933 done; \
11934 echo "Doing clean in gcc"; \
11935 (cd $(HOST_SUBDIR)/gcc && \
11936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11938 "RANLIB=$${RANLIB}" \
11939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11940 clean) \
11941 || exit 1
11943 @endif gcc
11945 .PHONY: maybe-distclean-gcc distclean-gcc
11946 maybe-distclean-gcc:
11947 @if gcc
11948 maybe-distclean-gcc: distclean-gcc
11950 distclean-gcc:
11951 @[ -f ./gcc/Makefile ] || exit 0; \
11952 r=`${PWD_COMMAND}`; export r; \
11953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11954 $(HOST_EXPORTS) \
11955 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11957 done; \
11958 echo "Doing distclean in gcc"; \
11959 (cd $(HOST_SUBDIR)/gcc && \
11960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11962 "RANLIB=$${RANLIB}" \
11963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11964 distclean) \
11965 || exit 1
11967 @endif gcc
11969 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11970 maybe-maintainer-clean-gcc:
11971 @if gcc
11972 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11974 maintainer-clean-gcc:
11975 @[ -f ./gcc/Makefile ] || exit 0; \
11976 r=`${PWD_COMMAND}`; export r; \
11977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11978 $(HOST_EXPORTS) \
11979 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11981 done; \
11982 echo "Doing maintainer-clean in gcc"; \
11983 (cd $(HOST_SUBDIR)/gcc && \
11984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11986 "RANLIB=$${RANLIB}" \
11987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11988 maintainer-clean) \
11989 || exit 1
11991 @endif gcc
11995 .PHONY: configure-gmp maybe-configure-gmp
11996 maybe-configure-gmp:
11997 @if gcc-bootstrap
11998 configure-gmp: stage_current
11999 @endif gcc-bootstrap
12000 @if gmp
12001 maybe-configure-gmp: configure-gmp
12002 configure-gmp:
12003 @r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12007 $(HOST_EXPORTS) \
12008 echo Configuring in $(HOST_SUBDIR)/gmp; \
12009 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12010 case $(srcdir) in \
12011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12012 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12014 esac; \
12015 module_srcdir=gmp; \
12016 $(SHELL) \
12017 $$s/$$module_srcdir/configure \
12018 --srcdir=$${topdir}/$$module_srcdir \
12019 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12020 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12021 || exit 1
12022 @endif gmp
12026 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12027 maybe-configure-stage1-gmp:
12028 @if gmp-bootstrap
12029 maybe-configure-stage1-gmp: configure-stage1-gmp
12030 configure-stage1-gmp:
12031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12033 @r=`${PWD_COMMAND}`; export r; \
12034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12035 TFLAGS="$(STAGE1_TFLAGS)"; \
12036 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12037 $(HOST_EXPORTS) \
12038 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12039 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12040 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12041 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12043 cd $(HOST_SUBDIR)/gmp || exit 1; \
12044 case $(srcdir) in \
12045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12046 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12048 esac; \
12049 module_srcdir=gmp; \
12050 $(SHELL) $$s/$$module_srcdir/configure \
12051 --srcdir=$${topdir}/$$module_srcdir \
12052 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12053 --target=none-${host_vendor}-${host_os} \
12055 $(STAGE1_CONFIGURE_FLAGS) \
12056 --disable-shared LEX="touch lex.yy.c"
12057 @endif gmp-bootstrap
12059 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12060 maybe-configure-stage2-gmp:
12061 @if gmp-bootstrap
12062 maybe-configure-stage2-gmp: configure-stage2-gmp
12063 configure-stage2-gmp:
12064 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12066 @r=`${PWD_COMMAND}`; export r; \
12067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12068 TFLAGS="$(STAGE2_TFLAGS)"; \
12069 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12070 $(HOST_EXPORTS) \
12071 $(POSTSTAGE1_HOST_EXPORTS) \
12072 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12073 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12074 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12075 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12077 cd $(HOST_SUBDIR)/gmp || exit 1; \
12078 case $(srcdir) in \
12079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12080 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12082 esac; \
12083 module_srcdir=gmp; \
12084 $(SHELL) $$s/$$module_srcdir/configure \
12085 --srcdir=$${topdir}/$$module_srcdir \
12086 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12087 --target=none-${host_vendor}-${host_os} \
12088 --with-build-libsubdir=$(HOST_SUBDIR) \
12089 $(STAGE2_CONFIGURE_FLAGS) \
12090 --disable-shared LEX="touch lex.yy.c"
12091 @endif gmp-bootstrap
12093 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12094 maybe-configure-stage3-gmp:
12095 @if gmp-bootstrap
12096 maybe-configure-stage3-gmp: configure-stage3-gmp
12097 configure-stage3-gmp:
12098 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12100 @r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12102 TFLAGS="$(STAGE3_TFLAGS)"; \
12103 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12104 $(HOST_EXPORTS) \
12105 $(POSTSTAGE1_HOST_EXPORTS) \
12106 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12107 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12108 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12109 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12111 cd $(HOST_SUBDIR)/gmp || exit 1; \
12112 case $(srcdir) in \
12113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12114 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12116 esac; \
12117 module_srcdir=gmp; \
12118 $(SHELL) $$s/$$module_srcdir/configure \
12119 --srcdir=$${topdir}/$$module_srcdir \
12120 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12121 --target=none-${host_vendor}-${host_os} \
12122 --with-build-libsubdir=$(HOST_SUBDIR) \
12123 $(STAGE3_CONFIGURE_FLAGS) \
12124 --disable-shared LEX="touch lex.yy.c"
12125 @endif gmp-bootstrap
12127 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12128 maybe-configure-stage4-gmp:
12129 @if gmp-bootstrap
12130 maybe-configure-stage4-gmp: configure-stage4-gmp
12131 configure-stage4-gmp:
12132 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12134 @r=`${PWD_COMMAND}`; export r; \
12135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12136 TFLAGS="$(STAGE4_TFLAGS)"; \
12137 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12138 $(HOST_EXPORTS) \
12139 $(POSTSTAGE1_HOST_EXPORTS) \
12140 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12141 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12142 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12143 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12145 cd $(HOST_SUBDIR)/gmp || exit 1; \
12146 case $(srcdir) in \
12147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12148 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12150 esac; \
12151 module_srcdir=gmp; \
12152 $(SHELL) $$s/$$module_srcdir/configure \
12153 --srcdir=$${topdir}/$$module_srcdir \
12154 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12155 --target=none-${host_vendor}-${host_os} \
12156 --with-build-libsubdir=$(HOST_SUBDIR) \
12157 $(STAGE4_CONFIGURE_FLAGS) \
12158 --disable-shared LEX="touch lex.yy.c"
12159 @endif gmp-bootstrap
12161 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12162 maybe-configure-stageprofile-gmp:
12163 @if gmp-bootstrap
12164 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12165 configure-stageprofile-gmp:
12166 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12168 @r=`${PWD_COMMAND}`; export r; \
12169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12171 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12172 $(HOST_EXPORTS) \
12173 $(POSTSTAGE1_HOST_EXPORTS) \
12174 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12175 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12176 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12177 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12179 cd $(HOST_SUBDIR)/gmp || exit 1; \
12180 case $(srcdir) in \
12181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12182 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12184 esac; \
12185 module_srcdir=gmp; \
12186 $(SHELL) $$s/$$module_srcdir/configure \
12187 --srcdir=$${topdir}/$$module_srcdir \
12188 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12189 --target=none-${host_vendor}-${host_os} \
12190 --with-build-libsubdir=$(HOST_SUBDIR) \
12191 $(STAGEprofile_CONFIGURE_FLAGS) \
12192 --disable-shared LEX="touch lex.yy.c"
12193 @endif gmp-bootstrap
12195 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12196 maybe-configure-stagefeedback-gmp:
12197 @if gmp-bootstrap
12198 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12199 configure-stagefeedback-gmp:
12200 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12202 @r=`${PWD_COMMAND}`; export r; \
12203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12204 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12205 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12206 $(HOST_EXPORTS) \
12207 $(POSTSTAGE1_HOST_EXPORTS) \
12208 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12209 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12210 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12211 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12213 cd $(HOST_SUBDIR)/gmp || exit 1; \
12214 case $(srcdir) in \
12215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12216 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12218 esac; \
12219 module_srcdir=gmp; \
12220 $(SHELL) $$s/$$module_srcdir/configure \
12221 --srcdir=$${topdir}/$$module_srcdir \
12222 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12223 --target=none-${host_vendor}-${host_os} \
12224 --with-build-libsubdir=$(HOST_SUBDIR) \
12225 $(STAGEfeedback_CONFIGURE_FLAGS) \
12226 --disable-shared LEX="touch lex.yy.c"
12227 @endif gmp-bootstrap
12229 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12230 maybe-configure-stageautoprofile-gmp:
12231 @if gmp-bootstrap
12232 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12233 configure-stageautoprofile-gmp:
12234 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12236 @r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12238 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12239 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12240 $(HOST_EXPORTS) \
12241 $(POSTSTAGE1_HOST_EXPORTS) \
12242 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12243 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12244 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12245 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12247 cd $(HOST_SUBDIR)/gmp || exit 1; \
12248 case $(srcdir) in \
12249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12250 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12252 esac; \
12253 module_srcdir=gmp; \
12254 $(SHELL) $$s/$$module_srcdir/configure \
12255 --srcdir=$${topdir}/$$module_srcdir \
12256 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12257 --target=none-${host_vendor}-${host_os} \
12258 --with-build-libsubdir=$(HOST_SUBDIR) \
12259 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12260 --disable-shared LEX="touch lex.yy.c"
12261 @endif gmp-bootstrap
12263 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12264 maybe-configure-stageautofeedback-gmp:
12265 @if gmp-bootstrap
12266 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12267 configure-stageautofeedback-gmp:
12268 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12270 @r=`${PWD_COMMAND}`; export r; \
12271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12272 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12273 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12274 $(HOST_EXPORTS) \
12275 $(POSTSTAGE1_HOST_EXPORTS) \
12276 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12277 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12278 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12279 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12281 cd $(HOST_SUBDIR)/gmp || exit 1; \
12282 case $(srcdir) in \
12283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12284 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12286 esac; \
12287 module_srcdir=gmp; \
12288 $(SHELL) $$s/$$module_srcdir/configure \
12289 --srcdir=$${topdir}/$$module_srcdir \
12290 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12291 --target=none-${host_vendor}-${host_os} \
12292 --with-build-libsubdir=$(HOST_SUBDIR) \
12293 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12294 --disable-shared LEX="touch lex.yy.c"
12295 @endif gmp-bootstrap
12301 .PHONY: all-gmp maybe-all-gmp
12302 maybe-all-gmp:
12303 @if gcc-bootstrap
12304 all-gmp: stage_current
12305 @endif gcc-bootstrap
12306 @if gmp
12307 TARGET-gmp=all
12308 maybe-all-gmp: all-gmp
12309 all-gmp: configure-gmp
12310 @r=`${PWD_COMMAND}`; export r; \
12311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12312 $(HOST_EXPORTS) \
12313 (cd $(HOST_SUBDIR)/gmp && \
12314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12315 $(TARGET-gmp))
12316 @endif gmp
12320 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12321 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12322 maybe-all-stage1-gmp:
12323 maybe-clean-stage1-gmp:
12324 @if gmp-bootstrap
12325 maybe-all-stage1-gmp: all-stage1-gmp
12326 all-stage1: all-stage1-gmp
12327 TARGET-stage1-gmp = $(TARGET-gmp)
12328 all-stage1-gmp: configure-stage1-gmp
12329 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12330 @r=`${PWD_COMMAND}`; export r; \
12331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12332 TFLAGS="$(STAGE1_TFLAGS)"; \
12333 $(HOST_EXPORTS) \
12334 cd $(HOST_SUBDIR)/gmp && \
12336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12337 CFLAGS="$(STAGE1_CFLAGS)" \
12338 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12339 LIBCFLAGS="$(LIBCFLAGS)" \
12340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12343 $(EXTRA_HOST_FLAGS) \
12344 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12345 TFLAGS="$(STAGE1_TFLAGS)" \
12346 $(TARGET-stage1-gmp)
12348 maybe-clean-stage1-gmp: clean-stage1-gmp
12349 clean-stage1: clean-stage1-gmp
12350 clean-stage1-gmp:
12351 @if [ $(current_stage) = stage1 ]; then \
12352 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12353 else \
12354 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12355 $(MAKE) stage1-start; \
12356 fi; \
12357 cd $(HOST_SUBDIR)/gmp && \
12358 $(MAKE) $(EXTRA_HOST_FLAGS) \
12359 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12360 @endif gmp-bootstrap
12363 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12364 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12365 maybe-all-stage2-gmp:
12366 maybe-clean-stage2-gmp:
12367 @if gmp-bootstrap
12368 maybe-all-stage2-gmp: all-stage2-gmp
12369 all-stage2: all-stage2-gmp
12370 TARGET-stage2-gmp = $(TARGET-gmp)
12371 all-stage2-gmp: configure-stage2-gmp
12372 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12373 @r=`${PWD_COMMAND}`; export r; \
12374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12375 TFLAGS="$(STAGE2_TFLAGS)"; \
12376 $(HOST_EXPORTS) \
12377 $(POSTSTAGE1_HOST_EXPORTS) \
12378 cd $(HOST_SUBDIR)/gmp && \
12380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12381 CFLAGS="$(STAGE2_CFLAGS)" \
12382 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12383 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12388 TFLAGS="$(STAGE2_TFLAGS)" \
12389 $(TARGET-stage2-gmp)
12391 maybe-clean-stage2-gmp: clean-stage2-gmp
12392 clean-stage2: clean-stage2-gmp
12393 clean-stage2-gmp:
12394 @if [ $(current_stage) = stage2 ]; then \
12395 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12396 else \
12397 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12398 $(MAKE) stage2-start; \
12399 fi; \
12400 cd $(HOST_SUBDIR)/gmp && \
12401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12402 @endif gmp-bootstrap
12405 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12406 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12407 maybe-all-stage3-gmp:
12408 maybe-clean-stage3-gmp:
12409 @if gmp-bootstrap
12410 maybe-all-stage3-gmp: all-stage3-gmp
12411 all-stage3: all-stage3-gmp
12412 TARGET-stage3-gmp = $(TARGET-gmp)
12413 all-stage3-gmp: configure-stage3-gmp
12414 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12415 @r=`${PWD_COMMAND}`; export r; \
12416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12417 TFLAGS="$(STAGE3_TFLAGS)"; \
12418 $(HOST_EXPORTS) \
12419 $(POSTSTAGE1_HOST_EXPORTS) \
12420 cd $(HOST_SUBDIR)/gmp && \
12422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12423 CFLAGS="$(STAGE3_CFLAGS)" \
12424 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12425 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12426 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12427 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12428 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12429 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12430 TFLAGS="$(STAGE3_TFLAGS)" \
12431 $(TARGET-stage3-gmp)
12433 maybe-clean-stage3-gmp: clean-stage3-gmp
12434 clean-stage3: clean-stage3-gmp
12435 clean-stage3-gmp:
12436 @if [ $(current_stage) = stage3 ]; then \
12437 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12438 else \
12439 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12440 $(MAKE) stage3-start; \
12441 fi; \
12442 cd $(HOST_SUBDIR)/gmp && \
12443 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12444 @endif gmp-bootstrap
12447 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12448 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12449 maybe-all-stage4-gmp:
12450 maybe-clean-stage4-gmp:
12451 @if gmp-bootstrap
12452 maybe-all-stage4-gmp: all-stage4-gmp
12453 all-stage4: all-stage4-gmp
12454 TARGET-stage4-gmp = $(TARGET-gmp)
12455 all-stage4-gmp: configure-stage4-gmp
12456 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12457 @r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 TFLAGS="$(STAGE4_TFLAGS)"; \
12460 $(HOST_EXPORTS) \
12461 $(POSTSTAGE1_HOST_EXPORTS) \
12462 cd $(HOST_SUBDIR)/gmp && \
12464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12465 CFLAGS="$(STAGE4_CFLAGS)" \
12466 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12467 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12468 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12469 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12470 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12471 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12472 TFLAGS="$(STAGE4_TFLAGS)" \
12473 $(TARGET-stage4-gmp)
12475 maybe-clean-stage4-gmp: clean-stage4-gmp
12476 clean-stage4: clean-stage4-gmp
12477 clean-stage4-gmp:
12478 @if [ $(current_stage) = stage4 ]; then \
12479 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12480 else \
12481 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12482 $(MAKE) stage4-start; \
12483 fi; \
12484 cd $(HOST_SUBDIR)/gmp && \
12485 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12486 @endif gmp-bootstrap
12489 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12490 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12491 maybe-all-stageprofile-gmp:
12492 maybe-clean-stageprofile-gmp:
12493 @if gmp-bootstrap
12494 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12495 all-stageprofile: all-stageprofile-gmp
12496 TARGET-stageprofile-gmp = $(TARGET-gmp)
12497 all-stageprofile-gmp: configure-stageprofile-gmp
12498 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12499 @r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12502 $(HOST_EXPORTS) \
12503 $(POSTSTAGE1_HOST_EXPORTS) \
12504 cd $(HOST_SUBDIR)/gmp && \
12506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12507 CFLAGS="$(STAGEprofile_CFLAGS)" \
12508 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12509 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12514 TFLAGS="$(STAGEprofile_TFLAGS)" \
12515 $(TARGET-stageprofile-gmp)
12517 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
12518 clean-stageprofile: clean-stageprofile-gmp
12519 clean-stageprofile-gmp:
12520 @if [ $(current_stage) = stageprofile ]; then \
12521 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12522 else \
12523 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
12524 $(MAKE) stageprofile-start; \
12525 fi; \
12526 cd $(HOST_SUBDIR)/gmp && \
12527 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12528 @endif gmp-bootstrap
12531 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
12532 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
12533 maybe-all-stagefeedback-gmp:
12534 maybe-clean-stagefeedback-gmp:
12535 @if gmp-bootstrap
12536 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
12537 all-stagefeedback: all-stagefeedback-gmp
12538 TARGET-stagefeedback-gmp = $(TARGET-gmp)
12539 all-stagefeedback-gmp: configure-stagefeedback-gmp
12540 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12541 @r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12544 $(HOST_EXPORTS) \
12545 $(POSTSTAGE1_HOST_EXPORTS) \
12546 cd $(HOST_SUBDIR)/gmp && \
12548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12549 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12550 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12551 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12556 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12557 $(TARGET-stagefeedback-gmp)
12559 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
12560 clean-stagefeedback: clean-stagefeedback-gmp
12561 clean-stagefeedback-gmp:
12562 @if [ $(current_stage) = stagefeedback ]; then \
12563 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12564 else \
12565 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
12566 $(MAKE) stagefeedback-start; \
12567 fi; \
12568 cd $(HOST_SUBDIR)/gmp && \
12569 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12570 @endif gmp-bootstrap
12573 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
12574 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
12575 maybe-all-stageautoprofile-gmp:
12576 maybe-clean-stageautoprofile-gmp:
12577 @if gmp-bootstrap
12578 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
12579 all-stageautoprofile: all-stageautoprofile-gmp
12580 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
12581 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
12582 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12583 @r=`${PWD_COMMAND}`; export r; \
12584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12585 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12586 $(HOST_EXPORTS) \
12587 $(POSTSTAGE1_HOST_EXPORTS) \
12588 cd $(HOST_SUBDIR)/gmp && \
12589 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12591 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12592 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12593 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12597 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12598 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12599 $(TARGET-stageautoprofile-gmp)
12601 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
12602 clean-stageautoprofile: clean-stageautoprofile-gmp
12603 clean-stageautoprofile-gmp:
12604 @if [ $(current_stage) = stageautoprofile ]; then \
12605 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12606 else \
12607 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
12608 $(MAKE) stageautoprofile-start; \
12609 fi; \
12610 cd $(HOST_SUBDIR)/gmp && \
12611 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12612 @endif gmp-bootstrap
12615 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
12616 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
12617 maybe-all-stageautofeedback-gmp:
12618 maybe-clean-stageautofeedback-gmp:
12619 @if gmp-bootstrap
12620 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
12621 all-stageautofeedback: all-stageautofeedback-gmp
12622 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
12623 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
12624 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12625 @r=`${PWD_COMMAND}`; export r; \
12626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12627 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12628 $(HOST_EXPORTS) \
12629 $(POSTSTAGE1_HOST_EXPORTS) \
12630 cd $(HOST_SUBDIR)/gmp && \
12632 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12633 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12634 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12635 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12640 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12641 $(TARGET-stageautofeedback-gmp)
12643 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
12644 clean-stageautofeedback: clean-stageautofeedback-gmp
12645 clean-stageautofeedback-gmp:
12646 @if [ $(current_stage) = stageautofeedback ]; then \
12647 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12648 else \
12649 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
12650 $(MAKE) stageautofeedback-start; \
12651 fi; \
12652 cd $(HOST_SUBDIR)/gmp && \
12653 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12654 @endif gmp-bootstrap
12660 .PHONY: check-gmp maybe-check-gmp
12661 maybe-check-gmp:
12662 @if gmp
12663 maybe-check-gmp: check-gmp
12665 check-gmp:
12666 @: $(MAKE); $(unstage)
12667 @r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12669 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12670 (cd $(HOST_SUBDIR)/gmp && \
12671 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
12673 @endif gmp
12675 .PHONY: install-gmp maybe-install-gmp
12676 maybe-install-gmp:
12677 @if gmp
12678 maybe-install-gmp: install-gmp
12680 install-gmp:
12682 @endif gmp
12684 .PHONY: install-strip-gmp maybe-install-strip-gmp
12685 maybe-install-strip-gmp:
12686 @if gmp
12687 maybe-install-strip-gmp: install-strip-gmp
12689 install-strip-gmp:
12691 @endif gmp
12693 # Other targets (info, dvi, pdf, etc.)
12695 .PHONY: maybe-info-gmp info-gmp
12696 maybe-info-gmp:
12697 @if gmp
12698 maybe-info-gmp: info-gmp
12700 info-gmp: \
12701 configure-gmp
12702 @[ -f ./gmp/Makefile ] || exit 0; \
12703 r=`${PWD_COMMAND}`; export r; \
12704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12705 $(HOST_EXPORTS) \
12706 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12708 done; \
12709 echo "Doing info in gmp"; \
12710 (cd $(HOST_SUBDIR)/gmp && \
12711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12713 "RANLIB=$${RANLIB}" \
12714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12715 info) \
12716 || exit 1
12718 @endif gmp
12720 .PHONY: maybe-dvi-gmp dvi-gmp
12721 maybe-dvi-gmp:
12722 @if gmp
12723 maybe-dvi-gmp: dvi-gmp
12725 dvi-gmp: \
12726 configure-gmp
12727 @[ -f ./gmp/Makefile ] || exit 0; \
12728 r=`${PWD_COMMAND}`; export r; \
12729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12730 $(HOST_EXPORTS) \
12731 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12733 done; \
12734 echo "Doing dvi in gmp"; \
12735 (cd $(HOST_SUBDIR)/gmp && \
12736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12738 "RANLIB=$${RANLIB}" \
12739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12740 dvi) \
12741 || exit 1
12743 @endif gmp
12745 .PHONY: maybe-pdf-gmp pdf-gmp
12746 maybe-pdf-gmp:
12747 @if gmp
12748 maybe-pdf-gmp: pdf-gmp
12750 pdf-gmp: \
12751 configure-gmp
12752 @[ -f ./gmp/Makefile ] || exit 0; \
12753 r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12758 done; \
12759 echo "Doing pdf in gmp"; \
12760 (cd $(HOST_SUBDIR)/gmp && \
12761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12763 "RANLIB=$${RANLIB}" \
12764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12765 pdf) \
12766 || exit 1
12768 @endif gmp
12770 .PHONY: maybe-html-gmp html-gmp
12771 maybe-html-gmp:
12772 @if gmp
12773 maybe-html-gmp: html-gmp
12775 html-gmp: \
12776 configure-gmp
12777 @[ -f ./gmp/Makefile ] || exit 0; \
12778 r=`${PWD_COMMAND}`; export r; \
12779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12780 $(HOST_EXPORTS) \
12781 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12783 done; \
12784 echo "Doing html in gmp"; \
12785 (cd $(HOST_SUBDIR)/gmp && \
12786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12788 "RANLIB=$${RANLIB}" \
12789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12790 html) \
12791 || exit 1
12793 @endif gmp
12795 .PHONY: maybe-TAGS-gmp TAGS-gmp
12796 maybe-TAGS-gmp:
12797 @if gmp
12798 maybe-TAGS-gmp: TAGS-gmp
12800 TAGS-gmp: \
12801 configure-gmp
12802 @[ -f ./gmp/Makefile ] || exit 0; \
12803 r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12805 $(HOST_EXPORTS) \
12806 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12808 done; \
12809 echo "Doing TAGS in gmp"; \
12810 (cd $(HOST_SUBDIR)/gmp && \
12811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12813 "RANLIB=$${RANLIB}" \
12814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12815 TAGS) \
12816 || exit 1
12818 @endif gmp
12820 .PHONY: maybe-install-info-gmp install-info-gmp
12821 maybe-install-info-gmp:
12822 @if gmp
12823 maybe-install-info-gmp: install-info-gmp
12825 install-info-gmp: \
12826 configure-gmp \
12827 info-gmp
12828 @[ -f ./gmp/Makefile ] || exit 0; \
12829 r=`${PWD_COMMAND}`; export r; \
12830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12831 $(HOST_EXPORTS) \
12832 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12834 done; \
12835 echo "Doing install-info in gmp"; \
12836 (cd $(HOST_SUBDIR)/gmp && \
12837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12839 "RANLIB=$${RANLIB}" \
12840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12841 install-info) \
12842 || exit 1
12844 @endif gmp
12846 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
12847 maybe-install-pdf-gmp:
12848 @if gmp
12849 maybe-install-pdf-gmp: install-pdf-gmp
12851 install-pdf-gmp: \
12852 configure-gmp \
12853 pdf-gmp
12854 @[ -f ./gmp/Makefile ] || exit 0; \
12855 r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 $(HOST_EXPORTS) \
12858 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12860 done; \
12861 echo "Doing install-pdf in gmp"; \
12862 (cd $(HOST_SUBDIR)/gmp && \
12863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12865 "RANLIB=$${RANLIB}" \
12866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12867 install-pdf) \
12868 || exit 1
12870 @endif gmp
12872 .PHONY: maybe-install-html-gmp install-html-gmp
12873 maybe-install-html-gmp:
12874 @if gmp
12875 maybe-install-html-gmp: install-html-gmp
12877 install-html-gmp: \
12878 configure-gmp \
12879 html-gmp
12880 @[ -f ./gmp/Makefile ] || exit 0; \
12881 r=`${PWD_COMMAND}`; export r; \
12882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 $(HOST_EXPORTS) \
12884 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12886 done; \
12887 echo "Doing install-html in gmp"; \
12888 (cd $(HOST_SUBDIR)/gmp && \
12889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12891 "RANLIB=$${RANLIB}" \
12892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12893 install-html) \
12894 || exit 1
12896 @endif gmp
12898 .PHONY: maybe-installcheck-gmp installcheck-gmp
12899 maybe-installcheck-gmp:
12900 @if gmp
12901 maybe-installcheck-gmp: installcheck-gmp
12903 installcheck-gmp: \
12904 configure-gmp
12905 @[ -f ./gmp/Makefile ] || exit 0; \
12906 r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12908 $(HOST_EXPORTS) \
12909 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12911 done; \
12912 echo "Doing installcheck in gmp"; \
12913 (cd $(HOST_SUBDIR)/gmp && \
12914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12916 "RANLIB=$${RANLIB}" \
12917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12918 installcheck) \
12919 || exit 1
12921 @endif gmp
12923 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
12924 maybe-mostlyclean-gmp:
12925 @if gmp
12926 maybe-mostlyclean-gmp: mostlyclean-gmp
12928 mostlyclean-gmp:
12929 @[ -f ./gmp/Makefile ] || exit 0; \
12930 r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(HOST_EXPORTS) \
12933 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12935 done; \
12936 echo "Doing mostlyclean in gmp"; \
12937 (cd $(HOST_SUBDIR)/gmp && \
12938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12940 "RANLIB=$${RANLIB}" \
12941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12942 mostlyclean) \
12943 || exit 1
12945 @endif gmp
12947 .PHONY: maybe-clean-gmp clean-gmp
12948 maybe-clean-gmp:
12949 @if gmp
12950 maybe-clean-gmp: clean-gmp
12952 clean-gmp:
12953 @[ -f ./gmp/Makefile ] || exit 0; \
12954 r=`${PWD_COMMAND}`; export r; \
12955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12956 $(HOST_EXPORTS) \
12957 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12959 done; \
12960 echo "Doing clean in gmp"; \
12961 (cd $(HOST_SUBDIR)/gmp && \
12962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12964 "RANLIB=$${RANLIB}" \
12965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12966 clean) \
12967 || exit 1
12969 @endif gmp
12971 .PHONY: maybe-distclean-gmp distclean-gmp
12972 maybe-distclean-gmp:
12973 @if gmp
12974 maybe-distclean-gmp: distclean-gmp
12976 distclean-gmp:
12977 @[ -f ./gmp/Makefile ] || exit 0; \
12978 r=`${PWD_COMMAND}`; export r; \
12979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12980 $(HOST_EXPORTS) \
12981 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12983 done; \
12984 echo "Doing distclean in gmp"; \
12985 (cd $(HOST_SUBDIR)/gmp && \
12986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12988 "RANLIB=$${RANLIB}" \
12989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12990 distclean) \
12991 || exit 1
12993 @endif gmp
12995 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
12996 maybe-maintainer-clean-gmp:
12997 @if gmp
12998 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13000 maintainer-clean-gmp:
13001 @[ -f ./gmp/Makefile ] || exit 0; \
13002 r=`${PWD_COMMAND}`; export r; \
13003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13004 $(HOST_EXPORTS) \
13005 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13007 done; \
13008 echo "Doing maintainer-clean in gmp"; \
13009 (cd $(HOST_SUBDIR)/gmp && \
13010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13012 "RANLIB=$${RANLIB}" \
13013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13014 maintainer-clean) \
13015 || exit 1
13017 @endif gmp
13021 .PHONY: configure-mpfr maybe-configure-mpfr
13022 maybe-configure-mpfr:
13023 @if gcc-bootstrap
13024 configure-mpfr: stage_current
13025 @endif gcc-bootstrap
13026 @if mpfr
13027 maybe-configure-mpfr: configure-mpfr
13028 configure-mpfr:
13029 @r=`${PWD_COMMAND}`; export r; \
13030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13031 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13033 $(HOST_EXPORTS) \
13034 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13035 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13036 case $(srcdir) in \
13037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13038 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13040 esac; \
13041 module_srcdir=mpfr; \
13042 $(SHELL) \
13043 $$s/$$module_srcdir/configure \
13044 --srcdir=$${topdir}/$$module_srcdir \
13045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13046 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13047 || exit 1
13048 @endif mpfr
13052 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13053 maybe-configure-stage1-mpfr:
13054 @if mpfr-bootstrap
13055 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13056 configure-stage1-mpfr:
13057 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13059 @r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 TFLAGS="$(STAGE1_TFLAGS)"; \
13062 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13063 $(HOST_EXPORTS) \
13064 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13065 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13066 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13067 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13069 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13070 case $(srcdir) in \
13071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13072 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13074 esac; \
13075 module_srcdir=mpfr; \
13076 $(SHELL) $$s/$$module_srcdir/configure \
13077 --srcdir=$${topdir}/$$module_srcdir \
13078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13079 --target=${target_alias} \
13081 $(STAGE1_CONFIGURE_FLAGS) \
13082 --disable-shared @extra_mpfr_configure_flags@
13083 @endif mpfr-bootstrap
13085 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13086 maybe-configure-stage2-mpfr:
13087 @if mpfr-bootstrap
13088 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13089 configure-stage2-mpfr:
13090 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13092 @r=`${PWD_COMMAND}`; export r; \
13093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13094 TFLAGS="$(STAGE2_TFLAGS)"; \
13095 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13096 $(HOST_EXPORTS) \
13097 $(POSTSTAGE1_HOST_EXPORTS) \
13098 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13099 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13100 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13101 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13103 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13104 case $(srcdir) in \
13105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13106 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13108 esac; \
13109 module_srcdir=mpfr; \
13110 $(SHELL) $$s/$$module_srcdir/configure \
13111 --srcdir=$${topdir}/$$module_srcdir \
13112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13113 --target=${target_alias} \
13114 --with-build-libsubdir=$(HOST_SUBDIR) \
13115 $(STAGE2_CONFIGURE_FLAGS) \
13116 --disable-shared @extra_mpfr_configure_flags@
13117 @endif mpfr-bootstrap
13119 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13120 maybe-configure-stage3-mpfr:
13121 @if mpfr-bootstrap
13122 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13123 configure-stage3-mpfr:
13124 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13126 @r=`${PWD_COMMAND}`; export r; \
13127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13128 TFLAGS="$(STAGE3_TFLAGS)"; \
13129 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13130 $(HOST_EXPORTS) \
13131 $(POSTSTAGE1_HOST_EXPORTS) \
13132 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13133 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13134 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13135 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13137 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13138 case $(srcdir) in \
13139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13140 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13142 esac; \
13143 module_srcdir=mpfr; \
13144 $(SHELL) $$s/$$module_srcdir/configure \
13145 --srcdir=$${topdir}/$$module_srcdir \
13146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13147 --target=${target_alias} \
13148 --with-build-libsubdir=$(HOST_SUBDIR) \
13149 $(STAGE3_CONFIGURE_FLAGS) \
13150 --disable-shared @extra_mpfr_configure_flags@
13151 @endif mpfr-bootstrap
13153 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13154 maybe-configure-stage4-mpfr:
13155 @if mpfr-bootstrap
13156 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13157 configure-stage4-mpfr:
13158 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13160 @r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 TFLAGS="$(STAGE4_TFLAGS)"; \
13163 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13164 $(HOST_EXPORTS) \
13165 $(POSTSTAGE1_HOST_EXPORTS) \
13166 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13167 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13168 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13169 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13171 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13172 case $(srcdir) in \
13173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13174 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13176 esac; \
13177 module_srcdir=mpfr; \
13178 $(SHELL) $$s/$$module_srcdir/configure \
13179 --srcdir=$${topdir}/$$module_srcdir \
13180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13181 --target=${target_alias} \
13182 --with-build-libsubdir=$(HOST_SUBDIR) \
13183 $(STAGE4_CONFIGURE_FLAGS) \
13184 --disable-shared @extra_mpfr_configure_flags@
13185 @endif mpfr-bootstrap
13187 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13188 maybe-configure-stageprofile-mpfr:
13189 @if mpfr-bootstrap
13190 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13191 configure-stageprofile-mpfr:
13192 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13194 @r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13196 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13197 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13198 $(HOST_EXPORTS) \
13199 $(POSTSTAGE1_HOST_EXPORTS) \
13200 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13201 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13202 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13203 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13205 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13206 case $(srcdir) in \
13207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13208 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13210 esac; \
13211 module_srcdir=mpfr; \
13212 $(SHELL) $$s/$$module_srcdir/configure \
13213 --srcdir=$${topdir}/$$module_srcdir \
13214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13215 --target=${target_alias} \
13216 --with-build-libsubdir=$(HOST_SUBDIR) \
13217 $(STAGEprofile_CONFIGURE_FLAGS) \
13218 --disable-shared @extra_mpfr_configure_flags@
13219 @endif mpfr-bootstrap
13221 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13222 maybe-configure-stagefeedback-mpfr:
13223 @if mpfr-bootstrap
13224 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13225 configure-stagefeedback-mpfr:
13226 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13228 @r=`${PWD_COMMAND}`; export r; \
13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13230 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13231 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13232 $(HOST_EXPORTS) \
13233 $(POSTSTAGE1_HOST_EXPORTS) \
13234 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13235 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13236 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13237 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13239 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13240 case $(srcdir) in \
13241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13242 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13244 esac; \
13245 module_srcdir=mpfr; \
13246 $(SHELL) $$s/$$module_srcdir/configure \
13247 --srcdir=$${topdir}/$$module_srcdir \
13248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13249 --target=${target_alias} \
13250 --with-build-libsubdir=$(HOST_SUBDIR) \
13251 $(STAGEfeedback_CONFIGURE_FLAGS) \
13252 --disable-shared @extra_mpfr_configure_flags@
13253 @endif mpfr-bootstrap
13255 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13256 maybe-configure-stageautoprofile-mpfr:
13257 @if mpfr-bootstrap
13258 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13259 configure-stageautoprofile-mpfr:
13260 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13262 @r=`${PWD_COMMAND}`; export r; \
13263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13264 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13265 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13266 $(HOST_EXPORTS) \
13267 $(POSTSTAGE1_HOST_EXPORTS) \
13268 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13269 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13270 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13271 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13273 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13274 case $(srcdir) in \
13275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13276 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13278 esac; \
13279 module_srcdir=mpfr; \
13280 $(SHELL) $$s/$$module_srcdir/configure \
13281 --srcdir=$${topdir}/$$module_srcdir \
13282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13283 --target=${target_alias} \
13284 --with-build-libsubdir=$(HOST_SUBDIR) \
13285 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13286 --disable-shared @extra_mpfr_configure_flags@
13287 @endif mpfr-bootstrap
13289 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13290 maybe-configure-stageautofeedback-mpfr:
13291 @if mpfr-bootstrap
13292 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13293 configure-stageautofeedback-mpfr:
13294 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13296 @r=`${PWD_COMMAND}`; export r; \
13297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13298 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13299 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13300 $(HOST_EXPORTS) \
13301 $(POSTSTAGE1_HOST_EXPORTS) \
13302 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13303 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13304 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13305 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13307 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13308 case $(srcdir) in \
13309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13310 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13312 esac; \
13313 module_srcdir=mpfr; \
13314 $(SHELL) $$s/$$module_srcdir/configure \
13315 --srcdir=$${topdir}/$$module_srcdir \
13316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13317 --target=${target_alias} \
13318 --with-build-libsubdir=$(HOST_SUBDIR) \
13319 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13320 --disable-shared @extra_mpfr_configure_flags@
13321 @endif mpfr-bootstrap
13327 .PHONY: all-mpfr maybe-all-mpfr
13328 maybe-all-mpfr:
13329 @if gcc-bootstrap
13330 all-mpfr: stage_current
13331 @endif gcc-bootstrap
13332 @if mpfr
13333 TARGET-mpfr=all
13334 maybe-all-mpfr: all-mpfr
13335 all-mpfr: configure-mpfr
13336 @r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(HOST_EXPORTS) \
13339 (cd $(HOST_SUBDIR)/mpfr && \
13340 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13341 $(TARGET-mpfr))
13342 @endif mpfr
13346 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13347 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13348 maybe-all-stage1-mpfr:
13349 maybe-clean-stage1-mpfr:
13350 @if mpfr-bootstrap
13351 maybe-all-stage1-mpfr: all-stage1-mpfr
13352 all-stage1: all-stage1-mpfr
13353 TARGET-stage1-mpfr = $(TARGET-mpfr)
13354 all-stage1-mpfr: configure-stage1-mpfr
13355 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13356 @r=`${PWD_COMMAND}`; export r; \
13357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13358 TFLAGS="$(STAGE1_TFLAGS)"; \
13359 $(HOST_EXPORTS) \
13360 cd $(HOST_SUBDIR)/mpfr && \
13362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13363 CFLAGS="$(STAGE1_CFLAGS)" \
13364 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13365 LIBCFLAGS="$(LIBCFLAGS)" \
13366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13369 $(EXTRA_HOST_FLAGS) \
13370 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13371 TFLAGS="$(STAGE1_TFLAGS)" \
13372 $(TARGET-stage1-mpfr)
13374 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13375 clean-stage1: clean-stage1-mpfr
13376 clean-stage1-mpfr:
13377 @if [ $(current_stage) = stage1 ]; then \
13378 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13379 else \
13380 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13381 $(MAKE) stage1-start; \
13382 fi; \
13383 cd $(HOST_SUBDIR)/mpfr && \
13384 $(MAKE) $(EXTRA_HOST_FLAGS) \
13385 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13386 @endif mpfr-bootstrap
13389 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13390 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13391 maybe-all-stage2-mpfr:
13392 maybe-clean-stage2-mpfr:
13393 @if mpfr-bootstrap
13394 maybe-all-stage2-mpfr: all-stage2-mpfr
13395 all-stage2: all-stage2-mpfr
13396 TARGET-stage2-mpfr = $(TARGET-mpfr)
13397 all-stage2-mpfr: configure-stage2-mpfr
13398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13399 @r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 TFLAGS="$(STAGE2_TFLAGS)"; \
13402 $(HOST_EXPORTS) \
13403 $(POSTSTAGE1_HOST_EXPORTS) \
13404 cd $(HOST_SUBDIR)/mpfr && \
13406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13407 CFLAGS="$(STAGE2_CFLAGS)" \
13408 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13409 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13414 TFLAGS="$(STAGE2_TFLAGS)" \
13415 $(TARGET-stage2-mpfr)
13417 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13418 clean-stage2: clean-stage2-mpfr
13419 clean-stage2-mpfr:
13420 @if [ $(current_stage) = stage2 ]; then \
13421 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13422 else \
13423 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
13424 $(MAKE) stage2-start; \
13425 fi; \
13426 cd $(HOST_SUBDIR)/mpfr && \
13427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13428 @endif mpfr-bootstrap
13431 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
13432 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
13433 maybe-all-stage3-mpfr:
13434 maybe-clean-stage3-mpfr:
13435 @if mpfr-bootstrap
13436 maybe-all-stage3-mpfr: all-stage3-mpfr
13437 all-stage3: all-stage3-mpfr
13438 TARGET-stage3-mpfr = $(TARGET-mpfr)
13439 all-stage3-mpfr: configure-stage3-mpfr
13440 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13441 @r=`${PWD_COMMAND}`; export r; \
13442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 TFLAGS="$(STAGE3_TFLAGS)"; \
13444 $(HOST_EXPORTS) \
13445 $(POSTSTAGE1_HOST_EXPORTS) \
13446 cd $(HOST_SUBDIR)/mpfr && \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13449 CFLAGS="$(STAGE3_CFLAGS)" \
13450 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13451 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13456 TFLAGS="$(STAGE3_TFLAGS)" \
13457 $(TARGET-stage3-mpfr)
13459 maybe-clean-stage3-mpfr: clean-stage3-mpfr
13460 clean-stage3: clean-stage3-mpfr
13461 clean-stage3-mpfr:
13462 @if [ $(current_stage) = stage3 ]; then \
13463 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13464 else \
13465 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
13466 $(MAKE) stage3-start; \
13467 fi; \
13468 cd $(HOST_SUBDIR)/mpfr && \
13469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13470 @endif mpfr-bootstrap
13473 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
13474 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
13475 maybe-all-stage4-mpfr:
13476 maybe-clean-stage4-mpfr:
13477 @if mpfr-bootstrap
13478 maybe-all-stage4-mpfr: all-stage4-mpfr
13479 all-stage4: all-stage4-mpfr
13480 TARGET-stage4-mpfr = $(TARGET-mpfr)
13481 all-stage4-mpfr: configure-stage4-mpfr
13482 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13483 @r=`${PWD_COMMAND}`; export r; \
13484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13485 TFLAGS="$(STAGE4_TFLAGS)"; \
13486 $(HOST_EXPORTS) \
13487 $(POSTSTAGE1_HOST_EXPORTS) \
13488 cd $(HOST_SUBDIR)/mpfr && \
13490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13491 CFLAGS="$(STAGE4_CFLAGS)" \
13492 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13493 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13498 TFLAGS="$(STAGE4_TFLAGS)" \
13499 $(TARGET-stage4-mpfr)
13501 maybe-clean-stage4-mpfr: clean-stage4-mpfr
13502 clean-stage4: clean-stage4-mpfr
13503 clean-stage4-mpfr:
13504 @if [ $(current_stage) = stage4 ]; then \
13505 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13506 else \
13507 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
13508 $(MAKE) stage4-start; \
13509 fi; \
13510 cd $(HOST_SUBDIR)/mpfr && \
13511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13512 @endif mpfr-bootstrap
13515 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
13516 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
13517 maybe-all-stageprofile-mpfr:
13518 maybe-clean-stageprofile-mpfr:
13519 @if mpfr-bootstrap
13520 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
13521 all-stageprofile: all-stageprofile-mpfr
13522 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
13523 all-stageprofile-mpfr: configure-stageprofile-mpfr
13524 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13525 @r=`${PWD_COMMAND}`; export r; \
13526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13528 $(HOST_EXPORTS) \
13529 $(POSTSTAGE1_HOST_EXPORTS) \
13530 cd $(HOST_SUBDIR)/mpfr && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13533 CFLAGS="$(STAGEprofile_CFLAGS)" \
13534 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13535 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13540 TFLAGS="$(STAGEprofile_TFLAGS)" \
13541 $(TARGET-stageprofile-mpfr)
13543 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
13544 clean-stageprofile: clean-stageprofile-mpfr
13545 clean-stageprofile-mpfr:
13546 @if [ $(current_stage) = stageprofile ]; then \
13547 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13548 else \
13549 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
13550 $(MAKE) stageprofile-start; \
13551 fi; \
13552 cd $(HOST_SUBDIR)/mpfr && \
13553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13554 @endif mpfr-bootstrap
13557 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
13558 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
13559 maybe-all-stagefeedback-mpfr:
13560 maybe-clean-stagefeedback-mpfr:
13561 @if mpfr-bootstrap
13562 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
13563 all-stagefeedback: all-stagefeedback-mpfr
13564 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
13565 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
13566 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13567 @r=`${PWD_COMMAND}`; export r; \
13568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13569 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13570 $(HOST_EXPORTS) \
13571 $(POSTSTAGE1_HOST_EXPORTS) \
13572 cd $(HOST_SUBDIR)/mpfr && \
13574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13575 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13576 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13577 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13582 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13583 $(TARGET-stagefeedback-mpfr)
13585 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
13586 clean-stagefeedback: clean-stagefeedback-mpfr
13587 clean-stagefeedback-mpfr:
13588 @if [ $(current_stage) = stagefeedback ]; then \
13589 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13590 else \
13591 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
13592 $(MAKE) stagefeedback-start; \
13593 fi; \
13594 cd $(HOST_SUBDIR)/mpfr && \
13595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13596 @endif mpfr-bootstrap
13599 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
13600 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
13601 maybe-all-stageautoprofile-mpfr:
13602 maybe-clean-stageautoprofile-mpfr:
13603 @if mpfr-bootstrap
13604 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
13605 all-stageautoprofile: all-stageautoprofile-mpfr
13606 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
13607 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13608 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13609 @r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13612 $(HOST_EXPORTS) \
13613 $(POSTSTAGE1_HOST_EXPORTS) \
13614 cd $(HOST_SUBDIR)/mpfr && \
13615 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13617 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13618 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13619 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13620 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13621 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13622 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13623 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13624 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13625 $(TARGET-stageautoprofile-mpfr)
13627 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
13628 clean-stageautoprofile: clean-stageautoprofile-mpfr
13629 clean-stageautoprofile-mpfr:
13630 @if [ $(current_stage) = stageautoprofile ]; then \
13631 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13632 else \
13633 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
13634 $(MAKE) stageautoprofile-start; \
13635 fi; \
13636 cd $(HOST_SUBDIR)/mpfr && \
13637 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13638 @endif mpfr-bootstrap
13641 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
13642 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
13643 maybe-all-stageautofeedback-mpfr:
13644 maybe-clean-stageautofeedback-mpfr:
13645 @if mpfr-bootstrap
13646 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
13647 all-stageautofeedback: all-stageautofeedback-mpfr
13648 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
13649 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13650 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13651 @r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13654 $(HOST_EXPORTS) \
13655 $(POSTSTAGE1_HOST_EXPORTS) \
13656 cd $(HOST_SUBDIR)/mpfr && \
13658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13659 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13660 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13661 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13666 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13667 $(TARGET-stageautofeedback-mpfr)
13669 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
13670 clean-stageautofeedback: clean-stageautofeedback-mpfr
13671 clean-stageautofeedback-mpfr:
13672 @if [ $(current_stage) = stageautofeedback ]; then \
13673 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13674 else \
13675 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
13676 $(MAKE) stageautofeedback-start; \
13677 fi; \
13678 cd $(HOST_SUBDIR)/mpfr && \
13679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13680 @endif mpfr-bootstrap
13686 .PHONY: check-mpfr maybe-check-mpfr
13687 maybe-check-mpfr:
13688 @if mpfr
13689 maybe-check-mpfr: check-mpfr
13691 check-mpfr:
13692 @: $(MAKE); $(unstage)
13693 @r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13695 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13696 (cd $(HOST_SUBDIR)/mpfr && \
13697 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13699 @endif mpfr
13701 .PHONY: install-mpfr maybe-install-mpfr
13702 maybe-install-mpfr:
13703 @if mpfr
13704 maybe-install-mpfr: install-mpfr
13706 install-mpfr:
13708 @endif mpfr
13710 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
13711 maybe-install-strip-mpfr:
13712 @if mpfr
13713 maybe-install-strip-mpfr: install-strip-mpfr
13715 install-strip-mpfr:
13717 @endif mpfr
13719 # Other targets (info, dvi, pdf, etc.)
13721 .PHONY: maybe-info-mpfr info-mpfr
13722 maybe-info-mpfr:
13723 @if mpfr
13724 maybe-info-mpfr: info-mpfr
13726 info-mpfr: \
13727 configure-mpfr
13728 @[ -f ./mpfr/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing info in mpfr"; \
13736 (cd $(HOST_SUBDIR)/mpfr && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13741 info) \
13742 || exit 1
13744 @endif mpfr
13746 .PHONY: maybe-dvi-mpfr dvi-mpfr
13747 maybe-dvi-mpfr:
13748 @if mpfr
13749 maybe-dvi-mpfr: dvi-mpfr
13751 dvi-mpfr: \
13752 configure-mpfr
13753 @[ -f ./mpfr/Makefile ] || exit 0; \
13754 r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 $(HOST_EXPORTS) \
13757 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13759 done; \
13760 echo "Doing dvi in mpfr"; \
13761 (cd $(HOST_SUBDIR)/mpfr && \
13762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13764 "RANLIB=$${RANLIB}" \
13765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13766 dvi) \
13767 || exit 1
13769 @endif mpfr
13771 .PHONY: maybe-pdf-mpfr pdf-mpfr
13772 maybe-pdf-mpfr:
13773 @if mpfr
13774 maybe-pdf-mpfr: pdf-mpfr
13776 pdf-mpfr: \
13777 configure-mpfr
13778 @[ -f ./mpfr/Makefile ] || exit 0; \
13779 r=`${PWD_COMMAND}`; export r; \
13780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13781 $(HOST_EXPORTS) \
13782 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13784 done; \
13785 echo "Doing pdf in mpfr"; \
13786 (cd $(HOST_SUBDIR)/mpfr && \
13787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13789 "RANLIB=$${RANLIB}" \
13790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13791 pdf) \
13792 || exit 1
13794 @endif mpfr
13796 .PHONY: maybe-html-mpfr html-mpfr
13797 maybe-html-mpfr:
13798 @if mpfr
13799 maybe-html-mpfr: html-mpfr
13801 html-mpfr: \
13802 configure-mpfr
13803 @[ -f ./mpfr/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing html in mpfr"; \
13811 (cd $(HOST_SUBDIR)/mpfr && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13816 html) \
13817 || exit 1
13819 @endif mpfr
13821 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
13822 maybe-TAGS-mpfr:
13823 @if mpfr
13824 maybe-TAGS-mpfr: TAGS-mpfr
13826 TAGS-mpfr: \
13827 configure-mpfr
13828 @[ -f ./mpfr/Makefile ] || exit 0; \
13829 r=`${PWD_COMMAND}`; export r; \
13830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13831 $(HOST_EXPORTS) \
13832 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13834 done; \
13835 echo "Doing TAGS in mpfr"; \
13836 (cd $(HOST_SUBDIR)/mpfr && \
13837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13839 "RANLIB=$${RANLIB}" \
13840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13841 TAGS) \
13842 || exit 1
13844 @endif mpfr
13846 .PHONY: maybe-install-info-mpfr install-info-mpfr
13847 maybe-install-info-mpfr:
13848 @if mpfr
13849 maybe-install-info-mpfr: install-info-mpfr
13851 install-info-mpfr: \
13852 configure-mpfr \
13853 info-mpfr
13854 @[ -f ./mpfr/Makefile ] || exit 0; \
13855 r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 $(HOST_EXPORTS) \
13858 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 done; \
13861 echo "Doing install-info in mpfr"; \
13862 (cd $(HOST_SUBDIR)/mpfr && \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13867 install-info) \
13868 || exit 1
13870 @endif mpfr
13872 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
13873 maybe-install-pdf-mpfr:
13874 @if mpfr
13875 maybe-install-pdf-mpfr: install-pdf-mpfr
13877 install-pdf-mpfr: \
13878 configure-mpfr \
13879 pdf-mpfr
13880 @[ -f ./mpfr/Makefile ] || exit 0; \
13881 r=`${PWD_COMMAND}`; export r; \
13882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13883 $(HOST_EXPORTS) \
13884 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13886 done; \
13887 echo "Doing install-pdf in mpfr"; \
13888 (cd $(HOST_SUBDIR)/mpfr && \
13889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13891 "RANLIB=$${RANLIB}" \
13892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13893 install-pdf) \
13894 || exit 1
13896 @endif mpfr
13898 .PHONY: maybe-install-html-mpfr install-html-mpfr
13899 maybe-install-html-mpfr:
13900 @if mpfr
13901 maybe-install-html-mpfr: install-html-mpfr
13903 install-html-mpfr: \
13904 configure-mpfr \
13905 html-mpfr
13906 @[ -f ./mpfr/Makefile ] || exit 0; \
13907 r=`${PWD_COMMAND}`; export r; \
13908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13909 $(HOST_EXPORTS) \
13910 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13912 done; \
13913 echo "Doing install-html in mpfr"; \
13914 (cd $(HOST_SUBDIR)/mpfr && \
13915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13917 "RANLIB=$${RANLIB}" \
13918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13919 install-html) \
13920 || exit 1
13922 @endif mpfr
13924 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
13925 maybe-installcheck-mpfr:
13926 @if mpfr
13927 maybe-installcheck-mpfr: installcheck-mpfr
13929 installcheck-mpfr: \
13930 configure-mpfr
13931 @[ -f ./mpfr/Makefile ] || exit 0; \
13932 r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 $(HOST_EXPORTS) \
13935 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13937 done; \
13938 echo "Doing installcheck in mpfr"; \
13939 (cd $(HOST_SUBDIR)/mpfr && \
13940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13942 "RANLIB=$${RANLIB}" \
13943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13944 installcheck) \
13945 || exit 1
13947 @endif mpfr
13949 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
13950 maybe-mostlyclean-mpfr:
13951 @if mpfr
13952 maybe-mostlyclean-mpfr: mostlyclean-mpfr
13954 mostlyclean-mpfr:
13955 @[ -f ./mpfr/Makefile ] || exit 0; \
13956 r=`${PWD_COMMAND}`; export r; \
13957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13958 $(HOST_EXPORTS) \
13959 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13961 done; \
13962 echo "Doing mostlyclean in mpfr"; \
13963 (cd $(HOST_SUBDIR)/mpfr && \
13964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13966 "RANLIB=$${RANLIB}" \
13967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13968 mostlyclean) \
13969 || exit 1
13971 @endif mpfr
13973 .PHONY: maybe-clean-mpfr clean-mpfr
13974 maybe-clean-mpfr:
13975 @if mpfr
13976 maybe-clean-mpfr: clean-mpfr
13978 clean-mpfr:
13979 @[ -f ./mpfr/Makefile ] || exit 0; \
13980 r=`${PWD_COMMAND}`; export r; \
13981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13982 $(HOST_EXPORTS) \
13983 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13985 done; \
13986 echo "Doing clean in mpfr"; \
13987 (cd $(HOST_SUBDIR)/mpfr && \
13988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13990 "RANLIB=$${RANLIB}" \
13991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13992 clean) \
13993 || exit 1
13995 @endif mpfr
13997 .PHONY: maybe-distclean-mpfr distclean-mpfr
13998 maybe-distclean-mpfr:
13999 @if mpfr
14000 maybe-distclean-mpfr: distclean-mpfr
14002 distclean-mpfr:
14003 @[ -f ./mpfr/Makefile ] || exit 0; \
14004 r=`${PWD_COMMAND}`; export r; \
14005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14006 $(HOST_EXPORTS) \
14007 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14009 done; \
14010 echo "Doing distclean in mpfr"; \
14011 (cd $(HOST_SUBDIR)/mpfr && \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14014 "RANLIB=$${RANLIB}" \
14015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14016 distclean) \
14017 || exit 1
14019 @endif mpfr
14021 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14022 maybe-maintainer-clean-mpfr:
14023 @if mpfr
14024 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14026 maintainer-clean-mpfr:
14027 @[ -f ./mpfr/Makefile ] || exit 0; \
14028 r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 $(HOST_EXPORTS) \
14031 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14033 done; \
14034 echo "Doing maintainer-clean in mpfr"; \
14035 (cd $(HOST_SUBDIR)/mpfr && \
14036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14038 "RANLIB=$${RANLIB}" \
14039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14040 maintainer-clean) \
14041 || exit 1
14043 @endif mpfr
14047 .PHONY: configure-mpc maybe-configure-mpc
14048 maybe-configure-mpc:
14049 @if gcc-bootstrap
14050 configure-mpc: stage_current
14051 @endif gcc-bootstrap
14052 @if mpc
14053 maybe-configure-mpc: configure-mpc
14054 configure-mpc:
14055 @r=`${PWD_COMMAND}`; export r; \
14056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14057 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14059 $(HOST_EXPORTS) \
14060 echo Configuring in $(HOST_SUBDIR)/mpc; \
14061 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14062 case $(srcdir) in \
14063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14064 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14066 esac; \
14067 module_srcdir=mpc; \
14068 $(SHELL) \
14069 $$s/$$module_srcdir/configure \
14070 --srcdir=$${topdir}/$$module_srcdir \
14071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14072 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
14073 || exit 1
14074 @endif mpc
14078 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14079 maybe-configure-stage1-mpc:
14080 @if mpc-bootstrap
14081 maybe-configure-stage1-mpc: configure-stage1-mpc
14082 configure-stage1-mpc:
14083 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14085 @r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 TFLAGS="$(STAGE1_TFLAGS)"; \
14088 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14089 $(HOST_EXPORTS) \
14090 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14091 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14092 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14093 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14095 cd $(HOST_SUBDIR)/mpc || exit 1; \
14096 case $(srcdir) in \
14097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14098 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14100 esac; \
14101 module_srcdir=mpc; \
14102 $(SHELL) $$s/$$module_srcdir/configure \
14103 --srcdir=$${topdir}/$$module_srcdir \
14104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14105 --target=${target_alias} \
14107 $(STAGE1_CONFIGURE_FLAGS) \
14108 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14109 @endif mpc-bootstrap
14111 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14112 maybe-configure-stage2-mpc:
14113 @if mpc-bootstrap
14114 maybe-configure-stage2-mpc: configure-stage2-mpc
14115 configure-stage2-mpc:
14116 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14118 @r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 TFLAGS="$(STAGE2_TFLAGS)"; \
14121 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14122 $(HOST_EXPORTS) \
14123 $(POSTSTAGE1_HOST_EXPORTS) \
14124 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14125 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14126 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14127 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14129 cd $(HOST_SUBDIR)/mpc || exit 1; \
14130 case $(srcdir) in \
14131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14132 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14134 esac; \
14135 module_srcdir=mpc; \
14136 $(SHELL) $$s/$$module_srcdir/configure \
14137 --srcdir=$${topdir}/$$module_srcdir \
14138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14139 --target=${target_alias} \
14140 --with-build-libsubdir=$(HOST_SUBDIR) \
14141 $(STAGE2_CONFIGURE_FLAGS) \
14142 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14143 @endif mpc-bootstrap
14145 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14146 maybe-configure-stage3-mpc:
14147 @if mpc-bootstrap
14148 maybe-configure-stage3-mpc: configure-stage3-mpc
14149 configure-stage3-mpc:
14150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14152 @r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 TFLAGS="$(STAGE3_TFLAGS)"; \
14155 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14156 $(HOST_EXPORTS) \
14157 $(POSTSTAGE1_HOST_EXPORTS) \
14158 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14159 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14160 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14161 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14163 cd $(HOST_SUBDIR)/mpc || exit 1; \
14164 case $(srcdir) in \
14165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14166 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14168 esac; \
14169 module_srcdir=mpc; \
14170 $(SHELL) $$s/$$module_srcdir/configure \
14171 --srcdir=$${topdir}/$$module_srcdir \
14172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14173 --target=${target_alias} \
14174 --with-build-libsubdir=$(HOST_SUBDIR) \
14175 $(STAGE3_CONFIGURE_FLAGS) \
14176 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14177 @endif mpc-bootstrap
14179 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14180 maybe-configure-stage4-mpc:
14181 @if mpc-bootstrap
14182 maybe-configure-stage4-mpc: configure-stage4-mpc
14183 configure-stage4-mpc:
14184 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14185 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14186 @r=`${PWD_COMMAND}`; export r; \
14187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14188 TFLAGS="$(STAGE4_TFLAGS)"; \
14189 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14190 $(HOST_EXPORTS) \
14191 $(POSTSTAGE1_HOST_EXPORTS) \
14192 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14193 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14194 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14195 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14197 cd $(HOST_SUBDIR)/mpc || exit 1; \
14198 case $(srcdir) in \
14199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14200 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14202 esac; \
14203 module_srcdir=mpc; \
14204 $(SHELL) $$s/$$module_srcdir/configure \
14205 --srcdir=$${topdir}/$$module_srcdir \
14206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14207 --target=${target_alias} \
14208 --with-build-libsubdir=$(HOST_SUBDIR) \
14209 $(STAGE4_CONFIGURE_FLAGS) \
14210 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14211 @endif mpc-bootstrap
14213 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14214 maybe-configure-stageprofile-mpc:
14215 @if mpc-bootstrap
14216 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14217 configure-stageprofile-mpc:
14218 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14220 @r=`${PWD_COMMAND}`; export r; \
14221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14222 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14223 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14224 $(HOST_EXPORTS) \
14225 $(POSTSTAGE1_HOST_EXPORTS) \
14226 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14227 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14228 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14229 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14231 cd $(HOST_SUBDIR)/mpc || exit 1; \
14232 case $(srcdir) in \
14233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14234 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14236 esac; \
14237 module_srcdir=mpc; \
14238 $(SHELL) $$s/$$module_srcdir/configure \
14239 --srcdir=$${topdir}/$$module_srcdir \
14240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14241 --target=${target_alias} \
14242 --with-build-libsubdir=$(HOST_SUBDIR) \
14243 $(STAGEprofile_CONFIGURE_FLAGS) \
14244 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14245 @endif mpc-bootstrap
14247 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14248 maybe-configure-stagefeedback-mpc:
14249 @if mpc-bootstrap
14250 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14251 configure-stagefeedback-mpc:
14252 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14253 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14254 @r=`${PWD_COMMAND}`; export r; \
14255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14256 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14257 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14258 $(HOST_EXPORTS) \
14259 $(POSTSTAGE1_HOST_EXPORTS) \
14260 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14261 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14262 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14263 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14265 cd $(HOST_SUBDIR)/mpc || exit 1; \
14266 case $(srcdir) in \
14267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14268 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14270 esac; \
14271 module_srcdir=mpc; \
14272 $(SHELL) $$s/$$module_srcdir/configure \
14273 --srcdir=$${topdir}/$$module_srcdir \
14274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14275 --target=${target_alias} \
14276 --with-build-libsubdir=$(HOST_SUBDIR) \
14277 $(STAGEfeedback_CONFIGURE_FLAGS) \
14278 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14279 @endif mpc-bootstrap
14281 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14282 maybe-configure-stageautoprofile-mpc:
14283 @if mpc-bootstrap
14284 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14285 configure-stageautoprofile-mpc:
14286 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14288 @r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14290 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14291 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14292 $(HOST_EXPORTS) \
14293 $(POSTSTAGE1_HOST_EXPORTS) \
14294 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14295 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14296 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14297 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14299 cd $(HOST_SUBDIR)/mpc || exit 1; \
14300 case $(srcdir) in \
14301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14302 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14304 esac; \
14305 module_srcdir=mpc; \
14306 $(SHELL) $$s/$$module_srcdir/configure \
14307 --srcdir=$${topdir}/$$module_srcdir \
14308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14309 --target=${target_alias} \
14310 --with-build-libsubdir=$(HOST_SUBDIR) \
14311 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14312 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14313 @endif mpc-bootstrap
14315 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14316 maybe-configure-stageautofeedback-mpc:
14317 @if mpc-bootstrap
14318 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14319 configure-stageautofeedback-mpc:
14320 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14322 @r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14325 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14326 $(HOST_EXPORTS) \
14327 $(POSTSTAGE1_HOST_EXPORTS) \
14328 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14329 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14330 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14331 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14333 cd $(HOST_SUBDIR)/mpc || exit 1; \
14334 case $(srcdir) in \
14335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14336 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14338 esac; \
14339 module_srcdir=mpc; \
14340 $(SHELL) $$s/$$module_srcdir/configure \
14341 --srcdir=$${topdir}/$$module_srcdir \
14342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14343 --target=${target_alias} \
14344 --with-build-libsubdir=$(HOST_SUBDIR) \
14345 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14346 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14347 @endif mpc-bootstrap
14353 .PHONY: all-mpc maybe-all-mpc
14354 maybe-all-mpc:
14355 @if gcc-bootstrap
14356 all-mpc: stage_current
14357 @endif gcc-bootstrap
14358 @if mpc
14359 TARGET-mpc=all
14360 maybe-all-mpc: all-mpc
14361 all-mpc: configure-mpc
14362 @r=`${PWD_COMMAND}`; export r; \
14363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14364 $(HOST_EXPORTS) \
14365 (cd $(HOST_SUBDIR)/mpc && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14367 $(TARGET-mpc))
14368 @endif mpc
14372 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
14373 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
14374 maybe-all-stage1-mpc:
14375 maybe-clean-stage1-mpc:
14376 @if mpc-bootstrap
14377 maybe-all-stage1-mpc: all-stage1-mpc
14378 all-stage1: all-stage1-mpc
14379 TARGET-stage1-mpc = $(TARGET-mpc)
14380 all-stage1-mpc: configure-stage1-mpc
14381 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14382 @r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384 TFLAGS="$(STAGE1_TFLAGS)"; \
14385 $(HOST_EXPORTS) \
14386 cd $(HOST_SUBDIR)/mpc && \
14388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14389 CFLAGS="$(STAGE1_CFLAGS)" \
14390 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14391 LIBCFLAGS="$(LIBCFLAGS)" \
14392 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14393 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14394 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14395 $(EXTRA_HOST_FLAGS) \
14396 $(STAGE1_FLAGS_TO_PASS) \
14397 TFLAGS="$(STAGE1_TFLAGS)" \
14398 $(TARGET-stage1-mpc)
14400 maybe-clean-stage1-mpc: clean-stage1-mpc
14401 clean-stage1: clean-stage1-mpc
14402 clean-stage1-mpc:
14403 @if [ $(current_stage) = stage1 ]; then \
14404 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14405 else \
14406 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
14407 $(MAKE) stage1-start; \
14408 fi; \
14409 cd $(HOST_SUBDIR)/mpc && \
14410 $(MAKE) $(EXTRA_HOST_FLAGS) \
14411 $(STAGE1_FLAGS_TO_PASS) clean
14412 @endif mpc-bootstrap
14415 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
14416 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
14417 maybe-all-stage2-mpc:
14418 maybe-clean-stage2-mpc:
14419 @if mpc-bootstrap
14420 maybe-all-stage2-mpc: all-stage2-mpc
14421 all-stage2: all-stage2-mpc
14422 TARGET-stage2-mpc = $(TARGET-mpc)
14423 all-stage2-mpc: configure-stage2-mpc
14424 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14425 @r=`${PWD_COMMAND}`; export r; \
14426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14427 TFLAGS="$(STAGE2_TFLAGS)"; \
14428 $(HOST_EXPORTS) \
14429 $(POSTSTAGE1_HOST_EXPORTS) \
14430 cd $(HOST_SUBDIR)/mpc && \
14432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14433 CFLAGS="$(STAGE2_CFLAGS)" \
14434 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14435 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14440 TFLAGS="$(STAGE2_TFLAGS)" \
14441 $(TARGET-stage2-mpc)
14443 maybe-clean-stage2-mpc: clean-stage2-mpc
14444 clean-stage2: clean-stage2-mpc
14445 clean-stage2-mpc:
14446 @if [ $(current_stage) = stage2 ]; then \
14447 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14448 else \
14449 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
14450 $(MAKE) stage2-start; \
14451 fi; \
14452 cd $(HOST_SUBDIR)/mpc && \
14453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14454 @endif mpc-bootstrap
14457 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
14458 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
14459 maybe-all-stage3-mpc:
14460 maybe-clean-stage3-mpc:
14461 @if mpc-bootstrap
14462 maybe-all-stage3-mpc: all-stage3-mpc
14463 all-stage3: all-stage3-mpc
14464 TARGET-stage3-mpc = $(TARGET-mpc)
14465 all-stage3-mpc: configure-stage3-mpc
14466 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14467 @r=`${PWD_COMMAND}`; export r; \
14468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14469 TFLAGS="$(STAGE3_TFLAGS)"; \
14470 $(HOST_EXPORTS) \
14471 $(POSTSTAGE1_HOST_EXPORTS) \
14472 cd $(HOST_SUBDIR)/mpc && \
14474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14475 CFLAGS="$(STAGE3_CFLAGS)" \
14476 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14477 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14482 TFLAGS="$(STAGE3_TFLAGS)" \
14483 $(TARGET-stage3-mpc)
14485 maybe-clean-stage3-mpc: clean-stage3-mpc
14486 clean-stage3: clean-stage3-mpc
14487 clean-stage3-mpc:
14488 @if [ $(current_stage) = stage3 ]; then \
14489 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14490 else \
14491 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
14492 $(MAKE) stage3-start; \
14493 fi; \
14494 cd $(HOST_SUBDIR)/mpc && \
14495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14496 @endif mpc-bootstrap
14499 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
14500 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
14501 maybe-all-stage4-mpc:
14502 maybe-clean-stage4-mpc:
14503 @if mpc-bootstrap
14504 maybe-all-stage4-mpc: all-stage4-mpc
14505 all-stage4: all-stage4-mpc
14506 TARGET-stage4-mpc = $(TARGET-mpc)
14507 all-stage4-mpc: configure-stage4-mpc
14508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14509 @r=`${PWD_COMMAND}`; export r; \
14510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14511 TFLAGS="$(STAGE4_TFLAGS)"; \
14512 $(HOST_EXPORTS) \
14513 $(POSTSTAGE1_HOST_EXPORTS) \
14514 cd $(HOST_SUBDIR)/mpc && \
14516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14517 CFLAGS="$(STAGE4_CFLAGS)" \
14518 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14519 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14523 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14524 TFLAGS="$(STAGE4_TFLAGS)" \
14525 $(TARGET-stage4-mpc)
14527 maybe-clean-stage4-mpc: clean-stage4-mpc
14528 clean-stage4: clean-stage4-mpc
14529 clean-stage4-mpc:
14530 @if [ $(current_stage) = stage4 ]; then \
14531 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14532 else \
14533 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
14534 $(MAKE) stage4-start; \
14535 fi; \
14536 cd $(HOST_SUBDIR)/mpc && \
14537 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14538 @endif mpc-bootstrap
14541 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
14542 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
14543 maybe-all-stageprofile-mpc:
14544 maybe-clean-stageprofile-mpc:
14545 @if mpc-bootstrap
14546 maybe-all-stageprofile-mpc: all-stageprofile-mpc
14547 all-stageprofile: all-stageprofile-mpc
14548 TARGET-stageprofile-mpc = $(TARGET-mpc)
14549 all-stageprofile-mpc: configure-stageprofile-mpc
14550 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14551 @r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14554 $(HOST_EXPORTS) \
14555 $(POSTSTAGE1_HOST_EXPORTS) \
14556 cd $(HOST_SUBDIR)/mpc && \
14558 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14559 CFLAGS="$(STAGEprofile_CFLAGS)" \
14560 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14561 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14565 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14566 TFLAGS="$(STAGEprofile_TFLAGS)" \
14567 $(TARGET-stageprofile-mpc)
14569 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
14570 clean-stageprofile: clean-stageprofile-mpc
14571 clean-stageprofile-mpc:
14572 @if [ $(current_stage) = stageprofile ]; then \
14573 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14574 else \
14575 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
14576 $(MAKE) stageprofile-start; \
14577 fi; \
14578 cd $(HOST_SUBDIR)/mpc && \
14579 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14580 @endif mpc-bootstrap
14583 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
14584 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
14585 maybe-all-stagefeedback-mpc:
14586 maybe-clean-stagefeedback-mpc:
14587 @if mpc-bootstrap
14588 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
14589 all-stagefeedback: all-stagefeedback-mpc
14590 TARGET-stagefeedback-mpc = $(TARGET-mpc)
14591 all-stagefeedback-mpc: configure-stagefeedback-mpc
14592 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14593 @r=`${PWD_COMMAND}`; export r; \
14594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14595 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14596 $(HOST_EXPORTS) \
14597 $(POSTSTAGE1_HOST_EXPORTS) \
14598 cd $(HOST_SUBDIR)/mpc && \
14600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14601 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14602 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14603 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14608 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14609 $(TARGET-stagefeedback-mpc)
14611 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
14612 clean-stagefeedback: clean-stagefeedback-mpc
14613 clean-stagefeedback-mpc:
14614 @if [ $(current_stage) = stagefeedback ]; then \
14615 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14616 else \
14617 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
14618 $(MAKE) stagefeedback-start; \
14619 fi; \
14620 cd $(HOST_SUBDIR)/mpc && \
14621 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14622 @endif mpc-bootstrap
14625 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
14626 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
14627 maybe-all-stageautoprofile-mpc:
14628 maybe-clean-stageautoprofile-mpc:
14629 @if mpc-bootstrap
14630 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
14631 all-stageautoprofile: all-stageautoprofile-mpc
14632 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
14633 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
14634 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14635 @r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14638 $(HOST_EXPORTS) \
14639 $(POSTSTAGE1_HOST_EXPORTS) \
14640 cd $(HOST_SUBDIR)/mpc && \
14641 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14643 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14644 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14645 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14650 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14651 $(TARGET-stageautoprofile-mpc)
14653 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
14654 clean-stageautoprofile: clean-stageautoprofile-mpc
14655 clean-stageautoprofile-mpc:
14656 @if [ $(current_stage) = stageautoprofile ]; then \
14657 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14658 else \
14659 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
14660 $(MAKE) stageautoprofile-start; \
14661 fi; \
14662 cd $(HOST_SUBDIR)/mpc && \
14663 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14664 @endif mpc-bootstrap
14667 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
14668 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
14669 maybe-all-stageautofeedback-mpc:
14670 maybe-clean-stageautofeedback-mpc:
14671 @if mpc-bootstrap
14672 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
14673 all-stageautofeedback: all-stageautofeedback-mpc
14674 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
14675 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
14676 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14677 @r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14680 $(HOST_EXPORTS) \
14681 $(POSTSTAGE1_HOST_EXPORTS) \
14682 cd $(HOST_SUBDIR)/mpc && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14685 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14686 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14687 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14692 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14693 $(TARGET-stageautofeedback-mpc)
14695 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
14696 clean-stageautofeedback: clean-stageautofeedback-mpc
14697 clean-stageautofeedback-mpc:
14698 @if [ $(current_stage) = stageautofeedback ]; then \
14699 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14700 else \
14701 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
14702 $(MAKE) stageautofeedback-start; \
14703 fi; \
14704 cd $(HOST_SUBDIR)/mpc && \
14705 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14706 @endif mpc-bootstrap
14712 .PHONY: check-mpc maybe-check-mpc
14713 maybe-check-mpc:
14714 @if mpc
14715 maybe-check-mpc: check-mpc
14717 check-mpc:
14718 @: $(MAKE); $(unstage)
14719 @r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14722 (cd $(HOST_SUBDIR)/mpc && \
14723 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
14725 @endif mpc
14727 .PHONY: install-mpc maybe-install-mpc
14728 maybe-install-mpc:
14729 @if mpc
14730 maybe-install-mpc: install-mpc
14732 install-mpc:
14734 @endif mpc
14736 .PHONY: install-strip-mpc maybe-install-strip-mpc
14737 maybe-install-strip-mpc:
14738 @if mpc
14739 maybe-install-strip-mpc: install-strip-mpc
14741 install-strip-mpc:
14743 @endif mpc
14745 # Other targets (info, dvi, pdf, etc.)
14747 .PHONY: maybe-info-mpc info-mpc
14748 maybe-info-mpc:
14749 @if mpc
14750 maybe-info-mpc: info-mpc
14752 info-mpc: \
14753 configure-mpc
14754 @[ -f ./mpc/Makefile ] || exit 0; \
14755 r=`${PWD_COMMAND}`; export r; \
14756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14757 $(HOST_EXPORTS) \
14758 for flag in $(EXTRA_HOST_FLAGS) ; do \
14759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14760 done; \
14761 echo "Doing info in mpc"; \
14762 (cd $(HOST_SUBDIR)/mpc && \
14763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14765 "RANLIB=$${RANLIB}" \
14766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14767 info) \
14768 || exit 1
14770 @endif mpc
14772 .PHONY: maybe-dvi-mpc dvi-mpc
14773 maybe-dvi-mpc:
14774 @if mpc
14775 maybe-dvi-mpc: dvi-mpc
14777 dvi-mpc: \
14778 configure-mpc
14779 @[ -f ./mpc/Makefile ] || exit 0; \
14780 r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 $(HOST_EXPORTS) \
14783 for flag in $(EXTRA_HOST_FLAGS) ; do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785 done; \
14786 echo "Doing dvi in mpc"; \
14787 (cd $(HOST_SUBDIR)/mpc && \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14792 dvi) \
14793 || exit 1
14795 @endif mpc
14797 .PHONY: maybe-pdf-mpc pdf-mpc
14798 maybe-pdf-mpc:
14799 @if mpc
14800 maybe-pdf-mpc: pdf-mpc
14802 pdf-mpc: \
14803 configure-mpc
14804 @[ -f ./mpc/Makefile ] || exit 0; \
14805 r=`${PWD_COMMAND}`; export r; \
14806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14807 $(HOST_EXPORTS) \
14808 for flag in $(EXTRA_HOST_FLAGS) ; do \
14809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14810 done; \
14811 echo "Doing pdf in mpc"; \
14812 (cd $(HOST_SUBDIR)/mpc && \
14813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815 "RANLIB=$${RANLIB}" \
14816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14817 pdf) \
14818 || exit 1
14820 @endif mpc
14822 .PHONY: maybe-html-mpc html-mpc
14823 maybe-html-mpc:
14824 @if mpc
14825 maybe-html-mpc: html-mpc
14827 html-mpc: \
14828 configure-mpc
14829 @[ -f ./mpc/Makefile ] || exit 0; \
14830 r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 $(HOST_EXPORTS) \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14835 done; \
14836 echo "Doing html in mpc"; \
14837 (cd $(HOST_SUBDIR)/mpc && \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14842 html) \
14843 || exit 1
14845 @endif mpc
14847 .PHONY: maybe-TAGS-mpc TAGS-mpc
14848 maybe-TAGS-mpc:
14849 @if mpc
14850 maybe-TAGS-mpc: TAGS-mpc
14852 TAGS-mpc: \
14853 configure-mpc
14854 @[ -f ./mpc/Makefile ] || exit 0; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 $(HOST_EXPORTS) \
14858 for flag in $(EXTRA_HOST_FLAGS) ; do \
14859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14860 done; \
14861 echo "Doing TAGS in mpc"; \
14862 (cd $(HOST_SUBDIR)/mpc && \
14863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14865 "RANLIB=$${RANLIB}" \
14866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14867 TAGS) \
14868 || exit 1
14870 @endif mpc
14872 .PHONY: maybe-install-info-mpc install-info-mpc
14873 maybe-install-info-mpc:
14874 @if mpc
14875 maybe-install-info-mpc: install-info-mpc
14877 install-info-mpc: \
14878 configure-mpc \
14879 info-mpc
14880 @[ -f ./mpc/Makefile ] || exit 0; \
14881 r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 $(HOST_EXPORTS) \
14884 for flag in $(EXTRA_HOST_FLAGS) ; do \
14885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14886 done; \
14887 echo "Doing install-info in mpc"; \
14888 (cd $(HOST_SUBDIR)/mpc && \
14889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14891 "RANLIB=$${RANLIB}" \
14892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14893 install-info) \
14894 || exit 1
14896 @endif mpc
14898 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
14899 maybe-install-pdf-mpc:
14900 @if mpc
14901 maybe-install-pdf-mpc: install-pdf-mpc
14903 install-pdf-mpc: \
14904 configure-mpc \
14905 pdf-mpc
14906 @[ -f ./mpc/Makefile ] || exit 0; \
14907 r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 $(HOST_EXPORTS) \
14910 for flag in $(EXTRA_HOST_FLAGS) ; do \
14911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14912 done; \
14913 echo "Doing install-pdf in mpc"; \
14914 (cd $(HOST_SUBDIR)/mpc && \
14915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14917 "RANLIB=$${RANLIB}" \
14918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14919 install-pdf) \
14920 || exit 1
14922 @endif mpc
14924 .PHONY: maybe-install-html-mpc install-html-mpc
14925 maybe-install-html-mpc:
14926 @if mpc
14927 maybe-install-html-mpc: install-html-mpc
14929 install-html-mpc: \
14930 configure-mpc \
14931 html-mpc
14932 @[ -f ./mpc/Makefile ] || exit 0; \
14933 r=`${PWD_COMMAND}`; export r; \
14934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14935 $(HOST_EXPORTS) \
14936 for flag in $(EXTRA_HOST_FLAGS) ; do \
14937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14938 done; \
14939 echo "Doing install-html in mpc"; \
14940 (cd $(HOST_SUBDIR)/mpc && \
14941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14943 "RANLIB=$${RANLIB}" \
14944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14945 install-html) \
14946 || exit 1
14948 @endif mpc
14950 .PHONY: maybe-installcheck-mpc installcheck-mpc
14951 maybe-installcheck-mpc:
14952 @if mpc
14953 maybe-installcheck-mpc: installcheck-mpc
14955 installcheck-mpc: \
14956 configure-mpc
14957 @[ -f ./mpc/Makefile ] || exit 0; \
14958 r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960 $(HOST_EXPORTS) \
14961 for flag in $(EXTRA_HOST_FLAGS) ; do \
14962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14963 done; \
14964 echo "Doing installcheck in mpc"; \
14965 (cd $(HOST_SUBDIR)/mpc && \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968 "RANLIB=$${RANLIB}" \
14969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14970 installcheck) \
14971 || exit 1
14973 @endif mpc
14975 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
14976 maybe-mostlyclean-mpc:
14977 @if mpc
14978 maybe-mostlyclean-mpc: mostlyclean-mpc
14980 mostlyclean-mpc:
14981 @[ -f ./mpc/Makefile ] || exit 0; \
14982 r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 $(HOST_EXPORTS) \
14985 for flag in $(EXTRA_HOST_FLAGS) ; do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987 done; \
14988 echo "Doing mostlyclean in mpc"; \
14989 (cd $(HOST_SUBDIR)/mpc && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14994 mostlyclean) \
14995 || exit 1
14997 @endif mpc
14999 .PHONY: maybe-clean-mpc clean-mpc
15000 maybe-clean-mpc:
15001 @if mpc
15002 maybe-clean-mpc: clean-mpc
15004 clean-mpc:
15005 @[ -f ./mpc/Makefile ] || exit 0; \
15006 r=`${PWD_COMMAND}`; export r; \
15007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 $(HOST_EXPORTS) \
15009 for flag in $(EXTRA_HOST_FLAGS) ; do \
15010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15011 done; \
15012 echo "Doing clean in mpc"; \
15013 (cd $(HOST_SUBDIR)/mpc && \
15014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15016 "RANLIB=$${RANLIB}" \
15017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15018 clean) \
15019 || exit 1
15021 @endif mpc
15023 .PHONY: maybe-distclean-mpc distclean-mpc
15024 maybe-distclean-mpc:
15025 @if mpc
15026 maybe-distclean-mpc: distclean-mpc
15028 distclean-mpc:
15029 @[ -f ./mpc/Makefile ] || exit 0; \
15030 r=`${PWD_COMMAND}`; export r; \
15031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032 $(HOST_EXPORTS) \
15033 for flag in $(EXTRA_HOST_FLAGS) ; do \
15034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15035 done; \
15036 echo "Doing distclean in mpc"; \
15037 (cd $(HOST_SUBDIR)/mpc && \
15038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15040 "RANLIB=$${RANLIB}" \
15041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15042 distclean) \
15043 || exit 1
15045 @endif mpc
15047 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15048 maybe-maintainer-clean-mpc:
15049 @if mpc
15050 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15052 maintainer-clean-mpc:
15053 @[ -f ./mpc/Makefile ] || exit 0; \
15054 r=`${PWD_COMMAND}`; export r; \
15055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15056 $(HOST_EXPORTS) \
15057 for flag in $(EXTRA_HOST_FLAGS) ; do \
15058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15059 done; \
15060 echo "Doing maintainer-clean in mpc"; \
15061 (cd $(HOST_SUBDIR)/mpc && \
15062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15064 "RANLIB=$${RANLIB}" \
15065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15066 maintainer-clean) \
15067 || exit 1
15069 @endif mpc
15073 .PHONY: configure-isl maybe-configure-isl
15074 maybe-configure-isl:
15075 @if gcc-bootstrap
15076 configure-isl: stage_current
15077 @endif gcc-bootstrap
15078 @if isl
15079 maybe-configure-isl: configure-isl
15080 configure-isl:
15081 @r=`${PWD_COMMAND}`; export r; \
15082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15083 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15085 $(HOST_EXPORTS) \
15086 echo Configuring in $(HOST_SUBDIR)/isl; \
15087 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15088 case $(srcdir) in \
15089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15090 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15092 esac; \
15093 module_srcdir=isl; \
15094 $(SHELL) \
15095 $$s/$$module_srcdir/configure \
15096 --srcdir=$${topdir}/$$module_srcdir \
15097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15098 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15099 || exit 1
15100 @endif isl
15104 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15105 maybe-configure-stage1-isl:
15106 @if isl-bootstrap
15107 maybe-configure-stage1-isl: configure-stage1-isl
15108 configure-stage1-isl:
15109 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15111 @r=`${PWD_COMMAND}`; export r; \
15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15113 TFLAGS="$(STAGE1_TFLAGS)"; \
15114 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15115 $(HOST_EXPORTS) \
15116 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15117 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15118 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15119 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15121 cd $(HOST_SUBDIR)/isl || exit 1; \
15122 case $(srcdir) in \
15123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15124 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15126 esac; \
15127 module_srcdir=isl; \
15128 $(SHELL) $$s/$$module_srcdir/configure \
15129 --srcdir=$${topdir}/$$module_srcdir \
15130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15131 --target=${target_alias} \
15133 $(STAGE1_CONFIGURE_FLAGS) \
15134 --disable-shared @extra_isl_gmp_configure_flags@
15135 @endif isl-bootstrap
15137 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15138 maybe-configure-stage2-isl:
15139 @if isl-bootstrap
15140 maybe-configure-stage2-isl: configure-stage2-isl
15141 configure-stage2-isl:
15142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15144 @r=`${PWD_COMMAND}`; export r; \
15145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 TFLAGS="$(STAGE2_TFLAGS)"; \
15147 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15148 $(HOST_EXPORTS) \
15149 $(POSTSTAGE1_HOST_EXPORTS) \
15150 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15151 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15152 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15153 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15155 cd $(HOST_SUBDIR)/isl || exit 1; \
15156 case $(srcdir) in \
15157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15158 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15160 esac; \
15161 module_srcdir=isl; \
15162 $(SHELL) $$s/$$module_srcdir/configure \
15163 --srcdir=$${topdir}/$$module_srcdir \
15164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15165 --target=${target_alias} \
15166 --with-build-libsubdir=$(HOST_SUBDIR) \
15167 $(STAGE2_CONFIGURE_FLAGS) \
15168 --disable-shared @extra_isl_gmp_configure_flags@
15169 @endif isl-bootstrap
15171 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15172 maybe-configure-stage3-isl:
15173 @if isl-bootstrap
15174 maybe-configure-stage3-isl: configure-stage3-isl
15175 configure-stage3-isl:
15176 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15178 @r=`${PWD_COMMAND}`; export r; \
15179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15180 TFLAGS="$(STAGE3_TFLAGS)"; \
15181 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15182 $(HOST_EXPORTS) \
15183 $(POSTSTAGE1_HOST_EXPORTS) \
15184 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15185 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15186 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15187 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15189 cd $(HOST_SUBDIR)/isl || exit 1; \
15190 case $(srcdir) in \
15191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15192 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15194 esac; \
15195 module_srcdir=isl; \
15196 $(SHELL) $$s/$$module_srcdir/configure \
15197 --srcdir=$${topdir}/$$module_srcdir \
15198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15199 --target=${target_alias} \
15200 --with-build-libsubdir=$(HOST_SUBDIR) \
15201 $(STAGE3_CONFIGURE_FLAGS) \
15202 --disable-shared @extra_isl_gmp_configure_flags@
15203 @endif isl-bootstrap
15205 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15206 maybe-configure-stage4-isl:
15207 @if isl-bootstrap
15208 maybe-configure-stage4-isl: configure-stage4-isl
15209 configure-stage4-isl:
15210 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15212 @r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 TFLAGS="$(STAGE4_TFLAGS)"; \
15215 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15216 $(HOST_EXPORTS) \
15217 $(POSTSTAGE1_HOST_EXPORTS) \
15218 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15219 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15220 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15221 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15223 cd $(HOST_SUBDIR)/isl || exit 1; \
15224 case $(srcdir) in \
15225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15226 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15228 esac; \
15229 module_srcdir=isl; \
15230 $(SHELL) $$s/$$module_srcdir/configure \
15231 --srcdir=$${topdir}/$$module_srcdir \
15232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15233 --target=${target_alias} \
15234 --with-build-libsubdir=$(HOST_SUBDIR) \
15235 $(STAGE4_CONFIGURE_FLAGS) \
15236 --disable-shared @extra_isl_gmp_configure_flags@
15237 @endif isl-bootstrap
15239 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15240 maybe-configure-stageprofile-isl:
15241 @if isl-bootstrap
15242 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15243 configure-stageprofile-isl:
15244 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15246 @r=`${PWD_COMMAND}`; export r; \
15247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15248 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15249 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15250 $(HOST_EXPORTS) \
15251 $(POSTSTAGE1_HOST_EXPORTS) \
15252 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15253 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15254 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15255 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15257 cd $(HOST_SUBDIR)/isl || exit 1; \
15258 case $(srcdir) in \
15259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15260 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15262 esac; \
15263 module_srcdir=isl; \
15264 $(SHELL) $$s/$$module_srcdir/configure \
15265 --srcdir=$${topdir}/$$module_srcdir \
15266 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15267 --target=${target_alias} \
15268 --with-build-libsubdir=$(HOST_SUBDIR) \
15269 $(STAGEprofile_CONFIGURE_FLAGS) \
15270 --disable-shared @extra_isl_gmp_configure_flags@
15271 @endif isl-bootstrap
15273 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
15274 maybe-configure-stagefeedback-isl:
15275 @if isl-bootstrap
15276 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
15277 configure-stagefeedback-isl:
15278 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15280 @r=`${PWD_COMMAND}`; export r; \
15281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15283 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15284 $(HOST_EXPORTS) \
15285 $(POSTSTAGE1_HOST_EXPORTS) \
15286 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15287 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15288 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15289 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
15290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15291 cd $(HOST_SUBDIR)/isl || exit 1; \
15292 case $(srcdir) in \
15293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15294 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15296 esac; \
15297 module_srcdir=isl; \
15298 $(SHELL) $$s/$$module_srcdir/configure \
15299 --srcdir=$${topdir}/$$module_srcdir \
15300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15301 --target=${target_alias} \
15302 --with-build-libsubdir=$(HOST_SUBDIR) \
15303 $(STAGEfeedback_CONFIGURE_FLAGS) \
15304 --disable-shared @extra_isl_gmp_configure_flags@
15305 @endif isl-bootstrap
15307 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
15308 maybe-configure-stageautoprofile-isl:
15309 @if isl-bootstrap
15310 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
15311 configure-stageautoprofile-isl:
15312 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15314 @r=`${PWD_COMMAND}`; export r; \
15315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15316 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15317 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15318 $(HOST_EXPORTS) \
15319 $(POSTSTAGE1_HOST_EXPORTS) \
15320 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15321 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15322 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15323 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
15324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15325 cd $(HOST_SUBDIR)/isl || exit 1; \
15326 case $(srcdir) in \
15327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15328 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15330 esac; \
15331 module_srcdir=isl; \
15332 $(SHELL) $$s/$$module_srcdir/configure \
15333 --srcdir=$${topdir}/$$module_srcdir \
15334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15335 --target=${target_alias} \
15336 --with-build-libsubdir=$(HOST_SUBDIR) \
15337 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15338 --disable-shared @extra_isl_gmp_configure_flags@
15339 @endif isl-bootstrap
15341 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
15342 maybe-configure-stageautofeedback-isl:
15343 @if isl-bootstrap
15344 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
15345 configure-stageautofeedback-isl:
15346 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15348 @r=`${PWD_COMMAND}`; export r; \
15349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15350 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15351 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15352 $(HOST_EXPORTS) \
15353 $(POSTSTAGE1_HOST_EXPORTS) \
15354 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15355 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15356 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15357 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
15358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15359 cd $(HOST_SUBDIR)/isl || exit 1; \
15360 case $(srcdir) in \
15361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15362 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15364 esac; \
15365 module_srcdir=isl; \
15366 $(SHELL) $$s/$$module_srcdir/configure \
15367 --srcdir=$${topdir}/$$module_srcdir \
15368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15369 --target=${target_alias} \
15370 --with-build-libsubdir=$(HOST_SUBDIR) \
15371 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15372 --disable-shared @extra_isl_gmp_configure_flags@
15373 @endif isl-bootstrap
15379 .PHONY: all-isl maybe-all-isl
15380 maybe-all-isl:
15381 @if gcc-bootstrap
15382 all-isl: stage_current
15383 @endif gcc-bootstrap
15384 @if isl
15385 TARGET-isl=all
15386 maybe-all-isl: all-isl
15387 all-isl: configure-isl
15388 @r=`${PWD_COMMAND}`; export r; \
15389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15390 $(HOST_EXPORTS) \
15391 (cd $(HOST_SUBDIR)/isl && \
15392 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
15393 $(TARGET-isl))
15394 @endif isl
15398 .PHONY: all-stage1-isl maybe-all-stage1-isl
15399 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
15400 maybe-all-stage1-isl:
15401 maybe-clean-stage1-isl:
15402 @if isl-bootstrap
15403 maybe-all-stage1-isl: all-stage1-isl
15404 all-stage1: all-stage1-isl
15405 TARGET-stage1-isl = $(TARGET-isl)
15406 all-stage1-isl: configure-stage1-isl
15407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15408 @r=`${PWD_COMMAND}`; export r; \
15409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15410 TFLAGS="$(STAGE1_TFLAGS)"; \
15411 $(HOST_EXPORTS) \
15412 cd $(HOST_SUBDIR)/isl && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15415 CFLAGS="$(STAGE1_CFLAGS)" \
15416 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15417 LIBCFLAGS="$(LIBCFLAGS)" \
15418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15421 $(EXTRA_HOST_FLAGS) \
15422 $(STAGE1_FLAGS_TO_PASS) V=1 \
15423 TFLAGS="$(STAGE1_TFLAGS)" \
15424 $(TARGET-stage1-isl)
15426 maybe-clean-stage1-isl: clean-stage1-isl
15427 clean-stage1: clean-stage1-isl
15428 clean-stage1-isl:
15429 @if [ $(current_stage) = stage1 ]; then \
15430 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15431 else \
15432 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
15433 $(MAKE) stage1-start; \
15434 fi; \
15435 cd $(HOST_SUBDIR)/isl && \
15436 $(MAKE) $(EXTRA_HOST_FLAGS) \
15437 $(STAGE1_FLAGS_TO_PASS) V=1 clean
15438 @endif isl-bootstrap
15441 .PHONY: all-stage2-isl maybe-all-stage2-isl
15442 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
15443 maybe-all-stage2-isl:
15444 maybe-clean-stage2-isl:
15445 @if isl-bootstrap
15446 maybe-all-stage2-isl: all-stage2-isl
15447 all-stage2: all-stage2-isl
15448 TARGET-stage2-isl = $(TARGET-isl)
15449 all-stage2-isl: configure-stage2-isl
15450 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15451 @r=`${PWD_COMMAND}`; export r; \
15452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15453 TFLAGS="$(STAGE2_TFLAGS)"; \
15454 $(HOST_EXPORTS) \
15455 $(POSTSTAGE1_HOST_EXPORTS) \
15456 cd $(HOST_SUBDIR)/isl && \
15458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15459 CFLAGS="$(STAGE2_CFLAGS)" \
15460 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15461 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15466 TFLAGS="$(STAGE2_TFLAGS)" \
15467 $(TARGET-stage2-isl)
15469 maybe-clean-stage2-isl: clean-stage2-isl
15470 clean-stage2: clean-stage2-isl
15471 clean-stage2-isl:
15472 @if [ $(current_stage) = stage2 ]; then \
15473 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15474 else \
15475 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
15476 $(MAKE) stage2-start; \
15477 fi; \
15478 cd $(HOST_SUBDIR)/isl && \
15479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15480 @endif isl-bootstrap
15483 .PHONY: all-stage3-isl maybe-all-stage3-isl
15484 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
15485 maybe-all-stage3-isl:
15486 maybe-clean-stage3-isl:
15487 @if isl-bootstrap
15488 maybe-all-stage3-isl: all-stage3-isl
15489 all-stage3: all-stage3-isl
15490 TARGET-stage3-isl = $(TARGET-isl)
15491 all-stage3-isl: configure-stage3-isl
15492 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15493 @r=`${PWD_COMMAND}`; export r; \
15494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15495 TFLAGS="$(STAGE3_TFLAGS)"; \
15496 $(HOST_EXPORTS) \
15497 $(POSTSTAGE1_HOST_EXPORTS) \
15498 cd $(HOST_SUBDIR)/isl && \
15500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15501 CFLAGS="$(STAGE3_CFLAGS)" \
15502 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15503 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15508 TFLAGS="$(STAGE3_TFLAGS)" \
15509 $(TARGET-stage3-isl)
15511 maybe-clean-stage3-isl: clean-stage3-isl
15512 clean-stage3: clean-stage3-isl
15513 clean-stage3-isl:
15514 @if [ $(current_stage) = stage3 ]; then \
15515 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15516 else \
15517 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
15518 $(MAKE) stage3-start; \
15519 fi; \
15520 cd $(HOST_SUBDIR)/isl && \
15521 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15522 @endif isl-bootstrap
15525 .PHONY: all-stage4-isl maybe-all-stage4-isl
15526 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
15527 maybe-all-stage4-isl:
15528 maybe-clean-stage4-isl:
15529 @if isl-bootstrap
15530 maybe-all-stage4-isl: all-stage4-isl
15531 all-stage4: all-stage4-isl
15532 TARGET-stage4-isl = $(TARGET-isl)
15533 all-stage4-isl: configure-stage4-isl
15534 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15535 @r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 TFLAGS="$(STAGE4_TFLAGS)"; \
15538 $(HOST_EXPORTS) \
15539 $(POSTSTAGE1_HOST_EXPORTS) \
15540 cd $(HOST_SUBDIR)/isl && \
15542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15543 CFLAGS="$(STAGE4_CFLAGS)" \
15544 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15545 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15549 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15550 TFLAGS="$(STAGE4_TFLAGS)" \
15551 $(TARGET-stage4-isl)
15553 maybe-clean-stage4-isl: clean-stage4-isl
15554 clean-stage4: clean-stage4-isl
15555 clean-stage4-isl:
15556 @if [ $(current_stage) = stage4 ]; then \
15557 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15558 else \
15559 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
15560 $(MAKE) stage4-start; \
15561 fi; \
15562 cd $(HOST_SUBDIR)/isl && \
15563 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15564 @endif isl-bootstrap
15567 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
15568 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
15569 maybe-all-stageprofile-isl:
15570 maybe-clean-stageprofile-isl:
15571 @if isl-bootstrap
15572 maybe-all-stageprofile-isl: all-stageprofile-isl
15573 all-stageprofile: all-stageprofile-isl
15574 TARGET-stageprofile-isl = $(TARGET-isl)
15575 all-stageprofile-isl: configure-stageprofile-isl
15576 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15577 @r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15580 $(HOST_EXPORTS) \
15581 $(POSTSTAGE1_HOST_EXPORTS) \
15582 cd $(HOST_SUBDIR)/isl && \
15584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15585 CFLAGS="$(STAGEprofile_CFLAGS)" \
15586 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15587 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15588 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15589 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15590 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15591 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15592 TFLAGS="$(STAGEprofile_TFLAGS)" \
15593 $(TARGET-stageprofile-isl)
15595 maybe-clean-stageprofile-isl: clean-stageprofile-isl
15596 clean-stageprofile: clean-stageprofile-isl
15597 clean-stageprofile-isl:
15598 @if [ $(current_stage) = stageprofile ]; then \
15599 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15600 else \
15601 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
15602 $(MAKE) stageprofile-start; \
15603 fi; \
15604 cd $(HOST_SUBDIR)/isl && \
15605 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15606 @endif isl-bootstrap
15609 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
15610 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
15611 maybe-all-stagefeedback-isl:
15612 maybe-clean-stagefeedback-isl:
15613 @if isl-bootstrap
15614 maybe-all-stagefeedback-isl: all-stagefeedback-isl
15615 all-stagefeedback: all-stagefeedback-isl
15616 TARGET-stagefeedback-isl = $(TARGET-isl)
15617 all-stagefeedback-isl: configure-stagefeedback-isl
15618 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15619 @r=`${PWD_COMMAND}`; export r; \
15620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15621 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15622 $(HOST_EXPORTS) \
15623 $(POSTSTAGE1_HOST_EXPORTS) \
15624 cd $(HOST_SUBDIR)/isl && \
15626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15627 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15628 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15629 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15633 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15634 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15635 $(TARGET-stagefeedback-isl)
15637 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
15638 clean-stagefeedback: clean-stagefeedback-isl
15639 clean-stagefeedback-isl:
15640 @if [ $(current_stage) = stagefeedback ]; then \
15641 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15642 else \
15643 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
15644 $(MAKE) stagefeedback-start; \
15645 fi; \
15646 cd $(HOST_SUBDIR)/isl && \
15647 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15648 @endif isl-bootstrap
15651 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
15652 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
15653 maybe-all-stageautoprofile-isl:
15654 maybe-clean-stageautoprofile-isl:
15655 @if isl-bootstrap
15656 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
15657 all-stageautoprofile: all-stageautoprofile-isl
15658 TARGET-stageautoprofile-isl = $(TARGET-isl)
15659 all-stageautoprofile-isl: configure-stageautoprofile-isl
15660 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15661 @r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15664 $(HOST_EXPORTS) \
15665 $(POSTSTAGE1_HOST_EXPORTS) \
15666 cd $(HOST_SUBDIR)/isl && \
15667 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15669 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15670 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15671 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15676 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15677 $(TARGET-stageautoprofile-isl)
15679 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
15680 clean-stageautoprofile: clean-stageautoprofile-isl
15681 clean-stageautoprofile-isl:
15682 @if [ $(current_stage) = stageautoprofile ]; then \
15683 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15684 else \
15685 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
15686 $(MAKE) stageautoprofile-start; \
15687 fi; \
15688 cd $(HOST_SUBDIR)/isl && \
15689 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15690 @endif isl-bootstrap
15693 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
15694 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
15695 maybe-all-stageautofeedback-isl:
15696 maybe-clean-stageautofeedback-isl:
15697 @if isl-bootstrap
15698 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
15699 all-stageautofeedback: all-stageautofeedback-isl
15700 TARGET-stageautofeedback-isl = $(TARGET-isl)
15701 all-stageautofeedback-isl: configure-stageautofeedback-isl
15702 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15703 @r=`${PWD_COMMAND}`; export r; \
15704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15705 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15706 $(HOST_EXPORTS) \
15707 $(POSTSTAGE1_HOST_EXPORTS) \
15708 cd $(HOST_SUBDIR)/isl && \
15710 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15711 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15712 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15713 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15717 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15718 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15719 $(TARGET-stageautofeedback-isl)
15721 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
15722 clean-stageautofeedback: clean-stageautofeedback-isl
15723 clean-stageautofeedback-isl:
15724 @if [ $(current_stage) = stageautofeedback ]; then \
15725 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15726 else \
15727 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
15728 $(MAKE) stageautofeedback-start; \
15729 fi; \
15730 cd $(HOST_SUBDIR)/isl && \
15731 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15732 @endif isl-bootstrap
15738 .PHONY: check-isl maybe-check-isl
15739 maybe-check-isl:
15740 @if isl
15741 maybe-check-isl: check-isl
15743 check-isl:
15744 @: $(MAKE); $(unstage)
15745 @r=`${PWD_COMMAND}`; export r; \
15746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15747 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15748 (cd $(HOST_SUBDIR)/isl && \
15749 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
15751 @endif isl
15753 .PHONY: install-isl maybe-install-isl
15754 maybe-install-isl:
15755 @if isl
15756 maybe-install-isl: install-isl
15758 install-isl:
15760 @endif isl
15762 .PHONY: install-strip-isl maybe-install-strip-isl
15763 maybe-install-strip-isl:
15764 @if isl
15765 maybe-install-strip-isl: install-strip-isl
15767 install-strip-isl:
15769 @endif isl
15771 # Other targets (info, dvi, pdf, etc.)
15773 .PHONY: maybe-info-isl info-isl
15774 maybe-info-isl:
15775 @if isl
15776 maybe-info-isl: info-isl
15778 info-isl: \
15779 configure-isl
15780 @[ -f ./isl/Makefile ] || exit 0; \
15781 r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 $(HOST_EXPORTS) \
15784 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15786 done; \
15787 echo "Doing info in isl"; \
15788 (cd $(HOST_SUBDIR)/isl && \
15789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15791 "RANLIB=$${RANLIB}" \
15792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15793 info) \
15794 || exit 1
15796 @endif isl
15798 .PHONY: maybe-dvi-isl dvi-isl
15799 maybe-dvi-isl:
15800 @if isl
15801 maybe-dvi-isl: dvi-isl
15803 dvi-isl: \
15804 configure-isl
15805 @[ -f ./isl/Makefile ] || exit 0; \
15806 r=`${PWD_COMMAND}`; export r; \
15807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15808 $(HOST_EXPORTS) \
15809 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15811 done; \
15812 echo "Doing dvi in isl"; \
15813 (cd $(HOST_SUBDIR)/isl && \
15814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15816 "RANLIB=$${RANLIB}" \
15817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15818 dvi) \
15819 || exit 1
15821 @endif isl
15823 .PHONY: maybe-pdf-isl pdf-isl
15824 maybe-pdf-isl:
15825 @if isl
15826 maybe-pdf-isl: pdf-isl
15828 pdf-isl: \
15829 configure-isl
15830 @[ -f ./isl/Makefile ] || exit 0; \
15831 r=`${PWD_COMMAND}`; export r; \
15832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833 $(HOST_EXPORTS) \
15834 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15836 done; \
15837 echo "Doing pdf in isl"; \
15838 (cd $(HOST_SUBDIR)/isl && \
15839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15841 "RANLIB=$${RANLIB}" \
15842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15843 pdf) \
15844 || exit 1
15846 @endif isl
15848 .PHONY: maybe-html-isl html-isl
15849 maybe-html-isl:
15850 @if isl
15851 maybe-html-isl: html-isl
15853 html-isl: \
15854 configure-isl
15855 @[ -f ./isl/Makefile ] || exit 0; \
15856 r=`${PWD_COMMAND}`; export r; \
15857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15858 $(HOST_EXPORTS) \
15859 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15861 done; \
15862 echo "Doing html in isl"; \
15863 (cd $(HOST_SUBDIR)/isl && \
15864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15866 "RANLIB=$${RANLIB}" \
15867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15868 html) \
15869 || exit 1
15871 @endif isl
15873 .PHONY: maybe-TAGS-isl TAGS-isl
15874 maybe-TAGS-isl:
15875 @if isl
15876 maybe-TAGS-isl: TAGS-isl
15878 TAGS-isl: \
15879 configure-isl
15880 @[ -f ./isl/Makefile ] || exit 0; \
15881 r=`${PWD_COMMAND}`; export r; \
15882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15883 $(HOST_EXPORTS) \
15884 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15886 done; \
15887 echo "Doing TAGS in isl"; \
15888 (cd $(HOST_SUBDIR)/isl && \
15889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15891 "RANLIB=$${RANLIB}" \
15892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15893 TAGS) \
15894 || exit 1
15896 @endif isl
15898 .PHONY: maybe-install-info-isl install-info-isl
15899 maybe-install-info-isl:
15900 @if isl
15901 maybe-install-info-isl: install-info-isl
15903 install-info-isl: \
15904 configure-isl \
15905 info-isl
15906 @[ -f ./isl/Makefile ] || exit 0; \
15907 r=`${PWD_COMMAND}`; export r; \
15908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15909 $(HOST_EXPORTS) \
15910 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15912 done; \
15913 echo "Doing install-info in isl"; \
15914 (cd $(HOST_SUBDIR)/isl && \
15915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15917 "RANLIB=$${RANLIB}" \
15918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15919 install-info) \
15920 || exit 1
15922 @endif isl
15924 .PHONY: maybe-install-pdf-isl install-pdf-isl
15925 maybe-install-pdf-isl:
15926 @if isl
15927 maybe-install-pdf-isl: install-pdf-isl
15929 install-pdf-isl: \
15930 configure-isl \
15931 pdf-isl
15932 @[ -f ./isl/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(HOST_EXPORTS) \
15936 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938 done; \
15939 echo "Doing install-pdf in isl"; \
15940 (cd $(HOST_SUBDIR)/isl && \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15945 install-pdf) \
15946 || exit 1
15948 @endif isl
15950 .PHONY: maybe-install-html-isl install-html-isl
15951 maybe-install-html-isl:
15952 @if isl
15953 maybe-install-html-isl: install-html-isl
15955 install-html-isl: \
15956 configure-isl \
15957 html-isl
15958 @[ -f ./isl/Makefile ] || exit 0; \
15959 r=`${PWD_COMMAND}`; export r; \
15960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15961 $(HOST_EXPORTS) \
15962 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15964 done; \
15965 echo "Doing install-html in isl"; \
15966 (cd $(HOST_SUBDIR)/isl && \
15967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15969 "RANLIB=$${RANLIB}" \
15970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15971 install-html) \
15972 || exit 1
15974 @endif isl
15976 .PHONY: maybe-installcheck-isl installcheck-isl
15977 maybe-installcheck-isl:
15978 @if isl
15979 maybe-installcheck-isl: installcheck-isl
15981 installcheck-isl: \
15982 configure-isl
15983 @[ -f ./isl/Makefile ] || exit 0; \
15984 r=`${PWD_COMMAND}`; export r; \
15985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15986 $(HOST_EXPORTS) \
15987 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15989 done; \
15990 echo "Doing installcheck in isl"; \
15991 (cd $(HOST_SUBDIR)/isl && \
15992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15994 "RANLIB=$${RANLIB}" \
15995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15996 installcheck) \
15997 || exit 1
15999 @endif isl
16001 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16002 maybe-mostlyclean-isl:
16003 @if isl
16004 maybe-mostlyclean-isl: mostlyclean-isl
16006 mostlyclean-isl:
16007 @[ -f ./isl/Makefile ] || exit 0; \
16008 r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 $(HOST_EXPORTS) \
16011 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16013 done; \
16014 echo "Doing mostlyclean in isl"; \
16015 (cd $(HOST_SUBDIR)/isl && \
16016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16018 "RANLIB=$${RANLIB}" \
16019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16020 mostlyclean) \
16021 || exit 1
16023 @endif isl
16025 .PHONY: maybe-clean-isl clean-isl
16026 maybe-clean-isl:
16027 @if isl
16028 maybe-clean-isl: clean-isl
16030 clean-isl:
16031 @[ -f ./isl/Makefile ] || exit 0; \
16032 r=`${PWD_COMMAND}`; export r; \
16033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16034 $(HOST_EXPORTS) \
16035 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16037 done; \
16038 echo "Doing clean in isl"; \
16039 (cd $(HOST_SUBDIR)/isl && \
16040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16042 "RANLIB=$${RANLIB}" \
16043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16044 clean) \
16045 || exit 1
16047 @endif isl
16049 .PHONY: maybe-distclean-isl distclean-isl
16050 maybe-distclean-isl:
16051 @if isl
16052 maybe-distclean-isl: distclean-isl
16054 distclean-isl:
16055 @[ -f ./isl/Makefile ] || exit 0; \
16056 r=`${PWD_COMMAND}`; export r; \
16057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 $(HOST_EXPORTS) \
16059 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16061 done; \
16062 echo "Doing distclean in isl"; \
16063 (cd $(HOST_SUBDIR)/isl && \
16064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16066 "RANLIB=$${RANLIB}" \
16067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16068 distclean) \
16069 || exit 1
16071 @endif isl
16073 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16074 maybe-maintainer-clean-isl:
16075 @if isl
16076 maybe-maintainer-clean-isl: maintainer-clean-isl
16078 maintainer-clean-isl:
16079 @[ -f ./isl/Makefile ] || exit 0; \
16080 r=`${PWD_COMMAND}`; export r; \
16081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16082 $(HOST_EXPORTS) \
16083 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16085 done; \
16086 echo "Doing maintainer-clean in isl"; \
16087 (cd $(HOST_SUBDIR)/isl && \
16088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16090 "RANLIB=$${RANLIB}" \
16091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16092 maintainer-clean) \
16093 || exit 1
16095 @endif isl
16099 .PHONY: configure-libelf maybe-configure-libelf
16100 maybe-configure-libelf:
16101 @if gcc-bootstrap
16102 configure-libelf: stage_current
16103 @endif gcc-bootstrap
16104 @if libelf
16105 maybe-configure-libelf: configure-libelf
16106 configure-libelf:
16107 @r=`${PWD_COMMAND}`; export r; \
16108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16109 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16111 $(HOST_EXPORTS) \
16112 echo Configuring in $(HOST_SUBDIR)/libelf; \
16113 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16114 case $(srcdir) in \
16115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16116 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16118 esac; \
16119 module_srcdir=libelf; \
16120 $(SHELL) \
16121 $$s/$$module_srcdir/configure \
16122 --srcdir=$${topdir}/$$module_srcdir \
16123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16124 --target=${target_alias} --disable-shared \
16125 || exit 1
16126 @endif libelf
16130 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16131 maybe-configure-stage1-libelf:
16132 @if libelf-bootstrap
16133 maybe-configure-stage1-libelf: configure-stage1-libelf
16134 configure-stage1-libelf:
16135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16137 @r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 TFLAGS="$(STAGE1_TFLAGS)"; \
16140 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16141 $(HOST_EXPORTS) \
16142 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16143 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16144 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16145 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16147 cd $(HOST_SUBDIR)/libelf || exit 1; \
16148 case $(srcdir) in \
16149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16150 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16152 esac; \
16153 module_srcdir=libelf; \
16154 $(SHELL) $$s/$$module_srcdir/configure \
16155 --srcdir=$${topdir}/$$module_srcdir \
16156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16157 --target=${target_alias} \
16159 $(STAGE1_CONFIGURE_FLAGS) \
16160 --disable-shared
16161 @endif libelf-bootstrap
16163 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16164 maybe-configure-stage2-libelf:
16165 @if libelf-bootstrap
16166 maybe-configure-stage2-libelf: configure-stage2-libelf
16167 configure-stage2-libelf:
16168 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16170 @r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172 TFLAGS="$(STAGE2_TFLAGS)"; \
16173 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16174 $(HOST_EXPORTS) \
16175 $(POSTSTAGE1_HOST_EXPORTS) \
16176 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16177 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16178 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16179 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16181 cd $(HOST_SUBDIR)/libelf || exit 1; \
16182 case $(srcdir) in \
16183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16184 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16186 esac; \
16187 module_srcdir=libelf; \
16188 $(SHELL) $$s/$$module_srcdir/configure \
16189 --srcdir=$${topdir}/$$module_srcdir \
16190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16191 --target=${target_alias} \
16192 --with-build-libsubdir=$(HOST_SUBDIR) \
16193 $(STAGE2_CONFIGURE_FLAGS) \
16194 --disable-shared
16195 @endif libelf-bootstrap
16197 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16198 maybe-configure-stage3-libelf:
16199 @if libelf-bootstrap
16200 maybe-configure-stage3-libelf: configure-stage3-libelf
16201 configure-stage3-libelf:
16202 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16204 @r=`${PWD_COMMAND}`; export r; \
16205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 TFLAGS="$(STAGE3_TFLAGS)"; \
16207 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16208 $(HOST_EXPORTS) \
16209 $(POSTSTAGE1_HOST_EXPORTS) \
16210 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16211 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16212 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16213 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16215 cd $(HOST_SUBDIR)/libelf || exit 1; \
16216 case $(srcdir) in \
16217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16218 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16220 esac; \
16221 module_srcdir=libelf; \
16222 $(SHELL) $$s/$$module_srcdir/configure \
16223 --srcdir=$${topdir}/$$module_srcdir \
16224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16225 --target=${target_alias} \
16226 --with-build-libsubdir=$(HOST_SUBDIR) \
16227 $(STAGE3_CONFIGURE_FLAGS) \
16228 --disable-shared
16229 @endif libelf-bootstrap
16231 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
16232 maybe-configure-stage4-libelf:
16233 @if libelf-bootstrap
16234 maybe-configure-stage4-libelf: configure-stage4-libelf
16235 configure-stage4-libelf:
16236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 TFLAGS="$(STAGE4_TFLAGS)"; \
16241 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16242 $(HOST_EXPORTS) \
16243 $(POSTSTAGE1_HOST_EXPORTS) \
16244 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16245 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16246 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16247 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
16248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16249 cd $(HOST_SUBDIR)/libelf || exit 1; \
16250 case $(srcdir) in \
16251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16252 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16254 esac; \
16255 module_srcdir=libelf; \
16256 $(SHELL) $$s/$$module_srcdir/configure \
16257 --srcdir=$${topdir}/$$module_srcdir \
16258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16259 --target=${target_alias} \
16260 --with-build-libsubdir=$(HOST_SUBDIR) \
16261 $(STAGE4_CONFIGURE_FLAGS) \
16262 --disable-shared
16263 @endif libelf-bootstrap
16265 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
16266 maybe-configure-stageprofile-libelf:
16267 @if libelf-bootstrap
16268 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
16269 configure-stageprofile-libelf:
16270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16272 @r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16275 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16276 $(HOST_EXPORTS) \
16277 $(POSTSTAGE1_HOST_EXPORTS) \
16278 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16279 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16280 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16281 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
16282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16283 cd $(HOST_SUBDIR)/libelf || exit 1; \
16284 case $(srcdir) in \
16285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16286 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16288 esac; \
16289 module_srcdir=libelf; \
16290 $(SHELL) $$s/$$module_srcdir/configure \
16291 --srcdir=$${topdir}/$$module_srcdir \
16292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16293 --target=${target_alias} \
16294 --with-build-libsubdir=$(HOST_SUBDIR) \
16295 $(STAGEprofile_CONFIGURE_FLAGS) \
16296 --disable-shared
16297 @endif libelf-bootstrap
16299 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
16300 maybe-configure-stagefeedback-libelf:
16301 @if libelf-bootstrap
16302 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
16303 configure-stagefeedback-libelf:
16304 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16306 @r=`${PWD_COMMAND}`; export r; \
16307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16308 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16309 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16310 $(HOST_EXPORTS) \
16311 $(POSTSTAGE1_HOST_EXPORTS) \
16312 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16313 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16314 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16315 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
16316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16317 cd $(HOST_SUBDIR)/libelf || exit 1; \
16318 case $(srcdir) in \
16319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16320 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16322 esac; \
16323 module_srcdir=libelf; \
16324 $(SHELL) $$s/$$module_srcdir/configure \
16325 --srcdir=$${topdir}/$$module_srcdir \
16326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16327 --target=${target_alias} \
16328 --with-build-libsubdir=$(HOST_SUBDIR) \
16329 $(STAGEfeedback_CONFIGURE_FLAGS) \
16330 --disable-shared
16331 @endif libelf-bootstrap
16333 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
16334 maybe-configure-stageautoprofile-libelf:
16335 @if libelf-bootstrap
16336 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
16337 configure-stageautoprofile-libelf:
16338 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16340 @r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16343 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16344 $(HOST_EXPORTS) \
16345 $(POSTSTAGE1_HOST_EXPORTS) \
16346 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16347 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16348 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16349 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
16350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16351 cd $(HOST_SUBDIR)/libelf || exit 1; \
16352 case $(srcdir) in \
16353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16354 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16356 esac; \
16357 module_srcdir=libelf; \
16358 $(SHELL) $$s/$$module_srcdir/configure \
16359 --srcdir=$${topdir}/$$module_srcdir \
16360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16361 --target=${target_alias} \
16362 --with-build-libsubdir=$(HOST_SUBDIR) \
16363 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16364 --disable-shared
16365 @endif libelf-bootstrap
16367 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
16368 maybe-configure-stageautofeedback-libelf:
16369 @if libelf-bootstrap
16370 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
16371 configure-stageautofeedback-libelf:
16372 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16374 @r=`${PWD_COMMAND}`; export r; \
16375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16376 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16377 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16378 $(HOST_EXPORTS) \
16379 $(POSTSTAGE1_HOST_EXPORTS) \
16380 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16381 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16382 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16383 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
16384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16385 cd $(HOST_SUBDIR)/libelf || exit 1; \
16386 case $(srcdir) in \
16387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16388 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16390 esac; \
16391 module_srcdir=libelf; \
16392 $(SHELL) $$s/$$module_srcdir/configure \
16393 --srcdir=$${topdir}/$$module_srcdir \
16394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16395 --target=${target_alias} \
16396 --with-build-libsubdir=$(HOST_SUBDIR) \
16397 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16398 --disable-shared
16399 @endif libelf-bootstrap
16405 .PHONY: all-libelf maybe-all-libelf
16406 maybe-all-libelf:
16407 @if gcc-bootstrap
16408 all-libelf: stage_current
16409 @endif gcc-bootstrap
16410 @if libelf
16411 TARGET-libelf=all
16412 maybe-all-libelf: all-libelf
16413 all-libelf: configure-libelf
16414 @r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 $(HOST_EXPORTS) \
16417 (cd $(HOST_SUBDIR)/libelf && \
16418 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16419 $(TARGET-libelf))
16420 @endif libelf
16424 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
16425 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
16426 maybe-all-stage1-libelf:
16427 maybe-clean-stage1-libelf:
16428 @if libelf-bootstrap
16429 maybe-all-stage1-libelf: all-stage1-libelf
16430 all-stage1: all-stage1-libelf
16431 TARGET-stage1-libelf = $(TARGET-libelf)
16432 all-stage1-libelf: configure-stage1-libelf
16433 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16434 @r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 TFLAGS="$(STAGE1_TFLAGS)"; \
16437 $(HOST_EXPORTS) \
16438 cd $(HOST_SUBDIR)/libelf && \
16440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16441 CFLAGS="$(STAGE1_CFLAGS)" \
16442 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16443 LIBCFLAGS="$(LIBCFLAGS)" \
16444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16447 $(EXTRA_HOST_FLAGS) \
16448 $(STAGE1_FLAGS_TO_PASS) \
16449 TFLAGS="$(STAGE1_TFLAGS)" \
16450 $(TARGET-stage1-libelf)
16452 maybe-clean-stage1-libelf: clean-stage1-libelf
16453 clean-stage1: clean-stage1-libelf
16454 clean-stage1-libelf:
16455 @if [ $(current_stage) = stage1 ]; then \
16456 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16457 else \
16458 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
16459 $(MAKE) stage1-start; \
16460 fi; \
16461 cd $(HOST_SUBDIR)/libelf && \
16462 $(MAKE) $(EXTRA_HOST_FLAGS) \
16463 $(STAGE1_FLAGS_TO_PASS) clean
16464 @endif libelf-bootstrap
16467 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
16468 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
16469 maybe-all-stage2-libelf:
16470 maybe-clean-stage2-libelf:
16471 @if libelf-bootstrap
16472 maybe-all-stage2-libelf: all-stage2-libelf
16473 all-stage2: all-stage2-libelf
16474 TARGET-stage2-libelf = $(TARGET-libelf)
16475 all-stage2-libelf: configure-stage2-libelf
16476 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16477 @r=`${PWD_COMMAND}`; export r; \
16478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 TFLAGS="$(STAGE2_TFLAGS)"; \
16480 $(HOST_EXPORTS) \
16481 $(POSTSTAGE1_HOST_EXPORTS) \
16482 cd $(HOST_SUBDIR)/libelf && \
16484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16485 CFLAGS="$(STAGE2_CFLAGS)" \
16486 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16487 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16492 TFLAGS="$(STAGE2_TFLAGS)" \
16493 $(TARGET-stage2-libelf)
16495 maybe-clean-stage2-libelf: clean-stage2-libelf
16496 clean-stage2: clean-stage2-libelf
16497 clean-stage2-libelf:
16498 @if [ $(current_stage) = stage2 ]; then \
16499 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16500 else \
16501 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
16502 $(MAKE) stage2-start; \
16503 fi; \
16504 cd $(HOST_SUBDIR)/libelf && \
16505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16506 @endif libelf-bootstrap
16509 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
16510 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
16511 maybe-all-stage3-libelf:
16512 maybe-clean-stage3-libelf:
16513 @if libelf-bootstrap
16514 maybe-all-stage3-libelf: all-stage3-libelf
16515 all-stage3: all-stage3-libelf
16516 TARGET-stage3-libelf = $(TARGET-libelf)
16517 all-stage3-libelf: configure-stage3-libelf
16518 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16519 @r=`${PWD_COMMAND}`; export r; \
16520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16521 TFLAGS="$(STAGE3_TFLAGS)"; \
16522 $(HOST_EXPORTS) \
16523 $(POSTSTAGE1_HOST_EXPORTS) \
16524 cd $(HOST_SUBDIR)/libelf && \
16526 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16527 CFLAGS="$(STAGE3_CFLAGS)" \
16528 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16529 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16530 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16531 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16532 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16533 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16534 TFLAGS="$(STAGE3_TFLAGS)" \
16535 $(TARGET-stage3-libelf)
16537 maybe-clean-stage3-libelf: clean-stage3-libelf
16538 clean-stage3: clean-stage3-libelf
16539 clean-stage3-libelf:
16540 @if [ $(current_stage) = stage3 ]; then \
16541 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16542 else \
16543 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
16544 $(MAKE) stage3-start; \
16545 fi; \
16546 cd $(HOST_SUBDIR)/libelf && \
16547 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16548 @endif libelf-bootstrap
16551 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
16552 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
16553 maybe-all-stage4-libelf:
16554 maybe-clean-stage4-libelf:
16555 @if libelf-bootstrap
16556 maybe-all-stage4-libelf: all-stage4-libelf
16557 all-stage4: all-stage4-libelf
16558 TARGET-stage4-libelf = $(TARGET-libelf)
16559 all-stage4-libelf: configure-stage4-libelf
16560 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16561 @r=`${PWD_COMMAND}`; export r; \
16562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16563 TFLAGS="$(STAGE4_TFLAGS)"; \
16564 $(HOST_EXPORTS) \
16565 $(POSTSTAGE1_HOST_EXPORTS) \
16566 cd $(HOST_SUBDIR)/libelf && \
16568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16569 CFLAGS="$(STAGE4_CFLAGS)" \
16570 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16571 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16576 TFLAGS="$(STAGE4_TFLAGS)" \
16577 $(TARGET-stage4-libelf)
16579 maybe-clean-stage4-libelf: clean-stage4-libelf
16580 clean-stage4: clean-stage4-libelf
16581 clean-stage4-libelf:
16582 @if [ $(current_stage) = stage4 ]; then \
16583 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16584 else \
16585 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
16586 $(MAKE) stage4-start; \
16587 fi; \
16588 cd $(HOST_SUBDIR)/libelf && \
16589 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16590 @endif libelf-bootstrap
16593 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
16594 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
16595 maybe-all-stageprofile-libelf:
16596 maybe-clean-stageprofile-libelf:
16597 @if libelf-bootstrap
16598 maybe-all-stageprofile-libelf: all-stageprofile-libelf
16599 all-stageprofile: all-stageprofile-libelf
16600 TARGET-stageprofile-libelf = $(TARGET-libelf)
16601 all-stageprofile-libelf: configure-stageprofile-libelf
16602 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16603 @r=`${PWD_COMMAND}`; export r; \
16604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16605 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16606 $(HOST_EXPORTS) \
16607 $(POSTSTAGE1_HOST_EXPORTS) \
16608 cd $(HOST_SUBDIR)/libelf && \
16610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16611 CFLAGS="$(STAGEprofile_CFLAGS)" \
16612 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16613 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16618 TFLAGS="$(STAGEprofile_TFLAGS)" \
16619 $(TARGET-stageprofile-libelf)
16621 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
16622 clean-stageprofile: clean-stageprofile-libelf
16623 clean-stageprofile-libelf:
16624 @if [ $(current_stage) = stageprofile ]; then \
16625 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16626 else \
16627 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
16628 $(MAKE) stageprofile-start; \
16629 fi; \
16630 cd $(HOST_SUBDIR)/libelf && \
16631 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16632 @endif libelf-bootstrap
16635 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
16636 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
16637 maybe-all-stagefeedback-libelf:
16638 maybe-clean-stagefeedback-libelf:
16639 @if libelf-bootstrap
16640 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
16641 all-stagefeedback: all-stagefeedback-libelf
16642 TARGET-stagefeedback-libelf = $(TARGET-libelf)
16643 all-stagefeedback-libelf: configure-stagefeedback-libelf
16644 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16645 @r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16648 $(HOST_EXPORTS) \
16649 $(POSTSTAGE1_HOST_EXPORTS) \
16650 cd $(HOST_SUBDIR)/libelf && \
16652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16653 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16654 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16655 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16660 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16661 $(TARGET-stagefeedback-libelf)
16663 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
16664 clean-stagefeedback: clean-stagefeedback-libelf
16665 clean-stagefeedback-libelf:
16666 @if [ $(current_stage) = stagefeedback ]; then \
16667 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16668 else \
16669 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
16670 $(MAKE) stagefeedback-start; \
16671 fi; \
16672 cd $(HOST_SUBDIR)/libelf && \
16673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16674 @endif libelf-bootstrap
16677 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
16678 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
16679 maybe-all-stageautoprofile-libelf:
16680 maybe-clean-stageautoprofile-libelf:
16681 @if libelf-bootstrap
16682 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
16683 all-stageautoprofile: all-stageautoprofile-libelf
16684 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
16685 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
16686 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16687 @r=`${PWD_COMMAND}`; export r; \
16688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16689 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16690 $(HOST_EXPORTS) \
16691 $(POSTSTAGE1_HOST_EXPORTS) \
16692 cd $(HOST_SUBDIR)/libelf && \
16693 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16695 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16696 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16697 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16702 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16703 $(TARGET-stageautoprofile-libelf)
16705 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
16706 clean-stageautoprofile: clean-stageautoprofile-libelf
16707 clean-stageautoprofile-libelf:
16708 @if [ $(current_stage) = stageautoprofile ]; then \
16709 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16710 else \
16711 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
16712 $(MAKE) stageautoprofile-start; \
16713 fi; \
16714 cd $(HOST_SUBDIR)/libelf && \
16715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16716 @endif libelf-bootstrap
16719 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
16720 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
16721 maybe-all-stageautofeedback-libelf:
16722 maybe-clean-stageautofeedback-libelf:
16723 @if libelf-bootstrap
16724 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
16725 all-stageautofeedback: all-stageautofeedback-libelf
16726 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
16727 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
16728 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16729 @r=`${PWD_COMMAND}`; export r; \
16730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16731 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16732 $(HOST_EXPORTS) \
16733 $(POSTSTAGE1_HOST_EXPORTS) \
16734 cd $(HOST_SUBDIR)/libelf && \
16736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16737 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16738 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16739 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16744 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16745 $(TARGET-stageautofeedback-libelf)
16747 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
16748 clean-stageautofeedback: clean-stageautofeedback-libelf
16749 clean-stageautofeedback-libelf:
16750 @if [ $(current_stage) = stageautofeedback ]; then \
16751 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16752 else \
16753 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
16754 $(MAKE) stageautofeedback-start; \
16755 fi; \
16756 cd $(HOST_SUBDIR)/libelf && \
16757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16758 @endif libelf-bootstrap
16764 .PHONY: check-libelf maybe-check-libelf
16765 maybe-check-libelf:
16766 @if libelf
16767 maybe-check-libelf: check-libelf
16769 check-libelf:
16770 @: $(MAKE); $(unstage)
16771 @r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16774 (cd $(HOST_SUBDIR)/libelf && \
16775 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16777 @endif libelf
16779 .PHONY: install-libelf maybe-install-libelf
16780 maybe-install-libelf:
16781 @if libelf
16782 maybe-install-libelf: install-libelf
16784 install-libelf:
16786 @endif libelf
16788 .PHONY: install-strip-libelf maybe-install-strip-libelf
16789 maybe-install-strip-libelf:
16790 @if libelf
16791 maybe-install-strip-libelf: install-strip-libelf
16793 install-strip-libelf:
16795 @endif libelf
16797 # Other targets (info, dvi, pdf, etc.)
16799 .PHONY: maybe-info-libelf info-libelf
16800 maybe-info-libelf:
16801 @if libelf
16802 maybe-info-libelf: info-libelf
16804 info-libelf: \
16805 configure-libelf
16806 @[ -f ./libelf/Makefile ] || exit 0; \
16807 r=`${PWD_COMMAND}`; export r; \
16808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16809 $(HOST_EXPORTS) \
16810 for flag in $(EXTRA_HOST_FLAGS) ; do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16812 done; \
16813 echo "Doing info in libelf"; \
16814 (cd $(HOST_SUBDIR)/libelf && \
16815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16817 "RANLIB=$${RANLIB}" \
16818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16819 info) \
16820 || exit 1
16822 @endif libelf
16824 .PHONY: maybe-dvi-libelf dvi-libelf
16825 maybe-dvi-libelf:
16826 @if libelf
16827 maybe-dvi-libelf: dvi-libelf
16829 dvi-libelf: \
16830 configure-libelf
16831 @[ -f ./libelf/Makefile ] || exit 0; \
16832 r=`${PWD_COMMAND}`; export r; \
16833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834 $(HOST_EXPORTS) \
16835 for flag in $(EXTRA_HOST_FLAGS) ; do \
16836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16837 done; \
16838 echo "Doing dvi in libelf"; \
16839 (cd $(HOST_SUBDIR)/libelf && \
16840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16842 "RANLIB=$${RANLIB}" \
16843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16844 dvi) \
16845 || exit 1
16847 @endif libelf
16849 .PHONY: maybe-pdf-libelf pdf-libelf
16850 maybe-pdf-libelf:
16851 @if libelf
16852 maybe-pdf-libelf: pdf-libelf
16854 pdf-libelf: \
16855 configure-libelf
16856 @[ -f ./libelf/Makefile ] || exit 0; \
16857 r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 $(HOST_EXPORTS) \
16860 for flag in $(EXTRA_HOST_FLAGS) ; do \
16861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16862 done; \
16863 echo "Doing pdf in libelf"; \
16864 (cd $(HOST_SUBDIR)/libelf && \
16865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16867 "RANLIB=$${RANLIB}" \
16868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16869 pdf) \
16870 || exit 1
16872 @endif libelf
16874 .PHONY: maybe-html-libelf html-libelf
16875 maybe-html-libelf:
16876 @if libelf
16877 maybe-html-libelf: html-libelf
16879 html-libelf: \
16880 configure-libelf
16881 @[ -f ./libelf/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 $(HOST_EXPORTS) \
16885 for flag in $(EXTRA_HOST_FLAGS) ; do \
16886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16887 done; \
16888 echo "Doing html in libelf"; \
16889 (cd $(HOST_SUBDIR)/libelf && \
16890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16892 "RANLIB=$${RANLIB}" \
16893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16894 html) \
16895 || exit 1
16897 @endif libelf
16899 .PHONY: maybe-TAGS-libelf TAGS-libelf
16900 maybe-TAGS-libelf:
16901 @if libelf
16902 maybe-TAGS-libelf: TAGS-libelf
16904 TAGS-libelf: \
16905 configure-libelf
16906 @[ -f ./libelf/Makefile ] || exit 0; \
16907 r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 $(HOST_EXPORTS) \
16910 for flag in $(EXTRA_HOST_FLAGS) ; do \
16911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16912 done; \
16913 echo "Doing TAGS in libelf"; \
16914 (cd $(HOST_SUBDIR)/libelf && \
16915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16917 "RANLIB=$${RANLIB}" \
16918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16919 TAGS) \
16920 || exit 1
16922 @endif libelf
16924 .PHONY: maybe-install-info-libelf install-info-libelf
16925 maybe-install-info-libelf:
16926 @if libelf
16927 maybe-install-info-libelf: install-info-libelf
16929 install-info-libelf: \
16930 configure-libelf \
16931 info-libelf
16932 @[ -f ./libelf/Makefile ] || exit 0; \
16933 r=`${PWD_COMMAND}`; export r; \
16934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16935 $(HOST_EXPORTS) \
16936 for flag in $(EXTRA_HOST_FLAGS) ; do \
16937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16938 done; \
16939 echo "Doing install-info in libelf"; \
16940 (cd $(HOST_SUBDIR)/libelf && \
16941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16943 "RANLIB=$${RANLIB}" \
16944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16945 install-info) \
16946 || exit 1
16948 @endif libelf
16950 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
16951 maybe-install-pdf-libelf:
16952 @if libelf
16953 maybe-install-pdf-libelf: install-pdf-libelf
16955 install-pdf-libelf: \
16956 configure-libelf \
16957 pdf-libelf
16958 @[ -f ./libelf/Makefile ] || exit 0; \
16959 r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 $(HOST_EXPORTS) \
16962 for flag in $(EXTRA_HOST_FLAGS) ; do \
16963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16964 done; \
16965 echo "Doing install-pdf in libelf"; \
16966 (cd $(HOST_SUBDIR)/libelf && \
16967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16969 "RANLIB=$${RANLIB}" \
16970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16971 install-pdf) \
16972 || exit 1
16974 @endif libelf
16976 .PHONY: maybe-install-html-libelf install-html-libelf
16977 maybe-install-html-libelf:
16978 @if libelf
16979 maybe-install-html-libelf: install-html-libelf
16981 install-html-libelf: \
16982 configure-libelf \
16983 html-libelf
16984 @[ -f ./libelf/Makefile ] || exit 0; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 $(HOST_EXPORTS) \
16988 for flag in $(EXTRA_HOST_FLAGS) ; do \
16989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 done; \
16991 echo "Doing install-html in libelf"; \
16992 (cd $(HOST_SUBDIR)/libelf && \
16993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16995 "RANLIB=$${RANLIB}" \
16996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16997 install-html) \
16998 || exit 1
17000 @endif libelf
17002 .PHONY: maybe-installcheck-libelf installcheck-libelf
17003 maybe-installcheck-libelf:
17004 @if libelf
17005 maybe-installcheck-libelf: installcheck-libelf
17007 installcheck-libelf: \
17008 configure-libelf
17009 @[ -f ./libelf/Makefile ] || exit 0; \
17010 r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 $(HOST_EXPORTS) \
17013 for flag in $(EXTRA_HOST_FLAGS) ; do \
17014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17015 done; \
17016 echo "Doing installcheck in libelf"; \
17017 (cd $(HOST_SUBDIR)/libelf && \
17018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17020 "RANLIB=$${RANLIB}" \
17021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17022 installcheck) \
17023 || exit 1
17025 @endif libelf
17027 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17028 maybe-mostlyclean-libelf:
17029 @if libelf
17030 maybe-mostlyclean-libelf: mostlyclean-libelf
17032 mostlyclean-libelf:
17033 @[ -f ./libelf/Makefile ] || exit 0; \
17034 r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 $(HOST_EXPORTS) \
17037 for flag in $(EXTRA_HOST_FLAGS) ; do \
17038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039 done; \
17040 echo "Doing mostlyclean in libelf"; \
17041 (cd $(HOST_SUBDIR)/libelf && \
17042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044 "RANLIB=$${RANLIB}" \
17045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17046 mostlyclean) \
17047 || exit 1
17049 @endif libelf
17051 .PHONY: maybe-clean-libelf clean-libelf
17052 maybe-clean-libelf:
17053 @if libelf
17054 maybe-clean-libelf: clean-libelf
17056 clean-libelf:
17057 @[ -f ./libelf/Makefile ] || exit 0; \
17058 r=`${PWD_COMMAND}`; export r; \
17059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17060 $(HOST_EXPORTS) \
17061 for flag in $(EXTRA_HOST_FLAGS) ; do \
17062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17063 done; \
17064 echo "Doing clean in libelf"; \
17065 (cd $(HOST_SUBDIR)/libelf && \
17066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17068 "RANLIB=$${RANLIB}" \
17069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17070 clean) \
17071 || exit 1
17073 @endif libelf
17075 .PHONY: maybe-distclean-libelf distclean-libelf
17076 maybe-distclean-libelf:
17077 @if libelf
17078 maybe-distclean-libelf: distclean-libelf
17080 distclean-libelf:
17081 @[ -f ./libelf/Makefile ] || exit 0; \
17082 r=`${PWD_COMMAND}`; export r; \
17083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17084 $(HOST_EXPORTS) \
17085 for flag in $(EXTRA_HOST_FLAGS) ; do \
17086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17087 done; \
17088 echo "Doing distclean in libelf"; \
17089 (cd $(HOST_SUBDIR)/libelf && \
17090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17092 "RANLIB=$${RANLIB}" \
17093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17094 distclean) \
17095 || exit 1
17097 @endif libelf
17099 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17100 maybe-maintainer-clean-libelf:
17101 @if libelf
17102 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17104 maintainer-clean-libelf:
17105 @[ -f ./libelf/Makefile ] || exit 0; \
17106 r=`${PWD_COMMAND}`; export r; \
17107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17108 $(HOST_EXPORTS) \
17109 for flag in $(EXTRA_HOST_FLAGS) ; do \
17110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17111 done; \
17112 echo "Doing maintainer-clean in libelf"; \
17113 (cd $(HOST_SUBDIR)/libelf && \
17114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17116 "RANLIB=$${RANLIB}" \
17117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17118 maintainer-clean) \
17119 || exit 1
17121 @endif libelf
17125 .PHONY: configure-gold maybe-configure-gold
17126 maybe-configure-gold:
17127 @if gcc-bootstrap
17128 configure-gold: stage_current
17129 @endif gcc-bootstrap
17130 @if gold
17131 maybe-configure-gold: configure-gold
17132 configure-gold:
17133 @r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17137 $(HOST_EXPORTS) \
17138 echo Configuring in $(HOST_SUBDIR)/gold; \
17139 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17140 case $(srcdir) in \
17141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17142 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17144 esac; \
17145 module_srcdir=gold; \
17146 $(SHELL) \
17147 $$s/$$module_srcdir/configure \
17148 --srcdir=$${topdir}/$$module_srcdir \
17149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17150 --target=${target_alias} \
17151 || exit 1
17152 @endif gold
17156 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17157 maybe-configure-stage1-gold:
17158 @if gold-bootstrap
17159 maybe-configure-stage1-gold: configure-stage1-gold
17160 configure-stage1-gold:
17161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17163 @r=`${PWD_COMMAND}`; export r; \
17164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17165 TFLAGS="$(STAGE1_TFLAGS)"; \
17166 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17167 $(HOST_EXPORTS) \
17168 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17169 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17170 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17171 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
17172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17173 cd $(HOST_SUBDIR)/gold || exit 1; \
17174 case $(srcdir) in \
17175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17176 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17178 esac; \
17179 module_srcdir=gold; \
17180 $(SHELL) $$s/$$module_srcdir/configure \
17181 --srcdir=$${topdir}/$$module_srcdir \
17182 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17183 --target=${target_alias} \
17185 $(STAGE1_CONFIGURE_FLAGS)
17186 @endif gold-bootstrap
17188 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
17189 maybe-configure-stage2-gold:
17190 @if gold-bootstrap
17191 maybe-configure-stage2-gold: configure-stage2-gold
17192 configure-stage2-gold:
17193 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17195 @r=`${PWD_COMMAND}`; export r; \
17196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17197 TFLAGS="$(STAGE2_TFLAGS)"; \
17198 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17199 $(HOST_EXPORTS) \
17200 $(POSTSTAGE1_HOST_EXPORTS) \
17201 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17202 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17203 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17204 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
17205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17206 cd $(HOST_SUBDIR)/gold || exit 1; \
17207 case $(srcdir) in \
17208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17211 esac; \
17212 module_srcdir=gold; \
17213 $(SHELL) $$s/$$module_srcdir/configure \
17214 --srcdir=$${topdir}/$$module_srcdir \
17215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17216 --target=${target_alias} \
17217 --with-build-libsubdir=$(HOST_SUBDIR) \
17218 $(STAGE2_CONFIGURE_FLAGS)
17219 @endif gold-bootstrap
17221 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
17222 maybe-configure-stage3-gold:
17223 @if gold-bootstrap
17224 maybe-configure-stage3-gold: configure-stage3-gold
17225 configure-stage3-gold:
17226 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17228 @r=`${PWD_COMMAND}`; export r; \
17229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17230 TFLAGS="$(STAGE3_TFLAGS)"; \
17231 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17232 $(HOST_EXPORTS) \
17233 $(POSTSTAGE1_HOST_EXPORTS) \
17234 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17235 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17236 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17237 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
17238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17239 cd $(HOST_SUBDIR)/gold || exit 1; \
17240 case $(srcdir) in \
17241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17242 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17244 esac; \
17245 module_srcdir=gold; \
17246 $(SHELL) $$s/$$module_srcdir/configure \
17247 --srcdir=$${topdir}/$$module_srcdir \
17248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17249 --target=${target_alias} \
17250 --with-build-libsubdir=$(HOST_SUBDIR) \
17251 $(STAGE3_CONFIGURE_FLAGS)
17252 @endif gold-bootstrap
17254 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
17255 maybe-configure-stage4-gold:
17256 @if gold-bootstrap
17257 maybe-configure-stage4-gold: configure-stage4-gold
17258 configure-stage4-gold:
17259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 TFLAGS="$(STAGE4_TFLAGS)"; \
17264 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17265 $(HOST_EXPORTS) \
17266 $(POSTSTAGE1_HOST_EXPORTS) \
17267 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17268 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17269 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17270 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
17271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17272 cd $(HOST_SUBDIR)/gold || exit 1; \
17273 case $(srcdir) in \
17274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17275 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17277 esac; \
17278 module_srcdir=gold; \
17279 $(SHELL) $$s/$$module_srcdir/configure \
17280 --srcdir=$${topdir}/$$module_srcdir \
17281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17282 --target=${target_alias} \
17283 --with-build-libsubdir=$(HOST_SUBDIR) \
17284 $(STAGE4_CONFIGURE_FLAGS)
17285 @endif gold-bootstrap
17287 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
17288 maybe-configure-stageprofile-gold:
17289 @if gold-bootstrap
17290 maybe-configure-stageprofile-gold: configure-stageprofile-gold
17291 configure-stageprofile-gold:
17292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17294 @r=`${PWD_COMMAND}`; export r; \
17295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17296 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17297 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17298 $(HOST_EXPORTS) \
17299 $(POSTSTAGE1_HOST_EXPORTS) \
17300 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17301 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17302 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17303 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
17304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17305 cd $(HOST_SUBDIR)/gold || exit 1; \
17306 case $(srcdir) in \
17307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17308 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17310 esac; \
17311 module_srcdir=gold; \
17312 $(SHELL) $$s/$$module_srcdir/configure \
17313 --srcdir=$${topdir}/$$module_srcdir \
17314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17315 --target=${target_alias} \
17316 --with-build-libsubdir=$(HOST_SUBDIR) \
17317 $(STAGEprofile_CONFIGURE_FLAGS)
17318 @endif gold-bootstrap
17320 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
17321 maybe-configure-stagefeedback-gold:
17322 @if gold-bootstrap
17323 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
17324 configure-stagefeedback-gold:
17325 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17327 @r=`${PWD_COMMAND}`; export r; \
17328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17329 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17330 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17331 $(HOST_EXPORTS) \
17332 $(POSTSTAGE1_HOST_EXPORTS) \
17333 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17334 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17335 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17336 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
17337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17338 cd $(HOST_SUBDIR)/gold || exit 1; \
17339 case $(srcdir) in \
17340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17341 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17343 esac; \
17344 module_srcdir=gold; \
17345 $(SHELL) $$s/$$module_srcdir/configure \
17346 --srcdir=$${topdir}/$$module_srcdir \
17347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17348 --target=${target_alias} \
17349 --with-build-libsubdir=$(HOST_SUBDIR) \
17350 $(STAGEfeedback_CONFIGURE_FLAGS)
17351 @endif gold-bootstrap
17353 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
17354 maybe-configure-stageautoprofile-gold:
17355 @if gold-bootstrap
17356 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
17357 configure-stageautoprofile-gold:
17358 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17360 @r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17363 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17364 $(HOST_EXPORTS) \
17365 $(POSTSTAGE1_HOST_EXPORTS) \
17366 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17367 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17368 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17369 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
17370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17371 cd $(HOST_SUBDIR)/gold || exit 1; \
17372 case $(srcdir) in \
17373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17374 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17376 esac; \
17377 module_srcdir=gold; \
17378 $(SHELL) $$s/$$module_srcdir/configure \
17379 --srcdir=$${topdir}/$$module_srcdir \
17380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17381 --target=${target_alias} \
17382 --with-build-libsubdir=$(HOST_SUBDIR) \
17383 $(STAGEautoprofile_CONFIGURE_FLAGS)
17384 @endif gold-bootstrap
17386 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
17387 maybe-configure-stageautofeedback-gold:
17388 @if gold-bootstrap
17389 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
17390 configure-stageautofeedback-gold:
17391 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17393 @r=`${PWD_COMMAND}`; export r; \
17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17396 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17397 $(HOST_EXPORTS) \
17398 $(POSTSTAGE1_HOST_EXPORTS) \
17399 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17400 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17401 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17402 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
17403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17404 cd $(HOST_SUBDIR)/gold || exit 1; \
17405 case $(srcdir) in \
17406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17407 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17409 esac; \
17410 module_srcdir=gold; \
17411 $(SHELL) $$s/$$module_srcdir/configure \
17412 --srcdir=$${topdir}/$$module_srcdir \
17413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17414 --target=${target_alias} \
17415 --with-build-libsubdir=$(HOST_SUBDIR) \
17416 $(STAGEautofeedback_CONFIGURE_FLAGS)
17417 @endif gold-bootstrap
17423 .PHONY: all-gold maybe-all-gold
17424 maybe-all-gold:
17425 @if gcc-bootstrap
17426 all-gold: stage_current
17427 @endif gcc-bootstrap
17428 @if gold
17429 TARGET-gold=all
17430 maybe-all-gold: all-gold
17431 all-gold: configure-gold
17432 @r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 $(HOST_EXPORTS) \
17435 (cd $(HOST_SUBDIR)/gold && \
17436 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17437 $(TARGET-gold))
17438 @endif gold
17442 .PHONY: all-stage1-gold maybe-all-stage1-gold
17443 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
17444 maybe-all-stage1-gold:
17445 maybe-clean-stage1-gold:
17446 @if gold-bootstrap
17447 maybe-all-stage1-gold: all-stage1-gold
17448 all-stage1: all-stage1-gold
17449 TARGET-stage1-gold = $(TARGET-gold)
17450 all-stage1-gold: configure-stage1-gold
17451 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17452 @r=`${PWD_COMMAND}`; export r; \
17453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17454 TFLAGS="$(STAGE1_TFLAGS)"; \
17455 $(HOST_EXPORTS) \
17456 cd $(HOST_SUBDIR)/gold && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17459 CFLAGS="$(STAGE1_CFLAGS)" \
17460 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17461 LIBCFLAGS="$(LIBCFLAGS)" \
17462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17465 $(EXTRA_HOST_FLAGS) \
17466 $(STAGE1_FLAGS_TO_PASS) \
17467 TFLAGS="$(STAGE1_TFLAGS)" \
17468 $(TARGET-stage1-gold)
17470 maybe-clean-stage1-gold: clean-stage1-gold
17471 clean-stage1: clean-stage1-gold
17472 clean-stage1-gold:
17473 @if [ $(current_stage) = stage1 ]; then \
17474 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17475 else \
17476 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
17477 $(MAKE) stage1-start; \
17478 fi; \
17479 cd $(HOST_SUBDIR)/gold && \
17480 $(MAKE) $(EXTRA_HOST_FLAGS) \
17481 $(STAGE1_FLAGS_TO_PASS) clean
17482 @endif gold-bootstrap
17485 .PHONY: all-stage2-gold maybe-all-stage2-gold
17486 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
17487 maybe-all-stage2-gold:
17488 maybe-clean-stage2-gold:
17489 @if gold-bootstrap
17490 maybe-all-stage2-gold: all-stage2-gold
17491 all-stage2: all-stage2-gold
17492 TARGET-stage2-gold = $(TARGET-gold)
17493 all-stage2-gold: configure-stage2-gold
17494 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17495 @r=`${PWD_COMMAND}`; export r; \
17496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17497 TFLAGS="$(STAGE2_TFLAGS)"; \
17498 $(HOST_EXPORTS) \
17499 $(POSTSTAGE1_HOST_EXPORTS) \
17500 cd $(HOST_SUBDIR)/gold && \
17502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17503 CFLAGS="$(STAGE2_CFLAGS)" \
17504 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17505 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17509 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17510 TFLAGS="$(STAGE2_TFLAGS)" \
17511 $(TARGET-stage2-gold)
17513 maybe-clean-stage2-gold: clean-stage2-gold
17514 clean-stage2: clean-stage2-gold
17515 clean-stage2-gold:
17516 @if [ $(current_stage) = stage2 ]; then \
17517 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17518 else \
17519 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
17520 $(MAKE) stage2-start; \
17521 fi; \
17522 cd $(HOST_SUBDIR)/gold && \
17523 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17524 @endif gold-bootstrap
17527 .PHONY: all-stage3-gold maybe-all-stage3-gold
17528 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
17529 maybe-all-stage3-gold:
17530 maybe-clean-stage3-gold:
17531 @if gold-bootstrap
17532 maybe-all-stage3-gold: all-stage3-gold
17533 all-stage3: all-stage3-gold
17534 TARGET-stage3-gold = $(TARGET-gold)
17535 all-stage3-gold: configure-stage3-gold
17536 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17537 @r=`${PWD_COMMAND}`; export r; \
17538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17539 TFLAGS="$(STAGE3_TFLAGS)"; \
17540 $(HOST_EXPORTS) \
17541 $(POSTSTAGE1_HOST_EXPORTS) \
17542 cd $(HOST_SUBDIR)/gold && \
17544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17545 CFLAGS="$(STAGE3_CFLAGS)" \
17546 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17547 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17551 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17552 TFLAGS="$(STAGE3_TFLAGS)" \
17553 $(TARGET-stage3-gold)
17555 maybe-clean-stage3-gold: clean-stage3-gold
17556 clean-stage3: clean-stage3-gold
17557 clean-stage3-gold:
17558 @if [ $(current_stage) = stage3 ]; then \
17559 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17560 else \
17561 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
17562 $(MAKE) stage3-start; \
17563 fi; \
17564 cd $(HOST_SUBDIR)/gold && \
17565 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17566 @endif gold-bootstrap
17569 .PHONY: all-stage4-gold maybe-all-stage4-gold
17570 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
17571 maybe-all-stage4-gold:
17572 maybe-clean-stage4-gold:
17573 @if gold-bootstrap
17574 maybe-all-stage4-gold: all-stage4-gold
17575 all-stage4: all-stage4-gold
17576 TARGET-stage4-gold = $(TARGET-gold)
17577 all-stage4-gold: configure-stage4-gold
17578 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17579 @r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 TFLAGS="$(STAGE4_TFLAGS)"; \
17582 $(HOST_EXPORTS) \
17583 $(POSTSTAGE1_HOST_EXPORTS) \
17584 cd $(HOST_SUBDIR)/gold && \
17586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17587 CFLAGS="$(STAGE4_CFLAGS)" \
17588 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17589 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17594 TFLAGS="$(STAGE4_TFLAGS)" \
17595 $(TARGET-stage4-gold)
17597 maybe-clean-stage4-gold: clean-stage4-gold
17598 clean-stage4: clean-stage4-gold
17599 clean-stage4-gold:
17600 @if [ $(current_stage) = stage4 ]; then \
17601 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17602 else \
17603 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
17604 $(MAKE) stage4-start; \
17605 fi; \
17606 cd $(HOST_SUBDIR)/gold && \
17607 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17608 @endif gold-bootstrap
17611 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
17612 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
17613 maybe-all-stageprofile-gold:
17614 maybe-clean-stageprofile-gold:
17615 @if gold-bootstrap
17616 maybe-all-stageprofile-gold: all-stageprofile-gold
17617 all-stageprofile: all-stageprofile-gold
17618 TARGET-stageprofile-gold = $(TARGET-gold)
17619 all-stageprofile-gold: configure-stageprofile-gold
17620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17621 @r=`${PWD_COMMAND}`; export r; \
17622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17623 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17624 $(HOST_EXPORTS) \
17625 $(POSTSTAGE1_HOST_EXPORTS) \
17626 cd $(HOST_SUBDIR)/gold && \
17628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17629 CFLAGS="$(STAGEprofile_CFLAGS)" \
17630 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17631 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17635 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17636 TFLAGS="$(STAGEprofile_TFLAGS)" \
17637 $(TARGET-stageprofile-gold)
17639 maybe-clean-stageprofile-gold: clean-stageprofile-gold
17640 clean-stageprofile: clean-stageprofile-gold
17641 clean-stageprofile-gold:
17642 @if [ $(current_stage) = stageprofile ]; then \
17643 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17644 else \
17645 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
17646 $(MAKE) stageprofile-start; \
17647 fi; \
17648 cd $(HOST_SUBDIR)/gold && \
17649 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17650 @endif gold-bootstrap
17653 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
17654 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
17655 maybe-all-stagefeedback-gold:
17656 maybe-clean-stagefeedback-gold:
17657 @if gold-bootstrap
17658 maybe-all-stagefeedback-gold: all-stagefeedback-gold
17659 all-stagefeedback: all-stagefeedback-gold
17660 TARGET-stagefeedback-gold = $(TARGET-gold)
17661 all-stagefeedback-gold: configure-stagefeedback-gold
17662 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17663 @r=`${PWD_COMMAND}`; export r; \
17664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17665 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17666 $(HOST_EXPORTS) \
17667 $(POSTSTAGE1_HOST_EXPORTS) \
17668 cd $(HOST_SUBDIR)/gold && \
17670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17671 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17672 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17673 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17678 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17679 $(TARGET-stagefeedback-gold)
17681 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
17682 clean-stagefeedback: clean-stagefeedback-gold
17683 clean-stagefeedback-gold:
17684 @if [ $(current_stage) = stagefeedback ]; then \
17685 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17686 else \
17687 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
17688 $(MAKE) stagefeedback-start; \
17689 fi; \
17690 cd $(HOST_SUBDIR)/gold && \
17691 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17692 @endif gold-bootstrap
17695 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
17696 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
17697 maybe-all-stageautoprofile-gold:
17698 maybe-clean-stageautoprofile-gold:
17699 @if gold-bootstrap
17700 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
17701 all-stageautoprofile: all-stageautoprofile-gold
17702 TARGET-stageautoprofile-gold = $(TARGET-gold)
17703 all-stageautoprofile-gold: configure-stageautoprofile-gold
17704 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17705 @r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17707 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17708 $(HOST_EXPORTS) \
17709 $(POSTSTAGE1_HOST_EXPORTS) \
17710 cd $(HOST_SUBDIR)/gold && \
17711 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17713 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17714 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17715 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17719 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17720 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17721 $(TARGET-stageautoprofile-gold)
17723 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
17724 clean-stageautoprofile: clean-stageautoprofile-gold
17725 clean-stageautoprofile-gold:
17726 @if [ $(current_stage) = stageautoprofile ]; then \
17727 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17728 else \
17729 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
17730 $(MAKE) stageautoprofile-start; \
17731 fi; \
17732 cd $(HOST_SUBDIR)/gold && \
17733 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17734 @endif gold-bootstrap
17737 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
17738 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
17739 maybe-all-stageautofeedback-gold:
17740 maybe-clean-stageautofeedback-gold:
17741 @if gold-bootstrap
17742 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
17743 all-stageautofeedback: all-stageautofeedback-gold
17744 TARGET-stageautofeedback-gold = $(TARGET-gold)
17745 all-stageautofeedback-gold: configure-stageautofeedback-gold
17746 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17747 @r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17750 $(HOST_EXPORTS) \
17751 $(POSTSTAGE1_HOST_EXPORTS) \
17752 cd $(HOST_SUBDIR)/gold && \
17754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17755 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17756 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17757 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17762 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17763 $(TARGET-stageautofeedback-gold)
17765 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
17766 clean-stageautofeedback: clean-stageautofeedback-gold
17767 clean-stageautofeedback-gold:
17768 @if [ $(current_stage) = stageautofeedback ]; then \
17769 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17770 else \
17771 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
17772 $(MAKE) stageautofeedback-start; \
17773 fi; \
17774 cd $(HOST_SUBDIR)/gold && \
17775 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17776 @endif gold-bootstrap
17782 .PHONY: check-gold maybe-check-gold
17783 maybe-check-gold:
17784 @if gold
17785 maybe-check-gold: check-gold
17787 check-gold:
17788 @: $(MAKE); $(unstage)
17789 @r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17792 (cd $(HOST_SUBDIR)/gold && \
17793 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17795 @endif gold
17797 .PHONY: install-gold maybe-install-gold
17798 maybe-install-gold:
17799 @if gold
17800 maybe-install-gold: install-gold
17802 install-gold: installdirs
17803 @: $(MAKE); $(unstage)
17804 @r=`${PWD_COMMAND}`; export r; \
17805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17806 $(HOST_EXPORTS) \
17807 (cd $(HOST_SUBDIR)/gold && \
17808 $(MAKE) $(FLAGS_TO_PASS) install)
17810 @endif gold
17812 .PHONY: install-strip-gold maybe-install-strip-gold
17813 maybe-install-strip-gold:
17814 @if gold
17815 maybe-install-strip-gold: install-strip-gold
17817 install-strip-gold: installdirs
17818 @: $(MAKE); $(unstage)
17819 @r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 (cd $(HOST_SUBDIR)/gold && \
17823 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17825 @endif gold
17827 # Other targets (info, dvi, pdf, etc.)
17829 .PHONY: maybe-info-gold info-gold
17830 maybe-info-gold:
17831 @if gold
17832 maybe-info-gold: info-gold
17834 info-gold: \
17835 configure-gold
17836 @[ -f ./gold/Makefile ] || exit 0; \
17837 r=`${PWD_COMMAND}`; export r; \
17838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839 $(HOST_EXPORTS) \
17840 for flag in $(EXTRA_HOST_FLAGS) ; do \
17841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17842 done; \
17843 echo "Doing info in gold"; \
17844 (cd $(HOST_SUBDIR)/gold && \
17845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17847 "RANLIB=$${RANLIB}" \
17848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17849 info) \
17850 || exit 1
17852 @endif gold
17854 .PHONY: maybe-dvi-gold dvi-gold
17855 maybe-dvi-gold:
17856 @if gold
17857 maybe-dvi-gold: dvi-gold
17859 dvi-gold: \
17860 configure-gold
17861 @[ -f ./gold/Makefile ] || exit 0; \
17862 r=`${PWD_COMMAND}`; export r; \
17863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17864 $(HOST_EXPORTS) \
17865 for flag in $(EXTRA_HOST_FLAGS) ; do \
17866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17867 done; \
17868 echo "Doing dvi in gold"; \
17869 (cd $(HOST_SUBDIR)/gold && \
17870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17872 "RANLIB=$${RANLIB}" \
17873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17874 dvi) \
17875 || exit 1
17877 @endif gold
17879 .PHONY: maybe-pdf-gold pdf-gold
17880 maybe-pdf-gold:
17881 @if gold
17882 maybe-pdf-gold: pdf-gold
17884 pdf-gold: \
17885 configure-gold
17886 @[ -f ./gold/Makefile ] || exit 0; \
17887 r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 $(HOST_EXPORTS) \
17890 for flag in $(EXTRA_HOST_FLAGS) ; do \
17891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17892 done; \
17893 echo "Doing pdf in gold"; \
17894 (cd $(HOST_SUBDIR)/gold && \
17895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17897 "RANLIB=$${RANLIB}" \
17898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17899 pdf) \
17900 || exit 1
17902 @endif gold
17904 .PHONY: maybe-html-gold html-gold
17905 maybe-html-gold:
17906 @if gold
17907 maybe-html-gold: html-gold
17909 html-gold: \
17910 configure-gold
17911 @[ -f ./gold/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914 $(HOST_EXPORTS) \
17915 for flag in $(EXTRA_HOST_FLAGS) ; do \
17916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17917 done; \
17918 echo "Doing html in gold"; \
17919 (cd $(HOST_SUBDIR)/gold && \
17920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922 "RANLIB=$${RANLIB}" \
17923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17924 html) \
17925 || exit 1
17927 @endif gold
17929 .PHONY: maybe-TAGS-gold TAGS-gold
17930 maybe-TAGS-gold:
17931 @if gold
17932 maybe-TAGS-gold: TAGS-gold
17934 TAGS-gold: \
17935 configure-gold
17936 @[ -f ./gold/Makefile ] || exit 0; \
17937 r=`${PWD_COMMAND}`; export r; \
17938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17939 $(HOST_EXPORTS) \
17940 for flag in $(EXTRA_HOST_FLAGS) ; do \
17941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17942 done; \
17943 echo "Doing TAGS in gold"; \
17944 (cd $(HOST_SUBDIR)/gold && \
17945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17947 "RANLIB=$${RANLIB}" \
17948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17949 TAGS) \
17950 || exit 1
17952 @endif gold
17954 .PHONY: maybe-install-info-gold install-info-gold
17955 maybe-install-info-gold:
17956 @if gold
17957 maybe-install-info-gold: install-info-gold
17959 install-info-gold: \
17960 configure-gold \
17961 info-gold
17962 @[ -f ./gold/Makefile ] || exit 0; \
17963 r=`${PWD_COMMAND}`; export r; \
17964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17965 $(HOST_EXPORTS) \
17966 for flag in $(EXTRA_HOST_FLAGS) ; do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17968 done; \
17969 echo "Doing install-info in gold"; \
17970 (cd $(HOST_SUBDIR)/gold && \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17975 install-info) \
17976 || exit 1
17978 @endif gold
17980 .PHONY: maybe-install-pdf-gold install-pdf-gold
17981 maybe-install-pdf-gold:
17982 @if gold
17983 maybe-install-pdf-gold: install-pdf-gold
17985 install-pdf-gold: \
17986 configure-gold \
17987 pdf-gold
17988 @[ -f ./gold/Makefile ] || exit 0; \
17989 r=`${PWD_COMMAND}`; export r; \
17990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17991 $(HOST_EXPORTS) \
17992 for flag in $(EXTRA_HOST_FLAGS) ; do \
17993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17994 done; \
17995 echo "Doing install-pdf in gold"; \
17996 (cd $(HOST_SUBDIR)/gold && \
17997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17999 "RANLIB=$${RANLIB}" \
18000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18001 install-pdf) \
18002 || exit 1
18004 @endif gold
18006 .PHONY: maybe-install-html-gold install-html-gold
18007 maybe-install-html-gold:
18008 @if gold
18009 maybe-install-html-gold: install-html-gold
18011 install-html-gold: \
18012 configure-gold \
18013 html-gold
18014 @[ -f ./gold/Makefile ] || exit 0; \
18015 r=`${PWD_COMMAND}`; export r; \
18016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18017 $(HOST_EXPORTS) \
18018 for flag in $(EXTRA_HOST_FLAGS) ; do \
18019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18020 done; \
18021 echo "Doing install-html in gold"; \
18022 (cd $(HOST_SUBDIR)/gold && \
18023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18025 "RANLIB=$${RANLIB}" \
18026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18027 install-html) \
18028 || exit 1
18030 @endif gold
18032 .PHONY: maybe-installcheck-gold installcheck-gold
18033 maybe-installcheck-gold:
18034 @if gold
18035 maybe-installcheck-gold: installcheck-gold
18037 installcheck-gold: \
18038 configure-gold
18039 @[ -f ./gold/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 for flag in $(EXTRA_HOST_FLAGS) ; do \
18044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 done; \
18046 echo "Doing installcheck in gold"; \
18047 (cd $(HOST_SUBDIR)/gold && \
18048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18050 "RANLIB=$${RANLIB}" \
18051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18052 installcheck) \
18053 || exit 1
18055 @endif gold
18057 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18058 maybe-mostlyclean-gold:
18059 @if gold
18060 maybe-mostlyclean-gold: mostlyclean-gold
18062 mostlyclean-gold:
18063 @[ -f ./gold/Makefile ] || exit 0; \
18064 r=`${PWD_COMMAND}`; export r; \
18065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18066 $(HOST_EXPORTS) \
18067 for flag in $(EXTRA_HOST_FLAGS) ; do \
18068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18069 done; \
18070 echo "Doing mostlyclean in gold"; \
18071 (cd $(HOST_SUBDIR)/gold && \
18072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18074 "RANLIB=$${RANLIB}" \
18075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18076 mostlyclean) \
18077 || exit 1
18079 @endif gold
18081 .PHONY: maybe-clean-gold clean-gold
18082 maybe-clean-gold:
18083 @if gold
18084 maybe-clean-gold: clean-gold
18086 clean-gold:
18087 @[ -f ./gold/Makefile ] || exit 0; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 $(HOST_EXPORTS) \
18091 for flag in $(EXTRA_HOST_FLAGS) ; do \
18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18093 done; \
18094 echo "Doing clean in gold"; \
18095 (cd $(HOST_SUBDIR)/gold && \
18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18098 "RANLIB=$${RANLIB}" \
18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18100 clean) \
18101 || exit 1
18103 @endif gold
18105 .PHONY: maybe-distclean-gold distclean-gold
18106 maybe-distclean-gold:
18107 @if gold
18108 maybe-distclean-gold: distclean-gold
18110 distclean-gold:
18111 @[ -f ./gold/Makefile ] || exit 0; \
18112 r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 $(HOST_EXPORTS) \
18115 for flag in $(EXTRA_HOST_FLAGS) ; do \
18116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18117 done; \
18118 echo "Doing distclean in gold"; \
18119 (cd $(HOST_SUBDIR)/gold && \
18120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18122 "RANLIB=$${RANLIB}" \
18123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18124 distclean) \
18125 || exit 1
18127 @endif gold
18129 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
18130 maybe-maintainer-clean-gold:
18131 @if gold
18132 maybe-maintainer-clean-gold: maintainer-clean-gold
18134 maintainer-clean-gold:
18135 @[ -f ./gold/Makefile ] || exit 0; \
18136 r=`${PWD_COMMAND}`; export r; \
18137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18138 $(HOST_EXPORTS) \
18139 for flag in $(EXTRA_HOST_FLAGS) ; do \
18140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18141 done; \
18142 echo "Doing maintainer-clean in gold"; \
18143 (cd $(HOST_SUBDIR)/gold && \
18144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18146 "RANLIB=$${RANLIB}" \
18147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18148 maintainer-clean) \
18149 || exit 1
18151 @endif gold
18155 .PHONY: configure-gprof maybe-configure-gprof
18156 maybe-configure-gprof:
18157 @if gcc-bootstrap
18158 configure-gprof: stage_current
18159 @endif gcc-bootstrap
18160 @if gprof
18161 maybe-configure-gprof: configure-gprof
18162 configure-gprof:
18163 @: $(MAKE); $(unstage)
18164 @r=`${PWD_COMMAND}`; export r; \
18165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18166 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
18167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
18168 $(HOST_EXPORTS) \
18169 echo Configuring in $(HOST_SUBDIR)/gprof; \
18170 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
18171 case $(srcdir) in \
18172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18173 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
18174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18175 esac; \
18176 module_srcdir=gprof; \
18177 $(SHELL) \
18178 $$s/$$module_srcdir/configure \
18179 --srcdir=$${topdir}/$$module_srcdir \
18180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18181 --target=${target_alias} \
18182 || exit 1
18183 @endif gprof
18189 .PHONY: all-gprof maybe-all-gprof
18190 maybe-all-gprof:
18191 @if gcc-bootstrap
18192 all-gprof: stage_current
18193 @endif gcc-bootstrap
18194 @if gprof
18195 TARGET-gprof=all
18196 maybe-all-gprof: all-gprof
18197 all-gprof: configure-gprof
18198 @: $(MAKE); $(unstage)
18199 @r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 $(HOST_EXPORTS) \
18202 (cd $(HOST_SUBDIR)/gprof && \
18203 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18204 $(TARGET-gprof))
18205 @endif gprof
18210 .PHONY: check-gprof maybe-check-gprof
18211 maybe-check-gprof:
18212 @if gprof
18213 maybe-check-gprof: check-gprof
18215 check-gprof:
18216 @: $(MAKE); $(unstage)
18217 @r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219 $(HOST_EXPORTS) \
18220 (cd $(HOST_SUBDIR)/gprof && \
18221 $(MAKE) $(FLAGS_TO_PASS) check)
18223 @endif gprof
18225 .PHONY: install-gprof maybe-install-gprof
18226 maybe-install-gprof:
18227 @if gprof
18228 maybe-install-gprof: install-gprof
18230 install-gprof: installdirs
18231 @: $(MAKE); $(unstage)
18232 @r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 $(HOST_EXPORTS) \
18235 (cd $(HOST_SUBDIR)/gprof && \
18236 $(MAKE) $(FLAGS_TO_PASS) install)
18238 @endif gprof
18240 .PHONY: install-strip-gprof maybe-install-strip-gprof
18241 maybe-install-strip-gprof:
18242 @if gprof
18243 maybe-install-strip-gprof: install-strip-gprof
18245 install-strip-gprof: installdirs
18246 @: $(MAKE); $(unstage)
18247 @r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 $(HOST_EXPORTS) \
18250 (cd $(HOST_SUBDIR)/gprof && \
18251 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18253 @endif gprof
18255 # Other targets (info, dvi, pdf, etc.)
18257 .PHONY: maybe-info-gprof info-gprof
18258 maybe-info-gprof:
18259 @if gprof
18260 maybe-info-gprof: info-gprof
18262 info-gprof: \
18263 configure-gprof
18264 @: $(MAKE); $(unstage)
18265 @[ -f ./gprof/Makefile ] || exit 0; \
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 $(HOST_EXPORTS) \
18269 for flag in $(EXTRA_HOST_FLAGS) ; do \
18270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18271 done; \
18272 echo "Doing info in gprof"; \
18273 (cd $(HOST_SUBDIR)/gprof && \
18274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18276 "RANLIB=$${RANLIB}" \
18277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18278 info) \
18279 || exit 1
18281 @endif gprof
18283 .PHONY: maybe-dvi-gprof dvi-gprof
18284 maybe-dvi-gprof:
18285 @if gprof
18286 maybe-dvi-gprof: dvi-gprof
18288 dvi-gprof: \
18289 configure-gprof
18290 @: $(MAKE); $(unstage)
18291 @[ -f ./gprof/Makefile ] || exit 0; \
18292 r=`${PWD_COMMAND}`; export r; \
18293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18294 $(HOST_EXPORTS) \
18295 for flag in $(EXTRA_HOST_FLAGS) ; do \
18296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18297 done; \
18298 echo "Doing dvi in gprof"; \
18299 (cd $(HOST_SUBDIR)/gprof && \
18300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18302 "RANLIB=$${RANLIB}" \
18303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18304 dvi) \
18305 || exit 1
18307 @endif gprof
18309 .PHONY: maybe-pdf-gprof pdf-gprof
18310 maybe-pdf-gprof:
18311 @if gprof
18312 maybe-pdf-gprof: pdf-gprof
18314 pdf-gprof: \
18315 configure-gprof
18316 @: $(MAKE); $(unstage)
18317 @[ -f ./gprof/Makefile ] || exit 0; \
18318 r=`${PWD_COMMAND}`; export r; \
18319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18320 $(HOST_EXPORTS) \
18321 for flag in $(EXTRA_HOST_FLAGS) ; do \
18322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18323 done; \
18324 echo "Doing pdf in gprof"; \
18325 (cd $(HOST_SUBDIR)/gprof && \
18326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18328 "RANLIB=$${RANLIB}" \
18329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18330 pdf) \
18331 || exit 1
18333 @endif gprof
18335 .PHONY: maybe-html-gprof html-gprof
18336 maybe-html-gprof:
18337 @if gprof
18338 maybe-html-gprof: html-gprof
18340 html-gprof: \
18341 configure-gprof
18342 @: $(MAKE); $(unstage)
18343 @[ -f ./gprof/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 $(HOST_EXPORTS) \
18347 for flag in $(EXTRA_HOST_FLAGS) ; do \
18348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18349 done; \
18350 echo "Doing html in gprof"; \
18351 (cd $(HOST_SUBDIR)/gprof && \
18352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354 "RANLIB=$${RANLIB}" \
18355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18356 html) \
18357 || exit 1
18359 @endif gprof
18361 .PHONY: maybe-TAGS-gprof TAGS-gprof
18362 maybe-TAGS-gprof:
18363 @if gprof
18364 maybe-TAGS-gprof: TAGS-gprof
18366 TAGS-gprof: \
18367 configure-gprof
18368 @: $(MAKE); $(unstage)
18369 @[ -f ./gprof/Makefile ] || exit 0; \
18370 r=`${PWD_COMMAND}`; export r; \
18371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18372 $(HOST_EXPORTS) \
18373 for flag in $(EXTRA_HOST_FLAGS) ; do \
18374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18375 done; \
18376 echo "Doing TAGS in gprof"; \
18377 (cd $(HOST_SUBDIR)/gprof && \
18378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18380 "RANLIB=$${RANLIB}" \
18381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18382 TAGS) \
18383 || exit 1
18385 @endif gprof
18387 .PHONY: maybe-install-info-gprof install-info-gprof
18388 maybe-install-info-gprof:
18389 @if gprof
18390 maybe-install-info-gprof: install-info-gprof
18392 install-info-gprof: \
18393 configure-gprof \
18394 info-gprof
18395 @: $(MAKE); $(unstage)
18396 @[ -f ./gprof/Makefile ] || exit 0; \
18397 r=`${PWD_COMMAND}`; export r; \
18398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18399 $(HOST_EXPORTS) \
18400 for flag in $(EXTRA_HOST_FLAGS) ; do \
18401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18402 done; \
18403 echo "Doing install-info in gprof"; \
18404 (cd $(HOST_SUBDIR)/gprof && \
18405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18407 "RANLIB=$${RANLIB}" \
18408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18409 install-info) \
18410 || exit 1
18412 @endif gprof
18414 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
18415 maybe-install-pdf-gprof:
18416 @if gprof
18417 maybe-install-pdf-gprof: install-pdf-gprof
18419 install-pdf-gprof: \
18420 configure-gprof \
18421 pdf-gprof
18422 @: $(MAKE); $(unstage)
18423 @[ -f ./gprof/Makefile ] || exit 0; \
18424 r=`${PWD_COMMAND}`; export r; \
18425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18426 $(HOST_EXPORTS) \
18427 for flag in $(EXTRA_HOST_FLAGS) ; do \
18428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18429 done; \
18430 echo "Doing install-pdf in gprof"; \
18431 (cd $(HOST_SUBDIR)/gprof && \
18432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18434 "RANLIB=$${RANLIB}" \
18435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18436 install-pdf) \
18437 || exit 1
18439 @endif gprof
18441 .PHONY: maybe-install-html-gprof install-html-gprof
18442 maybe-install-html-gprof:
18443 @if gprof
18444 maybe-install-html-gprof: install-html-gprof
18446 install-html-gprof: \
18447 configure-gprof \
18448 html-gprof
18449 @: $(MAKE); $(unstage)
18450 @[ -f ./gprof/Makefile ] || exit 0; \
18451 r=`${PWD_COMMAND}`; export r; \
18452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18453 $(HOST_EXPORTS) \
18454 for flag in $(EXTRA_HOST_FLAGS) ; do \
18455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18456 done; \
18457 echo "Doing install-html in gprof"; \
18458 (cd $(HOST_SUBDIR)/gprof && \
18459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18461 "RANLIB=$${RANLIB}" \
18462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18463 install-html) \
18464 || exit 1
18466 @endif gprof
18468 .PHONY: maybe-installcheck-gprof installcheck-gprof
18469 maybe-installcheck-gprof:
18470 @if gprof
18471 maybe-installcheck-gprof: installcheck-gprof
18473 installcheck-gprof: \
18474 configure-gprof
18475 @: $(MAKE); $(unstage)
18476 @[ -f ./gprof/Makefile ] || exit 0; \
18477 r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(HOST_EXPORTS) \
18480 for flag in $(EXTRA_HOST_FLAGS) ; do \
18481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18482 done; \
18483 echo "Doing installcheck in gprof"; \
18484 (cd $(HOST_SUBDIR)/gprof && \
18485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18487 "RANLIB=$${RANLIB}" \
18488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18489 installcheck) \
18490 || exit 1
18492 @endif gprof
18494 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
18495 maybe-mostlyclean-gprof:
18496 @if gprof
18497 maybe-mostlyclean-gprof: mostlyclean-gprof
18499 mostlyclean-gprof:
18500 @: $(MAKE); $(unstage)
18501 @[ -f ./gprof/Makefile ] || exit 0; \
18502 r=`${PWD_COMMAND}`; export r; \
18503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18504 $(HOST_EXPORTS) \
18505 for flag in $(EXTRA_HOST_FLAGS) ; do \
18506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18507 done; \
18508 echo "Doing mostlyclean in gprof"; \
18509 (cd $(HOST_SUBDIR)/gprof && \
18510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18512 "RANLIB=$${RANLIB}" \
18513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18514 mostlyclean) \
18515 || exit 1
18517 @endif gprof
18519 .PHONY: maybe-clean-gprof clean-gprof
18520 maybe-clean-gprof:
18521 @if gprof
18522 maybe-clean-gprof: clean-gprof
18524 clean-gprof:
18525 @: $(MAKE); $(unstage)
18526 @[ -f ./gprof/Makefile ] || exit 0; \
18527 r=`${PWD_COMMAND}`; export r; \
18528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18529 $(HOST_EXPORTS) \
18530 for flag in $(EXTRA_HOST_FLAGS) ; do \
18531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18532 done; \
18533 echo "Doing clean in gprof"; \
18534 (cd $(HOST_SUBDIR)/gprof && \
18535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18537 "RANLIB=$${RANLIB}" \
18538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18539 clean) \
18540 || exit 1
18542 @endif gprof
18544 .PHONY: maybe-distclean-gprof distclean-gprof
18545 maybe-distclean-gprof:
18546 @if gprof
18547 maybe-distclean-gprof: distclean-gprof
18549 distclean-gprof:
18550 @: $(MAKE); $(unstage)
18551 @[ -f ./gprof/Makefile ] || exit 0; \
18552 r=`${PWD_COMMAND}`; export r; \
18553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18554 $(HOST_EXPORTS) \
18555 for flag in $(EXTRA_HOST_FLAGS) ; do \
18556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18557 done; \
18558 echo "Doing distclean in gprof"; \
18559 (cd $(HOST_SUBDIR)/gprof && \
18560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18562 "RANLIB=$${RANLIB}" \
18563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18564 distclean) \
18565 || exit 1
18567 @endif gprof
18569 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
18570 maybe-maintainer-clean-gprof:
18571 @if gprof
18572 maybe-maintainer-clean-gprof: maintainer-clean-gprof
18574 maintainer-clean-gprof:
18575 @: $(MAKE); $(unstage)
18576 @[ -f ./gprof/Makefile ] || exit 0; \
18577 r=`${PWD_COMMAND}`; export r; \
18578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18579 $(HOST_EXPORTS) \
18580 for flag in $(EXTRA_HOST_FLAGS) ; do \
18581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18582 done; \
18583 echo "Doing maintainer-clean in gprof"; \
18584 (cd $(HOST_SUBDIR)/gprof && \
18585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18587 "RANLIB=$${RANLIB}" \
18588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18589 maintainer-clean) \
18590 || exit 1
18592 @endif gprof
18596 .PHONY: configure-intl maybe-configure-intl
18597 maybe-configure-intl:
18598 @if gcc-bootstrap
18599 configure-intl: stage_current
18600 @endif gcc-bootstrap
18601 @if intl
18602 maybe-configure-intl: configure-intl
18603 configure-intl:
18604 @r=`${PWD_COMMAND}`; export r; \
18605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18606 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18608 $(HOST_EXPORTS) \
18609 echo Configuring in $(HOST_SUBDIR)/intl; \
18610 cd "$(HOST_SUBDIR)/intl" || exit 1; \
18611 case $(srcdir) in \
18612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18613 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18615 esac; \
18616 module_srcdir=intl; \
18617 $(SHELL) \
18618 $$s/$$module_srcdir/configure \
18619 --srcdir=$${topdir}/$$module_srcdir \
18620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18621 --target=${target_alias} \
18622 || exit 1
18623 @endif intl
18627 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
18628 maybe-configure-stage1-intl:
18629 @if intl-bootstrap
18630 maybe-configure-stage1-intl: configure-stage1-intl
18631 configure-stage1-intl:
18632 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18634 @r=`${PWD_COMMAND}`; export r; \
18635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18636 TFLAGS="$(STAGE1_TFLAGS)"; \
18637 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18638 $(HOST_EXPORTS) \
18639 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18640 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18641 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18642 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
18643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18644 cd $(HOST_SUBDIR)/intl || exit 1; \
18645 case $(srcdir) in \
18646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18647 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18649 esac; \
18650 module_srcdir=intl; \
18651 $(SHELL) $$s/$$module_srcdir/configure \
18652 --srcdir=$${topdir}/$$module_srcdir \
18653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18654 --target=${target_alias} \
18656 $(STAGE1_CONFIGURE_FLAGS)
18657 @endif intl-bootstrap
18659 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
18660 maybe-configure-stage2-intl:
18661 @if intl-bootstrap
18662 maybe-configure-stage2-intl: configure-stage2-intl
18663 configure-stage2-intl:
18664 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18666 @r=`${PWD_COMMAND}`; export r; \
18667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 TFLAGS="$(STAGE2_TFLAGS)"; \
18669 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18670 $(HOST_EXPORTS) \
18671 $(POSTSTAGE1_HOST_EXPORTS) \
18672 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18673 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18674 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18675 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
18676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18677 cd $(HOST_SUBDIR)/intl || exit 1; \
18678 case $(srcdir) in \
18679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18680 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18682 esac; \
18683 module_srcdir=intl; \
18684 $(SHELL) $$s/$$module_srcdir/configure \
18685 --srcdir=$${topdir}/$$module_srcdir \
18686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18687 --target=${target_alias} \
18688 --with-build-libsubdir=$(HOST_SUBDIR) \
18689 $(STAGE2_CONFIGURE_FLAGS)
18690 @endif intl-bootstrap
18692 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
18693 maybe-configure-stage3-intl:
18694 @if intl-bootstrap
18695 maybe-configure-stage3-intl: configure-stage3-intl
18696 configure-stage3-intl:
18697 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18699 @r=`${PWD_COMMAND}`; export r; \
18700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 TFLAGS="$(STAGE3_TFLAGS)"; \
18702 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18703 $(HOST_EXPORTS) \
18704 $(POSTSTAGE1_HOST_EXPORTS) \
18705 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18706 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18707 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18708 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
18709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18710 cd $(HOST_SUBDIR)/intl || exit 1; \
18711 case $(srcdir) in \
18712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18713 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18715 esac; \
18716 module_srcdir=intl; \
18717 $(SHELL) $$s/$$module_srcdir/configure \
18718 --srcdir=$${topdir}/$$module_srcdir \
18719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18720 --target=${target_alias} \
18721 --with-build-libsubdir=$(HOST_SUBDIR) \
18722 $(STAGE3_CONFIGURE_FLAGS)
18723 @endif intl-bootstrap
18725 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
18726 maybe-configure-stage4-intl:
18727 @if intl-bootstrap
18728 maybe-configure-stage4-intl: configure-stage4-intl
18729 configure-stage4-intl:
18730 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18732 @r=`${PWD_COMMAND}`; export r; \
18733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18734 TFLAGS="$(STAGE4_TFLAGS)"; \
18735 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18736 $(HOST_EXPORTS) \
18737 $(POSTSTAGE1_HOST_EXPORTS) \
18738 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18739 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18740 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18741 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
18742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18743 cd $(HOST_SUBDIR)/intl || exit 1; \
18744 case $(srcdir) in \
18745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18746 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18748 esac; \
18749 module_srcdir=intl; \
18750 $(SHELL) $$s/$$module_srcdir/configure \
18751 --srcdir=$${topdir}/$$module_srcdir \
18752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18753 --target=${target_alias} \
18754 --with-build-libsubdir=$(HOST_SUBDIR) \
18755 $(STAGE4_CONFIGURE_FLAGS)
18756 @endif intl-bootstrap
18758 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
18759 maybe-configure-stageprofile-intl:
18760 @if intl-bootstrap
18761 maybe-configure-stageprofile-intl: configure-stageprofile-intl
18762 configure-stageprofile-intl:
18763 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18765 @r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18768 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18769 $(HOST_EXPORTS) \
18770 $(POSTSTAGE1_HOST_EXPORTS) \
18771 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18772 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18773 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18774 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
18775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18776 cd $(HOST_SUBDIR)/intl || exit 1; \
18777 case $(srcdir) in \
18778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18779 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18781 esac; \
18782 module_srcdir=intl; \
18783 $(SHELL) $$s/$$module_srcdir/configure \
18784 --srcdir=$${topdir}/$$module_srcdir \
18785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18786 --target=${target_alias} \
18787 --with-build-libsubdir=$(HOST_SUBDIR) \
18788 $(STAGEprofile_CONFIGURE_FLAGS)
18789 @endif intl-bootstrap
18791 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
18792 maybe-configure-stagefeedback-intl:
18793 @if intl-bootstrap
18794 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
18795 configure-stagefeedback-intl:
18796 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18798 @r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18801 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18802 $(HOST_EXPORTS) \
18803 $(POSTSTAGE1_HOST_EXPORTS) \
18804 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18805 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18806 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18807 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
18808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18809 cd $(HOST_SUBDIR)/intl || exit 1; \
18810 case $(srcdir) in \
18811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18812 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18814 esac; \
18815 module_srcdir=intl; \
18816 $(SHELL) $$s/$$module_srcdir/configure \
18817 --srcdir=$${topdir}/$$module_srcdir \
18818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18819 --target=${target_alias} \
18820 --with-build-libsubdir=$(HOST_SUBDIR) \
18821 $(STAGEfeedback_CONFIGURE_FLAGS)
18822 @endif intl-bootstrap
18824 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
18825 maybe-configure-stageautoprofile-intl:
18826 @if intl-bootstrap
18827 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
18828 configure-stageautoprofile-intl:
18829 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18831 @r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18834 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18835 $(HOST_EXPORTS) \
18836 $(POSTSTAGE1_HOST_EXPORTS) \
18837 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18838 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18839 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18840 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
18841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18842 cd $(HOST_SUBDIR)/intl || exit 1; \
18843 case $(srcdir) in \
18844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18845 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18847 esac; \
18848 module_srcdir=intl; \
18849 $(SHELL) $$s/$$module_srcdir/configure \
18850 --srcdir=$${topdir}/$$module_srcdir \
18851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18852 --target=${target_alias} \
18853 --with-build-libsubdir=$(HOST_SUBDIR) \
18854 $(STAGEautoprofile_CONFIGURE_FLAGS)
18855 @endif intl-bootstrap
18857 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
18858 maybe-configure-stageautofeedback-intl:
18859 @if intl-bootstrap
18860 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
18861 configure-stageautofeedback-intl:
18862 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18864 @r=`${PWD_COMMAND}`; export r; \
18865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18866 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18867 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18868 $(HOST_EXPORTS) \
18869 $(POSTSTAGE1_HOST_EXPORTS) \
18870 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18871 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18872 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18873 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
18874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18875 cd $(HOST_SUBDIR)/intl || exit 1; \
18876 case $(srcdir) in \
18877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18878 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18880 esac; \
18881 module_srcdir=intl; \
18882 $(SHELL) $$s/$$module_srcdir/configure \
18883 --srcdir=$${topdir}/$$module_srcdir \
18884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18885 --target=${target_alias} \
18886 --with-build-libsubdir=$(HOST_SUBDIR) \
18887 $(STAGEautofeedback_CONFIGURE_FLAGS)
18888 @endif intl-bootstrap
18894 .PHONY: all-intl maybe-all-intl
18895 maybe-all-intl:
18896 @if gcc-bootstrap
18897 all-intl: stage_current
18898 @endif gcc-bootstrap
18899 @if intl
18900 TARGET-intl=all
18901 maybe-all-intl: all-intl
18902 all-intl: configure-intl
18903 @r=`${PWD_COMMAND}`; export r; \
18904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18905 $(HOST_EXPORTS) \
18906 (cd $(HOST_SUBDIR)/intl && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18908 $(TARGET-intl))
18909 @endif intl
18913 .PHONY: all-stage1-intl maybe-all-stage1-intl
18914 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
18915 maybe-all-stage1-intl:
18916 maybe-clean-stage1-intl:
18917 @if intl-bootstrap
18918 maybe-all-stage1-intl: all-stage1-intl
18919 all-stage1: all-stage1-intl
18920 TARGET-stage1-intl = $(TARGET-intl)
18921 all-stage1-intl: configure-stage1-intl
18922 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18923 @r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 TFLAGS="$(STAGE1_TFLAGS)"; \
18926 $(HOST_EXPORTS) \
18927 cd $(HOST_SUBDIR)/intl && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18930 CFLAGS="$(STAGE1_CFLAGS)" \
18931 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18932 LIBCFLAGS="$(LIBCFLAGS)" \
18933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18936 $(EXTRA_HOST_FLAGS) \
18937 $(STAGE1_FLAGS_TO_PASS) \
18938 TFLAGS="$(STAGE1_TFLAGS)" \
18939 $(TARGET-stage1-intl)
18941 maybe-clean-stage1-intl: clean-stage1-intl
18942 clean-stage1: clean-stage1-intl
18943 clean-stage1-intl:
18944 @if [ $(current_stage) = stage1 ]; then \
18945 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18946 else \
18947 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
18948 $(MAKE) stage1-start; \
18949 fi; \
18950 cd $(HOST_SUBDIR)/intl && \
18951 $(MAKE) $(EXTRA_HOST_FLAGS) \
18952 $(STAGE1_FLAGS_TO_PASS) clean
18953 @endif intl-bootstrap
18956 .PHONY: all-stage2-intl maybe-all-stage2-intl
18957 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
18958 maybe-all-stage2-intl:
18959 maybe-clean-stage2-intl:
18960 @if intl-bootstrap
18961 maybe-all-stage2-intl: all-stage2-intl
18962 all-stage2: all-stage2-intl
18963 TARGET-stage2-intl = $(TARGET-intl)
18964 all-stage2-intl: configure-stage2-intl
18965 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18966 @r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 TFLAGS="$(STAGE2_TFLAGS)"; \
18969 $(HOST_EXPORTS) \
18970 $(POSTSTAGE1_HOST_EXPORTS) \
18971 cd $(HOST_SUBDIR)/intl && \
18973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18974 CFLAGS="$(STAGE2_CFLAGS)" \
18975 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18976 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18980 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18981 TFLAGS="$(STAGE2_TFLAGS)" \
18982 $(TARGET-stage2-intl)
18984 maybe-clean-stage2-intl: clean-stage2-intl
18985 clean-stage2: clean-stage2-intl
18986 clean-stage2-intl:
18987 @if [ $(current_stage) = stage2 ]; then \
18988 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18989 else \
18990 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
18991 $(MAKE) stage2-start; \
18992 fi; \
18993 cd $(HOST_SUBDIR)/intl && \
18994 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18995 @endif intl-bootstrap
18998 .PHONY: all-stage3-intl maybe-all-stage3-intl
18999 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19000 maybe-all-stage3-intl:
19001 maybe-clean-stage3-intl:
19002 @if intl-bootstrap
19003 maybe-all-stage3-intl: all-stage3-intl
19004 all-stage3: all-stage3-intl
19005 TARGET-stage3-intl = $(TARGET-intl)
19006 all-stage3-intl: configure-stage3-intl
19007 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19008 @r=`${PWD_COMMAND}`; export r; \
19009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19010 TFLAGS="$(STAGE3_TFLAGS)"; \
19011 $(HOST_EXPORTS) \
19012 $(POSTSTAGE1_HOST_EXPORTS) \
19013 cd $(HOST_SUBDIR)/intl && \
19015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19016 CFLAGS="$(STAGE3_CFLAGS)" \
19017 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19018 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19023 TFLAGS="$(STAGE3_TFLAGS)" \
19024 $(TARGET-stage3-intl)
19026 maybe-clean-stage3-intl: clean-stage3-intl
19027 clean-stage3: clean-stage3-intl
19028 clean-stage3-intl:
19029 @if [ $(current_stage) = stage3 ]; then \
19030 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19031 else \
19032 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19033 $(MAKE) stage3-start; \
19034 fi; \
19035 cd $(HOST_SUBDIR)/intl && \
19036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19037 @endif intl-bootstrap
19040 .PHONY: all-stage4-intl maybe-all-stage4-intl
19041 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19042 maybe-all-stage4-intl:
19043 maybe-clean-stage4-intl:
19044 @if intl-bootstrap
19045 maybe-all-stage4-intl: all-stage4-intl
19046 all-stage4: all-stage4-intl
19047 TARGET-stage4-intl = $(TARGET-intl)
19048 all-stage4-intl: configure-stage4-intl
19049 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19050 @r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 TFLAGS="$(STAGE4_TFLAGS)"; \
19053 $(HOST_EXPORTS) \
19054 $(POSTSTAGE1_HOST_EXPORTS) \
19055 cd $(HOST_SUBDIR)/intl && \
19057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19058 CFLAGS="$(STAGE4_CFLAGS)" \
19059 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19060 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19065 TFLAGS="$(STAGE4_TFLAGS)" \
19066 $(TARGET-stage4-intl)
19068 maybe-clean-stage4-intl: clean-stage4-intl
19069 clean-stage4: clean-stage4-intl
19070 clean-stage4-intl:
19071 @if [ $(current_stage) = stage4 ]; then \
19072 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19073 else \
19074 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
19075 $(MAKE) stage4-start; \
19076 fi; \
19077 cd $(HOST_SUBDIR)/intl && \
19078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19079 @endif intl-bootstrap
19082 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
19083 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
19084 maybe-all-stageprofile-intl:
19085 maybe-clean-stageprofile-intl:
19086 @if intl-bootstrap
19087 maybe-all-stageprofile-intl: all-stageprofile-intl
19088 all-stageprofile: all-stageprofile-intl
19089 TARGET-stageprofile-intl = $(TARGET-intl)
19090 all-stageprofile-intl: configure-stageprofile-intl
19091 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19092 @r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19095 $(HOST_EXPORTS) \
19096 $(POSTSTAGE1_HOST_EXPORTS) \
19097 cd $(HOST_SUBDIR)/intl && \
19099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19100 CFLAGS="$(STAGEprofile_CFLAGS)" \
19101 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19102 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19107 TFLAGS="$(STAGEprofile_TFLAGS)" \
19108 $(TARGET-stageprofile-intl)
19110 maybe-clean-stageprofile-intl: clean-stageprofile-intl
19111 clean-stageprofile: clean-stageprofile-intl
19112 clean-stageprofile-intl:
19113 @if [ $(current_stage) = stageprofile ]; then \
19114 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19115 else \
19116 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
19117 $(MAKE) stageprofile-start; \
19118 fi; \
19119 cd $(HOST_SUBDIR)/intl && \
19120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19121 @endif intl-bootstrap
19124 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
19125 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
19126 maybe-all-stagefeedback-intl:
19127 maybe-clean-stagefeedback-intl:
19128 @if intl-bootstrap
19129 maybe-all-stagefeedback-intl: all-stagefeedback-intl
19130 all-stagefeedback: all-stagefeedback-intl
19131 TARGET-stagefeedback-intl = $(TARGET-intl)
19132 all-stagefeedback-intl: configure-stagefeedback-intl
19133 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19134 @r=`${PWD_COMMAND}`; export r; \
19135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19136 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19137 $(HOST_EXPORTS) \
19138 $(POSTSTAGE1_HOST_EXPORTS) \
19139 cd $(HOST_SUBDIR)/intl && \
19141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19142 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19143 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19144 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19148 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19149 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19150 $(TARGET-stagefeedback-intl)
19152 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
19153 clean-stagefeedback: clean-stagefeedback-intl
19154 clean-stagefeedback-intl:
19155 @if [ $(current_stage) = stagefeedback ]; then \
19156 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19157 else \
19158 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
19159 $(MAKE) stagefeedback-start; \
19160 fi; \
19161 cd $(HOST_SUBDIR)/intl && \
19162 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19163 @endif intl-bootstrap
19166 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
19167 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
19168 maybe-all-stageautoprofile-intl:
19169 maybe-clean-stageautoprofile-intl:
19170 @if intl-bootstrap
19171 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
19172 all-stageautoprofile: all-stageautoprofile-intl
19173 TARGET-stageautoprofile-intl = $(TARGET-intl)
19174 all-stageautoprofile-intl: configure-stageautoprofile-intl
19175 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19176 @r=`${PWD_COMMAND}`; export r; \
19177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19178 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19179 $(HOST_EXPORTS) \
19180 $(POSTSTAGE1_HOST_EXPORTS) \
19181 cd $(HOST_SUBDIR)/intl && \
19182 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19184 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19185 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19186 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19190 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19191 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19192 $(TARGET-stageautoprofile-intl)
19194 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
19195 clean-stageautoprofile: clean-stageautoprofile-intl
19196 clean-stageautoprofile-intl:
19197 @if [ $(current_stage) = stageautoprofile ]; then \
19198 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19199 else \
19200 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
19201 $(MAKE) stageautoprofile-start; \
19202 fi; \
19203 cd $(HOST_SUBDIR)/intl && \
19204 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19205 @endif intl-bootstrap
19208 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
19209 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
19210 maybe-all-stageautofeedback-intl:
19211 maybe-clean-stageautofeedback-intl:
19212 @if intl-bootstrap
19213 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
19214 all-stageautofeedback: all-stageautofeedback-intl
19215 TARGET-stageautofeedback-intl = $(TARGET-intl)
19216 all-stageautofeedback-intl: configure-stageautofeedback-intl
19217 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19218 @r=`${PWD_COMMAND}`; export r; \
19219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19220 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19221 $(HOST_EXPORTS) \
19222 $(POSTSTAGE1_HOST_EXPORTS) \
19223 cd $(HOST_SUBDIR)/intl && \
19225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19226 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19227 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19228 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19233 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19234 $(TARGET-stageautofeedback-intl)
19236 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
19237 clean-stageautofeedback: clean-stageautofeedback-intl
19238 clean-stageautofeedback-intl:
19239 @if [ $(current_stage) = stageautofeedback ]; then \
19240 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19241 else \
19242 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
19243 $(MAKE) stageautofeedback-start; \
19244 fi; \
19245 cd $(HOST_SUBDIR)/intl && \
19246 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19247 @endif intl-bootstrap
19253 .PHONY: check-intl maybe-check-intl
19254 maybe-check-intl:
19255 @if intl
19256 maybe-check-intl: check-intl
19258 check-intl:
19259 @: $(MAKE); $(unstage)
19260 @r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19263 (cd $(HOST_SUBDIR)/intl && \
19264 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19266 @endif intl
19268 .PHONY: install-intl maybe-install-intl
19269 maybe-install-intl:
19270 @if intl
19271 maybe-install-intl: install-intl
19273 install-intl: installdirs
19274 @: $(MAKE); $(unstage)
19275 @r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(HOST_EXPORTS) \
19278 (cd $(HOST_SUBDIR)/intl && \
19279 $(MAKE) $(FLAGS_TO_PASS) install)
19281 @endif intl
19283 .PHONY: install-strip-intl maybe-install-strip-intl
19284 maybe-install-strip-intl:
19285 @if intl
19286 maybe-install-strip-intl: install-strip-intl
19288 install-strip-intl: installdirs
19289 @: $(MAKE); $(unstage)
19290 @r=`${PWD_COMMAND}`; export r; \
19291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19292 $(HOST_EXPORTS) \
19293 (cd $(HOST_SUBDIR)/intl && \
19294 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19296 @endif intl
19298 # Other targets (info, dvi, pdf, etc.)
19300 .PHONY: maybe-info-intl info-intl
19301 maybe-info-intl:
19302 @if intl
19303 maybe-info-intl: info-intl
19305 info-intl: \
19306 configure-intl
19307 @[ -f ./intl/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing info in intl"; \
19315 (cd $(HOST_SUBDIR)/intl && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19320 info) \
19321 || exit 1
19323 @endif intl
19325 .PHONY: maybe-dvi-intl dvi-intl
19326 maybe-dvi-intl:
19327 @if intl
19328 maybe-dvi-intl: dvi-intl
19330 dvi-intl: \
19331 configure-intl
19332 @[ -f ./intl/Makefile ] || exit 0; \
19333 r=`${PWD_COMMAND}`; export r; \
19334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 $(HOST_EXPORTS) \
19336 for flag in $(EXTRA_HOST_FLAGS) ; do \
19337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19338 done; \
19339 echo "Doing dvi in intl"; \
19340 (cd $(HOST_SUBDIR)/intl && \
19341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19343 "RANLIB=$${RANLIB}" \
19344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19345 dvi) \
19346 || exit 1
19348 @endif intl
19350 .PHONY: maybe-pdf-intl pdf-intl
19351 maybe-pdf-intl:
19352 @if intl
19353 maybe-pdf-intl: pdf-intl
19355 pdf-intl: \
19356 configure-intl
19357 @[ -f ./intl/Makefile ] || exit 0; \
19358 r=`${PWD_COMMAND}`; export r; \
19359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19360 $(HOST_EXPORTS) \
19361 for flag in $(EXTRA_HOST_FLAGS) ; do \
19362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19363 done; \
19364 echo "Doing pdf in intl"; \
19365 (cd $(HOST_SUBDIR)/intl && \
19366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19368 "RANLIB=$${RANLIB}" \
19369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19370 pdf) \
19371 || exit 1
19373 @endif intl
19375 .PHONY: maybe-html-intl html-intl
19376 maybe-html-intl:
19377 @if intl
19378 maybe-html-intl: html-intl
19380 html-intl: \
19381 configure-intl
19382 @[ -f ./intl/Makefile ] || exit 0; \
19383 r=`${PWD_COMMAND}`; export r; \
19384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19385 $(HOST_EXPORTS) \
19386 for flag in $(EXTRA_HOST_FLAGS) ; do \
19387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19388 done; \
19389 echo "Doing html in intl"; \
19390 (cd $(HOST_SUBDIR)/intl && \
19391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19393 "RANLIB=$${RANLIB}" \
19394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19395 html) \
19396 || exit 1
19398 @endif intl
19400 .PHONY: maybe-TAGS-intl TAGS-intl
19401 maybe-TAGS-intl:
19402 @if intl
19403 maybe-TAGS-intl: TAGS-intl
19405 TAGS-intl: \
19406 configure-intl
19407 @[ -f ./intl/Makefile ] || exit 0; \
19408 r=`${PWD_COMMAND}`; export r; \
19409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19410 $(HOST_EXPORTS) \
19411 for flag in $(EXTRA_HOST_FLAGS) ; do \
19412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19413 done; \
19414 echo "Doing TAGS in intl"; \
19415 (cd $(HOST_SUBDIR)/intl && \
19416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19418 "RANLIB=$${RANLIB}" \
19419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19420 TAGS) \
19421 || exit 1
19423 @endif intl
19425 .PHONY: maybe-install-info-intl install-info-intl
19426 maybe-install-info-intl:
19427 @if intl
19428 maybe-install-info-intl: install-info-intl
19430 install-info-intl: \
19431 configure-intl \
19432 info-intl
19433 @[ -f ./intl/Makefile ] || exit 0; \
19434 r=`${PWD_COMMAND}`; export r; \
19435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19436 $(HOST_EXPORTS) \
19437 for flag in $(EXTRA_HOST_FLAGS) ; do \
19438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19439 done; \
19440 echo "Doing install-info in intl"; \
19441 (cd $(HOST_SUBDIR)/intl && \
19442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19444 "RANLIB=$${RANLIB}" \
19445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19446 install-info) \
19447 || exit 1
19449 @endif intl
19451 .PHONY: maybe-install-pdf-intl install-pdf-intl
19452 maybe-install-pdf-intl:
19453 @if intl
19454 maybe-install-pdf-intl: install-pdf-intl
19456 install-pdf-intl: \
19457 configure-intl \
19458 pdf-intl
19459 @[ -f ./intl/Makefile ] || exit 0; \
19460 r=`${PWD_COMMAND}`; export r; \
19461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19462 $(HOST_EXPORTS) \
19463 for flag in $(EXTRA_HOST_FLAGS) ; do \
19464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19465 done; \
19466 echo "Doing install-pdf in intl"; \
19467 (cd $(HOST_SUBDIR)/intl && \
19468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19470 "RANLIB=$${RANLIB}" \
19471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19472 install-pdf) \
19473 || exit 1
19475 @endif intl
19477 .PHONY: maybe-install-html-intl install-html-intl
19478 maybe-install-html-intl:
19479 @if intl
19480 maybe-install-html-intl: install-html-intl
19482 install-html-intl: \
19483 configure-intl \
19484 html-intl
19485 @[ -f ./intl/Makefile ] || exit 0; \
19486 r=`${PWD_COMMAND}`; export r; \
19487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19488 $(HOST_EXPORTS) \
19489 for flag in $(EXTRA_HOST_FLAGS) ; do \
19490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491 done; \
19492 echo "Doing install-html in intl"; \
19493 (cd $(HOST_SUBDIR)/intl && \
19494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19496 "RANLIB=$${RANLIB}" \
19497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19498 install-html) \
19499 || exit 1
19501 @endif intl
19503 .PHONY: maybe-installcheck-intl installcheck-intl
19504 maybe-installcheck-intl:
19505 @if intl
19506 maybe-installcheck-intl: installcheck-intl
19508 installcheck-intl: \
19509 configure-intl
19510 @[ -f ./intl/Makefile ] || exit 0; \
19511 r=`${PWD_COMMAND}`; export r; \
19512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 $(HOST_EXPORTS) \
19514 for flag in $(EXTRA_HOST_FLAGS) ; do \
19515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19516 done; \
19517 echo "Doing installcheck in intl"; \
19518 (cd $(HOST_SUBDIR)/intl && \
19519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19521 "RANLIB=$${RANLIB}" \
19522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19523 installcheck) \
19524 || exit 1
19526 @endif intl
19528 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
19529 maybe-mostlyclean-intl:
19530 @if intl
19531 maybe-mostlyclean-intl: mostlyclean-intl
19533 mostlyclean-intl:
19534 @[ -f ./intl/Makefile ] || exit 0; \
19535 r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(HOST_EXPORTS) \
19538 for flag in $(EXTRA_HOST_FLAGS) ; do \
19539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19540 done; \
19541 echo "Doing mostlyclean in intl"; \
19542 (cd $(HOST_SUBDIR)/intl && \
19543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19545 "RANLIB=$${RANLIB}" \
19546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19547 mostlyclean) \
19548 || exit 1
19550 @endif intl
19552 .PHONY: maybe-clean-intl clean-intl
19553 maybe-clean-intl:
19554 @if intl
19555 maybe-clean-intl: clean-intl
19557 clean-intl:
19558 @[ -f ./intl/Makefile ] || exit 0; \
19559 r=`${PWD_COMMAND}`; export r; \
19560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19561 $(HOST_EXPORTS) \
19562 for flag in $(EXTRA_HOST_FLAGS) ; do \
19563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19564 done; \
19565 echo "Doing clean in intl"; \
19566 (cd $(HOST_SUBDIR)/intl && \
19567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19569 "RANLIB=$${RANLIB}" \
19570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19571 clean) \
19572 || exit 1
19574 @endif intl
19576 .PHONY: maybe-distclean-intl distclean-intl
19577 maybe-distclean-intl:
19578 @if intl
19579 maybe-distclean-intl: distclean-intl
19581 distclean-intl:
19582 @[ -f ./intl/Makefile ] || exit 0; \
19583 r=`${PWD_COMMAND}`; export r; \
19584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19585 $(HOST_EXPORTS) \
19586 for flag in $(EXTRA_HOST_FLAGS) ; do \
19587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19588 done; \
19589 echo "Doing distclean in intl"; \
19590 (cd $(HOST_SUBDIR)/intl && \
19591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19593 "RANLIB=$${RANLIB}" \
19594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19595 distclean) \
19596 || exit 1
19598 @endif intl
19600 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
19601 maybe-maintainer-clean-intl:
19602 @if intl
19603 maybe-maintainer-clean-intl: maintainer-clean-intl
19605 maintainer-clean-intl:
19606 @[ -f ./intl/Makefile ] || exit 0; \
19607 r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 $(HOST_EXPORTS) \
19610 for flag in $(EXTRA_HOST_FLAGS) ; do \
19611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19612 done; \
19613 echo "Doing maintainer-clean in intl"; \
19614 (cd $(HOST_SUBDIR)/intl && \
19615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19617 "RANLIB=$${RANLIB}" \
19618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19619 maintainer-clean) \
19620 || exit 1
19622 @endif intl
19626 .PHONY: configure-tcl maybe-configure-tcl
19627 maybe-configure-tcl:
19628 @if gcc-bootstrap
19629 configure-tcl: stage_current
19630 @endif gcc-bootstrap
19631 @if tcl
19632 maybe-configure-tcl: configure-tcl
19633 configure-tcl:
19634 @: $(MAKE); $(unstage)
19635 @r=`${PWD_COMMAND}`; export r; \
19636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19637 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
19638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
19639 $(HOST_EXPORTS) \
19640 echo Configuring in $(HOST_SUBDIR)/tcl; \
19641 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
19642 case $(srcdir) in \
19643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19644 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
19645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19646 esac; \
19647 module_srcdir=tcl; \
19648 $(SHELL) \
19649 $$s/$$module_srcdir/configure \
19650 --srcdir=$${topdir}/$$module_srcdir \
19651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19652 --target=${target_alias} \
19653 || exit 1
19654 @endif tcl
19660 .PHONY: all-tcl maybe-all-tcl
19661 maybe-all-tcl:
19662 @if gcc-bootstrap
19663 all-tcl: stage_current
19664 @endif gcc-bootstrap
19665 @if tcl
19666 TARGET-tcl=all
19667 maybe-all-tcl: all-tcl
19668 all-tcl: configure-tcl
19669 @: $(MAKE); $(unstage)
19670 @r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 $(HOST_EXPORTS) \
19673 (cd $(HOST_SUBDIR)/tcl && \
19674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19675 $(TARGET-tcl))
19676 @endif tcl
19681 .PHONY: check-tcl maybe-check-tcl
19682 maybe-check-tcl:
19683 @if tcl
19684 maybe-check-tcl: check-tcl
19686 check-tcl:
19687 @: $(MAKE); $(unstage)
19688 @r=`${PWD_COMMAND}`; export r; \
19689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19690 $(HOST_EXPORTS) \
19691 (cd $(HOST_SUBDIR)/tcl && \
19692 $(MAKE) $(FLAGS_TO_PASS) check)
19694 @endif tcl
19696 .PHONY: install-tcl maybe-install-tcl
19697 maybe-install-tcl:
19698 @if tcl
19699 maybe-install-tcl: install-tcl
19701 install-tcl: installdirs
19702 @: $(MAKE); $(unstage)
19703 @r=`${PWD_COMMAND}`; export r; \
19704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19705 $(HOST_EXPORTS) \
19706 (cd $(HOST_SUBDIR)/tcl && \
19707 $(MAKE) $(FLAGS_TO_PASS) install)
19709 @endif tcl
19711 .PHONY: install-strip-tcl maybe-install-strip-tcl
19712 maybe-install-strip-tcl:
19713 @if tcl
19714 maybe-install-strip-tcl: install-strip-tcl
19716 install-strip-tcl: installdirs
19717 @: $(MAKE); $(unstage)
19718 @r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 (cd $(HOST_SUBDIR)/tcl && \
19722 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19724 @endif tcl
19726 # Other targets (info, dvi, pdf, etc.)
19728 .PHONY: maybe-info-tcl info-tcl
19729 maybe-info-tcl:
19730 @if tcl
19731 maybe-info-tcl: info-tcl
19733 info-tcl: \
19734 configure-tcl
19735 @: $(MAKE); $(unstage)
19736 @[ -f ./tcl/Makefile ] || exit 0; \
19737 r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 $(HOST_EXPORTS) \
19740 for flag in $(EXTRA_HOST_FLAGS) ; do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742 done; \
19743 echo "Doing info in tcl"; \
19744 (cd $(HOST_SUBDIR)/tcl && \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747 "RANLIB=$${RANLIB}" \
19748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19749 info) \
19750 || exit 1
19752 @endif tcl
19754 .PHONY: maybe-dvi-tcl dvi-tcl
19755 maybe-dvi-tcl:
19756 @if tcl
19757 maybe-dvi-tcl: dvi-tcl
19759 dvi-tcl: \
19760 configure-tcl
19761 @: $(MAKE); $(unstage)
19762 @[ -f ./tcl/Makefile ] || exit 0; \
19763 r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 $(HOST_EXPORTS) \
19766 for flag in $(EXTRA_HOST_FLAGS) ; do \
19767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19768 done; \
19769 echo "Doing dvi in tcl"; \
19770 (cd $(HOST_SUBDIR)/tcl && \
19771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19773 "RANLIB=$${RANLIB}" \
19774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19775 dvi) \
19776 || exit 1
19778 @endif tcl
19780 .PHONY: maybe-pdf-tcl pdf-tcl
19781 maybe-pdf-tcl:
19782 @if tcl
19783 maybe-pdf-tcl: pdf-tcl
19785 pdf-tcl: \
19786 configure-tcl
19787 @: $(MAKE); $(unstage)
19788 @[ -f ./tcl/Makefile ] || exit 0; \
19789 r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791 $(HOST_EXPORTS) \
19792 for flag in $(EXTRA_HOST_FLAGS) ; do \
19793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19794 done; \
19795 echo "Doing pdf in tcl"; \
19796 (cd $(HOST_SUBDIR)/tcl && \
19797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19799 "RANLIB=$${RANLIB}" \
19800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19801 pdf) \
19802 || exit 1
19804 @endif tcl
19806 .PHONY: maybe-html-tcl html-tcl
19807 maybe-html-tcl:
19808 @if tcl
19809 maybe-html-tcl: html-tcl
19811 html-tcl: \
19812 configure-tcl
19813 @: $(MAKE); $(unstage)
19814 @[ -f ./tcl/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing html in tcl"; \
19822 (cd $(HOST_SUBDIR)/tcl && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19827 html) \
19828 || exit 1
19830 @endif tcl
19832 .PHONY: maybe-TAGS-tcl TAGS-tcl
19833 maybe-TAGS-tcl:
19834 @if tcl
19835 maybe-TAGS-tcl: TAGS-tcl
19837 TAGS-tcl: \
19838 configure-tcl
19839 @: $(MAKE); $(unstage)
19840 @[ -f ./tcl/Makefile ] || exit 0; \
19841 r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 $(HOST_EXPORTS) \
19844 for flag in $(EXTRA_HOST_FLAGS) ; do \
19845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19846 done; \
19847 echo "Doing TAGS in tcl"; \
19848 (cd $(HOST_SUBDIR)/tcl && \
19849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19851 "RANLIB=$${RANLIB}" \
19852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19853 TAGS) \
19854 || exit 1
19856 @endif tcl
19858 .PHONY: maybe-install-info-tcl install-info-tcl
19859 maybe-install-info-tcl:
19860 @if tcl
19861 maybe-install-info-tcl: install-info-tcl
19863 install-info-tcl: \
19864 configure-tcl \
19865 info-tcl
19866 @: $(MAKE); $(unstage)
19867 @[ -f ./tcl/Makefile ] || exit 0; \
19868 r=`${PWD_COMMAND}`; export r; \
19869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19870 $(HOST_EXPORTS) \
19871 for flag in $(EXTRA_HOST_FLAGS) ; do \
19872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19873 done; \
19874 echo "Doing install-info in tcl"; \
19875 (cd $(HOST_SUBDIR)/tcl && \
19876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19878 "RANLIB=$${RANLIB}" \
19879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19880 install-info) \
19881 || exit 1
19883 @endif tcl
19885 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
19886 maybe-install-pdf-tcl:
19887 @if tcl
19888 maybe-install-pdf-tcl: install-pdf-tcl
19890 install-pdf-tcl: \
19891 configure-tcl \
19892 pdf-tcl
19893 @: $(MAKE); $(unstage)
19894 @[ -f ./tcl/Makefile ] || exit 0; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 for flag in $(EXTRA_HOST_FLAGS) ; do \
19899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19900 done; \
19901 echo "Doing install-pdf in tcl"; \
19902 (cd $(HOST_SUBDIR)/tcl && \
19903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905 "RANLIB=$${RANLIB}" \
19906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19907 install-pdf) \
19908 || exit 1
19910 @endif tcl
19912 .PHONY: maybe-install-html-tcl install-html-tcl
19913 maybe-install-html-tcl:
19914 @if tcl
19915 maybe-install-html-tcl: install-html-tcl
19917 install-html-tcl: \
19918 configure-tcl \
19919 html-tcl
19920 @: $(MAKE); $(unstage)
19921 @[ -f ./tcl/Makefile ] || exit 0; \
19922 r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 $(HOST_EXPORTS) \
19925 for flag in $(EXTRA_HOST_FLAGS) ; do \
19926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19927 done; \
19928 echo "Doing install-html in tcl"; \
19929 (cd $(HOST_SUBDIR)/tcl && \
19930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19932 "RANLIB=$${RANLIB}" \
19933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19934 install-html) \
19935 || exit 1
19937 @endif tcl
19939 .PHONY: maybe-installcheck-tcl installcheck-tcl
19940 maybe-installcheck-tcl:
19941 @if tcl
19942 maybe-installcheck-tcl: installcheck-tcl
19944 installcheck-tcl: \
19945 configure-tcl
19946 @: $(MAKE); $(unstage)
19947 @[ -f ./tcl/Makefile ] || exit 0; \
19948 r=`${PWD_COMMAND}`; export r; \
19949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19950 $(HOST_EXPORTS) \
19951 for flag in $(EXTRA_HOST_FLAGS) ; do \
19952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19953 done; \
19954 echo "Doing installcheck in tcl"; \
19955 (cd $(HOST_SUBDIR)/tcl && \
19956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19958 "RANLIB=$${RANLIB}" \
19959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19960 installcheck) \
19961 || exit 1
19963 @endif tcl
19965 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
19966 maybe-mostlyclean-tcl:
19967 @if tcl
19968 maybe-mostlyclean-tcl: mostlyclean-tcl
19970 # tcl doesn't support mostlyclean.
19971 mostlyclean-tcl:
19973 @endif tcl
19975 .PHONY: maybe-clean-tcl clean-tcl
19976 maybe-clean-tcl:
19977 @if tcl
19978 maybe-clean-tcl: clean-tcl
19980 clean-tcl:
19981 @: $(MAKE); $(unstage)
19982 @[ -f ./tcl/Makefile ] || exit 0; \
19983 r=`${PWD_COMMAND}`; export r; \
19984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19985 $(HOST_EXPORTS) \
19986 for flag in $(EXTRA_HOST_FLAGS) ; do \
19987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19988 done; \
19989 echo "Doing clean in tcl"; \
19990 (cd $(HOST_SUBDIR)/tcl && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993 "RANLIB=$${RANLIB}" \
19994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19995 clean) \
19996 || exit 1
19998 @endif tcl
20000 .PHONY: maybe-distclean-tcl distclean-tcl
20001 maybe-distclean-tcl:
20002 @if tcl
20003 maybe-distclean-tcl: distclean-tcl
20005 distclean-tcl:
20006 @: $(MAKE); $(unstage)
20007 @[ -f ./tcl/Makefile ] || exit 0; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 for flag in $(EXTRA_HOST_FLAGS) ; do \
20012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 done; \
20014 echo "Doing distclean in tcl"; \
20015 (cd $(HOST_SUBDIR)/tcl && \
20016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20018 "RANLIB=$${RANLIB}" \
20019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20020 distclean) \
20021 || exit 1
20023 @endif tcl
20025 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
20026 maybe-maintainer-clean-tcl:
20027 @if tcl
20028 maybe-maintainer-clean-tcl: maintainer-clean-tcl
20030 maintainer-clean-tcl:
20031 @: $(MAKE); $(unstage)
20032 @[ -f ./tcl/Makefile ] || exit 0; \
20033 r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 for flag in $(EXTRA_HOST_FLAGS) ; do \
20037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20038 done; \
20039 echo "Doing maintainer-clean in tcl"; \
20040 (cd $(HOST_SUBDIR)/tcl && \
20041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20043 "RANLIB=$${RANLIB}" \
20044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20045 maintainer-clean) \
20046 || exit 1
20048 @endif tcl
20052 .PHONY: configure-itcl maybe-configure-itcl
20053 maybe-configure-itcl:
20054 @if gcc-bootstrap
20055 configure-itcl: stage_current
20056 @endif gcc-bootstrap
20057 @if itcl
20058 maybe-configure-itcl: configure-itcl
20059 configure-itcl:
20060 @: $(MAKE); $(unstage)
20061 @r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
20064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
20065 $(HOST_EXPORTS) \
20066 echo Configuring in $(HOST_SUBDIR)/itcl; \
20067 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
20068 case $(srcdir) in \
20069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20070 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
20071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20072 esac; \
20073 module_srcdir=itcl; \
20074 $(SHELL) \
20075 $$s/$$module_srcdir/configure \
20076 --srcdir=$${topdir}/$$module_srcdir \
20077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20078 --target=${target_alias} \
20079 || exit 1
20080 @endif itcl
20086 .PHONY: all-itcl maybe-all-itcl
20087 maybe-all-itcl:
20088 @if gcc-bootstrap
20089 all-itcl: stage_current
20090 @endif gcc-bootstrap
20091 @if itcl
20092 TARGET-itcl=all
20093 maybe-all-itcl: all-itcl
20094 all-itcl: configure-itcl
20095 @: $(MAKE); $(unstage)
20096 @r=`${PWD_COMMAND}`; export r; \
20097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098 $(HOST_EXPORTS) \
20099 (cd $(HOST_SUBDIR)/itcl && \
20100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20101 $(TARGET-itcl))
20102 @endif itcl
20107 .PHONY: check-itcl maybe-check-itcl
20108 maybe-check-itcl:
20109 @if itcl
20110 maybe-check-itcl: check-itcl
20112 check-itcl:
20113 @: $(MAKE); $(unstage)
20114 @r=`${PWD_COMMAND}`; export r; \
20115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20116 $(HOST_EXPORTS) \
20117 (cd $(HOST_SUBDIR)/itcl && \
20118 $(MAKE) $(FLAGS_TO_PASS) check)
20120 @endif itcl
20122 .PHONY: install-itcl maybe-install-itcl
20123 maybe-install-itcl:
20124 @if itcl
20125 maybe-install-itcl: install-itcl
20127 install-itcl: installdirs
20128 @: $(MAKE); $(unstage)
20129 @r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(HOST_EXPORTS) \
20132 (cd $(HOST_SUBDIR)/itcl && \
20133 $(MAKE) $(FLAGS_TO_PASS) install)
20135 @endif itcl
20137 .PHONY: install-strip-itcl maybe-install-strip-itcl
20138 maybe-install-strip-itcl:
20139 @if itcl
20140 maybe-install-strip-itcl: install-strip-itcl
20142 install-strip-itcl: installdirs
20143 @: $(MAKE); $(unstage)
20144 @r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 (cd $(HOST_SUBDIR)/itcl && \
20148 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20150 @endif itcl
20152 # Other targets (info, dvi, pdf, etc.)
20154 .PHONY: maybe-info-itcl info-itcl
20155 maybe-info-itcl:
20156 @if itcl
20157 maybe-info-itcl: info-itcl
20159 info-itcl: \
20160 configure-itcl
20161 @: $(MAKE); $(unstage)
20162 @[ -f ./itcl/Makefile ] || exit 0; \
20163 r=`${PWD_COMMAND}`; export r; \
20164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20165 $(HOST_EXPORTS) \
20166 for flag in $(EXTRA_HOST_FLAGS) ; do \
20167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20168 done; \
20169 echo "Doing info in itcl"; \
20170 (cd $(HOST_SUBDIR)/itcl && \
20171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20173 "RANLIB=$${RANLIB}" \
20174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20175 info) \
20176 || exit 1
20178 @endif itcl
20180 .PHONY: maybe-dvi-itcl dvi-itcl
20181 maybe-dvi-itcl:
20182 @if itcl
20183 maybe-dvi-itcl: dvi-itcl
20185 dvi-itcl: \
20186 configure-itcl
20187 @: $(MAKE); $(unstage)
20188 @[ -f ./itcl/Makefile ] || exit 0; \
20189 r=`${PWD_COMMAND}`; export r; \
20190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20191 $(HOST_EXPORTS) \
20192 for flag in $(EXTRA_HOST_FLAGS) ; do \
20193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20194 done; \
20195 echo "Doing dvi in itcl"; \
20196 (cd $(HOST_SUBDIR)/itcl && \
20197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20199 "RANLIB=$${RANLIB}" \
20200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20201 dvi) \
20202 || exit 1
20204 @endif itcl
20206 .PHONY: maybe-pdf-itcl pdf-itcl
20207 maybe-pdf-itcl:
20208 @if itcl
20209 maybe-pdf-itcl: pdf-itcl
20211 pdf-itcl: \
20212 configure-itcl
20213 @: $(MAKE); $(unstage)
20214 @[ -f ./itcl/Makefile ] || exit 0; \
20215 r=`${PWD_COMMAND}`; export r; \
20216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20217 $(HOST_EXPORTS) \
20218 for flag in $(EXTRA_HOST_FLAGS) ; do \
20219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20220 done; \
20221 echo "Doing pdf in itcl"; \
20222 (cd $(HOST_SUBDIR)/itcl && \
20223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20225 "RANLIB=$${RANLIB}" \
20226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20227 pdf) \
20228 || exit 1
20230 @endif itcl
20232 .PHONY: maybe-html-itcl html-itcl
20233 maybe-html-itcl:
20234 @if itcl
20235 maybe-html-itcl: html-itcl
20237 html-itcl: \
20238 configure-itcl
20239 @: $(MAKE); $(unstage)
20240 @[ -f ./itcl/Makefile ] || exit 0; \
20241 r=`${PWD_COMMAND}`; export r; \
20242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20243 $(HOST_EXPORTS) \
20244 for flag in $(EXTRA_HOST_FLAGS) ; do \
20245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20246 done; \
20247 echo "Doing html in itcl"; \
20248 (cd $(HOST_SUBDIR)/itcl && \
20249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20251 "RANLIB=$${RANLIB}" \
20252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20253 html) \
20254 || exit 1
20256 @endif itcl
20258 .PHONY: maybe-TAGS-itcl TAGS-itcl
20259 maybe-TAGS-itcl:
20260 @if itcl
20261 maybe-TAGS-itcl: TAGS-itcl
20263 TAGS-itcl: \
20264 configure-itcl
20265 @: $(MAKE); $(unstage)
20266 @[ -f ./itcl/Makefile ] || exit 0; \
20267 r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 $(HOST_EXPORTS) \
20270 for flag in $(EXTRA_HOST_FLAGS) ; do \
20271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20272 done; \
20273 echo "Doing TAGS in itcl"; \
20274 (cd $(HOST_SUBDIR)/itcl && \
20275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20277 "RANLIB=$${RANLIB}" \
20278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20279 TAGS) \
20280 || exit 1
20282 @endif itcl
20284 .PHONY: maybe-install-info-itcl install-info-itcl
20285 maybe-install-info-itcl:
20286 @if itcl
20287 maybe-install-info-itcl: install-info-itcl
20289 install-info-itcl: \
20290 configure-itcl \
20291 info-itcl
20292 @: $(MAKE); $(unstage)
20293 @[ -f ./itcl/Makefile ] || exit 0; \
20294 r=`${PWD_COMMAND}`; export r; \
20295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20296 $(HOST_EXPORTS) \
20297 for flag in $(EXTRA_HOST_FLAGS) ; do \
20298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20299 done; \
20300 echo "Doing install-info in itcl"; \
20301 (cd $(HOST_SUBDIR)/itcl && \
20302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20304 "RANLIB=$${RANLIB}" \
20305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20306 install-info) \
20307 || exit 1
20309 @endif itcl
20311 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
20312 maybe-install-pdf-itcl:
20313 @if itcl
20314 maybe-install-pdf-itcl: install-pdf-itcl
20316 install-pdf-itcl: \
20317 configure-itcl \
20318 pdf-itcl
20319 @: $(MAKE); $(unstage)
20320 @[ -f ./itcl/Makefile ] || exit 0; \
20321 r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20323 $(HOST_EXPORTS) \
20324 for flag in $(EXTRA_HOST_FLAGS) ; do \
20325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20326 done; \
20327 echo "Doing install-pdf in itcl"; \
20328 (cd $(HOST_SUBDIR)/itcl && \
20329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20331 "RANLIB=$${RANLIB}" \
20332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20333 install-pdf) \
20334 || exit 1
20336 @endif itcl
20338 .PHONY: maybe-install-html-itcl install-html-itcl
20339 maybe-install-html-itcl:
20340 @if itcl
20341 maybe-install-html-itcl: install-html-itcl
20343 install-html-itcl: \
20344 configure-itcl \
20345 html-itcl
20346 @: $(MAKE); $(unstage)
20347 @[ -f ./itcl/Makefile ] || exit 0; \
20348 r=`${PWD_COMMAND}`; export r; \
20349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20350 $(HOST_EXPORTS) \
20351 for flag in $(EXTRA_HOST_FLAGS) ; do \
20352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20353 done; \
20354 echo "Doing install-html in itcl"; \
20355 (cd $(HOST_SUBDIR)/itcl && \
20356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20358 "RANLIB=$${RANLIB}" \
20359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20360 install-html) \
20361 || exit 1
20363 @endif itcl
20365 .PHONY: maybe-installcheck-itcl installcheck-itcl
20366 maybe-installcheck-itcl:
20367 @if itcl
20368 maybe-installcheck-itcl: installcheck-itcl
20370 installcheck-itcl: \
20371 configure-itcl
20372 @: $(MAKE); $(unstage)
20373 @[ -f ./itcl/Makefile ] || exit 0; \
20374 r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376 $(HOST_EXPORTS) \
20377 for flag in $(EXTRA_HOST_FLAGS) ; do \
20378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20379 done; \
20380 echo "Doing installcheck in itcl"; \
20381 (cd $(HOST_SUBDIR)/itcl && \
20382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20384 "RANLIB=$${RANLIB}" \
20385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20386 installcheck) \
20387 || exit 1
20389 @endif itcl
20391 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
20392 maybe-mostlyclean-itcl:
20393 @if itcl
20394 maybe-mostlyclean-itcl: mostlyclean-itcl
20396 mostlyclean-itcl:
20397 @: $(MAKE); $(unstage)
20398 @[ -f ./itcl/Makefile ] || exit 0; \
20399 r=`${PWD_COMMAND}`; export r; \
20400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20401 $(HOST_EXPORTS) \
20402 for flag in $(EXTRA_HOST_FLAGS) ; do \
20403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20404 done; \
20405 echo "Doing mostlyclean in itcl"; \
20406 (cd $(HOST_SUBDIR)/itcl && \
20407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20409 "RANLIB=$${RANLIB}" \
20410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20411 mostlyclean) \
20412 || exit 1
20414 @endif itcl
20416 .PHONY: maybe-clean-itcl clean-itcl
20417 maybe-clean-itcl:
20418 @if itcl
20419 maybe-clean-itcl: clean-itcl
20421 clean-itcl:
20422 @: $(MAKE); $(unstage)
20423 @[ -f ./itcl/Makefile ] || exit 0; \
20424 r=`${PWD_COMMAND}`; export r; \
20425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20426 $(HOST_EXPORTS) \
20427 for flag in $(EXTRA_HOST_FLAGS) ; do \
20428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20429 done; \
20430 echo "Doing clean in itcl"; \
20431 (cd $(HOST_SUBDIR)/itcl && \
20432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20434 "RANLIB=$${RANLIB}" \
20435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20436 clean) \
20437 || exit 1
20439 @endif itcl
20441 .PHONY: maybe-distclean-itcl distclean-itcl
20442 maybe-distclean-itcl:
20443 @if itcl
20444 maybe-distclean-itcl: distclean-itcl
20446 distclean-itcl:
20447 @: $(MAKE); $(unstage)
20448 @[ -f ./itcl/Makefile ] || exit 0; \
20449 r=`${PWD_COMMAND}`; export r; \
20450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20451 $(HOST_EXPORTS) \
20452 for flag in $(EXTRA_HOST_FLAGS) ; do \
20453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20454 done; \
20455 echo "Doing distclean in itcl"; \
20456 (cd $(HOST_SUBDIR)/itcl && \
20457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20459 "RANLIB=$${RANLIB}" \
20460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20461 distclean) \
20462 || exit 1
20464 @endif itcl
20466 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
20467 maybe-maintainer-clean-itcl:
20468 @if itcl
20469 maybe-maintainer-clean-itcl: maintainer-clean-itcl
20471 maintainer-clean-itcl:
20472 @: $(MAKE); $(unstage)
20473 @[ -f ./itcl/Makefile ] || exit 0; \
20474 r=`${PWD_COMMAND}`; export r; \
20475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20476 $(HOST_EXPORTS) \
20477 for flag in $(EXTRA_HOST_FLAGS) ; do \
20478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20479 done; \
20480 echo "Doing maintainer-clean in itcl"; \
20481 (cd $(HOST_SUBDIR)/itcl && \
20482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20484 "RANLIB=$${RANLIB}" \
20485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20486 maintainer-clean) \
20487 || exit 1
20489 @endif itcl
20493 .PHONY: configure-ld maybe-configure-ld
20494 maybe-configure-ld:
20495 @if gcc-bootstrap
20496 configure-ld: stage_current
20497 @endif gcc-bootstrap
20498 @if ld
20499 maybe-configure-ld: configure-ld
20500 configure-ld:
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20505 $(HOST_EXPORTS) \
20506 echo Configuring in $(HOST_SUBDIR)/ld; \
20507 cd "$(HOST_SUBDIR)/ld" || exit 1; \
20508 case $(srcdir) in \
20509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20510 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20512 esac; \
20513 module_srcdir=ld; \
20514 $(SHELL) \
20515 $$s/$$module_srcdir/configure \
20516 --srcdir=$${topdir}/$$module_srcdir \
20517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20518 --target=${target_alias} \
20519 || exit 1
20520 @endif ld
20524 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
20525 maybe-configure-stage1-ld:
20526 @if ld-bootstrap
20527 maybe-configure-stage1-ld: configure-stage1-ld
20528 configure-stage1-ld:
20529 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20530 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20531 @r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 TFLAGS="$(STAGE1_TFLAGS)"; \
20534 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20535 $(HOST_EXPORTS) \
20536 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20537 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20538 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20539 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
20540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20541 cd $(HOST_SUBDIR)/ld || exit 1; \
20542 case $(srcdir) in \
20543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20544 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20546 esac; \
20547 module_srcdir=ld; \
20548 $(SHELL) $$s/$$module_srcdir/configure \
20549 --srcdir=$${topdir}/$$module_srcdir \
20550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20551 --target=${target_alias} \
20553 $(STAGE1_CONFIGURE_FLAGS)
20554 @endif ld-bootstrap
20556 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
20557 maybe-configure-stage2-ld:
20558 @if ld-bootstrap
20559 maybe-configure-stage2-ld: configure-stage2-ld
20560 configure-stage2-ld:
20561 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20562 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20563 @r=`${PWD_COMMAND}`; export r; \
20564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20565 TFLAGS="$(STAGE2_TFLAGS)"; \
20566 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20567 $(HOST_EXPORTS) \
20568 $(POSTSTAGE1_HOST_EXPORTS) \
20569 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20570 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20571 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20572 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
20573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20574 cd $(HOST_SUBDIR)/ld || exit 1; \
20575 case $(srcdir) in \
20576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20577 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20579 esac; \
20580 module_srcdir=ld; \
20581 $(SHELL) $$s/$$module_srcdir/configure \
20582 --srcdir=$${topdir}/$$module_srcdir \
20583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20584 --target=${target_alias} \
20585 --with-build-libsubdir=$(HOST_SUBDIR) \
20586 $(STAGE2_CONFIGURE_FLAGS)
20587 @endif ld-bootstrap
20589 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
20590 maybe-configure-stage3-ld:
20591 @if ld-bootstrap
20592 maybe-configure-stage3-ld: configure-stage3-ld
20593 configure-stage3-ld:
20594 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20596 @r=`${PWD_COMMAND}`; export r; \
20597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20598 TFLAGS="$(STAGE3_TFLAGS)"; \
20599 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20600 $(HOST_EXPORTS) \
20601 $(POSTSTAGE1_HOST_EXPORTS) \
20602 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20603 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20604 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20605 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
20606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20607 cd $(HOST_SUBDIR)/ld || exit 1; \
20608 case $(srcdir) in \
20609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20610 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20612 esac; \
20613 module_srcdir=ld; \
20614 $(SHELL) $$s/$$module_srcdir/configure \
20615 --srcdir=$${topdir}/$$module_srcdir \
20616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20617 --target=${target_alias} \
20618 --with-build-libsubdir=$(HOST_SUBDIR) \
20619 $(STAGE3_CONFIGURE_FLAGS)
20620 @endif ld-bootstrap
20622 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
20623 maybe-configure-stage4-ld:
20624 @if ld-bootstrap
20625 maybe-configure-stage4-ld: configure-stage4-ld
20626 configure-stage4-ld:
20627 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20629 @r=`${PWD_COMMAND}`; export r; \
20630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20631 TFLAGS="$(STAGE4_TFLAGS)"; \
20632 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20633 $(HOST_EXPORTS) \
20634 $(POSTSTAGE1_HOST_EXPORTS) \
20635 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20636 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20637 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20638 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
20639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20640 cd $(HOST_SUBDIR)/ld || exit 1; \
20641 case $(srcdir) in \
20642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20643 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20645 esac; \
20646 module_srcdir=ld; \
20647 $(SHELL) $$s/$$module_srcdir/configure \
20648 --srcdir=$${topdir}/$$module_srcdir \
20649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20650 --target=${target_alias} \
20651 --with-build-libsubdir=$(HOST_SUBDIR) \
20652 $(STAGE4_CONFIGURE_FLAGS)
20653 @endif ld-bootstrap
20655 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
20656 maybe-configure-stageprofile-ld:
20657 @if ld-bootstrap
20658 maybe-configure-stageprofile-ld: configure-stageprofile-ld
20659 configure-stageprofile-ld:
20660 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20661 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20662 @r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20665 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20666 $(HOST_EXPORTS) \
20667 $(POSTSTAGE1_HOST_EXPORTS) \
20668 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20669 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20670 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20671 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
20672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20673 cd $(HOST_SUBDIR)/ld || exit 1; \
20674 case $(srcdir) in \
20675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20676 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20678 esac; \
20679 module_srcdir=ld; \
20680 $(SHELL) $$s/$$module_srcdir/configure \
20681 --srcdir=$${topdir}/$$module_srcdir \
20682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20683 --target=${target_alias} \
20684 --with-build-libsubdir=$(HOST_SUBDIR) \
20685 $(STAGEprofile_CONFIGURE_FLAGS)
20686 @endif ld-bootstrap
20688 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
20689 maybe-configure-stagefeedback-ld:
20690 @if ld-bootstrap
20691 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
20692 configure-stagefeedback-ld:
20693 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20695 @r=`${PWD_COMMAND}`; export r; \
20696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20697 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20698 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20699 $(HOST_EXPORTS) \
20700 $(POSTSTAGE1_HOST_EXPORTS) \
20701 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20702 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20703 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20704 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
20705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20706 cd $(HOST_SUBDIR)/ld || exit 1; \
20707 case $(srcdir) in \
20708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20709 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20711 esac; \
20712 module_srcdir=ld; \
20713 $(SHELL) $$s/$$module_srcdir/configure \
20714 --srcdir=$${topdir}/$$module_srcdir \
20715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20716 --target=${target_alias} \
20717 --with-build-libsubdir=$(HOST_SUBDIR) \
20718 $(STAGEfeedback_CONFIGURE_FLAGS)
20719 @endif ld-bootstrap
20721 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
20722 maybe-configure-stageautoprofile-ld:
20723 @if ld-bootstrap
20724 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
20725 configure-stageautoprofile-ld:
20726 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20728 @r=`${PWD_COMMAND}`; export r; \
20729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20730 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20731 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20732 $(HOST_EXPORTS) \
20733 $(POSTSTAGE1_HOST_EXPORTS) \
20734 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20735 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20736 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20737 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
20738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20739 cd $(HOST_SUBDIR)/ld || exit 1; \
20740 case $(srcdir) in \
20741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20742 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20744 esac; \
20745 module_srcdir=ld; \
20746 $(SHELL) $$s/$$module_srcdir/configure \
20747 --srcdir=$${topdir}/$$module_srcdir \
20748 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20749 --target=${target_alias} \
20750 --with-build-libsubdir=$(HOST_SUBDIR) \
20751 $(STAGEautoprofile_CONFIGURE_FLAGS)
20752 @endif ld-bootstrap
20754 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
20755 maybe-configure-stageautofeedback-ld:
20756 @if ld-bootstrap
20757 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
20758 configure-stageautofeedback-ld:
20759 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20761 @r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20764 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20765 $(HOST_EXPORTS) \
20766 $(POSTSTAGE1_HOST_EXPORTS) \
20767 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20768 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20769 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20770 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
20771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20772 cd $(HOST_SUBDIR)/ld || exit 1; \
20773 case $(srcdir) in \
20774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20775 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20777 esac; \
20778 module_srcdir=ld; \
20779 $(SHELL) $$s/$$module_srcdir/configure \
20780 --srcdir=$${topdir}/$$module_srcdir \
20781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20782 --target=${target_alias} \
20783 --with-build-libsubdir=$(HOST_SUBDIR) \
20784 $(STAGEautofeedback_CONFIGURE_FLAGS)
20785 @endif ld-bootstrap
20791 .PHONY: all-ld maybe-all-ld
20792 maybe-all-ld:
20793 @if gcc-bootstrap
20794 all-ld: stage_current
20795 @endif gcc-bootstrap
20796 @if ld
20797 TARGET-ld=all
20798 maybe-all-ld: all-ld
20799 all-ld: configure-ld
20800 @r=`${PWD_COMMAND}`; export r; \
20801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20802 $(HOST_EXPORTS) \
20803 (cd $(HOST_SUBDIR)/ld && \
20804 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20805 $(TARGET-ld))
20806 @endif ld
20810 .PHONY: all-stage1-ld maybe-all-stage1-ld
20811 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
20812 maybe-all-stage1-ld:
20813 maybe-clean-stage1-ld:
20814 @if ld-bootstrap
20815 maybe-all-stage1-ld: all-stage1-ld
20816 all-stage1: all-stage1-ld
20817 TARGET-stage1-ld = $(TARGET-ld)
20818 all-stage1-ld: configure-stage1-ld
20819 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20820 @r=`${PWD_COMMAND}`; export r; \
20821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20822 TFLAGS="$(STAGE1_TFLAGS)"; \
20823 $(HOST_EXPORTS) \
20824 cd $(HOST_SUBDIR)/ld && \
20826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20827 CFLAGS="$(STAGE1_CFLAGS)" \
20828 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20829 LIBCFLAGS="$(LIBCFLAGS)" \
20830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20833 $(EXTRA_HOST_FLAGS) \
20834 $(STAGE1_FLAGS_TO_PASS) \
20835 TFLAGS="$(STAGE1_TFLAGS)" \
20836 $(TARGET-stage1-ld)
20838 maybe-clean-stage1-ld: clean-stage1-ld
20839 clean-stage1: clean-stage1-ld
20840 clean-stage1-ld:
20841 @if [ $(current_stage) = stage1 ]; then \
20842 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20843 else \
20844 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
20845 $(MAKE) stage1-start; \
20846 fi; \
20847 cd $(HOST_SUBDIR)/ld && \
20848 $(MAKE) $(EXTRA_HOST_FLAGS) \
20849 $(STAGE1_FLAGS_TO_PASS) clean
20850 @endif ld-bootstrap
20853 .PHONY: all-stage2-ld maybe-all-stage2-ld
20854 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
20855 maybe-all-stage2-ld:
20856 maybe-clean-stage2-ld:
20857 @if ld-bootstrap
20858 maybe-all-stage2-ld: all-stage2-ld
20859 all-stage2: all-stage2-ld
20860 TARGET-stage2-ld = $(TARGET-ld)
20861 all-stage2-ld: configure-stage2-ld
20862 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20863 @r=`${PWD_COMMAND}`; export r; \
20864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20865 TFLAGS="$(STAGE2_TFLAGS)"; \
20866 $(HOST_EXPORTS) \
20867 $(POSTSTAGE1_HOST_EXPORTS) \
20868 cd $(HOST_SUBDIR)/ld && \
20870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20871 CFLAGS="$(STAGE2_CFLAGS)" \
20872 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20873 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20877 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20878 TFLAGS="$(STAGE2_TFLAGS)" \
20879 $(TARGET-stage2-ld)
20881 maybe-clean-stage2-ld: clean-stage2-ld
20882 clean-stage2: clean-stage2-ld
20883 clean-stage2-ld:
20884 @if [ $(current_stage) = stage2 ]; then \
20885 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20886 else \
20887 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
20888 $(MAKE) stage2-start; \
20889 fi; \
20890 cd $(HOST_SUBDIR)/ld && \
20891 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20892 @endif ld-bootstrap
20895 .PHONY: all-stage3-ld maybe-all-stage3-ld
20896 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
20897 maybe-all-stage3-ld:
20898 maybe-clean-stage3-ld:
20899 @if ld-bootstrap
20900 maybe-all-stage3-ld: all-stage3-ld
20901 all-stage3: all-stage3-ld
20902 TARGET-stage3-ld = $(TARGET-ld)
20903 all-stage3-ld: configure-stage3-ld
20904 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20905 @r=`${PWD_COMMAND}`; export r; \
20906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20907 TFLAGS="$(STAGE3_TFLAGS)"; \
20908 $(HOST_EXPORTS) \
20909 $(POSTSTAGE1_HOST_EXPORTS) \
20910 cd $(HOST_SUBDIR)/ld && \
20912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20913 CFLAGS="$(STAGE3_CFLAGS)" \
20914 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20915 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20920 TFLAGS="$(STAGE3_TFLAGS)" \
20921 $(TARGET-stage3-ld)
20923 maybe-clean-stage3-ld: clean-stage3-ld
20924 clean-stage3: clean-stage3-ld
20925 clean-stage3-ld:
20926 @if [ $(current_stage) = stage3 ]; then \
20927 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20928 else \
20929 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
20930 $(MAKE) stage3-start; \
20931 fi; \
20932 cd $(HOST_SUBDIR)/ld && \
20933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20934 @endif ld-bootstrap
20937 .PHONY: all-stage4-ld maybe-all-stage4-ld
20938 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
20939 maybe-all-stage4-ld:
20940 maybe-clean-stage4-ld:
20941 @if ld-bootstrap
20942 maybe-all-stage4-ld: all-stage4-ld
20943 all-stage4: all-stage4-ld
20944 TARGET-stage4-ld = $(TARGET-ld)
20945 all-stage4-ld: configure-stage4-ld
20946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20947 @r=`${PWD_COMMAND}`; export r; \
20948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 TFLAGS="$(STAGE4_TFLAGS)"; \
20950 $(HOST_EXPORTS) \
20951 $(POSTSTAGE1_HOST_EXPORTS) \
20952 cd $(HOST_SUBDIR)/ld && \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20955 CFLAGS="$(STAGE4_CFLAGS)" \
20956 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20957 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20962 TFLAGS="$(STAGE4_TFLAGS)" \
20963 $(TARGET-stage4-ld)
20965 maybe-clean-stage4-ld: clean-stage4-ld
20966 clean-stage4: clean-stage4-ld
20967 clean-stage4-ld:
20968 @if [ $(current_stage) = stage4 ]; then \
20969 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20970 else \
20971 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
20972 $(MAKE) stage4-start; \
20973 fi; \
20974 cd $(HOST_SUBDIR)/ld && \
20975 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20976 @endif ld-bootstrap
20979 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
20980 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
20981 maybe-all-stageprofile-ld:
20982 maybe-clean-stageprofile-ld:
20983 @if ld-bootstrap
20984 maybe-all-stageprofile-ld: all-stageprofile-ld
20985 all-stageprofile: all-stageprofile-ld
20986 TARGET-stageprofile-ld = $(TARGET-ld)
20987 all-stageprofile-ld: configure-stageprofile-ld
20988 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20989 @r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20992 $(HOST_EXPORTS) \
20993 $(POSTSTAGE1_HOST_EXPORTS) \
20994 cd $(HOST_SUBDIR)/ld && \
20996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20997 CFLAGS="$(STAGEprofile_CFLAGS)" \
20998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20999 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21004 TFLAGS="$(STAGEprofile_TFLAGS)" \
21005 $(TARGET-stageprofile-ld)
21007 maybe-clean-stageprofile-ld: clean-stageprofile-ld
21008 clean-stageprofile: clean-stageprofile-ld
21009 clean-stageprofile-ld:
21010 @if [ $(current_stage) = stageprofile ]; then \
21011 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21012 else \
21013 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
21014 $(MAKE) stageprofile-start; \
21015 fi; \
21016 cd $(HOST_SUBDIR)/ld && \
21017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21018 @endif ld-bootstrap
21021 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
21022 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
21023 maybe-all-stagefeedback-ld:
21024 maybe-clean-stagefeedback-ld:
21025 @if ld-bootstrap
21026 maybe-all-stagefeedback-ld: all-stagefeedback-ld
21027 all-stagefeedback: all-stagefeedback-ld
21028 TARGET-stagefeedback-ld = $(TARGET-ld)
21029 all-stagefeedback-ld: configure-stagefeedback-ld
21030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21031 @r=`${PWD_COMMAND}`; export r; \
21032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21033 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21034 $(HOST_EXPORTS) \
21035 $(POSTSTAGE1_HOST_EXPORTS) \
21036 cd $(HOST_SUBDIR)/ld && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21039 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21040 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21041 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21046 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21047 $(TARGET-stagefeedback-ld)
21049 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
21050 clean-stagefeedback: clean-stagefeedback-ld
21051 clean-stagefeedback-ld:
21052 @if [ $(current_stage) = stagefeedback ]; then \
21053 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21054 else \
21055 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
21056 $(MAKE) stagefeedback-start; \
21057 fi; \
21058 cd $(HOST_SUBDIR)/ld && \
21059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21060 @endif ld-bootstrap
21063 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
21064 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
21065 maybe-all-stageautoprofile-ld:
21066 maybe-clean-stageautoprofile-ld:
21067 @if ld-bootstrap
21068 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
21069 all-stageautoprofile: all-stageautoprofile-ld
21070 TARGET-stageautoprofile-ld = $(TARGET-ld)
21071 all-stageautoprofile-ld: configure-stageautoprofile-ld
21072 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21073 @r=`${PWD_COMMAND}`; export r; \
21074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21075 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21076 $(HOST_EXPORTS) \
21077 $(POSTSTAGE1_HOST_EXPORTS) \
21078 cd $(HOST_SUBDIR)/ld && \
21079 $$s/gcc/config/i386/$(AUTO_PROFILE) \
21080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21081 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
21082 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
21083 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
21084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21088 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
21089 $(TARGET-stageautoprofile-ld)
21091 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
21092 clean-stageautoprofile: clean-stageautoprofile-ld
21093 clean-stageautoprofile-ld:
21094 @if [ $(current_stage) = stageautoprofile ]; then \
21095 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21096 else \
21097 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
21098 $(MAKE) stageautoprofile-start; \
21099 fi; \
21100 cd $(HOST_SUBDIR)/ld && \
21101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21102 @endif ld-bootstrap
21105 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
21106 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
21107 maybe-all-stageautofeedback-ld:
21108 maybe-clean-stageautofeedback-ld:
21109 @if ld-bootstrap
21110 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
21111 all-stageautofeedback: all-stageautofeedback-ld
21112 TARGET-stageautofeedback-ld = $(TARGET-ld)
21113 all-stageautofeedback-ld: configure-stageautofeedback-ld
21114 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21115 @r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21118 $(HOST_EXPORTS) \
21119 $(POSTSTAGE1_HOST_EXPORTS) \
21120 cd $(HOST_SUBDIR)/ld && \
21122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21123 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
21124 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
21125 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
21126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21129 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21130 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
21131 $(TARGET-stageautofeedback-ld)
21133 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
21134 clean-stageautofeedback: clean-stageautofeedback-ld
21135 clean-stageautofeedback-ld:
21136 @if [ $(current_stage) = stageautofeedback ]; then \
21137 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21138 else \
21139 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
21140 $(MAKE) stageautofeedback-start; \
21141 fi; \
21142 cd $(HOST_SUBDIR)/ld && \
21143 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21144 @endif ld-bootstrap
21150 .PHONY: check-ld maybe-check-ld
21151 maybe-check-ld:
21152 @if ld
21153 maybe-check-ld: check-ld
21155 check-ld:
21156 @: $(MAKE); $(unstage)
21157 @r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21160 (cd $(HOST_SUBDIR)/ld && \
21161 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21163 @endif ld
21165 .PHONY: install-ld maybe-install-ld
21166 maybe-install-ld:
21167 @if ld
21168 maybe-install-ld: install-ld
21170 install-ld: installdirs
21171 @: $(MAKE); $(unstage)
21172 @r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 (cd $(HOST_SUBDIR)/ld && \
21176 $(MAKE) $(FLAGS_TO_PASS) install)
21178 @endif ld
21180 .PHONY: install-strip-ld maybe-install-strip-ld
21181 maybe-install-strip-ld:
21182 @if ld
21183 maybe-install-strip-ld: install-strip-ld
21185 install-strip-ld: installdirs
21186 @: $(MAKE); $(unstage)
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) \
21190 (cd $(HOST_SUBDIR)/ld && \
21191 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21193 @endif ld
21195 # Other targets (info, dvi, pdf, etc.)
21197 .PHONY: maybe-info-ld info-ld
21198 maybe-info-ld:
21199 @if ld
21200 maybe-info-ld: info-ld
21202 info-ld: \
21203 configure-ld
21204 @[ -f ./ld/Makefile ] || exit 0; \
21205 r=`${PWD_COMMAND}`; export r; \
21206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21207 $(HOST_EXPORTS) \
21208 for flag in $(EXTRA_HOST_FLAGS) ; do \
21209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21210 done; \
21211 echo "Doing info in ld"; \
21212 (cd $(HOST_SUBDIR)/ld && \
21213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21215 "RANLIB=$${RANLIB}" \
21216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21217 info) \
21218 || exit 1
21220 @endif ld
21222 .PHONY: maybe-dvi-ld dvi-ld
21223 maybe-dvi-ld:
21224 @if ld
21225 maybe-dvi-ld: dvi-ld
21227 dvi-ld: \
21228 configure-ld
21229 @[ -f ./ld/Makefile ] || exit 0; \
21230 r=`${PWD_COMMAND}`; export r; \
21231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21232 $(HOST_EXPORTS) \
21233 for flag in $(EXTRA_HOST_FLAGS) ; do \
21234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21235 done; \
21236 echo "Doing dvi in ld"; \
21237 (cd $(HOST_SUBDIR)/ld && \
21238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21240 "RANLIB=$${RANLIB}" \
21241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21242 dvi) \
21243 || exit 1
21245 @endif ld
21247 .PHONY: maybe-pdf-ld pdf-ld
21248 maybe-pdf-ld:
21249 @if ld
21250 maybe-pdf-ld: pdf-ld
21252 pdf-ld: \
21253 configure-ld
21254 @[ -f ./ld/Makefile ] || exit 0; \
21255 r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 $(HOST_EXPORTS) \
21258 for flag in $(EXTRA_HOST_FLAGS) ; do \
21259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21260 done; \
21261 echo "Doing pdf in ld"; \
21262 (cd $(HOST_SUBDIR)/ld && \
21263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265 "RANLIB=$${RANLIB}" \
21266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21267 pdf) \
21268 || exit 1
21270 @endif ld
21272 .PHONY: maybe-html-ld html-ld
21273 maybe-html-ld:
21274 @if ld
21275 maybe-html-ld: html-ld
21277 html-ld: \
21278 configure-ld
21279 @[ -f ./ld/Makefile ] || exit 0; \
21280 r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282 $(HOST_EXPORTS) \
21283 for flag in $(EXTRA_HOST_FLAGS) ; do \
21284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285 done; \
21286 echo "Doing html in ld"; \
21287 (cd $(HOST_SUBDIR)/ld && \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290 "RANLIB=$${RANLIB}" \
21291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21292 html) \
21293 || exit 1
21295 @endif ld
21297 .PHONY: maybe-TAGS-ld TAGS-ld
21298 maybe-TAGS-ld:
21299 @if ld
21300 maybe-TAGS-ld: TAGS-ld
21302 TAGS-ld: \
21303 configure-ld
21304 @[ -f ./ld/Makefile ] || exit 0; \
21305 r=`${PWD_COMMAND}`; export r; \
21306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21307 $(HOST_EXPORTS) \
21308 for flag in $(EXTRA_HOST_FLAGS) ; do \
21309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21310 done; \
21311 echo "Doing TAGS in ld"; \
21312 (cd $(HOST_SUBDIR)/ld && \
21313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21315 "RANLIB=$${RANLIB}" \
21316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21317 TAGS) \
21318 || exit 1
21320 @endif ld
21322 .PHONY: maybe-install-info-ld install-info-ld
21323 maybe-install-info-ld:
21324 @if ld
21325 maybe-install-info-ld: install-info-ld
21327 install-info-ld: \
21328 configure-ld \
21329 info-ld
21330 @[ -f ./ld/Makefile ] || exit 0; \
21331 r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 $(HOST_EXPORTS) \
21334 for flag in $(EXTRA_HOST_FLAGS) ; do \
21335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21336 done; \
21337 echo "Doing install-info in ld"; \
21338 (cd $(HOST_SUBDIR)/ld && \
21339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21341 "RANLIB=$${RANLIB}" \
21342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21343 install-info) \
21344 || exit 1
21346 @endif ld
21348 .PHONY: maybe-install-pdf-ld install-pdf-ld
21349 maybe-install-pdf-ld:
21350 @if ld
21351 maybe-install-pdf-ld: install-pdf-ld
21353 install-pdf-ld: \
21354 configure-ld \
21355 pdf-ld
21356 @[ -f ./ld/Makefile ] || exit 0; \
21357 r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 $(HOST_EXPORTS) \
21360 for flag in $(EXTRA_HOST_FLAGS) ; do \
21361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21362 done; \
21363 echo "Doing install-pdf in ld"; \
21364 (cd $(HOST_SUBDIR)/ld && \
21365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21367 "RANLIB=$${RANLIB}" \
21368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21369 install-pdf) \
21370 || exit 1
21372 @endif ld
21374 .PHONY: maybe-install-html-ld install-html-ld
21375 maybe-install-html-ld:
21376 @if ld
21377 maybe-install-html-ld: install-html-ld
21379 install-html-ld: \
21380 configure-ld \
21381 html-ld
21382 @[ -f ./ld/Makefile ] || exit 0; \
21383 r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 $(HOST_EXPORTS) \
21386 for flag in $(EXTRA_HOST_FLAGS) ; do \
21387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21388 done; \
21389 echo "Doing install-html in ld"; \
21390 (cd $(HOST_SUBDIR)/ld && \
21391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21393 "RANLIB=$${RANLIB}" \
21394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21395 install-html) \
21396 || exit 1
21398 @endif ld
21400 .PHONY: maybe-installcheck-ld installcheck-ld
21401 maybe-installcheck-ld:
21402 @if ld
21403 maybe-installcheck-ld: installcheck-ld
21405 installcheck-ld: \
21406 configure-ld
21407 @[ -f ./ld/Makefile ] || exit 0; \
21408 r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(HOST_EXPORTS) \
21411 for flag in $(EXTRA_HOST_FLAGS) ; do \
21412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21413 done; \
21414 echo "Doing installcheck in ld"; \
21415 (cd $(HOST_SUBDIR)/ld && \
21416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21418 "RANLIB=$${RANLIB}" \
21419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21420 installcheck) \
21421 || exit 1
21423 @endif ld
21425 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
21426 maybe-mostlyclean-ld:
21427 @if ld
21428 maybe-mostlyclean-ld: mostlyclean-ld
21430 mostlyclean-ld:
21431 @[ -f ./ld/Makefile ] || exit 0; \
21432 r=`${PWD_COMMAND}`; export r; \
21433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 $(HOST_EXPORTS) \
21435 for flag in $(EXTRA_HOST_FLAGS) ; do \
21436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21437 done; \
21438 echo "Doing mostlyclean in ld"; \
21439 (cd $(HOST_SUBDIR)/ld && \
21440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21442 "RANLIB=$${RANLIB}" \
21443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21444 mostlyclean) \
21445 || exit 1
21447 @endif ld
21449 .PHONY: maybe-clean-ld clean-ld
21450 maybe-clean-ld:
21451 @if ld
21452 maybe-clean-ld: clean-ld
21454 clean-ld:
21455 @[ -f ./ld/Makefile ] || exit 0; \
21456 r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 $(HOST_EXPORTS) \
21459 for flag in $(EXTRA_HOST_FLAGS) ; do \
21460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461 done; \
21462 echo "Doing clean in ld"; \
21463 (cd $(HOST_SUBDIR)/ld && \
21464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466 "RANLIB=$${RANLIB}" \
21467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21468 clean) \
21469 || exit 1
21471 @endif ld
21473 .PHONY: maybe-distclean-ld distclean-ld
21474 maybe-distclean-ld:
21475 @if ld
21476 maybe-distclean-ld: distclean-ld
21478 distclean-ld:
21479 @[ -f ./ld/Makefile ] || exit 0; \
21480 r=`${PWD_COMMAND}`; export r; \
21481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21482 $(HOST_EXPORTS) \
21483 for flag in $(EXTRA_HOST_FLAGS) ; do \
21484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21485 done; \
21486 echo "Doing distclean in ld"; \
21487 (cd $(HOST_SUBDIR)/ld && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21490 "RANLIB=$${RANLIB}" \
21491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21492 distclean) \
21493 || exit 1
21495 @endif ld
21497 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
21498 maybe-maintainer-clean-ld:
21499 @if ld
21500 maybe-maintainer-clean-ld: maintainer-clean-ld
21502 maintainer-clean-ld:
21503 @[ -f ./ld/Makefile ] || exit 0; \
21504 r=`${PWD_COMMAND}`; export r; \
21505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 $(HOST_EXPORTS) \
21507 for flag in $(EXTRA_HOST_FLAGS) ; do \
21508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509 done; \
21510 echo "Doing maintainer-clean in ld"; \
21511 (cd $(HOST_SUBDIR)/ld && \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21514 "RANLIB=$${RANLIB}" \
21515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21516 maintainer-clean) \
21517 || exit 1
21519 @endif ld
21523 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
21524 maybe-configure-libbacktrace:
21525 @if gcc-bootstrap
21526 configure-libbacktrace: stage_current
21527 @endif gcc-bootstrap
21528 @if libbacktrace
21529 maybe-configure-libbacktrace: configure-libbacktrace
21530 configure-libbacktrace:
21531 @r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21535 $(HOST_EXPORTS) \
21536 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
21537 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
21538 case $(srcdir) in \
21539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21540 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21542 esac; \
21543 module_srcdir=libbacktrace; \
21544 $(SHELL) \
21545 $$s/$$module_srcdir/configure \
21546 --srcdir=$${topdir}/$$module_srcdir \
21547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21548 --target=${target_alias} \
21549 || exit 1
21550 @endif libbacktrace
21554 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
21555 maybe-configure-stage1-libbacktrace:
21556 @if libbacktrace-bootstrap
21557 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
21558 configure-stage1-libbacktrace:
21559 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21561 @r=`${PWD_COMMAND}`; export r; \
21562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21563 TFLAGS="$(STAGE1_TFLAGS)"; \
21564 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21565 $(HOST_EXPORTS) \
21566 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21567 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21568 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21569 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
21570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21571 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21572 case $(srcdir) in \
21573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21574 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21576 esac; \
21577 module_srcdir=libbacktrace; \
21578 $(SHELL) $$s/$$module_srcdir/configure \
21579 --srcdir=$${topdir}/$$module_srcdir \
21580 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21581 --target=${target_alias} \
21583 $(STAGE1_CONFIGURE_FLAGS)
21584 @endif libbacktrace-bootstrap
21586 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
21587 maybe-configure-stage2-libbacktrace:
21588 @if libbacktrace-bootstrap
21589 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
21590 configure-stage2-libbacktrace:
21591 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21592 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21593 @r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 TFLAGS="$(STAGE2_TFLAGS)"; \
21596 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21597 $(HOST_EXPORTS) \
21598 $(POSTSTAGE1_HOST_EXPORTS) \
21599 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21600 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21601 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21602 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
21603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21604 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21605 case $(srcdir) in \
21606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21607 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21609 esac; \
21610 module_srcdir=libbacktrace; \
21611 $(SHELL) $$s/$$module_srcdir/configure \
21612 --srcdir=$${topdir}/$$module_srcdir \
21613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21614 --target=${target_alias} \
21615 --with-build-libsubdir=$(HOST_SUBDIR) \
21616 $(STAGE2_CONFIGURE_FLAGS)
21617 @endif libbacktrace-bootstrap
21619 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
21620 maybe-configure-stage3-libbacktrace:
21621 @if libbacktrace-bootstrap
21622 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
21623 configure-stage3-libbacktrace:
21624 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21626 @r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 TFLAGS="$(STAGE3_TFLAGS)"; \
21629 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21630 $(HOST_EXPORTS) \
21631 $(POSTSTAGE1_HOST_EXPORTS) \
21632 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21633 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21634 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21635 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
21636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21637 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21638 case $(srcdir) in \
21639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21640 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21642 esac; \
21643 module_srcdir=libbacktrace; \
21644 $(SHELL) $$s/$$module_srcdir/configure \
21645 --srcdir=$${topdir}/$$module_srcdir \
21646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21647 --target=${target_alias} \
21648 --with-build-libsubdir=$(HOST_SUBDIR) \
21649 $(STAGE3_CONFIGURE_FLAGS)
21650 @endif libbacktrace-bootstrap
21652 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
21653 maybe-configure-stage4-libbacktrace:
21654 @if libbacktrace-bootstrap
21655 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
21656 configure-stage4-libbacktrace:
21657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21659 @r=`${PWD_COMMAND}`; export r; \
21660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21661 TFLAGS="$(STAGE4_TFLAGS)"; \
21662 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21663 $(HOST_EXPORTS) \
21664 $(POSTSTAGE1_HOST_EXPORTS) \
21665 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21666 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21667 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21668 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
21669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21670 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21671 case $(srcdir) in \
21672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21673 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21675 esac; \
21676 module_srcdir=libbacktrace; \
21677 $(SHELL) $$s/$$module_srcdir/configure \
21678 --srcdir=$${topdir}/$$module_srcdir \
21679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21680 --target=${target_alias} \
21681 --with-build-libsubdir=$(HOST_SUBDIR) \
21682 $(STAGE4_CONFIGURE_FLAGS)
21683 @endif libbacktrace-bootstrap
21685 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
21686 maybe-configure-stageprofile-libbacktrace:
21687 @if libbacktrace-bootstrap
21688 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
21689 configure-stageprofile-libbacktrace:
21690 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21692 @r=`${PWD_COMMAND}`; export r; \
21693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21694 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21695 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21696 $(HOST_EXPORTS) \
21697 $(POSTSTAGE1_HOST_EXPORTS) \
21698 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21699 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21700 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21701 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
21702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21703 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21704 case $(srcdir) in \
21705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21706 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21708 esac; \
21709 module_srcdir=libbacktrace; \
21710 $(SHELL) $$s/$$module_srcdir/configure \
21711 --srcdir=$${topdir}/$$module_srcdir \
21712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21713 --target=${target_alias} \
21714 --with-build-libsubdir=$(HOST_SUBDIR) \
21715 $(STAGEprofile_CONFIGURE_FLAGS)
21716 @endif libbacktrace-bootstrap
21718 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
21719 maybe-configure-stagefeedback-libbacktrace:
21720 @if libbacktrace-bootstrap
21721 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
21722 configure-stagefeedback-libbacktrace:
21723 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21725 @r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21728 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21729 $(HOST_EXPORTS) \
21730 $(POSTSTAGE1_HOST_EXPORTS) \
21731 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21734 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
21735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21736 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21737 case $(srcdir) in \
21738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21739 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21741 esac; \
21742 module_srcdir=libbacktrace; \
21743 $(SHELL) $$s/$$module_srcdir/configure \
21744 --srcdir=$${topdir}/$$module_srcdir \
21745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21746 --target=${target_alias} \
21747 --with-build-libsubdir=$(HOST_SUBDIR) \
21748 $(STAGEfeedback_CONFIGURE_FLAGS)
21749 @endif libbacktrace-bootstrap
21751 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
21752 maybe-configure-stageautoprofile-libbacktrace:
21753 @if libbacktrace-bootstrap
21754 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
21755 configure-stageautoprofile-libbacktrace:
21756 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21758 @r=`${PWD_COMMAND}`; export r; \
21759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21760 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21761 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21762 $(HOST_EXPORTS) \
21763 $(POSTSTAGE1_HOST_EXPORTS) \
21764 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21765 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21766 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21767 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
21768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21769 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21770 case $(srcdir) in \
21771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21772 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21774 esac; \
21775 module_srcdir=libbacktrace; \
21776 $(SHELL) $$s/$$module_srcdir/configure \
21777 --srcdir=$${topdir}/$$module_srcdir \
21778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21779 --target=${target_alias} \
21780 --with-build-libsubdir=$(HOST_SUBDIR) \
21781 $(STAGEautoprofile_CONFIGURE_FLAGS)
21782 @endif libbacktrace-bootstrap
21784 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
21785 maybe-configure-stageautofeedback-libbacktrace:
21786 @if libbacktrace-bootstrap
21787 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
21788 configure-stageautofeedback-libbacktrace:
21789 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21791 @r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21794 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21795 $(HOST_EXPORTS) \
21796 $(POSTSTAGE1_HOST_EXPORTS) \
21797 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21798 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21799 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21800 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
21801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21802 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21803 case $(srcdir) in \
21804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21805 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21807 esac; \
21808 module_srcdir=libbacktrace; \
21809 $(SHELL) $$s/$$module_srcdir/configure \
21810 --srcdir=$${topdir}/$$module_srcdir \
21811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21812 --target=${target_alias} \
21813 --with-build-libsubdir=$(HOST_SUBDIR) \
21814 $(STAGEautofeedback_CONFIGURE_FLAGS)
21815 @endif libbacktrace-bootstrap
21821 .PHONY: all-libbacktrace maybe-all-libbacktrace
21822 maybe-all-libbacktrace:
21823 @if gcc-bootstrap
21824 all-libbacktrace: stage_current
21825 @endif gcc-bootstrap
21826 @if libbacktrace
21827 TARGET-libbacktrace=all
21828 maybe-all-libbacktrace: all-libbacktrace
21829 all-libbacktrace: configure-libbacktrace
21830 @r=`${PWD_COMMAND}`; export r; \
21831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21832 $(HOST_EXPORTS) \
21833 (cd $(HOST_SUBDIR)/libbacktrace && \
21834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21835 $(TARGET-libbacktrace))
21836 @endif libbacktrace
21840 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
21841 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
21842 maybe-all-stage1-libbacktrace:
21843 maybe-clean-stage1-libbacktrace:
21844 @if libbacktrace-bootstrap
21845 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
21846 all-stage1: all-stage1-libbacktrace
21847 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
21848 all-stage1-libbacktrace: configure-stage1-libbacktrace
21849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21850 @r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 TFLAGS="$(STAGE1_TFLAGS)"; \
21853 $(HOST_EXPORTS) \
21854 cd $(HOST_SUBDIR)/libbacktrace && \
21856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21857 CFLAGS="$(STAGE1_CFLAGS)" \
21858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21859 LIBCFLAGS="$(LIBCFLAGS)" \
21860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21863 $(EXTRA_HOST_FLAGS) \
21864 $(STAGE1_FLAGS_TO_PASS) \
21865 TFLAGS="$(STAGE1_TFLAGS)" \
21866 $(TARGET-stage1-libbacktrace)
21868 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
21869 clean-stage1: clean-stage1-libbacktrace
21870 clean-stage1-libbacktrace:
21871 @if [ $(current_stage) = stage1 ]; then \
21872 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21873 else \
21874 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
21875 $(MAKE) stage1-start; \
21876 fi; \
21877 cd $(HOST_SUBDIR)/libbacktrace && \
21878 $(MAKE) $(EXTRA_HOST_FLAGS) \
21879 $(STAGE1_FLAGS_TO_PASS) clean
21880 @endif libbacktrace-bootstrap
21883 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
21884 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
21885 maybe-all-stage2-libbacktrace:
21886 maybe-clean-stage2-libbacktrace:
21887 @if libbacktrace-bootstrap
21888 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
21889 all-stage2: all-stage2-libbacktrace
21890 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
21891 all-stage2-libbacktrace: configure-stage2-libbacktrace
21892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21893 @r=`${PWD_COMMAND}`; export r; \
21894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21895 TFLAGS="$(STAGE2_TFLAGS)"; \
21896 $(HOST_EXPORTS) \
21897 $(POSTSTAGE1_HOST_EXPORTS) \
21898 cd $(HOST_SUBDIR)/libbacktrace && \
21900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21901 CFLAGS="$(STAGE2_CFLAGS)" \
21902 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21903 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21907 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21908 TFLAGS="$(STAGE2_TFLAGS)" \
21909 $(TARGET-stage2-libbacktrace)
21911 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
21912 clean-stage2: clean-stage2-libbacktrace
21913 clean-stage2-libbacktrace:
21914 @if [ $(current_stage) = stage2 ]; then \
21915 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21916 else \
21917 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
21918 $(MAKE) stage2-start; \
21919 fi; \
21920 cd $(HOST_SUBDIR)/libbacktrace && \
21921 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21922 @endif libbacktrace-bootstrap
21925 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
21926 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
21927 maybe-all-stage3-libbacktrace:
21928 maybe-clean-stage3-libbacktrace:
21929 @if libbacktrace-bootstrap
21930 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
21931 all-stage3: all-stage3-libbacktrace
21932 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
21933 all-stage3-libbacktrace: configure-stage3-libbacktrace
21934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21935 @r=`${PWD_COMMAND}`; export r; \
21936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21937 TFLAGS="$(STAGE3_TFLAGS)"; \
21938 $(HOST_EXPORTS) \
21939 $(POSTSTAGE1_HOST_EXPORTS) \
21940 cd $(HOST_SUBDIR)/libbacktrace && \
21942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21943 CFLAGS="$(STAGE3_CFLAGS)" \
21944 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21945 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21950 TFLAGS="$(STAGE3_TFLAGS)" \
21951 $(TARGET-stage3-libbacktrace)
21953 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
21954 clean-stage3: clean-stage3-libbacktrace
21955 clean-stage3-libbacktrace:
21956 @if [ $(current_stage) = stage3 ]; then \
21957 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21958 else \
21959 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
21960 $(MAKE) stage3-start; \
21961 fi; \
21962 cd $(HOST_SUBDIR)/libbacktrace && \
21963 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21964 @endif libbacktrace-bootstrap
21967 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
21968 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
21969 maybe-all-stage4-libbacktrace:
21970 maybe-clean-stage4-libbacktrace:
21971 @if libbacktrace-bootstrap
21972 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
21973 all-stage4: all-stage4-libbacktrace
21974 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
21975 all-stage4-libbacktrace: configure-stage4-libbacktrace
21976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21977 @r=`${PWD_COMMAND}`; export r; \
21978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21979 TFLAGS="$(STAGE4_TFLAGS)"; \
21980 $(HOST_EXPORTS) \
21981 $(POSTSTAGE1_HOST_EXPORTS) \
21982 cd $(HOST_SUBDIR)/libbacktrace && \
21984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21985 CFLAGS="$(STAGE4_CFLAGS)" \
21986 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21987 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21992 TFLAGS="$(STAGE4_TFLAGS)" \
21993 $(TARGET-stage4-libbacktrace)
21995 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
21996 clean-stage4: clean-stage4-libbacktrace
21997 clean-stage4-libbacktrace:
21998 @if [ $(current_stage) = stage4 ]; then \
21999 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22000 else \
22001 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
22002 $(MAKE) stage4-start; \
22003 fi; \
22004 cd $(HOST_SUBDIR)/libbacktrace && \
22005 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22006 @endif libbacktrace-bootstrap
22009 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
22010 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
22011 maybe-all-stageprofile-libbacktrace:
22012 maybe-clean-stageprofile-libbacktrace:
22013 @if libbacktrace-bootstrap
22014 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
22015 all-stageprofile: all-stageprofile-libbacktrace
22016 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
22017 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22019 @r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22022 $(HOST_EXPORTS) \
22023 $(POSTSTAGE1_HOST_EXPORTS) \
22024 cd $(HOST_SUBDIR)/libbacktrace && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22027 CFLAGS="$(STAGEprofile_CFLAGS)" \
22028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22029 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22034 TFLAGS="$(STAGEprofile_TFLAGS)" \
22035 $(TARGET-stageprofile-libbacktrace)
22037 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
22038 clean-stageprofile: clean-stageprofile-libbacktrace
22039 clean-stageprofile-libbacktrace:
22040 @if [ $(current_stage) = stageprofile ]; then \
22041 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22042 else \
22043 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
22044 $(MAKE) stageprofile-start; \
22045 fi; \
22046 cd $(HOST_SUBDIR)/libbacktrace && \
22047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22048 @endif libbacktrace-bootstrap
22051 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
22052 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
22053 maybe-all-stagefeedback-libbacktrace:
22054 maybe-clean-stagefeedback-libbacktrace:
22055 @if libbacktrace-bootstrap
22056 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
22057 all-stagefeedback: all-stagefeedback-libbacktrace
22058 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
22059 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22060 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22061 @r=`${PWD_COMMAND}`; export r; \
22062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22064 $(HOST_EXPORTS) \
22065 $(POSTSTAGE1_HOST_EXPORTS) \
22066 cd $(HOST_SUBDIR)/libbacktrace && \
22068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22069 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22070 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22071 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22076 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22077 $(TARGET-stagefeedback-libbacktrace)
22079 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
22080 clean-stagefeedback: clean-stagefeedback-libbacktrace
22081 clean-stagefeedback-libbacktrace:
22082 @if [ $(current_stage) = stagefeedback ]; then \
22083 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22084 else \
22085 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
22086 $(MAKE) stagefeedback-start; \
22087 fi; \
22088 cd $(HOST_SUBDIR)/libbacktrace && \
22089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22090 @endif libbacktrace-bootstrap
22093 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
22094 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
22095 maybe-all-stageautoprofile-libbacktrace:
22096 maybe-clean-stageautoprofile-libbacktrace:
22097 @if libbacktrace-bootstrap
22098 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
22099 all-stageautoprofile: all-stageautoprofile-libbacktrace
22100 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
22101 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22102 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22103 @r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22106 $(HOST_EXPORTS) \
22107 $(POSTSTAGE1_HOST_EXPORTS) \
22108 cd $(HOST_SUBDIR)/libbacktrace && \
22109 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22111 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22112 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22113 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22117 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22118 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22119 $(TARGET-stageautoprofile-libbacktrace)
22121 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
22122 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
22123 clean-stageautoprofile-libbacktrace:
22124 @if [ $(current_stage) = stageautoprofile ]; then \
22125 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22126 else \
22127 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
22128 $(MAKE) stageautoprofile-start; \
22129 fi; \
22130 cd $(HOST_SUBDIR)/libbacktrace && \
22131 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22132 @endif libbacktrace-bootstrap
22135 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
22136 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
22137 maybe-all-stageautofeedback-libbacktrace:
22138 maybe-clean-stageautofeedback-libbacktrace:
22139 @if libbacktrace-bootstrap
22140 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
22141 all-stageautofeedback: all-stageautofeedback-libbacktrace
22142 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
22143 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22144 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22145 @r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22148 $(HOST_EXPORTS) \
22149 $(POSTSTAGE1_HOST_EXPORTS) \
22150 cd $(HOST_SUBDIR)/libbacktrace && \
22152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22153 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22154 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22155 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22160 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22161 $(TARGET-stageautofeedback-libbacktrace)
22163 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
22164 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
22165 clean-stageautofeedback-libbacktrace:
22166 @if [ $(current_stage) = stageautofeedback ]; then \
22167 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22168 else \
22169 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
22170 $(MAKE) stageautofeedback-start; \
22171 fi; \
22172 cd $(HOST_SUBDIR)/libbacktrace && \
22173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22174 @endif libbacktrace-bootstrap
22180 .PHONY: check-libbacktrace maybe-check-libbacktrace
22181 maybe-check-libbacktrace:
22182 @if libbacktrace
22183 maybe-check-libbacktrace: check-libbacktrace
22185 check-libbacktrace:
22186 @: $(MAKE); $(unstage)
22187 @r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22189 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22190 (cd $(HOST_SUBDIR)/libbacktrace && \
22191 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22193 @endif libbacktrace
22195 .PHONY: install-libbacktrace maybe-install-libbacktrace
22196 maybe-install-libbacktrace:
22197 @if libbacktrace
22198 maybe-install-libbacktrace: install-libbacktrace
22200 install-libbacktrace: installdirs
22201 @: $(MAKE); $(unstage)
22202 @r=`${PWD_COMMAND}`; export r; \
22203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22204 $(HOST_EXPORTS) \
22205 (cd $(HOST_SUBDIR)/libbacktrace && \
22206 $(MAKE) $(FLAGS_TO_PASS) install)
22208 @endif libbacktrace
22210 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
22211 maybe-install-strip-libbacktrace:
22212 @if libbacktrace
22213 maybe-install-strip-libbacktrace: install-strip-libbacktrace
22215 install-strip-libbacktrace: installdirs
22216 @: $(MAKE); $(unstage)
22217 @r=`${PWD_COMMAND}`; export r; \
22218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 $(HOST_EXPORTS) \
22220 (cd $(HOST_SUBDIR)/libbacktrace && \
22221 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22223 @endif libbacktrace
22225 # Other targets (info, dvi, pdf, etc.)
22227 .PHONY: maybe-info-libbacktrace info-libbacktrace
22228 maybe-info-libbacktrace:
22229 @if libbacktrace
22230 maybe-info-libbacktrace: info-libbacktrace
22232 info-libbacktrace: \
22233 configure-libbacktrace
22234 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22235 r=`${PWD_COMMAND}`; export r; \
22236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22237 $(HOST_EXPORTS) \
22238 for flag in $(EXTRA_HOST_FLAGS) ; do \
22239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22240 done; \
22241 echo "Doing info in libbacktrace"; \
22242 (cd $(HOST_SUBDIR)/libbacktrace && \
22243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22245 "RANLIB=$${RANLIB}" \
22246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22247 info) \
22248 || exit 1
22250 @endif libbacktrace
22252 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
22253 maybe-dvi-libbacktrace:
22254 @if libbacktrace
22255 maybe-dvi-libbacktrace: dvi-libbacktrace
22257 dvi-libbacktrace: \
22258 configure-libbacktrace
22259 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22260 r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(HOST_EXPORTS) \
22263 for flag in $(EXTRA_HOST_FLAGS) ; do \
22264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22265 done; \
22266 echo "Doing dvi in libbacktrace"; \
22267 (cd $(HOST_SUBDIR)/libbacktrace && \
22268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22270 "RANLIB=$${RANLIB}" \
22271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22272 dvi) \
22273 || exit 1
22275 @endif libbacktrace
22277 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
22278 maybe-pdf-libbacktrace:
22279 @if libbacktrace
22280 maybe-pdf-libbacktrace: pdf-libbacktrace
22282 pdf-libbacktrace: \
22283 configure-libbacktrace
22284 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22285 r=`${PWD_COMMAND}`; export r; \
22286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22287 $(HOST_EXPORTS) \
22288 for flag in $(EXTRA_HOST_FLAGS) ; do \
22289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22290 done; \
22291 echo "Doing pdf in libbacktrace"; \
22292 (cd $(HOST_SUBDIR)/libbacktrace && \
22293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22295 "RANLIB=$${RANLIB}" \
22296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22297 pdf) \
22298 || exit 1
22300 @endif libbacktrace
22302 .PHONY: maybe-html-libbacktrace html-libbacktrace
22303 maybe-html-libbacktrace:
22304 @if libbacktrace
22305 maybe-html-libbacktrace: html-libbacktrace
22307 html-libbacktrace: \
22308 configure-libbacktrace
22309 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22312 $(HOST_EXPORTS) \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22315 done; \
22316 echo "Doing html in libbacktrace"; \
22317 (cd $(HOST_SUBDIR)/libbacktrace && \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22322 html) \
22323 || exit 1
22325 @endif libbacktrace
22327 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
22328 maybe-TAGS-libbacktrace:
22329 @if libbacktrace
22330 maybe-TAGS-libbacktrace: TAGS-libbacktrace
22332 TAGS-libbacktrace: \
22333 configure-libbacktrace
22334 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22335 r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 $(HOST_EXPORTS) \
22338 for flag in $(EXTRA_HOST_FLAGS) ; do \
22339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22340 done; \
22341 echo "Doing TAGS in libbacktrace"; \
22342 (cd $(HOST_SUBDIR)/libbacktrace && \
22343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22345 "RANLIB=$${RANLIB}" \
22346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22347 TAGS) \
22348 || exit 1
22350 @endif libbacktrace
22352 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
22353 maybe-install-info-libbacktrace:
22354 @if libbacktrace
22355 maybe-install-info-libbacktrace: install-info-libbacktrace
22357 install-info-libbacktrace: \
22358 configure-libbacktrace \
22359 info-libbacktrace
22360 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22361 r=`${PWD_COMMAND}`; export r; \
22362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22363 $(HOST_EXPORTS) \
22364 for flag in $(EXTRA_HOST_FLAGS) ; do \
22365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22366 done; \
22367 echo "Doing install-info in libbacktrace"; \
22368 (cd $(HOST_SUBDIR)/libbacktrace && \
22369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22371 "RANLIB=$${RANLIB}" \
22372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22373 install-info) \
22374 || exit 1
22376 @endif libbacktrace
22378 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
22379 maybe-install-pdf-libbacktrace:
22380 @if libbacktrace
22381 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
22383 install-pdf-libbacktrace: \
22384 configure-libbacktrace \
22385 pdf-libbacktrace
22386 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing install-pdf in libbacktrace"; \
22394 (cd $(HOST_SUBDIR)/libbacktrace && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22399 install-pdf) \
22400 || exit 1
22402 @endif libbacktrace
22404 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
22405 maybe-install-html-libbacktrace:
22406 @if libbacktrace
22407 maybe-install-html-libbacktrace: install-html-libbacktrace
22409 install-html-libbacktrace: \
22410 configure-libbacktrace \
22411 html-libbacktrace
22412 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22413 r=`${PWD_COMMAND}`; export r; \
22414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22415 $(HOST_EXPORTS) \
22416 for flag in $(EXTRA_HOST_FLAGS) ; do \
22417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22418 done; \
22419 echo "Doing install-html in libbacktrace"; \
22420 (cd $(HOST_SUBDIR)/libbacktrace && \
22421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22423 "RANLIB=$${RANLIB}" \
22424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22425 install-html) \
22426 || exit 1
22428 @endif libbacktrace
22430 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
22431 maybe-installcheck-libbacktrace:
22432 @if libbacktrace
22433 maybe-installcheck-libbacktrace: installcheck-libbacktrace
22435 installcheck-libbacktrace: \
22436 configure-libbacktrace
22437 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22438 r=`${PWD_COMMAND}`; export r; \
22439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22440 $(HOST_EXPORTS) \
22441 for flag in $(EXTRA_HOST_FLAGS) ; do \
22442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22443 done; \
22444 echo "Doing installcheck in libbacktrace"; \
22445 (cd $(HOST_SUBDIR)/libbacktrace && \
22446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22448 "RANLIB=$${RANLIB}" \
22449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22450 installcheck) \
22451 || exit 1
22453 @endif libbacktrace
22455 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
22456 maybe-mostlyclean-libbacktrace:
22457 @if libbacktrace
22458 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
22460 mostlyclean-libbacktrace:
22461 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22462 r=`${PWD_COMMAND}`; export r; \
22463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22464 $(HOST_EXPORTS) \
22465 for flag in $(EXTRA_HOST_FLAGS) ; do \
22466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22467 done; \
22468 echo "Doing mostlyclean in libbacktrace"; \
22469 (cd $(HOST_SUBDIR)/libbacktrace && \
22470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22472 "RANLIB=$${RANLIB}" \
22473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22474 mostlyclean) \
22475 || exit 1
22477 @endif libbacktrace
22479 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
22480 maybe-clean-libbacktrace:
22481 @if libbacktrace
22482 maybe-clean-libbacktrace: clean-libbacktrace
22484 clean-libbacktrace:
22485 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22486 r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22488 $(HOST_EXPORTS) \
22489 for flag in $(EXTRA_HOST_FLAGS) ; do \
22490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22491 done; \
22492 echo "Doing clean in libbacktrace"; \
22493 (cd $(HOST_SUBDIR)/libbacktrace && \
22494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22496 "RANLIB=$${RANLIB}" \
22497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22498 clean) \
22499 || exit 1
22501 @endif libbacktrace
22503 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
22504 maybe-distclean-libbacktrace:
22505 @if libbacktrace
22506 maybe-distclean-libbacktrace: distclean-libbacktrace
22508 distclean-libbacktrace:
22509 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22510 r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 $(HOST_EXPORTS) \
22513 for flag in $(EXTRA_HOST_FLAGS) ; do \
22514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22515 done; \
22516 echo "Doing distclean in libbacktrace"; \
22517 (cd $(HOST_SUBDIR)/libbacktrace && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22522 distclean) \
22523 || exit 1
22525 @endif libbacktrace
22527 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
22528 maybe-maintainer-clean-libbacktrace:
22529 @if libbacktrace
22530 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
22532 maintainer-clean-libbacktrace:
22533 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(HOST_EXPORTS) \
22537 for flag in $(EXTRA_HOST_FLAGS) ; do \
22538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22539 done; \
22540 echo "Doing maintainer-clean in libbacktrace"; \
22541 (cd $(HOST_SUBDIR)/libbacktrace && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22546 maintainer-clean) \
22547 || exit 1
22549 @endif libbacktrace
22553 .PHONY: configure-libcpp maybe-configure-libcpp
22554 maybe-configure-libcpp:
22555 @if gcc-bootstrap
22556 configure-libcpp: stage_current
22557 @endif gcc-bootstrap
22558 @if libcpp
22559 maybe-configure-libcpp: configure-libcpp
22560 configure-libcpp:
22561 @r=`${PWD_COMMAND}`; export r; \
22562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22563 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22565 $(HOST_EXPORTS) \
22566 echo Configuring in $(HOST_SUBDIR)/libcpp; \
22567 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
22568 case $(srcdir) in \
22569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22570 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22572 esac; \
22573 module_srcdir=libcpp; \
22574 $(SHELL) \
22575 $$s/$$module_srcdir/configure \
22576 --srcdir=$${topdir}/$$module_srcdir \
22577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22578 --target=${target_alias} \
22579 || exit 1
22580 @endif libcpp
22584 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
22585 maybe-configure-stage1-libcpp:
22586 @if libcpp-bootstrap
22587 maybe-configure-stage1-libcpp: configure-stage1-libcpp
22588 configure-stage1-libcpp:
22589 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22591 @r=`${PWD_COMMAND}`; export r; \
22592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 TFLAGS="$(STAGE1_TFLAGS)"; \
22594 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22595 $(HOST_EXPORTS) \
22596 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22597 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22598 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22599 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
22600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22601 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22602 case $(srcdir) in \
22603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22604 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22606 esac; \
22607 module_srcdir=libcpp; \
22608 $(SHELL) $$s/$$module_srcdir/configure \
22609 --srcdir=$${topdir}/$$module_srcdir \
22610 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22611 --target=${target_alias} \
22613 $(STAGE1_CONFIGURE_FLAGS)
22614 @endif libcpp-bootstrap
22616 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
22617 maybe-configure-stage2-libcpp:
22618 @if libcpp-bootstrap
22619 maybe-configure-stage2-libcpp: configure-stage2-libcpp
22620 configure-stage2-libcpp:
22621 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22623 @r=`${PWD_COMMAND}`; export r; \
22624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22625 TFLAGS="$(STAGE2_TFLAGS)"; \
22626 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22627 $(HOST_EXPORTS) \
22628 $(POSTSTAGE1_HOST_EXPORTS) \
22629 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22630 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22631 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22632 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
22633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22634 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22635 case $(srcdir) in \
22636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22637 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22639 esac; \
22640 module_srcdir=libcpp; \
22641 $(SHELL) $$s/$$module_srcdir/configure \
22642 --srcdir=$${topdir}/$$module_srcdir \
22643 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22644 --target=${target_alias} \
22645 --with-build-libsubdir=$(HOST_SUBDIR) \
22646 $(STAGE2_CONFIGURE_FLAGS)
22647 @endif libcpp-bootstrap
22649 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
22650 maybe-configure-stage3-libcpp:
22651 @if libcpp-bootstrap
22652 maybe-configure-stage3-libcpp: configure-stage3-libcpp
22653 configure-stage3-libcpp:
22654 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22656 @r=`${PWD_COMMAND}`; export r; \
22657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22658 TFLAGS="$(STAGE3_TFLAGS)"; \
22659 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22660 $(HOST_EXPORTS) \
22661 $(POSTSTAGE1_HOST_EXPORTS) \
22662 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22663 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22664 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22665 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
22666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22667 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22668 case $(srcdir) in \
22669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22670 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22672 esac; \
22673 module_srcdir=libcpp; \
22674 $(SHELL) $$s/$$module_srcdir/configure \
22675 --srcdir=$${topdir}/$$module_srcdir \
22676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22677 --target=${target_alias} \
22678 --with-build-libsubdir=$(HOST_SUBDIR) \
22679 $(STAGE3_CONFIGURE_FLAGS)
22680 @endif libcpp-bootstrap
22682 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
22683 maybe-configure-stage4-libcpp:
22684 @if libcpp-bootstrap
22685 maybe-configure-stage4-libcpp: configure-stage4-libcpp
22686 configure-stage4-libcpp:
22687 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22689 @r=`${PWD_COMMAND}`; export r; \
22690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22691 TFLAGS="$(STAGE4_TFLAGS)"; \
22692 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22693 $(HOST_EXPORTS) \
22694 $(POSTSTAGE1_HOST_EXPORTS) \
22695 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22696 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22697 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22698 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
22699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22700 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22701 case $(srcdir) in \
22702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22703 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22705 esac; \
22706 module_srcdir=libcpp; \
22707 $(SHELL) $$s/$$module_srcdir/configure \
22708 --srcdir=$${topdir}/$$module_srcdir \
22709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22710 --target=${target_alias} \
22711 --with-build-libsubdir=$(HOST_SUBDIR) \
22712 $(STAGE4_CONFIGURE_FLAGS)
22713 @endif libcpp-bootstrap
22715 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
22716 maybe-configure-stageprofile-libcpp:
22717 @if libcpp-bootstrap
22718 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
22719 configure-stageprofile-libcpp:
22720 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22722 @r=`${PWD_COMMAND}`; export r; \
22723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22725 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22726 $(HOST_EXPORTS) \
22727 $(POSTSTAGE1_HOST_EXPORTS) \
22728 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22729 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22730 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22731 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
22732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22733 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22734 case $(srcdir) in \
22735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22736 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22738 esac; \
22739 module_srcdir=libcpp; \
22740 $(SHELL) $$s/$$module_srcdir/configure \
22741 --srcdir=$${topdir}/$$module_srcdir \
22742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22743 --target=${target_alias} \
22744 --with-build-libsubdir=$(HOST_SUBDIR) \
22745 $(STAGEprofile_CONFIGURE_FLAGS)
22746 @endif libcpp-bootstrap
22748 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
22749 maybe-configure-stagefeedback-libcpp:
22750 @if libcpp-bootstrap
22751 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
22752 configure-stagefeedback-libcpp:
22753 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22755 @r=`${PWD_COMMAND}`; export r; \
22756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22757 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22758 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22759 $(HOST_EXPORTS) \
22760 $(POSTSTAGE1_HOST_EXPORTS) \
22761 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22762 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22763 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22764 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
22765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22766 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22767 case $(srcdir) in \
22768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22769 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22771 esac; \
22772 module_srcdir=libcpp; \
22773 $(SHELL) $$s/$$module_srcdir/configure \
22774 --srcdir=$${topdir}/$$module_srcdir \
22775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22776 --target=${target_alias} \
22777 --with-build-libsubdir=$(HOST_SUBDIR) \
22778 $(STAGEfeedback_CONFIGURE_FLAGS)
22779 @endif libcpp-bootstrap
22781 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
22782 maybe-configure-stageautoprofile-libcpp:
22783 @if libcpp-bootstrap
22784 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
22785 configure-stageautoprofile-libcpp:
22786 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22788 @r=`${PWD_COMMAND}`; export r; \
22789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22790 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22791 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22792 $(HOST_EXPORTS) \
22793 $(POSTSTAGE1_HOST_EXPORTS) \
22794 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22795 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22796 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22797 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
22798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22799 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22800 case $(srcdir) in \
22801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22802 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22804 esac; \
22805 module_srcdir=libcpp; \
22806 $(SHELL) $$s/$$module_srcdir/configure \
22807 --srcdir=$${topdir}/$$module_srcdir \
22808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22809 --target=${target_alias} \
22810 --with-build-libsubdir=$(HOST_SUBDIR) \
22811 $(STAGEautoprofile_CONFIGURE_FLAGS)
22812 @endif libcpp-bootstrap
22814 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
22815 maybe-configure-stageautofeedback-libcpp:
22816 @if libcpp-bootstrap
22817 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
22818 configure-stageautofeedback-libcpp:
22819 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22821 @r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22824 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22825 $(HOST_EXPORTS) \
22826 $(POSTSTAGE1_HOST_EXPORTS) \
22827 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22828 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22829 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22830 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
22831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22832 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22833 case $(srcdir) in \
22834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22835 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22837 esac; \
22838 module_srcdir=libcpp; \
22839 $(SHELL) $$s/$$module_srcdir/configure \
22840 --srcdir=$${topdir}/$$module_srcdir \
22841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22842 --target=${target_alias} \
22843 --with-build-libsubdir=$(HOST_SUBDIR) \
22844 $(STAGEautofeedback_CONFIGURE_FLAGS)
22845 @endif libcpp-bootstrap
22851 .PHONY: all-libcpp maybe-all-libcpp
22852 maybe-all-libcpp:
22853 @if gcc-bootstrap
22854 all-libcpp: stage_current
22855 @endif gcc-bootstrap
22856 @if libcpp
22857 TARGET-libcpp=all
22858 maybe-all-libcpp: all-libcpp
22859 all-libcpp: configure-libcpp
22860 @r=`${PWD_COMMAND}`; export r; \
22861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22862 $(HOST_EXPORTS) \
22863 (cd $(HOST_SUBDIR)/libcpp && \
22864 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22865 $(TARGET-libcpp))
22866 @endif libcpp
22870 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
22871 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
22872 maybe-all-stage1-libcpp:
22873 maybe-clean-stage1-libcpp:
22874 @if libcpp-bootstrap
22875 maybe-all-stage1-libcpp: all-stage1-libcpp
22876 all-stage1: all-stage1-libcpp
22877 TARGET-stage1-libcpp = $(TARGET-libcpp)
22878 all-stage1-libcpp: configure-stage1-libcpp
22879 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22880 @r=`${PWD_COMMAND}`; export r; \
22881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22882 TFLAGS="$(STAGE1_TFLAGS)"; \
22883 $(HOST_EXPORTS) \
22884 cd $(HOST_SUBDIR)/libcpp && \
22886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22887 CFLAGS="$(STAGE1_CFLAGS)" \
22888 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22889 LIBCFLAGS="$(LIBCFLAGS)" \
22890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22893 $(EXTRA_HOST_FLAGS) \
22894 $(STAGE1_FLAGS_TO_PASS) \
22895 TFLAGS="$(STAGE1_TFLAGS)" \
22896 $(TARGET-stage1-libcpp)
22898 maybe-clean-stage1-libcpp: clean-stage1-libcpp
22899 clean-stage1: clean-stage1-libcpp
22900 clean-stage1-libcpp:
22901 @if [ $(current_stage) = stage1 ]; then \
22902 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22903 else \
22904 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
22905 $(MAKE) stage1-start; \
22906 fi; \
22907 cd $(HOST_SUBDIR)/libcpp && \
22908 $(MAKE) $(EXTRA_HOST_FLAGS) \
22909 $(STAGE1_FLAGS_TO_PASS) clean
22910 @endif libcpp-bootstrap
22913 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
22914 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
22915 maybe-all-stage2-libcpp:
22916 maybe-clean-stage2-libcpp:
22917 @if libcpp-bootstrap
22918 maybe-all-stage2-libcpp: all-stage2-libcpp
22919 all-stage2: all-stage2-libcpp
22920 TARGET-stage2-libcpp = $(TARGET-libcpp)
22921 all-stage2-libcpp: configure-stage2-libcpp
22922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 TFLAGS="$(STAGE2_TFLAGS)"; \
22926 $(HOST_EXPORTS) \
22927 $(POSTSTAGE1_HOST_EXPORTS) \
22928 cd $(HOST_SUBDIR)/libcpp && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22931 CFLAGS="$(STAGE2_CFLAGS)" \
22932 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22933 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22938 TFLAGS="$(STAGE2_TFLAGS)" \
22939 $(TARGET-stage2-libcpp)
22941 maybe-clean-stage2-libcpp: clean-stage2-libcpp
22942 clean-stage2: clean-stage2-libcpp
22943 clean-stage2-libcpp:
22944 @if [ $(current_stage) = stage2 ]; then \
22945 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22946 else \
22947 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
22948 $(MAKE) stage2-start; \
22949 fi; \
22950 cd $(HOST_SUBDIR)/libcpp && \
22951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22952 @endif libcpp-bootstrap
22955 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
22956 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
22957 maybe-all-stage3-libcpp:
22958 maybe-clean-stage3-libcpp:
22959 @if libcpp-bootstrap
22960 maybe-all-stage3-libcpp: all-stage3-libcpp
22961 all-stage3: all-stage3-libcpp
22962 TARGET-stage3-libcpp = $(TARGET-libcpp)
22963 all-stage3-libcpp: configure-stage3-libcpp
22964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22965 @r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 TFLAGS="$(STAGE3_TFLAGS)"; \
22968 $(HOST_EXPORTS) \
22969 $(POSTSTAGE1_HOST_EXPORTS) \
22970 cd $(HOST_SUBDIR)/libcpp && \
22972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22973 CFLAGS="$(STAGE3_CFLAGS)" \
22974 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22975 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22980 TFLAGS="$(STAGE3_TFLAGS)" \
22981 $(TARGET-stage3-libcpp)
22983 maybe-clean-stage3-libcpp: clean-stage3-libcpp
22984 clean-stage3: clean-stage3-libcpp
22985 clean-stage3-libcpp:
22986 @if [ $(current_stage) = stage3 ]; then \
22987 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22988 else \
22989 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
22990 $(MAKE) stage3-start; \
22991 fi; \
22992 cd $(HOST_SUBDIR)/libcpp && \
22993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22994 @endif libcpp-bootstrap
22997 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
22998 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
22999 maybe-all-stage4-libcpp:
23000 maybe-clean-stage4-libcpp:
23001 @if libcpp-bootstrap
23002 maybe-all-stage4-libcpp: all-stage4-libcpp
23003 all-stage4: all-stage4-libcpp
23004 TARGET-stage4-libcpp = $(TARGET-libcpp)
23005 all-stage4-libcpp: configure-stage4-libcpp
23006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23007 @r=`${PWD_COMMAND}`; export r; \
23008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23009 TFLAGS="$(STAGE4_TFLAGS)"; \
23010 $(HOST_EXPORTS) \
23011 $(POSTSTAGE1_HOST_EXPORTS) \
23012 cd $(HOST_SUBDIR)/libcpp && \
23014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23015 CFLAGS="$(STAGE4_CFLAGS)" \
23016 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23017 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23022 TFLAGS="$(STAGE4_TFLAGS)" \
23023 $(TARGET-stage4-libcpp)
23025 maybe-clean-stage4-libcpp: clean-stage4-libcpp
23026 clean-stage4: clean-stage4-libcpp
23027 clean-stage4-libcpp:
23028 @if [ $(current_stage) = stage4 ]; then \
23029 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23030 else \
23031 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
23032 $(MAKE) stage4-start; \
23033 fi; \
23034 cd $(HOST_SUBDIR)/libcpp && \
23035 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23036 @endif libcpp-bootstrap
23039 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
23040 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
23041 maybe-all-stageprofile-libcpp:
23042 maybe-clean-stageprofile-libcpp:
23043 @if libcpp-bootstrap
23044 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
23045 all-stageprofile: all-stageprofile-libcpp
23046 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
23047 all-stageprofile-libcpp: configure-stageprofile-libcpp
23048 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23049 @r=`${PWD_COMMAND}`; export r; \
23050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23052 $(HOST_EXPORTS) \
23053 $(POSTSTAGE1_HOST_EXPORTS) \
23054 cd $(HOST_SUBDIR)/libcpp && \
23056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23057 CFLAGS="$(STAGEprofile_CFLAGS)" \
23058 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23059 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23064 TFLAGS="$(STAGEprofile_TFLAGS)" \
23065 $(TARGET-stageprofile-libcpp)
23067 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
23068 clean-stageprofile: clean-stageprofile-libcpp
23069 clean-stageprofile-libcpp:
23070 @if [ $(current_stage) = stageprofile ]; then \
23071 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23072 else \
23073 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
23074 $(MAKE) stageprofile-start; \
23075 fi; \
23076 cd $(HOST_SUBDIR)/libcpp && \
23077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23078 @endif libcpp-bootstrap
23081 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
23082 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
23083 maybe-all-stagefeedback-libcpp:
23084 maybe-clean-stagefeedback-libcpp:
23085 @if libcpp-bootstrap
23086 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
23087 all-stagefeedback: all-stagefeedback-libcpp
23088 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
23089 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
23090 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23091 @r=`${PWD_COMMAND}`; export r; \
23092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23093 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23094 $(HOST_EXPORTS) \
23095 $(POSTSTAGE1_HOST_EXPORTS) \
23096 cd $(HOST_SUBDIR)/libcpp && \
23098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23099 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23100 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23101 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23106 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23107 $(TARGET-stagefeedback-libcpp)
23109 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
23110 clean-stagefeedback: clean-stagefeedback-libcpp
23111 clean-stagefeedback-libcpp:
23112 @if [ $(current_stage) = stagefeedback ]; then \
23113 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23114 else \
23115 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
23116 $(MAKE) stagefeedback-start; \
23117 fi; \
23118 cd $(HOST_SUBDIR)/libcpp && \
23119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23120 @endif libcpp-bootstrap
23123 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
23124 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
23125 maybe-all-stageautoprofile-libcpp:
23126 maybe-clean-stageautoprofile-libcpp:
23127 @if libcpp-bootstrap
23128 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
23129 all-stageautoprofile: all-stageautoprofile-libcpp
23130 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
23131 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23132 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23133 @r=`${PWD_COMMAND}`; export r; \
23134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23135 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23136 $(HOST_EXPORTS) \
23137 $(POSTSTAGE1_HOST_EXPORTS) \
23138 cd $(HOST_SUBDIR)/libcpp && \
23139 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23141 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23142 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23143 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23148 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23149 $(TARGET-stageautoprofile-libcpp)
23151 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
23152 clean-stageautoprofile: clean-stageautoprofile-libcpp
23153 clean-stageautoprofile-libcpp:
23154 @if [ $(current_stage) = stageautoprofile ]; then \
23155 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23156 else \
23157 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
23158 $(MAKE) stageautoprofile-start; \
23159 fi; \
23160 cd $(HOST_SUBDIR)/libcpp && \
23161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23162 @endif libcpp-bootstrap
23165 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
23166 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
23167 maybe-all-stageautofeedback-libcpp:
23168 maybe-clean-stageautofeedback-libcpp:
23169 @if libcpp-bootstrap
23170 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
23171 all-stageautofeedback: all-stageautofeedback-libcpp
23172 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
23173 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23174 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23175 @r=`${PWD_COMMAND}`; export r; \
23176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23177 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23178 $(HOST_EXPORTS) \
23179 $(POSTSTAGE1_HOST_EXPORTS) \
23180 cd $(HOST_SUBDIR)/libcpp && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23183 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23184 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23185 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23189 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23190 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23191 $(TARGET-stageautofeedback-libcpp)
23193 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
23194 clean-stageautofeedback: clean-stageautofeedback-libcpp
23195 clean-stageautofeedback-libcpp:
23196 @if [ $(current_stage) = stageautofeedback ]; then \
23197 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23198 else \
23199 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
23200 $(MAKE) stageautofeedback-start; \
23201 fi; \
23202 cd $(HOST_SUBDIR)/libcpp && \
23203 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23204 @endif libcpp-bootstrap
23210 .PHONY: check-libcpp maybe-check-libcpp
23211 maybe-check-libcpp:
23212 @if libcpp
23213 maybe-check-libcpp: check-libcpp
23215 check-libcpp:
23216 @: $(MAKE); $(unstage)
23217 @r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23220 (cd $(HOST_SUBDIR)/libcpp && \
23221 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23223 @endif libcpp
23225 .PHONY: install-libcpp maybe-install-libcpp
23226 maybe-install-libcpp:
23227 @if libcpp
23228 maybe-install-libcpp: install-libcpp
23230 install-libcpp: installdirs
23231 @: $(MAKE); $(unstage)
23232 @r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) \
23235 (cd $(HOST_SUBDIR)/libcpp && \
23236 $(MAKE) $(FLAGS_TO_PASS) install)
23238 @endif libcpp
23240 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
23241 maybe-install-strip-libcpp:
23242 @if libcpp
23243 maybe-install-strip-libcpp: install-strip-libcpp
23245 install-strip-libcpp: installdirs
23246 @: $(MAKE); $(unstage)
23247 @r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) \
23250 (cd $(HOST_SUBDIR)/libcpp && \
23251 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23253 @endif libcpp
23255 # Other targets (info, dvi, pdf, etc.)
23257 .PHONY: maybe-info-libcpp info-libcpp
23258 maybe-info-libcpp:
23259 @if libcpp
23260 maybe-info-libcpp: info-libcpp
23262 info-libcpp: \
23263 configure-libcpp
23264 @[ -f ./libcpp/Makefile ] || exit 0; \
23265 r=`${PWD_COMMAND}`; export r; \
23266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23267 $(HOST_EXPORTS) \
23268 for flag in $(EXTRA_HOST_FLAGS) ; do \
23269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23270 done; \
23271 echo "Doing info in libcpp"; \
23272 (cd $(HOST_SUBDIR)/libcpp && \
23273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23275 "RANLIB=$${RANLIB}" \
23276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23277 info) \
23278 || exit 1
23280 @endif libcpp
23282 .PHONY: maybe-dvi-libcpp dvi-libcpp
23283 maybe-dvi-libcpp:
23284 @if libcpp
23285 maybe-dvi-libcpp: dvi-libcpp
23287 dvi-libcpp: \
23288 configure-libcpp
23289 @[ -f ./libcpp/Makefile ] || exit 0; \
23290 r=`${PWD_COMMAND}`; export r; \
23291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23292 $(HOST_EXPORTS) \
23293 for flag in $(EXTRA_HOST_FLAGS) ; do \
23294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23295 done; \
23296 echo "Doing dvi in libcpp"; \
23297 (cd $(HOST_SUBDIR)/libcpp && \
23298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23300 "RANLIB=$${RANLIB}" \
23301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23302 dvi) \
23303 || exit 1
23305 @endif libcpp
23307 .PHONY: maybe-pdf-libcpp pdf-libcpp
23308 maybe-pdf-libcpp:
23309 @if libcpp
23310 maybe-pdf-libcpp: pdf-libcpp
23312 pdf-libcpp: \
23313 configure-libcpp
23314 @[ -f ./libcpp/Makefile ] || exit 0; \
23315 r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(HOST_EXPORTS) \
23318 for flag in $(EXTRA_HOST_FLAGS) ; do \
23319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23320 done; \
23321 echo "Doing pdf in libcpp"; \
23322 (cd $(HOST_SUBDIR)/libcpp && \
23323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23325 "RANLIB=$${RANLIB}" \
23326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23327 pdf) \
23328 || exit 1
23330 @endif libcpp
23332 .PHONY: maybe-html-libcpp html-libcpp
23333 maybe-html-libcpp:
23334 @if libcpp
23335 maybe-html-libcpp: html-libcpp
23337 html-libcpp: \
23338 configure-libcpp
23339 @[ -f ./libcpp/Makefile ] || exit 0; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(HOST_EXPORTS) \
23343 for flag in $(EXTRA_HOST_FLAGS) ; do \
23344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23345 done; \
23346 echo "Doing html in libcpp"; \
23347 (cd $(HOST_SUBDIR)/libcpp && \
23348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23350 "RANLIB=$${RANLIB}" \
23351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23352 html) \
23353 || exit 1
23355 @endif libcpp
23357 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
23358 maybe-TAGS-libcpp:
23359 @if libcpp
23360 maybe-TAGS-libcpp: TAGS-libcpp
23362 TAGS-libcpp: \
23363 configure-libcpp
23364 @[ -f ./libcpp/Makefile ] || exit 0; \
23365 r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 $(HOST_EXPORTS) \
23368 for flag in $(EXTRA_HOST_FLAGS) ; do \
23369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23370 done; \
23371 echo "Doing TAGS in libcpp"; \
23372 (cd $(HOST_SUBDIR)/libcpp && \
23373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23375 "RANLIB=$${RANLIB}" \
23376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23377 TAGS) \
23378 || exit 1
23380 @endif libcpp
23382 .PHONY: maybe-install-info-libcpp install-info-libcpp
23383 maybe-install-info-libcpp:
23384 @if libcpp
23385 maybe-install-info-libcpp: install-info-libcpp
23387 install-info-libcpp: \
23388 configure-libcpp \
23389 info-libcpp
23390 @[ -f ./libcpp/Makefile ] || exit 0; \
23391 r=`${PWD_COMMAND}`; export r; \
23392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23393 $(HOST_EXPORTS) \
23394 for flag in $(EXTRA_HOST_FLAGS) ; do \
23395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23396 done; \
23397 echo "Doing install-info in libcpp"; \
23398 (cd $(HOST_SUBDIR)/libcpp && \
23399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23401 "RANLIB=$${RANLIB}" \
23402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23403 install-info) \
23404 || exit 1
23406 @endif libcpp
23408 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
23409 maybe-install-pdf-libcpp:
23410 @if libcpp
23411 maybe-install-pdf-libcpp: install-pdf-libcpp
23413 install-pdf-libcpp: \
23414 configure-libcpp \
23415 pdf-libcpp
23416 @[ -f ./libcpp/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(HOST_EXPORTS) \
23420 for flag in $(EXTRA_HOST_FLAGS) ; do \
23421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23422 done; \
23423 echo "Doing install-pdf in libcpp"; \
23424 (cd $(HOST_SUBDIR)/libcpp && \
23425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23427 "RANLIB=$${RANLIB}" \
23428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23429 install-pdf) \
23430 || exit 1
23432 @endif libcpp
23434 .PHONY: maybe-install-html-libcpp install-html-libcpp
23435 maybe-install-html-libcpp:
23436 @if libcpp
23437 maybe-install-html-libcpp: install-html-libcpp
23439 install-html-libcpp: \
23440 configure-libcpp \
23441 html-libcpp
23442 @[ -f ./libcpp/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(HOST_EXPORTS) \
23446 for flag in $(EXTRA_HOST_FLAGS) ; do \
23447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23448 done; \
23449 echo "Doing install-html in libcpp"; \
23450 (cd $(HOST_SUBDIR)/libcpp && \
23451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23453 "RANLIB=$${RANLIB}" \
23454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23455 install-html) \
23456 || exit 1
23458 @endif libcpp
23460 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
23461 maybe-installcheck-libcpp:
23462 @if libcpp
23463 maybe-installcheck-libcpp: installcheck-libcpp
23465 installcheck-libcpp: \
23466 configure-libcpp
23467 @[ -f ./libcpp/Makefile ] || exit 0; \
23468 r=`${PWD_COMMAND}`; export r; \
23469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23470 $(HOST_EXPORTS) \
23471 for flag in $(EXTRA_HOST_FLAGS) ; do \
23472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23473 done; \
23474 echo "Doing installcheck in libcpp"; \
23475 (cd $(HOST_SUBDIR)/libcpp && \
23476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23478 "RANLIB=$${RANLIB}" \
23479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23480 installcheck) \
23481 || exit 1
23483 @endif libcpp
23485 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
23486 maybe-mostlyclean-libcpp:
23487 @if libcpp
23488 maybe-mostlyclean-libcpp: mostlyclean-libcpp
23490 mostlyclean-libcpp:
23491 @[ -f ./libcpp/Makefile ] || exit 0; \
23492 r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 $(HOST_EXPORTS) \
23495 for flag in $(EXTRA_HOST_FLAGS) ; do \
23496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23497 done; \
23498 echo "Doing mostlyclean in libcpp"; \
23499 (cd $(HOST_SUBDIR)/libcpp && \
23500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23502 "RANLIB=$${RANLIB}" \
23503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23504 mostlyclean) \
23505 || exit 1
23507 @endif libcpp
23509 .PHONY: maybe-clean-libcpp clean-libcpp
23510 maybe-clean-libcpp:
23511 @if libcpp
23512 maybe-clean-libcpp: clean-libcpp
23514 clean-libcpp:
23515 @[ -f ./libcpp/Makefile ] || exit 0; \
23516 r=`${PWD_COMMAND}`; export r; \
23517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23518 $(HOST_EXPORTS) \
23519 for flag in $(EXTRA_HOST_FLAGS) ; do \
23520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23521 done; \
23522 echo "Doing clean in libcpp"; \
23523 (cd $(HOST_SUBDIR)/libcpp && \
23524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23526 "RANLIB=$${RANLIB}" \
23527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23528 clean) \
23529 || exit 1
23531 @endif libcpp
23533 .PHONY: maybe-distclean-libcpp distclean-libcpp
23534 maybe-distclean-libcpp:
23535 @if libcpp
23536 maybe-distclean-libcpp: distclean-libcpp
23538 distclean-libcpp:
23539 @[ -f ./libcpp/Makefile ] || exit 0; \
23540 r=`${PWD_COMMAND}`; export r; \
23541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23542 $(HOST_EXPORTS) \
23543 for flag in $(EXTRA_HOST_FLAGS) ; do \
23544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23545 done; \
23546 echo "Doing distclean in libcpp"; \
23547 (cd $(HOST_SUBDIR)/libcpp && \
23548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23550 "RANLIB=$${RANLIB}" \
23551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23552 distclean) \
23553 || exit 1
23555 @endif libcpp
23557 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
23558 maybe-maintainer-clean-libcpp:
23559 @if libcpp
23560 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
23562 maintainer-clean-libcpp:
23563 @[ -f ./libcpp/Makefile ] || exit 0; \
23564 r=`${PWD_COMMAND}`; export r; \
23565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23566 $(HOST_EXPORTS) \
23567 for flag in $(EXTRA_HOST_FLAGS) ; do \
23568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23569 done; \
23570 echo "Doing maintainer-clean in libcpp"; \
23571 (cd $(HOST_SUBDIR)/libcpp && \
23572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23574 "RANLIB=$${RANLIB}" \
23575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23576 maintainer-clean) \
23577 || exit 1
23579 @endif libcpp
23583 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
23584 maybe-configure-libdecnumber:
23585 @if gcc-bootstrap
23586 configure-libdecnumber: stage_current
23587 @endif gcc-bootstrap
23588 @if libdecnumber
23589 maybe-configure-libdecnumber: configure-libdecnumber
23590 configure-libdecnumber:
23591 @r=`${PWD_COMMAND}`; export r; \
23592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23593 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23595 $(HOST_EXPORTS) \
23596 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
23597 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
23598 case $(srcdir) in \
23599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23600 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23602 esac; \
23603 module_srcdir=libdecnumber; \
23604 $(SHELL) \
23605 $$s/$$module_srcdir/configure \
23606 --srcdir=$${topdir}/$$module_srcdir \
23607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23608 --target=${target_alias} \
23609 || exit 1
23610 @endif libdecnumber
23614 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
23615 maybe-configure-stage1-libdecnumber:
23616 @if libdecnumber-bootstrap
23617 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
23618 configure-stage1-libdecnumber:
23619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23621 @r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 TFLAGS="$(STAGE1_TFLAGS)"; \
23624 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23625 $(HOST_EXPORTS) \
23626 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23627 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23628 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23629 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
23630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23631 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23632 case $(srcdir) in \
23633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23634 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23636 esac; \
23637 module_srcdir=libdecnumber; \
23638 $(SHELL) $$s/$$module_srcdir/configure \
23639 --srcdir=$${topdir}/$$module_srcdir \
23640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23641 --target=${target_alias} \
23643 $(STAGE1_CONFIGURE_FLAGS)
23644 @endif libdecnumber-bootstrap
23646 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
23647 maybe-configure-stage2-libdecnumber:
23648 @if libdecnumber-bootstrap
23649 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
23650 configure-stage2-libdecnumber:
23651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23653 @r=`${PWD_COMMAND}`; export r; \
23654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23655 TFLAGS="$(STAGE2_TFLAGS)"; \
23656 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23657 $(HOST_EXPORTS) \
23658 $(POSTSTAGE1_HOST_EXPORTS) \
23659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23662 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
23663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23664 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23665 case $(srcdir) in \
23666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23667 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23669 esac; \
23670 module_srcdir=libdecnumber; \
23671 $(SHELL) $$s/$$module_srcdir/configure \
23672 --srcdir=$${topdir}/$$module_srcdir \
23673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23674 --target=${target_alias} \
23675 --with-build-libsubdir=$(HOST_SUBDIR) \
23676 $(STAGE2_CONFIGURE_FLAGS)
23677 @endif libdecnumber-bootstrap
23679 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
23680 maybe-configure-stage3-libdecnumber:
23681 @if libdecnumber-bootstrap
23682 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
23683 configure-stage3-libdecnumber:
23684 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23686 @r=`${PWD_COMMAND}`; export r; \
23687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23688 TFLAGS="$(STAGE3_TFLAGS)"; \
23689 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23690 $(HOST_EXPORTS) \
23691 $(POSTSTAGE1_HOST_EXPORTS) \
23692 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23693 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23694 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23695 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
23696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23697 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23698 case $(srcdir) in \
23699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23700 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23702 esac; \
23703 module_srcdir=libdecnumber; \
23704 $(SHELL) $$s/$$module_srcdir/configure \
23705 --srcdir=$${topdir}/$$module_srcdir \
23706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23707 --target=${target_alias} \
23708 --with-build-libsubdir=$(HOST_SUBDIR) \
23709 $(STAGE3_CONFIGURE_FLAGS)
23710 @endif libdecnumber-bootstrap
23712 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
23713 maybe-configure-stage4-libdecnumber:
23714 @if libdecnumber-bootstrap
23715 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
23716 configure-stage4-libdecnumber:
23717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23719 @r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 TFLAGS="$(STAGE4_TFLAGS)"; \
23722 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23723 $(HOST_EXPORTS) \
23724 $(POSTSTAGE1_HOST_EXPORTS) \
23725 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23726 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23727 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23728 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
23729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23730 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23731 case $(srcdir) in \
23732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23733 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23735 esac; \
23736 module_srcdir=libdecnumber; \
23737 $(SHELL) $$s/$$module_srcdir/configure \
23738 --srcdir=$${topdir}/$$module_srcdir \
23739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23740 --target=${target_alias} \
23741 --with-build-libsubdir=$(HOST_SUBDIR) \
23742 $(STAGE4_CONFIGURE_FLAGS)
23743 @endif libdecnumber-bootstrap
23745 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
23746 maybe-configure-stageprofile-libdecnumber:
23747 @if libdecnumber-bootstrap
23748 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
23749 configure-stageprofile-libdecnumber:
23750 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23752 @r=`${PWD_COMMAND}`; export r; \
23753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23754 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23755 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23756 $(HOST_EXPORTS) \
23757 $(POSTSTAGE1_HOST_EXPORTS) \
23758 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23759 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23760 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23761 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
23762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23763 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23764 case $(srcdir) in \
23765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23766 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23768 esac; \
23769 module_srcdir=libdecnumber; \
23770 $(SHELL) $$s/$$module_srcdir/configure \
23771 --srcdir=$${topdir}/$$module_srcdir \
23772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23773 --target=${target_alias} \
23774 --with-build-libsubdir=$(HOST_SUBDIR) \
23775 $(STAGEprofile_CONFIGURE_FLAGS)
23776 @endif libdecnumber-bootstrap
23778 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
23779 maybe-configure-stagefeedback-libdecnumber:
23780 @if libdecnumber-bootstrap
23781 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
23782 configure-stagefeedback-libdecnumber:
23783 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23785 @r=`${PWD_COMMAND}`; export r; \
23786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23787 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23788 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23789 $(HOST_EXPORTS) \
23790 $(POSTSTAGE1_HOST_EXPORTS) \
23791 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23792 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23793 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23794 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
23795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23796 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23797 case $(srcdir) in \
23798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23799 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23801 esac; \
23802 module_srcdir=libdecnumber; \
23803 $(SHELL) $$s/$$module_srcdir/configure \
23804 --srcdir=$${topdir}/$$module_srcdir \
23805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23806 --target=${target_alias} \
23807 --with-build-libsubdir=$(HOST_SUBDIR) \
23808 $(STAGEfeedback_CONFIGURE_FLAGS)
23809 @endif libdecnumber-bootstrap
23811 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
23812 maybe-configure-stageautoprofile-libdecnumber:
23813 @if libdecnumber-bootstrap
23814 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
23815 configure-stageautoprofile-libdecnumber:
23816 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23818 @r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23820 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23821 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23822 $(HOST_EXPORTS) \
23823 $(POSTSTAGE1_HOST_EXPORTS) \
23824 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23825 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23826 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23827 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
23828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23829 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23830 case $(srcdir) in \
23831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23832 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23834 esac; \
23835 module_srcdir=libdecnumber; \
23836 $(SHELL) $$s/$$module_srcdir/configure \
23837 --srcdir=$${topdir}/$$module_srcdir \
23838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23839 --target=${target_alias} \
23840 --with-build-libsubdir=$(HOST_SUBDIR) \
23841 $(STAGEautoprofile_CONFIGURE_FLAGS)
23842 @endif libdecnumber-bootstrap
23844 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
23845 maybe-configure-stageautofeedback-libdecnumber:
23846 @if libdecnumber-bootstrap
23847 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
23848 configure-stageautofeedback-libdecnumber:
23849 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23851 @r=`${PWD_COMMAND}`; export r; \
23852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23854 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23855 $(HOST_EXPORTS) \
23856 $(POSTSTAGE1_HOST_EXPORTS) \
23857 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23858 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23859 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23860 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
23861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23862 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23863 case $(srcdir) in \
23864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23865 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23867 esac; \
23868 module_srcdir=libdecnumber; \
23869 $(SHELL) $$s/$$module_srcdir/configure \
23870 --srcdir=$${topdir}/$$module_srcdir \
23871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23872 --target=${target_alias} \
23873 --with-build-libsubdir=$(HOST_SUBDIR) \
23874 $(STAGEautofeedback_CONFIGURE_FLAGS)
23875 @endif libdecnumber-bootstrap
23881 .PHONY: all-libdecnumber maybe-all-libdecnumber
23882 maybe-all-libdecnumber:
23883 @if gcc-bootstrap
23884 all-libdecnumber: stage_current
23885 @endif gcc-bootstrap
23886 @if libdecnumber
23887 TARGET-libdecnumber=all
23888 maybe-all-libdecnumber: all-libdecnumber
23889 all-libdecnumber: configure-libdecnumber
23890 @r=`${PWD_COMMAND}`; export r; \
23891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23892 $(HOST_EXPORTS) \
23893 (cd $(HOST_SUBDIR)/libdecnumber && \
23894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23895 $(TARGET-libdecnumber))
23896 @endif libdecnumber
23900 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
23901 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
23902 maybe-all-stage1-libdecnumber:
23903 maybe-clean-stage1-libdecnumber:
23904 @if libdecnumber-bootstrap
23905 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
23906 all-stage1: all-stage1-libdecnumber
23907 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
23908 all-stage1-libdecnumber: configure-stage1-libdecnumber
23909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23910 @r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912 TFLAGS="$(STAGE1_TFLAGS)"; \
23913 $(HOST_EXPORTS) \
23914 cd $(HOST_SUBDIR)/libdecnumber && \
23916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23917 CFLAGS="$(STAGE1_CFLAGS)" \
23918 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23919 LIBCFLAGS="$(LIBCFLAGS)" \
23920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23923 $(EXTRA_HOST_FLAGS) \
23924 $(STAGE1_FLAGS_TO_PASS) \
23925 TFLAGS="$(STAGE1_TFLAGS)" \
23926 $(TARGET-stage1-libdecnumber)
23928 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
23929 clean-stage1: clean-stage1-libdecnumber
23930 clean-stage1-libdecnumber:
23931 @if [ $(current_stage) = stage1 ]; then \
23932 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
23933 else \
23934 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
23935 $(MAKE) stage1-start; \
23936 fi; \
23937 cd $(HOST_SUBDIR)/libdecnumber && \
23938 $(MAKE) $(EXTRA_HOST_FLAGS) \
23939 $(STAGE1_FLAGS_TO_PASS) clean
23940 @endif libdecnumber-bootstrap
23943 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
23944 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
23945 maybe-all-stage2-libdecnumber:
23946 maybe-clean-stage2-libdecnumber:
23947 @if libdecnumber-bootstrap
23948 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
23949 all-stage2: all-stage2-libdecnumber
23950 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
23951 all-stage2-libdecnumber: configure-stage2-libdecnumber
23952 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23953 @r=`${PWD_COMMAND}`; export r; \
23954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23955 TFLAGS="$(STAGE2_TFLAGS)"; \
23956 $(HOST_EXPORTS) \
23957 $(POSTSTAGE1_HOST_EXPORTS) \
23958 cd $(HOST_SUBDIR)/libdecnumber && \
23960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23961 CFLAGS="$(STAGE2_CFLAGS)" \
23962 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23963 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23968 TFLAGS="$(STAGE2_TFLAGS)" \
23969 $(TARGET-stage2-libdecnumber)
23971 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
23972 clean-stage2: clean-stage2-libdecnumber
23973 clean-stage2-libdecnumber:
23974 @if [ $(current_stage) = stage2 ]; then \
23975 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
23976 else \
23977 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
23978 $(MAKE) stage2-start; \
23979 fi; \
23980 cd $(HOST_SUBDIR)/libdecnumber && \
23981 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23982 @endif libdecnumber-bootstrap
23985 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
23986 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
23987 maybe-all-stage3-libdecnumber:
23988 maybe-clean-stage3-libdecnumber:
23989 @if libdecnumber-bootstrap
23990 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
23991 all-stage3: all-stage3-libdecnumber
23992 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
23993 all-stage3-libdecnumber: configure-stage3-libdecnumber
23994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23995 @r=`${PWD_COMMAND}`; export r; \
23996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23997 TFLAGS="$(STAGE3_TFLAGS)"; \
23998 $(HOST_EXPORTS) \
23999 $(POSTSTAGE1_HOST_EXPORTS) \
24000 cd $(HOST_SUBDIR)/libdecnumber && \
24002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24003 CFLAGS="$(STAGE3_CFLAGS)" \
24004 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24005 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24010 TFLAGS="$(STAGE3_TFLAGS)" \
24011 $(TARGET-stage3-libdecnumber)
24013 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
24014 clean-stage3: clean-stage3-libdecnumber
24015 clean-stage3-libdecnumber:
24016 @if [ $(current_stage) = stage3 ]; then \
24017 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24018 else \
24019 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
24020 $(MAKE) stage3-start; \
24021 fi; \
24022 cd $(HOST_SUBDIR)/libdecnumber && \
24023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24024 @endif libdecnumber-bootstrap
24027 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
24028 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
24029 maybe-all-stage4-libdecnumber:
24030 maybe-clean-stage4-libdecnumber:
24031 @if libdecnumber-bootstrap
24032 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
24033 all-stage4: all-stage4-libdecnumber
24034 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
24035 all-stage4-libdecnumber: configure-stage4-libdecnumber
24036 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24037 @r=`${PWD_COMMAND}`; export r; \
24038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24039 TFLAGS="$(STAGE4_TFLAGS)"; \
24040 $(HOST_EXPORTS) \
24041 $(POSTSTAGE1_HOST_EXPORTS) \
24042 cd $(HOST_SUBDIR)/libdecnumber && \
24044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24045 CFLAGS="$(STAGE4_CFLAGS)" \
24046 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24047 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24051 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24052 TFLAGS="$(STAGE4_TFLAGS)" \
24053 $(TARGET-stage4-libdecnumber)
24055 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
24056 clean-stage4: clean-stage4-libdecnumber
24057 clean-stage4-libdecnumber:
24058 @if [ $(current_stage) = stage4 ]; then \
24059 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24060 else \
24061 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
24062 $(MAKE) stage4-start; \
24063 fi; \
24064 cd $(HOST_SUBDIR)/libdecnumber && \
24065 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24066 @endif libdecnumber-bootstrap
24069 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
24070 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
24071 maybe-all-stageprofile-libdecnumber:
24072 maybe-clean-stageprofile-libdecnumber:
24073 @if libdecnumber-bootstrap
24074 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
24075 all-stageprofile: all-stageprofile-libdecnumber
24076 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
24077 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24078 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24079 @r=`${PWD_COMMAND}`; export r; \
24080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24082 $(HOST_EXPORTS) \
24083 $(POSTSTAGE1_HOST_EXPORTS) \
24084 cd $(HOST_SUBDIR)/libdecnumber && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24087 CFLAGS="$(STAGEprofile_CFLAGS)" \
24088 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24089 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24094 TFLAGS="$(STAGEprofile_TFLAGS)" \
24095 $(TARGET-stageprofile-libdecnumber)
24097 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
24098 clean-stageprofile: clean-stageprofile-libdecnumber
24099 clean-stageprofile-libdecnumber:
24100 @if [ $(current_stage) = stageprofile ]; then \
24101 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24102 else \
24103 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
24104 $(MAKE) stageprofile-start; \
24105 fi; \
24106 cd $(HOST_SUBDIR)/libdecnumber && \
24107 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24108 @endif libdecnumber-bootstrap
24111 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
24112 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
24113 maybe-all-stagefeedback-libdecnumber:
24114 maybe-clean-stagefeedback-libdecnumber:
24115 @if libdecnumber-bootstrap
24116 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
24117 all-stagefeedback: all-stagefeedback-libdecnumber
24118 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
24119 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
24120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24121 @r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24124 $(HOST_EXPORTS) \
24125 $(POSTSTAGE1_HOST_EXPORTS) \
24126 cd $(HOST_SUBDIR)/libdecnumber && \
24128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24129 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24130 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24131 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24136 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24137 $(TARGET-stagefeedback-libdecnumber)
24139 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
24140 clean-stagefeedback: clean-stagefeedback-libdecnumber
24141 clean-stagefeedback-libdecnumber:
24142 @if [ $(current_stage) = stagefeedback ]; then \
24143 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24144 else \
24145 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
24146 $(MAKE) stagefeedback-start; \
24147 fi; \
24148 cd $(HOST_SUBDIR)/libdecnumber && \
24149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24150 @endif libdecnumber-bootstrap
24153 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
24154 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
24155 maybe-all-stageautoprofile-libdecnumber:
24156 maybe-clean-stageautoprofile-libdecnumber:
24157 @if libdecnumber-bootstrap
24158 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
24159 all-stageautoprofile: all-stageautoprofile-libdecnumber
24160 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
24161 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
24162 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24163 @r=`${PWD_COMMAND}`; export r; \
24164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24165 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24166 $(HOST_EXPORTS) \
24167 $(POSTSTAGE1_HOST_EXPORTS) \
24168 cd $(HOST_SUBDIR)/libdecnumber && \
24169 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24171 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24172 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24173 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24178 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24179 $(TARGET-stageautoprofile-libdecnumber)
24181 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
24182 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
24183 clean-stageautoprofile-libdecnumber:
24184 @if [ $(current_stage) = stageautoprofile ]; then \
24185 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24186 else \
24187 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
24188 $(MAKE) stageautoprofile-start; \
24189 fi; \
24190 cd $(HOST_SUBDIR)/libdecnumber && \
24191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24192 @endif libdecnumber-bootstrap
24195 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
24196 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
24197 maybe-all-stageautofeedback-libdecnumber:
24198 maybe-clean-stageautofeedback-libdecnumber:
24199 @if libdecnumber-bootstrap
24200 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
24201 all-stageautofeedback: all-stageautofeedback-libdecnumber
24202 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
24203 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
24204 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24205 @r=`${PWD_COMMAND}`; export r; \
24206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24207 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24208 $(HOST_EXPORTS) \
24209 $(POSTSTAGE1_HOST_EXPORTS) \
24210 cd $(HOST_SUBDIR)/libdecnumber && \
24212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24213 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24214 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24215 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24220 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24221 $(TARGET-stageautofeedback-libdecnumber)
24223 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
24224 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
24225 clean-stageautofeedback-libdecnumber:
24226 @if [ $(current_stage) = stageautofeedback ]; then \
24227 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24228 else \
24229 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
24230 $(MAKE) stageautofeedback-start; \
24231 fi; \
24232 cd $(HOST_SUBDIR)/libdecnumber && \
24233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24234 @endif libdecnumber-bootstrap
24240 .PHONY: check-libdecnumber maybe-check-libdecnumber
24241 maybe-check-libdecnumber:
24242 @if libdecnumber
24243 maybe-check-libdecnumber: check-libdecnumber
24245 check-libdecnumber:
24246 @: $(MAKE); $(unstage)
24247 @r=`${PWD_COMMAND}`; export r; \
24248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24249 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24250 (cd $(HOST_SUBDIR)/libdecnumber && \
24251 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24253 @endif libdecnumber
24255 .PHONY: install-libdecnumber maybe-install-libdecnumber
24256 maybe-install-libdecnumber:
24257 @if libdecnumber
24258 maybe-install-libdecnumber: install-libdecnumber
24260 install-libdecnumber: installdirs
24261 @: $(MAKE); $(unstage)
24262 @r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 (cd $(HOST_SUBDIR)/libdecnumber && \
24266 $(MAKE) $(FLAGS_TO_PASS) install)
24268 @endif libdecnumber
24270 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
24271 maybe-install-strip-libdecnumber:
24272 @if libdecnumber
24273 maybe-install-strip-libdecnumber: install-strip-libdecnumber
24275 install-strip-libdecnumber: installdirs
24276 @: $(MAKE); $(unstage)
24277 @r=`${PWD_COMMAND}`; export r; \
24278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(HOST_EXPORTS) \
24280 (cd $(HOST_SUBDIR)/libdecnumber && \
24281 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24283 @endif libdecnumber
24285 # Other targets (info, dvi, pdf, etc.)
24287 .PHONY: maybe-info-libdecnumber info-libdecnumber
24288 maybe-info-libdecnumber:
24289 @if libdecnumber
24290 maybe-info-libdecnumber: info-libdecnumber
24292 info-libdecnumber: \
24293 configure-libdecnumber
24294 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24295 r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297 $(HOST_EXPORTS) \
24298 for flag in $(EXTRA_HOST_FLAGS) ; do \
24299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24300 done; \
24301 echo "Doing info in libdecnumber"; \
24302 (cd $(HOST_SUBDIR)/libdecnumber && \
24303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24305 "RANLIB=$${RANLIB}" \
24306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24307 info) \
24308 || exit 1
24310 @endif libdecnumber
24312 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
24313 maybe-dvi-libdecnumber:
24314 @if libdecnumber
24315 maybe-dvi-libdecnumber: dvi-libdecnumber
24317 dvi-libdecnumber: \
24318 configure-libdecnumber
24319 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24320 r=`${PWD_COMMAND}`; export r; \
24321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24322 $(HOST_EXPORTS) \
24323 for flag in $(EXTRA_HOST_FLAGS) ; do \
24324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24325 done; \
24326 echo "Doing dvi in libdecnumber"; \
24327 (cd $(HOST_SUBDIR)/libdecnumber && \
24328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24330 "RANLIB=$${RANLIB}" \
24331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24332 dvi) \
24333 || exit 1
24335 @endif libdecnumber
24337 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
24338 maybe-pdf-libdecnumber:
24339 @if libdecnumber
24340 maybe-pdf-libdecnumber: pdf-libdecnumber
24342 pdf-libdecnumber: \
24343 configure-libdecnumber
24344 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(HOST_EXPORTS) \
24348 for flag in $(EXTRA_HOST_FLAGS) ; do \
24349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24350 done; \
24351 echo "Doing pdf in libdecnumber"; \
24352 (cd $(HOST_SUBDIR)/libdecnumber && \
24353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24355 "RANLIB=$${RANLIB}" \
24356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24357 pdf) \
24358 || exit 1
24360 @endif libdecnumber
24362 .PHONY: maybe-html-libdecnumber html-libdecnumber
24363 maybe-html-libdecnumber:
24364 @if libdecnumber
24365 maybe-html-libdecnumber: html-libdecnumber
24367 html-libdecnumber: \
24368 configure-libdecnumber
24369 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24370 r=`${PWD_COMMAND}`; export r; \
24371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372 $(HOST_EXPORTS) \
24373 for flag in $(EXTRA_HOST_FLAGS) ; do \
24374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24375 done; \
24376 echo "Doing html in libdecnumber"; \
24377 (cd $(HOST_SUBDIR)/libdecnumber && \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24380 "RANLIB=$${RANLIB}" \
24381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24382 html) \
24383 || exit 1
24385 @endif libdecnumber
24387 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
24388 maybe-TAGS-libdecnumber:
24389 @if libdecnumber
24390 maybe-TAGS-libdecnumber: TAGS-libdecnumber
24392 TAGS-libdecnumber: \
24393 configure-libdecnumber
24394 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24395 r=`${PWD_COMMAND}`; export r; \
24396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24397 $(HOST_EXPORTS) \
24398 for flag in $(EXTRA_HOST_FLAGS) ; do \
24399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24400 done; \
24401 echo "Doing TAGS in libdecnumber"; \
24402 (cd $(HOST_SUBDIR)/libdecnumber && \
24403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24405 "RANLIB=$${RANLIB}" \
24406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24407 TAGS) \
24408 || exit 1
24410 @endif libdecnumber
24412 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
24413 maybe-install-info-libdecnumber:
24414 @if libdecnumber
24415 maybe-install-info-libdecnumber: install-info-libdecnumber
24417 install-info-libdecnumber: \
24418 configure-libdecnumber \
24419 info-libdecnumber
24420 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24421 r=`${PWD_COMMAND}`; export r; \
24422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24423 $(HOST_EXPORTS) \
24424 for flag in $(EXTRA_HOST_FLAGS) ; do \
24425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24426 done; \
24427 echo "Doing install-info in libdecnumber"; \
24428 (cd $(HOST_SUBDIR)/libdecnumber && \
24429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24431 "RANLIB=$${RANLIB}" \
24432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24433 install-info) \
24434 || exit 1
24436 @endif libdecnumber
24438 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
24439 maybe-install-pdf-libdecnumber:
24440 @if libdecnumber
24441 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
24443 install-pdf-libdecnumber: \
24444 configure-libdecnumber \
24445 pdf-libdecnumber
24446 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24447 r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 $(HOST_EXPORTS) \
24450 for flag in $(EXTRA_HOST_FLAGS) ; do \
24451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24452 done; \
24453 echo "Doing install-pdf in libdecnumber"; \
24454 (cd $(HOST_SUBDIR)/libdecnumber && \
24455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24457 "RANLIB=$${RANLIB}" \
24458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24459 install-pdf) \
24460 || exit 1
24462 @endif libdecnumber
24464 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
24465 maybe-install-html-libdecnumber:
24466 @if libdecnumber
24467 maybe-install-html-libdecnumber: install-html-libdecnumber
24469 install-html-libdecnumber: \
24470 configure-libdecnumber \
24471 html-libdecnumber
24472 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24473 r=`${PWD_COMMAND}`; export r; \
24474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24475 $(HOST_EXPORTS) \
24476 for flag in $(EXTRA_HOST_FLAGS) ; do \
24477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24478 done; \
24479 echo "Doing install-html in libdecnumber"; \
24480 (cd $(HOST_SUBDIR)/libdecnumber && \
24481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24483 "RANLIB=$${RANLIB}" \
24484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24485 install-html) \
24486 || exit 1
24488 @endif libdecnumber
24490 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
24491 maybe-installcheck-libdecnumber:
24492 @if libdecnumber
24493 maybe-installcheck-libdecnumber: installcheck-libdecnumber
24495 installcheck-libdecnumber: \
24496 configure-libdecnumber
24497 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24498 r=`${PWD_COMMAND}`; export r; \
24499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24500 $(HOST_EXPORTS) \
24501 for flag in $(EXTRA_HOST_FLAGS) ; do \
24502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24503 done; \
24504 echo "Doing installcheck in libdecnumber"; \
24505 (cd $(HOST_SUBDIR)/libdecnumber && \
24506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24508 "RANLIB=$${RANLIB}" \
24509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24510 installcheck) \
24511 || exit 1
24513 @endif libdecnumber
24515 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
24516 maybe-mostlyclean-libdecnumber:
24517 @if libdecnumber
24518 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
24520 mostlyclean-libdecnumber:
24521 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 for flag in $(EXTRA_HOST_FLAGS) ; do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 echo "Doing mostlyclean in libdecnumber"; \
24529 (cd $(HOST_SUBDIR)/libdecnumber && \
24530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24532 "RANLIB=$${RANLIB}" \
24533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24534 mostlyclean) \
24535 || exit 1
24537 @endif libdecnumber
24539 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
24540 maybe-clean-libdecnumber:
24541 @if libdecnumber
24542 maybe-clean-libdecnumber: clean-libdecnumber
24544 clean-libdecnumber:
24545 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24546 r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 $(HOST_EXPORTS) \
24549 for flag in $(EXTRA_HOST_FLAGS) ; do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 echo "Doing clean in libdecnumber"; \
24553 (cd $(HOST_SUBDIR)/libdecnumber && \
24554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24556 "RANLIB=$${RANLIB}" \
24557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24558 clean) \
24559 || exit 1
24561 @endif libdecnumber
24563 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
24564 maybe-distclean-libdecnumber:
24565 @if libdecnumber
24566 maybe-distclean-libdecnumber: distclean-libdecnumber
24568 distclean-libdecnumber:
24569 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24570 r=`${PWD_COMMAND}`; export r; \
24571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24572 $(HOST_EXPORTS) \
24573 for flag in $(EXTRA_HOST_FLAGS) ; do \
24574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24575 done; \
24576 echo "Doing distclean in libdecnumber"; \
24577 (cd $(HOST_SUBDIR)/libdecnumber && \
24578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24580 "RANLIB=$${RANLIB}" \
24581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24582 distclean) \
24583 || exit 1
24585 @endif libdecnumber
24587 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
24588 maybe-maintainer-clean-libdecnumber:
24589 @if libdecnumber
24590 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
24592 maintainer-clean-libdecnumber:
24593 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24594 r=`${PWD_COMMAND}`; export r; \
24595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24596 $(HOST_EXPORTS) \
24597 for flag in $(EXTRA_HOST_FLAGS) ; do \
24598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24599 done; \
24600 echo "Doing maintainer-clean in libdecnumber"; \
24601 (cd $(HOST_SUBDIR)/libdecnumber && \
24602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24604 "RANLIB=$${RANLIB}" \
24605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24606 maintainer-clean) \
24607 || exit 1
24609 @endif libdecnumber
24613 .PHONY: configure-libgui maybe-configure-libgui
24614 maybe-configure-libgui:
24615 @if gcc-bootstrap
24616 configure-libgui: stage_current
24617 @endif gcc-bootstrap
24618 @if libgui
24619 maybe-configure-libgui: configure-libgui
24620 configure-libgui:
24621 @: $(MAKE); $(unstage)
24622 @r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
24625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
24626 $(HOST_EXPORTS) \
24627 echo Configuring in $(HOST_SUBDIR)/libgui; \
24628 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
24629 case $(srcdir) in \
24630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24631 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
24632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24633 esac; \
24634 module_srcdir=libgui; \
24635 $(SHELL) \
24636 $$s/$$module_srcdir/configure \
24637 --srcdir=$${topdir}/$$module_srcdir \
24638 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24639 --target=${target_alias} \
24640 || exit 1
24641 @endif libgui
24647 .PHONY: all-libgui maybe-all-libgui
24648 maybe-all-libgui:
24649 @if gcc-bootstrap
24650 all-libgui: stage_current
24651 @endif gcc-bootstrap
24652 @if libgui
24653 TARGET-libgui=all
24654 maybe-all-libgui: all-libgui
24655 all-libgui: configure-libgui
24656 @: $(MAKE); $(unstage)
24657 @r=`${PWD_COMMAND}`; export r; \
24658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24659 $(HOST_EXPORTS) \
24660 (cd $(HOST_SUBDIR)/libgui && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24662 $(TARGET-libgui))
24663 @endif libgui
24668 .PHONY: check-libgui maybe-check-libgui
24669 maybe-check-libgui:
24670 @if libgui
24671 maybe-check-libgui: check-libgui
24673 check-libgui:
24674 @: $(MAKE); $(unstage)
24675 @r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 (cd $(HOST_SUBDIR)/libgui && \
24679 $(MAKE) $(FLAGS_TO_PASS) check)
24681 @endif libgui
24683 .PHONY: install-libgui maybe-install-libgui
24684 maybe-install-libgui:
24685 @if libgui
24686 maybe-install-libgui: install-libgui
24688 install-libgui: installdirs
24689 @: $(MAKE); $(unstage)
24690 @r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(HOST_EXPORTS) \
24693 (cd $(HOST_SUBDIR)/libgui && \
24694 $(MAKE) $(FLAGS_TO_PASS) install)
24696 @endif libgui
24698 .PHONY: install-strip-libgui maybe-install-strip-libgui
24699 maybe-install-strip-libgui:
24700 @if libgui
24701 maybe-install-strip-libgui: install-strip-libgui
24703 install-strip-libgui: installdirs
24704 @: $(MAKE); $(unstage)
24705 @r=`${PWD_COMMAND}`; export r; \
24706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(HOST_EXPORTS) \
24708 (cd $(HOST_SUBDIR)/libgui && \
24709 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24711 @endif libgui
24713 # Other targets (info, dvi, pdf, etc.)
24715 .PHONY: maybe-info-libgui info-libgui
24716 maybe-info-libgui:
24717 @if libgui
24718 maybe-info-libgui: info-libgui
24720 info-libgui: \
24721 configure-libgui
24722 @: $(MAKE); $(unstage)
24723 @[ -f ./libgui/Makefile ] || exit 0; \
24724 r=`${PWD_COMMAND}`; export r; \
24725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24726 $(HOST_EXPORTS) \
24727 for flag in $(EXTRA_HOST_FLAGS) ; do \
24728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24729 done; \
24730 echo "Doing info in libgui"; \
24731 (cd $(HOST_SUBDIR)/libgui && \
24732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24734 "RANLIB=$${RANLIB}" \
24735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24736 info) \
24737 || exit 1
24739 @endif libgui
24741 .PHONY: maybe-dvi-libgui dvi-libgui
24742 maybe-dvi-libgui:
24743 @if libgui
24744 maybe-dvi-libgui: dvi-libgui
24746 dvi-libgui: \
24747 configure-libgui
24748 @: $(MAKE); $(unstage)
24749 @[ -f ./libgui/Makefile ] || exit 0; \
24750 r=`${PWD_COMMAND}`; export r; \
24751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24752 $(HOST_EXPORTS) \
24753 for flag in $(EXTRA_HOST_FLAGS) ; do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 echo "Doing dvi in libgui"; \
24757 (cd $(HOST_SUBDIR)/libgui && \
24758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24760 "RANLIB=$${RANLIB}" \
24761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24762 dvi) \
24763 || exit 1
24765 @endif libgui
24767 .PHONY: maybe-pdf-libgui pdf-libgui
24768 maybe-pdf-libgui:
24769 @if libgui
24770 maybe-pdf-libgui: pdf-libgui
24772 pdf-libgui: \
24773 configure-libgui
24774 @: $(MAKE); $(unstage)
24775 @[ -f ./libgui/Makefile ] || exit 0; \
24776 r=`${PWD_COMMAND}`; export r; \
24777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24778 $(HOST_EXPORTS) \
24779 for flag in $(EXTRA_HOST_FLAGS) ; do \
24780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24781 done; \
24782 echo "Doing pdf in libgui"; \
24783 (cd $(HOST_SUBDIR)/libgui && \
24784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24786 "RANLIB=$${RANLIB}" \
24787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24788 pdf) \
24789 || exit 1
24791 @endif libgui
24793 .PHONY: maybe-html-libgui html-libgui
24794 maybe-html-libgui:
24795 @if libgui
24796 maybe-html-libgui: html-libgui
24798 html-libgui: \
24799 configure-libgui
24800 @: $(MAKE); $(unstage)
24801 @[ -f ./libgui/Makefile ] || exit 0; \
24802 r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 $(HOST_EXPORTS) \
24805 for flag in $(EXTRA_HOST_FLAGS) ; do \
24806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24807 done; \
24808 echo "Doing html in libgui"; \
24809 (cd $(HOST_SUBDIR)/libgui && \
24810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24812 "RANLIB=$${RANLIB}" \
24813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24814 html) \
24815 || exit 1
24817 @endif libgui
24819 .PHONY: maybe-TAGS-libgui TAGS-libgui
24820 maybe-TAGS-libgui:
24821 @if libgui
24822 maybe-TAGS-libgui: TAGS-libgui
24824 TAGS-libgui: \
24825 configure-libgui
24826 @: $(MAKE); $(unstage)
24827 @[ -f ./libgui/Makefile ] || exit 0; \
24828 r=`${PWD_COMMAND}`; export r; \
24829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24830 $(HOST_EXPORTS) \
24831 for flag in $(EXTRA_HOST_FLAGS) ; do \
24832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24833 done; \
24834 echo "Doing TAGS in libgui"; \
24835 (cd $(HOST_SUBDIR)/libgui && \
24836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24838 "RANLIB=$${RANLIB}" \
24839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24840 TAGS) \
24841 || exit 1
24843 @endif libgui
24845 .PHONY: maybe-install-info-libgui install-info-libgui
24846 maybe-install-info-libgui:
24847 @if libgui
24848 maybe-install-info-libgui: install-info-libgui
24850 install-info-libgui: \
24851 configure-libgui \
24852 info-libgui
24853 @: $(MAKE); $(unstage)
24854 @[ -f ./libgui/Makefile ] || exit 0; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 for flag in $(EXTRA_HOST_FLAGS) ; do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860 done; \
24861 echo "Doing install-info in libgui"; \
24862 (cd $(HOST_SUBDIR)/libgui && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24867 install-info) \
24868 || exit 1
24870 @endif libgui
24872 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
24873 maybe-install-pdf-libgui:
24874 @if libgui
24875 maybe-install-pdf-libgui: install-pdf-libgui
24877 install-pdf-libgui: \
24878 configure-libgui \
24879 pdf-libgui
24880 @: $(MAKE); $(unstage)
24881 @[ -f ./libgui/Makefile ] || exit 0; \
24882 r=`${PWD_COMMAND}`; export r; \
24883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24884 $(HOST_EXPORTS) \
24885 for flag in $(EXTRA_HOST_FLAGS) ; do \
24886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24887 done; \
24888 echo "Doing install-pdf in libgui"; \
24889 (cd $(HOST_SUBDIR)/libgui && \
24890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24892 "RANLIB=$${RANLIB}" \
24893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24894 install-pdf) \
24895 || exit 1
24897 @endif libgui
24899 .PHONY: maybe-install-html-libgui install-html-libgui
24900 maybe-install-html-libgui:
24901 @if libgui
24902 maybe-install-html-libgui: install-html-libgui
24904 install-html-libgui: \
24905 configure-libgui \
24906 html-libgui
24907 @: $(MAKE); $(unstage)
24908 @[ -f ./libgui/Makefile ] || exit 0; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(HOST_EXPORTS) \
24912 for flag in $(EXTRA_HOST_FLAGS) ; do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24914 done; \
24915 echo "Doing install-html in libgui"; \
24916 (cd $(HOST_SUBDIR)/libgui && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24921 install-html) \
24922 || exit 1
24924 @endif libgui
24926 .PHONY: maybe-installcheck-libgui installcheck-libgui
24927 maybe-installcheck-libgui:
24928 @if libgui
24929 maybe-installcheck-libgui: installcheck-libgui
24931 installcheck-libgui: \
24932 configure-libgui
24933 @: $(MAKE); $(unstage)
24934 @[ -f ./libgui/Makefile ] || exit 0; \
24935 r=`${PWD_COMMAND}`; export r; \
24936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937 $(HOST_EXPORTS) \
24938 for flag in $(EXTRA_HOST_FLAGS) ; do \
24939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24940 done; \
24941 echo "Doing installcheck in libgui"; \
24942 (cd $(HOST_SUBDIR)/libgui && \
24943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24945 "RANLIB=$${RANLIB}" \
24946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24947 installcheck) \
24948 || exit 1
24950 @endif libgui
24952 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
24953 maybe-mostlyclean-libgui:
24954 @if libgui
24955 maybe-mostlyclean-libgui: mostlyclean-libgui
24957 mostlyclean-libgui:
24958 @: $(MAKE); $(unstage)
24959 @[ -f ./libgui/Makefile ] || exit 0; \
24960 r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 for flag in $(EXTRA_HOST_FLAGS) ; do \
24964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24965 done; \
24966 echo "Doing mostlyclean in libgui"; \
24967 (cd $(HOST_SUBDIR)/libgui && \
24968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24970 "RANLIB=$${RANLIB}" \
24971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24972 mostlyclean) \
24973 || exit 1
24975 @endif libgui
24977 .PHONY: maybe-clean-libgui clean-libgui
24978 maybe-clean-libgui:
24979 @if libgui
24980 maybe-clean-libgui: clean-libgui
24982 clean-libgui:
24983 @: $(MAKE); $(unstage)
24984 @[ -f ./libgui/Makefile ] || exit 0; \
24985 r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(HOST_EXPORTS) \
24988 for flag in $(EXTRA_HOST_FLAGS) ; do \
24989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24990 done; \
24991 echo "Doing clean in libgui"; \
24992 (cd $(HOST_SUBDIR)/libgui && \
24993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24995 "RANLIB=$${RANLIB}" \
24996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24997 clean) \
24998 || exit 1
25000 @endif libgui
25002 .PHONY: maybe-distclean-libgui distclean-libgui
25003 maybe-distclean-libgui:
25004 @if libgui
25005 maybe-distclean-libgui: distclean-libgui
25007 distclean-libgui:
25008 @: $(MAKE); $(unstage)
25009 @[ -f ./libgui/Makefile ] || exit 0; \
25010 r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 for flag in $(EXTRA_HOST_FLAGS) ; do \
25014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25015 done; \
25016 echo "Doing distclean in libgui"; \
25017 (cd $(HOST_SUBDIR)/libgui && \
25018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25020 "RANLIB=$${RANLIB}" \
25021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25022 distclean) \
25023 || exit 1
25025 @endif libgui
25027 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
25028 maybe-maintainer-clean-libgui:
25029 @if libgui
25030 maybe-maintainer-clean-libgui: maintainer-clean-libgui
25032 maintainer-clean-libgui:
25033 @: $(MAKE); $(unstage)
25034 @[ -f ./libgui/Makefile ] || exit 0; \
25035 r=`${PWD_COMMAND}`; export r; \
25036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25037 $(HOST_EXPORTS) \
25038 for flag in $(EXTRA_HOST_FLAGS) ; do \
25039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25040 done; \
25041 echo "Doing maintainer-clean in libgui"; \
25042 (cd $(HOST_SUBDIR)/libgui && \
25043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25045 "RANLIB=$${RANLIB}" \
25046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25047 maintainer-clean) \
25048 || exit 1
25050 @endif libgui
25054 .PHONY: configure-libiberty maybe-configure-libiberty
25055 maybe-configure-libiberty:
25056 @if gcc-bootstrap
25057 configure-libiberty: stage_current
25058 @endif gcc-bootstrap
25059 @if libiberty
25060 maybe-configure-libiberty: configure-libiberty
25061 configure-libiberty:
25062 @r=`${PWD_COMMAND}`; export r; \
25063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25064 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25066 $(HOST_EXPORTS) \
25067 echo Configuring in $(HOST_SUBDIR)/libiberty; \
25068 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
25069 case $(srcdir) in \
25070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25071 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25073 esac; \
25074 module_srcdir=libiberty; \
25075 $(SHELL) \
25076 $$s/$$module_srcdir/configure \
25077 --srcdir=$${topdir}/$$module_srcdir \
25078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25079 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
25080 || exit 1
25081 @endif libiberty
25085 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
25086 maybe-configure-stage1-libiberty:
25087 @if libiberty-bootstrap
25088 maybe-configure-stage1-libiberty: configure-stage1-libiberty
25089 configure-stage1-libiberty:
25090 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25092 @r=`${PWD_COMMAND}`; export r; \
25093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25094 TFLAGS="$(STAGE1_TFLAGS)"; \
25095 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25096 $(HOST_EXPORTS) \
25097 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25098 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25099 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25100 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
25101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25102 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25103 case $(srcdir) in \
25104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25105 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25107 esac; \
25108 module_srcdir=libiberty; \
25109 $(SHELL) $$s/$$module_srcdir/configure \
25110 --srcdir=$${topdir}/$$module_srcdir \
25111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25112 --target=${target_alias} \
25114 $(STAGE1_CONFIGURE_FLAGS) \
25115 @extra_host_libiberty_configure_flags@
25116 @endif libiberty-bootstrap
25118 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
25119 maybe-configure-stage2-libiberty:
25120 @if libiberty-bootstrap
25121 maybe-configure-stage2-libiberty: configure-stage2-libiberty
25122 configure-stage2-libiberty:
25123 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25125 @r=`${PWD_COMMAND}`; export r; \
25126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25127 TFLAGS="$(STAGE2_TFLAGS)"; \
25128 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25129 $(HOST_EXPORTS) \
25130 $(POSTSTAGE1_HOST_EXPORTS) \
25131 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25132 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25133 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25134 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
25135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25136 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25137 case $(srcdir) in \
25138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25139 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25141 esac; \
25142 module_srcdir=libiberty; \
25143 $(SHELL) $$s/$$module_srcdir/configure \
25144 --srcdir=$${topdir}/$$module_srcdir \
25145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25146 --target=${target_alias} \
25147 --with-build-libsubdir=$(HOST_SUBDIR) \
25148 $(STAGE2_CONFIGURE_FLAGS) \
25149 @extra_host_libiberty_configure_flags@
25150 @endif libiberty-bootstrap
25152 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
25153 maybe-configure-stage3-libiberty:
25154 @if libiberty-bootstrap
25155 maybe-configure-stage3-libiberty: configure-stage3-libiberty
25156 configure-stage3-libiberty:
25157 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25159 @r=`${PWD_COMMAND}`; export r; \
25160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25161 TFLAGS="$(STAGE3_TFLAGS)"; \
25162 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25163 $(HOST_EXPORTS) \
25164 $(POSTSTAGE1_HOST_EXPORTS) \
25165 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25166 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25167 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25168 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
25169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25170 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25171 case $(srcdir) in \
25172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25173 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25175 esac; \
25176 module_srcdir=libiberty; \
25177 $(SHELL) $$s/$$module_srcdir/configure \
25178 --srcdir=$${topdir}/$$module_srcdir \
25179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25180 --target=${target_alias} \
25181 --with-build-libsubdir=$(HOST_SUBDIR) \
25182 $(STAGE3_CONFIGURE_FLAGS) \
25183 @extra_host_libiberty_configure_flags@
25184 @endif libiberty-bootstrap
25186 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
25187 maybe-configure-stage4-libiberty:
25188 @if libiberty-bootstrap
25189 maybe-configure-stage4-libiberty: configure-stage4-libiberty
25190 configure-stage4-libiberty:
25191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25193 @r=`${PWD_COMMAND}`; export r; \
25194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25195 TFLAGS="$(STAGE4_TFLAGS)"; \
25196 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25197 $(HOST_EXPORTS) \
25198 $(POSTSTAGE1_HOST_EXPORTS) \
25199 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25200 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25201 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25202 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
25203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25204 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25205 case $(srcdir) in \
25206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25207 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25209 esac; \
25210 module_srcdir=libiberty; \
25211 $(SHELL) $$s/$$module_srcdir/configure \
25212 --srcdir=$${topdir}/$$module_srcdir \
25213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25214 --target=${target_alias} \
25215 --with-build-libsubdir=$(HOST_SUBDIR) \
25216 $(STAGE4_CONFIGURE_FLAGS) \
25217 @extra_host_libiberty_configure_flags@
25218 @endif libiberty-bootstrap
25220 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
25221 maybe-configure-stageprofile-libiberty:
25222 @if libiberty-bootstrap
25223 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
25224 configure-stageprofile-libiberty:
25225 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25227 @r=`${PWD_COMMAND}`; export r; \
25228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25230 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25231 $(HOST_EXPORTS) \
25232 $(POSTSTAGE1_HOST_EXPORTS) \
25233 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25234 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25235 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25236 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
25237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25238 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25239 case $(srcdir) in \
25240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25241 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25243 esac; \
25244 module_srcdir=libiberty; \
25245 $(SHELL) $$s/$$module_srcdir/configure \
25246 --srcdir=$${topdir}/$$module_srcdir \
25247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25248 --target=${target_alias} \
25249 --with-build-libsubdir=$(HOST_SUBDIR) \
25250 $(STAGEprofile_CONFIGURE_FLAGS) \
25251 @extra_host_libiberty_configure_flags@
25252 @endif libiberty-bootstrap
25254 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
25255 maybe-configure-stagefeedback-libiberty:
25256 @if libiberty-bootstrap
25257 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
25258 configure-stagefeedback-libiberty:
25259 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25261 @r=`${PWD_COMMAND}`; export r; \
25262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25263 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25264 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25265 $(HOST_EXPORTS) \
25266 $(POSTSTAGE1_HOST_EXPORTS) \
25267 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25268 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25269 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25270 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
25271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25272 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25273 case $(srcdir) in \
25274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25275 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25277 esac; \
25278 module_srcdir=libiberty; \
25279 $(SHELL) $$s/$$module_srcdir/configure \
25280 --srcdir=$${topdir}/$$module_srcdir \
25281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25282 --target=${target_alias} \
25283 --with-build-libsubdir=$(HOST_SUBDIR) \
25284 $(STAGEfeedback_CONFIGURE_FLAGS) \
25285 @extra_host_libiberty_configure_flags@
25286 @endif libiberty-bootstrap
25288 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
25289 maybe-configure-stageautoprofile-libiberty:
25290 @if libiberty-bootstrap
25291 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25292 configure-stageautoprofile-libiberty:
25293 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25295 @r=`${PWD_COMMAND}`; export r; \
25296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25297 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25298 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25299 $(HOST_EXPORTS) \
25300 $(POSTSTAGE1_HOST_EXPORTS) \
25301 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25302 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25303 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25304 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
25305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25306 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25307 case $(srcdir) in \
25308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25309 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25311 esac; \
25312 module_srcdir=libiberty; \
25313 $(SHELL) $$s/$$module_srcdir/configure \
25314 --srcdir=$${topdir}/$$module_srcdir \
25315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25316 --target=${target_alias} \
25317 --with-build-libsubdir=$(HOST_SUBDIR) \
25318 $(STAGEautoprofile_CONFIGURE_FLAGS) \
25319 @extra_host_libiberty_configure_flags@
25320 @endif libiberty-bootstrap
25322 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
25323 maybe-configure-stageautofeedback-libiberty:
25324 @if libiberty-bootstrap
25325 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25326 configure-stageautofeedback-libiberty:
25327 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25329 @r=`${PWD_COMMAND}`; export r; \
25330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25331 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25332 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25333 $(HOST_EXPORTS) \
25334 $(POSTSTAGE1_HOST_EXPORTS) \
25335 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25336 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25337 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25338 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
25339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25340 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25341 case $(srcdir) in \
25342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25343 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25345 esac; \
25346 module_srcdir=libiberty; \
25347 $(SHELL) $$s/$$module_srcdir/configure \
25348 --srcdir=$${topdir}/$$module_srcdir \
25349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25350 --target=${target_alias} \
25351 --with-build-libsubdir=$(HOST_SUBDIR) \
25352 $(STAGEautofeedback_CONFIGURE_FLAGS) \
25353 @extra_host_libiberty_configure_flags@
25354 @endif libiberty-bootstrap
25360 .PHONY: all-libiberty maybe-all-libiberty
25361 maybe-all-libiberty:
25362 @if gcc-bootstrap
25363 all-libiberty: stage_current
25364 @endif gcc-bootstrap
25365 @if libiberty
25366 TARGET-libiberty=all
25367 maybe-all-libiberty: all-libiberty
25368 all-libiberty: configure-libiberty
25369 @r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 $(HOST_EXPORTS) \
25372 (cd $(HOST_SUBDIR)/libiberty && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25374 $(TARGET-libiberty))
25375 @endif libiberty
25379 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
25380 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
25381 maybe-all-stage1-libiberty:
25382 maybe-clean-stage1-libiberty:
25383 @if libiberty-bootstrap
25384 maybe-all-stage1-libiberty: all-stage1-libiberty
25385 all-stage1: all-stage1-libiberty
25386 TARGET-stage1-libiberty = $(TARGET-libiberty)
25387 all-stage1-libiberty: configure-stage1-libiberty
25388 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25389 @r=`${PWD_COMMAND}`; export r; \
25390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25391 TFLAGS="$(STAGE1_TFLAGS)"; \
25392 $(HOST_EXPORTS) \
25393 cd $(HOST_SUBDIR)/libiberty && \
25395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25396 CFLAGS="$(STAGE1_CFLAGS)" \
25397 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25398 LIBCFLAGS="$(LIBCFLAGS)" \
25399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25402 $(EXTRA_HOST_FLAGS) \
25403 $(STAGE1_FLAGS_TO_PASS) \
25404 TFLAGS="$(STAGE1_TFLAGS)" \
25405 $(TARGET-stage1-libiberty)
25407 maybe-clean-stage1-libiberty: clean-stage1-libiberty
25408 clean-stage1: clean-stage1-libiberty
25409 clean-stage1-libiberty:
25410 @if [ $(current_stage) = stage1 ]; then \
25411 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25412 else \
25413 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
25414 $(MAKE) stage1-start; \
25415 fi; \
25416 cd $(HOST_SUBDIR)/libiberty && \
25417 $(MAKE) $(EXTRA_HOST_FLAGS) \
25418 $(STAGE1_FLAGS_TO_PASS) clean
25419 @endif libiberty-bootstrap
25422 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
25423 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
25424 maybe-all-stage2-libiberty:
25425 maybe-clean-stage2-libiberty:
25426 @if libiberty-bootstrap
25427 maybe-all-stage2-libiberty: all-stage2-libiberty
25428 all-stage2: all-stage2-libiberty
25429 TARGET-stage2-libiberty = $(TARGET-libiberty)
25430 all-stage2-libiberty: configure-stage2-libiberty
25431 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25432 @r=`${PWD_COMMAND}`; export r; \
25433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25434 TFLAGS="$(STAGE2_TFLAGS)"; \
25435 $(HOST_EXPORTS) \
25436 $(POSTSTAGE1_HOST_EXPORTS) \
25437 cd $(HOST_SUBDIR)/libiberty && \
25439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25440 CFLAGS="$(STAGE2_CFLAGS)" \
25441 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25442 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25447 TFLAGS="$(STAGE2_TFLAGS)" \
25448 $(TARGET-stage2-libiberty)
25450 maybe-clean-stage2-libiberty: clean-stage2-libiberty
25451 clean-stage2: clean-stage2-libiberty
25452 clean-stage2-libiberty:
25453 @if [ $(current_stage) = stage2 ]; then \
25454 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25455 else \
25456 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
25457 $(MAKE) stage2-start; \
25458 fi; \
25459 cd $(HOST_SUBDIR)/libiberty && \
25460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25461 @endif libiberty-bootstrap
25464 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
25465 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
25466 maybe-all-stage3-libiberty:
25467 maybe-clean-stage3-libiberty:
25468 @if libiberty-bootstrap
25469 maybe-all-stage3-libiberty: all-stage3-libiberty
25470 all-stage3: all-stage3-libiberty
25471 TARGET-stage3-libiberty = $(TARGET-libiberty)
25472 all-stage3-libiberty: configure-stage3-libiberty
25473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25474 @r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 TFLAGS="$(STAGE3_TFLAGS)"; \
25477 $(HOST_EXPORTS) \
25478 $(POSTSTAGE1_HOST_EXPORTS) \
25479 cd $(HOST_SUBDIR)/libiberty && \
25481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25482 CFLAGS="$(STAGE3_CFLAGS)" \
25483 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25484 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25489 TFLAGS="$(STAGE3_TFLAGS)" \
25490 $(TARGET-stage3-libiberty)
25492 maybe-clean-stage3-libiberty: clean-stage3-libiberty
25493 clean-stage3: clean-stage3-libiberty
25494 clean-stage3-libiberty:
25495 @if [ $(current_stage) = stage3 ]; then \
25496 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25497 else \
25498 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
25499 $(MAKE) stage3-start; \
25500 fi; \
25501 cd $(HOST_SUBDIR)/libiberty && \
25502 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25503 @endif libiberty-bootstrap
25506 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
25507 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
25508 maybe-all-stage4-libiberty:
25509 maybe-clean-stage4-libiberty:
25510 @if libiberty-bootstrap
25511 maybe-all-stage4-libiberty: all-stage4-libiberty
25512 all-stage4: all-stage4-libiberty
25513 TARGET-stage4-libiberty = $(TARGET-libiberty)
25514 all-stage4-libiberty: configure-stage4-libiberty
25515 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25516 @r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 TFLAGS="$(STAGE4_TFLAGS)"; \
25519 $(HOST_EXPORTS) \
25520 $(POSTSTAGE1_HOST_EXPORTS) \
25521 cd $(HOST_SUBDIR)/libiberty && \
25523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25524 CFLAGS="$(STAGE4_CFLAGS)" \
25525 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25526 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25530 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25531 TFLAGS="$(STAGE4_TFLAGS)" \
25532 $(TARGET-stage4-libiberty)
25534 maybe-clean-stage4-libiberty: clean-stage4-libiberty
25535 clean-stage4: clean-stage4-libiberty
25536 clean-stage4-libiberty:
25537 @if [ $(current_stage) = stage4 ]; then \
25538 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25539 else \
25540 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
25541 $(MAKE) stage4-start; \
25542 fi; \
25543 cd $(HOST_SUBDIR)/libiberty && \
25544 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25545 @endif libiberty-bootstrap
25548 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
25549 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
25550 maybe-all-stageprofile-libiberty:
25551 maybe-clean-stageprofile-libiberty:
25552 @if libiberty-bootstrap
25553 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
25554 all-stageprofile: all-stageprofile-libiberty
25555 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
25556 all-stageprofile-libiberty: configure-stageprofile-libiberty
25557 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25558 @r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25561 $(HOST_EXPORTS) \
25562 $(POSTSTAGE1_HOST_EXPORTS) \
25563 cd $(HOST_SUBDIR)/libiberty && \
25565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25566 CFLAGS="$(STAGEprofile_CFLAGS)" \
25567 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25568 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25572 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25573 TFLAGS="$(STAGEprofile_TFLAGS)" \
25574 $(TARGET-stageprofile-libiberty)
25576 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
25577 clean-stageprofile: clean-stageprofile-libiberty
25578 clean-stageprofile-libiberty:
25579 @if [ $(current_stage) = stageprofile ]; then \
25580 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25581 else \
25582 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
25583 $(MAKE) stageprofile-start; \
25584 fi; \
25585 cd $(HOST_SUBDIR)/libiberty && \
25586 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25587 @endif libiberty-bootstrap
25590 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
25591 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
25592 maybe-all-stagefeedback-libiberty:
25593 maybe-clean-stagefeedback-libiberty:
25594 @if libiberty-bootstrap
25595 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
25596 all-stagefeedback: all-stagefeedback-libiberty
25597 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
25598 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
25599 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25600 @r=`${PWD_COMMAND}`; export r; \
25601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25602 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25603 $(HOST_EXPORTS) \
25604 $(POSTSTAGE1_HOST_EXPORTS) \
25605 cd $(HOST_SUBDIR)/libiberty && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25608 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25615 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25616 $(TARGET-stagefeedback-libiberty)
25618 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
25619 clean-stagefeedback: clean-stagefeedback-libiberty
25620 clean-stagefeedback-libiberty:
25621 @if [ $(current_stage) = stagefeedback ]; then \
25622 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25623 else \
25624 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
25625 $(MAKE) stagefeedback-start; \
25626 fi; \
25627 cd $(HOST_SUBDIR)/libiberty && \
25628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25629 @endif libiberty-bootstrap
25632 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
25633 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
25634 maybe-all-stageautoprofile-libiberty:
25635 maybe-clean-stageautoprofile-libiberty:
25636 @if libiberty-bootstrap
25637 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
25638 all-stageautoprofile: all-stageautoprofile-libiberty
25639 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
25640 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25641 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25642 @r=`${PWD_COMMAND}`; export r; \
25643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25644 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25645 $(HOST_EXPORTS) \
25646 $(POSTSTAGE1_HOST_EXPORTS) \
25647 cd $(HOST_SUBDIR)/libiberty && \
25648 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25650 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25651 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25652 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25653 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25654 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25655 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25656 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25657 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25658 $(TARGET-stageautoprofile-libiberty)
25660 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
25661 clean-stageautoprofile: clean-stageautoprofile-libiberty
25662 clean-stageautoprofile-libiberty:
25663 @if [ $(current_stage) = stageautoprofile ]; then \
25664 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25665 else \
25666 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
25667 $(MAKE) stageautoprofile-start; \
25668 fi; \
25669 cd $(HOST_SUBDIR)/libiberty && \
25670 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25671 @endif libiberty-bootstrap
25674 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
25675 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
25676 maybe-all-stageautofeedback-libiberty:
25677 maybe-clean-stageautofeedback-libiberty:
25678 @if libiberty-bootstrap
25679 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
25680 all-stageautofeedback: all-stageautofeedback-libiberty
25681 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
25682 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25683 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25684 @r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25687 $(HOST_EXPORTS) \
25688 $(POSTSTAGE1_HOST_EXPORTS) \
25689 cd $(HOST_SUBDIR)/libiberty && \
25691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25692 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25693 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25694 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25698 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25699 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25700 $(TARGET-stageautofeedback-libiberty)
25702 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
25703 clean-stageautofeedback: clean-stageautofeedback-libiberty
25704 clean-stageautofeedback-libiberty:
25705 @if [ $(current_stage) = stageautofeedback ]; then \
25706 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25707 else \
25708 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
25709 $(MAKE) stageautofeedback-start; \
25710 fi; \
25711 cd $(HOST_SUBDIR)/libiberty && \
25712 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25713 @endif libiberty-bootstrap
25719 .PHONY: check-libiberty maybe-check-libiberty
25720 maybe-check-libiberty:
25721 @if libiberty
25722 maybe-check-libiberty: check-libiberty
25724 check-libiberty:
25725 @: $(MAKE); $(unstage)
25726 @r=`${PWD_COMMAND}`; export r; \
25727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25729 (cd $(HOST_SUBDIR)/libiberty && \
25730 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25732 @endif libiberty
25734 .PHONY: install-libiberty maybe-install-libiberty
25735 maybe-install-libiberty:
25736 @if libiberty
25737 maybe-install-libiberty: install-libiberty
25739 install-libiberty: installdirs
25740 @: $(MAKE); $(unstage)
25741 @r=`${PWD_COMMAND}`; export r; \
25742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25743 $(HOST_EXPORTS) \
25744 (cd $(HOST_SUBDIR)/libiberty && \
25745 $(MAKE) $(FLAGS_TO_PASS) install)
25747 @endif libiberty
25749 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
25750 maybe-install-strip-libiberty:
25751 @if libiberty
25752 maybe-install-strip-libiberty: install-strip-libiberty
25754 install-strip-libiberty: installdirs
25755 @: $(MAKE); $(unstage)
25756 @r=`${PWD_COMMAND}`; export r; \
25757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25758 $(HOST_EXPORTS) \
25759 (cd $(HOST_SUBDIR)/libiberty && \
25760 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25762 @endif libiberty
25764 # Other targets (info, dvi, pdf, etc.)
25766 .PHONY: maybe-info-libiberty info-libiberty
25767 maybe-info-libiberty:
25768 @if libiberty
25769 maybe-info-libiberty: info-libiberty
25771 info-libiberty: \
25772 configure-libiberty
25773 @[ -f ./libiberty/Makefile ] || exit 0; \
25774 r=`${PWD_COMMAND}`; export r; \
25775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25776 $(HOST_EXPORTS) \
25777 for flag in $(EXTRA_HOST_FLAGS) ; do \
25778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25779 done; \
25780 echo "Doing info in libiberty"; \
25781 (cd $(HOST_SUBDIR)/libiberty && \
25782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25784 "RANLIB=$${RANLIB}" \
25785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25786 info) \
25787 || exit 1
25789 @endif libiberty
25791 .PHONY: maybe-dvi-libiberty dvi-libiberty
25792 maybe-dvi-libiberty:
25793 @if libiberty
25794 maybe-dvi-libiberty: dvi-libiberty
25796 dvi-libiberty: \
25797 configure-libiberty
25798 @[ -f ./libiberty/Makefile ] || exit 0; \
25799 r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 for flag in $(EXTRA_HOST_FLAGS) ; do \
25803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25804 done; \
25805 echo "Doing dvi in libiberty"; \
25806 (cd $(HOST_SUBDIR)/libiberty && \
25807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25809 "RANLIB=$${RANLIB}" \
25810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25811 dvi) \
25812 || exit 1
25814 @endif libiberty
25816 .PHONY: maybe-pdf-libiberty pdf-libiberty
25817 maybe-pdf-libiberty:
25818 @if libiberty
25819 maybe-pdf-libiberty: pdf-libiberty
25821 pdf-libiberty: \
25822 configure-libiberty
25823 @[ -f ./libiberty/Makefile ] || exit 0; \
25824 r=`${PWD_COMMAND}`; export r; \
25825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25826 $(HOST_EXPORTS) \
25827 for flag in $(EXTRA_HOST_FLAGS) ; do \
25828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25829 done; \
25830 echo "Doing pdf in libiberty"; \
25831 (cd $(HOST_SUBDIR)/libiberty && \
25832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25834 "RANLIB=$${RANLIB}" \
25835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25836 pdf) \
25837 || exit 1
25839 @endif libiberty
25841 .PHONY: maybe-html-libiberty html-libiberty
25842 maybe-html-libiberty:
25843 @if libiberty
25844 maybe-html-libiberty: html-libiberty
25846 html-libiberty: \
25847 configure-libiberty
25848 @[ -f ./libiberty/Makefile ] || exit 0; \
25849 r=`${PWD_COMMAND}`; export r; \
25850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25851 $(HOST_EXPORTS) \
25852 for flag in $(EXTRA_HOST_FLAGS) ; do \
25853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25854 done; \
25855 echo "Doing html in libiberty"; \
25856 (cd $(HOST_SUBDIR)/libiberty && \
25857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25859 "RANLIB=$${RANLIB}" \
25860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25861 html) \
25862 || exit 1
25864 @endif libiberty
25866 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
25867 maybe-TAGS-libiberty:
25868 @if libiberty
25869 maybe-TAGS-libiberty: TAGS-libiberty
25871 TAGS-libiberty: \
25872 configure-libiberty
25873 @[ -f ./libiberty/Makefile ] || exit 0; \
25874 r=`${PWD_COMMAND}`; export r; \
25875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25876 $(HOST_EXPORTS) \
25877 for flag in $(EXTRA_HOST_FLAGS) ; do \
25878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25879 done; \
25880 echo "Doing TAGS in libiberty"; \
25881 (cd $(HOST_SUBDIR)/libiberty && \
25882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25884 "RANLIB=$${RANLIB}" \
25885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25886 TAGS) \
25887 || exit 1
25889 @endif libiberty
25891 .PHONY: maybe-install-info-libiberty install-info-libiberty
25892 maybe-install-info-libiberty:
25893 @if libiberty
25894 maybe-install-info-libiberty: install-info-libiberty
25896 install-info-libiberty: \
25897 configure-libiberty \
25898 info-libiberty
25899 @[ -f ./libiberty/Makefile ] || exit 0; \
25900 r=`${PWD_COMMAND}`; export r; \
25901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25902 $(HOST_EXPORTS) \
25903 for flag in $(EXTRA_HOST_FLAGS) ; do \
25904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25905 done; \
25906 echo "Doing install-info in libiberty"; \
25907 (cd $(HOST_SUBDIR)/libiberty && \
25908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25910 "RANLIB=$${RANLIB}" \
25911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25912 install-info) \
25913 || exit 1
25915 @endif libiberty
25917 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
25918 maybe-install-pdf-libiberty:
25919 @if libiberty
25920 maybe-install-pdf-libiberty: install-pdf-libiberty
25922 install-pdf-libiberty: \
25923 configure-libiberty \
25924 pdf-libiberty
25925 @[ -f ./libiberty/Makefile ] || exit 0; \
25926 r=`${PWD_COMMAND}`; export r; \
25927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25928 $(HOST_EXPORTS) \
25929 for flag in $(EXTRA_HOST_FLAGS) ; do \
25930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25931 done; \
25932 echo "Doing install-pdf in libiberty"; \
25933 (cd $(HOST_SUBDIR)/libiberty && \
25934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25936 "RANLIB=$${RANLIB}" \
25937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25938 install-pdf) \
25939 || exit 1
25941 @endif libiberty
25943 .PHONY: maybe-install-html-libiberty install-html-libiberty
25944 maybe-install-html-libiberty:
25945 @if libiberty
25946 maybe-install-html-libiberty: install-html-libiberty
25948 install-html-libiberty: \
25949 configure-libiberty \
25950 html-libiberty
25951 @[ -f ./libiberty/Makefile ] || exit 0; \
25952 r=`${PWD_COMMAND}`; export r; \
25953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25954 $(HOST_EXPORTS) \
25955 for flag in $(EXTRA_HOST_FLAGS) ; do \
25956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25957 done; \
25958 echo "Doing install-html in libiberty"; \
25959 (cd $(HOST_SUBDIR)/libiberty && \
25960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25962 "RANLIB=$${RANLIB}" \
25963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25964 install-html) \
25965 || exit 1
25967 @endif libiberty
25969 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
25970 maybe-installcheck-libiberty:
25971 @if libiberty
25972 maybe-installcheck-libiberty: installcheck-libiberty
25974 installcheck-libiberty: \
25975 configure-libiberty
25976 @[ -f ./libiberty/Makefile ] || exit 0; \
25977 r=`${PWD_COMMAND}`; export r; \
25978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25979 $(HOST_EXPORTS) \
25980 for flag in $(EXTRA_HOST_FLAGS) ; do \
25981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25982 done; \
25983 echo "Doing installcheck in libiberty"; \
25984 (cd $(HOST_SUBDIR)/libiberty && \
25985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25987 "RANLIB=$${RANLIB}" \
25988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25989 installcheck) \
25990 || exit 1
25992 @endif libiberty
25994 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
25995 maybe-mostlyclean-libiberty:
25996 @if libiberty
25997 maybe-mostlyclean-libiberty: mostlyclean-libiberty
25999 mostlyclean-libiberty:
26000 @[ -f ./libiberty/Makefile ] || exit 0; \
26001 r=`${PWD_COMMAND}`; export r; \
26002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26003 $(HOST_EXPORTS) \
26004 for flag in $(EXTRA_HOST_FLAGS) ; do \
26005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26006 done; \
26007 echo "Doing mostlyclean in libiberty"; \
26008 (cd $(HOST_SUBDIR)/libiberty && \
26009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26011 "RANLIB=$${RANLIB}" \
26012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26013 mostlyclean) \
26014 || exit 1
26016 @endif libiberty
26018 .PHONY: maybe-clean-libiberty clean-libiberty
26019 maybe-clean-libiberty:
26020 @if libiberty
26021 maybe-clean-libiberty: clean-libiberty
26023 clean-libiberty:
26024 @[ -f ./libiberty/Makefile ] || exit 0; \
26025 r=`${PWD_COMMAND}`; export r; \
26026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26027 $(HOST_EXPORTS) \
26028 for flag in $(EXTRA_HOST_FLAGS) ; do \
26029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26030 done; \
26031 echo "Doing clean in libiberty"; \
26032 (cd $(HOST_SUBDIR)/libiberty && \
26033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26035 "RANLIB=$${RANLIB}" \
26036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26037 clean) \
26038 || exit 1
26040 @endif libiberty
26042 .PHONY: maybe-distclean-libiberty distclean-libiberty
26043 maybe-distclean-libiberty:
26044 @if libiberty
26045 maybe-distclean-libiberty: distclean-libiberty
26047 distclean-libiberty:
26048 @[ -f ./libiberty/Makefile ] || exit 0; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(HOST_EXPORTS) \
26052 for flag in $(EXTRA_HOST_FLAGS) ; do \
26053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26054 done; \
26055 echo "Doing distclean in libiberty"; \
26056 (cd $(HOST_SUBDIR)/libiberty && \
26057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26059 "RANLIB=$${RANLIB}" \
26060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26061 distclean) \
26062 || exit 1
26064 @endif libiberty
26066 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
26067 maybe-maintainer-clean-libiberty:
26068 @if libiberty
26069 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
26071 maintainer-clean-libiberty:
26072 @[ -f ./libiberty/Makefile ] || exit 0; \
26073 r=`${PWD_COMMAND}`; export r; \
26074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26075 $(HOST_EXPORTS) \
26076 for flag in $(EXTRA_HOST_FLAGS) ; do \
26077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26078 done; \
26079 echo "Doing maintainer-clean in libiberty"; \
26080 (cd $(HOST_SUBDIR)/libiberty && \
26081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26083 "RANLIB=$${RANLIB}" \
26084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26085 maintainer-clean) \
26086 || exit 1
26088 @endif libiberty
26092 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
26093 maybe-configure-libiberty-linker-plugin:
26094 @if gcc-bootstrap
26095 configure-libiberty-linker-plugin: stage_current
26096 @endif gcc-bootstrap
26097 @if libiberty-linker-plugin
26098 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
26099 configure-libiberty-linker-plugin:
26100 @r=`${PWD_COMMAND}`; export r; \
26101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26102 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26104 $(HOST_EXPORTS) \
26105 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26106 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
26107 case $(srcdir) in \
26108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26109 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26111 esac; \
26112 module_srcdir=libiberty; \
26113 $(SHELL) \
26114 $$s/$$module_srcdir/configure \
26115 --srcdir=$${topdir}/$$module_srcdir \
26116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26117 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
26118 || exit 1
26119 @endif libiberty-linker-plugin
26123 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
26124 maybe-configure-stage1-libiberty-linker-plugin:
26125 @if libiberty-linker-plugin-bootstrap
26126 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26127 configure-stage1-libiberty-linker-plugin:
26128 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26130 @r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 TFLAGS="$(STAGE1_TFLAGS)"; \
26133 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26134 $(HOST_EXPORTS) \
26135 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26136 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26137 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26138 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26140 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26141 case $(srcdir) in \
26142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26143 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26145 esac; \
26146 module_srcdir=libiberty; \
26147 $(SHELL) $$s/$$module_srcdir/configure \
26148 --srcdir=$${topdir}/$$module_srcdir \
26149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26150 --target=${target_alias} \
26152 $(STAGE1_CONFIGURE_FLAGS) \
26153 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26154 @endif libiberty-linker-plugin-bootstrap
26156 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
26157 maybe-configure-stage2-libiberty-linker-plugin:
26158 @if libiberty-linker-plugin-bootstrap
26159 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26160 configure-stage2-libiberty-linker-plugin:
26161 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26163 @r=`${PWD_COMMAND}`; export r; \
26164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26165 TFLAGS="$(STAGE2_TFLAGS)"; \
26166 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26167 $(HOST_EXPORTS) \
26168 $(POSTSTAGE1_HOST_EXPORTS) \
26169 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26170 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26171 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26172 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26174 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26175 case $(srcdir) in \
26176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26177 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26179 esac; \
26180 module_srcdir=libiberty; \
26181 $(SHELL) $$s/$$module_srcdir/configure \
26182 --srcdir=$${topdir}/$$module_srcdir \
26183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26184 --target=${target_alias} \
26185 --with-build-libsubdir=$(HOST_SUBDIR) \
26186 $(STAGE2_CONFIGURE_FLAGS) \
26187 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26188 @endif libiberty-linker-plugin-bootstrap
26190 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
26191 maybe-configure-stage3-libiberty-linker-plugin:
26192 @if libiberty-linker-plugin-bootstrap
26193 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26194 configure-stage3-libiberty-linker-plugin:
26195 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26197 @r=`${PWD_COMMAND}`; export r; \
26198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26199 TFLAGS="$(STAGE3_TFLAGS)"; \
26200 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26201 $(HOST_EXPORTS) \
26202 $(POSTSTAGE1_HOST_EXPORTS) \
26203 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26204 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26205 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26206 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26208 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26209 case $(srcdir) in \
26210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26211 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26213 esac; \
26214 module_srcdir=libiberty; \
26215 $(SHELL) $$s/$$module_srcdir/configure \
26216 --srcdir=$${topdir}/$$module_srcdir \
26217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26218 --target=${target_alias} \
26219 --with-build-libsubdir=$(HOST_SUBDIR) \
26220 $(STAGE3_CONFIGURE_FLAGS) \
26221 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26222 @endif libiberty-linker-plugin-bootstrap
26224 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
26225 maybe-configure-stage4-libiberty-linker-plugin:
26226 @if libiberty-linker-plugin-bootstrap
26227 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26228 configure-stage4-libiberty-linker-plugin:
26229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26230 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26231 @r=`${PWD_COMMAND}`; export r; \
26232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26233 TFLAGS="$(STAGE4_TFLAGS)"; \
26234 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26235 $(HOST_EXPORTS) \
26236 $(POSTSTAGE1_HOST_EXPORTS) \
26237 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26238 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26239 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26240 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26242 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26243 case $(srcdir) in \
26244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26245 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26247 esac; \
26248 module_srcdir=libiberty; \
26249 $(SHELL) $$s/$$module_srcdir/configure \
26250 --srcdir=$${topdir}/$$module_srcdir \
26251 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26252 --target=${target_alias} \
26253 --with-build-libsubdir=$(HOST_SUBDIR) \
26254 $(STAGE4_CONFIGURE_FLAGS) \
26255 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26256 @endif libiberty-linker-plugin-bootstrap
26258 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
26259 maybe-configure-stageprofile-libiberty-linker-plugin:
26260 @if libiberty-linker-plugin-bootstrap
26261 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26262 configure-stageprofile-libiberty-linker-plugin:
26263 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26265 @r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26268 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26269 $(HOST_EXPORTS) \
26270 $(POSTSTAGE1_HOST_EXPORTS) \
26271 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26272 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26273 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26274 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26276 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26277 case $(srcdir) in \
26278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26279 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26281 esac; \
26282 module_srcdir=libiberty; \
26283 $(SHELL) $$s/$$module_srcdir/configure \
26284 --srcdir=$${topdir}/$$module_srcdir \
26285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26286 --target=${target_alias} \
26287 --with-build-libsubdir=$(HOST_SUBDIR) \
26288 $(STAGEprofile_CONFIGURE_FLAGS) \
26289 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26290 @endif libiberty-linker-plugin-bootstrap
26292 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
26293 maybe-configure-stagefeedback-libiberty-linker-plugin:
26294 @if libiberty-linker-plugin-bootstrap
26295 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26296 configure-stagefeedback-libiberty-linker-plugin:
26297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26299 @r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26302 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26303 $(HOST_EXPORTS) \
26304 $(POSTSTAGE1_HOST_EXPORTS) \
26305 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26306 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26307 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26308 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26310 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26311 case $(srcdir) in \
26312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26313 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26315 esac; \
26316 module_srcdir=libiberty; \
26317 $(SHELL) $$s/$$module_srcdir/configure \
26318 --srcdir=$${topdir}/$$module_srcdir \
26319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26320 --target=${target_alias} \
26321 --with-build-libsubdir=$(HOST_SUBDIR) \
26322 $(STAGEfeedback_CONFIGURE_FLAGS) \
26323 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26324 @endif libiberty-linker-plugin-bootstrap
26326 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
26327 maybe-configure-stageautoprofile-libiberty-linker-plugin:
26328 @if libiberty-linker-plugin-bootstrap
26329 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26330 configure-stageautoprofile-libiberty-linker-plugin:
26331 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26333 @r=`${PWD_COMMAND}`; export r; \
26334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26335 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26336 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26337 $(HOST_EXPORTS) \
26338 $(POSTSTAGE1_HOST_EXPORTS) \
26339 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26340 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26341 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26342 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26344 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26345 case $(srcdir) in \
26346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26347 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26349 esac; \
26350 module_srcdir=libiberty; \
26351 $(SHELL) $$s/$$module_srcdir/configure \
26352 --srcdir=$${topdir}/$$module_srcdir \
26353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26354 --target=${target_alias} \
26355 --with-build-libsubdir=$(HOST_SUBDIR) \
26356 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26357 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26358 @endif libiberty-linker-plugin-bootstrap
26360 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
26361 maybe-configure-stageautofeedback-libiberty-linker-plugin:
26362 @if libiberty-linker-plugin-bootstrap
26363 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26364 configure-stageautofeedback-libiberty-linker-plugin:
26365 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26367 @r=`${PWD_COMMAND}`; export r; \
26368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26369 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26370 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26371 $(HOST_EXPORTS) \
26372 $(POSTSTAGE1_HOST_EXPORTS) \
26373 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26374 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26375 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26376 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26378 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26379 case $(srcdir) in \
26380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26381 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26383 esac; \
26384 module_srcdir=libiberty; \
26385 $(SHELL) $$s/$$module_srcdir/configure \
26386 --srcdir=$${topdir}/$$module_srcdir \
26387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26388 --target=${target_alias} \
26389 --with-build-libsubdir=$(HOST_SUBDIR) \
26390 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26391 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26392 @endif libiberty-linker-plugin-bootstrap
26398 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
26399 maybe-all-libiberty-linker-plugin:
26400 @if gcc-bootstrap
26401 all-libiberty-linker-plugin: stage_current
26402 @endif gcc-bootstrap
26403 @if libiberty-linker-plugin
26404 TARGET-libiberty-linker-plugin=all
26405 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
26406 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
26407 @r=`${PWD_COMMAND}`; export r; \
26408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26409 $(HOST_EXPORTS) \
26410 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26411 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26412 $(TARGET-libiberty-linker-plugin))
26413 @endif libiberty-linker-plugin
26417 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
26418 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
26419 maybe-all-stage1-libiberty-linker-plugin:
26420 maybe-clean-stage1-libiberty-linker-plugin:
26421 @if libiberty-linker-plugin-bootstrap
26422 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
26423 all-stage1: all-stage1-libiberty-linker-plugin
26424 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26425 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26426 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26427 @r=`${PWD_COMMAND}`; export r; \
26428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26429 TFLAGS="$(STAGE1_TFLAGS)"; \
26430 $(HOST_EXPORTS) \
26431 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26434 CFLAGS="$(STAGE1_CFLAGS)" \
26435 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26436 LIBCFLAGS="$(LIBCFLAGS)" \
26437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26440 $(EXTRA_HOST_FLAGS) \
26441 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26442 TFLAGS="$(STAGE1_TFLAGS)" \
26443 $(TARGET-stage1-libiberty-linker-plugin)
26445 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
26446 clean-stage1: clean-stage1-libiberty-linker-plugin
26447 clean-stage1-libiberty-linker-plugin:
26448 @if [ $(current_stage) = stage1 ]; then \
26449 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26450 else \
26451 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
26452 $(MAKE) stage1-start; \
26453 fi; \
26454 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26455 $(MAKE) $(EXTRA_HOST_FLAGS) \
26456 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26457 @endif libiberty-linker-plugin-bootstrap
26460 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
26461 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
26462 maybe-all-stage2-libiberty-linker-plugin:
26463 maybe-clean-stage2-libiberty-linker-plugin:
26464 @if libiberty-linker-plugin-bootstrap
26465 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
26466 all-stage2: all-stage2-libiberty-linker-plugin
26467 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26468 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26469 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26470 @r=`${PWD_COMMAND}`; export r; \
26471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26472 TFLAGS="$(STAGE2_TFLAGS)"; \
26473 $(HOST_EXPORTS) \
26474 $(POSTSTAGE1_HOST_EXPORTS) \
26475 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26478 CFLAGS="$(STAGE2_CFLAGS)" \
26479 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26480 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26485 TFLAGS="$(STAGE2_TFLAGS)" \
26486 $(TARGET-stage2-libiberty-linker-plugin)
26488 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
26489 clean-stage2: clean-stage2-libiberty-linker-plugin
26490 clean-stage2-libiberty-linker-plugin:
26491 @if [ $(current_stage) = stage2 ]; then \
26492 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26493 else \
26494 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
26495 $(MAKE) stage2-start; \
26496 fi; \
26497 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26499 @endif libiberty-linker-plugin-bootstrap
26502 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
26503 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
26504 maybe-all-stage3-libiberty-linker-plugin:
26505 maybe-clean-stage3-libiberty-linker-plugin:
26506 @if libiberty-linker-plugin-bootstrap
26507 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
26508 all-stage3: all-stage3-libiberty-linker-plugin
26509 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26510 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26511 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26512 @r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 TFLAGS="$(STAGE3_TFLAGS)"; \
26515 $(HOST_EXPORTS) \
26516 $(POSTSTAGE1_HOST_EXPORTS) \
26517 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26520 CFLAGS="$(STAGE3_CFLAGS)" \
26521 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26522 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26526 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26527 TFLAGS="$(STAGE3_TFLAGS)" \
26528 $(TARGET-stage3-libiberty-linker-plugin)
26530 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
26531 clean-stage3: clean-stage3-libiberty-linker-plugin
26532 clean-stage3-libiberty-linker-plugin:
26533 @if [ $(current_stage) = stage3 ]; then \
26534 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26535 else \
26536 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
26537 $(MAKE) stage3-start; \
26538 fi; \
26539 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26540 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26541 @endif libiberty-linker-plugin-bootstrap
26544 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
26545 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
26546 maybe-all-stage4-libiberty-linker-plugin:
26547 maybe-clean-stage4-libiberty-linker-plugin:
26548 @if libiberty-linker-plugin-bootstrap
26549 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
26550 all-stage4: all-stage4-libiberty-linker-plugin
26551 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26552 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26553 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26554 @r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 TFLAGS="$(STAGE4_TFLAGS)"; \
26557 $(HOST_EXPORTS) \
26558 $(POSTSTAGE1_HOST_EXPORTS) \
26559 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26561 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26562 CFLAGS="$(STAGE4_CFLAGS)" \
26563 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26564 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26565 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26566 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26567 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26568 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26569 TFLAGS="$(STAGE4_TFLAGS)" \
26570 $(TARGET-stage4-libiberty-linker-plugin)
26572 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
26573 clean-stage4: clean-stage4-libiberty-linker-plugin
26574 clean-stage4-libiberty-linker-plugin:
26575 @if [ $(current_stage) = stage4 ]; then \
26576 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26577 else \
26578 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
26579 $(MAKE) stage4-start; \
26580 fi; \
26581 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26582 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26583 @endif libiberty-linker-plugin-bootstrap
26586 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
26587 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
26588 maybe-all-stageprofile-libiberty-linker-plugin:
26589 maybe-clean-stageprofile-libiberty-linker-plugin:
26590 @if libiberty-linker-plugin-bootstrap
26591 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
26592 all-stageprofile: all-stageprofile-libiberty-linker-plugin
26593 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26594 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26595 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26596 @r=`${PWD_COMMAND}`; export r; \
26597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26598 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26599 $(HOST_EXPORTS) \
26600 $(POSTSTAGE1_HOST_EXPORTS) \
26601 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26603 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26604 CFLAGS="$(STAGEprofile_CFLAGS)" \
26605 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26606 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26607 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26608 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26609 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26610 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26611 TFLAGS="$(STAGEprofile_TFLAGS)" \
26612 $(TARGET-stageprofile-libiberty-linker-plugin)
26614 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
26615 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
26616 clean-stageprofile-libiberty-linker-plugin:
26617 @if [ $(current_stage) = stageprofile ]; then \
26618 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26619 else \
26620 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26621 $(MAKE) stageprofile-start; \
26622 fi; \
26623 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26624 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26625 @endif libiberty-linker-plugin-bootstrap
26628 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
26629 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
26630 maybe-all-stagefeedback-libiberty-linker-plugin:
26631 maybe-clean-stagefeedback-libiberty-linker-plugin:
26632 @if libiberty-linker-plugin-bootstrap
26633 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
26634 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
26635 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26636 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26637 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26638 @r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26641 $(HOST_EXPORTS) \
26642 $(POSTSTAGE1_HOST_EXPORTS) \
26643 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26645 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26646 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26647 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26648 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26649 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26650 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26651 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26652 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26653 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26654 $(TARGET-stagefeedback-libiberty-linker-plugin)
26656 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
26657 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
26658 clean-stagefeedback-libiberty-linker-plugin:
26659 @if [ $(current_stage) = stagefeedback ]; then \
26660 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26661 else \
26662 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26663 $(MAKE) stagefeedback-start; \
26664 fi; \
26665 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26666 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26667 @endif libiberty-linker-plugin-bootstrap
26670 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
26671 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
26672 maybe-all-stageautoprofile-libiberty-linker-plugin:
26673 maybe-clean-stageautoprofile-libiberty-linker-plugin:
26674 @if libiberty-linker-plugin-bootstrap
26675 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
26676 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
26677 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26678 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26679 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26680 @r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26683 $(HOST_EXPORTS) \
26684 $(POSTSTAGE1_HOST_EXPORTS) \
26685 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26686 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26688 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26689 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26690 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26691 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26692 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26693 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26694 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26695 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26696 $(TARGET-stageautoprofile-libiberty-linker-plugin)
26698 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
26699 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
26700 clean-stageautoprofile-libiberty-linker-plugin:
26701 @if [ $(current_stage) = stageautoprofile ]; then \
26702 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26703 else \
26704 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26705 $(MAKE) stageautoprofile-start; \
26706 fi; \
26707 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26708 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26709 @endif libiberty-linker-plugin-bootstrap
26712 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
26713 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
26714 maybe-all-stageautofeedback-libiberty-linker-plugin:
26715 maybe-clean-stageautofeedback-libiberty-linker-plugin:
26716 @if libiberty-linker-plugin-bootstrap
26717 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
26718 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
26719 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26720 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26721 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26722 @r=`${PWD_COMMAND}`; export r; \
26723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26724 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26725 $(HOST_EXPORTS) \
26726 $(POSTSTAGE1_HOST_EXPORTS) \
26727 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26729 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26730 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
26731 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
26732 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
26733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26737 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
26738 $(TARGET-stageautofeedback-libiberty-linker-plugin)
26740 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
26741 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
26742 clean-stageautofeedback-libiberty-linker-plugin:
26743 @if [ $(current_stage) = stageautofeedback ]; then \
26744 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26745 else \
26746 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26747 $(MAKE) stageautofeedback-start; \
26748 fi; \
26749 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26750 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26751 @endif libiberty-linker-plugin-bootstrap
26757 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
26758 maybe-check-libiberty-linker-plugin:
26759 @if libiberty-linker-plugin
26760 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
26762 check-libiberty-linker-plugin:
26763 @: $(MAKE); $(unstage)
26764 @r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
26767 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26768 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
26770 @endif libiberty-linker-plugin
26772 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
26773 maybe-install-libiberty-linker-plugin:
26774 @if libiberty-linker-plugin
26775 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
26777 install-libiberty-linker-plugin: installdirs
26778 @: $(MAKE); $(unstage)
26779 @r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781 $(HOST_EXPORTS) \
26782 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26783 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
26785 @endif libiberty-linker-plugin
26787 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
26788 maybe-install-strip-libiberty-linker-plugin:
26789 @if libiberty-linker-plugin
26790 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
26792 install-strip-libiberty-linker-plugin: installdirs
26793 @: $(MAKE); $(unstage)
26794 @r=`${PWD_COMMAND}`; export r; \
26795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26796 $(HOST_EXPORTS) \
26797 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26798 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
26800 @endif libiberty-linker-plugin
26802 # Other targets (info, dvi, pdf, etc.)
26804 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
26805 maybe-info-libiberty-linker-plugin:
26806 @if libiberty-linker-plugin
26807 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
26809 info-libiberty-linker-plugin: \
26810 configure-libiberty-linker-plugin
26811 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(HOST_EXPORTS) \
26815 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 echo "Doing info in libiberty-linker-plugin"; \
26819 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26824 info) \
26825 || exit 1
26827 @endif libiberty-linker-plugin
26829 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
26830 maybe-dvi-libiberty-linker-plugin:
26831 @if libiberty-linker-plugin
26832 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
26834 dvi-libiberty-linker-plugin: \
26835 configure-libiberty-linker-plugin
26836 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26837 r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 $(HOST_EXPORTS) \
26840 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26842 done; \
26843 echo "Doing dvi in libiberty-linker-plugin"; \
26844 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26847 "RANLIB=$${RANLIB}" \
26848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26849 dvi) \
26850 || exit 1
26852 @endif libiberty-linker-plugin
26854 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
26855 maybe-pdf-libiberty-linker-plugin:
26856 @if libiberty-linker-plugin
26857 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
26859 pdf-libiberty-linker-plugin: \
26860 configure-libiberty-linker-plugin
26861 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(HOST_EXPORTS) \
26865 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26867 done; \
26868 echo "Doing pdf in libiberty-linker-plugin"; \
26869 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26872 "RANLIB=$${RANLIB}" \
26873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26874 pdf) \
26875 || exit 1
26877 @endif libiberty-linker-plugin
26879 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
26880 maybe-html-libiberty-linker-plugin:
26881 @if libiberty-linker-plugin
26882 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
26884 html-libiberty-linker-plugin: \
26885 configure-libiberty-linker-plugin
26886 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26892 done; \
26893 echo "Doing html in libiberty-linker-plugin"; \
26894 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26899 html) \
26900 || exit 1
26902 @endif libiberty-linker-plugin
26904 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
26905 maybe-TAGS-libiberty-linker-plugin:
26906 @if libiberty-linker-plugin
26907 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
26909 TAGS-libiberty-linker-plugin: \
26910 configure-libiberty-linker-plugin
26911 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 $(HOST_EXPORTS) \
26915 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26917 done; \
26918 echo "Doing TAGS in libiberty-linker-plugin"; \
26919 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26922 "RANLIB=$${RANLIB}" \
26923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26924 TAGS) \
26925 || exit 1
26927 @endif libiberty-linker-plugin
26929 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
26930 maybe-install-info-libiberty-linker-plugin:
26931 @if libiberty-linker-plugin
26932 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
26934 install-info-libiberty-linker-plugin: \
26935 configure-libiberty-linker-plugin \
26936 info-libiberty-linker-plugin
26937 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26938 r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 $(HOST_EXPORTS) \
26941 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26943 done; \
26944 echo "Doing install-info in libiberty-linker-plugin"; \
26945 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26948 "RANLIB=$${RANLIB}" \
26949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26950 install-info) \
26951 || exit 1
26953 @endif libiberty-linker-plugin
26955 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
26956 maybe-install-pdf-libiberty-linker-plugin:
26957 @if libiberty-linker-plugin
26958 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
26960 install-pdf-libiberty-linker-plugin: \
26961 configure-libiberty-linker-plugin \
26962 pdf-libiberty-linker-plugin
26963 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26964 r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(HOST_EXPORTS) \
26967 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26969 done; \
26970 echo "Doing install-pdf in libiberty-linker-plugin"; \
26971 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26974 "RANLIB=$${RANLIB}" \
26975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26976 install-pdf) \
26977 || exit 1
26979 @endif libiberty-linker-plugin
26981 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
26982 maybe-install-html-libiberty-linker-plugin:
26983 @if libiberty-linker-plugin
26984 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
26986 install-html-libiberty-linker-plugin: \
26987 configure-libiberty-linker-plugin \
26988 html-libiberty-linker-plugin
26989 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26990 r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26995 done; \
26996 echo "Doing install-html in libiberty-linker-plugin"; \
26997 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27000 "RANLIB=$${RANLIB}" \
27001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27002 install-html) \
27003 || exit 1
27005 @endif libiberty-linker-plugin
27007 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
27008 maybe-installcheck-libiberty-linker-plugin:
27009 @if libiberty-linker-plugin
27010 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
27012 installcheck-libiberty-linker-plugin: \
27013 configure-libiberty-linker-plugin
27014 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27015 r=`${PWD_COMMAND}`; export r; \
27016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27017 $(HOST_EXPORTS) \
27018 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27020 done; \
27021 echo "Doing installcheck in libiberty-linker-plugin"; \
27022 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27025 "RANLIB=$${RANLIB}" \
27026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27027 installcheck) \
27028 || exit 1
27030 @endif libiberty-linker-plugin
27032 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
27033 maybe-mostlyclean-libiberty-linker-plugin:
27034 @if libiberty-linker-plugin
27035 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
27037 mostlyclean-libiberty-linker-plugin:
27038 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27039 r=`${PWD_COMMAND}`; export r; \
27040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27041 $(HOST_EXPORTS) \
27042 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27044 done; \
27045 echo "Doing mostlyclean in libiberty-linker-plugin"; \
27046 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27049 "RANLIB=$${RANLIB}" \
27050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27051 mostlyclean) \
27052 || exit 1
27054 @endif libiberty-linker-plugin
27056 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
27057 maybe-clean-libiberty-linker-plugin:
27058 @if libiberty-linker-plugin
27059 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
27061 clean-libiberty-linker-plugin:
27062 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27063 r=`${PWD_COMMAND}`; export r; \
27064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27065 $(HOST_EXPORTS) \
27066 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27068 done; \
27069 echo "Doing clean in libiberty-linker-plugin"; \
27070 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27075 clean) \
27076 || exit 1
27078 @endif libiberty-linker-plugin
27080 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
27081 maybe-distclean-libiberty-linker-plugin:
27082 @if libiberty-linker-plugin
27083 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
27085 distclean-libiberty-linker-plugin:
27086 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27087 r=`${PWD_COMMAND}`; export r; \
27088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27089 $(HOST_EXPORTS) \
27090 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27092 done; \
27093 echo "Doing distclean in libiberty-linker-plugin"; \
27094 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27097 "RANLIB=$${RANLIB}" \
27098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27099 distclean) \
27100 || exit 1
27102 @endif libiberty-linker-plugin
27104 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
27105 maybe-maintainer-clean-libiberty-linker-plugin:
27106 @if libiberty-linker-plugin
27107 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
27109 maintainer-clean-libiberty-linker-plugin:
27110 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27111 r=`${PWD_COMMAND}`; export r; \
27112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27113 $(HOST_EXPORTS) \
27114 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27116 done; \
27117 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
27118 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27121 "RANLIB=$${RANLIB}" \
27122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27123 maintainer-clean) \
27124 || exit 1
27126 @endif libiberty-linker-plugin
27130 .PHONY: configure-libiconv maybe-configure-libiconv
27131 maybe-configure-libiconv:
27132 @if gcc-bootstrap
27133 configure-libiconv: stage_current
27134 @endif gcc-bootstrap
27135 @if libiconv
27136 maybe-configure-libiconv: configure-libiconv
27137 configure-libiconv:
27138 @r=`${PWD_COMMAND}`; export r; \
27139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27140 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27142 $(HOST_EXPORTS) \
27143 echo Configuring in $(HOST_SUBDIR)/libiconv; \
27144 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
27145 case $(srcdir) in \
27146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27147 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27149 esac; \
27150 module_srcdir=libiconv; \
27151 $(SHELL) \
27152 $$s/$$module_srcdir/configure \
27153 --srcdir=$${topdir}/$$module_srcdir \
27154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27155 --target=${target_alias} --disable-shared \
27156 || exit 1
27157 @endif libiconv
27161 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
27162 maybe-configure-stage1-libiconv:
27163 @if libiconv-bootstrap
27164 maybe-configure-stage1-libiconv: configure-stage1-libiconv
27165 configure-stage1-libiconv:
27166 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27168 @r=`${PWD_COMMAND}`; export r; \
27169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27170 TFLAGS="$(STAGE1_TFLAGS)"; \
27171 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27172 $(HOST_EXPORTS) \
27173 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27174 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27175 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27176 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
27177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27178 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27179 case $(srcdir) in \
27180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27181 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27183 esac; \
27184 module_srcdir=libiconv; \
27185 $(SHELL) $$s/$$module_srcdir/configure \
27186 --srcdir=$${topdir}/$$module_srcdir \
27187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27188 --target=${target_alias} \
27190 $(STAGE1_CONFIGURE_FLAGS) \
27191 --disable-shared
27192 @endif libiconv-bootstrap
27194 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
27195 maybe-configure-stage2-libiconv:
27196 @if libiconv-bootstrap
27197 maybe-configure-stage2-libiconv: configure-stage2-libiconv
27198 configure-stage2-libiconv:
27199 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27201 @r=`${PWD_COMMAND}`; export r; \
27202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27203 TFLAGS="$(STAGE2_TFLAGS)"; \
27204 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27205 $(HOST_EXPORTS) \
27206 $(POSTSTAGE1_HOST_EXPORTS) \
27207 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27208 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27209 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27210 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
27211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27212 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27213 case $(srcdir) in \
27214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27215 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27217 esac; \
27218 module_srcdir=libiconv; \
27219 $(SHELL) $$s/$$module_srcdir/configure \
27220 --srcdir=$${topdir}/$$module_srcdir \
27221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27222 --target=${target_alias} \
27223 --with-build-libsubdir=$(HOST_SUBDIR) \
27224 $(STAGE2_CONFIGURE_FLAGS) \
27225 --disable-shared
27226 @endif libiconv-bootstrap
27228 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
27229 maybe-configure-stage3-libiconv:
27230 @if libiconv-bootstrap
27231 maybe-configure-stage3-libiconv: configure-stage3-libiconv
27232 configure-stage3-libiconv:
27233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27235 @r=`${PWD_COMMAND}`; export r; \
27236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27237 TFLAGS="$(STAGE3_TFLAGS)"; \
27238 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27239 $(HOST_EXPORTS) \
27240 $(POSTSTAGE1_HOST_EXPORTS) \
27241 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27242 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27243 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27244 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
27245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27246 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27247 case $(srcdir) in \
27248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27249 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27251 esac; \
27252 module_srcdir=libiconv; \
27253 $(SHELL) $$s/$$module_srcdir/configure \
27254 --srcdir=$${topdir}/$$module_srcdir \
27255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27256 --target=${target_alias} \
27257 --with-build-libsubdir=$(HOST_SUBDIR) \
27258 $(STAGE3_CONFIGURE_FLAGS) \
27259 --disable-shared
27260 @endif libiconv-bootstrap
27262 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
27263 maybe-configure-stage4-libiconv:
27264 @if libiconv-bootstrap
27265 maybe-configure-stage4-libiconv: configure-stage4-libiconv
27266 configure-stage4-libiconv:
27267 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27269 @r=`${PWD_COMMAND}`; export r; \
27270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27271 TFLAGS="$(STAGE4_TFLAGS)"; \
27272 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27273 $(HOST_EXPORTS) \
27274 $(POSTSTAGE1_HOST_EXPORTS) \
27275 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27276 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27277 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27278 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
27279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27280 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27281 case $(srcdir) in \
27282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27283 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27285 esac; \
27286 module_srcdir=libiconv; \
27287 $(SHELL) $$s/$$module_srcdir/configure \
27288 --srcdir=$${topdir}/$$module_srcdir \
27289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27290 --target=${target_alias} \
27291 --with-build-libsubdir=$(HOST_SUBDIR) \
27292 $(STAGE4_CONFIGURE_FLAGS) \
27293 --disable-shared
27294 @endif libiconv-bootstrap
27296 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
27297 maybe-configure-stageprofile-libiconv:
27298 @if libiconv-bootstrap
27299 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
27300 configure-stageprofile-libiconv:
27301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27303 @r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27306 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27307 $(HOST_EXPORTS) \
27308 $(POSTSTAGE1_HOST_EXPORTS) \
27309 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27310 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27311 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27312 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
27313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27314 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27315 case $(srcdir) in \
27316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27317 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27319 esac; \
27320 module_srcdir=libiconv; \
27321 $(SHELL) $$s/$$module_srcdir/configure \
27322 --srcdir=$${topdir}/$$module_srcdir \
27323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27324 --target=${target_alias} \
27325 --with-build-libsubdir=$(HOST_SUBDIR) \
27326 $(STAGEprofile_CONFIGURE_FLAGS) \
27327 --disable-shared
27328 @endif libiconv-bootstrap
27330 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
27331 maybe-configure-stagefeedback-libiconv:
27332 @if libiconv-bootstrap
27333 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
27334 configure-stagefeedback-libiconv:
27335 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27337 @r=`${PWD_COMMAND}`; export r; \
27338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27339 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27340 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27341 $(HOST_EXPORTS) \
27342 $(POSTSTAGE1_HOST_EXPORTS) \
27343 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27344 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27345 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27346 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
27347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27348 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27349 case $(srcdir) in \
27350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27351 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27353 esac; \
27354 module_srcdir=libiconv; \
27355 $(SHELL) $$s/$$module_srcdir/configure \
27356 --srcdir=$${topdir}/$$module_srcdir \
27357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27358 --target=${target_alias} \
27359 --with-build-libsubdir=$(HOST_SUBDIR) \
27360 $(STAGEfeedback_CONFIGURE_FLAGS) \
27361 --disable-shared
27362 @endif libiconv-bootstrap
27364 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
27365 maybe-configure-stageautoprofile-libiconv:
27366 @if libiconv-bootstrap
27367 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27368 configure-stageautoprofile-libiconv:
27369 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27371 @r=`${PWD_COMMAND}`; export r; \
27372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27373 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27374 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27375 $(HOST_EXPORTS) \
27376 $(POSTSTAGE1_HOST_EXPORTS) \
27377 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27378 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27379 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27380 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
27381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27382 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27383 case $(srcdir) in \
27384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27385 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27387 esac; \
27388 module_srcdir=libiconv; \
27389 $(SHELL) $$s/$$module_srcdir/configure \
27390 --srcdir=$${topdir}/$$module_srcdir \
27391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27392 --target=${target_alias} \
27393 --with-build-libsubdir=$(HOST_SUBDIR) \
27394 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27395 --disable-shared
27396 @endif libiconv-bootstrap
27398 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
27399 maybe-configure-stageautofeedback-libiconv:
27400 @if libiconv-bootstrap
27401 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27402 configure-stageautofeedback-libiconv:
27403 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27405 @r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27408 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27409 $(HOST_EXPORTS) \
27410 $(POSTSTAGE1_HOST_EXPORTS) \
27411 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27412 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27413 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27414 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
27415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27416 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27417 case $(srcdir) in \
27418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27419 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27421 esac; \
27422 module_srcdir=libiconv; \
27423 $(SHELL) $$s/$$module_srcdir/configure \
27424 --srcdir=$${topdir}/$$module_srcdir \
27425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27426 --target=${target_alias} \
27427 --with-build-libsubdir=$(HOST_SUBDIR) \
27428 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27429 --disable-shared
27430 @endif libiconv-bootstrap
27436 .PHONY: all-libiconv maybe-all-libiconv
27437 maybe-all-libiconv:
27438 @if gcc-bootstrap
27439 all-libiconv: stage_current
27440 @endif gcc-bootstrap
27441 @if libiconv
27442 TARGET-libiconv=all
27443 maybe-all-libiconv: all-libiconv
27444 all-libiconv: configure-libiconv
27445 @r=`${PWD_COMMAND}`; export r; \
27446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27447 $(HOST_EXPORTS) \
27448 (cd $(HOST_SUBDIR)/libiconv && \
27449 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27450 $(TARGET-libiconv))
27451 @endif libiconv
27455 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
27456 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
27457 maybe-all-stage1-libiconv:
27458 maybe-clean-stage1-libiconv:
27459 @if libiconv-bootstrap
27460 maybe-all-stage1-libiconv: all-stage1-libiconv
27461 all-stage1: all-stage1-libiconv
27462 TARGET-stage1-libiconv = $(TARGET-libiconv)
27463 all-stage1-libiconv: configure-stage1-libiconv
27464 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27465 @r=`${PWD_COMMAND}`; export r; \
27466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 TFLAGS="$(STAGE1_TFLAGS)"; \
27468 $(HOST_EXPORTS) \
27469 cd $(HOST_SUBDIR)/libiconv && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27472 CFLAGS="$(STAGE1_CFLAGS)" \
27473 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27474 LIBCFLAGS="$(LIBCFLAGS)" \
27475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27478 $(EXTRA_HOST_FLAGS) \
27479 $(STAGE1_FLAGS_TO_PASS) \
27480 TFLAGS="$(STAGE1_TFLAGS)" \
27481 $(TARGET-stage1-libiconv)
27483 maybe-clean-stage1-libiconv: clean-stage1-libiconv
27484 clean-stage1: clean-stage1-libiconv
27485 clean-stage1-libiconv:
27486 @if [ $(current_stage) = stage1 ]; then \
27487 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27488 else \
27489 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
27490 $(MAKE) stage1-start; \
27491 fi; \
27492 cd $(HOST_SUBDIR)/libiconv && \
27493 $(MAKE) $(EXTRA_HOST_FLAGS) \
27494 $(STAGE1_FLAGS_TO_PASS) clean
27495 @endif libiconv-bootstrap
27498 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
27499 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
27500 maybe-all-stage2-libiconv:
27501 maybe-clean-stage2-libiconv:
27502 @if libiconv-bootstrap
27503 maybe-all-stage2-libiconv: all-stage2-libiconv
27504 all-stage2: all-stage2-libiconv
27505 TARGET-stage2-libiconv = $(TARGET-libiconv)
27506 all-stage2-libiconv: configure-stage2-libiconv
27507 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27508 @r=`${PWD_COMMAND}`; export r; \
27509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27510 TFLAGS="$(STAGE2_TFLAGS)"; \
27511 $(HOST_EXPORTS) \
27512 $(POSTSTAGE1_HOST_EXPORTS) \
27513 cd $(HOST_SUBDIR)/libiconv && \
27515 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27516 CFLAGS="$(STAGE2_CFLAGS)" \
27517 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27518 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27523 TFLAGS="$(STAGE2_TFLAGS)" \
27524 $(TARGET-stage2-libiconv)
27526 maybe-clean-stage2-libiconv: clean-stage2-libiconv
27527 clean-stage2: clean-stage2-libiconv
27528 clean-stage2-libiconv:
27529 @if [ $(current_stage) = stage2 ]; then \
27530 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27531 else \
27532 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
27533 $(MAKE) stage2-start; \
27534 fi; \
27535 cd $(HOST_SUBDIR)/libiconv && \
27536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27537 @endif libiconv-bootstrap
27540 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
27541 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
27542 maybe-all-stage3-libiconv:
27543 maybe-clean-stage3-libiconv:
27544 @if libiconv-bootstrap
27545 maybe-all-stage3-libiconv: all-stage3-libiconv
27546 all-stage3: all-stage3-libiconv
27547 TARGET-stage3-libiconv = $(TARGET-libiconv)
27548 all-stage3-libiconv: configure-stage3-libiconv
27549 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27550 @r=`${PWD_COMMAND}`; export r; \
27551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27552 TFLAGS="$(STAGE3_TFLAGS)"; \
27553 $(HOST_EXPORTS) \
27554 $(POSTSTAGE1_HOST_EXPORTS) \
27555 cd $(HOST_SUBDIR)/libiconv && \
27557 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27558 CFLAGS="$(STAGE3_CFLAGS)" \
27559 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27560 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27561 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27562 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27563 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27564 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27565 TFLAGS="$(STAGE3_TFLAGS)" \
27566 $(TARGET-stage3-libiconv)
27568 maybe-clean-stage3-libiconv: clean-stage3-libiconv
27569 clean-stage3: clean-stage3-libiconv
27570 clean-stage3-libiconv:
27571 @if [ $(current_stage) = stage3 ]; then \
27572 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27573 else \
27574 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
27575 $(MAKE) stage3-start; \
27576 fi; \
27577 cd $(HOST_SUBDIR)/libiconv && \
27578 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27579 @endif libiconv-bootstrap
27582 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
27583 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
27584 maybe-all-stage4-libiconv:
27585 maybe-clean-stage4-libiconv:
27586 @if libiconv-bootstrap
27587 maybe-all-stage4-libiconv: all-stage4-libiconv
27588 all-stage4: all-stage4-libiconv
27589 TARGET-stage4-libiconv = $(TARGET-libiconv)
27590 all-stage4-libiconv: configure-stage4-libiconv
27591 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27592 @r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 TFLAGS="$(STAGE4_TFLAGS)"; \
27595 $(HOST_EXPORTS) \
27596 $(POSTSTAGE1_HOST_EXPORTS) \
27597 cd $(HOST_SUBDIR)/libiconv && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27600 CFLAGS="$(STAGE4_CFLAGS)" \
27601 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27602 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27607 TFLAGS="$(STAGE4_TFLAGS)" \
27608 $(TARGET-stage4-libiconv)
27610 maybe-clean-stage4-libiconv: clean-stage4-libiconv
27611 clean-stage4: clean-stage4-libiconv
27612 clean-stage4-libiconv:
27613 @if [ $(current_stage) = stage4 ]; then \
27614 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27615 else \
27616 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
27617 $(MAKE) stage4-start; \
27618 fi; \
27619 cd $(HOST_SUBDIR)/libiconv && \
27620 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27621 @endif libiconv-bootstrap
27624 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
27625 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
27626 maybe-all-stageprofile-libiconv:
27627 maybe-clean-stageprofile-libiconv:
27628 @if libiconv-bootstrap
27629 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
27630 all-stageprofile: all-stageprofile-libiconv
27631 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
27632 all-stageprofile-libiconv: configure-stageprofile-libiconv
27633 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27634 @r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27636 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27637 $(HOST_EXPORTS) \
27638 $(POSTSTAGE1_HOST_EXPORTS) \
27639 cd $(HOST_SUBDIR)/libiconv && \
27641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27642 CFLAGS="$(STAGEprofile_CFLAGS)" \
27643 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27644 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27649 TFLAGS="$(STAGEprofile_TFLAGS)" \
27650 $(TARGET-stageprofile-libiconv)
27652 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
27653 clean-stageprofile: clean-stageprofile-libiconv
27654 clean-stageprofile-libiconv:
27655 @if [ $(current_stage) = stageprofile ]; then \
27656 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27657 else \
27658 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
27659 $(MAKE) stageprofile-start; \
27660 fi; \
27661 cd $(HOST_SUBDIR)/libiconv && \
27662 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27663 @endif libiconv-bootstrap
27666 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
27667 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
27668 maybe-all-stagefeedback-libiconv:
27669 maybe-clean-stagefeedback-libiconv:
27670 @if libiconv-bootstrap
27671 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
27672 all-stagefeedback: all-stagefeedback-libiconv
27673 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
27674 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
27675 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27676 @r=`${PWD_COMMAND}`; export r; \
27677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27678 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27679 $(HOST_EXPORTS) \
27680 $(POSTSTAGE1_HOST_EXPORTS) \
27681 cd $(HOST_SUBDIR)/libiconv && \
27683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27684 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27685 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27686 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27691 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27692 $(TARGET-stagefeedback-libiconv)
27694 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
27695 clean-stagefeedback: clean-stagefeedback-libiconv
27696 clean-stagefeedback-libiconv:
27697 @if [ $(current_stage) = stagefeedback ]; then \
27698 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27699 else \
27700 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
27701 $(MAKE) stagefeedback-start; \
27702 fi; \
27703 cd $(HOST_SUBDIR)/libiconv && \
27704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27705 @endif libiconv-bootstrap
27708 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
27709 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
27710 maybe-all-stageautoprofile-libiconv:
27711 maybe-clean-stageautoprofile-libiconv:
27712 @if libiconv-bootstrap
27713 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
27714 all-stageautoprofile: all-stageautoprofile-libiconv
27715 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
27716 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27717 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27718 @r=`${PWD_COMMAND}`; export r; \
27719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27720 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27721 $(HOST_EXPORTS) \
27722 $(POSTSTAGE1_HOST_EXPORTS) \
27723 cd $(HOST_SUBDIR)/libiconv && \
27724 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27726 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27727 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27728 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27733 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27734 $(TARGET-stageautoprofile-libiconv)
27736 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
27737 clean-stageautoprofile: clean-stageautoprofile-libiconv
27738 clean-stageautoprofile-libiconv:
27739 @if [ $(current_stage) = stageautoprofile ]; then \
27740 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27741 else \
27742 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
27743 $(MAKE) stageautoprofile-start; \
27744 fi; \
27745 cd $(HOST_SUBDIR)/libiconv && \
27746 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27747 @endif libiconv-bootstrap
27750 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
27751 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
27752 maybe-all-stageautofeedback-libiconv:
27753 maybe-clean-stageautofeedback-libiconv:
27754 @if libiconv-bootstrap
27755 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
27756 all-stageautofeedback: all-stageautofeedback-libiconv
27757 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
27758 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27759 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27760 @r=`${PWD_COMMAND}`; export r; \
27761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27762 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27763 $(HOST_EXPORTS) \
27764 $(POSTSTAGE1_HOST_EXPORTS) \
27765 cd $(HOST_SUBDIR)/libiconv && \
27767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27768 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27769 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27770 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27774 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27775 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27776 $(TARGET-stageautofeedback-libiconv)
27778 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
27779 clean-stageautofeedback: clean-stageautofeedback-libiconv
27780 clean-stageautofeedback-libiconv:
27781 @if [ $(current_stage) = stageautofeedback ]; then \
27782 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27783 else \
27784 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
27785 $(MAKE) stageautofeedback-start; \
27786 fi; \
27787 cd $(HOST_SUBDIR)/libiconv && \
27788 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27789 @endif libiconv-bootstrap
27795 .PHONY: check-libiconv maybe-check-libiconv
27796 maybe-check-libiconv:
27797 @if libiconv
27798 maybe-check-libiconv: check-libiconv
27800 check-libiconv:
27801 @: $(MAKE); $(unstage)
27802 @r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27805 (cd $(HOST_SUBDIR)/libiconv && \
27806 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27808 @endif libiconv
27810 .PHONY: install-libiconv maybe-install-libiconv
27811 maybe-install-libiconv:
27812 @if libiconv
27813 maybe-install-libiconv: install-libiconv
27815 install-libiconv:
27817 @endif libiconv
27819 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
27820 maybe-install-strip-libiconv:
27821 @if libiconv
27822 maybe-install-strip-libiconv: install-strip-libiconv
27824 install-strip-libiconv:
27826 @endif libiconv
27828 # Other targets (info, dvi, pdf, etc.)
27830 .PHONY: maybe-info-libiconv info-libiconv
27831 maybe-info-libiconv:
27832 @if libiconv
27833 maybe-info-libiconv: info-libiconv
27835 # libiconv doesn't support info.
27836 info-libiconv:
27838 @endif libiconv
27840 .PHONY: maybe-dvi-libiconv dvi-libiconv
27841 maybe-dvi-libiconv:
27842 @if libiconv
27843 maybe-dvi-libiconv: dvi-libiconv
27845 dvi-libiconv: \
27846 configure-libiconv
27847 @[ -f ./libiconv/Makefile ] || exit 0; \
27848 r=`${PWD_COMMAND}`; export r; \
27849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27850 $(HOST_EXPORTS) \
27851 for flag in $(EXTRA_HOST_FLAGS) ; do \
27852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27853 done; \
27854 echo "Doing dvi in libiconv"; \
27855 (cd $(HOST_SUBDIR)/libiconv && \
27856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27858 "RANLIB=$${RANLIB}" \
27859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27860 dvi) \
27861 || exit 1
27863 @endif libiconv
27865 .PHONY: maybe-pdf-libiconv pdf-libiconv
27866 maybe-pdf-libiconv:
27867 @if libiconv
27868 maybe-pdf-libiconv: pdf-libiconv
27870 # libiconv doesn't support pdf.
27871 pdf-libiconv:
27873 @endif libiconv
27875 .PHONY: maybe-html-libiconv html-libiconv
27876 maybe-html-libiconv:
27877 @if libiconv
27878 maybe-html-libiconv: html-libiconv
27880 # libiconv doesn't support html.
27881 html-libiconv:
27883 @endif libiconv
27885 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
27886 maybe-TAGS-libiconv:
27887 @if libiconv
27888 maybe-TAGS-libiconv: TAGS-libiconv
27890 TAGS-libiconv: \
27891 configure-libiconv
27892 @[ -f ./libiconv/Makefile ] || exit 0; \
27893 r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27895 $(HOST_EXPORTS) \
27896 for flag in $(EXTRA_HOST_FLAGS) ; do \
27897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27898 done; \
27899 echo "Doing TAGS in libiconv"; \
27900 (cd $(HOST_SUBDIR)/libiconv && \
27901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27903 "RANLIB=$${RANLIB}" \
27904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27905 TAGS) \
27906 || exit 1
27908 @endif libiconv
27910 .PHONY: maybe-install-info-libiconv install-info-libiconv
27911 maybe-install-info-libiconv:
27912 @if libiconv
27913 maybe-install-info-libiconv: install-info-libiconv
27915 # libiconv doesn't support install-info.
27916 install-info-libiconv:
27918 @endif libiconv
27920 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
27921 maybe-install-pdf-libiconv:
27922 @if libiconv
27923 maybe-install-pdf-libiconv: install-pdf-libiconv
27925 # libiconv doesn't support install-pdf.
27926 install-pdf-libiconv:
27928 @endif libiconv
27930 .PHONY: maybe-install-html-libiconv install-html-libiconv
27931 maybe-install-html-libiconv:
27932 @if libiconv
27933 maybe-install-html-libiconv: install-html-libiconv
27935 # libiconv doesn't support install-html.
27936 install-html-libiconv:
27938 @endif libiconv
27940 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
27941 maybe-installcheck-libiconv:
27942 @if libiconv
27943 maybe-installcheck-libiconv: installcheck-libiconv
27945 installcheck-libiconv: \
27946 configure-libiconv
27947 @[ -f ./libiconv/Makefile ] || exit 0; \
27948 r=`${PWD_COMMAND}`; export r; \
27949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27950 $(HOST_EXPORTS) \
27951 for flag in $(EXTRA_HOST_FLAGS) ; do \
27952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27953 done; \
27954 echo "Doing installcheck in libiconv"; \
27955 (cd $(HOST_SUBDIR)/libiconv && \
27956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27958 "RANLIB=$${RANLIB}" \
27959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27960 installcheck) \
27961 || exit 1
27963 @endif libiconv
27965 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
27966 maybe-mostlyclean-libiconv:
27967 @if libiconv
27968 maybe-mostlyclean-libiconv: mostlyclean-libiconv
27970 mostlyclean-libiconv:
27971 @[ -f ./libiconv/Makefile ] || exit 0; \
27972 r=`${PWD_COMMAND}`; export r; \
27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974 $(HOST_EXPORTS) \
27975 for flag in $(EXTRA_HOST_FLAGS) ; do \
27976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27977 done; \
27978 echo "Doing mostlyclean in libiconv"; \
27979 (cd $(HOST_SUBDIR)/libiconv && \
27980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27982 "RANLIB=$${RANLIB}" \
27983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27984 mostlyclean) \
27985 || exit 1
27987 @endif libiconv
27989 .PHONY: maybe-clean-libiconv clean-libiconv
27990 maybe-clean-libiconv:
27991 @if libiconv
27992 maybe-clean-libiconv: clean-libiconv
27994 clean-libiconv:
27995 @[ -f ./libiconv/Makefile ] || exit 0; \
27996 r=`${PWD_COMMAND}`; export r; \
27997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27998 $(HOST_EXPORTS) \
27999 for flag in $(EXTRA_HOST_FLAGS) ; do \
28000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28001 done; \
28002 echo "Doing clean in libiconv"; \
28003 (cd $(HOST_SUBDIR)/libiconv && \
28004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28006 "RANLIB=$${RANLIB}" \
28007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28008 clean) \
28009 || exit 1
28011 @endif libiconv
28013 .PHONY: maybe-distclean-libiconv distclean-libiconv
28014 maybe-distclean-libiconv:
28015 @if libiconv
28016 maybe-distclean-libiconv: distclean-libiconv
28018 distclean-libiconv:
28019 @[ -f ./libiconv/Makefile ] || exit 0; \
28020 r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28022 $(HOST_EXPORTS) \
28023 for flag in $(EXTRA_HOST_FLAGS) ; do \
28024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28025 done; \
28026 echo "Doing distclean in libiconv"; \
28027 (cd $(HOST_SUBDIR)/libiconv && \
28028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28030 "RANLIB=$${RANLIB}" \
28031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28032 distclean) \
28033 || exit 1
28035 @endif libiconv
28037 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
28038 maybe-maintainer-clean-libiconv:
28039 @if libiconv
28040 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
28042 maintainer-clean-libiconv:
28043 @[ -f ./libiconv/Makefile ] || exit 0; \
28044 r=`${PWD_COMMAND}`; export r; \
28045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28046 $(HOST_EXPORTS) \
28047 for flag in $(EXTRA_HOST_FLAGS) ; do \
28048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28049 done; \
28050 echo "Doing maintainer-clean in libiconv"; \
28051 (cd $(HOST_SUBDIR)/libiconv && \
28052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28054 "RANLIB=$${RANLIB}" \
28055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28056 maintainer-clean) \
28057 || exit 1
28059 @endif libiconv
28063 .PHONY: configure-m4 maybe-configure-m4
28064 maybe-configure-m4:
28065 @if gcc-bootstrap
28066 configure-m4: stage_current
28067 @endif gcc-bootstrap
28068 @if m4
28069 maybe-configure-m4: configure-m4
28070 configure-m4:
28071 @: $(MAKE); $(unstage)
28072 @r=`${PWD_COMMAND}`; export r; \
28073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28074 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
28075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
28076 $(HOST_EXPORTS) \
28077 echo Configuring in $(HOST_SUBDIR)/m4; \
28078 cd "$(HOST_SUBDIR)/m4" || exit 1; \
28079 case $(srcdir) in \
28080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28081 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
28082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28083 esac; \
28084 module_srcdir=m4; \
28085 $(SHELL) \
28086 $$s/$$module_srcdir/configure \
28087 --srcdir=$${topdir}/$$module_srcdir \
28088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28089 --target=${target_alias} \
28090 || exit 1
28091 @endif m4
28097 .PHONY: all-m4 maybe-all-m4
28098 maybe-all-m4:
28099 @if gcc-bootstrap
28100 all-m4: stage_current
28101 @endif gcc-bootstrap
28102 @if m4
28103 TARGET-m4=all
28104 maybe-all-m4: all-m4
28105 all-m4: configure-m4
28106 @: $(MAKE); $(unstage)
28107 @r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(HOST_EXPORTS) \
28110 (cd $(HOST_SUBDIR)/m4 && \
28111 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28112 $(TARGET-m4))
28113 @endif m4
28118 .PHONY: check-m4 maybe-check-m4
28119 maybe-check-m4:
28120 @if m4
28121 maybe-check-m4: check-m4
28123 check-m4:
28124 @: $(MAKE); $(unstage)
28125 @r=`${PWD_COMMAND}`; export r; \
28126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28127 $(HOST_EXPORTS) \
28128 (cd $(HOST_SUBDIR)/m4 && \
28129 $(MAKE) $(FLAGS_TO_PASS) check)
28131 @endif m4
28133 .PHONY: install-m4 maybe-install-m4
28134 maybe-install-m4:
28135 @if m4
28136 maybe-install-m4: install-m4
28138 install-m4: installdirs
28139 @: $(MAKE); $(unstage)
28140 @r=`${PWD_COMMAND}`; export r; \
28141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28142 $(HOST_EXPORTS) \
28143 (cd $(HOST_SUBDIR)/m4 && \
28144 $(MAKE) $(FLAGS_TO_PASS) install)
28146 @endif m4
28148 .PHONY: install-strip-m4 maybe-install-strip-m4
28149 maybe-install-strip-m4:
28150 @if m4
28151 maybe-install-strip-m4: install-strip-m4
28153 install-strip-m4: installdirs
28154 @: $(MAKE); $(unstage)
28155 @r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 (cd $(HOST_SUBDIR)/m4 && \
28159 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28161 @endif m4
28163 # Other targets (info, dvi, pdf, etc.)
28165 .PHONY: maybe-info-m4 info-m4
28166 maybe-info-m4:
28167 @if m4
28168 maybe-info-m4: info-m4
28170 info-m4: \
28171 configure-m4
28172 @: $(MAKE); $(unstage)
28173 @[ -f ./m4/Makefile ] || exit 0; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(HOST_EXPORTS) \
28177 for flag in $(EXTRA_HOST_FLAGS) ; do \
28178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28179 done; \
28180 echo "Doing info in m4"; \
28181 (cd $(HOST_SUBDIR)/m4 && \
28182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28184 "RANLIB=$${RANLIB}" \
28185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28186 info) \
28187 || exit 1
28189 @endif m4
28191 .PHONY: maybe-dvi-m4 dvi-m4
28192 maybe-dvi-m4:
28193 @if m4
28194 maybe-dvi-m4: dvi-m4
28196 dvi-m4: \
28197 configure-m4
28198 @: $(MAKE); $(unstage)
28199 @[ -f ./m4/Makefile ] || exit 0; \
28200 r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28202 $(HOST_EXPORTS) \
28203 for flag in $(EXTRA_HOST_FLAGS) ; do \
28204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28205 done; \
28206 echo "Doing dvi in m4"; \
28207 (cd $(HOST_SUBDIR)/m4 && \
28208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28210 "RANLIB=$${RANLIB}" \
28211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28212 dvi) \
28213 || exit 1
28215 @endif m4
28217 .PHONY: maybe-pdf-m4 pdf-m4
28218 maybe-pdf-m4:
28219 @if m4
28220 maybe-pdf-m4: pdf-m4
28222 pdf-m4: \
28223 configure-m4
28224 @: $(MAKE); $(unstage)
28225 @[ -f ./m4/Makefile ] || exit 0; \
28226 r=`${PWD_COMMAND}`; export r; \
28227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28228 $(HOST_EXPORTS) \
28229 for flag in $(EXTRA_HOST_FLAGS) ; do \
28230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28231 done; \
28232 echo "Doing pdf in m4"; \
28233 (cd $(HOST_SUBDIR)/m4 && \
28234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28236 "RANLIB=$${RANLIB}" \
28237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28238 pdf) \
28239 || exit 1
28241 @endif m4
28243 .PHONY: maybe-html-m4 html-m4
28244 maybe-html-m4:
28245 @if m4
28246 maybe-html-m4: html-m4
28248 html-m4: \
28249 configure-m4
28250 @: $(MAKE); $(unstage)
28251 @[ -f ./m4/Makefile ] || exit 0; \
28252 r=`${PWD_COMMAND}`; export r; \
28253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28254 $(HOST_EXPORTS) \
28255 for flag in $(EXTRA_HOST_FLAGS) ; do \
28256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28257 done; \
28258 echo "Doing html in m4"; \
28259 (cd $(HOST_SUBDIR)/m4 && \
28260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28262 "RANLIB=$${RANLIB}" \
28263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28264 html) \
28265 || exit 1
28267 @endif m4
28269 .PHONY: maybe-TAGS-m4 TAGS-m4
28270 maybe-TAGS-m4:
28271 @if m4
28272 maybe-TAGS-m4: TAGS-m4
28274 TAGS-m4: \
28275 configure-m4
28276 @: $(MAKE); $(unstage)
28277 @[ -f ./m4/Makefile ] || exit 0; \
28278 r=`${PWD_COMMAND}`; export r; \
28279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28280 $(HOST_EXPORTS) \
28281 for flag in $(EXTRA_HOST_FLAGS) ; do \
28282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28283 done; \
28284 echo "Doing TAGS in m4"; \
28285 (cd $(HOST_SUBDIR)/m4 && \
28286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28288 "RANLIB=$${RANLIB}" \
28289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28290 TAGS) \
28291 || exit 1
28293 @endif m4
28295 .PHONY: maybe-install-info-m4 install-info-m4
28296 maybe-install-info-m4:
28297 @if m4
28298 maybe-install-info-m4: install-info-m4
28300 install-info-m4: \
28301 configure-m4 \
28302 info-m4
28303 @: $(MAKE); $(unstage)
28304 @[ -f ./m4/Makefile ] || exit 0; \
28305 r=`${PWD_COMMAND}`; export r; \
28306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(HOST_EXPORTS) \
28308 for flag in $(EXTRA_HOST_FLAGS) ; do \
28309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28310 done; \
28311 echo "Doing install-info in m4"; \
28312 (cd $(HOST_SUBDIR)/m4 && \
28313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28315 "RANLIB=$${RANLIB}" \
28316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28317 install-info) \
28318 || exit 1
28320 @endif m4
28322 .PHONY: maybe-install-pdf-m4 install-pdf-m4
28323 maybe-install-pdf-m4:
28324 @if m4
28325 maybe-install-pdf-m4: install-pdf-m4
28327 install-pdf-m4: \
28328 configure-m4 \
28329 pdf-m4
28330 @: $(MAKE); $(unstage)
28331 @[ -f ./m4/Makefile ] || exit 0; \
28332 r=`${PWD_COMMAND}`; export r; \
28333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28334 $(HOST_EXPORTS) \
28335 for flag in $(EXTRA_HOST_FLAGS) ; do \
28336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28337 done; \
28338 echo "Doing install-pdf in m4"; \
28339 (cd $(HOST_SUBDIR)/m4 && \
28340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28342 "RANLIB=$${RANLIB}" \
28343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28344 install-pdf) \
28345 || exit 1
28347 @endif m4
28349 .PHONY: maybe-install-html-m4 install-html-m4
28350 maybe-install-html-m4:
28351 @if m4
28352 maybe-install-html-m4: install-html-m4
28354 install-html-m4: \
28355 configure-m4 \
28356 html-m4
28357 @: $(MAKE); $(unstage)
28358 @[ -f ./m4/Makefile ] || exit 0; \
28359 r=`${PWD_COMMAND}`; export r; \
28360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28361 $(HOST_EXPORTS) \
28362 for flag in $(EXTRA_HOST_FLAGS) ; do \
28363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28364 done; \
28365 echo "Doing install-html in m4"; \
28366 (cd $(HOST_SUBDIR)/m4 && \
28367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28369 "RANLIB=$${RANLIB}" \
28370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28371 install-html) \
28372 || exit 1
28374 @endif m4
28376 .PHONY: maybe-installcheck-m4 installcheck-m4
28377 maybe-installcheck-m4:
28378 @if m4
28379 maybe-installcheck-m4: installcheck-m4
28381 installcheck-m4: \
28382 configure-m4
28383 @: $(MAKE); $(unstage)
28384 @[ -f ./m4/Makefile ] || exit 0; \
28385 r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28387 $(HOST_EXPORTS) \
28388 for flag in $(EXTRA_HOST_FLAGS) ; do \
28389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28390 done; \
28391 echo "Doing installcheck in m4"; \
28392 (cd $(HOST_SUBDIR)/m4 && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28395 "RANLIB=$${RANLIB}" \
28396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28397 installcheck) \
28398 || exit 1
28400 @endif m4
28402 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
28403 maybe-mostlyclean-m4:
28404 @if m4
28405 maybe-mostlyclean-m4: mostlyclean-m4
28407 mostlyclean-m4:
28408 @: $(MAKE); $(unstage)
28409 @[ -f ./m4/Makefile ] || exit 0; \
28410 r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(HOST_EXPORTS) \
28413 for flag in $(EXTRA_HOST_FLAGS) ; do \
28414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28415 done; \
28416 echo "Doing mostlyclean in m4"; \
28417 (cd $(HOST_SUBDIR)/m4 && \
28418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28420 "RANLIB=$${RANLIB}" \
28421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28422 mostlyclean) \
28423 || exit 1
28425 @endif m4
28427 .PHONY: maybe-clean-m4 clean-m4
28428 maybe-clean-m4:
28429 @if m4
28430 maybe-clean-m4: clean-m4
28432 clean-m4:
28433 @: $(MAKE); $(unstage)
28434 @[ -f ./m4/Makefile ] || exit 0; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(HOST_EXPORTS) \
28438 for flag in $(EXTRA_HOST_FLAGS) ; do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28440 done; \
28441 echo "Doing clean in m4"; \
28442 (cd $(HOST_SUBDIR)/m4 && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28447 clean) \
28448 || exit 1
28450 @endif m4
28452 .PHONY: maybe-distclean-m4 distclean-m4
28453 maybe-distclean-m4:
28454 @if m4
28455 maybe-distclean-m4: distclean-m4
28457 distclean-m4:
28458 @: $(MAKE); $(unstage)
28459 @[ -f ./m4/Makefile ] || exit 0; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 for flag in $(EXTRA_HOST_FLAGS) ; do \
28464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 done; \
28466 echo "Doing distclean in m4"; \
28467 (cd $(HOST_SUBDIR)/m4 && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28472 distclean) \
28473 || exit 1
28475 @endif m4
28477 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
28478 maybe-maintainer-clean-m4:
28479 @if m4
28480 maybe-maintainer-clean-m4: maintainer-clean-m4
28482 maintainer-clean-m4:
28483 @: $(MAKE); $(unstage)
28484 @[ -f ./m4/Makefile ] || exit 0; \
28485 r=`${PWD_COMMAND}`; export r; \
28486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28487 $(HOST_EXPORTS) \
28488 for flag in $(EXTRA_HOST_FLAGS) ; do \
28489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28490 done; \
28491 echo "Doing maintainer-clean in m4"; \
28492 (cd $(HOST_SUBDIR)/m4 && \
28493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28495 "RANLIB=$${RANLIB}" \
28496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28497 maintainer-clean) \
28498 || exit 1
28500 @endif m4
28504 .PHONY: configure-readline maybe-configure-readline
28505 maybe-configure-readline:
28506 @if gcc-bootstrap
28507 configure-readline: stage_current
28508 @endif gcc-bootstrap
28509 @if readline
28510 maybe-configure-readline: configure-readline
28511 configure-readline:
28512 @: $(MAKE); $(unstage)
28513 @r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
28516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
28517 $(HOST_EXPORTS) \
28518 echo Configuring in $(HOST_SUBDIR)/readline; \
28519 cd "$(HOST_SUBDIR)/readline" || exit 1; \
28520 case $(srcdir) in \
28521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28522 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
28523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28524 esac; \
28525 module_srcdir=readline; \
28526 $(SHELL) \
28527 $$s/$$module_srcdir/configure \
28528 --srcdir=$${topdir}/$$module_srcdir \
28529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28530 --target=${target_alias} \
28531 || exit 1
28532 @endif readline
28538 .PHONY: all-readline maybe-all-readline
28539 maybe-all-readline:
28540 @if gcc-bootstrap
28541 all-readline: stage_current
28542 @endif gcc-bootstrap
28543 @if readline
28544 TARGET-readline=all
28545 maybe-all-readline: all-readline
28546 all-readline: configure-readline
28547 @: $(MAKE); $(unstage)
28548 @r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28550 $(HOST_EXPORTS) \
28551 (cd $(HOST_SUBDIR)/readline && \
28552 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28553 $(TARGET-readline))
28554 @endif readline
28559 .PHONY: check-readline maybe-check-readline
28560 maybe-check-readline:
28561 @if readline
28562 maybe-check-readline: check-readline
28564 check-readline:
28565 @: $(MAKE); $(unstage)
28566 @r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(HOST_EXPORTS) \
28569 (cd $(HOST_SUBDIR)/readline && \
28570 $(MAKE) $(FLAGS_TO_PASS) check)
28572 @endif readline
28574 .PHONY: install-readline maybe-install-readline
28575 maybe-install-readline:
28576 @if readline
28577 maybe-install-readline: install-readline
28579 install-readline: installdirs
28580 @: $(MAKE); $(unstage)
28581 @r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 $(HOST_EXPORTS) \
28584 (cd $(HOST_SUBDIR)/readline && \
28585 $(MAKE) $(FLAGS_TO_PASS) install)
28587 @endif readline
28589 .PHONY: install-strip-readline maybe-install-strip-readline
28590 maybe-install-strip-readline:
28591 @if readline
28592 maybe-install-strip-readline: install-strip-readline
28594 install-strip-readline: installdirs
28595 @: $(MAKE); $(unstage)
28596 @r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(HOST_EXPORTS) \
28599 (cd $(HOST_SUBDIR)/readline && \
28600 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28602 @endif readline
28604 # Other targets (info, dvi, pdf, etc.)
28606 .PHONY: maybe-info-readline info-readline
28607 maybe-info-readline:
28608 @if readline
28609 maybe-info-readline: info-readline
28611 info-readline: \
28612 configure-readline
28613 @: $(MAKE); $(unstage)
28614 @[ -f ./readline/Makefile ] || exit 0; \
28615 r=`${PWD_COMMAND}`; export r; \
28616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28617 $(HOST_EXPORTS) \
28618 for flag in $(EXTRA_HOST_FLAGS) ; do \
28619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28620 done; \
28621 echo "Doing info in readline"; \
28622 (cd $(HOST_SUBDIR)/readline && \
28623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28625 "RANLIB=$${RANLIB}" \
28626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28627 info) \
28628 || exit 1
28630 @endif readline
28632 .PHONY: maybe-dvi-readline dvi-readline
28633 maybe-dvi-readline:
28634 @if readline
28635 maybe-dvi-readline: dvi-readline
28637 dvi-readline: \
28638 configure-readline
28639 @: $(MAKE); $(unstage)
28640 @[ -f ./readline/Makefile ] || exit 0; \
28641 r=`${PWD_COMMAND}`; export r; \
28642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28643 $(HOST_EXPORTS) \
28644 for flag in $(EXTRA_HOST_FLAGS) ; do \
28645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28646 done; \
28647 echo "Doing dvi in readline"; \
28648 (cd $(HOST_SUBDIR)/readline && \
28649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28651 "RANLIB=$${RANLIB}" \
28652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28653 dvi) \
28654 || exit 1
28656 @endif readline
28658 .PHONY: maybe-pdf-readline pdf-readline
28659 maybe-pdf-readline:
28660 @if readline
28661 maybe-pdf-readline: pdf-readline
28663 pdf-readline: \
28664 configure-readline
28665 @: $(MAKE); $(unstage)
28666 @[ -f ./readline/Makefile ] || exit 0; \
28667 r=`${PWD_COMMAND}`; export r; \
28668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28669 $(HOST_EXPORTS) \
28670 for flag in $(EXTRA_HOST_FLAGS) ; do \
28671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28672 done; \
28673 echo "Doing pdf in readline"; \
28674 (cd $(HOST_SUBDIR)/readline && \
28675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28677 "RANLIB=$${RANLIB}" \
28678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28679 pdf) \
28680 || exit 1
28682 @endif readline
28684 .PHONY: maybe-html-readline html-readline
28685 maybe-html-readline:
28686 @if readline
28687 maybe-html-readline: html-readline
28689 html-readline: \
28690 configure-readline
28691 @: $(MAKE); $(unstage)
28692 @[ -f ./readline/Makefile ] || exit 0; \
28693 r=`${PWD_COMMAND}`; export r; \
28694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28695 $(HOST_EXPORTS) \
28696 for flag in $(EXTRA_HOST_FLAGS) ; do \
28697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28698 done; \
28699 echo "Doing html in readline"; \
28700 (cd $(HOST_SUBDIR)/readline && \
28701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28703 "RANLIB=$${RANLIB}" \
28704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28705 html) \
28706 || exit 1
28708 @endif readline
28710 .PHONY: maybe-TAGS-readline TAGS-readline
28711 maybe-TAGS-readline:
28712 @if readline
28713 maybe-TAGS-readline: TAGS-readline
28715 TAGS-readline: \
28716 configure-readline
28717 @: $(MAKE); $(unstage)
28718 @[ -f ./readline/Makefile ] || exit 0; \
28719 r=`${PWD_COMMAND}`; export r; \
28720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28721 $(HOST_EXPORTS) \
28722 for flag in $(EXTRA_HOST_FLAGS) ; do \
28723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28724 done; \
28725 echo "Doing TAGS in readline"; \
28726 (cd $(HOST_SUBDIR)/readline && \
28727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28729 "RANLIB=$${RANLIB}" \
28730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28731 TAGS) \
28732 || exit 1
28734 @endif readline
28736 .PHONY: maybe-install-info-readline install-info-readline
28737 maybe-install-info-readline:
28738 @if readline
28739 maybe-install-info-readline: install-info-readline
28741 install-info-readline: \
28742 configure-readline \
28743 info-readline
28744 @: $(MAKE); $(unstage)
28745 @[ -f ./readline/Makefile ] || exit 0; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(HOST_EXPORTS) \
28749 for flag in $(EXTRA_HOST_FLAGS) ; do \
28750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28751 done; \
28752 echo "Doing install-info in readline"; \
28753 (cd $(HOST_SUBDIR)/readline && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28758 install-info) \
28759 || exit 1
28761 @endif readline
28763 .PHONY: maybe-install-pdf-readline install-pdf-readline
28764 maybe-install-pdf-readline:
28765 @if readline
28766 maybe-install-pdf-readline: install-pdf-readline
28768 install-pdf-readline: \
28769 configure-readline \
28770 pdf-readline
28771 @: $(MAKE); $(unstage)
28772 @[ -f ./readline/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(HOST_EXPORTS) \
28776 for flag in $(EXTRA_HOST_FLAGS) ; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 echo "Doing install-pdf in readline"; \
28780 (cd $(HOST_SUBDIR)/readline && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28785 install-pdf) \
28786 || exit 1
28788 @endif readline
28790 .PHONY: maybe-install-html-readline install-html-readline
28791 maybe-install-html-readline:
28792 @if readline
28793 maybe-install-html-readline: install-html-readline
28795 install-html-readline: \
28796 configure-readline \
28797 html-readline
28798 @: $(MAKE); $(unstage)
28799 @[ -f ./readline/Makefile ] || exit 0; \
28800 r=`${PWD_COMMAND}`; export r; \
28801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28802 $(HOST_EXPORTS) \
28803 for flag in $(EXTRA_HOST_FLAGS) ; do \
28804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28805 done; \
28806 echo "Doing install-html in readline"; \
28807 (cd $(HOST_SUBDIR)/readline && \
28808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28810 "RANLIB=$${RANLIB}" \
28811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28812 install-html) \
28813 || exit 1
28815 @endif readline
28817 .PHONY: maybe-installcheck-readline installcheck-readline
28818 maybe-installcheck-readline:
28819 @if readline
28820 maybe-installcheck-readline: installcheck-readline
28822 installcheck-readline: \
28823 configure-readline
28824 @: $(MAKE); $(unstage)
28825 @[ -f ./readline/Makefile ] || exit 0; \
28826 r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(HOST_EXPORTS) \
28829 for flag in $(EXTRA_HOST_FLAGS) ; do \
28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 done; \
28832 echo "Doing installcheck in readline"; \
28833 (cd $(HOST_SUBDIR)/readline && \
28834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28836 "RANLIB=$${RANLIB}" \
28837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28838 installcheck) \
28839 || exit 1
28841 @endif readline
28843 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
28844 maybe-mostlyclean-readline:
28845 @if readline
28846 maybe-mostlyclean-readline: mostlyclean-readline
28848 mostlyclean-readline:
28849 @: $(MAKE); $(unstage)
28850 @[ -f ./readline/Makefile ] || exit 0; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(HOST_EXPORTS) \
28854 for flag in $(EXTRA_HOST_FLAGS) ; do \
28855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28856 done; \
28857 echo "Doing mostlyclean in readline"; \
28858 (cd $(HOST_SUBDIR)/readline && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28863 mostlyclean) \
28864 || exit 1
28866 @endif readline
28868 .PHONY: maybe-clean-readline clean-readline
28869 maybe-clean-readline:
28870 @if readline
28871 maybe-clean-readline: clean-readline
28873 clean-readline:
28874 @: $(MAKE); $(unstage)
28875 @[ -f ./readline/Makefile ] || exit 0; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(HOST_EXPORTS) \
28879 for flag in $(EXTRA_HOST_FLAGS) ; do \
28880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28881 done; \
28882 echo "Doing clean in readline"; \
28883 (cd $(HOST_SUBDIR)/readline && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28888 clean) \
28889 || exit 1
28891 @endif readline
28893 .PHONY: maybe-distclean-readline distclean-readline
28894 maybe-distclean-readline:
28895 @if readline
28896 maybe-distclean-readline: distclean-readline
28898 distclean-readline:
28899 @: $(MAKE); $(unstage)
28900 @[ -f ./readline/Makefile ] || exit 0; \
28901 r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28903 $(HOST_EXPORTS) \
28904 for flag in $(EXTRA_HOST_FLAGS) ; do \
28905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28906 done; \
28907 echo "Doing distclean in readline"; \
28908 (cd $(HOST_SUBDIR)/readline && \
28909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28911 "RANLIB=$${RANLIB}" \
28912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28913 distclean) \
28914 || exit 1
28916 @endif readline
28918 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
28919 maybe-maintainer-clean-readline:
28920 @if readline
28921 maybe-maintainer-clean-readline: maintainer-clean-readline
28923 maintainer-clean-readline:
28924 @: $(MAKE); $(unstage)
28925 @[ -f ./readline/Makefile ] || exit 0; \
28926 r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928 $(HOST_EXPORTS) \
28929 for flag in $(EXTRA_HOST_FLAGS) ; do \
28930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28931 done; \
28932 echo "Doing maintainer-clean in readline"; \
28933 (cd $(HOST_SUBDIR)/readline && \
28934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28936 "RANLIB=$${RANLIB}" \
28937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28938 maintainer-clean) \
28939 || exit 1
28941 @endif readline
28945 .PHONY: configure-sid maybe-configure-sid
28946 maybe-configure-sid:
28947 @if gcc-bootstrap
28948 configure-sid: stage_current
28949 @endif gcc-bootstrap
28950 @if sid
28951 maybe-configure-sid: configure-sid
28952 configure-sid:
28953 @: $(MAKE); $(unstage)
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
28957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
28958 $(HOST_EXPORTS) \
28959 echo Configuring in $(HOST_SUBDIR)/sid; \
28960 cd "$(HOST_SUBDIR)/sid" || exit 1; \
28961 case $(srcdir) in \
28962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28963 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
28964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28965 esac; \
28966 module_srcdir=sid; \
28967 $(SHELL) \
28968 $$s/$$module_srcdir/configure \
28969 --srcdir=$${topdir}/$$module_srcdir \
28970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28971 --target=${target_alias} \
28972 || exit 1
28973 @endif sid
28979 .PHONY: all-sid maybe-all-sid
28980 maybe-all-sid:
28981 @if gcc-bootstrap
28982 all-sid: stage_current
28983 @endif gcc-bootstrap
28984 @if sid
28985 TARGET-sid=all
28986 maybe-all-sid: all-sid
28987 all-sid: configure-sid
28988 @: $(MAKE); $(unstage)
28989 @r=`${PWD_COMMAND}`; export r; \
28990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28991 $(HOST_EXPORTS) \
28992 (cd $(HOST_SUBDIR)/sid && \
28993 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28994 $(TARGET-sid))
28995 @endif sid
29000 .PHONY: check-sid maybe-check-sid
29001 maybe-check-sid:
29002 @if sid
29003 maybe-check-sid: check-sid
29005 check-sid:
29006 @: $(MAKE); $(unstage)
29007 @r=`${PWD_COMMAND}`; export r; \
29008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29009 $(HOST_EXPORTS) \
29010 (cd $(HOST_SUBDIR)/sid && \
29011 $(MAKE) $(FLAGS_TO_PASS) check)
29013 @endif sid
29015 .PHONY: install-sid maybe-install-sid
29016 maybe-install-sid:
29017 @if sid
29018 maybe-install-sid: install-sid
29020 install-sid: installdirs
29021 @: $(MAKE); $(unstage)
29022 @r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 $(HOST_EXPORTS) \
29025 (cd $(HOST_SUBDIR)/sid && \
29026 $(MAKE) $(FLAGS_TO_PASS) install)
29028 @endif sid
29030 .PHONY: install-strip-sid maybe-install-strip-sid
29031 maybe-install-strip-sid:
29032 @if sid
29033 maybe-install-strip-sid: install-strip-sid
29035 install-strip-sid: installdirs
29036 @: $(MAKE); $(unstage)
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(HOST_EXPORTS) \
29040 (cd $(HOST_SUBDIR)/sid && \
29041 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29043 @endif sid
29045 # Other targets (info, dvi, pdf, etc.)
29047 .PHONY: maybe-info-sid info-sid
29048 maybe-info-sid:
29049 @if sid
29050 maybe-info-sid: info-sid
29052 info-sid: \
29053 configure-sid
29054 @: $(MAKE); $(unstage)
29055 @[ -f ./sid/Makefile ] || exit 0; \
29056 r=`${PWD_COMMAND}`; export r; \
29057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29058 $(HOST_EXPORTS) \
29059 for flag in $(EXTRA_HOST_FLAGS) ; do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29061 done; \
29062 echo "Doing info in sid"; \
29063 (cd $(HOST_SUBDIR)/sid && \
29064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29066 "RANLIB=$${RANLIB}" \
29067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29068 info) \
29069 || exit 1
29071 @endif sid
29073 .PHONY: maybe-dvi-sid dvi-sid
29074 maybe-dvi-sid:
29075 @if sid
29076 maybe-dvi-sid: dvi-sid
29078 dvi-sid: \
29079 configure-sid
29080 @: $(MAKE); $(unstage)
29081 @[ -f ./sid/Makefile ] || exit 0; \
29082 r=`${PWD_COMMAND}`; export r; \
29083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29084 $(HOST_EXPORTS) \
29085 for flag in $(EXTRA_HOST_FLAGS) ; do \
29086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29087 done; \
29088 echo "Doing dvi in sid"; \
29089 (cd $(HOST_SUBDIR)/sid && \
29090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29092 "RANLIB=$${RANLIB}" \
29093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29094 dvi) \
29095 || exit 1
29097 @endif sid
29099 .PHONY: maybe-pdf-sid pdf-sid
29100 maybe-pdf-sid:
29101 @if sid
29102 maybe-pdf-sid: pdf-sid
29104 pdf-sid: \
29105 configure-sid
29106 @: $(MAKE); $(unstage)
29107 @[ -f ./sid/Makefile ] || exit 0; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(HOST_EXPORTS) \
29111 for flag in $(EXTRA_HOST_FLAGS) ; do \
29112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29113 done; \
29114 echo "Doing pdf in sid"; \
29115 (cd $(HOST_SUBDIR)/sid && \
29116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29118 "RANLIB=$${RANLIB}" \
29119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29120 pdf) \
29121 || exit 1
29123 @endif sid
29125 .PHONY: maybe-html-sid html-sid
29126 maybe-html-sid:
29127 @if sid
29128 maybe-html-sid: html-sid
29130 html-sid: \
29131 configure-sid
29132 @: $(MAKE); $(unstage)
29133 @[ -f ./sid/Makefile ] || exit 0; \
29134 r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 $(HOST_EXPORTS) \
29137 for flag in $(EXTRA_HOST_FLAGS) ; do \
29138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29139 done; \
29140 echo "Doing html in sid"; \
29141 (cd $(HOST_SUBDIR)/sid && \
29142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29144 "RANLIB=$${RANLIB}" \
29145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29146 html) \
29147 || exit 1
29149 @endif sid
29151 .PHONY: maybe-TAGS-sid TAGS-sid
29152 maybe-TAGS-sid:
29153 @if sid
29154 maybe-TAGS-sid: TAGS-sid
29156 TAGS-sid: \
29157 configure-sid
29158 @: $(MAKE); $(unstage)
29159 @[ -f ./sid/Makefile ] || exit 0; \
29160 r=`${PWD_COMMAND}`; export r; \
29161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29162 $(HOST_EXPORTS) \
29163 for flag in $(EXTRA_HOST_FLAGS) ; do \
29164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29165 done; \
29166 echo "Doing TAGS in sid"; \
29167 (cd $(HOST_SUBDIR)/sid && \
29168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29170 "RANLIB=$${RANLIB}" \
29171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29172 TAGS) \
29173 || exit 1
29175 @endif sid
29177 .PHONY: maybe-install-info-sid install-info-sid
29178 maybe-install-info-sid:
29179 @if sid
29180 maybe-install-info-sid: install-info-sid
29182 install-info-sid: \
29183 configure-sid \
29184 info-sid
29185 @: $(MAKE); $(unstage)
29186 @[ -f ./sid/Makefile ] || exit 0; \
29187 r=`${PWD_COMMAND}`; export r; \
29188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29189 $(HOST_EXPORTS) \
29190 for flag in $(EXTRA_HOST_FLAGS) ; do \
29191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29192 done; \
29193 echo "Doing install-info in sid"; \
29194 (cd $(HOST_SUBDIR)/sid && \
29195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29197 "RANLIB=$${RANLIB}" \
29198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29199 install-info) \
29200 || exit 1
29202 @endif sid
29204 .PHONY: maybe-install-pdf-sid install-pdf-sid
29205 maybe-install-pdf-sid:
29206 @if sid
29207 maybe-install-pdf-sid: install-pdf-sid
29209 install-pdf-sid: \
29210 configure-sid \
29211 pdf-sid
29212 @: $(MAKE); $(unstage)
29213 @[ -f ./sid/Makefile ] || exit 0; \
29214 r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 $(HOST_EXPORTS) \
29217 for flag in $(EXTRA_HOST_FLAGS) ; do \
29218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29219 done; \
29220 echo "Doing install-pdf in sid"; \
29221 (cd $(HOST_SUBDIR)/sid && \
29222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29224 "RANLIB=$${RANLIB}" \
29225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29226 install-pdf) \
29227 || exit 1
29229 @endif sid
29231 .PHONY: maybe-install-html-sid install-html-sid
29232 maybe-install-html-sid:
29233 @if sid
29234 maybe-install-html-sid: install-html-sid
29236 install-html-sid: \
29237 configure-sid \
29238 html-sid
29239 @: $(MAKE); $(unstage)
29240 @[ -f ./sid/Makefile ] || exit 0; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(HOST_EXPORTS) \
29244 for flag in $(EXTRA_HOST_FLAGS) ; do \
29245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29246 done; \
29247 echo "Doing install-html in sid"; \
29248 (cd $(HOST_SUBDIR)/sid && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29253 install-html) \
29254 || exit 1
29256 @endif sid
29258 .PHONY: maybe-installcheck-sid installcheck-sid
29259 maybe-installcheck-sid:
29260 @if sid
29261 maybe-installcheck-sid: installcheck-sid
29263 installcheck-sid: \
29264 configure-sid
29265 @: $(MAKE); $(unstage)
29266 @[ -f ./sid/Makefile ] || exit 0; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(HOST_EXPORTS) \
29270 for flag in $(EXTRA_HOST_FLAGS) ; do \
29271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29272 done; \
29273 echo "Doing installcheck in sid"; \
29274 (cd $(HOST_SUBDIR)/sid && \
29275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29277 "RANLIB=$${RANLIB}" \
29278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29279 installcheck) \
29280 || exit 1
29282 @endif sid
29284 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
29285 maybe-mostlyclean-sid:
29286 @if sid
29287 maybe-mostlyclean-sid: mostlyclean-sid
29289 mostlyclean-sid:
29290 @: $(MAKE); $(unstage)
29291 @[ -f ./sid/Makefile ] || exit 0; \
29292 r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(HOST_EXPORTS) \
29295 for flag in $(EXTRA_HOST_FLAGS) ; do \
29296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29297 done; \
29298 echo "Doing mostlyclean in sid"; \
29299 (cd $(HOST_SUBDIR)/sid && \
29300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29302 "RANLIB=$${RANLIB}" \
29303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29304 mostlyclean) \
29305 || exit 1
29307 @endif sid
29309 .PHONY: maybe-clean-sid clean-sid
29310 maybe-clean-sid:
29311 @if sid
29312 maybe-clean-sid: clean-sid
29314 clean-sid:
29315 @: $(MAKE); $(unstage)
29316 @[ -f ./sid/Makefile ] || exit 0; \
29317 r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(HOST_EXPORTS) \
29320 for flag in $(EXTRA_HOST_FLAGS) ; do \
29321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29322 done; \
29323 echo "Doing clean in sid"; \
29324 (cd $(HOST_SUBDIR)/sid && \
29325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29327 "RANLIB=$${RANLIB}" \
29328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29329 clean) \
29330 || exit 1
29332 @endif sid
29334 .PHONY: maybe-distclean-sid distclean-sid
29335 maybe-distclean-sid:
29336 @if sid
29337 maybe-distclean-sid: distclean-sid
29339 distclean-sid:
29340 @: $(MAKE); $(unstage)
29341 @[ -f ./sid/Makefile ] || exit 0; \
29342 r=`${PWD_COMMAND}`; export r; \
29343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29344 $(HOST_EXPORTS) \
29345 for flag in $(EXTRA_HOST_FLAGS) ; do \
29346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29347 done; \
29348 echo "Doing distclean in sid"; \
29349 (cd $(HOST_SUBDIR)/sid && \
29350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29352 "RANLIB=$${RANLIB}" \
29353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29354 distclean) \
29355 || exit 1
29357 @endif sid
29359 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
29360 maybe-maintainer-clean-sid:
29361 @if sid
29362 maybe-maintainer-clean-sid: maintainer-clean-sid
29364 maintainer-clean-sid:
29365 @: $(MAKE); $(unstage)
29366 @[ -f ./sid/Makefile ] || exit 0; \
29367 r=`${PWD_COMMAND}`; export r; \
29368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29369 $(HOST_EXPORTS) \
29370 for flag in $(EXTRA_HOST_FLAGS) ; do \
29371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29372 done; \
29373 echo "Doing maintainer-clean in sid"; \
29374 (cd $(HOST_SUBDIR)/sid && \
29375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29377 "RANLIB=$${RANLIB}" \
29378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29379 maintainer-clean) \
29380 || exit 1
29382 @endif sid
29386 .PHONY: configure-sim maybe-configure-sim
29387 maybe-configure-sim:
29388 @if gcc-bootstrap
29389 configure-sim: stage_current
29390 @endif gcc-bootstrap
29391 @if sim
29392 maybe-configure-sim: configure-sim
29393 configure-sim:
29394 @: $(MAKE); $(unstage)
29395 @r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
29398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
29399 $(HOST_EXPORTS) \
29400 echo Configuring in $(HOST_SUBDIR)/sim; \
29401 cd "$(HOST_SUBDIR)/sim" || exit 1; \
29402 case $(srcdir) in \
29403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29404 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
29405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29406 esac; \
29407 module_srcdir=sim; \
29408 $(SHELL) \
29409 $$s/$$module_srcdir/configure \
29410 --srcdir=$${topdir}/$$module_srcdir \
29411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29412 --target=${target_alias} \
29413 || exit 1
29414 @endif sim
29420 .PHONY: all-sim maybe-all-sim
29421 maybe-all-sim:
29422 @if gcc-bootstrap
29423 all-sim: stage_current
29424 @endif gcc-bootstrap
29425 @if sim
29426 TARGET-sim=all
29427 maybe-all-sim: all-sim
29428 all-sim: configure-sim
29429 @: $(MAKE); $(unstage)
29430 @r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(HOST_EXPORTS) \
29433 (cd $(HOST_SUBDIR)/sim && \
29434 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29435 $(TARGET-sim))
29436 @endif sim
29441 .PHONY: check-sim maybe-check-sim
29442 maybe-check-sim:
29443 @if sim
29444 maybe-check-sim: check-sim
29446 check-sim:
29447 @: $(MAKE); $(unstage)
29448 @r=`${PWD_COMMAND}`; export r; \
29449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29450 $(HOST_EXPORTS) \
29451 (cd $(HOST_SUBDIR)/sim && \
29452 $(MAKE) $(FLAGS_TO_PASS) check)
29454 @endif sim
29456 .PHONY: install-sim maybe-install-sim
29457 maybe-install-sim:
29458 @if sim
29459 maybe-install-sim: install-sim
29461 install-sim: installdirs
29462 @: $(MAKE); $(unstage)
29463 @r=`${PWD_COMMAND}`; export r; \
29464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29465 $(HOST_EXPORTS) \
29466 (cd $(HOST_SUBDIR)/sim && \
29467 $(MAKE) $(FLAGS_TO_PASS) install)
29469 @endif sim
29471 .PHONY: install-strip-sim maybe-install-strip-sim
29472 maybe-install-strip-sim:
29473 @if sim
29474 maybe-install-strip-sim: install-strip-sim
29476 install-strip-sim: installdirs
29477 @: $(MAKE); $(unstage)
29478 @r=`${PWD_COMMAND}`; export r; \
29479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 $(HOST_EXPORTS) \
29481 (cd $(HOST_SUBDIR)/sim && \
29482 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29484 @endif sim
29486 # Other targets (info, dvi, pdf, etc.)
29488 .PHONY: maybe-info-sim info-sim
29489 maybe-info-sim:
29490 @if sim
29491 maybe-info-sim: info-sim
29493 info-sim: \
29494 configure-sim
29495 @: $(MAKE); $(unstage)
29496 @[ -f ./sim/Makefile ] || exit 0; \
29497 r=`${PWD_COMMAND}`; export r; \
29498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29499 $(HOST_EXPORTS) \
29500 for flag in $(EXTRA_HOST_FLAGS) ; do \
29501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29502 done; \
29503 echo "Doing info in sim"; \
29504 (cd $(HOST_SUBDIR)/sim && \
29505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29507 "RANLIB=$${RANLIB}" \
29508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29509 info) \
29510 || exit 1
29512 @endif sim
29514 .PHONY: maybe-dvi-sim dvi-sim
29515 maybe-dvi-sim:
29516 @if sim
29517 maybe-dvi-sim: dvi-sim
29519 dvi-sim: \
29520 configure-sim
29521 @: $(MAKE); $(unstage)
29522 @[ -f ./sim/Makefile ] || exit 0; \
29523 r=`${PWD_COMMAND}`; export r; \
29524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29525 $(HOST_EXPORTS) \
29526 for flag in $(EXTRA_HOST_FLAGS) ; do \
29527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29528 done; \
29529 echo "Doing dvi in sim"; \
29530 (cd $(HOST_SUBDIR)/sim && \
29531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29533 "RANLIB=$${RANLIB}" \
29534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29535 dvi) \
29536 || exit 1
29538 @endif sim
29540 .PHONY: maybe-pdf-sim pdf-sim
29541 maybe-pdf-sim:
29542 @if sim
29543 maybe-pdf-sim: pdf-sim
29545 pdf-sim: \
29546 configure-sim
29547 @: $(MAKE); $(unstage)
29548 @[ -f ./sim/Makefile ] || exit 0; \
29549 r=`${PWD_COMMAND}`; export r; \
29550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29551 $(HOST_EXPORTS) \
29552 for flag in $(EXTRA_HOST_FLAGS) ; do \
29553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29554 done; \
29555 echo "Doing pdf in sim"; \
29556 (cd $(HOST_SUBDIR)/sim && \
29557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29559 "RANLIB=$${RANLIB}" \
29560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29561 pdf) \
29562 || exit 1
29564 @endif sim
29566 .PHONY: maybe-html-sim html-sim
29567 maybe-html-sim:
29568 @if sim
29569 maybe-html-sim: html-sim
29571 html-sim: \
29572 configure-sim
29573 @: $(MAKE); $(unstage)
29574 @[ -f ./sim/Makefile ] || exit 0; \
29575 r=`${PWD_COMMAND}`; export r; \
29576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29577 $(HOST_EXPORTS) \
29578 for flag in $(EXTRA_HOST_FLAGS) ; do \
29579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29580 done; \
29581 echo "Doing html in sim"; \
29582 (cd $(HOST_SUBDIR)/sim && \
29583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29585 "RANLIB=$${RANLIB}" \
29586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29587 html) \
29588 || exit 1
29590 @endif sim
29592 .PHONY: maybe-TAGS-sim TAGS-sim
29593 maybe-TAGS-sim:
29594 @if sim
29595 maybe-TAGS-sim: TAGS-sim
29597 TAGS-sim: \
29598 configure-sim
29599 @: $(MAKE); $(unstage)
29600 @[ -f ./sim/Makefile ] || exit 0; \
29601 r=`${PWD_COMMAND}`; export r; \
29602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29603 $(HOST_EXPORTS) \
29604 for flag in $(EXTRA_HOST_FLAGS) ; do \
29605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29606 done; \
29607 echo "Doing TAGS in sim"; \
29608 (cd $(HOST_SUBDIR)/sim && \
29609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29611 "RANLIB=$${RANLIB}" \
29612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29613 TAGS) \
29614 || exit 1
29616 @endif sim
29618 .PHONY: maybe-install-info-sim install-info-sim
29619 maybe-install-info-sim:
29620 @if sim
29621 maybe-install-info-sim: install-info-sim
29623 install-info-sim: \
29624 configure-sim \
29625 info-sim
29626 @: $(MAKE); $(unstage)
29627 @[ -f ./sim/Makefile ] || exit 0; \
29628 r=`${PWD_COMMAND}`; export r; \
29629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29630 $(HOST_EXPORTS) \
29631 for flag in $(EXTRA_HOST_FLAGS) ; do \
29632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29633 done; \
29634 echo "Doing install-info in sim"; \
29635 (cd $(HOST_SUBDIR)/sim && \
29636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29638 "RANLIB=$${RANLIB}" \
29639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29640 install-info) \
29641 || exit 1
29643 @endif sim
29645 .PHONY: maybe-install-pdf-sim install-pdf-sim
29646 maybe-install-pdf-sim:
29647 @if sim
29648 maybe-install-pdf-sim: install-pdf-sim
29650 install-pdf-sim: \
29651 configure-sim \
29652 pdf-sim
29653 @: $(MAKE); $(unstage)
29654 @[ -f ./sim/Makefile ] || exit 0; \
29655 r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(HOST_EXPORTS) \
29658 for flag in $(EXTRA_HOST_FLAGS) ; do \
29659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29660 done; \
29661 echo "Doing install-pdf in sim"; \
29662 (cd $(HOST_SUBDIR)/sim && \
29663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29665 "RANLIB=$${RANLIB}" \
29666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29667 install-pdf) \
29668 || exit 1
29670 @endif sim
29672 .PHONY: maybe-install-html-sim install-html-sim
29673 maybe-install-html-sim:
29674 @if sim
29675 maybe-install-html-sim: install-html-sim
29677 install-html-sim: \
29678 configure-sim \
29679 html-sim
29680 @: $(MAKE); $(unstage)
29681 @[ -f ./sim/Makefile ] || exit 0; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(HOST_EXPORTS) \
29685 for flag in $(EXTRA_HOST_FLAGS) ; do \
29686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29687 done; \
29688 echo "Doing install-html in sim"; \
29689 (cd $(HOST_SUBDIR)/sim && \
29690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29692 "RANLIB=$${RANLIB}" \
29693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29694 install-html) \
29695 || exit 1
29697 @endif sim
29699 .PHONY: maybe-installcheck-sim installcheck-sim
29700 maybe-installcheck-sim:
29701 @if sim
29702 maybe-installcheck-sim: installcheck-sim
29704 installcheck-sim: \
29705 configure-sim
29706 @: $(MAKE); $(unstage)
29707 @[ -f ./sim/Makefile ] || exit 0; \
29708 r=`${PWD_COMMAND}`; export r; \
29709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29710 $(HOST_EXPORTS) \
29711 for flag in $(EXTRA_HOST_FLAGS) ; do \
29712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29713 done; \
29714 echo "Doing installcheck in sim"; \
29715 (cd $(HOST_SUBDIR)/sim && \
29716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29718 "RANLIB=$${RANLIB}" \
29719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29720 installcheck) \
29721 || exit 1
29723 @endif sim
29725 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
29726 maybe-mostlyclean-sim:
29727 @if sim
29728 maybe-mostlyclean-sim: mostlyclean-sim
29730 mostlyclean-sim:
29731 @: $(MAKE); $(unstage)
29732 @[ -f ./sim/Makefile ] || exit 0; \
29733 r=`${PWD_COMMAND}`; export r; \
29734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29735 $(HOST_EXPORTS) \
29736 for flag in $(EXTRA_HOST_FLAGS) ; do \
29737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29738 done; \
29739 echo "Doing mostlyclean in sim"; \
29740 (cd $(HOST_SUBDIR)/sim && \
29741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29743 "RANLIB=$${RANLIB}" \
29744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29745 mostlyclean) \
29746 || exit 1
29748 @endif sim
29750 .PHONY: maybe-clean-sim clean-sim
29751 maybe-clean-sim:
29752 @if sim
29753 maybe-clean-sim: clean-sim
29755 clean-sim:
29756 @: $(MAKE); $(unstage)
29757 @[ -f ./sim/Makefile ] || exit 0; \
29758 r=`${PWD_COMMAND}`; export r; \
29759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29760 $(HOST_EXPORTS) \
29761 for flag in $(EXTRA_HOST_FLAGS) ; do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29763 done; \
29764 echo "Doing clean in sim"; \
29765 (cd $(HOST_SUBDIR)/sim && \
29766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29768 "RANLIB=$${RANLIB}" \
29769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29770 clean) \
29771 || exit 1
29773 @endif sim
29775 .PHONY: maybe-distclean-sim distclean-sim
29776 maybe-distclean-sim:
29777 @if sim
29778 maybe-distclean-sim: distclean-sim
29780 distclean-sim:
29781 @: $(MAKE); $(unstage)
29782 @[ -f ./sim/Makefile ] || exit 0; \
29783 r=`${PWD_COMMAND}`; export r; \
29784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29785 $(HOST_EXPORTS) \
29786 for flag in $(EXTRA_HOST_FLAGS) ; do \
29787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29788 done; \
29789 echo "Doing distclean in sim"; \
29790 (cd $(HOST_SUBDIR)/sim && \
29791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29793 "RANLIB=$${RANLIB}" \
29794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29795 distclean) \
29796 || exit 1
29798 @endif sim
29800 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
29801 maybe-maintainer-clean-sim:
29802 @if sim
29803 maybe-maintainer-clean-sim: maintainer-clean-sim
29805 maintainer-clean-sim:
29806 @: $(MAKE); $(unstage)
29807 @[ -f ./sim/Makefile ] || exit 0; \
29808 r=`${PWD_COMMAND}`; export r; \
29809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29810 $(HOST_EXPORTS) \
29811 for flag in $(EXTRA_HOST_FLAGS) ; do \
29812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29813 done; \
29814 echo "Doing maintainer-clean in sim"; \
29815 (cd $(HOST_SUBDIR)/sim && \
29816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29818 "RANLIB=$${RANLIB}" \
29819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29820 maintainer-clean) \
29821 || exit 1
29823 @endif sim
29827 .PHONY: configure-texinfo maybe-configure-texinfo
29828 maybe-configure-texinfo:
29829 @if gcc-bootstrap
29830 configure-texinfo: stage_current
29831 @endif gcc-bootstrap
29832 @if texinfo
29833 maybe-configure-texinfo: configure-texinfo
29834 configure-texinfo:
29835 @: $(MAKE); $(unstage)
29836 @r=`${PWD_COMMAND}`; export r; \
29837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29838 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
29839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
29840 $(HOST_EXPORTS) \
29841 echo Configuring in $(HOST_SUBDIR)/texinfo; \
29842 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
29843 case $(srcdir) in \
29844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29845 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
29846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29847 esac; \
29848 module_srcdir=texinfo; \
29849 $(SHELL) \
29850 $$s/$$module_srcdir/configure \
29851 --srcdir=$${topdir}/$$module_srcdir \
29852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29853 --target=${target_alias} \
29854 || exit 1
29855 @endif texinfo
29861 .PHONY: all-texinfo maybe-all-texinfo
29862 maybe-all-texinfo:
29863 @if gcc-bootstrap
29864 all-texinfo: stage_current
29865 @endif gcc-bootstrap
29866 @if texinfo
29867 TARGET-texinfo=all
29868 maybe-all-texinfo: all-texinfo
29869 all-texinfo: configure-texinfo
29870 @: $(MAKE); $(unstage)
29871 @r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(HOST_EXPORTS) \
29874 (cd $(HOST_SUBDIR)/texinfo && \
29875 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29876 $(TARGET-texinfo))
29877 @endif texinfo
29882 .PHONY: check-texinfo maybe-check-texinfo
29883 maybe-check-texinfo:
29884 @if texinfo
29885 maybe-check-texinfo: check-texinfo
29887 check-texinfo:
29888 @: $(MAKE); $(unstage)
29889 @r=`${PWD_COMMAND}`; export r; \
29890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29891 $(HOST_EXPORTS) \
29892 (cd $(HOST_SUBDIR)/texinfo && \
29893 $(MAKE) $(FLAGS_TO_PASS) check)
29895 @endif texinfo
29897 .PHONY: install-texinfo maybe-install-texinfo
29898 maybe-install-texinfo:
29899 @if texinfo
29900 maybe-install-texinfo: install-texinfo
29902 install-texinfo:
29904 @endif texinfo
29906 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
29907 maybe-install-strip-texinfo:
29908 @if texinfo
29909 maybe-install-strip-texinfo: install-strip-texinfo
29911 install-strip-texinfo:
29913 @endif texinfo
29915 # Other targets (info, dvi, pdf, etc.)
29917 .PHONY: maybe-info-texinfo info-texinfo
29918 maybe-info-texinfo:
29919 @if texinfo
29920 maybe-info-texinfo: info-texinfo
29922 info-texinfo: \
29923 configure-texinfo
29924 @: $(MAKE); $(unstage)
29925 @[ -f ./texinfo/Makefile ] || exit 0; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 for flag in $(EXTRA_HOST_FLAGS) ; do \
29930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29931 done; \
29932 echo "Doing info in texinfo"; \
29933 (cd $(HOST_SUBDIR)/texinfo && \
29934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29936 "RANLIB=$${RANLIB}" \
29937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29938 info) \
29939 || exit 1
29941 @endif texinfo
29943 .PHONY: maybe-dvi-texinfo dvi-texinfo
29944 maybe-dvi-texinfo:
29945 @if texinfo
29946 maybe-dvi-texinfo: dvi-texinfo
29948 dvi-texinfo: \
29949 configure-texinfo
29950 @: $(MAKE); $(unstage)
29951 @[ -f ./texinfo/Makefile ] || exit 0; \
29952 r=`${PWD_COMMAND}`; export r; \
29953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29954 $(HOST_EXPORTS) \
29955 for flag in $(EXTRA_HOST_FLAGS) ; do \
29956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29957 done; \
29958 echo "Doing dvi in texinfo"; \
29959 (cd $(HOST_SUBDIR)/texinfo && \
29960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29962 "RANLIB=$${RANLIB}" \
29963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29964 dvi) \
29965 || exit 1
29967 @endif texinfo
29969 .PHONY: maybe-pdf-texinfo pdf-texinfo
29970 maybe-pdf-texinfo:
29971 @if texinfo
29972 maybe-pdf-texinfo: pdf-texinfo
29974 pdf-texinfo: \
29975 configure-texinfo
29976 @: $(MAKE); $(unstage)
29977 @[ -f ./texinfo/Makefile ] || exit 0; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(HOST_EXPORTS) \
29981 for flag in $(EXTRA_HOST_FLAGS) ; do \
29982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29983 done; \
29984 echo "Doing pdf in texinfo"; \
29985 (cd $(HOST_SUBDIR)/texinfo && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29990 pdf) \
29991 || exit 1
29993 @endif texinfo
29995 .PHONY: maybe-html-texinfo html-texinfo
29996 maybe-html-texinfo:
29997 @if texinfo
29998 maybe-html-texinfo: html-texinfo
30000 html-texinfo: \
30001 configure-texinfo
30002 @: $(MAKE); $(unstage)
30003 @[ -f ./texinfo/Makefile ] || exit 0; \
30004 r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(HOST_EXPORTS) \
30007 for flag in $(EXTRA_HOST_FLAGS) ; do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30009 done; \
30010 echo "Doing html in texinfo"; \
30011 (cd $(HOST_SUBDIR)/texinfo && \
30012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30014 "RANLIB=$${RANLIB}" \
30015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30016 html) \
30017 || exit 1
30019 @endif texinfo
30021 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
30022 maybe-TAGS-texinfo:
30023 @if texinfo
30024 maybe-TAGS-texinfo: TAGS-texinfo
30026 TAGS-texinfo: \
30027 configure-texinfo
30028 @: $(MAKE); $(unstage)
30029 @[ -f ./texinfo/Makefile ] || exit 0; \
30030 r=`${PWD_COMMAND}`; export r; \
30031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30032 $(HOST_EXPORTS) \
30033 for flag in $(EXTRA_HOST_FLAGS) ; do \
30034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30035 done; \
30036 echo "Doing TAGS in texinfo"; \
30037 (cd $(HOST_SUBDIR)/texinfo && \
30038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30040 "RANLIB=$${RANLIB}" \
30041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30042 TAGS) \
30043 || exit 1
30045 @endif texinfo
30047 .PHONY: maybe-install-info-texinfo install-info-texinfo
30048 maybe-install-info-texinfo:
30049 @if texinfo
30050 maybe-install-info-texinfo: install-info-texinfo
30052 install-info-texinfo: \
30053 configure-texinfo \
30054 info-texinfo
30055 @: $(MAKE); $(unstage)
30056 @[ -f ./texinfo/Makefile ] || exit 0; \
30057 r=`${PWD_COMMAND}`; export r; \
30058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30059 $(HOST_EXPORTS) \
30060 for flag in $(EXTRA_HOST_FLAGS) ; do \
30061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30062 done; \
30063 echo "Doing install-info in texinfo"; \
30064 (cd $(HOST_SUBDIR)/texinfo && \
30065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30067 "RANLIB=$${RANLIB}" \
30068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30069 install-info) \
30070 || exit 1
30072 @endif texinfo
30074 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
30075 maybe-install-pdf-texinfo:
30076 @if texinfo
30077 maybe-install-pdf-texinfo: install-pdf-texinfo
30079 install-pdf-texinfo: \
30080 configure-texinfo \
30081 pdf-texinfo
30082 @: $(MAKE); $(unstage)
30083 @[ -f ./texinfo/Makefile ] || exit 0; \
30084 r=`${PWD_COMMAND}`; export r; \
30085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30086 $(HOST_EXPORTS) \
30087 for flag in $(EXTRA_HOST_FLAGS) ; do \
30088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30089 done; \
30090 echo "Doing install-pdf in texinfo"; \
30091 (cd $(HOST_SUBDIR)/texinfo && \
30092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30094 "RANLIB=$${RANLIB}" \
30095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30096 install-pdf) \
30097 || exit 1
30099 @endif texinfo
30101 .PHONY: maybe-install-html-texinfo install-html-texinfo
30102 maybe-install-html-texinfo:
30103 @if texinfo
30104 maybe-install-html-texinfo: install-html-texinfo
30106 install-html-texinfo: \
30107 configure-texinfo \
30108 html-texinfo
30109 @: $(MAKE); $(unstage)
30110 @[ -f ./texinfo/Makefile ] || exit 0; \
30111 r=`${PWD_COMMAND}`; export r; \
30112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30113 $(HOST_EXPORTS) \
30114 for flag in $(EXTRA_HOST_FLAGS) ; do \
30115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30116 done; \
30117 echo "Doing install-html in texinfo"; \
30118 (cd $(HOST_SUBDIR)/texinfo && \
30119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30121 "RANLIB=$${RANLIB}" \
30122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30123 install-html) \
30124 || exit 1
30126 @endif texinfo
30128 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
30129 maybe-installcheck-texinfo:
30130 @if texinfo
30131 maybe-installcheck-texinfo: installcheck-texinfo
30133 installcheck-texinfo: \
30134 configure-texinfo
30135 @: $(MAKE); $(unstage)
30136 @[ -f ./texinfo/Makefile ] || exit 0; \
30137 r=`${PWD_COMMAND}`; export r; \
30138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30139 $(HOST_EXPORTS) \
30140 for flag in $(EXTRA_HOST_FLAGS) ; do \
30141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30142 done; \
30143 echo "Doing installcheck in texinfo"; \
30144 (cd $(HOST_SUBDIR)/texinfo && \
30145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30147 "RANLIB=$${RANLIB}" \
30148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30149 installcheck) \
30150 || exit 1
30152 @endif texinfo
30154 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
30155 maybe-mostlyclean-texinfo:
30156 @if texinfo
30157 maybe-mostlyclean-texinfo: mostlyclean-texinfo
30159 mostlyclean-texinfo:
30160 @: $(MAKE); $(unstage)
30161 @[ -f ./texinfo/Makefile ] || exit 0; \
30162 r=`${PWD_COMMAND}`; export r; \
30163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30164 $(HOST_EXPORTS) \
30165 for flag in $(EXTRA_HOST_FLAGS) ; do \
30166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30167 done; \
30168 echo "Doing mostlyclean in texinfo"; \
30169 (cd $(HOST_SUBDIR)/texinfo && \
30170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30172 "RANLIB=$${RANLIB}" \
30173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30174 mostlyclean) \
30175 || exit 1
30177 @endif texinfo
30179 .PHONY: maybe-clean-texinfo clean-texinfo
30180 maybe-clean-texinfo:
30181 @if texinfo
30182 maybe-clean-texinfo: clean-texinfo
30184 clean-texinfo:
30185 @: $(MAKE); $(unstage)
30186 @[ -f ./texinfo/Makefile ] || exit 0; \
30187 r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 $(HOST_EXPORTS) \
30190 for flag in $(EXTRA_HOST_FLAGS) ; do \
30191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30192 done; \
30193 echo "Doing clean in texinfo"; \
30194 (cd $(HOST_SUBDIR)/texinfo && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30197 "RANLIB=$${RANLIB}" \
30198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30199 clean) \
30200 || exit 1
30202 @endif texinfo
30204 .PHONY: maybe-distclean-texinfo distclean-texinfo
30205 maybe-distclean-texinfo:
30206 @if texinfo
30207 maybe-distclean-texinfo: distclean-texinfo
30209 distclean-texinfo:
30210 @: $(MAKE); $(unstage)
30211 @[ -f ./texinfo/Makefile ] || exit 0; \
30212 r=`${PWD_COMMAND}`; export r; \
30213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30214 $(HOST_EXPORTS) \
30215 for flag in $(EXTRA_HOST_FLAGS) ; do \
30216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30217 done; \
30218 echo "Doing distclean in texinfo"; \
30219 (cd $(HOST_SUBDIR)/texinfo && \
30220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30222 "RANLIB=$${RANLIB}" \
30223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30224 distclean) \
30225 || exit 1
30227 @endif texinfo
30229 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
30230 maybe-maintainer-clean-texinfo:
30231 @if texinfo
30232 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
30234 maintainer-clean-texinfo:
30235 @: $(MAKE); $(unstage)
30236 @[ -f ./texinfo/Makefile ] || exit 0; \
30237 r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 $(HOST_EXPORTS) \
30240 for flag in $(EXTRA_HOST_FLAGS) ; do \
30241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30242 done; \
30243 echo "Doing maintainer-clean in texinfo"; \
30244 (cd $(HOST_SUBDIR)/texinfo && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30247 "RANLIB=$${RANLIB}" \
30248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30249 maintainer-clean) \
30250 || exit 1
30252 @endif texinfo
30256 .PHONY: configure-zlib maybe-configure-zlib
30257 maybe-configure-zlib:
30258 @if gcc-bootstrap
30259 configure-zlib: stage_current
30260 @endif gcc-bootstrap
30261 @if zlib
30262 maybe-configure-zlib: configure-zlib
30263 configure-zlib:
30264 @r=`${PWD_COMMAND}`; export r; \
30265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30266 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30268 $(HOST_EXPORTS) \
30269 echo Configuring in $(HOST_SUBDIR)/zlib; \
30270 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30271 case $(srcdir) in \
30272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30273 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30275 esac; \
30276 module_srcdir=zlib; \
30277 $(SHELL) \
30278 $$s/$$module_srcdir/configure \
30279 --srcdir=$${topdir}/$$module_srcdir \
30280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30281 --target=${target_alias} @extra_host_zlib_configure_flags@ \
30282 || exit 1
30283 @endif zlib
30287 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30288 maybe-configure-stage1-zlib:
30289 @if zlib-bootstrap
30290 maybe-configure-stage1-zlib: configure-stage1-zlib
30291 configure-stage1-zlib:
30292 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30294 @r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30296 TFLAGS="$(STAGE1_TFLAGS)"; \
30297 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30298 $(HOST_EXPORTS) \
30299 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30300 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30301 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30302 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
30303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30304 cd $(HOST_SUBDIR)/zlib || exit 1; \
30305 case $(srcdir) in \
30306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30307 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30309 esac; \
30310 module_srcdir=zlib; \
30311 $(SHELL) $$s/$$module_srcdir/configure \
30312 --srcdir=$${topdir}/$$module_srcdir \
30313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30314 --target=${target_alias} \
30316 $(STAGE1_CONFIGURE_FLAGS) \
30317 @extra_host_zlib_configure_flags@
30318 @endif zlib-bootstrap
30320 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30321 maybe-configure-stage2-zlib:
30322 @if zlib-bootstrap
30323 maybe-configure-stage2-zlib: configure-stage2-zlib
30324 configure-stage2-zlib:
30325 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30327 @r=`${PWD_COMMAND}`; export r; \
30328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30329 TFLAGS="$(STAGE2_TFLAGS)"; \
30330 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30331 $(HOST_EXPORTS) \
30332 $(POSTSTAGE1_HOST_EXPORTS) \
30333 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30334 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30335 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30336 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
30337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30338 cd $(HOST_SUBDIR)/zlib || exit 1; \
30339 case $(srcdir) in \
30340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30341 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30343 esac; \
30344 module_srcdir=zlib; \
30345 $(SHELL) $$s/$$module_srcdir/configure \
30346 --srcdir=$${topdir}/$$module_srcdir \
30347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30348 --target=${target_alias} \
30349 --with-build-libsubdir=$(HOST_SUBDIR) \
30350 $(STAGE2_CONFIGURE_FLAGS) \
30351 @extra_host_zlib_configure_flags@
30352 @endif zlib-bootstrap
30354 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30355 maybe-configure-stage3-zlib:
30356 @if zlib-bootstrap
30357 maybe-configure-stage3-zlib: configure-stage3-zlib
30358 configure-stage3-zlib:
30359 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30361 @r=`${PWD_COMMAND}`; export r; \
30362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30363 TFLAGS="$(STAGE3_TFLAGS)"; \
30364 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30365 $(HOST_EXPORTS) \
30366 $(POSTSTAGE1_HOST_EXPORTS) \
30367 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30368 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30369 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30370 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
30371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30372 cd $(HOST_SUBDIR)/zlib || exit 1; \
30373 case $(srcdir) in \
30374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30375 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30377 esac; \
30378 module_srcdir=zlib; \
30379 $(SHELL) $$s/$$module_srcdir/configure \
30380 --srcdir=$${topdir}/$$module_srcdir \
30381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30382 --target=${target_alias} \
30383 --with-build-libsubdir=$(HOST_SUBDIR) \
30384 $(STAGE3_CONFIGURE_FLAGS) \
30385 @extra_host_zlib_configure_flags@
30386 @endif zlib-bootstrap
30388 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30389 maybe-configure-stage4-zlib:
30390 @if zlib-bootstrap
30391 maybe-configure-stage4-zlib: configure-stage4-zlib
30392 configure-stage4-zlib:
30393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30395 @r=`${PWD_COMMAND}`; export r; \
30396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30397 TFLAGS="$(STAGE4_TFLAGS)"; \
30398 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30399 $(HOST_EXPORTS) \
30400 $(POSTSTAGE1_HOST_EXPORTS) \
30401 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30402 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30403 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30404 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
30405 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30406 cd $(HOST_SUBDIR)/zlib || exit 1; \
30407 case $(srcdir) in \
30408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30409 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30411 esac; \
30412 module_srcdir=zlib; \
30413 $(SHELL) $$s/$$module_srcdir/configure \
30414 --srcdir=$${topdir}/$$module_srcdir \
30415 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30416 --target=${target_alias} \
30417 --with-build-libsubdir=$(HOST_SUBDIR) \
30418 $(STAGE4_CONFIGURE_FLAGS) \
30419 @extra_host_zlib_configure_flags@
30420 @endif zlib-bootstrap
30422 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30423 maybe-configure-stageprofile-zlib:
30424 @if zlib-bootstrap
30425 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30426 configure-stageprofile-zlib:
30427 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30429 @r=`${PWD_COMMAND}`; export r; \
30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30431 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30432 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30433 $(HOST_EXPORTS) \
30434 $(POSTSTAGE1_HOST_EXPORTS) \
30435 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30436 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30437 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30438 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
30439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30440 cd $(HOST_SUBDIR)/zlib || exit 1; \
30441 case $(srcdir) in \
30442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30443 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30445 esac; \
30446 module_srcdir=zlib; \
30447 $(SHELL) $$s/$$module_srcdir/configure \
30448 --srcdir=$${topdir}/$$module_srcdir \
30449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30450 --target=${target_alias} \
30451 --with-build-libsubdir=$(HOST_SUBDIR) \
30452 $(STAGEprofile_CONFIGURE_FLAGS) \
30453 @extra_host_zlib_configure_flags@
30454 @endif zlib-bootstrap
30456 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30457 maybe-configure-stagefeedback-zlib:
30458 @if zlib-bootstrap
30459 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30460 configure-stagefeedback-zlib:
30461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30463 @r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30466 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30467 $(HOST_EXPORTS) \
30468 $(POSTSTAGE1_HOST_EXPORTS) \
30469 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30470 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30471 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30472 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
30473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30474 cd $(HOST_SUBDIR)/zlib || exit 1; \
30475 case $(srcdir) in \
30476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30477 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30479 esac; \
30480 module_srcdir=zlib; \
30481 $(SHELL) $$s/$$module_srcdir/configure \
30482 --srcdir=$${topdir}/$$module_srcdir \
30483 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30484 --target=${target_alias} \
30485 --with-build-libsubdir=$(HOST_SUBDIR) \
30486 $(STAGEfeedback_CONFIGURE_FLAGS) \
30487 @extra_host_zlib_configure_flags@
30488 @endif zlib-bootstrap
30490 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
30491 maybe-configure-stageautoprofile-zlib:
30492 @if zlib-bootstrap
30493 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
30494 configure-stageautoprofile-zlib:
30495 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30496 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30497 @r=`${PWD_COMMAND}`; export r; \
30498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30499 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30500 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30501 $(HOST_EXPORTS) \
30502 $(POSTSTAGE1_HOST_EXPORTS) \
30503 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
30504 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
30505 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
30506 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
30507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30508 cd $(HOST_SUBDIR)/zlib || exit 1; \
30509 case $(srcdir) in \
30510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30511 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30513 esac; \
30514 module_srcdir=zlib; \
30515 $(SHELL) $$s/$$module_srcdir/configure \
30516 --srcdir=$${topdir}/$$module_srcdir \
30517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30518 --target=${target_alias} \
30519 --with-build-libsubdir=$(HOST_SUBDIR) \
30520 $(STAGEautoprofile_CONFIGURE_FLAGS) \
30521 @extra_host_zlib_configure_flags@
30522 @endif zlib-bootstrap
30524 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
30525 maybe-configure-stageautofeedback-zlib:
30526 @if zlib-bootstrap
30527 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
30528 configure-stageautofeedback-zlib:
30529 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30530 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30531 @r=`${PWD_COMMAND}`; export r; \
30532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30533 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30534 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30535 $(HOST_EXPORTS) \
30536 $(POSTSTAGE1_HOST_EXPORTS) \
30537 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
30538 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
30539 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
30540 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
30541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30542 cd $(HOST_SUBDIR)/zlib || exit 1; \
30543 case $(srcdir) in \
30544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30545 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30547 esac; \
30548 module_srcdir=zlib; \
30549 $(SHELL) $$s/$$module_srcdir/configure \
30550 --srcdir=$${topdir}/$$module_srcdir \
30551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30552 --target=${target_alias} \
30553 --with-build-libsubdir=$(HOST_SUBDIR) \
30554 $(STAGEautofeedback_CONFIGURE_FLAGS) \
30555 @extra_host_zlib_configure_flags@
30556 @endif zlib-bootstrap
30562 .PHONY: all-zlib maybe-all-zlib
30563 maybe-all-zlib:
30564 @if gcc-bootstrap
30565 all-zlib: stage_current
30566 @endif gcc-bootstrap
30567 @if zlib
30568 TARGET-zlib=all
30569 maybe-all-zlib: all-zlib
30570 all-zlib: configure-zlib
30571 @r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(HOST_EXPORTS) \
30574 (cd $(HOST_SUBDIR)/zlib && \
30575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30576 $(TARGET-zlib))
30577 @endif zlib
30581 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30582 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30583 maybe-all-stage1-zlib:
30584 maybe-clean-stage1-zlib:
30585 @if zlib-bootstrap
30586 maybe-all-stage1-zlib: all-stage1-zlib
30587 all-stage1: all-stage1-zlib
30588 TARGET-stage1-zlib = $(TARGET-zlib)
30589 all-stage1-zlib: configure-stage1-zlib
30590 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30591 @r=`${PWD_COMMAND}`; export r; \
30592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30593 TFLAGS="$(STAGE1_TFLAGS)"; \
30594 $(HOST_EXPORTS) \
30595 cd $(HOST_SUBDIR)/zlib && \
30597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30598 CFLAGS="$(STAGE1_CFLAGS)" \
30599 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30600 LIBCFLAGS="$(LIBCFLAGS)" \
30601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30604 $(EXTRA_HOST_FLAGS) \
30605 $(STAGE1_FLAGS_TO_PASS) \
30606 TFLAGS="$(STAGE1_TFLAGS)" \
30607 $(TARGET-stage1-zlib)
30609 maybe-clean-stage1-zlib: clean-stage1-zlib
30610 clean-stage1: clean-stage1-zlib
30611 clean-stage1-zlib:
30612 @if [ $(current_stage) = stage1 ]; then \
30613 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30614 else \
30615 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30616 $(MAKE) stage1-start; \
30617 fi; \
30618 cd $(HOST_SUBDIR)/zlib && \
30619 $(MAKE) $(EXTRA_HOST_FLAGS) \
30620 $(STAGE1_FLAGS_TO_PASS) clean
30621 @endif zlib-bootstrap
30624 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30625 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30626 maybe-all-stage2-zlib:
30627 maybe-clean-stage2-zlib:
30628 @if zlib-bootstrap
30629 maybe-all-stage2-zlib: all-stage2-zlib
30630 all-stage2: all-stage2-zlib
30631 TARGET-stage2-zlib = $(TARGET-zlib)
30632 all-stage2-zlib: configure-stage2-zlib
30633 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30634 @r=`${PWD_COMMAND}`; export r; \
30635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30636 TFLAGS="$(STAGE2_TFLAGS)"; \
30637 $(HOST_EXPORTS) \
30638 $(POSTSTAGE1_HOST_EXPORTS) \
30639 cd $(HOST_SUBDIR)/zlib && \
30641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30642 CFLAGS="$(STAGE2_CFLAGS)" \
30643 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30644 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30649 TFLAGS="$(STAGE2_TFLAGS)" \
30650 $(TARGET-stage2-zlib)
30652 maybe-clean-stage2-zlib: clean-stage2-zlib
30653 clean-stage2: clean-stage2-zlib
30654 clean-stage2-zlib:
30655 @if [ $(current_stage) = stage2 ]; then \
30656 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30657 else \
30658 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30659 $(MAKE) stage2-start; \
30660 fi; \
30661 cd $(HOST_SUBDIR)/zlib && \
30662 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30663 @endif zlib-bootstrap
30666 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30667 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30668 maybe-all-stage3-zlib:
30669 maybe-clean-stage3-zlib:
30670 @if zlib-bootstrap
30671 maybe-all-stage3-zlib: all-stage3-zlib
30672 all-stage3: all-stage3-zlib
30673 TARGET-stage3-zlib = $(TARGET-zlib)
30674 all-stage3-zlib: configure-stage3-zlib
30675 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30676 @r=`${PWD_COMMAND}`; export r; \
30677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30678 TFLAGS="$(STAGE3_TFLAGS)"; \
30679 $(HOST_EXPORTS) \
30680 $(POSTSTAGE1_HOST_EXPORTS) \
30681 cd $(HOST_SUBDIR)/zlib && \
30683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30684 CFLAGS="$(STAGE3_CFLAGS)" \
30685 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30686 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30691 TFLAGS="$(STAGE3_TFLAGS)" \
30692 $(TARGET-stage3-zlib)
30694 maybe-clean-stage3-zlib: clean-stage3-zlib
30695 clean-stage3: clean-stage3-zlib
30696 clean-stage3-zlib:
30697 @if [ $(current_stage) = stage3 ]; then \
30698 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30699 else \
30700 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30701 $(MAKE) stage3-start; \
30702 fi; \
30703 cd $(HOST_SUBDIR)/zlib && \
30704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30705 @endif zlib-bootstrap
30708 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30709 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30710 maybe-all-stage4-zlib:
30711 maybe-clean-stage4-zlib:
30712 @if zlib-bootstrap
30713 maybe-all-stage4-zlib: all-stage4-zlib
30714 all-stage4: all-stage4-zlib
30715 TARGET-stage4-zlib = $(TARGET-zlib)
30716 all-stage4-zlib: configure-stage4-zlib
30717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30718 @r=`${PWD_COMMAND}`; export r; \
30719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30720 TFLAGS="$(STAGE4_TFLAGS)"; \
30721 $(HOST_EXPORTS) \
30722 $(POSTSTAGE1_HOST_EXPORTS) \
30723 cd $(HOST_SUBDIR)/zlib && \
30725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30726 CFLAGS="$(STAGE4_CFLAGS)" \
30727 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30728 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30733 TFLAGS="$(STAGE4_TFLAGS)" \
30734 $(TARGET-stage4-zlib)
30736 maybe-clean-stage4-zlib: clean-stage4-zlib
30737 clean-stage4: clean-stage4-zlib
30738 clean-stage4-zlib:
30739 @if [ $(current_stage) = stage4 ]; then \
30740 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30741 else \
30742 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30743 $(MAKE) stage4-start; \
30744 fi; \
30745 cd $(HOST_SUBDIR)/zlib && \
30746 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30747 @endif zlib-bootstrap
30750 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30751 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30752 maybe-all-stageprofile-zlib:
30753 maybe-clean-stageprofile-zlib:
30754 @if zlib-bootstrap
30755 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30756 all-stageprofile: all-stageprofile-zlib
30757 TARGET-stageprofile-zlib = $(TARGET-zlib)
30758 all-stageprofile-zlib: configure-stageprofile-zlib
30759 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30760 @r=`${PWD_COMMAND}`; export r; \
30761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30762 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30763 $(HOST_EXPORTS) \
30764 $(POSTSTAGE1_HOST_EXPORTS) \
30765 cd $(HOST_SUBDIR)/zlib && \
30767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30768 CFLAGS="$(STAGEprofile_CFLAGS)" \
30769 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30770 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30774 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30775 TFLAGS="$(STAGEprofile_TFLAGS)" \
30776 $(TARGET-stageprofile-zlib)
30778 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30779 clean-stageprofile: clean-stageprofile-zlib
30780 clean-stageprofile-zlib:
30781 @if [ $(current_stage) = stageprofile ]; then \
30782 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30783 else \
30784 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30785 $(MAKE) stageprofile-start; \
30786 fi; \
30787 cd $(HOST_SUBDIR)/zlib && \
30788 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30789 @endif zlib-bootstrap
30792 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30793 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30794 maybe-all-stagefeedback-zlib:
30795 maybe-clean-stagefeedback-zlib:
30796 @if zlib-bootstrap
30797 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30798 all-stagefeedback: all-stagefeedback-zlib
30799 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30800 all-stagefeedback-zlib: configure-stagefeedback-zlib
30801 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30802 @r=`${PWD_COMMAND}`; export r; \
30803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30804 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30805 $(HOST_EXPORTS) \
30806 $(POSTSTAGE1_HOST_EXPORTS) \
30807 cd $(HOST_SUBDIR)/zlib && \
30809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30810 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30811 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30812 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30817 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30818 $(TARGET-stagefeedback-zlib)
30820 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30821 clean-stagefeedback: clean-stagefeedback-zlib
30822 clean-stagefeedback-zlib:
30823 @if [ $(current_stage) = stagefeedback ]; then \
30824 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30825 else \
30826 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30827 $(MAKE) stagefeedback-start; \
30828 fi; \
30829 cd $(HOST_SUBDIR)/zlib && \
30830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30831 @endif zlib-bootstrap
30834 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
30835 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
30836 maybe-all-stageautoprofile-zlib:
30837 maybe-clean-stageautoprofile-zlib:
30838 @if zlib-bootstrap
30839 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
30840 all-stageautoprofile: all-stageautoprofile-zlib
30841 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
30842 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
30843 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30844 @r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30847 $(HOST_EXPORTS) \
30848 $(POSTSTAGE1_HOST_EXPORTS) \
30849 cd $(HOST_SUBDIR)/zlib && \
30850 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30852 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30853 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30854 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30858 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30859 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30860 $(TARGET-stageautoprofile-zlib)
30862 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
30863 clean-stageautoprofile: clean-stageautoprofile-zlib
30864 clean-stageautoprofile-zlib:
30865 @if [ $(current_stage) = stageautoprofile ]; then \
30866 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30867 else \
30868 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
30869 $(MAKE) stageautoprofile-start; \
30870 fi; \
30871 cd $(HOST_SUBDIR)/zlib && \
30872 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30873 @endif zlib-bootstrap
30876 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
30877 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
30878 maybe-all-stageautofeedback-zlib:
30879 maybe-clean-stageautofeedback-zlib:
30880 @if zlib-bootstrap
30881 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
30882 all-stageautofeedback: all-stageautofeedback-zlib
30883 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
30884 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
30885 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30886 @r=`${PWD_COMMAND}`; export r; \
30887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30888 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30889 $(HOST_EXPORTS) \
30890 $(POSTSTAGE1_HOST_EXPORTS) \
30891 cd $(HOST_SUBDIR)/zlib && \
30893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30894 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30895 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30896 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30901 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30902 $(TARGET-stageautofeedback-zlib)
30904 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
30905 clean-stageautofeedback: clean-stageautofeedback-zlib
30906 clean-stageautofeedback-zlib:
30907 @if [ $(current_stage) = stageautofeedback ]; then \
30908 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30909 else \
30910 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
30911 $(MAKE) stageautofeedback-start; \
30912 fi; \
30913 cd $(HOST_SUBDIR)/zlib && \
30914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30915 @endif zlib-bootstrap
30921 .PHONY: check-zlib maybe-check-zlib
30922 maybe-check-zlib:
30923 @if zlib
30924 maybe-check-zlib: check-zlib
30926 check-zlib:
30928 @endif zlib
30930 .PHONY: install-zlib maybe-install-zlib
30931 maybe-install-zlib:
30932 @if zlib
30933 maybe-install-zlib: install-zlib
30935 install-zlib:
30937 @endif zlib
30939 .PHONY: install-strip-zlib maybe-install-strip-zlib
30940 maybe-install-strip-zlib:
30941 @if zlib
30942 maybe-install-strip-zlib: install-strip-zlib
30944 install-strip-zlib:
30946 @endif zlib
30948 # Other targets (info, dvi, pdf, etc.)
30950 .PHONY: maybe-info-zlib info-zlib
30951 maybe-info-zlib:
30952 @if zlib
30953 maybe-info-zlib: info-zlib
30955 info-zlib: \
30956 configure-zlib
30957 @[ -f ./zlib/Makefile ] || exit 0; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 $(HOST_EXPORTS) \
30961 for flag in $(EXTRA_HOST_FLAGS) ; do \
30962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30963 done; \
30964 echo "Doing info in zlib"; \
30965 (cd $(HOST_SUBDIR)/zlib && \
30966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30968 "RANLIB=$${RANLIB}" \
30969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30970 info) \
30971 || exit 1
30973 @endif zlib
30975 .PHONY: maybe-dvi-zlib dvi-zlib
30976 maybe-dvi-zlib:
30977 @if zlib
30978 maybe-dvi-zlib: dvi-zlib
30980 dvi-zlib: \
30981 configure-zlib
30982 @[ -f ./zlib/Makefile ] || exit 0; \
30983 r=`${PWD_COMMAND}`; export r; \
30984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30985 $(HOST_EXPORTS) \
30986 for flag in $(EXTRA_HOST_FLAGS) ; do \
30987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30988 done; \
30989 echo "Doing dvi in zlib"; \
30990 (cd $(HOST_SUBDIR)/zlib && \
30991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30993 "RANLIB=$${RANLIB}" \
30994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30995 dvi) \
30996 || exit 1
30998 @endif zlib
31000 .PHONY: maybe-pdf-zlib pdf-zlib
31001 maybe-pdf-zlib:
31002 @if zlib
31003 maybe-pdf-zlib: pdf-zlib
31005 pdf-zlib: \
31006 configure-zlib
31007 @[ -f ./zlib/Makefile ] || exit 0; \
31008 r=`${PWD_COMMAND}`; export r; \
31009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31010 $(HOST_EXPORTS) \
31011 for flag in $(EXTRA_HOST_FLAGS) ; do \
31012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31013 done; \
31014 echo "Doing pdf in zlib"; \
31015 (cd $(HOST_SUBDIR)/zlib && \
31016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31018 "RANLIB=$${RANLIB}" \
31019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31020 pdf) \
31021 || exit 1
31023 @endif zlib
31025 .PHONY: maybe-html-zlib html-zlib
31026 maybe-html-zlib:
31027 @if zlib
31028 maybe-html-zlib: html-zlib
31030 html-zlib: \
31031 configure-zlib
31032 @[ -f ./zlib/Makefile ] || exit 0; \
31033 r=`${PWD_COMMAND}`; export r; \
31034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31035 $(HOST_EXPORTS) \
31036 for flag in $(EXTRA_HOST_FLAGS) ; do \
31037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31038 done; \
31039 echo "Doing html in zlib"; \
31040 (cd $(HOST_SUBDIR)/zlib && \
31041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31043 "RANLIB=$${RANLIB}" \
31044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31045 html) \
31046 || exit 1
31048 @endif zlib
31050 .PHONY: maybe-TAGS-zlib TAGS-zlib
31051 maybe-TAGS-zlib:
31052 @if zlib
31053 maybe-TAGS-zlib: TAGS-zlib
31055 TAGS-zlib: \
31056 configure-zlib
31057 @[ -f ./zlib/Makefile ] || exit 0; \
31058 r=`${PWD_COMMAND}`; export r; \
31059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31060 $(HOST_EXPORTS) \
31061 for flag in $(EXTRA_HOST_FLAGS) ; do \
31062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31063 done; \
31064 echo "Doing TAGS in zlib"; \
31065 (cd $(HOST_SUBDIR)/zlib && \
31066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31068 "RANLIB=$${RANLIB}" \
31069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31070 TAGS) \
31071 || exit 1
31073 @endif zlib
31075 .PHONY: maybe-install-info-zlib install-info-zlib
31076 maybe-install-info-zlib:
31077 @if zlib
31078 maybe-install-info-zlib: install-info-zlib
31080 install-info-zlib: \
31081 configure-zlib \
31082 info-zlib
31083 @[ -f ./zlib/Makefile ] || exit 0; \
31084 r=`${PWD_COMMAND}`; export r; \
31085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31086 $(HOST_EXPORTS) \
31087 for flag in $(EXTRA_HOST_FLAGS) ; do \
31088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31089 done; \
31090 echo "Doing install-info in zlib"; \
31091 (cd $(HOST_SUBDIR)/zlib && \
31092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31094 "RANLIB=$${RANLIB}" \
31095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31096 install-info) \
31097 || exit 1
31099 @endif zlib
31101 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
31102 maybe-install-pdf-zlib:
31103 @if zlib
31104 maybe-install-pdf-zlib: install-pdf-zlib
31106 install-pdf-zlib: \
31107 configure-zlib \
31108 pdf-zlib
31109 @[ -f ./zlib/Makefile ] || exit 0; \
31110 r=`${PWD_COMMAND}`; export r; \
31111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31112 $(HOST_EXPORTS) \
31113 for flag in $(EXTRA_HOST_FLAGS) ; do \
31114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31115 done; \
31116 echo "Doing install-pdf in zlib"; \
31117 (cd $(HOST_SUBDIR)/zlib && \
31118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31120 "RANLIB=$${RANLIB}" \
31121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31122 install-pdf) \
31123 || exit 1
31125 @endif zlib
31127 .PHONY: maybe-install-html-zlib install-html-zlib
31128 maybe-install-html-zlib:
31129 @if zlib
31130 maybe-install-html-zlib: install-html-zlib
31132 install-html-zlib: \
31133 configure-zlib \
31134 html-zlib
31135 @[ -f ./zlib/Makefile ] || exit 0; \
31136 r=`${PWD_COMMAND}`; export r; \
31137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31138 $(HOST_EXPORTS) \
31139 for flag in $(EXTRA_HOST_FLAGS) ; do \
31140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31141 done; \
31142 echo "Doing install-html in zlib"; \
31143 (cd $(HOST_SUBDIR)/zlib && \
31144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31146 "RANLIB=$${RANLIB}" \
31147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31148 install-html) \
31149 || exit 1
31151 @endif zlib
31153 .PHONY: maybe-installcheck-zlib installcheck-zlib
31154 maybe-installcheck-zlib:
31155 @if zlib
31156 maybe-installcheck-zlib: installcheck-zlib
31158 installcheck-zlib: \
31159 configure-zlib
31160 @[ -f ./zlib/Makefile ] || exit 0; \
31161 r=`${PWD_COMMAND}`; export r; \
31162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31163 $(HOST_EXPORTS) \
31164 for flag in $(EXTRA_HOST_FLAGS) ; do \
31165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31166 done; \
31167 echo "Doing installcheck in zlib"; \
31168 (cd $(HOST_SUBDIR)/zlib && \
31169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31171 "RANLIB=$${RANLIB}" \
31172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31173 installcheck) \
31174 || exit 1
31176 @endif zlib
31178 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
31179 maybe-mostlyclean-zlib:
31180 @if zlib
31181 maybe-mostlyclean-zlib: mostlyclean-zlib
31183 mostlyclean-zlib:
31184 @[ -f ./zlib/Makefile ] || exit 0; \
31185 r=`${PWD_COMMAND}`; export r; \
31186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31187 $(HOST_EXPORTS) \
31188 for flag in $(EXTRA_HOST_FLAGS) ; do \
31189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31190 done; \
31191 echo "Doing mostlyclean in zlib"; \
31192 (cd $(HOST_SUBDIR)/zlib && \
31193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31195 "RANLIB=$${RANLIB}" \
31196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31197 mostlyclean) \
31198 || exit 1
31200 @endif zlib
31202 .PHONY: maybe-clean-zlib clean-zlib
31203 maybe-clean-zlib:
31204 @if zlib
31205 maybe-clean-zlib: clean-zlib
31207 clean-zlib:
31208 @[ -f ./zlib/Makefile ] || exit 0; \
31209 r=`${PWD_COMMAND}`; export r; \
31210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31211 $(HOST_EXPORTS) \
31212 for flag in $(EXTRA_HOST_FLAGS) ; do \
31213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31214 done; \
31215 echo "Doing clean in zlib"; \
31216 (cd $(HOST_SUBDIR)/zlib && \
31217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31219 "RANLIB=$${RANLIB}" \
31220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31221 clean) \
31222 || exit 1
31224 @endif zlib
31226 .PHONY: maybe-distclean-zlib distclean-zlib
31227 maybe-distclean-zlib:
31228 @if zlib
31229 maybe-distclean-zlib: distclean-zlib
31231 distclean-zlib:
31232 @[ -f ./zlib/Makefile ] || exit 0; \
31233 r=`${PWD_COMMAND}`; export r; \
31234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31235 $(HOST_EXPORTS) \
31236 for flag in $(EXTRA_HOST_FLAGS) ; do \
31237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31238 done; \
31239 echo "Doing distclean in zlib"; \
31240 (cd $(HOST_SUBDIR)/zlib && \
31241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31243 "RANLIB=$${RANLIB}" \
31244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31245 distclean) \
31246 || exit 1
31248 @endif zlib
31250 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
31251 maybe-maintainer-clean-zlib:
31252 @if zlib
31253 maybe-maintainer-clean-zlib: maintainer-clean-zlib
31255 maintainer-clean-zlib:
31256 @[ -f ./zlib/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 maintainer-clean in zlib"; \
31264 (cd $(HOST_SUBDIR)/zlib && \
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 maintainer-clean) \
31270 || exit 1
31272 @endif zlib
31276 .PHONY: configure-gdb maybe-configure-gdb
31277 maybe-configure-gdb:
31278 @if gcc-bootstrap
31279 configure-gdb: stage_current
31280 @endif gcc-bootstrap
31281 @if gdb
31282 maybe-configure-gdb: configure-gdb
31283 configure-gdb:
31284 @: $(MAKE); $(unstage)
31285 @r=`${PWD_COMMAND}`; export r; \
31286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31287 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
31288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
31289 $(HOST_EXPORTS) \
31290 echo Configuring in $(HOST_SUBDIR)/gdb; \
31291 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
31292 case $(srcdir) in \
31293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31294 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
31295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31296 esac; \
31297 module_srcdir=gdb; \
31298 $(SHELL) \
31299 $$s/$$module_srcdir/configure \
31300 --srcdir=$${topdir}/$$module_srcdir \
31301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31302 --target=${target_alias} \
31303 || exit 1
31304 @endif gdb
31310 .PHONY: all-gdb maybe-all-gdb
31311 maybe-all-gdb:
31312 @if gcc-bootstrap
31313 all-gdb: stage_current
31314 @endif gcc-bootstrap
31315 @if gdb
31316 TARGET-gdb=all
31317 maybe-all-gdb: all-gdb
31318 all-gdb: configure-gdb
31319 @: $(MAKE); $(unstage)
31320 @r=`${PWD_COMMAND}`; export r; \
31321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31322 $(HOST_EXPORTS) \
31323 (cd $(HOST_SUBDIR)/gdb && \
31324 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31325 $(TARGET-gdb))
31326 @endif gdb
31331 .PHONY: check-gdb maybe-check-gdb
31332 maybe-check-gdb:
31333 @if gdb
31334 maybe-check-gdb: check-gdb
31336 check-gdb:
31337 @: $(MAKE); $(unstage)
31338 @r=`${PWD_COMMAND}`; export r; \
31339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31340 $(HOST_EXPORTS) \
31341 (cd $(HOST_SUBDIR)/gdb && \
31342 $(MAKE) $(FLAGS_TO_PASS) check)
31344 @endif gdb
31346 .PHONY: install-gdb maybe-install-gdb
31347 maybe-install-gdb:
31348 @if gdb
31349 maybe-install-gdb: install-gdb
31351 install-gdb: installdirs
31352 @: $(MAKE); $(unstage)
31353 @r=`${PWD_COMMAND}`; export r; \
31354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31355 $(HOST_EXPORTS) \
31356 (cd $(HOST_SUBDIR)/gdb && \
31357 $(MAKE) $(FLAGS_TO_PASS) install)
31359 @endif gdb
31361 .PHONY: install-strip-gdb maybe-install-strip-gdb
31362 maybe-install-strip-gdb:
31363 @if gdb
31364 maybe-install-strip-gdb: install-strip-gdb
31366 install-strip-gdb: installdirs
31367 @: $(MAKE); $(unstage)
31368 @r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(HOST_EXPORTS) \
31371 (cd $(HOST_SUBDIR)/gdb && \
31372 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31374 @endif gdb
31376 # Other targets (info, dvi, pdf, etc.)
31378 .PHONY: maybe-info-gdb info-gdb
31379 maybe-info-gdb:
31380 @if gdb
31381 maybe-info-gdb: info-gdb
31383 info-gdb: \
31384 configure-gdb
31385 @: $(MAKE); $(unstage)
31386 @[ -f ./gdb/Makefile ] || exit 0; \
31387 r=`${PWD_COMMAND}`; export r; \
31388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31389 $(HOST_EXPORTS) \
31390 for flag in $(EXTRA_HOST_FLAGS) ; do \
31391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31392 done; \
31393 echo "Doing info in gdb"; \
31394 (cd $(HOST_SUBDIR)/gdb && \
31395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31397 "RANLIB=$${RANLIB}" \
31398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31399 info) \
31400 || exit 1
31402 @endif gdb
31404 .PHONY: maybe-dvi-gdb dvi-gdb
31405 maybe-dvi-gdb:
31406 @if gdb
31407 maybe-dvi-gdb: dvi-gdb
31409 dvi-gdb: \
31410 configure-gdb
31411 @: $(MAKE); $(unstage)
31412 @[ -f ./gdb/Makefile ] || exit 0; \
31413 r=`${PWD_COMMAND}`; export r; \
31414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31415 $(HOST_EXPORTS) \
31416 for flag in $(EXTRA_HOST_FLAGS) ; do \
31417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31418 done; \
31419 echo "Doing dvi in gdb"; \
31420 (cd $(HOST_SUBDIR)/gdb && \
31421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31423 "RANLIB=$${RANLIB}" \
31424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31425 dvi) \
31426 || exit 1
31428 @endif gdb
31430 .PHONY: maybe-pdf-gdb pdf-gdb
31431 maybe-pdf-gdb:
31432 @if gdb
31433 maybe-pdf-gdb: pdf-gdb
31435 pdf-gdb: \
31436 configure-gdb
31437 @: $(MAKE); $(unstage)
31438 @[ -f ./gdb/Makefile ] || exit 0; \
31439 r=`${PWD_COMMAND}`; export r; \
31440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31441 $(HOST_EXPORTS) \
31442 for flag in $(EXTRA_HOST_FLAGS) ; do \
31443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31444 done; \
31445 echo "Doing pdf in gdb"; \
31446 (cd $(HOST_SUBDIR)/gdb && \
31447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31449 "RANLIB=$${RANLIB}" \
31450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31451 pdf) \
31452 || exit 1
31454 @endif gdb
31456 .PHONY: maybe-html-gdb html-gdb
31457 maybe-html-gdb:
31458 @if gdb
31459 maybe-html-gdb: html-gdb
31461 html-gdb: \
31462 configure-gdb
31463 @: $(MAKE); $(unstage)
31464 @[ -f ./gdb/Makefile ] || exit 0; \
31465 r=`${PWD_COMMAND}`; export r; \
31466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31467 $(HOST_EXPORTS) \
31468 for flag in $(EXTRA_HOST_FLAGS) ; do \
31469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31470 done; \
31471 echo "Doing html in gdb"; \
31472 (cd $(HOST_SUBDIR)/gdb && \
31473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31475 "RANLIB=$${RANLIB}" \
31476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31477 html) \
31478 || exit 1
31480 @endif gdb
31482 .PHONY: maybe-TAGS-gdb TAGS-gdb
31483 maybe-TAGS-gdb:
31484 @if gdb
31485 maybe-TAGS-gdb: TAGS-gdb
31487 TAGS-gdb: \
31488 configure-gdb
31489 @: $(MAKE); $(unstage)
31490 @[ -f ./gdb/Makefile ] || exit 0; \
31491 r=`${PWD_COMMAND}`; export r; \
31492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31493 $(HOST_EXPORTS) \
31494 for flag in $(EXTRA_HOST_FLAGS) ; do \
31495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31496 done; \
31497 echo "Doing TAGS in gdb"; \
31498 (cd $(HOST_SUBDIR)/gdb && \
31499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31501 "RANLIB=$${RANLIB}" \
31502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31503 TAGS) \
31504 || exit 1
31506 @endif gdb
31508 .PHONY: maybe-install-info-gdb install-info-gdb
31509 maybe-install-info-gdb:
31510 @if gdb
31511 maybe-install-info-gdb: install-info-gdb
31513 install-info-gdb: \
31514 configure-gdb \
31515 info-gdb
31516 @: $(MAKE); $(unstage)
31517 @[ -f ./gdb/Makefile ] || exit 0; \
31518 r=`${PWD_COMMAND}`; export r; \
31519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31520 $(HOST_EXPORTS) \
31521 for flag in $(EXTRA_HOST_FLAGS) ; do \
31522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31523 done; \
31524 echo "Doing install-info in gdb"; \
31525 (cd $(HOST_SUBDIR)/gdb && \
31526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31528 "RANLIB=$${RANLIB}" \
31529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31530 install-info) \
31531 || exit 1
31533 @endif gdb
31535 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
31536 maybe-install-pdf-gdb:
31537 @if gdb
31538 maybe-install-pdf-gdb: install-pdf-gdb
31540 install-pdf-gdb: \
31541 configure-gdb \
31542 pdf-gdb
31543 @: $(MAKE); $(unstage)
31544 @[ -f ./gdb/Makefile ] || exit 0; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(HOST_EXPORTS) \
31548 for flag in $(EXTRA_HOST_FLAGS) ; do \
31549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31550 done; \
31551 echo "Doing install-pdf in gdb"; \
31552 (cd $(HOST_SUBDIR)/gdb && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31557 install-pdf) \
31558 || exit 1
31560 @endif gdb
31562 .PHONY: maybe-install-html-gdb install-html-gdb
31563 maybe-install-html-gdb:
31564 @if gdb
31565 maybe-install-html-gdb: install-html-gdb
31567 install-html-gdb: \
31568 configure-gdb \
31569 html-gdb
31570 @: $(MAKE); $(unstage)
31571 @[ -f ./gdb/Makefile ] || exit 0; \
31572 r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(HOST_EXPORTS) \
31575 for flag in $(EXTRA_HOST_FLAGS) ; do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 echo "Doing install-html in gdb"; \
31579 (cd $(HOST_SUBDIR)/gdb && \
31580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31582 "RANLIB=$${RANLIB}" \
31583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31584 install-html) \
31585 || exit 1
31587 @endif gdb
31589 .PHONY: maybe-installcheck-gdb installcheck-gdb
31590 maybe-installcheck-gdb:
31591 @if gdb
31592 maybe-installcheck-gdb: installcheck-gdb
31594 installcheck-gdb: \
31595 configure-gdb
31596 @: $(MAKE); $(unstage)
31597 @[ -f ./gdb/Makefile ] || exit 0; \
31598 r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(HOST_EXPORTS) \
31601 for flag in $(EXTRA_HOST_FLAGS) ; do \
31602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31603 done; \
31604 echo "Doing installcheck in gdb"; \
31605 (cd $(HOST_SUBDIR)/gdb && \
31606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31608 "RANLIB=$${RANLIB}" \
31609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31610 installcheck) \
31611 || exit 1
31613 @endif gdb
31615 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31616 maybe-mostlyclean-gdb:
31617 @if gdb
31618 maybe-mostlyclean-gdb: mostlyclean-gdb
31620 mostlyclean-gdb:
31621 @: $(MAKE); $(unstage)
31622 @[ -f ./gdb/Makefile ] || exit 0; \
31623 r=`${PWD_COMMAND}`; export r; \
31624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31625 $(HOST_EXPORTS) \
31626 for flag in $(EXTRA_HOST_FLAGS) ; do \
31627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31628 done; \
31629 echo "Doing mostlyclean in gdb"; \
31630 (cd $(HOST_SUBDIR)/gdb && \
31631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31633 "RANLIB=$${RANLIB}" \
31634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31635 mostlyclean) \
31636 || exit 1
31638 @endif gdb
31640 .PHONY: maybe-clean-gdb clean-gdb
31641 maybe-clean-gdb:
31642 @if gdb
31643 maybe-clean-gdb: clean-gdb
31645 clean-gdb:
31646 @: $(MAKE); $(unstage)
31647 @[ -f ./gdb/Makefile ] || exit 0; \
31648 r=`${PWD_COMMAND}`; export r; \
31649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31650 $(HOST_EXPORTS) \
31651 for flag in $(EXTRA_HOST_FLAGS) ; do \
31652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31653 done; \
31654 echo "Doing clean in gdb"; \
31655 (cd $(HOST_SUBDIR)/gdb && \
31656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31658 "RANLIB=$${RANLIB}" \
31659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31660 clean) \
31661 || exit 1
31663 @endif gdb
31665 .PHONY: maybe-distclean-gdb distclean-gdb
31666 maybe-distclean-gdb:
31667 @if gdb
31668 maybe-distclean-gdb: distclean-gdb
31670 distclean-gdb:
31671 @: $(MAKE); $(unstage)
31672 @[ -f ./gdb/Makefile ] || exit 0; \
31673 r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 $(HOST_EXPORTS) \
31676 for flag in $(EXTRA_HOST_FLAGS) ; do \
31677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31678 done; \
31679 echo "Doing distclean in gdb"; \
31680 (cd $(HOST_SUBDIR)/gdb && \
31681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31683 "RANLIB=$${RANLIB}" \
31684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31685 distclean) \
31686 || exit 1
31688 @endif gdb
31690 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31691 maybe-maintainer-clean-gdb:
31692 @if gdb
31693 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31695 maintainer-clean-gdb:
31696 @: $(MAKE); $(unstage)
31697 @[ -f ./gdb/Makefile ] || exit 0; \
31698 r=`${PWD_COMMAND}`; export r; \
31699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31700 $(HOST_EXPORTS) \
31701 for flag in $(EXTRA_HOST_FLAGS) ; do \
31702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31703 done; \
31704 echo "Doing maintainer-clean in gdb"; \
31705 (cd $(HOST_SUBDIR)/gdb && \
31706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31708 "RANLIB=$${RANLIB}" \
31709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31710 maintainer-clean) \
31711 || exit 1
31713 @endif gdb
31717 .PHONY: configure-expect maybe-configure-expect
31718 maybe-configure-expect:
31719 @if gcc-bootstrap
31720 configure-expect: stage_current
31721 @endif gcc-bootstrap
31722 @if expect
31723 maybe-configure-expect: configure-expect
31724 configure-expect:
31725 @: $(MAKE); $(unstage)
31726 @r=`${PWD_COMMAND}`; export r; \
31727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31728 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
31730 $(HOST_EXPORTS) \
31731 echo Configuring in $(HOST_SUBDIR)/expect; \
31732 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31733 case $(srcdir) in \
31734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31735 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31737 esac; \
31738 module_srcdir=expect; \
31739 $(SHELL) \
31740 $$s/$$module_srcdir/configure \
31741 --srcdir=$${topdir}/$$module_srcdir \
31742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31743 --target=${target_alias} \
31744 || exit 1
31745 @endif expect
31751 .PHONY: all-expect maybe-all-expect
31752 maybe-all-expect:
31753 @if gcc-bootstrap
31754 all-expect: stage_current
31755 @endif gcc-bootstrap
31756 @if expect
31757 TARGET-expect=all
31758 maybe-all-expect: all-expect
31759 all-expect: configure-expect
31760 @: $(MAKE); $(unstage)
31761 @r=`${PWD_COMMAND}`; export r; \
31762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31763 $(HOST_EXPORTS) \
31764 (cd $(HOST_SUBDIR)/expect && \
31765 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31766 $(TARGET-expect))
31767 @endif expect
31772 .PHONY: check-expect maybe-check-expect
31773 maybe-check-expect:
31774 @if expect
31775 maybe-check-expect: check-expect
31777 check-expect:
31778 @: $(MAKE); $(unstage)
31779 @r=`${PWD_COMMAND}`; export r; \
31780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31781 $(HOST_EXPORTS) \
31782 (cd $(HOST_SUBDIR)/expect && \
31783 $(MAKE) $(FLAGS_TO_PASS) check)
31785 @endif expect
31787 .PHONY: install-expect maybe-install-expect
31788 maybe-install-expect:
31789 @if expect
31790 maybe-install-expect: install-expect
31792 install-expect: installdirs
31793 @: $(MAKE); $(unstage)
31794 @r=`${PWD_COMMAND}`; export r; \
31795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31796 $(HOST_EXPORTS) \
31797 (cd $(HOST_SUBDIR)/expect && \
31798 $(MAKE) $(FLAGS_TO_PASS) install)
31800 @endif expect
31802 .PHONY: install-strip-expect maybe-install-strip-expect
31803 maybe-install-strip-expect:
31804 @if expect
31805 maybe-install-strip-expect: install-strip-expect
31807 install-strip-expect: installdirs
31808 @: $(MAKE); $(unstage)
31809 @r=`${PWD_COMMAND}`; export r; \
31810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31811 $(HOST_EXPORTS) \
31812 (cd $(HOST_SUBDIR)/expect && \
31813 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31815 @endif expect
31817 # Other targets (info, dvi, pdf, etc.)
31819 .PHONY: maybe-info-expect info-expect
31820 maybe-info-expect:
31821 @if expect
31822 maybe-info-expect: info-expect
31824 info-expect: \
31825 configure-expect
31826 @: $(MAKE); $(unstage)
31827 @[ -f ./expect/Makefile ] || exit 0; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(HOST_EXPORTS) \
31831 for flag in $(EXTRA_HOST_FLAGS) ; do \
31832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31833 done; \
31834 echo "Doing info in expect"; \
31835 (cd $(HOST_SUBDIR)/expect && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31840 info) \
31841 || exit 1
31843 @endif expect
31845 .PHONY: maybe-dvi-expect dvi-expect
31846 maybe-dvi-expect:
31847 @if expect
31848 maybe-dvi-expect: dvi-expect
31850 dvi-expect: \
31851 configure-expect
31852 @: $(MAKE); $(unstage)
31853 @[ -f ./expect/Makefile ] || exit 0; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(HOST_EXPORTS) \
31857 for flag in $(EXTRA_HOST_FLAGS) ; do \
31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31859 done; \
31860 echo "Doing dvi in expect"; \
31861 (cd $(HOST_SUBDIR)/expect && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31866 dvi) \
31867 || exit 1
31869 @endif expect
31871 .PHONY: maybe-pdf-expect pdf-expect
31872 maybe-pdf-expect:
31873 @if expect
31874 maybe-pdf-expect: pdf-expect
31876 pdf-expect: \
31877 configure-expect
31878 @: $(MAKE); $(unstage)
31879 @[ -f ./expect/Makefile ] || exit 0; \
31880 r=`${PWD_COMMAND}`; export r; \
31881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31882 $(HOST_EXPORTS) \
31883 for flag in $(EXTRA_HOST_FLAGS) ; do \
31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31885 done; \
31886 echo "Doing pdf in expect"; \
31887 (cd $(HOST_SUBDIR)/expect && \
31888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31890 "RANLIB=$${RANLIB}" \
31891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31892 pdf) \
31893 || exit 1
31895 @endif expect
31897 .PHONY: maybe-html-expect html-expect
31898 maybe-html-expect:
31899 @if expect
31900 maybe-html-expect: html-expect
31902 html-expect: \
31903 configure-expect
31904 @: $(MAKE); $(unstage)
31905 @[ -f ./expect/Makefile ] || exit 0; \
31906 r=`${PWD_COMMAND}`; export r; \
31907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31908 $(HOST_EXPORTS) \
31909 for flag in $(EXTRA_HOST_FLAGS) ; do \
31910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31911 done; \
31912 echo "Doing html in expect"; \
31913 (cd $(HOST_SUBDIR)/expect && \
31914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31916 "RANLIB=$${RANLIB}" \
31917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31918 html) \
31919 || exit 1
31921 @endif expect
31923 .PHONY: maybe-TAGS-expect TAGS-expect
31924 maybe-TAGS-expect:
31925 @if expect
31926 maybe-TAGS-expect: TAGS-expect
31928 TAGS-expect: \
31929 configure-expect
31930 @: $(MAKE); $(unstage)
31931 @[ -f ./expect/Makefile ] || exit 0; \
31932 r=`${PWD_COMMAND}`; export r; \
31933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31934 $(HOST_EXPORTS) \
31935 for flag in $(EXTRA_HOST_FLAGS) ; do \
31936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31937 done; \
31938 echo "Doing TAGS in expect"; \
31939 (cd $(HOST_SUBDIR)/expect && \
31940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31942 "RANLIB=$${RANLIB}" \
31943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31944 TAGS) \
31945 || exit 1
31947 @endif expect
31949 .PHONY: maybe-install-info-expect install-info-expect
31950 maybe-install-info-expect:
31951 @if expect
31952 maybe-install-info-expect: install-info-expect
31954 install-info-expect: \
31955 configure-expect \
31956 info-expect
31957 @: $(MAKE); $(unstage)
31958 @[ -f ./expect/Makefile ] || exit 0; \
31959 r=`${PWD_COMMAND}`; export r; \
31960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31961 $(HOST_EXPORTS) \
31962 for flag in $(EXTRA_HOST_FLAGS) ; do \
31963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31964 done; \
31965 echo "Doing install-info in expect"; \
31966 (cd $(HOST_SUBDIR)/expect && \
31967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31969 "RANLIB=$${RANLIB}" \
31970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31971 install-info) \
31972 || exit 1
31974 @endif expect
31976 .PHONY: maybe-install-pdf-expect install-pdf-expect
31977 maybe-install-pdf-expect:
31978 @if expect
31979 maybe-install-pdf-expect: install-pdf-expect
31981 install-pdf-expect: \
31982 configure-expect \
31983 pdf-expect
31984 @: $(MAKE); $(unstage)
31985 @[ -f ./expect/Makefile ] || exit 0; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(HOST_EXPORTS) \
31989 for flag in $(EXTRA_HOST_FLAGS) ; do \
31990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31991 done; \
31992 echo "Doing install-pdf in expect"; \
31993 (cd $(HOST_SUBDIR)/expect && \
31994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31996 "RANLIB=$${RANLIB}" \
31997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31998 install-pdf) \
31999 || exit 1
32001 @endif expect
32003 .PHONY: maybe-install-html-expect install-html-expect
32004 maybe-install-html-expect:
32005 @if expect
32006 maybe-install-html-expect: install-html-expect
32008 install-html-expect: \
32009 configure-expect \
32010 html-expect
32011 @: $(MAKE); $(unstage)
32012 @[ -f ./expect/Makefile ] || exit 0; \
32013 r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(HOST_EXPORTS) \
32016 for flag in $(EXTRA_HOST_FLAGS) ; do \
32017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32018 done; \
32019 echo "Doing install-html in expect"; \
32020 (cd $(HOST_SUBDIR)/expect && \
32021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32023 "RANLIB=$${RANLIB}" \
32024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32025 install-html) \
32026 || exit 1
32028 @endif expect
32030 .PHONY: maybe-installcheck-expect installcheck-expect
32031 maybe-installcheck-expect:
32032 @if expect
32033 maybe-installcheck-expect: installcheck-expect
32035 installcheck-expect: \
32036 configure-expect
32037 @: $(MAKE); $(unstage)
32038 @[ -f ./expect/Makefile ] || exit 0; \
32039 r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 $(HOST_EXPORTS) \
32042 for flag in $(EXTRA_HOST_FLAGS) ; do \
32043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32044 done; \
32045 echo "Doing installcheck in expect"; \
32046 (cd $(HOST_SUBDIR)/expect && \
32047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32049 "RANLIB=$${RANLIB}" \
32050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32051 installcheck) \
32052 || exit 1
32054 @endif expect
32056 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
32057 maybe-mostlyclean-expect:
32058 @if expect
32059 maybe-mostlyclean-expect: mostlyclean-expect
32061 mostlyclean-expect:
32062 @: $(MAKE); $(unstage)
32063 @[ -f ./expect/Makefile ] || exit 0; \
32064 r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 $(HOST_EXPORTS) \
32067 for flag in $(EXTRA_HOST_FLAGS) ; do \
32068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32069 done; \
32070 echo "Doing mostlyclean in expect"; \
32071 (cd $(HOST_SUBDIR)/expect && \
32072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32074 "RANLIB=$${RANLIB}" \
32075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32076 mostlyclean) \
32077 || exit 1
32079 @endif expect
32081 .PHONY: maybe-clean-expect clean-expect
32082 maybe-clean-expect:
32083 @if expect
32084 maybe-clean-expect: clean-expect
32086 clean-expect:
32087 @: $(MAKE); $(unstage)
32088 @[ -f ./expect/Makefile ] || exit 0; \
32089 r=`${PWD_COMMAND}`; export r; \
32090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32091 $(HOST_EXPORTS) \
32092 for flag in $(EXTRA_HOST_FLAGS) ; do \
32093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32094 done; \
32095 echo "Doing clean in expect"; \
32096 (cd $(HOST_SUBDIR)/expect && \
32097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32099 "RANLIB=$${RANLIB}" \
32100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32101 clean) \
32102 || exit 1
32104 @endif expect
32106 .PHONY: maybe-distclean-expect distclean-expect
32107 maybe-distclean-expect:
32108 @if expect
32109 maybe-distclean-expect: distclean-expect
32111 distclean-expect:
32112 @: $(MAKE); $(unstage)
32113 @[ -f ./expect/Makefile ] || exit 0; \
32114 r=`${PWD_COMMAND}`; export r; \
32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32116 $(HOST_EXPORTS) \
32117 for flag in $(EXTRA_HOST_FLAGS) ; do \
32118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32119 done; \
32120 echo "Doing distclean in expect"; \
32121 (cd $(HOST_SUBDIR)/expect && \
32122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32124 "RANLIB=$${RANLIB}" \
32125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32126 distclean) \
32127 || exit 1
32129 @endif expect
32131 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
32132 maybe-maintainer-clean-expect:
32133 @if expect
32134 maybe-maintainer-clean-expect: maintainer-clean-expect
32136 maintainer-clean-expect:
32137 @: $(MAKE); $(unstage)
32138 @[ -f ./expect/Makefile ] || exit 0; \
32139 r=`${PWD_COMMAND}`; export r; \
32140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32141 $(HOST_EXPORTS) \
32142 for flag in $(EXTRA_HOST_FLAGS) ; do \
32143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32144 done; \
32145 echo "Doing maintainer-clean in expect"; \
32146 (cd $(HOST_SUBDIR)/expect && \
32147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32149 "RANLIB=$${RANLIB}" \
32150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32151 maintainer-clean) \
32152 || exit 1
32154 @endif expect
32158 .PHONY: configure-guile maybe-configure-guile
32159 maybe-configure-guile:
32160 @if gcc-bootstrap
32161 configure-guile: stage_current
32162 @endif gcc-bootstrap
32163 @if guile
32164 maybe-configure-guile: configure-guile
32165 configure-guile:
32166 @: $(MAKE); $(unstage)
32167 @r=`${PWD_COMMAND}`; export r; \
32168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32169 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
32170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
32171 $(HOST_EXPORTS) \
32172 echo Configuring in $(HOST_SUBDIR)/guile; \
32173 cd "$(HOST_SUBDIR)/guile" || exit 1; \
32174 case $(srcdir) in \
32175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32176 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
32177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32178 esac; \
32179 module_srcdir=guile; \
32180 $(SHELL) \
32181 $$s/$$module_srcdir/configure \
32182 --srcdir=$${topdir}/$$module_srcdir \
32183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32184 --target=${target_alias} \
32185 || exit 1
32186 @endif guile
32192 .PHONY: all-guile maybe-all-guile
32193 maybe-all-guile:
32194 @if gcc-bootstrap
32195 all-guile: stage_current
32196 @endif gcc-bootstrap
32197 @if guile
32198 TARGET-guile=all
32199 maybe-all-guile: all-guile
32200 all-guile: configure-guile
32201 @: $(MAKE); $(unstage)
32202 @r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(HOST_EXPORTS) \
32205 (cd $(HOST_SUBDIR)/guile && \
32206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32207 $(TARGET-guile))
32208 @endif guile
32213 .PHONY: check-guile maybe-check-guile
32214 maybe-check-guile:
32215 @if guile
32216 maybe-check-guile: check-guile
32218 check-guile:
32219 @: $(MAKE); $(unstage)
32220 @r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(HOST_EXPORTS) \
32223 (cd $(HOST_SUBDIR)/guile && \
32224 $(MAKE) $(FLAGS_TO_PASS) check)
32226 @endif guile
32228 .PHONY: install-guile maybe-install-guile
32229 maybe-install-guile:
32230 @if guile
32231 maybe-install-guile: install-guile
32233 install-guile: installdirs
32234 @: $(MAKE); $(unstage)
32235 @r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 $(HOST_EXPORTS) \
32238 (cd $(HOST_SUBDIR)/guile && \
32239 $(MAKE) $(FLAGS_TO_PASS) install)
32241 @endif guile
32243 .PHONY: install-strip-guile maybe-install-strip-guile
32244 maybe-install-strip-guile:
32245 @if guile
32246 maybe-install-strip-guile: install-strip-guile
32248 install-strip-guile: installdirs
32249 @: $(MAKE); $(unstage)
32250 @r=`${PWD_COMMAND}`; export r; \
32251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32252 $(HOST_EXPORTS) \
32253 (cd $(HOST_SUBDIR)/guile && \
32254 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32256 @endif guile
32258 # Other targets (info, dvi, pdf, etc.)
32260 .PHONY: maybe-info-guile info-guile
32261 maybe-info-guile:
32262 @if guile
32263 maybe-info-guile: info-guile
32265 info-guile: \
32266 configure-guile
32267 @: $(MAKE); $(unstage)
32268 @[ -f ./guile/Makefile ] || exit 0; \
32269 r=`${PWD_COMMAND}`; export r; \
32270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32271 $(HOST_EXPORTS) \
32272 for flag in $(EXTRA_HOST_FLAGS) ; do \
32273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32274 done; \
32275 echo "Doing info in guile"; \
32276 (cd $(HOST_SUBDIR)/guile && \
32277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32279 "RANLIB=$${RANLIB}" \
32280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32281 info) \
32282 || exit 1
32284 @endif guile
32286 .PHONY: maybe-dvi-guile dvi-guile
32287 maybe-dvi-guile:
32288 @if guile
32289 maybe-dvi-guile: dvi-guile
32291 dvi-guile: \
32292 configure-guile
32293 @: $(MAKE); $(unstage)
32294 @[ -f ./guile/Makefile ] || exit 0; \
32295 r=`${PWD_COMMAND}`; export r; \
32296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32297 $(HOST_EXPORTS) \
32298 for flag in $(EXTRA_HOST_FLAGS) ; do \
32299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32300 done; \
32301 echo "Doing dvi in guile"; \
32302 (cd $(HOST_SUBDIR)/guile && \
32303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32305 "RANLIB=$${RANLIB}" \
32306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32307 dvi) \
32308 || exit 1
32310 @endif guile
32312 .PHONY: maybe-pdf-guile pdf-guile
32313 maybe-pdf-guile:
32314 @if guile
32315 maybe-pdf-guile: pdf-guile
32317 pdf-guile: \
32318 configure-guile
32319 @: $(MAKE); $(unstage)
32320 @[ -f ./guile/Makefile ] || exit 0; \
32321 r=`${PWD_COMMAND}`; export r; \
32322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32323 $(HOST_EXPORTS) \
32324 for flag in $(EXTRA_HOST_FLAGS) ; do \
32325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32326 done; \
32327 echo "Doing pdf in guile"; \
32328 (cd $(HOST_SUBDIR)/guile && \
32329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32331 "RANLIB=$${RANLIB}" \
32332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32333 pdf) \
32334 || exit 1
32336 @endif guile
32338 .PHONY: maybe-html-guile html-guile
32339 maybe-html-guile:
32340 @if guile
32341 maybe-html-guile: html-guile
32343 html-guile: \
32344 configure-guile
32345 @: $(MAKE); $(unstage)
32346 @[ -f ./guile/Makefile ] || exit 0; \
32347 r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(HOST_EXPORTS) \
32350 for flag in $(EXTRA_HOST_FLAGS) ; do \
32351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32352 done; \
32353 echo "Doing html in guile"; \
32354 (cd $(HOST_SUBDIR)/guile && \
32355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32357 "RANLIB=$${RANLIB}" \
32358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32359 html) \
32360 || exit 1
32362 @endif guile
32364 .PHONY: maybe-TAGS-guile TAGS-guile
32365 maybe-TAGS-guile:
32366 @if guile
32367 maybe-TAGS-guile: TAGS-guile
32369 TAGS-guile: \
32370 configure-guile
32371 @: $(MAKE); $(unstage)
32372 @[ -f ./guile/Makefile ] || exit 0; \
32373 r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(HOST_EXPORTS) \
32376 for flag in $(EXTRA_HOST_FLAGS) ; do \
32377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32378 done; \
32379 echo "Doing TAGS in guile"; \
32380 (cd $(HOST_SUBDIR)/guile && \
32381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32383 "RANLIB=$${RANLIB}" \
32384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32385 TAGS) \
32386 || exit 1
32388 @endif guile
32390 .PHONY: maybe-install-info-guile install-info-guile
32391 maybe-install-info-guile:
32392 @if guile
32393 maybe-install-info-guile: install-info-guile
32395 install-info-guile: \
32396 configure-guile \
32397 info-guile
32398 @: $(MAKE); $(unstage)
32399 @[ -f ./guile/Makefile ] || exit 0; \
32400 r=`${PWD_COMMAND}`; export r; \
32401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32402 $(HOST_EXPORTS) \
32403 for flag in $(EXTRA_HOST_FLAGS) ; do \
32404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32405 done; \
32406 echo "Doing install-info in guile"; \
32407 (cd $(HOST_SUBDIR)/guile && \
32408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32410 "RANLIB=$${RANLIB}" \
32411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32412 install-info) \
32413 || exit 1
32415 @endif guile
32417 .PHONY: maybe-install-pdf-guile install-pdf-guile
32418 maybe-install-pdf-guile:
32419 @if guile
32420 maybe-install-pdf-guile: install-pdf-guile
32422 install-pdf-guile: \
32423 configure-guile \
32424 pdf-guile
32425 @: $(MAKE); $(unstage)
32426 @[ -f ./guile/Makefile ] || exit 0; \
32427 r=`${PWD_COMMAND}`; export r; \
32428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32429 $(HOST_EXPORTS) \
32430 for flag in $(EXTRA_HOST_FLAGS) ; do \
32431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32432 done; \
32433 echo "Doing install-pdf in guile"; \
32434 (cd $(HOST_SUBDIR)/guile && \
32435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32437 "RANLIB=$${RANLIB}" \
32438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32439 install-pdf) \
32440 || exit 1
32442 @endif guile
32444 .PHONY: maybe-install-html-guile install-html-guile
32445 maybe-install-html-guile:
32446 @if guile
32447 maybe-install-html-guile: install-html-guile
32449 install-html-guile: \
32450 configure-guile \
32451 html-guile
32452 @: $(MAKE); $(unstage)
32453 @[ -f ./guile/Makefile ] || exit 0; \
32454 r=`${PWD_COMMAND}`; export r; \
32455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32456 $(HOST_EXPORTS) \
32457 for flag in $(EXTRA_HOST_FLAGS) ; do \
32458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32459 done; \
32460 echo "Doing install-html in guile"; \
32461 (cd $(HOST_SUBDIR)/guile && \
32462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32464 "RANLIB=$${RANLIB}" \
32465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32466 install-html) \
32467 || exit 1
32469 @endif guile
32471 .PHONY: maybe-installcheck-guile installcheck-guile
32472 maybe-installcheck-guile:
32473 @if guile
32474 maybe-installcheck-guile: installcheck-guile
32476 installcheck-guile: \
32477 configure-guile
32478 @: $(MAKE); $(unstage)
32479 @[ -f ./guile/Makefile ] || exit 0; \
32480 r=`${PWD_COMMAND}`; export r; \
32481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32482 $(HOST_EXPORTS) \
32483 for flag in $(EXTRA_HOST_FLAGS) ; do \
32484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32485 done; \
32486 echo "Doing installcheck in guile"; \
32487 (cd $(HOST_SUBDIR)/guile && \
32488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32490 "RANLIB=$${RANLIB}" \
32491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32492 installcheck) \
32493 || exit 1
32495 @endif guile
32497 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
32498 maybe-mostlyclean-guile:
32499 @if guile
32500 maybe-mostlyclean-guile: mostlyclean-guile
32502 mostlyclean-guile:
32503 @: $(MAKE); $(unstage)
32504 @[ -f ./guile/Makefile ] || exit 0; \
32505 r=`${PWD_COMMAND}`; export r; \
32506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32507 $(HOST_EXPORTS) \
32508 for flag in $(EXTRA_HOST_FLAGS) ; do \
32509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32510 done; \
32511 echo "Doing mostlyclean in guile"; \
32512 (cd $(HOST_SUBDIR)/guile && \
32513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32515 "RANLIB=$${RANLIB}" \
32516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32517 mostlyclean) \
32518 || exit 1
32520 @endif guile
32522 .PHONY: maybe-clean-guile clean-guile
32523 maybe-clean-guile:
32524 @if guile
32525 maybe-clean-guile: clean-guile
32527 clean-guile:
32528 @: $(MAKE); $(unstage)
32529 @[ -f ./guile/Makefile ] || exit 0; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(HOST_EXPORTS) \
32533 for flag in $(EXTRA_HOST_FLAGS) ; do \
32534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32535 done; \
32536 echo "Doing clean in guile"; \
32537 (cd $(HOST_SUBDIR)/guile && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32540 "RANLIB=$${RANLIB}" \
32541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32542 clean) \
32543 || exit 1
32545 @endif guile
32547 .PHONY: maybe-distclean-guile distclean-guile
32548 maybe-distclean-guile:
32549 @if guile
32550 maybe-distclean-guile: distclean-guile
32552 distclean-guile:
32553 @: $(MAKE); $(unstage)
32554 @[ -f ./guile/Makefile ] || exit 0; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(HOST_EXPORTS) \
32558 for flag in $(EXTRA_HOST_FLAGS) ; do \
32559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32560 done; \
32561 echo "Doing distclean in guile"; \
32562 (cd $(HOST_SUBDIR)/guile && \
32563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32565 "RANLIB=$${RANLIB}" \
32566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32567 distclean) \
32568 || exit 1
32570 @endif guile
32572 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
32573 maybe-maintainer-clean-guile:
32574 @if guile
32575 maybe-maintainer-clean-guile: maintainer-clean-guile
32577 maintainer-clean-guile:
32578 @: $(MAKE); $(unstage)
32579 @[ -f ./guile/Makefile ] || exit 0; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(HOST_EXPORTS) \
32583 for flag in $(EXTRA_HOST_FLAGS) ; do \
32584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32585 done; \
32586 echo "Doing maintainer-clean in guile"; \
32587 (cd $(HOST_SUBDIR)/guile && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32592 maintainer-clean) \
32593 || exit 1
32595 @endif guile
32599 .PHONY: configure-tk maybe-configure-tk
32600 maybe-configure-tk:
32601 @if gcc-bootstrap
32602 configure-tk: stage_current
32603 @endif gcc-bootstrap
32604 @if tk
32605 maybe-configure-tk: configure-tk
32606 configure-tk:
32607 @: $(MAKE); $(unstage)
32608 @r=`${PWD_COMMAND}`; export r; \
32609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32610 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
32612 $(HOST_EXPORTS) \
32613 echo Configuring in $(HOST_SUBDIR)/tk; \
32614 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32615 case $(srcdir) in \
32616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32617 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32619 esac; \
32620 module_srcdir=tk; \
32621 $(SHELL) \
32622 $$s/$$module_srcdir/configure \
32623 --srcdir=$${topdir}/$$module_srcdir \
32624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32625 --target=${target_alias} \
32626 || exit 1
32627 @endif tk
32633 .PHONY: all-tk maybe-all-tk
32634 maybe-all-tk:
32635 @if gcc-bootstrap
32636 all-tk: stage_current
32637 @endif gcc-bootstrap
32638 @if tk
32639 TARGET-tk=all
32640 maybe-all-tk: all-tk
32641 all-tk: configure-tk
32642 @: $(MAKE); $(unstage)
32643 @r=`${PWD_COMMAND}`; export r; \
32644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32645 $(HOST_EXPORTS) \
32646 (cd $(HOST_SUBDIR)/tk && \
32647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32648 $(TARGET-tk))
32649 @endif tk
32654 .PHONY: check-tk maybe-check-tk
32655 maybe-check-tk:
32656 @if tk
32657 maybe-check-tk: check-tk
32659 check-tk:
32660 @: $(MAKE); $(unstage)
32661 @r=`${PWD_COMMAND}`; export r; \
32662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32663 $(HOST_EXPORTS) \
32664 (cd $(HOST_SUBDIR)/tk && \
32665 $(MAKE) $(FLAGS_TO_PASS) check)
32667 @endif tk
32669 .PHONY: install-tk maybe-install-tk
32670 maybe-install-tk:
32671 @if tk
32672 maybe-install-tk: install-tk
32674 install-tk: installdirs
32675 @: $(MAKE); $(unstage)
32676 @r=`${PWD_COMMAND}`; export r; \
32677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32678 $(HOST_EXPORTS) \
32679 (cd $(HOST_SUBDIR)/tk && \
32680 $(MAKE) $(FLAGS_TO_PASS) install)
32682 @endif tk
32684 .PHONY: install-strip-tk maybe-install-strip-tk
32685 maybe-install-strip-tk:
32686 @if tk
32687 maybe-install-strip-tk: install-strip-tk
32689 install-strip-tk: installdirs
32690 @: $(MAKE); $(unstage)
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 $(HOST_EXPORTS) \
32694 (cd $(HOST_SUBDIR)/tk && \
32695 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32697 @endif tk
32699 # Other targets (info, dvi, pdf, etc.)
32701 .PHONY: maybe-info-tk info-tk
32702 maybe-info-tk:
32703 @if tk
32704 maybe-info-tk: info-tk
32706 info-tk: \
32707 configure-tk
32708 @: $(MAKE); $(unstage)
32709 @[ -f ./tk/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 info in tk"; \
32717 (cd $(HOST_SUBDIR)/tk && \
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 info) \
32723 || exit 1
32725 @endif tk
32727 .PHONY: maybe-dvi-tk dvi-tk
32728 maybe-dvi-tk:
32729 @if tk
32730 maybe-dvi-tk: dvi-tk
32732 dvi-tk: \
32733 configure-tk
32734 @: $(MAKE); $(unstage)
32735 @[ -f ./tk/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 dvi in tk"; \
32743 (cd $(HOST_SUBDIR)/tk && \
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 dvi) \
32749 || exit 1
32751 @endif tk
32753 .PHONY: maybe-pdf-tk pdf-tk
32754 maybe-pdf-tk:
32755 @if tk
32756 maybe-pdf-tk: pdf-tk
32758 pdf-tk: \
32759 configure-tk
32760 @: $(MAKE); $(unstage)
32761 @[ -f ./tk/Makefile ] || exit 0; \
32762 r=`${PWD_COMMAND}`; export r; \
32763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32764 $(HOST_EXPORTS) \
32765 for flag in $(EXTRA_HOST_FLAGS) ; do \
32766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32767 done; \
32768 echo "Doing pdf in tk"; \
32769 (cd $(HOST_SUBDIR)/tk && \
32770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32772 "RANLIB=$${RANLIB}" \
32773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32774 pdf) \
32775 || exit 1
32777 @endif tk
32779 .PHONY: maybe-html-tk html-tk
32780 maybe-html-tk:
32781 @if tk
32782 maybe-html-tk: html-tk
32784 html-tk: \
32785 configure-tk
32786 @: $(MAKE); $(unstage)
32787 @[ -f ./tk/Makefile ] || exit 0; \
32788 r=`${PWD_COMMAND}`; export r; \
32789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32790 $(HOST_EXPORTS) \
32791 for flag in $(EXTRA_HOST_FLAGS) ; do \
32792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32793 done; \
32794 echo "Doing html in tk"; \
32795 (cd $(HOST_SUBDIR)/tk && \
32796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32798 "RANLIB=$${RANLIB}" \
32799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32800 html) \
32801 || exit 1
32803 @endif tk
32805 .PHONY: maybe-TAGS-tk TAGS-tk
32806 maybe-TAGS-tk:
32807 @if tk
32808 maybe-TAGS-tk: TAGS-tk
32810 TAGS-tk: \
32811 configure-tk
32812 @: $(MAKE); $(unstage)
32813 @[ -f ./tk/Makefile ] || exit 0; \
32814 r=`${PWD_COMMAND}`; export r; \
32815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32816 $(HOST_EXPORTS) \
32817 for flag in $(EXTRA_HOST_FLAGS) ; do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 echo "Doing TAGS in tk"; \
32821 (cd $(HOST_SUBDIR)/tk && \
32822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32824 "RANLIB=$${RANLIB}" \
32825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32826 TAGS) \
32827 || exit 1
32829 @endif tk
32831 .PHONY: maybe-install-info-tk install-info-tk
32832 maybe-install-info-tk:
32833 @if tk
32834 maybe-install-info-tk: install-info-tk
32836 install-info-tk: \
32837 configure-tk \
32838 info-tk
32839 @: $(MAKE); $(unstage)
32840 @[ -f ./tk/Makefile ] || exit 0; \
32841 r=`${PWD_COMMAND}`; export r; \
32842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32843 $(HOST_EXPORTS) \
32844 for flag in $(EXTRA_HOST_FLAGS) ; do \
32845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32846 done; \
32847 echo "Doing install-info in tk"; \
32848 (cd $(HOST_SUBDIR)/tk && \
32849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32851 "RANLIB=$${RANLIB}" \
32852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32853 install-info) \
32854 || exit 1
32856 @endif tk
32858 .PHONY: maybe-install-pdf-tk install-pdf-tk
32859 maybe-install-pdf-tk:
32860 @if tk
32861 maybe-install-pdf-tk: install-pdf-tk
32863 install-pdf-tk: \
32864 configure-tk \
32865 pdf-tk
32866 @: $(MAKE); $(unstage)
32867 @[ -f ./tk/Makefile ] || exit 0; \
32868 r=`${PWD_COMMAND}`; export r; \
32869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32870 $(HOST_EXPORTS) \
32871 for flag in $(EXTRA_HOST_FLAGS) ; do \
32872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32873 done; \
32874 echo "Doing install-pdf in tk"; \
32875 (cd $(HOST_SUBDIR)/tk && \
32876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32878 "RANLIB=$${RANLIB}" \
32879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32880 install-pdf) \
32881 || exit 1
32883 @endif tk
32885 .PHONY: maybe-install-html-tk install-html-tk
32886 maybe-install-html-tk:
32887 @if tk
32888 maybe-install-html-tk: install-html-tk
32890 install-html-tk: \
32891 configure-tk \
32892 html-tk
32893 @: $(MAKE); $(unstage)
32894 @[ -f ./tk/Makefile ] || exit 0; \
32895 r=`${PWD_COMMAND}`; export r; \
32896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32897 $(HOST_EXPORTS) \
32898 for flag in $(EXTRA_HOST_FLAGS) ; do \
32899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32900 done; \
32901 echo "Doing install-html in tk"; \
32902 (cd $(HOST_SUBDIR)/tk && \
32903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32905 "RANLIB=$${RANLIB}" \
32906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32907 install-html) \
32908 || exit 1
32910 @endif tk
32912 .PHONY: maybe-installcheck-tk installcheck-tk
32913 maybe-installcheck-tk:
32914 @if tk
32915 maybe-installcheck-tk: installcheck-tk
32917 installcheck-tk: \
32918 configure-tk
32919 @: $(MAKE); $(unstage)
32920 @[ -f ./tk/Makefile ] || exit 0; \
32921 r=`${PWD_COMMAND}`; export r; \
32922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32923 $(HOST_EXPORTS) \
32924 for flag in $(EXTRA_HOST_FLAGS) ; do \
32925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32926 done; \
32927 echo "Doing installcheck in tk"; \
32928 (cd $(HOST_SUBDIR)/tk && \
32929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32931 "RANLIB=$${RANLIB}" \
32932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32933 installcheck) \
32934 || exit 1
32936 @endif tk
32938 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32939 maybe-mostlyclean-tk:
32940 @if tk
32941 maybe-mostlyclean-tk: mostlyclean-tk
32943 mostlyclean-tk:
32944 @: $(MAKE); $(unstage)
32945 @[ -f ./tk/Makefile ] || exit 0; \
32946 r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(HOST_EXPORTS) \
32949 for flag in $(EXTRA_HOST_FLAGS) ; do \
32950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32951 done; \
32952 echo "Doing mostlyclean in tk"; \
32953 (cd $(HOST_SUBDIR)/tk && \
32954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32956 "RANLIB=$${RANLIB}" \
32957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32958 mostlyclean) \
32959 || exit 1
32961 @endif tk
32963 .PHONY: maybe-clean-tk clean-tk
32964 maybe-clean-tk:
32965 @if tk
32966 maybe-clean-tk: clean-tk
32968 clean-tk:
32969 @: $(MAKE); $(unstage)
32970 @[ -f ./tk/Makefile ] || exit 0; \
32971 r=`${PWD_COMMAND}`; export r; \
32972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32973 $(HOST_EXPORTS) \
32974 for flag in $(EXTRA_HOST_FLAGS) ; do \
32975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32976 done; \
32977 echo "Doing clean in tk"; \
32978 (cd $(HOST_SUBDIR)/tk && \
32979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32981 "RANLIB=$${RANLIB}" \
32982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32983 clean) \
32984 || exit 1
32986 @endif tk
32988 .PHONY: maybe-distclean-tk distclean-tk
32989 maybe-distclean-tk:
32990 @if tk
32991 maybe-distclean-tk: distclean-tk
32993 distclean-tk:
32994 @: $(MAKE); $(unstage)
32995 @[ -f ./tk/Makefile ] || exit 0; \
32996 r=`${PWD_COMMAND}`; export r; \
32997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32998 $(HOST_EXPORTS) \
32999 for flag in $(EXTRA_HOST_FLAGS) ; do \
33000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33001 done; \
33002 echo "Doing distclean in tk"; \
33003 (cd $(HOST_SUBDIR)/tk && \
33004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33006 "RANLIB=$${RANLIB}" \
33007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33008 distclean) \
33009 || exit 1
33011 @endif tk
33013 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
33014 maybe-maintainer-clean-tk:
33015 @if tk
33016 maybe-maintainer-clean-tk: maintainer-clean-tk
33018 maintainer-clean-tk:
33019 @: $(MAKE); $(unstage)
33020 @[ -f ./tk/Makefile ] || exit 0; \
33021 r=`${PWD_COMMAND}`; export r; \
33022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33023 $(HOST_EXPORTS) \
33024 for flag in $(EXTRA_HOST_FLAGS) ; do \
33025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33026 done; \
33027 echo "Doing maintainer-clean in tk"; \
33028 (cd $(HOST_SUBDIR)/tk && \
33029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33031 "RANLIB=$${RANLIB}" \
33032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33033 maintainer-clean) \
33034 || exit 1
33036 @endif tk
33040 .PHONY: configure-libtermcap maybe-configure-libtermcap
33041 maybe-configure-libtermcap:
33042 @if gcc-bootstrap
33043 configure-libtermcap: stage_current
33044 @endif gcc-bootstrap
33045 @if libtermcap
33046 maybe-configure-libtermcap: configure-libtermcap
33047 configure-libtermcap:
33048 @: $(MAKE); $(unstage)
33049 @r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
33052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
33053 $(HOST_EXPORTS) \
33054 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
33055 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
33056 case $(srcdir) in \
33057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33058 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
33059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33060 esac; \
33061 module_srcdir=libtermcap; \
33062 $(SHELL) \
33063 $$s/$$module_srcdir/configure \
33064 --srcdir=$${topdir}/$$module_srcdir \
33065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33066 --target=${target_alias} \
33067 || exit 1
33068 @endif libtermcap
33074 .PHONY: all-libtermcap maybe-all-libtermcap
33075 maybe-all-libtermcap:
33076 @if gcc-bootstrap
33077 all-libtermcap: stage_current
33078 @endif gcc-bootstrap
33079 @if libtermcap
33080 TARGET-libtermcap=all
33081 maybe-all-libtermcap: all-libtermcap
33082 all-libtermcap: configure-libtermcap
33083 @: $(MAKE); $(unstage)
33084 @r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(HOST_EXPORTS) \
33087 (cd $(HOST_SUBDIR)/libtermcap && \
33088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33089 $(TARGET-libtermcap))
33090 @endif libtermcap
33095 .PHONY: check-libtermcap maybe-check-libtermcap
33096 maybe-check-libtermcap:
33097 @if libtermcap
33098 maybe-check-libtermcap: check-libtermcap
33100 check-libtermcap:
33102 @endif libtermcap
33104 .PHONY: install-libtermcap maybe-install-libtermcap
33105 maybe-install-libtermcap:
33106 @if libtermcap
33107 maybe-install-libtermcap: install-libtermcap
33109 install-libtermcap: installdirs
33110 @: $(MAKE); $(unstage)
33111 @r=`${PWD_COMMAND}`; export r; \
33112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33113 $(HOST_EXPORTS) \
33114 (cd $(HOST_SUBDIR)/libtermcap && \
33115 $(MAKE) $(FLAGS_TO_PASS) install)
33117 @endif libtermcap
33119 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
33120 maybe-install-strip-libtermcap:
33121 @if libtermcap
33122 maybe-install-strip-libtermcap: install-strip-libtermcap
33124 install-strip-libtermcap: installdirs
33125 @: $(MAKE); $(unstage)
33126 @r=`${PWD_COMMAND}`; export r; \
33127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33128 $(HOST_EXPORTS) \
33129 (cd $(HOST_SUBDIR)/libtermcap && \
33130 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33132 @endif libtermcap
33134 # Other targets (info, dvi, pdf, etc.)
33136 .PHONY: maybe-info-libtermcap info-libtermcap
33137 maybe-info-libtermcap:
33138 @if libtermcap
33139 maybe-info-libtermcap: info-libtermcap
33141 info-libtermcap: \
33142 configure-libtermcap
33143 @: $(MAKE); $(unstage)
33144 @[ -f ./libtermcap/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 info in libtermcap"; \
33152 (cd $(HOST_SUBDIR)/libtermcap && \
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 info) \
33158 || exit 1
33160 @endif libtermcap
33162 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
33163 maybe-dvi-libtermcap:
33164 @if libtermcap
33165 maybe-dvi-libtermcap: dvi-libtermcap
33167 dvi-libtermcap: \
33168 configure-libtermcap
33169 @: $(MAKE); $(unstage)
33170 @[ -f ./libtermcap/Makefile ] || exit 0; \
33171 r=`${PWD_COMMAND}`; export r; \
33172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33173 $(HOST_EXPORTS) \
33174 for flag in $(EXTRA_HOST_FLAGS) ; do \
33175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33176 done; \
33177 echo "Doing dvi in libtermcap"; \
33178 (cd $(HOST_SUBDIR)/libtermcap && \
33179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33181 "RANLIB=$${RANLIB}" \
33182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33183 dvi) \
33184 || exit 1
33186 @endif libtermcap
33188 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
33189 maybe-pdf-libtermcap:
33190 @if libtermcap
33191 maybe-pdf-libtermcap: pdf-libtermcap
33193 pdf-libtermcap: \
33194 configure-libtermcap
33195 @: $(MAKE); $(unstage)
33196 @[ -f ./libtermcap/Makefile ] || exit 0; \
33197 r=`${PWD_COMMAND}`; export r; \
33198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33199 $(HOST_EXPORTS) \
33200 for flag in $(EXTRA_HOST_FLAGS) ; do \
33201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33202 done; \
33203 echo "Doing pdf in libtermcap"; \
33204 (cd $(HOST_SUBDIR)/libtermcap && \
33205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33207 "RANLIB=$${RANLIB}" \
33208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33209 pdf) \
33210 || exit 1
33212 @endif libtermcap
33214 .PHONY: maybe-html-libtermcap html-libtermcap
33215 maybe-html-libtermcap:
33216 @if libtermcap
33217 maybe-html-libtermcap: html-libtermcap
33219 html-libtermcap: \
33220 configure-libtermcap
33221 @: $(MAKE); $(unstage)
33222 @[ -f ./libtermcap/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 html in libtermcap"; \
33230 (cd $(HOST_SUBDIR)/libtermcap && \
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 html) \
33236 || exit 1
33238 @endif libtermcap
33240 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
33241 maybe-TAGS-libtermcap:
33242 @if libtermcap
33243 maybe-TAGS-libtermcap: TAGS-libtermcap
33245 TAGS-libtermcap: \
33246 configure-libtermcap
33247 @: $(MAKE); $(unstage)
33248 @[ -f ./libtermcap/Makefile ] || exit 0; \
33249 r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 $(HOST_EXPORTS) \
33252 for flag in $(EXTRA_HOST_FLAGS) ; do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 echo "Doing TAGS in libtermcap"; \
33256 (cd $(HOST_SUBDIR)/libtermcap && \
33257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33259 "RANLIB=$${RANLIB}" \
33260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33261 TAGS) \
33262 || exit 1
33264 @endif libtermcap
33266 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
33267 maybe-install-info-libtermcap:
33268 @if libtermcap
33269 maybe-install-info-libtermcap: install-info-libtermcap
33271 install-info-libtermcap: \
33272 configure-libtermcap \
33273 info-libtermcap
33274 @: $(MAKE); $(unstage)
33275 @[ -f ./libtermcap/Makefile ] || exit 0; \
33276 r=`${PWD_COMMAND}`; export r; \
33277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33278 $(HOST_EXPORTS) \
33279 for flag in $(EXTRA_HOST_FLAGS) ; do \
33280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33281 done; \
33282 echo "Doing install-info in libtermcap"; \
33283 (cd $(HOST_SUBDIR)/libtermcap && \
33284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33286 "RANLIB=$${RANLIB}" \
33287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33288 install-info) \
33289 || exit 1
33291 @endif libtermcap
33293 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
33294 maybe-install-pdf-libtermcap:
33295 @if libtermcap
33296 maybe-install-pdf-libtermcap: install-pdf-libtermcap
33298 install-pdf-libtermcap: \
33299 configure-libtermcap \
33300 pdf-libtermcap
33301 @: $(MAKE); $(unstage)
33302 @[ -f ./libtermcap/Makefile ] || exit 0; \
33303 r=`${PWD_COMMAND}`; export r; \
33304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33305 $(HOST_EXPORTS) \
33306 for flag in $(EXTRA_HOST_FLAGS) ; do \
33307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33308 done; \
33309 echo "Doing install-pdf in libtermcap"; \
33310 (cd $(HOST_SUBDIR)/libtermcap && \
33311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33313 "RANLIB=$${RANLIB}" \
33314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33315 install-pdf) \
33316 || exit 1
33318 @endif libtermcap
33320 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
33321 maybe-install-html-libtermcap:
33322 @if libtermcap
33323 maybe-install-html-libtermcap: install-html-libtermcap
33325 install-html-libtermcap: \
33326 configure-libtermcap \
33327 html-libtermcap
33328 @: $(MAKE); $(unstage)
33329 @[ -f ./libtermcap/Makefile ] || exit 0; \
33330 r=`${PWD_COMMAND}`; export r; \
33331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33332 $(HOST_EXPORTS) \
33333 for flag in $(EXTRA_HOST_FLAGS) ; do \
33334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33335 done; \
33336 echo "Doing install-html in libtermcap"; \
33337 (cd $(HOST_SUBDIR)/libtermcap && \
33338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33340 "RANLIB=$${RANLIB}" \
33341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33342 install-html) \
33343 || exit 1
33345 @endif libtermcap
33347 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
33348 maybe-installcheck-libtermcap:
33349 @if libtermcap
33350 maybe-installcheck-libtermcap: installcheck-libtermcap
33352 installcheck-libtermcap: \
33353 configure-libtermcap
33354 @: $(MAKE); $(unstage)
33355 @[ -f ./libtermcap/Makefile ] || exit 0; \
33356 r=`${PWD_COMMAND}`; export r; \
33357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33358 $(HOST_EXPORTS) \
33359 for flag in $(EXTRA_HOST_FLAGS) ; do \
33360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33361 done; \
33362 echo "Doing installcheck in libtermcap"; \
33363 (cd $(HOST_SUBDIR)/libtermcap && \
33364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33366 "RANLIB=$${RANLIB}" \
33367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33368 installcheck) \
33369 || exit 1
33371 @endif libtermcap
33373 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
33374 maybe-mostlyclean-libtermcap:
33375 @if libtermcap
33376 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
33378 # libtermcap doesn't support mostlyclean.
33379 mostlyclean-libtermcap:
33381 @endif libtermcap
33383 .PHONY: maybe-clean-libtermcap clean-libtermcap
33384 maybe-clean-libtermcap:
33385 @if libtermcap
33386 maybe-clean-libtermcap: clean-libtermcap
33388 # libtermcap doesn't support clean.
33389 clean-libtermcap:
33391 @endif libtermcap
33393 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
33394 maybe-distclean-libtermcap:
33395 @if libtermcap
33396 maybe-distclean-libtermcap: distclean-libtermcap
33398 # libtermcap doesn't support distclean.
33399 distclean-libtermcap:
33401 @endif libtermcap
33403 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
33404 maybe-maintainer-clean-libtermcap:
33405 @if libtermcap
33406 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
33408 # libtermcap doesn't support maintainer-clean.
33409 maintainer-clean-libtermcap:
33411 @endif libtermcap
33415 .PHONY: configure-utils maybe-configure-utils
33416 maybe-configure-utils:
33417 @if gcc-bootstrap
33418 configure-utils: stage_current
33419 @endif gcc-bootstrap
33420 @if utils
33421 maybe-configure-utils: configure-utils
33422 configure-utils:
33423 @: $(MAKE); $(unstage)
33424 @r=`${PWD_COMMAND}`; export r; \
33425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33426 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
33427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
33428 $(HOST_EXPORTS) \
33429 echo Configuring in $(HOST_SUBDIR)/utils; \
33430 cd "$(HOST_SUBDIR)/utils" || exit 1; \
33431 case $(srcdir) in \
33432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33433 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
33434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33435 esac; \
33436 module_srcdir=utils; \
33437 $(SHELL) \
33438 $$s/$$module_srcdir/configure \
33439 --srcdir=$${topdir}/$$module_srcdir \
33440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33441 --target=${target_alias} \
33442 || exit 1
33443 @endif utils
33449 .PHONY: all-utils maybe-all-utils
33450 maybe-all-utils:
33451 @if gcc-bootstrap
33452 all-utils: stage_current
33453 @endif gcc-bootstrap
33454 @if utils
33455 TARGET-utils=all
33456 maybe-all-utils: all-utils
33457 all-utils: configure-utils
33458 @: $(MAKE); $(unstage)
33459 @r=`${PWD_COMMAND}`; export r; \
33460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33461 $(HOST_EXPORTS) \
33462 (cd $(HOST_SUBDIR)/utils && \
33463 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33464 $(TARGET-utils))
33465 @endif utils
33470 .PHONY: check-utils maybe-check-utils
33471 maybe-check-utils:
33472 @if utils
33473 maybe-check-utils: check-utils
33475 check-utils:
33477 @endif utils
33479 .PHONY: install-utils maybe-install-utils
33480 maybe-install-utils:
33481 @if utils
33482 maybe-install-utils: install-utils
33484 install-utils: installdirs
33485 @: $(MAKE); $(unstage)
33486 @r=`${PWD_COMMAND}`; export r; \
33487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33488 $(HOST_EXPORTS) \
33489 (cd $(HOST_SUBDIR)/utils && \
33490 $(MAKE) $(FLAGS_TO_PASS) install)
33492 @endif utils
33494 .PHONY: install-strip-utils maybe-install-strip-utils
33495 maybe-install-strip-utils:
33496 @if utils
33497 maybe-install-strip-utils: install-strip-utils
33499 install-strip-utils: installdirs
33500 @: $(MAKE); $(unstage)
33501 @r=`${PWD_COMMAND}`; export r; \
33502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33503 $(HOST_EXPORTS) \
33504 (cd $(HOST_SUBDIR)/utils && \
33505 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33507 @endif utils
33509 # Other targets (info, dvi, pdf, etc.)
33511 .PHONY: maybe-info-utils info-utils
33512 maybe-info-utils:
33513 @if utils
33514 maybe-info-utils: info-utils
33516 info-utils: \
33517 configure-utils
33518 @: $(MAKE); $(unstage)
33519 @[ -f ./utils/Makefile ] || exit 0; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(HOST_EXPORTS) \
33523 for flag in $(EXTRA_HOST_FLAGS) ; do \
33524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33525 done; \
33526 echo "Doing info in utils"; \
33527 (cd $(HOST_SUBDIR)/utils && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33532 info) \
33533 || exit 1
33535 @endif utils
33537 .PHONY: maybe-dvi-utils dvi-utils
33538 maybe-dvi-utils:
33539 @if utils
33540 maybe-dvi-utils: dvi-utils
33542 dvi-utils: \
33543 configure-utils
33544 @: $(MAKE); $(unstage)
33545 @[ -f ./utils/Makefile ] || exit 0; \
33546 r=`${PWD_COMMAND}`; export r; \
33547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33548 $(HOST_EXPORTS) \
33549 for flag in $(EXTRA_HOST_FLAGS) ; do \
33550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33551 done; \
33552 echo "Doing dvi in utils"; \
33553 (cd $(HOST_SUBDIR)/utils && \
33554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33556 "RANLIB=$${RANLIB}" \
33557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33558 dvi) \
33559 || exit 1
33561 @endif utils
33563 .PHONY: maybe-pdf-utils pdf-utils
33564 maybe-pdf-utils:
33565 @if utils
33566 maybe-pdf-utils: pdf-utils
33568 pdf-utils: \
33569 configure-utils
33570 @: $(MAKE); $(unstage)
33571 @[ -f ./utils/Makefile ] || exit 0; \
33572 r=`${PWD_COMMAND}`; export r; \
33573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33574 $(HOST_EXPORTS) \
33575 for flag in $(EXTRA_HOST_FLAGS) ; do \
33576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33577 done; \
33578 echo "Doing pdf in utils"; \
33579 (cd $(HOST_SUBDIR)/utils && \
33580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33582 "RANLIB=$${RANLIB}" \
33583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33584 pdf) \
33585 || exit 1
33587 @endif utils
33589 .PHONY: maybe-html-utils html-utils
33590 maybe-html-utils:
33591 @if utils
33592 maybe-html-utils: html-utils
33594 html-utils: \
33595 configure-utils
33596 @: $(MAKE); $(unstage)
33597 @[ -f ./utils/Makefile ] || exit 0; \
33598 r=`${PWD_COMMAND}`; export r; \
33599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33600 $(HOST_EXPORTS) \
33601 for flag in $(EXTRA_HOST_FLAGS) ; do \
33602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33603 done; \
33604 echo "Doing html in utils"; \
33605 (cd $(HOST_SUBDIR)/utils && \
33606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33608 "RANLIB=$${RANLIB}" \
33609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33610 html) \
33611 || exit 1
33613 @endif utils
33615 .PHONY: maybe-TAGS-utils TAGS-utils
33616 maybe-TAGS-utils:
33617 @if utils
33618 maybe-TAGS-utils: TAGS-utils
33620 TAGS-utils: \
33621 configure-utils
33622 @: $(MAKE); $(unstage)
33623 @[ -f ./utils/Makefile ] || exit 0; \
33624 r=`${PWD_COMMAND}`; export r; \
33625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33626 $(HOST_EXPORTS) \
33627 for flag in $(EXTRA_HOST_FLAGS) ; do \
33628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33629 done; \
33630 echo "Doing TAGS in utils"; \
33631 (cd $(HOST_SUBDIR)/utils && \
33632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33634 "RANLIB=$${RANLIB}" \
33635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33636 TAGS) \
33637 || exit 1
33639 @endif utils
33641 .PHONY: maybe-install-info-utils install-info-utils
33642 maybe-install-info-utils:
33643 @if utils
33644 maybe-install-info-utils: install-info-utils
33646 install-info-utils: \
33647 configure-utils \
33648 info-utils
33649 @: $(MAKE); $(unstage)
33650 @[ -f ./utils/Makefile ] || exit 0; \
33651 r=`${PWD_COMMAND}`; export r; \
33652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33653 $(HOST_EXPORTS) \
33654 for flag in $(EXTRA_HOST_FLAGS) ; do \
33655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33656 done; \
33657 echo "Doing install-info in utils"; \
33658 (cd $(HOST_SUBDIR)/utils && \
33659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33661 "RANLIB=$${RANLIB}" \
33662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33663 install-info) \
33664 || exit 1
33666 @endif utils
33668 .PHONY: maybe-install-pdf-utils install-pdf-utils
33669 maybe-install-pdf-utils:
33670 @if utils
33671 maybe-install-pdf-utils: install-pdf-utils
33673 install-pdf-utils: \
33674 configure-utils \
33675 pdf-utils
33676 @: $(MAKE); $(unstage)
33677 @[ -f ./utils/Makefile ] || exit 0; \
33678 r=`${PWD_COMMAND}`; export r; \
33679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33680 $(HOST_EXPORTS) \
33681 for flag in $(EXTRA_HOST_FLAGS) ; do \
33682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33683 done; \
33684 echo "Doing install-pdf in utils"; \
33685 (cd $(HOST_SUBDIR)/utils && \
33686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33688 "RANLIB=$${RANLIB}" \
33689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33690 install-pdf) \
33691 || exit 1
33693 @endif utils
33695 .PHONY: maybe-install-html-utils install-html-utils
33696 maybe-install-html-utils:
33697 @if utils
33698 maybe-install-html-utils: install-html-utils
33700 install-html-utils: \
33701 configure-utils \
33702 html-utils
33703 @: $(MAKE); $(unstage)
33704 @[ -f ./utils/Makefile ] || exit 0; \
33705 r=`${PWD_COMMAND}`; export r; \
33706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33707 $(HOST_EXPORTS) \
33708 for flag in $(EXTRA_HOST_FLAGS) ; do \
33709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33710 done; \
33711 echo "Doing install-html in utils"; \
33712 (cd $(HOST_SUBDIR)/utils && \
33713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33715 "RANLIB=$${RANLIB}" \
33716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33717 install-html) \
33718 || exit 1
33720 @endif utils
33722 .PHONY: maybe-installcheck-utils installcheck-utils
33723 maybe-installcheck-utils:
33724 @if utils
33725 maybe-installcheck-utils: installcheck-utils
33727 installcheck-utils: \
33728 configure-utils
33729 @: $(MAKE); $(unstage)
33730 @[ -f ./utils/Makefile ] || exit 0; \
33731 r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 $(HOST_EXPORTS) \
33734 for flag in $(EXTRA_HOST_FLAGS) ; do \
33735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33736 done; \
33737 echo "Doing installcheck in utils"; \
33738 (cd $(HOST_SUBDIR)/utils && \
33739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33741 "RANLIB=$${RANLIB}" \
33742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33743 installcheck) \
33744 || exit 1
33746 @endif utils
33748 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33749 maybe-mostlyclean-utils:
33750 @if utils
33751 maybe-mostlyclean-utils: mostlyclean-utils
33753 mostlyclean-utils:
33754 @: $(MAKE); $(unstage)
33755 @[ -f ./utils/Makefile ] || exit 0; \
33756 r=`${PWD_COMMAND}`; export r; \
33757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33758 $(HOST_EXPORTS) \
33759 for flag in $(EXTRA_HOST_FLAGS) ; do \
33760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33761 done; \
33762 echo "Doing mostlyclean in utils"; \
33763 (cd $(HOST_SUBDIR)/utils && \
33764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33766 "RANLIB=$${RANLIB}" \
33767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33768 mostlyclean) \
33769 || exit 1
33771 @endif utils
33773 .PHONY: maybe-clean-utils clean-utils
33774 maybe-clean-utils:
33775 @if utils
33776 maybe-clean-utils: clean-utils
33778 clean-utils:
33779 @: $(MAKE); $(unstage)
33780 @[ -f ./utils/Makefile ] || exit 0; \
33781 r=`${PWD_COMMAND}`; export r; \
33782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33783 $(HOST_EXPORTS) \
33784 for flag in $(EXTRA_HOST_FLAGS) ; do \
33785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33786 done; \
33787 echo "Doing clean in utils"; \
33788 (cd $(HOST_SUBDIR)/utils && \
33789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33791 "RANLIB=$${RANLIB}" \
33792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33793 clean) \
33794 || exit 1
33796 @endif utils
33798 .PHONY: maybe-distclean-utils distclean-utils
33799 maybe-distclean-utils:
33800 @if utils
33801 maybe-distclean-utils: distclean-utils
33803 distclean-utils:
33804 @: $(MAKE); $(unstage)
33805 @[ -f ./utils/Makefile ] || exit 0; \
33806 r=`${PWD_COMMAND}`; export r; \
33807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33808 $(HOST_EXPORTS) \
33809 for flag in $(EXTRA_HOST_FLAGS) ; do \
33810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33811 done; \
33812 echo "Doing distclean in utils"; \
33813 (cd $(HOST_SUBDIR)/utils && \
33814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33816 "RANLIB=$${RANLIB}" \
33817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33818 distclean) \
33819 || exit 1
33821 @endif utils
33823 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33824 maybe-maintainer-clean-utils:
33825 @if utils
33826 maybe-maintainer-clean-utils: maintainer-clean-utils
33828 maintainer-clean-utils:
33829 @: $(MAKE); $(unstage)
33830 @[ -f ./utils/Makefile ] || exit 0; \
33831 r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 $(HOST_EXPORTS) \
33834 for flag in $(EXTRA_HOST_FLAGS) ; do \
33835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33836 done; \
33837 echo "Doing maintainer-clean in utils"; \
33838 (cd $(HOST_SUBDIR)/utils && \
33839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33841 "RANLIB=$${RANLIB}" \
33842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33843 maintainer-clean) \
33844 || exit 1
33846 @endif utils
33850 .PHONY: configure-gnattools maybe-configure-gnattools
33851 maybe-configure-gnattools:
33852 @if gcc-bootstrap
33853 configure-gnattools: stage_current
33854 @endif gcc-bootstrap
33855 @if gnattools
33856 maybe-configure-gnattools: configure-gnattools
33857 configure-gnattools:
33858 @: $(MAKE); $(unstage)
33859 @r=`${PWD_COMMAND}`; export r; \
33860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33861 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
33863 $(HOST_EXPORTS) \
33864 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33865 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33866 case $(srcdir) in \
33867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33868 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33870 esac; \
33871 module_srcdir=gnattools; \
33872 $(SHELL) \
33873 $$s/$$module_srcdir/configure \
33874 --srcdir=$${topdir}/$$module_srcdir \
33875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33876 --target=${target_alias} \
33877 || exit 1
33878 @endif gnattools
33884 .PHONY: all-gnattools maybe-all-gnattools
33885 maybe-all-gnattools:
33886 @if gcc-bootstrap
33887 all-gnattools: stage_current
33888 @endif gcc-bootstrap
33889 @if gnattools
33890 TARGET-gnattools=all
33891 maybe-all-gnattools: all-gnattools
33892 all-gnattools: configure-gnattools
33893 @: $(MAKE); $(unstage)
33894 @r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(HOST_EXPORTS) \
33897 (cd $(HOST_SUBDIR)/gnattools && \
33898 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33899 $(TARGET-gnattools))
33900 @endif gnattools
33905 .PHONY: check-gnattools maybe-check-gnattools
33906 maybe-check-gnattools:
33907 @if gnattools
33908 maybe-check-gnattools: check-gnattools
33910 check-gnattools:
33911 @: $(MAKE); $(unstage)
33912 @r=`${PWD_COMMAND}`; export r; \
33913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33914 $(HOST_EXPORTS) \
33915 (cd $(HOST_SUBDIR)/gnattools && \
33916 $(MAKE) $(FLAGS_TO_PASS) check)
33918 @endif gnattools
33920 .PHONY: install-gnattools maybe-install-gnattools
33921 maybe-install-gnattools:
33922 @if gnattools
33923 maybe-install-gnattools: install-gnattools
33925 install-gnattools: installdirs
33926 @: $(MAKE); $(unstage)
33927 @r=`${PWD_COMMAND}`; export r; \
33928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33929 $(HOST_EXPORTS) \
33930 (cd $(HOST_SUBDIR)/gnattools && \
33931 $(MAKE) $(FLAGS_TO_PASS) install)
33933 @endif gnattools
33935 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
33936 maybe-install-strip-gnattools:
33937 @if gnattools
33938 maybe-install-strip-gnattools: install-strip-gnattools
33940 install-strip-gnattools: installdirs
33941 @: $(MAKE); $(unstage)
33942 @r=`${PWD_COMMAND}`; export r; \
33943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33944 $(HOST_EXPORTS) \
33945 (cd $(HOST_SUBDIR)/gnattools && \
33946 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33948 @endif gnattools
33950 # Other targets (info, dvi, pdf, etc.)
33952 .PHONY: maybe-info-gnattools info-gnattools
33953 maybe-info-gnattools:
33954 @if gnattools
33955 maybe-info-gnattools: info-gnattools
33957 info-gnattools: \
33958 configure-gnattools
33959 @: $(MAKE); $(unstage)
33960 @[ -f ./gnattools/Makefile ] || exit 0; \
33961 r=`${PWD_COMMAND}`; export r; \
33962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33963 $(HOST_EXPORTS) \
33964 for flag in $(EXTRA_HOST_FLAGS) ; do \
33965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33966 done; \
33967 echo "Doing info in gnattools"; \
33968 (cd $(HOST_SUBDIR)/gnattools && \
33969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33971 "RANLIB=$${RANLIB}" \
33972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33973 info) \
33974 || exit 1
33976 @endif gnattools
33978 .PHONY: maybe-dvi-gnattools dvi-gnattools
33979 maybe-dvi-gnattools:
33980 @if gnattools
33981 maybe-dvi-gnattools: dvi-gnattools
33983 dvi-gnattools: \
33984 configure-gnattools
33985 @: $(MAKE); $(unstage)
33986 @[ -f ./gnattools/Makefile ] || exit 0; \
33987 r=`${PWD_COMMAND}`; export r; \
33988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33989 $(HOST_EXPORTS) \
33990 for flag in $(EXTRA_HOST_FLAGS) ; do \
33991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33992 done; \
33993 echo "Doing dvi in gnattools"; \
33994 (cd $(HOST_SUBDIR)/gnattools && \
33995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33997 "RANLIB=$${RANLIB}" \
33998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33999 dvi) \
34000 || exit 1
34002 @endif gnattools
34004 .PHONY: maybe-pdf-gnattools pdf-gnattools
34005 maybe-pdf-gnattools:
34006 @if gnattools
34007 maybe-pdf-gnattools: pdf-gnattools
34009 pdf-gnattools: \
34010 configure-gnattools
34011 @: $(MAKE); $(unstage)
34012 @[ -f ./gnattools/Makefile ] || exit 0; \
34013 r=`${PWD_COMMAND}`; export r; \
34014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34015 $(HOST_EXPORTS) \
34016 for flag in $(EXTRA_HOST_FLAGS) ; do \
34017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34018 done; \
34019 echo "Doing pdf in gnattools"; \
34020 (cd $(HOST_SUBDIR)/gnattools && \
34021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34023 "RANLIB=$${RANLIB}" \
34024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34025 pdf) \
34026 || exit 1
34028 @endif gnattools
34030 .PHONY: maybe-html-gnattools html-gnattools
34031 maybe-html-gnattools:
34032 @if gnattools
34033 maybe-html-gnattools: html-gnattools
34035 html-gnattools: \
34036 configure-gnattools
34037 @: $(MAKE); $(unstage)
34038 @[ -f ./gnattools/Makefile ] || exit 0; \
34039 r=`${PWD_COMMAND}`; export r; \
34040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34041 $(HOST_EXPORTS) \
34042 for flag in $(EXTRA_HOST_FLAGS) ; do \
34043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34044 done; \
34045 echo "Doing html in gnattools"; \
34046 (cd $(HOST_SUBDIR)/gnattools && \
34047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34049 "RANLIB=$${RANLIB}" \
34050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34051 html) \
34052 || exit 1
34054 @endif gnattools
34056 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
34057 maybe-TAGS-gnattools:
34058 @if gnattools
34059 maybe-TAGS-gnattools: TAGS-gnattools
34061 TAGS-gnattools: \
34062 configure-gnattools
34063 @: $(MAKE); $(unstage)
34064 @[ -f ./gnattools/Makefile ] || exit 0; \
34065 r=`${PWD_COMMAND}`; export r; \
34066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34067 $(HOST_EXPORTS) \
34068 for flag in $(EXTRA_HOST_FLAGS) ; do \
34069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34070 done; \
34071 echo "Doing TAGS in gnattools"; \
34072 (cd $(HOST_SUBDIR)/gnattools && \
34073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34075 "RANLIB=$${RANLIB}" \
34076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34077 TAGS) \
34078 || exit 1
34080 @endif gnattools
34082 .PHONY: maybe-install-info-gnattools install-info-gnattools
34083 maybe-install-info-gnattools:
34084 @if gnattools
34085 maybe-install-info-gnattools: install-info-gnattools
34087 install-info-gnattools: \
34088 configure-gnattools \
34089 info-gnattools
34090 @: $(MAKE); $(unstage)
34091 @[ -f ./gnattools/Makefile ] || exit 0; \
34092 r=`${PWD_COMMAND}`; export r; \
34093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34094 $(HOST_EXPORTS) \
34095 for flag in $(EXTRA_HOST_FLAGS) ; do \
34096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34097 done; \
34098 echo "Doing install-info in gnattools"; \
34099 (cd $(HOST_SUBDIR)/gnattools && \
34100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34102 "RANLIB=$${RANLIB}" \
34103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34104 install-info) \
34105 || exit 1
34107 @endif gnattools
34109 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
34110 maybe-install-pdf-gnattools:
34111 @if gnattools
34112 maybe-install-pdf-gnattools: install-pdf-gnattools
34114 install-pdf-gnattools: \
34115 configure-gnattools \
34116 pdf-gnattools
34117 @: $(MAKE); $(unstage)
34118 @[ -f ./gnattools/Makefile ] || exit 0; \
34119 r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 $(HOST_EXPORTS) \
34122 for flag in $(EXTRA_HOST_FLAGS) ; do \
34123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34124 done; \
34125 echo "Doing install-pdf in gnattools"; \
34126 (cd $(HOST_SUBDIR)/gnattools && \
34127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34129 "RANLIB=$${RANLIB}" \
34130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34131 install-pdf) \
34132 || exit 1
34134 @endif gnattools
34136 .PHONY: maybe-install-html-gnattools install-html-gnattools
34137 maybe-install-html-gnattools:
34138 @if gnattools
34139 maybe-install-html-gnattools: install-html-gnattools
34141 install-html-gnattools: \
34142 configure-gnattools \
34143 html-gnattools
34144 @: $(MAKE); $(unstage)
34145 @[ -f ./gnattools/Makefile ] || exit 0; \
34146 r=`${PWD_COMMAND}`; export r; \
34147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34148 $(HOST_EXPORTS) \
34149 for flag in $(EXTRA_HOST_FLAGS) ; do \
34150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34151 done; \
34152 echo "Doing install-html in gnattools"; \
34153 (cd $(HOST_SUBDIR)/gnattools && \
34154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34156 "RANLIB=$${RANLIB}" \
34157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34158 install-html) \
34159 || exit 1
34161 @endif gnattools
34163 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
34164 maybe-installcheck-gnattools:
34165 @if gnattools
34166 maybe-installcheck-gnattools: installcheck-gnattools
34168 installcheck-gnattools: \
34169 configure-gnattools
34170 @: $(MAKE); $(unstage)
34171 @[ -f ./gnattools/Makefile ] || exit 0; \
34172 r=`${PWD_COMMAND}`; export r; \
34173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34174 $(HOST_EXPORTS) \
34175 for flag in $(EXTRA_HOST_FLAGS) ; do \
34176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34177 done; \
34178 echo "Doing installcheck in gnattools"; \
34179 (cd $(HOST_SUBDIR)/gnattools && \
34180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34182 "RANLIB=$${RANLIB}" \
34183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34184 installcheck) \
34185 || exit 1
34187 @endif gnattools
34189 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
34190 maybe-mostlyclean-gnattools:
34191 @if gnattools
34192 maybe-mostlyclean-gnattools: mostlyclean-gnattools
34194 mostlyclean-gnattools:
34195 @: $(MAKE); $(unstage)
34196 @[ -f ./gnattools/Makefile ] || exit 0; \
34197 r=`${PWD_COMMAND}`; export r; \
34198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34199 $(HOST_EXPORTS) \
34200 for flag in $(EXTRA_HOST_FLAGS) ; do \
34201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34202 done; \
34203 echo "Doing mostlyclean in gnattools"; \
34204 (cd $(HOST_SUBDIR)/gnattools && \
34205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34207 "RANLIB=$${RANLIB}" \
34208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34209 mostlyclean) \
34210 || exit 1
34212 @endif gnattools
34214 .PHONY: maybe-clean-gnattools clean-gnattools
34215 maybe-clean-gnattools:
34216 @if gnattools
34217 maybe-clean-gnattools: clean-gnattools
34219 clean-gnattools:
34220 @: $(MAKE); $(unstage)
34221 @[ -f ./gnattools/Makefile ] || exit 0; \
34222 r=`${PWD_COMMAND}`; export r; \
34223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34224 $(HOST_EXPORTS) \
34225 for flag in $(EXTRA_HOST_FLAGS) ; do \
34226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34227 done; \
34228 echo "Doing clean in gnattools"; \
34229 (cd $(HOST_SUBDIR)/gnattools && \
34230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34232 "RANLIB=$${RANLIB}" \
34233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34234 clean) \
34235 || exit 1
34237 @endif gnattools
34239 .PHONY: maybe-distclean-gnattools distclean-gnattools
34240 maybe-distclean-gnattools:
34241 @if gnattools
34242 maybe-distclean-gnattools: distclean-gnattools
34244 distclean-gnattools:
34245 @: $(MAKE); $(unstage)
34246 @[ -f ./gnattools/Makefile ] || exit 0; \
34247 r=`${PWD_COMMAND}`; export r; \
34248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34249 $(HOST_EXPORTS) \
34250 for flag in $(EXTRA_HOST_FLAGS) ; do \
34251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34252 done; \
34253 echo "Doing distclean in gnattools"; \
34254 (cd $(HOST_SUBDIR)/gnattools && \
34255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34257 "RANLIB=$${RANLIB}" \
34258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34259 distclean) \
34260 || exit 1
34262 @endif gnattools
34264 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
34265 maybe-maintainer-clean-gnattools:
34266 @if gnattools
34267 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
34269 maintainer-clean-gnattools:
34270 @: $(MAKE); $(unstage)
34271 @[ -f ./gnattools/Makefile ] || exit 0; \
34272 r=`${PWD_COMMAND}`; export r; \
34273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34274 $(HOST_EXPORTS) \
34275 for flag in $(EXTRA_HOST_FLAGS) ; do \
34276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34277 done; \
34278 echo "Doing maintainer-clean in gnattools"; \
34279 (cd $(HOST_SUBDIR)/gnattools && \
34280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34282 "RANLIB=$${RANLIB}" \
34283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34284 maintainer-clean) \
34285 || exit 1
34287 @endif gnattools
34291 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
34292 maybe-configure-lto-plugin:
34293 @if gcc-bootstrap
34294 configure-lto-plugin: stage_current
34295 @endif gcc-bootstrap
34296 @if lto-plugin
34297 maybe-configure-lto-plugin: configure-lto-plugin
34298 configure-lto-plugin:
34299 @r=`${PWD_COMMAND}`; export r; \
34300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34301 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34303 $(HOST_EXPORTS) \
34304 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
34305 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
34306 case $(srcdir) in \
34307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34308 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34310 esac; \
34311 module_srcdir=lto-plugin; \
34312 $(SHELL) \
34313 $$s/$$module_srcdir/configure \
34314 --srcdir=$${topdir}/$$module_srcdir \
34315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34316 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
34317 || exit 1
34318 @endif lto-plugin
34322 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
34323 maybe-configure-stage1-lto-plugin:
34324 @if lto-plugin-bootstrap
34325 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
34326 configure-stage1-lto-plugin:
34327 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34329 @r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 TFLAGS="$(STAGE1_TFLAGS)"; \
34332 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34333 $(HOST_EXPORTS) \
34334 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
34335 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
34336 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
34337 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
34338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34339 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34340 case $(srcdir) in \
34341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34342 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34344 esac; \
34345 module_srcdir=lto-plugin; \
34346 $(SHELL) $$s/$$module_srcdir/configure \
34347 --srcdir=$${topdir}/$$module_srcdir \
34348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34349 --target=${target_alias} \
34351 $(STAGE1_CONFIGURE_FLAGS) \
34352 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34353 @endif lto-plugin-bootstrap
34355 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
34356 maybe-configure-stage2-lto-plugin:
34357 @if lto-plugin-bootstrap
34358 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
34359 configure-stage2-lto-plugin:
34360 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34361 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34362 @r=`${PWD_COMMAND}`; export r; \
34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34364 TFLAGS="$(STAGE2_TFLAGS)"; \
34365 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34366 $(HOST_EXPORTS) \
34367 $(POSTSTAGE1_HOST_EXPORTS) \
34368 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
34369 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
34370 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
34371 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
34372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34373 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34374 case $(srcdir) in \
34375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34376 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34378 esac; \
34379 module_srcdir=lto-plugin; \
34380 $(SHELL) $$s/$$module_srcdir/configure \
34381 --srcdir=$${topdir}/$$module_srcdir \
34382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34383 --target=${target_alias} \
34384 --with-build-libsubdir=$(HOST_SUBDIR) \
34385 $(STAGE2_CONFIGURE_FLAGS) \
34386 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34387 @endif lto-plugin-bootstrap
34389 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
34390 maybe-configure-stage3-lto-plugin:
34391 @if lto-plugin-bootstrap
34392 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
34393 configure-stage3-lto-plugin:
34394 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34396 @r=`${PWD_COMMAND}`; export r; \
34397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34398 TFLAGS="$(STAGE3_TFLAGS)"; \
34399 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34400 $(HOST_EXPORTS) \
34401 $(POSTSTAGE1_HOST_EXPORTS) \
34402 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
34403 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
34404 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
34405 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
34406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34407 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34408 case $(srcdir) in \
34409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34410 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34412 esac; \
34413 module_srcdir=lto-plugin; \
34414 $(SHELL) $$s/$$module_srcdir/configure \
34415 --srcdir=$${topdir}/$$module_srcdir \
34416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34417 --target=${target_alias} \
34418 --with-build-libsubdir=$(HOST_SUBDIR) \
34419 $(STAGE3_CONFIGURE_FLAGS) \
34420 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34421 @endif lto-plugin-bootstrap
34423 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
34424 maybe-configure-stage4-lto-plugin:
34425 @if lto-plugin-bootstrap
34426 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
34427 configure-stage4-lto-plugin:
34428 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34430 @r=`${PWD_COMMAND}`; export r; \
34431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34432 TFLAGS="$(STAGE4_TFLAGS)"; \
34433 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34434 $(HOST_EXPORTS) \
34435 $(POSTSTAGE1_HOST_EXPORTS) \
34436 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
34437 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
34438 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
34439 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
34440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34441 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34442 case $(srcdir) in \
34443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34444 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34446 esac; \
34447 module_srcdir=lto-plugin; \
34448 $(SHELL) $$s/$$module_srcdir/configure \
34449 --srcdir=$${topdir}/$$module_srcdir \
34450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34451 --target=${target_alias} \
34452 --with-build-libsubdir=$(HOST_SUBDIR) \
34453 $(STAGE4_CONFIGURE_FLAGS) \
34454 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34455 @endif lto-plugin-bootstrap
34457 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
34458 maybe-configure-stageprofile-lto-plugin:
34459 @if lto-plugin-bootstrap
34460 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34461 configure-stageprofile-lto-plugin:
34462 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34464 @r=`${PWD_COMMAND}`; export r; \
34465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34466 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34467 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34468 $(HOST_EXPORTS) \
34469 $(POSTSTAGE1_HOST_EXPORTS) \
34470 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
34471 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
34472 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
34473 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
34474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34475 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34476 case $(srcdir) in \
34477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34478 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34480 esac; \
34481 module_srcdir=lto-plugin; \
34482 $(SHELL) $$s/$$module_srcdir/configure \
34483 --srcdir=$${topdir}/$$module_srcdir \
34484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34485 --target=${target_alias} \
34486 --with-build-libsubdir=$(HOST_SUBDIR) \
34487 $(STAGEprofile_CONFIGURE_FLAGS) \
34488 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34489 @endif lto-plugin-bootstrap
34491 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
34492 maybe-configure-stagefeedback-lto-plugin:
34493 @if lto-plugin-bootstrap
34494 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34495 configure-stagefeedback-lto-plugin:
34496 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34498 @r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34501 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34502 $(HOST_EXPORTS) \
34503 $(POSTSTAGE1_HOST_EXPORTS) \
34504 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
34505 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
34506 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
34507 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
34508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34509 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34510 case $(srcdir) in \
34511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34512 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34514 esac; \
34515 module_srcdir=lto-plugin; \
34516 $(SHELL) $$s/$$module_srcdir/configure \
34517 --srcdir=$${topdir}/$$module_srcdir \
34518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34519 --target=${target_alias} \
34520 --with-build-libsubdir=$(HOST_SUBDIR) \
34521 $(STAGEfeedback_CONFIGURE_FLAGS) \
34522 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34523 @endif lto-plugin-bootstrap
34525 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
34526 maybe-configure-stageautoprofile-lto-plugin:
34527 @if lto-plugin-bootstrap
34528 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34529 configure-stageautoprofile-lto-plugin:
34530 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34532 @r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34535 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34536 $(HOST_EXPORTS) \
34537 $(POSTSTAGE1_HOST_EXPORTS) \
34538 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
34539 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
34540 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
34541 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
34542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34543 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34544 case $(srcdir) in \
34545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34546 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34548 esac; \
34549 module_srcdir=lto-plugin; \
34550 $(SHELL) $$s/$$module_srcdir/configure \
34551 --srcdir=$${topdir}/$$module_srcdir \
34552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34553 --target=${target_alias} \
34554 --with-build-libsubdir=$(HOST_SUBDIR) \
34555 $(STAGEautoprofile_CONFIGURE_FLAGS) \
34556 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34557 @endif lto-plugin-bootstrap
34559 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
34560 maybe-configure-stageautofeedback-lto-plugin:
34561 @if lto-plugin-bootstrap
34562 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34563 configure-stageautofeedback-lto-plugin:
34564 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34566 @r=`${PWD_COMMAND}`; export r; \
34567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34568 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34569 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34570 $(HOST_EXPORTS) \
34571 $(POSTSTAGE1_HOST_EXPORTS) \
34572 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
34573 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
34574 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
34575 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
34576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34577 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34578 case $(srcdir) in \
34579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34580 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34582 esac; \
34583 module_srcdir=lto-plugin; \
34584 $(SHELL) $$s/$$module_srcdir/configure \
34585 --srcdir=$${topdir}/$$module_srcdir \
34586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34587 --target=${target_alias} \
34588 --with-build-libsubdir=$(HOST_SUBDIR) \
34589 $(STAGEautofeedback_CONFIGURE_FLAGS) \
34590 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34591 @endif lto-plugin-bootstrap
34597 .PHONY: all-lto-plugin maybe-all-lto-plugin
34598 maybe-all-lto-plugin:
34599 @if gcc-bootstrap
34600 all-lto-plugin: stage_current
34601 @endif gcc-bootstrap
34602 @if lto-plugin
34603 TARGET-lto-plugin=all
34604 maybe-all-lto-plugin: all-lto-plugin
34605 all-lto-plugin: configure-lto-plugin
34606 @r=`${PWD_COMMAND}`; export r; \
34607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34608 $(HOST_EXPORTS) \
34609 (cd $(HOST_SUBDIR)/lto-plugin && \
34610 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34611 $(TARGET-lto-plugin))
34612 @endif lto-plugin
34616 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
34617 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
34618 maybe-all-stage1-lto-plugin:
34619 maybe-clean-stage1-lto-plugin:
34620 @if lto-plugin-bootstrap
34621 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
34622 all-stage1: all-stage1-lto-plugin
34623 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
34624 all-stage1-lto-plugin: configure-stage1-lto-plugin
34625 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34626 @r=`${PWD_COMMAND}`; export r; \
34627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34628 TFLAGS="$(STAGE1_TFLAGS)"; \
34629 $(HOST_EXPORTS) \
34630 cd $(HOST_SUBDIR)/lto-plugin && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34633 CFLAGS="$(STAGE1_CFLAGS)" \
34634 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
34635 LIBCFLAGS="$(LIBCFLAGS)" \
34636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34639 $(EXTRA_HOST_FLAGS) \
34640 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34641 TFLAGS="$(STAGE1_TFLAGS)" \
34642 $(TARGET-stage1-lto-plugin)
34644 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
34645 clean-stage1: clean-stage1-lto-plugin
34646 clean-stage1-lto-plugin:
34647 @if [ $(current_stage) = stage1 ]; then \
34648 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34649 else \
34650 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
34651 $(MAKE) stage1-start; \
34652 fi; \
34653 cd $(HOST_SUBDIR)/lto-plugin && \
34654 $(MAKE) $(EXTRA_HOST_FLAGS) \
34655 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34656 @endif lto-plugin-bootstrap
34659 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
34660 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
34661 maybe-all-stage2-lto-plugin:
34662 maybe-clean-stage2-lto-plugin:
34663 @if lto-plugin-bootstrap
34664 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
34665 all-stage2: all-stage2-lto-plugin
34666 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
34667 all-stage2-lto-plugin: configure-stage2-lto-plugin
34668 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34669 @r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 TFLAGS="$(STAGE2_TFLAGS)"; \
34672 $(HOST_EXPORTS) \
34673 $(POSTSTAGE1_HOST_EXPORTS) \
34674 cd $(HOST_SUBDIR)/lto-plugin && \
34676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34677 CFLAGS="$(STAGE2_CFLAGS)" \
34678 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
34679 LIBCFLAGS="$(STAGE2_CFLAGS)" \
34680 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34681 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34682 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34683 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34684 TFLAGS="$(STAGE2_TFLAGS)" \
34685 $(TARGET-stage2-lto-plugin)
34687 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
34688 clean-stage2: clean-stage2-lto-plugin
34689 clean-stage2-lto-plugin:
34690 @if [ $(current_stage) = stage2 ]; then \
34691 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34692 else \
34693 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
34694 $(MAKE) stage2-start; \
34695 fi; \
34696 cd $(HOST_SUBDIR)/lto-plugin && \
34697 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34698 @endif lto-plugin-bootstrap
34701 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
34702 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
34703 maybe-all-stage3-lto-plugin:
34704 maybe-clean-stage3-lto-plugin:
34705 @if lto-plugin-bootstrap
34706 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
34707 all-stage3: all-stage3-lto-plugin
34708 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
34709 all-stage3-lto-plugin: configure-stage3-lto-plugin
34710 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34711 @r=`${PWD_COMMAND}`; export r; \
34712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34713 TFLAGS="$(STAGE3_TFLAGS)"; \
34714 $(HOST_EXPORTS) \
34715 $(POSTSTAGE1_HOST_EXPORTS) \
34716 cd $(HOST_SUBDIR)/lto-plugin && \
34718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34719 CFLAGS="$(STAGE3_CFLAGS)" \
34720 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
34721 LIBCFLAGS="$(STAGE3_CFLAGS)" \
34722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34725 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34726 TFLAGS="$(STAGE3_TFLAGS)" \
34727 $(TARGET-stage3-lto-plugin)
34729 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
34730 clean-stage3: clean-stage3-lto-plugin
34731 clean-stage3-lto-plugin:
34732 @if [ $(current_stage) = stage3 ]; then \
34733 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34734 else \
34735 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
34736 $(MAKE) stage3-start; \
34737 fi; \
34738 cd $(HOST_SUBDIR)/lto-plugin && \
34739 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34740 @endif lto-plugin-bootstrap
34743 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
34744 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
34745 maybe-all-stage4-lto-plugin:
34746 maybe-clean-stage4-lto-plugin:
34747 @if lto-plugin-bootstrap
34748 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
34749 all-stage4: all-stage4-lto-plugin
34750 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
34751 all-stage4-lto-plugin: configure-stage4-lto-plugin
34752 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34753 @r=`${PWD_COMMAND}`; export r; \
34754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34755 TFLAGS="$(STAGE4_TFLAGS)"; \
34756 $(HOST_EXPORTS) \
34757 $(POSTSTAGE1_HOST_EXPORTS) \
34758 cd $(HOST_SUBDIR)/lto-plugin && \
34760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34761 CFLAGS="$(STAGE4_CFLAGS)" \
34762 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
34763 LIBCFLAGS="$(STAGE4_CFLAGS)" \
34764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34767 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34768 TFLAGS="$(STAGE4_TFLAGS)" \
34769 $(TARGET-stage4-lto-plugin)
34771 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
34772 clean-stage4: clean-stage4-lto-plugin
34773 clean-stage4-lto-plugin:
34774 @if [ $(current_stage) = stage4 ]; then \
34775 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34776 else \
34777 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
34778 $(MAKE) stage4-start; \
34779 fi; \
34780 cd $(HOST_SUBDIR)/lto-plugin && \
34781 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34782 @endif lto-plugin-bootstrap
34785 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
34786 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
34787 maybe-all-stageprofile-lto-plugin:
34788 maybe-clean-stageprofile-lto-plugin:
34789 @if lto-plugin-bootstrap
34790 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
34791 all-stageprofile: all-stageprofile-lto-plugin
34792 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
34793 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34794 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34795 @r=`${PWD_COMMAND}`; export r; \
34796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34797 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34798 $(HOST_EXPORTS) \
34799 $(POSTSTAGE1_HOST_EXPORTS) \
34800 cd $(HOST_SUBDIR)/lto-plugin && \
34802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34803 CFLAGS="$(STAGEprofile_CFLAGS)" \
34804 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
34805 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
34806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34810 TFLAGS="$(STAGEprofile_TFLAGS)" \
34811 $(TARGET-stageprofile-lto-plugin)
34813 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
34814 clean-stageprofile: clean-stageprofile-lto-plugin
34815 clean-stageprofile-lto-plugin:
34816 @if [ $(current_stage) = stageprofile ]; then \
34817 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34818 else \
34819 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
34820 $(MAKE) stageprofile-start; \
34821 fi; \
34822 cd $(HOST_SUBDIR)/lto-plugin && \
34823 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34824 @endif lto-plugin-bootstrap
34827 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
34828 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
34829 maybe-all-stagefeedback-lto-plugin:
34830 maybe-clean-stagefeedback-lto-plugin:
34831 @if lto-plugin-bootstrap
34832 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
34833 all-stagefeedback: all-stagefeedback-lto-plugin
34834 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
34835 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34836 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34837 @r=`${PWD_COMMAND}`; export r; \
34838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34839 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34840 $(HOST_EXPORTS) \
34841 $(POSTSTAGE1_HOST_EXPORTS) \
34842 cd $(HOST_SUBDIR)/lto-plugin && \
34844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34845 CFLAGS="$(STAGEfeedback_CFLAGS)" \
34846 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
34847 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
34848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34852 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34853 $(TARGET-stagefeedback-lto-plugin)
34855 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
34856 clean-stagefeedback: clean-stagefeedback-lto-plugin
34857 clean-stagefeedback-lto-plugin:
34858 @if [ $(current_stage) = stagefeedback ]; then \
34859 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34860 else \
34861 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
34862 $(MAKE) stagefeedback-start; \
34863 fi; \
34864 cd $(HOST_SUBDIR)/lto-plugin && \
34865 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34866 @endif lto-plugin-bootstrap
34869 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
34870 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
34871 maybe-all-stageautoprofile-lto-plugin:
34872 maybe-clean-stageautoprofile-lto-plugin:
34873 @if lto-plugin-bootstrap
34874 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
34875 all-stageautoprofile: all-stageautoprofile-lto-plugin
34876 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
34877 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34878 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34879 @r=`${PWD_COMMAND}`; export r; \
34880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34881 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34882 $(HOST_EXPORTS) \
34883 $(POSTSTAGE1_HOST_EXPORTS) \
34884 cd $(HOST_SUBDIR)/lto-plugin && \
34885 $$s/gcc/config/i386/$(AUTO_PROFILE) \
34886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34887 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
34888 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
34889 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
34890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34893 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34894 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
34895 $(TARGET-stageautoprofile-lto-plugin)
34897 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
34898 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
34899 clean-stageautoprofile-lto-plugin:
34900 @if [ $(current_stage) = stageautoprofile ]; then \
34901 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34902 else \
34903 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
34904 $(MAKE) stageautoprofile-start; \
34905 fi; \
34906 cd $(HOST_SUBDIR)/lto-plugin && \
34907 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34908 @endif lto-plugin-bootstrap
34911 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
34912 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
34913 maybe-all-stageautofeedback-lto-plugin:
34914 maybe-clean-stageautofeedback-lto-plugin:
34915 @if lto-plugin-bootstrap
34916 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
34917 all-stageautofeedback: all-stageautofeedback-lto-plugin
34918 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
34919 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34920 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34921 @r=`${PWD_COMMAND}`; export r; \
34922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34923 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34924 $(HOST_EXPORTS) \
34925 $(POSTSTAGE1_HOST_EXPORTS) \
34926 cd $(HOST_SUBDIR)/lto-plugin && \
34928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34929 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
34930 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
34931 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
34932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34936 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
34937 $(TARGET-stageautofeedback-lto-plugin)
34939 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
34940 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
34941 clean-stageautofeedback-lto-plugin:
34942 @if [ $(current_stage) = stageautofeedback ]; then \
34943 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34944 else \
34945 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
34946 $(MAKE) stageautofeedback-start; \
34947 fi; \
34948 cd $(HOST_SUBDIR)/lto-plugin && \
34949 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34950 @endif lto-plugin-bootstrap
34956 .PHONY: check-lto-plugin maybe-check-lto-plugin
34957 maybe-check-lto-plugin:
34958 @if lto-plugin
34959 maybe-check-lto-plugin: check-lto-plugin
34961 check-lto-plugin:
34962 @: $(MAKE); $(unstage)
34963 @r=`${PWD_COMMAND}`; export r; \
34964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34965 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
34966 (cd $(HOST_SUBDIR)/lto-plugin && \
34967 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
34969 @endif lto-plugin
34971 .PHONY: install-lto-plugin maybe-install-lto-plugin
34972 maybe-install-lto-plugin:
34973 @if lto-plugin
34974 maybe-install-lto-plugin: install-lto-plugin
34976 install-lto-plugin: installdirs
34977 @: $(MAKE); $(unstage)
34978 @r=`${PWD_COMMAND}`; export r; \
34979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34980 $(HOST_EXPORTS) \
34981 (cd $(HOST_SUBDIR)/lto-plugin && \
34982 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
34984 @endif lto-plugin
34986 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
34987 maybe-install-strip-lto-plugin:
34988 @if lto-plugin
34989 maybe-install-strip-lto-plugin: install-strip-lto-plugin
34991 install-strip-lto-plugin: installdirs
34992 @: $(MAKE); $(unstage)
34993 @r=`${PWD_COMMAND}`; export r; \
34994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34995 $(HOST_EXPORTS) \
34996 (cd $(HOST_SUBDIR)/lto-plugin && \
34997 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
34999 @endif lto-plugin
35001 # Other targets (info, dvi, pdf, etc.)
35003 .PHONY: maybe-info-lto-plugin info-lto-plugin
35004 maybe-info-lto-plugin:
35005 @if lto-plugin
35006 maybe-info-lto-plugin: info-lto-plugin
35008 info-lto-plugin: \
35009 configure-lto-plugin
35010 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35011 r=`${PWD_COMMAND}`; export r; \
35012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35013 $(HOST_EXPORTS) \
35014 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35016 done; \
35017 echo "Doing info in lto-plugin"; \
35018 (cd $(HOST_SUBDIR)/lto-plugin && \
35019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35021 "RANLIB=$${RANLIB}" \
35022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35023 info) \
35024 || exit 1
35026 @endif lto-plugin
35028 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
35029 maybe-dvi-lto-plugin:
35030 @if lto-plugin
35031 maybe-dvi-lto-plugin: dvi-lto-plugin
35033 dvi-lto-plugin: \
35034 configure-lto-plugin
35035 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35036 r=`${PWD_COMMAND}`; export r; \
35037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35038 $(HOST_EXPORTS) \
35039 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35041 done; \
35042 echo "Doing dvi in lto-plugin"; \
35043 (cd $(HOST_SUBDIR)/lto-plugin && \
35044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35046 "RANLIB=$${RANLIB}" \
35047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35048 dvi) \
35049 || exit 1
35051 @endif lto-plugin
35053 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
35054 maybe-pdf-lto-plugin:
35055 @if lto-plugin
35056 maybe-pdf-lto-plugin: pdf-lto-plugin
35058 pdf-lto-plugin: \
35059 configure-lto-plugin
35060 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35061 r=`${PWD_COMMAND}`; export r; \
35062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35063 $(HOST_EXPORTS) \
35064 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35066 done; \
35067 echo "Doing pdf in lto-plugin"; \
35068 (cd $(HOST_SUBDIR)/lto-plugin && \
35069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35071 "RANLIB=$${RANLIB}" \
35072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35073 pdf) \
35074 || exit 1
35076 @endif lto-plugin
35078 .PHONY: maybe-html-lto-plugin html-lto-plugin
35079 maybe-html-lto-plugin:
35080 @if lto-plugin
35081 maybe-html-lto-plugin: html-lto-plugin
35083 html-lto-plugin: \
35084 configure-lto-plugin
35085 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35086 r=`${PWD_COMMAND}`; export r; \
35087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35088 $(HOST_EXPORTS) \
35089 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35091 done; \
35092 echo "Doing html in lto-plugin"; \
35093 (cd $(HOST_SUBDIR)/lto-plugin && \
35094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35096 "RANLIB=$${RANLIB}" \
35097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35098 html) \
35099 || exit 1
35101 @endif lto-plugin
35103 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
35104 maybe-TAGS-lto-plugin:
35105 @if lto-plugin
35106 maybe-TAGS-lto-plugin: TAGS-lto-plugin
35108 TAGS-lto-plugin: \
35109 configure-lto-plugin
35110 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35111 r=`${PWD_COMMAND}`; export r; \
35112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35113 $(HOST_EXPORTS) \
35114 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35116 done; \
35117 echo "Doing TAGS in lto-plugin"; \
35118 (cd $(HOST_SUBDIR)/lto-plugin && \
35119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35121 "RANLIB=$${RANLIB}" \
35122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35123 TAGS) \
35124 || exit 1
35126 @endif lto-plugin
35128 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
35129 maybe-install-info-lto-plugin:
35130 @if lto-plugin
35131 maybe-install-info-lto-plugin: install-info-lto-plugin
35133 install-info-lto-plugin: \
35134 configure-lto-plugin \
35135 info-lto-plugin
35136 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35137 r=`${PWD_COMMAND}`; export r; \
35138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35139 $(HOST_EXPORTS) \
35140 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35142 done; \
35143 echo "Doing install-info in lto-plugin"; \
35144 (cd $(HOST_SUBDIR)/lto-plugin && \
35145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35147 "RANLIB=$${RANLIB}" \
35148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35149 install-info) \
35150 || exit 1
35152 @endif lto-plugin
35154 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
35155 maybe-install-pdf-lto-plugin:
35156 @if lto-plugin
35157 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
35159 install-pdf-lto-plugin: \
35160 configure-lto-plugin \
35161 pdf-lto-plugin
35162 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35163 r=`${PWD_COMMAND}`; export r; \
35164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35165 $(HOST_EXPORTS) \
35166 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35168 done; \
35169 echo "Doing install-pdf in lto-plugin"; \
35170 (cd $(HOST_SUBDIR)/lto-plugin && \
35171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35173 "RANLIB=$${RANLIB}" \
35174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35175 install-pdf) \
35176 || exit 1
35178 @endif lto-plugin
35180 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
35181 maybe-install-html-lto-plugin:
35182 @if lto-plugin
35183 maybe-install-html-lto-plugin: install-html-lto-plugin
35185 install-html-lto-plugin: \
35186 configure-lto-plugin \
35187 html-lto-plugin
35188 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35189 r=`${PWD_COMMAND}`; export r; \
35190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35191 $(HOST_EXPORTS) \
35192 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35194 done; \
35195 echo "Doing install-html in lto-plugin"; \
35196 (cd $(HOST_SUBDIR)/lto-plugin && \
35197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35199 "RANLIB=$${RANLIB}" \
35200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35201 install-html) \
35202 || exit 1
35204 @endif lto-plugin
35206 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
35207 maybe-installcheck-lto-plugin:
35208 @if lto-plugin
35209 maybe-installcheck-lto-plugin: installcheck-lto-plugin
35211 installcheck-lto-plugin: \
35212 configure-lto-plugin
35213 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35214 r=`${PWD_COMMAND}`; export r; \
35215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35216 $(HOST_EXPORTS) \
35217 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35219 done; \
35220 echo "Doing installcheck in lto-plugin"; \
35221 (cd $(HOST_SUBDIR)/lto-plugin && \
35222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35224 "RANLIB=$${RANLIB}" \
35225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35226 installcheck) \
35227 || exit 1
35229 @endif lto-plugin
35231 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
35232 maybe-mostlyclean-lto-plugin:
35233 @if lto-plugin
35234 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
35236 mostlyclean-lto-plugin:
35237 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35238 r=`${PWD_COMMAND}`; export r; \
35239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35240 $(HOST_EXPORTS) \
35241 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35243 done; \
35244 echo "Doing mostlyclean in lto-plugin"; \
35245 (cd $(HOST_SUBDIR)/lto-plugin && \
35246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35248 "RANLIB=$${RANLIB}" \
35249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35250 mostlyclean) \
35251 || exit 1
35253 @endif lto-plugin
35255 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
35256 maybe-clean-lto-plugin:
35257 @if lto-plugin
35258 maybe-clean-lto-plugin: clean-lto-plugin
35260 clean-lto-plugin:
35261 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35262 r=`${PWD_COMMAND}`; export r; \
35263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35264 $(HOST_EXPORTS) \
35265 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35267 done; \
35268 echo "Doing clean in lto-plugin"; \
35269 (cd $(HOST_SUBDIR)/lto-plugin && \
35270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35272 "RANLIB=$${RANLIB}" \
35273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35274 clean) \
35275 || exit 1
35277 @endif lto-plugin
35279 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
35280 maybe-distclean-lto-plugin:
35281 @if lto-plugin
35282 maybe-distclean-lto-plugin: distclean-lto-plugin
35284 distclean-lto-plugin:
35285 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35286 r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 $(HOST_EXPORTS) \
35289 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35291 done; \
35292 echo "Doing distclean in lto-plugin"; \
35293 (cd $(HOST_SUBDIR)/lto-plugin && \
35294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35296 "RANLIB=$${RANLIB}" \
35297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35298 distclean) \
35299 || exit 1
35301 @endif lto-plugin
35303 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
35304 maybe-maintainer-clean-lto-plugin:
35305 @if lto-plugin
35306 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
35308 maintainer-clean-lto-plugin:
35309 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35310 r=`${PWD_COMMAND}`; export r; \
35311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35312 $(HOST_EXPORTS) \
35313 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35315 done; \
35316 echo "Doing maintainer-clean in lto-plugin"; \
35317 (cd $(HOST_SUBDIR)/lto-plugin && \
35318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35320 "RANLIB=$${RANLIB}" \
35321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35322 maintainer-clean) \
35323 || exit 1
35325 @endif lto-plugin
35329 .PHONY: configure-libcc1 maybe-configure-libcc1
35330 maybe-configure-libcc1:
35331 @if gcc-bootstrap
35332 configure-libcc1: stage_current
35333 @endif gcc-bootstrap
35334 @if libcc1
35335 maybe-configure-libcc1: configure-libcc1
35336 configure-libcc1:
35337 @: $(MAKE); $(unstage)
35338 @r=`${PWD_COMMAND}`; export r; \
35339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35340 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
35341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
35342 $(HOST_EXPORTS) \
35343 echo Configuring in $(HOST_SUBDIR)/libcc1; \
35344 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
35345 case $(srcdir) in \
35346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35347 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
35348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35349 esac; \
35350 module_srcdir=libcc1; \
35351 $(SHELL) \
35352 $$s/$$module_srcdir/configure \
35353 --srcdir=$${topdir}/$$module_srcdir \
35354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35355 --target=${target_alias} --enable-shared \
35356 || exit 1
35357 @endif libcc1
35363 .PHONY: all-libcc1 maybe-all-libcc1
35364 maybe-all-libcc1:
35365 @if gcc-bootstrap
35366 all-libcc1: stage_current
35367 @endif gcc-bootstrap
35368 @if libcc1
35369 TARGET-libcc1=all
35370 maybe-all-libcc1: all-libcc1
35371 all-libcc1: configure-libcc1
35372 @: $(MAKE); $(unstage)
35373 @r=`${PWD_COMMAND}`; export r; \
35374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35375 $(HOST_EXPORTS) \
35376 (cd $(HOST_SUBDIR)/libcc1 && \
35377 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35378 $(TARGET-libcc1))
35379 @endif libcc1
35384 .PHONY: check-libcc1 maybe-check-libcc1
35385 maybe-check-libcc1:
35386 @if libcc1
35387 maybe-check-libcc1: check-libcc1
35389 check-libcc1:
35390 @: $(MAKE); $(unstage)
35391 @r=`${PWD_COMMAND}`; export r; \
35392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35393 $(HOST_EXPORTS) \
35394 (cd $(HOST_SUBDIR)/libcc1 && \
35395 $(MAKE) $(FLAGS_TO_PASS) check)
35397 @endif libcc1
35399 .PHONY: install-libcc1 maybe-install-libcc1
35400 maybe-install-libcc1:
35401 @if libcc1
35402 maybe-install-libcc1: install-libcc1
35404 install-libcc1: installdirs
35405 @: $(MAKE); $(unstage)
35406 @r=`${PWD_COMMAND}`; export r; \
35407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35408 $(HOST_EXPORTS) \
35409 (cd $(HOST_SUBDIR)/libcc1 && \
35410 $(MAKE) $(FLAGS_TO_PASS) install)
35412 @endif libcc1
35414 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
35415 maybe-install-strip-libcc1:
35416 @if libcc1
35417 maybe-install-strip-libcc1: install-strip-libcc1
35419 install-strip-libcc1: installdirs
35420 @: $(MAKE); $(unstage)
35421 @r=`${PWD_COMMAND}`; export r; \
35422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35423 $(HOST_EXPORTS) \
35424 (cd $(HOST_SUBDIR)/libcc1 && \
35425 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35427 @endif libcc1
35429 # Other targets (info, dvi, pdf, etc.)
35431 .PHONY: maybe-info-libcc1 info-libcc1
35432 maybe-info-libcc1:
35433 @if libcc1
35434 maybe-info-libcc1: info-libcc1
35436 info-libcc1: \
35437 configure-libcc1
35438 @: $(MAKE); $(unstage)
35439 @[ -f ./libcc1/Makefile ] || exit 0; \
35440 r=`${PWD_COMMAND}`; export r; \
35441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35442 $(HOST_EXPORTS) \
35443 for flag in $(EXTRA_HOST_FLAGS) ; do \
35444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35445 done; \
35446 echo "Doing info in libcc1"; \
35447 (cd $(HOST_SUBDIR)/libcc1 && \
35448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35450 "RANLIB=$${RANLIB}" \
35451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35452 info) \
35453 || exit 1
35455 @endif libcc1
35457 .PHONY: maybe-dvi-libcc1 dvi-libcc1
35458 maybe-dvi-libcc1:
35459 @if libcc1
35460 maybe-dvi-libcc1: dvi-libcc1
35462 dvi-libcc1: \
35463 configure-libcc1
35464 @: $(MAKE); $(unstage)
35465 @[ -f ./libcc1/Makefile ] || exit 0; \
35466 r=`${PWD_COMMAND}`; export r; \
35467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35468 $(HOST_EXPORTS) \
35469 for flag in $(EXTRA_HOST_FLAGS) ; do \
35470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35471 done; \
35472 echo "Doing dvi in libcc1"; \
35473 (cd $(HOST_SUBDIR)/libcc1 && \
35474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35476 "RANLIB=$${RANLIB}" \
35477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35478 dvi) \
35479 || exit 1
35481 @endif libcc1
35483 .PHONY: maybe-pdf-libcc1 pdf-libcc1
35484 maybe-pdf-libcc1:
35485 @if libcc1
35486 maybe-pdf-libcc1: pdf-libcc1
35488 pdf-libcc1: \
35489 configure-libcc1
35490 @: $(MAKE); $(unstage)
35491 @[ -f ./libcc1/Makefile ] || exit 0; \
35492 r=`${PWD_COMMAND}`; export r; \
35493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35494 $(HOST_EXPORTS) \
35495 for flag in $(EXTRA_HOST_FLAGS) ; do \
35496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35497 done; \
35498 echo "Doing pdf in libcc1"; \
35499 (cd $(HOST_SUBDIR)/libcc1 && \
35500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35502 "RANLIB=$${RANLIB}" \
35503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35504 pdf) \
35505 || exit 1
35507 @endif libcc1
35509 .PHONY: maybe-html-libcc1 html-libcc1
35510 maybe-html-libcc1:
35511 @if libcc1
35512 maybe-html-libcc1: html-libcc1
35514 html-libcc1: \
35515 configure-libcc1
35516 @: $(MAKE); $(unstage)
35517 @[ -f ./libcc1/Makefile ] || exit 0; \
35518 r=`${PWD_COMMAND}`; export r; \
35519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35520 $(HOST_EXPORTS) \
35521 for flag in $(EXTRA_HOST_FLAGS) ; do \
35522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35523 done; \
35524 echo "Doing html in libcc1"; \
35525 (cd $(HOST_SUBDIR)/libcc1 && \
35526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35528 "RANLIB=$${RANLIB}" \
35529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35530 html) \
35531 || exit 1
35533 @endif libcc1
35535 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
35536 maybe-TAGS-libcc1:
35537 @if libcc1
35538 maybe-TAGS-libcc1: TAGS-libcc1
35540 TAGS-libcc1: \
35541 configure-libcc1
35542 @: $(MAKE); $(unstage)
35543 @[ -f ./libcc1/Makefile ] || exit 0; \
35544 r=`${PWD_COMMAND}`; export r; \
35545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35546 $(HOST_EXPORTS) \
35547 for flag in $(EXTRA_HOST_FLAGS) ; do \
35548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35549 done; \
35550 echo "Doing TAGS in libcc1"; \
35551 (cd $(HOST_SUBDIR)/libcc1 && \
35552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35554 "RANLIB=$${RANLIB}" \
35555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35556 TAGS) \
35557 || exit 1
35559 @endif libcc1
35561 .PHONY: maybe-install-info-libcc1 install-info-libcc1
35562 maybe-install-info-libcc1:
35563 @if libcc1
35564 maybe-install-info-libcc1: install-info-libcc1
35566 install-info-libcc1: \
35567 configure-libcc1 \
35568 info-libcc1
35569 @: $(MAKE); $(unstage)
35570 @[ -f ./libcc1/Makefile ] || exit 0; \
35571 r=`${PWD_COMMAND}`; export r; \
35572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35573 $(HOST_EXPORTS) \
35574 for flag in $(EXTRA_HOST_FLAGS) ; do \
35575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35576 done; \
35577 echo "Doing install-info in libcc1"; \
35578 (cd $(HOST_SUBDIR)/libcc1 && \
35579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35581 "RANLIB=$${RANLIB}" \
35582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35583 install-info) \
35584 || exit 1
35586 @endif libcc1
35588 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
35589 maybe-install-pdf-libcc1:
35590 @if libcc1
35591 maybe-install-pdf-libcc1: install-pdf-libcc1
35593 install-pdf-libcc1: \
35594 configure-libcc1 \
35595 pdf-libcc1
35596 @: $(MAKE); $(unstage)
35597 @[ -f ./libcc1/Makefile ] || exit 0; \
35598 r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(HOST_EXPORTS) \
35601 for flag in $(EXTRA_HOST_FLAGS) ; do \
35602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35603 done; \
35604 echo "Doing install-pdf in libcc1"; \
35605 (cd $(HOST_SUBDIR)/libcc1 && \
35606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35608 "RANLIB=$${RANLIB}" \
35609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35610 install-pdf) \
35611 || exit 1
35613 @endif libcc1
35615 .PHONY: maybe-install-html-libcc1 install-html-libcc1
35616 maybe-install-html-libcc1:
35617 @if libcc1
35618 maybe-install-html-libcc1: install-html-libcc1
35620 install-html-libcc1: \
35621 configure-libcc1 \
35622 html-libcc1
35623 @: $(MAKE); $(unstage)
35624 @[ -f ./libcc1/Makefile ] || exit 0; \
35625 r=`${PWD_COMMAND}`; export r; \
35626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35627 $(HOST_EXPORTS) \
35628 for flag in $(EXTRA_HOST_FLAGS) ; do \
35629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35630 done; \
35631 echo "Doing install-html in libcc1"; \
35632 (cd $(HOST_SUBDIR)/libcc1 && \
35633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35635 "RANLIB=$${RANLIB}" \
35636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35637 install-html) \
35638 || exit 1
35640 @endif libcc1
35642 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
35643 maybe-installcheck-libcc1:
35644 @if libcc1
35645 maybe-installcheck-libcc1: installcheck-libcc1
35647 installcheck-libcc1: \
35648 configure-libcc1
35649 @: $(MAKE); $(unstage)
35650 @[ -f ./libcc1/Makefile ] || exit 0; \
35651 r=`${PWD_COMMAND}`; export r; \
35652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35653 $(HOST_EXPORTS) \
35654 for flag in $(EXTRA_HOST_FLAGS) ; do \
35655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35656 done; \
35657 echo "Doing installcheck in libcc1"; \
35658 (cd $(HOST_SUBDIR)/libcc1 && \
35659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35661 "RANLIB=$${RANLIB}" \
35662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35663 installcheck) \
35664 || exit 1
35666 @endif libcc1
35668 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
35669 maybe-mostlyclean-libcc1:
35670 @if libcc1
35671 maybe-mostlyclean-libcc1: mostlyclean-libcc1
35673 mostlyclean-libcc1:
35674 @: $(MAKE); $(unstage)
35675 @[ -f ./libcc1/Makefile ] || exit 0; \
35676 r=`${PWD_COMMAND}`; export r; \
35677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35678 $(HOST_EXPORTS) \
35679 for flag in $(EXTRA_HOST_FLAGS) ; do \
35680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35681 done; \
35682 echo "Doing mostlyclean in libcc1"; \
35683 (cd $(HOST_SUBDIR)/libcc1 && \
35684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35686 "RANLIB=$${RANLIB}" \
35687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35688 mostlyclean) \
35689 || exit 1
35691 @endif libcc1
35693 .PHONY: maybe-clean-libcc1 clean-libcc1
35694 maybe-clean-libcc1:
35695 @if libcc1
35696 maybe-clean-libcc1: clean-libcc1
35698 clean-libcc1:
35699 @: $(MAKE); $(unstage)
35700 @[ -f ./libcc1/Makefile ] || exit 0; \
35701 r=`${PWD_COMMAND}`; export r; \
35702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35703 $(HOST_EXPORTS) \
35704 for flag in $(EXTRA_HOST_FLAGS) ; do \
35705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35706 done; \
35707 echo "Doing clean in libcc1"; \
35708 (cd $(HOST_SUBDIR)/libcc1 && \
35709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35711 "RANLIB=$${RANLIB}" \
35712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35713 clean) \
35714 || exit 1
35716 @endif libcc1
35718 .PHONY: maybe-distclean-libcc1 distclean-libcc1
35719 maybe-distclean-libcc1:
35720 @if libcc1
35721 maybe-distclean-libcc1: distclean-libcc1
35723 distclean-libcc1:
35724 @: $(MAKE); $(unstage)
35725 @[ -f ./libcc1/Makefile ] || exit 0; \
35726 r=`${PWD_COMMAND}`; export r; \
35727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35728 $(HOST_EXPORTS) \
35729 for flag in $(EXTRA_HOST_FLAGS) ; do \
35730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35731 done; \
35732 echo "Doing distclean in libcc1"; \
35733 (cd $(HOST_SUBDIR)/libcc1 && \
35734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35736 "RANLIB=$${RANLIB}" \
35737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35738 distclean) \
35739 || exit 1
35741 @endif libcc1
35743 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
35744 maybe-maintainer-clean-libcc1:
35745 @if libcc1
35746 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
35748 maintainer-clean-libcc1:
35749 @: $(MAKE); $(unstage)
35750 @[ -f ./libcc1/Makefile ] || exit 0; \
35751 r=`${PWD_COMMAND}`; export r; \
35752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35753 $(HOST_EXPORTS) \
35754 for flag in $(EXTRA_HOST_FLAGS) ; do \
35755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35756 done; \
35757 echo "Doing maintainer-clean in libcc1"; \
35758 (cd $(HOST_SUBDIR)/libcc1 && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35761 "RANLIB=$${RANLIB}" \
35762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35763 maintainer-clean) \
35764 || exit 1
35766 @endif libcc1
35770 .PHONY: configure-gotools maybe-configure-gotools
35771 maybe-configure-gotools:
35772 @if gcc-bootstrap
35773 configure-gotools: stage_current
35774 @endif gcc-bootstrap
35775 @if gotools
35776 maybe-configure-gotools: configure-gotools
35777 configure-gotools:
35778 @: $(MAKE); $(unstage)
35779 @r=`${PWD_COMMAND}`; export r; \
35780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35781 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
35782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
35783 $(HOST_EXPORTS) \
35784 echo Configuring in $(HOST_SUBDIR)/gotools; \
35785 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
35786 case $(srcdir) in \
35787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35788 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
35789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35790 esac; \
35791 module_srcdir=gotools; \
35792 $(SHELL) \
35793 $$s/$$module_srcdir/configure \
35794 --srcdir=$${topdir}/$$module_srcdir \
35795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35796 --target=${target_alias} \
35797 || exit 1
35798 @endif gotools
35804 .PHONY: all-gotools maybe-all-gotools
35805 maybe-all-gotools:
35806 @if gcc-bootstrap
35807 all-gotools: stage_current
35808 @endif gcc-bootstrap
35809 @if gotools
35810 TARGET-gotools=all
35811 maybe-all-gotools: all-gotools
35812 all-gotools: configure-gotools
35813 @: $(MAKE); $(unstage)
35814 @r=`${PWD_COMMAND}`; export r; \
35815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35816 $(HOST_EXPORTS) \
35817 (cd $(HOST_SUBDIR)/gotools && \
35818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35819 $(TARGET-gotools))
35820 @endif gotools
35825 .PHONY: check-gotools maybe-check-gotools
35826 maybe-check-gotools:
35827 @if gotools
35828 maybe-check-gotools: check-gotools
35830 check-gotools:
35831 @: $(MAKE); $(unstage)
35832 @r=`${PWD_COMMAND}`; export r; \
35833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35834 $(HOST_EXPORTS) \
35835 (cd $(HOST_SUBDIR)/gotools && \
35836 $(MAKE) $(FLAGS_TO_PASS) check)
35838 @endif gotools
35840 .PHONY: install-gotools maybe-install-gotools
35841 maybe-install-gotools:
35842 @if gotools
35843 maybe-install-gotools: install-gotools
35845 install-gotools: installdirs
35846 @: $(MAKE); $(unstage)
35847 @r=`${PWD_COMMAND}`; export r; \
35848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35849 $(HOST_EXPORTS) \
35850 (cd $(HOST_SUBDIR)/gotools && \
35851 $(MAKE) $(FLAGS_TO_PASS) install)
35853 @endif gotools
35855 .PHONY: install-strip-gotools maybe-install-strip-gotools
35856 maybe-install-strip-gotools:
35857 @if gotools
35858 maybe-install-strip-gotools: install-strip-gotools
35860 install-strip-gotools: installdirs
35861 @: $(MAKE); $(unstage)
35862 @r=`${PWD_COMMAND}`; export r; \
35863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35864 $(HOST_EXPORTS) \
35865 (cd $(HOST_SUBDIR)/gotools && \
35866 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35868 @endif gotools
35870 # Other targets (info, dvi, pdf, etc.)
35872 .PHONY: maybe-info-gotools info-gotools
35873 maybe-info-gotools:
35874 @if gotools
35875 maybe-info-gotools: info-gotools
35877 info-gotools: \
35878 configure-gotools
35879 @: $(MAKE); $(unstage)
35880 @[ -f ./gotools/Makefile ] || exit 0; \
35881 r=`${PWD_COMMAND}`; export r; \
35882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35883 $(HOST_EXPORTS) \
35884 for flag in $(EXTRA_HOST_FLAGS) ; do \
35885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35886 done; \
35887 echo "Doing info in gotools"; \
35888 (cd $(HOST_SUBDIR)/gotools && \
35889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35891 "RANLIB=$${RANLIB}" \
35892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35893 info) \
35894 || exit 1
35896 @endif gotools
35898 .PHONY: maybe-dvi-gotools dvi-gotools
35899 maybe-dvi-gotools:
35900 @if gotools
35901 maybe-dvi-gotools: dvi-gotools
35903 dvi-gotools: \
35904 configure-gotools
35905 @: $(MAKE); $(unstage)
35906 @[ -f ./gotools/Makefile ] || exit 0; \
35907 r=`${PWD_COMMAND}`; export r; \
35908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35909 $(HOST_EXPORTS) \
35910 for flag in $(EXTRA_HOST_FLAGS) ; do \
35911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35912 done; \
35913 echo "Doing dvi in gotools"; \
35914 (cd $(HOST_SUBDIR)/gotools && \
35915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35917 "RANLIB=$${RANLIB}" \
35918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35919 dvi) \
35920 || exit 1
35922 @endif gotools
35924 .PHONY: maybe-pdf-gotools pdf-gotools
35925 maybe-pdf-gotools:
35926 @if gotools
35927 maybe-pdf-gotools: pdf-gotools
35929 pdf-gotools: \
35930 configure-gotools
35931 @: $(MAKE); $(unstage)
35932 @[ -f ./gotools/Makefile ] || exit 0; \
35933 r=`${PWD_COMMAND}`; export r; \
35934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35935 $(HOST_EXPORTS) \
35936 for flag in $(EXTRA_HOST_FLAGS) ; do \
35937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35938 done; \
35939 echo "Doing pdf in gotools"; \
35940 (cd $(HOST_SUBDIR)/gotools && \
35941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35943 "RANLIB=$${RANLIB}" \
35944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35945 pdf) \
35946 || exit 1
35948 @endif gotools
35950 .PHONY: maybe-html-gotools html-gotools
35951 maybe-html-gotools:
35952 @if gotools
35953 maybe-html-gotools: html-gotools
35955 html-gotools: \
35956 configure-gotools
35957 @: $(MAKE); $(unstage)
35958 @[ -f ./gotools/Makefile ] || exit 0; \
35959 r=`${PWD_COMMAND}`; export r; \
35960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35961 $(HOST_EXPORTS) \
35962 for flag in $(EXTRA_HOST_FLAGS) ; do \
35963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35964 done; \
35965 echo "Doing html in gotools"; \
35966 (cd $(HOST_SUBDIR)/gotools && \
35967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35969 "RANLIB=$${RANLIB}" \
35970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35971 html) \
35972 || exit 1
35974 @endif gotools
35976 .PHONY: maybe-TAGS-gotools TAGS-gotools
35977 maybe-TAGS-gotools:
35978 @if gotools
35979 maybe-TAGS-gotools: TAGS-gotools
35981 TAGS-gotools: \
35982 configure-gotools
35983 @: $(MAKE); $(unstage)
35984 @[ -f ./gotools/Makefile ] || exit 0; \
35985 r=`${PWD_COMMAND}`; export r; \
35986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35987 $(HOST_EXPORTS) \
35988 for flag in $(EXTRA_HOST_FLAGS) ; do \
35989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35990 done; \
35991 echo "Doing TAGS in gotools"; \
35992 (cd $(HOST_SUBDIR)/gotools && \
35993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35995 "RANLIB=$${RANLIB}" \
35996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35997 TAGS) \
35998 || exit 1
36000 @endif gotools
36002 .PHONY: maybe-install-info-gotools install-info-gotools
36003 maybe-install-info-gotools:
36004 @if gotools
36005 maybe-install-info-gotools: install-info-gotools
36007 install-info-gotools: \
36008 configure-gotools \
36009 info-gotools
36010 @: $(MAKE); $(unstage)
36011 @[ -f ./gotools/Makefile ] || exit 0; \
36012 r=`${PWD_COMMAND}`; export r; \
36013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36014 $(HOST_EXPORTS) \
36015 for flag in $(EXTRA_HOST_FLAGS) ; do \
36016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36017 done; \
36018 echo "Doing install-info in gotools"; \
36019 (cd $(HOST_SUBDIR)/gotools && \
36020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36022 "RANLIB=$${RANLIB}" \
36023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36024 install-info) \
36025 || exit 1
36027 @endif gotools
36029 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
36030 maybe-install-pdf-gotools:
36031 @if gotools
36032 maybe-install-pdf-gotools: install-pdf-gotools
36034 install-pdf-gotools: \
36035 configure-gotools \
36036 pdf-gotools
36037 @: $(MAKE); $(unstage)
36038 @[ -f ./gotools/Makefile ] || exit 0; \
36039 r=`${PWD_COMMAND}`; export r; \
36040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36041 $(HOST_EXPORTS) \
36042 for flag in $(EXTRA_HOST_FLAGS) ; do \
36043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36044 done; \
36045 echo "Doing install-pdf in gotools"; \
36046 (cd $(HOST_SUBDIR)/gotools && \
36047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36049 "RANLIB=$${RANLIB}" \
36050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36051 install-pdf) \
36052 || exit 1
36054 @endif gotools
36056 .PHONY: maybe-install-html-gotools install-html-gotools
36057 maybe-install-html-gotools:
36058 @if gotools
36059 maybe-install-html-gotools: install-html-gotools
36061 install-html-gotools: \
36062 configure-gotools \
36063 html-gotools
36064 @: $(MAKE); $(unstage)
36065 @[ -f ./gotools/Makefile ] || exit 0; \
36066 r=`${PWD_COMMAND}`; export r; \
36067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36068 $(HOST_EXPORTS) \
36069 for flag in $(EXTRA_HOST_FLAGS) ; do \
36070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36071 done; \
36072 echo "Doing install-html in gotools"; \
36073 (cd $(HOST_SUBDIR)/gotools && \
36074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36076 "RANLIB=$${RANLIB}" \
36077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36078 install-html) \
36079 || exit 1
36081 @endif gotools
36083 .PHONY: maybe-installcheck-gotools installcheck-gotools
36084 maybe-installcheck-gotools:
36085 @if gotools
36086 maybe-installcheck-gotools: installcheck-gotools
36088 installcheck-gotools: \
36089 configure-gotools
36090 @: $(MAKE); $(unstage)
36091 @[ -f ./gotools/Makefile ] || exit 0; \
36092 r=`${PWD_COMMAND}`; export r; \
36093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36094 $(HOST_EXPORTS) \
36095 for flag in $(EXTRA_HOST_FLAGS) ; do \
36096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36097 done; \
36098 echo "Doing installcheck in gotools"; \
36099 (cd $(HOST_SUBDIR)/gotools && \
36100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36102 "RANLIB=$${RANLIB}" \
36103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36104 installcheck) \
36105 || exit 1
36107 @endif gotools
36109 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
36110 maybe-mostlyclean-gotools:
36111 @if gotools
36112 maybe-mostlyclean-gotools: mostlyclean-gotools
36114 mostlyclean-gotools:
36115 @: $(MAKE); $(unstage)
36116 @[ -f ./gotools/Makefile ] || exit 0; \
36117 r=`${PWD_COMMAND}`; export r; \
36118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36119 $(HOST_EXPORTS) \
36120 for flag in $(EXTRA_HOST_FLAGS) ; do \
36121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36122 done; \
36123 echo "Doing mostlyclean in gotools"; \
36124 (cd $(HOST_SUBDIR)/gotools && \
36125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36127 "RANLIB=$${RANLIB}" \
36128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36129 mostlyclean) \
36130 || exit 1
36132 @endif gotools
36134 .PHONY: maybe-clean-gotools clean-gotools
36135 maybe-clean-gotools:
36136 @if gotools
36137 maybe-clean-gotools: clean-gotools
36139 clean-gotools:
36140 @: $(MAKE); $(unstage)
36141 @[ -f ./gotools/Makefile ] || exit 0; \
36142 r=`${PWD_COMMAND}`; export r; \
36143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36144 $(HOST_EXPORTS) \
36145 for flag in $(EXTRA_HOST_FLAGS) ; do \
36146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36147 done; \
36148 echo "Doing clean in gotools"; \
36149 (cd $(HOST_SUBDIR)/gotools && \
36150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36152 "RANLIB=$${RANLIB}" \
36153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36154 clean) \
36155 || exit 1
36157 @endif gotools
36159 .PHONY: maybe-distclean-gotools distclean-gotools
36160 maybe-distclean-gotools:
36161 @if gotools
36162 maybe-distclean-gotools: distclean-gotools
36164 distclean-gotools:
36165 @: $(MAKE); $(unstage)
36166 @[ -f ./gotools/Makefile ] || exit 0; \
36167 r=`${PWD_COMMAND}`; export r; \
36168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36169 $(HOST_EXPORTS) \
36170 for flag in $(EXTRA_HOST_FLAGS) ; do \
36171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36172 done; \
36173 echo "Doing distclean in gotools"; \
36174 (cd $(HOST_SUBDIR)/gotools && \
36175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36177 "RANLIB=$${RANLIB}" \
36178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36179 distclean) \
36180 || exit 1
36182 @endif gotools
36184 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
36185 maybe-maintainer-clean-gotools:
36186 @if gotools
36187 maybe-maintainer-clean-gotools: maintainer-clean-gotools
36189 maintainer-clean-gotools:
36190 @: $(MAKE); $(unstage)
36191 @[ -f ./gotools/Makefile ] || exit 0; \
36192 r=`${PWD_COMMAND}`; export r; \
36193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36194 $(HOST_EXPORTS) \
36195 for flag in $(EXTRA_HOST_FLAGS) ; do \
36196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36197 done; \
36198 echo "Doing maintainer-clean in gotools"; \
36199 (cd $(HOST_SUBDIR)/gotools && \
36200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36202 "RANLIB=$${RANLIB}" \
36203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36204 maintainer-clean) \
36205 || exit 1
36207 @endif gotools
36211 # ---------------------------------------
36212 # Modules which run on the target machine
36213 # ---------------------------------------
36218 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
36219 maybe-configure-target-libstdc++-v3:
36220 @if gcc-bootstrap
36221 configure-target-libstdc++-v3: stage_current
36222 @endif gcc-bootstrap
36223 @if target-libstdc++-v3
36224 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
36225 configure-target-libstdc++-v3:
36226 @r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 echo "Checking multilib configuration for libstdc++-v3..."; \
36229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36230 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36231 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36232 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36233 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36234 else \
36235 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36236 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36237 fi; \
36238 else \
36239 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36240 fi; \
36241 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36243 $(RAW_CXX_TARGET_EXPORTS) \
36244 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
36245 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
36246 case $(srcdir) in \
36247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36248 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36250 esac; \
36251 module_srcdir=libstdc++-v3; \
36252 rm -f no-such-file || : ; \
36253 CONFIG_SITE=no-such-file $(SHELL) \
36254 $$s/$$module_srcdir/configure \
36255 --srcdir=$${topdir}/$$module_srcdir \
36256 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36257 --target=${target_alias} \
36258 || exit 1
36259 @endif target-libstdc++-v3
36263 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
36264 maybe-configure-stage1-target-libstdc++-v3:
36265 @if target-libstdc++-v3-bootstrap
36266 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36267 configure-stage1-target-libstdc++-v3:
36268 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36269 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36270 @r=`${PWD_COMMAND}`; export r; \
36271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36272 TFLAGS="$(STAGE1_TFLAGS)"; \
36273 echo "Checking multilib configuration for libstdc++-v3..."; \
36274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36275 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36276 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36277 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36278 else \
36279 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36280 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36281 fi; \
36282 else \
36283 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36284 fi; \
36285 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36286 $(RAW_CXX_TARGET_EXPORTS) \
36287 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36288 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36289 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36290 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
36291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36292 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36293 case $(srcdir) in \
36294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36295 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36297 esac; \
36298 module_srcdir=libstdc++-v3; \
36299 $(SHELL) $$s/$$module_srcdir/configure \
36300 --srcdir=$${topdir}/$$module_srcdir \
36301 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36302 --target=${target_alias} \
36304 $(STAGE1_CONFIGURE_FLAGS)
36305 @endif target-libstdc++-v3-bootstrap
36307 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
36308 maybe-configure-stage2-target-libstdc++-v3:
36309 @if target-libstdc++-v3-bootstrap
36310 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36311 configure-stage2-target-libstdc++-v3:
36312 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36313 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36314 @r=`${PWD_COMMAND}`; export r; \
36315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36316 TFLAGS="$(STAGE2_TFLAGS)"; \
36317 echo "Checking multilib configuration for libstdc++-v3..."; \
36318 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36319 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36320 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36321 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36322 else \
36323 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36324 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36325 fi; \
36326 else \
36327 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36328 fi; \
36329 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36330 $(RAW_CXX_TARGET_EXPORTS) \
36332 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36333 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36334 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36335 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
36336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36337 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36338 case $(srcdir) in \
36339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36340 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36342 esac; \
36343 module_srcdir=libstdc++-v3; \
36344 $(SHELL) $$s/$$module_srcdir/configure \
36345 --srcdir=$${topdir}/$$module_srcdir \
36346 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36347 --target=${target_alias} \
36348 --with-build-libsubdir=$(HOST_SUBDIR) \
36349 $(STAGE2_CONFIGURE_FLAGS)
36350 @endif target-libstdc++-v3-bootstrap
36352 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
36353 maybe-configure-stage3-target-libstdc++-v3:
36354 @if target-libstdc++-v3-bootstrap
36355 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36356 configure-stage3-target-libstdc++-v3:
36357 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36358 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36359 @r=`${PWD_COMMAND}`; export r; \
36360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36361 TFLAGS="$(STAGE3_TFLAGS)"; \
36362 echo "Checking multilib configuration for libstdc++-v3..."; \
36363 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36364 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36365 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36366 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36367 else \
36368 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36369 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36370 fi; \
36371 else \
36372 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36373 fi; \
36374 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36375 $(RAW_CXX_TARGET_EXPORTS) \
36377 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36378 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36379 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36380 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
36381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36382 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36383 case $(srcdir) in \
36384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36385 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36387 esac; \
36388 module_srcdir=libstdc++-v3; \
36389 $(SHELL) $$s/$$module_srcdir/configure \
36390 --srcdir=$${topdir}/$$module_srcdir \
36391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36392 --target=${target_alias} \
36393 --with-build-libsubdir=$(HOST_SUBDIR) \
36394 $(STAGE3_CONFIGURE_FLAGS)
36395 @endif target-libstdc++-v3-bootstrap
36397 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
36398 maybe-configure-stage4-target-libstdc++-v3:
36399 @if target-libstdc++-v3-bootstrap
36400 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36401 configure-stage4-target-libstdc++-v3:
36402 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36403 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36404 @r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 TFLAGS="$(STAGE4_TFLAGS)"; \
36407 echo "Checking multilib configuration for libstdc++-v3..."; \
36408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36409 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36410 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36411 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36412 else \
36413 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36414 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36415 fi; \
36416 else \
36417 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36418 fi; \
36419 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36420 $(RAW_CXX_TARGET_EXPORTS) \
36422 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36425 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
36426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36427 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36428 case $(srcdir) in \
36429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36430 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36432 esac; \
36433 module_srcdir=libstdc++-v3; \
36434 $(SHELL) $$s/$$module_srcdir/configure \
36435 --srcdir=$${topdir}/$$module_srcdir \
36436 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36437 --target=${target_alias} \
36438 --with-build-libsubdir=$(HOST_SUBDIR) \
36439 $(STAGE4_CONFIGURE_FLAGS)
36440 @endif target-libstdc++-v3-bootstrap
36442 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
36443 maybe-configure-stageprofile-target-libstdc++-v3:
36444 @if target-libstdc++-v3-bootstrap
36445 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36446 configure-stageprofile-target-libstdc++-v3:
36447 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36448 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36449 @r=`${PWD_COMMAND}`; export r; \
36450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36451 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36452 echo "Checking multilib configuration for libstdc++-v3..."; \
36453 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36454 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36455 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36456 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36457 else \
36458 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36459 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36460 fi; \
36461 else \
36462 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36463 fi; \
36464 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36465 $(RAW_CXX_TARGET_EXPORTS) \
36467 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36468 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36469 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36470 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
36471 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36472 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36473 case $(srcdir) in \
36474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36475 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36477 esac; \
36478 module_srcdir=libstdc++-v3; \
36479 $(SHELL) $$s/$$module_srcdir/configure \
36480 --srcdir=$${topdir}/$$module_srcdir \
36481 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36482 --target=${target_alias} \
36483 --with-build-libsubdir=$(HOST_SUBDIR) \
36484 $(STAGEprofile_CONFIGURE_FLAGS)
36485 @endif target-libstdc++-v3-bootstrap
36487 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
36488 maybe-configure-stagefeedback-target-libstdc++-v3:
36489 @if target-libstdc++-v3-bootstrap
36490 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36491 configure-stagefeedback-target-libstdc++-v3:
36492 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36493 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36494 @r=`${PWD_COMMAND}`; export r; \
36495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36496 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36497 echo "Checking multilib configuration for libstdc++-v3..."; \
36498 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36499 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36500 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36501 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36502 else \
36503 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36504 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36505 fi; \
36506 else \
36507 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36508 fi; \
36509 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36510 $(RAW_CXX_TARGET_EXPORTS) \
36512 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36513 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36514 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36515 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36516 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36517 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36518 case $(srcdir) in \
36519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36520 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36522 esac; \
36523 module_srcdir=libstdc++-v3; \
36524 $(SHELL) $$s/$$module_srcdir/configure \
36525 --srcdir=$${topdir}/$$module_srcdir \
36526 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36527 --target=${target_alias} \
36528 --with-build-libsubdir=$(HOST_SUBDIR) \
36529 $(STAGEfeedback_CONFIGURE_FLAGS)
36530 @endif target-libstdc++-v3-bootstrap
36532 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
36533 maybe-configure-stageautoprofile-target-libstdc++-v3:
36534 @if target-libstdc++-v3-bootstrap
36535 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36536 configure-stageautoprofile-target-libstdc++-v3:
36537 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36538 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36539 @r=`${PWD_COMMAND}`; export r; \
36540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36541 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36542 echo "Checking multilib configuration for libstdc++-v3..."; \
36543 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36544 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36545 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36546 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36547 else \
36548 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36549 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36550 fi; \
36551 else \
36552 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36553 fi; \
36554 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36555 $(RAW_CXX_TARGET_EXPORTS) \
36557 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36558 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36559 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36560 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
36561 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36562 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36563 case $(srcdir) in \
36564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36565 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36567 esac; \
36568 module_srcdir=libstdc++-v3; \
36569 $(SHELL) $$s/$$module_srcdir/configure \
36570 --srcdir=$${topdir}/$$module_srcdir \
36571 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36572 --target=${target_alias} \
36573 --with-build-libsubdir=$(HOST_SUBDIR) \
36574 $(STAGEautoprofile_CONFIGURE_FLAGS)
36575 @endif target-libstdc++-v3-bootstrap
36577 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
36578 maybe-configure-stageautofeedback-target-libstdc++-v3:
36579 @if target-libstdc++-v3-bootstrap
36580 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36581 configure-stageautofeedback-target-libstdc++-v3:
36582 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36583 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36584 @r=`${PWD_COMMAND}`; export r; \
36585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36586 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36587 echo "Checking multilib configuration for libstdc++-v3..."; \
36588 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36589 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36590 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36591 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36592 else \
36593 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36594 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36595 fi; \
36596 else \
36597 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36598 fi; \
36599 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36600 $(RAW_CXX_TARGET_EXPORTS) \
36602 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36603 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36604 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36605 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36607 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36608 case $(srcdir) in \
36609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36610 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36612 esac; \
36613 module_srcdir=libstdc++-v3; \
36614 $(SHELL) $$s/$$module_srcdir/configure \
36615 --srcdir=$${topdir}/$$module_srcdir \
36616 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36617 --target=${target_alias} \
36618 --with-build-libsubdir=$(HOST_SUBDIR) \
36619 $(STAGEautofeedback_CONFIGURE_FLAGS)
36620 @endif target-libstdc++-v3-bootstrap
36626 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
36627 maybe-all-target-libstdc++-v3:
36628 @if gcc-bootstrap
36629 all-target-libstdc++-v3: stage_current
36630 @endif gcc-bootstrap
36631 @if target-libstdc++-v3
36632 TARGET-target-libstdc++-v3=all
36633 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
36634 all-target-libstdc++-v3: configure-target-libstdc++-v3
36635 @r=`${PWD_COMMAND}`; export r; \
36636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36637 $(RAW_CXX_TARGET_EXPORTS) \
36638 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36639 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36640 $(TARGET-target-libstdc++-v3))
36641 @endif target-libstdc++-v3
36645 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
36646 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
36647 maybe-all-stage1-target-libstdc++-v3:
36648 maybe-clean-stage1-target-libstdc++-v3:
36649 @if target-libstdc++-v3-bootstrap
36650 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
36651 all-stage1: all-stage1-target-libstdc++-v3
36652 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36653 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36654 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36655 @r=`${PWD_COMMAND}`; export r; \
36656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36657 TFLAGS="$(STAGE1_TFLAGS)"; \
36658 $(RAW_CXX_TARGET_EXPORTS) \
36659 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36668 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36670 TFLAGS="$(STAGE1_TFLAGS)" \
36671 $(TARGET-stage1-target-libstdc++-v3)
36673 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
36674 clean-stage1: clean-stage1-target-libstdc++-v3
36675 clean-stage1-target-libstdc++-v3:
36676 @if [ $(current_stage) = stage1 ]; then \
36677 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36678 else \
36679 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
36680 $(MAKE) stage1-start; \
36681 fi; \
36682 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36683 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36684 clean
36685 @endif target-libstdc++-v3-bootstrap
36688 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
36689 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
36690 maybe-all-stage2-target-libstdc++-v3:
36691 maybe-clean-stage2-target-libstdc++-v3:
36692 @if target-libstdc++-v3-bootstrap
36693 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
36694 all-stage2: all-stage2-target-libstdc++-v3
36695 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36696 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36697 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36698 @r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 TFLAGS="$(STAGE2_TFLAGS)"; \
36701 $(RAW_CXX_TARGET_EXPORTS) \
36703 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36706 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36707 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36708 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36712 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36713 TFLAGS="$(STAGE2_TFLAGS)" \
36714 $(TARGET-stage2-target-libstdc++-v3)
36716 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
36717 clean-stage2: clean-stage2-target-libstdc++-v3
36718 clean-stage2-target-libstdc++-v3:
36719 @if [ $(current_stage) = stage2 ]; then \
36720 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36721 else \
36722 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
36723 $(MAKE) stage2-start; \
36724 fi; \
36725 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36726 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36727 @endif target-libstdc++-v3-bootstrap
36730 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
36731 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
36732 maybe-all-stage3-target-libstdc++-v3:
36733 maybe-clean-stage3-target-libstdc++-v3:
36734 @if target-libstdc++-v3-bootstrap
36735 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
36736 all-stage3: all-stage3-target-libstdc++-v3
36737 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36738 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36739 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36740 @r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 TFLAGS="$(STAGE3_TFLAGS)"; \
36743 $(RAW_CXX_TARGET_EXPORTS) \
36745 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36748 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36754 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36755 TFLAGS="$(STAGE3_TFLAGS)" \
36756 $(TARGET-stage3-target-libstdc++-v3)
36758 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
36759 clean-stage3: clean-stage3-target-libstdc++-v3
36760 clean-stage3-target-libstdc++-v3:
36761 @if [ $(current_stage) = stage3 ]; then \
36762 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36763 else \
36764 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
36765 $(MAKE) stage3-start; \
36766 fi; \
36767 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36768 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36769 @endif target-libstdc++-v3-bootstrap
36772 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
36773 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
36774 maybe-all-stage4-target-libstdc++-v3:
36775 maybe-clean-stage4-target-libstdc++-v3:
36776 @if target-libstdc++-v3-bootstrap
36777 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
36778 all-stage4: all-stage4-target-libstdc++-v3
36779 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36780 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36781 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36782 @r=`${PWD_COMMAND}`; export r; \
36783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36784 TFLAGS="$(STAGE4_TFLAGS)"; \
36785 $(RAW_CXX_TARGET_EXPORTS) \
36787 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36789 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36790 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36791 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36792 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36796 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36797 TFLAGS="$(STAGE4_TFLAGS)" \
36798 $(TARGET-stage4-target-libstdc++-v3)
36800 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
36801 clean-stage4: clean-stage4-target-libstdc++-v3
36802 clean-stage4-target-libstdc++-v3:
36803 @if [ $(current_stage) = stage4 ]; then \
36804 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36805 else \
36806 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
36807 $(MAKE) stage4-start; \
36808 fi; \
36809 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36810 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36811 @endif target-libstdc++-v3-bootstrap
36814 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
36815 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
36816 maybe-all-stageprofile-target-libstdc++-v3:
36817 maybe-clean-stageprofile-target-libstdc++-v3:
36818 @if target-libstdc++-v3-bootstrap
36819 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
36820 all-stageprofile: all-stageprofile-target-libstdc++-v3
36821 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36822 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36824 @r=`${PWD_COMMAND}`; export r; \
36825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36826 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36827 $(RAW_CXX_TARGET_EXPORTS) \
36829 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36832 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36833 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36834 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36838 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36839 TFLAGS="$(STAGEprofile_TFLAGS)" \
36840 $(TARGET-stageprofile-target-libstdc++-v3)
36842 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
36843 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
36844 clean-stageprofile-target-libstdc++-v3:
36845 @if [ $(current_stage) = stageprofile ]; then \
36846 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36847 else \
36848 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
36849 $(MAKE) stageprofile-start; \
36850 fi; \
36851 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36852 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36853 @endif target-libstdc++-v3-bootstrap
36856 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
36857 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
36858 maybe-all-stagefeedback-target-libstdc++-v3:
36859 maybe-clean-stagefeedback-target-libstdc++-v3:
36860 @if target-libstdc++-v3-bootstrap
36861 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
36862 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
36863 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36864 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36865 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36866 @r=`${PWD_COMMAND}`; export r; \
36867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36868 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36869 $(RAW_CXX_TARGET_EXPORTS) \
36871 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36874 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36875 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36876 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36880 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36881 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36882 $(TARGET-stagefeedback-target-libstdc++-v3)
36884 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
36885 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
36886 clean-stagefeedback-target-libstdc++-v3:
36887 @if [ $(current_stage) = stagefeedback ]; then \
36888 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36889 else \
36890 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
36891 $(MAKE) stagefeedback-start; \
36892 fi; \
36893 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36894 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36895 @endif target-libstdc++-v3-bootstrap
36898 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
36899 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
36900 maybe-all-stageautoprofile-target-libstdc++-v3:
36901 maybe-clean-stageautoprofile-target-libstdc++-v3:
36902 @if target-libstdc++-v3-bootstrap
36903 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
36904 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
36905 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36906 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36907 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36908 @r=`${PWD_COMMAND}`; export r; \
36909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36910 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36911 $(RAW_CXX_TARGET_EXPORTS) \
36913 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36914 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36916 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36917 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36918 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36919 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36920 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36921 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36922 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36923 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36924 $(TARGET-stageautoprofile-target-libstdc++-v3)
36926 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
36927 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
36928 clean-stageautoprofile-target-libstdc++-v3:
36929 @if [ $(current_stage) = stageautoprofile ]; then \
36930 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36931 else \
36932 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
36933 $(MAKE) stageautoprofile-start; \
36934 fi; \
36935 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36936 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36937 @endif target-libstdc++-v3-bootstrap
36940 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
36941 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
36942 maybe-all-stageautofeedback-target-libstdc++-v3:
36943 maybe-clean-stageautofeedback-target-libstdc++-v3:
36944 @if target-libstdc++-v3-bootstrap
36945 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
36946 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
36947 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36948 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36949 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36950 @r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36953 $(RAW_CXX_TARGET_EXPORTS) \
36955 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36958 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36959 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36960 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36964 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36965 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36966 $(TARGET-stageautofeedback-target-libstdc++-v3)
36968 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
36969 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
36970 clean-stageautofeedback-target-libstdc++-v3:
36971 @if [ $(current_stage) = stageautofeedback ]; then \
36972 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36973 else \
36974 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
36975 $(MAKE) stageautofeedback-start; \
36976 fi; \
36977 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36978 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36979 @endif target-libstdc++-v3-bootstrap
36986 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
36987 maybe-check-target-libstdc++-v3:
36988 @if target-libstdc++-v3
36989 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
36991 check-target-libstdc++-v3:
36992 @: $(MAKE); $(unstage)
36993 @r=`${PWD_COMMAND}`; export r; \
36994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36995 $(RAW_CXX_TARGET_EXPORTS) \
36996 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36997 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36999 @endif target-libstdc++-v3
37001 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
37002 maybe-install-target-libstdc++-v3:
37003 @if target-libstdc++-v3
37004 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
37006 install-target-libstdc++-v3: installdirs
37007 @: $(MAKE); $(unstage)
37008 @r=`${PWD_COMMAND}`; export r; \
37009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37010 $(RAW_CXX_TARGET_EXPORTS) \
37011 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37014 @endif target-libstdc++-v3
37016 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
37017 maybe-install-strip-target-libstdc++-v3:
37018 @if target-libstdc++-v3
37019 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
37021 install-strip-target-libstdc++-v3: installdirs
37022 @: $(MAKE); $(unstage)
37023 @r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(RAW_CXX_TARGET_EXPORTS) \
37026 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37027 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37029 @endif target-libstdc++-v3
37031 # Other targets (info, dvi, pdf, etc.)
37033 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
37034 maybe-info-target-libstdc++-v3:
37035 @if target-libstdc++-v3
37036 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
37038 info-target-libstdc++-v3: \
37039 configure-target-libstdc++-v3
37040 @: $(MAKE); $(unstage)
37041 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37042 r=`${PWD_COMMAND}`; export r; \
37043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37044 $(RAW_CXX_TARGET_EXPORTS) \
37045 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37046 for flag in $(EXTRA_TARGET_FLAGS); do \
37047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37048 done; \
37049 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37052 "RANLIB=$${RANLIB}" \
37053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37054 info) \
37055 || exit 1
37057 @endif target-libstdc++-v3
37059 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
37060 maybe-dvi-target-libstdc++-v3:
37061 @if target-libstdc++-v3
37062 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
37064 dvi-target-libstdc++-v3: \
37065 configure-target-libstdc++-v3
37066 @: $(MAKE); $(unstage)
37067 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37068 r=`${PWD_COMMAND}`; export r; \
37069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37070 $(RAW_CXX_TARGET_EXPORTS) \
37071 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
37072 for flag in $(EXTRA_TARGET_FLAGS); do \
37073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37074 done; \
37075 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37078 "RANLIB=$${RANLIB}" \
37079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37080 dvi) \
37081 || exit 1
37083 @endif target-libstdc++-v3
37085 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
37086 maybe-pdf-target-libstdc++-v3:
37087 @if target-libstdc++-v3
37088 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
37090 pdf-target-libstdc++-v3: \
37091 configure-target-libstdc++-v3
37092 @: $(MAKE); $(unstage)
37093 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37094 r=`${PWD_COMMAND}`; export r; \
37095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37096 $(RAW_CXX_TARGET_EXPORTS) \
37097 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37098 for flag in $(EXTRA_TARGET_FLAGS); do \
37099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37100 done; \
37101 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37104 "RANLIB=$${RANLIB}" \
37105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37106 pdf) \
37107 || exit 1
37109 @endif target-libstdc++-v3
37111 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
37112 maybe-html-target-libstdc++-v3:
37113 @if target-libstdc++-v3
37114 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
37116 html-target-libstdc++-v3: \
37117 configure-target-libstdc++-v3
37118 @: $(MAKE); $(unstage)
37119 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37120 r=`${PWD_COMMAND}`; export r; \
37121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37122 $(RAW_CXX_TARGET_EXPORTS) \
37123 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37124 for flag in $(EXTRA_TARGET_FLAGS); do \
37125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37126 done; \
37127 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37130 "RANLIB=$${RANLIB}" \
37131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37132 html) \
37133 || exit 1
37135 @endif target-libstdc++-v3
37137 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
37138 maybe-TAGS-target-libstdc++-v3:
37139 @if target-libstdc++-v3
37140 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
37142 TAGS-target-libstdc++-v3: \
37143 configure-target-libstdc++-v3
37144 @: $(MAKE); $(unstage)
37145 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37146 r=`${PWD_COMMAND}`; export r; \
37147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37148 $(RAW_CXX_TARGET_EXPORTS) \
37149 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
37150 for flag in $(EXTRA_TARGET_FLAGS); do \
37151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37152 done; \
37153 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37156 "RANLIB=$${RANLIB}" \
37157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37158 TAGS) \
37159 || exit 1
37161 @endif target-libstdc++-v3
37163 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
37164 maybe-install-info-target-libstdc++-v3:
37165 @if target-libstdc++-v3
37166 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
37168 install-info-target-libstdc++-v3: \
37169 configure-target-libstdc++-v3 \
37170 info-target-libstdc++-v3
37171 @: $(MAKE); $(unstage)
37172 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37173 r=`${PWD_COMMAND}`; export r; \
37174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37175 $(RAW_CXX_TARGET_EXPORTS) \
37176 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37177 for flag in $(EXTRA_TARGET_FLAGS); do \
37178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37179 done; \
37180 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37183 "RANLIB=$${RANLIB}" \
37184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37185 install-info) \
37186 || exit 1
37188 @endif target-libstdc++-v3
37190 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
37191 maybe-install-pdf-target-libstdc++-v3:
37192 @if target-libstdc++-v3
37193 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
37195 install-pdf-target-libstdc++-v3: \
37196 configure-target-libstdc++-v3 \
37197 pdf-target-libstdc++-v3
37198 @: $(MAKE); $(unstage)
37199 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37200 r=`${PWD_COMMAND}`; export r; \
37201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37202 $(RAW_CXX_TARGET_EXPORTS) \
37203 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37204 for flag in $(EXTRA_TARGET_FLAGS); do \
37205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37206 done; \
37207 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37210 "RANLIB=$${RANLIB}" \
37211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37212 install-pdf) \
37213 || exit 1
37215 @endif target-libstdc++-v3
37217 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
37218 maybe-install-html-target-libstdc++-v3:
37219 @if target-libstdc++-v3
37220 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
37222 install-html-target-libstdc++-v3: \
37223 configure-target-libstdc++-v3 \
37224 html-target-libstdc++-v3
37225 @: $(MAKE); $(unstage)
37226 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37227 r=`${PWD_COMMAND}`; export r; \
37228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37229 $(RAW_CXX_TARGET_EXPORTS) \
37230 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37231 for flag in $(EXTRA_TARGET_FLAGS); do \
37232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37233 done; \
37234 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37237 "RANLIB=$${RANLIB}" \
37238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37239 install-html) \
37240 || exit 1
37242 @endif target-libstdc++-v3
37244 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
37245 maybe-installcheck-target-libstdc++-v3:
37246 @if target-libstdc++-v3
37247 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
37249 installcheck-target-libstdc++-v3: \
37250 configure-target-libstdc++-v3
37251 @: $(MAKE); $(unstage)
37252 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37253 r=`${PWD_COMMAND}`; export r; \
37254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37255 $(RAW_CXX_TARGET_EXPORTS) \
37256 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
37257 for flag in $(EXTRA_TARGET_FLAGS); do \
37258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37259 done; \
37260 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37263 "RANLIB=$${RANLIB}" \
37264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37265 installcheck) \
37266 || exit 1
37268 @endif target-libstdc++-v3
37270 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
37271 maybe-mostlyclean-target-libstdc++-v3:
37272 @if target-libstdc++-v3
37273 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
37275 mostlyclean-target-libstdc++-v3:
37276 @: $(MAKE); $(unstage)
37277 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37278 r=`${PWD_COMMAND}`; export r; \
37279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37280 $(RAW_CXX_TARGET_EXPORTS) \
37281 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37282 for flag in $(EXTRA_TARGET_FLAGS); do \
37283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37284 done; \
37285 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37288 "RANLIB=$${RANLIB}" \
37289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37290 mostlyclean) \
37291 || exit 1
37293 @endif target-libstdc++-v3
37295 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
37296 maybe-clean-target-libstdc++-v3:
37297 @if target-libstdc++-v3
37298 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
37300 clean-target-libstdc++-v3:
37301 @: $(MAKE); $(unstage)
37302 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37303 r=`${PWD_COMMAND}`; export r; \
37304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37305 $(RAW_CXX_TARGET_EXPORTS) \
37306 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37307 for flag in $(EXTRA_TARGET_FLAGS); do \
37308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37309 done; \
37310 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37313 "RANLIB=$${RANLIB}" \
37314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37315 clean) \
37316 || exit 1
37318 @endif target-libstdc++-v3
37320 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
37321 maybe-distclean-target-libstdc++-v3:
37322 @if target-libstdc++-v3
37323 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
37325 distclean-target-libstdc++-v3:
37326 @: $(MAKE); $(unstage)
37327 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37328 r=`${PWD_COMMAND}`; export r; \
37329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37330 $(RAW_CXX_TARGET_EXPORTS) \
37331 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37332 for flag in $(EXTRA_TARGET_FLAGS); do \
37333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37334 done; \
37335 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37338 "RANLIB=$${RANLIB}" \
37339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37340 distclean) \
37341 || exit 1
37343 @endif target-libstdc++-v3
37345 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
37346 maybe-maintainer-clean-target-libstdc++-v3:
37347 @if target-libstdc++-v3
37348 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
37350 maintainer-clean-target-libstdc++-v3:
37351 @: $(MAKE); $(unstage)
37352 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37353 r=`${PWD_COMMAND}`; export r; \
37354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37355 $(RAW_CXX_TARGET_EXPORTS) \
37356 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37357 for flag in $(EXTRA_TARGET_FLAGS); do \
37358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37359 done; \
37360 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37363 "RANLIB=$${RANLIB}" \
37364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37365 maintainer-clean) \
37366 || exit 1
37368 @endif target-libstdc++-v3
37374 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
37375 maybe-configure-target-libsanitizer:
37376 @if gcc-bootstrap
37377 configure-target-libsanitizer: stage_current
37378 @endif gcc-bootstrap
37379 @if target-libsanitizer
37380 maybe-configure-target-libsanitizer: configure-target-libsanitizer
37381 configure-target-libsanitizer:
37382 @r=`${PWD_COMMAND}`; export r; \
37383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37384 echo "Checking multilib configuration for libsanitizer..."; \
37385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37386 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37387 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37388 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37389 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37390 else \
37391 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37392 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37393 fi; \
37394 else \
37395 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37396 fi; \
37397 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37398 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37399 $(RAW_CXX_TARGET_EXPORTS) \
37400 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
37401 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
37402 case $(srcdir) in \
37403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37404 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37406 esac; \
37407 module_srcdir=libsanitizer; \
37408 rm -f no-such-file || : ; \
37409 CONFIG_SITE=no-such-file $(SHELL) \
37410 $$s/$$module_srcdir/configure \
37411 --srcdir=$${topdir}/$$module_srcdir \
37412 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37413 --target=${target_alias} \
37414 || exit 1
37415 @endif target-libsanitizer
37419 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
37420 maybe-configure-stage1-target-libsanitizer:
37421 @if target-libsanitizer-bootstrap
37422 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37423 configure-stage1-target-libsanitizer:
37424 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37425 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37426 @r=`${PWD_COMMAND}`; export r; \
37427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37428 TFLAGS="$(STAGE1_TFLAGS)"; \
37429 echo "Checking multilib configuration for libsanitizer..."; \
37430 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37431 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37432 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37433 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37434 else \
37435 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37436 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37437 fi; \
37438 else \
37439 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37440 fi; \
37441 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37442 $(RAW_CXX_TARGET_EXPORTS) \
37443 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37446 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
37447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37448 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37449 case $(srcdir) in \
37450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37451 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37453 esac; \
37454 module_srcdir=libsanitizer; \
37455 $(SHELL) $$s/$$module_srcdir/configure \
37456 --srcdir=$${topdir}/$$module_srcdir \
37457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37458 --target=${target_alias} \
37460 $(STAGE1_CONFIGURE_FLAGS)
37461 @endif target-libsanitizer-bootstrap
37463 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
37464 maybe-configure-stage2-target-libsanitizer:
37465 @if target-libsanitizer-bootstrap
37466 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37467 configure-stage2-target-libsanitizer:
37468 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37469 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37470 @r=`${PWD_COMMAND}`; export r; \
37471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37472 TFLAGS="$(STAGE2_TFLAGS)"; \
37473 echo "Checking multilib configuration for libsanitizer..."; \
37474 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37475 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37476 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37477 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37478 else \
37479 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37480 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37481 fi; \
37482 else \
37483 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37484 fi; \
37485 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37486 $(RAW_CXX_TARGET_EXPORTS) \
37488 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37491 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
37492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37493 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37494 case $(srcdir) in \
37495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37496 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37498 esac; \
37499 module_srcdir=libsanitizer; \
37500 $(SHELL) $$s/$$module_srcdir/configure \
37501 --srcdir=$${topdir}/$$module_srcdir \
37502 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37503 --target=${target_alias} \
37504 --with-build-libsubdir=$(HOST_SUBDIR) \
37505 $(STAGE2_CONFIGURE_FLAGS)
37506 @endif target-libsanitizer-bootstrap
37508 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
37509 maybe-configure-stage3-target-libsanitizer:
37510 @if target-libsanitizer-bootstrap
37511 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37512 configure-stage3-target-libsanitizer:
37513 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37514 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37515 @r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 TFLAGS="$(STAGE3_TFLAGS)"; \
37518 echo "Checking multilib configuration for libsanitizer..."; \
37519 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37520 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37521 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37522 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37523 else \
37524 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37525 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37526 fi; \
37527 else \
37528 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37529 fi; \
37530 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37531 $(RAW_CXX_TARGET_EXPORTS) \
37533 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37536 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
37537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37538 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37539 case $(srcdir) in \
37540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37541 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37543 esac; \
37544 module_srcdir=libsanitizer; \
37545 $(SHELL) $$s/$$module_srcdir/configure \
37546 --srcdir=$${topdir}/$$module_srcdir \
37547 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37548 --target=${target_alias} \
37549 --with-build-libsubdir=$(HOST_SUBDIR) \
37550 $(STAGE3_CONFIGURE_FLAGS)
37551 @endif target-libsanitizer-bootstrap
37553 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
37554 maybe-configure-stage4-target-libsanitizer:
37555 @if target-libsanitizer-bootstrap
37556 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37557 configure-stage4-target-libsanitizer:
37558 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37559 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37560 @r=`${PWD_COMMAND}`; export r; \
37561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37562 TFLAGS="$(STAGE4_TFLAGS)"; \
37563 echo "Checking multilib configuration for libsanitizer..."; \
37564 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37565 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37566 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37567 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37568 else \
37569 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37570 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37571 fi; \
37572 else \
37573 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37574 fi; \
37575 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37576 $(RAW_CXX_TARGET_EXPORTS) \
37578 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37579 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37580 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37581 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
37582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37583 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37584 case $(srcdir) in \
37585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37586 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37588 esac; \
37589 module_srcdir=libsanitizer; \
37590 $(SHELL) $$s/$$module_srcdir/configure \
37591 --srcdir=$${topdir}/$$module_srcdir \
37592 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37593 --target=${target_alias} \
37594 --with-build-libsubdir=$(HOST_SUBDIR) \
37595 $(STAGE4_CONFIGURE_FLAGS)
37596 @endif target-libsanitizer-bootstrap
37598 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
37599 maybe-configure-stageprofile-target-libsanitizer:
37600 @if target-libsanitizer-bootstrap
37601 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
37602 configure-stageprofile-target-libsanitizer:
37603 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37604 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37605 @r=`${PWD_COMMAND}`; export r; \
37606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37607 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37608 echo "Checking multilib configuration for libsanitizer..."; \
37609 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37610 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37611 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37612 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37613 else \
37614 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37615 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37616 fi; \
37617 else \
37618 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37619 fi; \
37620 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37621 $(RAW_CXX_TARGET_EXPORTS) \
37623 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37624 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37625 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37626 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
37627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37628 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37629 case $(srcdir) in \
37630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37631 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37633 esac; \
37634 module_srcdir=libsanitizer; \
37635 $(SHELL) $$s/$$module_srcdir/configure \
37636 --srcdir=$${topdir}/$$module_srcdir \
37637 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37638 --target=${target_alias} \
37639 --with-build-libsubdir=$(HOST_SUBDIR) \
37640 $(STAGEprofile_CONFIGURE_FLAGS)
37641 @endif target-libsanitizer-bootstrap
37643 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
37644 maybe-configure-stagefeedback-target-libsanitizer:
37645 @if target-libsanitizer-bootstrap
37646 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
37647 configure-stagefeedback-target-libsanitizer:
37648 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37649 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37650 @r=`${PWD_COMMAND}`; export r; \
37651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37652 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37653 echo "Checking multilib configuration for libsanitizer..."; \
37654 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37655 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37656 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37657 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37658 else \
37659 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37660 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37661 fi; \
37662 else \
37663 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37664 fi; \
37665 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37666 $(RAW_CXX_TARGET_EXPORTS) \
37668 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37669 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37670 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37671 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
37672 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37673 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37674 case $(srcdir) in \
37675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37676 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37678 esac; \
37679 module_srcdir=libsanitizer; \
37680 $(SHELL) $$s/$$module_srcdir/configure \
37681 --srcdir=$${topdir}/$$module_srcdir \
37682 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37683 --target=${target_alias} \
37684 --with-build-libsubdir=$(HOST_SUBDIR) \
37685 $(STAGEfeedback_CONFIGURE_FLAGS)
37686 @endif target-libsanitizer-bootstrap
37688 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
37689 maybe-configure-stageautoprofile-target-libsanitizer:
37690 @if target-libsanitizer-bootstrap
37691 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
37692 configure-stageautoprofile-target-libsanitizer:
37693 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37694 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37695 @r=`${PWD_COMMAND}`; export r; \
37696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37697 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37698 echo "Checking multilib configuration for libsanitizer..."; \
37699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37700 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37701 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37702 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37703 else \
37704 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37705 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37706 fi; \
37707 else \
37708 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37709 fi; \
37710 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37711 $(RAW_CXX_TARGET_EXPORTS) \
37713 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37714 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37715 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37716 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
37717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37718 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37719 case $(srcdir) in \
37720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37721 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37723 esac; \
37724 module_srcdir=libsanitizer; \
37725 $(SHELL) $$s/$$module_srcdir/configure \
37726 --srcdir=$${topdir}/$$module_srcdir \
37727 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37728 --target=${target_alias} \
37729 --with-build-libsubdir=$(HOST_SUBDIR) \
37730 $(STAGEautoprofile_CONFIGURE_FLAGS)
37731 @endif target-libsanitizer-bootstrap
37733 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
37734 maybe-configure-stageautofeedback-target-libsanitizer:
37735 @if target-libsanitizer-bootstrap
37736 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
37737 configure-stageautofeedback-target-libsanitizer:
37738 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37739 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37740 @r=`${PWD_COMMAND}`; export r; \
37741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37742 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37743 echo "Checking multilib configuration for libsanitizer..."; \
37744 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37745 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37746 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37747 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37748 else \
37749 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37750 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37751 fi; \
37752 else \
37753 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37754 fi; \
37755 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37756 $(RAW_CXX_TARGET_EXPORTS) \
37758 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37759 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37760 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37761 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
37762 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37763 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37764 case $(srcdir) in \
37765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37766 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37768 esac; \
37769 module_srcdir=libsanitizer; \
37770 $(SHELL) $$s/$$module_srcdir/configure \
37771 --srcdir=$${topdir}/$$module_srcdir \
37772 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37773 --target=${target_alias} \
37774 --with-build-libsubdir=$(HOST_SUBDIR) \
37775 $(STAGEautofeedback_CONFIGURE_FLAGS)
37776 @endif target-libsanitizer-bootstrap
37782 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
37783 maybe-all-target-libsanitizer:
37784 @if gcc-bootstrap
37785 all-target-libsanitizer: stage_current
37786 @endif gcc-bootstrap
37787 @if target-libsanitizer
37788 TARGET-target-libsanitizer=all
37789 maybe-all-target-libsanitizer: all-target-libsanitizer
37790 all-target-libsanitizer: configure-target-libsanitizer
37791 @r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(RAW_CXX_TARGET_EXPORTS) \
37794 (cd $(TARGET_SUBDIR)/libsanitizer && \
37795 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37796 $(TARGET-target-libsanitizer))
37797 @endif target-libsanitizer
37801 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
37802 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
37803 maybe-all-stage1-target-libsanitizer:
37804 maybe-clean-stage1-target-libsanitizer:
37805 @if target-libsanitizer-bootstrap
37806 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
37807 all-stage1: all-stage1-target-libsanitizer
37808 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
37809 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37810 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37811 @r=`${PWD_COMMAND}`; export r; \
37812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37813 TFLAGS="$(STAGE1_TFLAGS)"; \
37814 $(RAW_CXX_TARGET_EXPORTS) \
37815 cd $(TARGET_SUBDIR)/libsanitizer && \
37817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37818 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37819 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37820 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37824 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37826 TFLAGS="$(STAGE1_TFLAGS)" \
37827 $(TARGET-stage1-target-libsanitizer)
37829 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
37830 clean-stage1: clean-stage1-target-libsanitizer
37831 clean-stage1-target-libsanitizer:
37832 @if [ $(current_stage) = stage1 ]; then \
37833 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37834 else \
37835 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
37836 $(MAKE) stage1-start; \
37837 fi; \
37838 cd $(TARGET_SUBDIR)/libsanitizer && \
37839 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37840 clean
37841 @endif target-libsanitizer-bootstrap
37844 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
37845 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
37846 maybe-all-stage2-target-libsanitizer:
37847 maybe-clean-stage2-target-libsanitizer:
37848 @if target-libsanitizer-bootstrap
37849 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
37850 all-stage2: all-stage2-target-libsanitizer
37851 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
37852 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37853 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37854 @r=`${PWD_COMMAND}`; export r; \
37855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37856 TFLAGS="$(STAGE2_TFLAGS)"; \
37857 $(RAW_CXX_TARGET_EXPORTS) \
37859 cd $(TARGET_SUBDIR)/libsanitizer && \
37861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37862 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37868 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37869 TFLAGS="$(STAGE2_TFLAGS)" \
37870 $(TARGET-stage2-target-libsanitizer)
37872 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
37873 clean-stage2: clean-stage2-target-libsanitizer
37874 clean-stage2-target-libsanitizer:
37875 @if [ $(current_stage) = stage2 ]; then \
37876 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37877 else \
37878 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
37879 $(MAKE) stage2-start; \
37880 fi; \
37881 cd $(TARGET_SUBDIR)/libsanitizer && \
37882 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37883 @endif target-libsanitizer-bootstrap
37886 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
37887 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
37888 maybe-all-stage3-target-libsanitizer:
37889 maybe-clean-stage3-target-libsanitizer:
37890 @if target-libsanitizer-bootstrap
37891 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
37892 all-stage3: all-stage3-target-libsanitizer
37893 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
37894 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37895 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37896 @r=`${PWD_COMMAND}`; export r; \
37897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37898 TFLAGS="$(STAGE3_TFLAGS)"; \
37899 $(RAW_CXX_TARGET_EXPORTS) \
37901 cd $(TARGET_SUBDIR)/libsanitizer && \
37903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37904 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37905 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37906 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37910 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37911 TFLAGS="$(STAGE3_TFLAGS)" \
37912 $(TARGET-stage3-target-libsanitizer)
37914 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
37915 clean-stage3: clean-stage3-target-libsanitizer
37916 clean-stage3-target-libsanitizer:
37917 @if [ $(current_stage) = stage3 ]; then \
37918 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37919 else \
37920 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
37921 $(MAKE) stage3-start; \
37922 fi; \
37923 cd $(TARGET_SUBDIR)/libsanitizer && \
37924 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37925 @endif target-libsanitizer-bootstrap
37928 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
37929 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
37930 maybe-all-stage4-target-libsanitizer:
37931 maybe-clean-stage4-target-libsanitizer:
37932 @if target-libsanitizer-bootstrap
37933 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
37934 all-stage4: all-stage4-target-libsanitizer
37935 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
37936 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37937 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37938 @r=`${PWD_COMMAND}`; export r; \
37939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37940 TFLAGS="$(STAGE4_TFLAGS)"; \
37941 $(RAW_CXX_TARGET_EXPORTS) \
37943 cd $(TARGET_SUBDIR)/libsanitizer && \
37945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37946 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37947 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37948 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37952 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37953 TFLAGS="$(STAGE4_TFLAGS)" \
37954 $(TARGET-stage4-target-libsanitizer)
37956 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
37957 clean-stage4: clean-stage4-target-libsanitizer
37958 clean-stage4-target-libsanitizer:
37959 @if [ $(current_stage) = stage4 ]; then \
37960 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37961 else \
37962 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
37963 $(MAKE) stage4-start; \
37964 fi; \
37965 cd $(TARGET_SUBDIR)/libsanitizer && \
37966 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37967 @endif target-libsanitizer-bootstrap
37970 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
37971 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
37972 maybe-all-stageprofile-target-libsanitizer:
37973 maybe-clean-stageprofile-target-libsanitizer:
37974 @if target-libsanitizer-bootstrap
37975 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
37976 all-stageprofile: all-stageprofile-target-libsanitizer
37977 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
37978 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
37979 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37980 @r=`${PWD_COMMAND}`; export r; \
37981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37982 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37983 $(RAW_CXX_TARGET_EXPORTS) \
37985 cd $(TARGET_SUBDIR)/libsanitizer && \
37987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37988 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37989 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37990 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37994 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37995 TFLAGS="$(STAGEprofile_TFLAGS)" \
37996 $(TARGET-stageprofile-target-libsanitizer)
37998 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
37999 clean-stageprofile: clean-stageprofile-target-libsanitizer
38000 clean-stageprofile-target-libsanitizer:
38001 @if [ $(current_stage) = stageprofile ]; then \
38002 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38003 else \
38004 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
38005 $(MAKE) stageprofile-start; \
38006 fi; \
38007 cd $(TARGET_SUBDIR)/libsanitizer && \
38008 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38009 @endif target-libsanitizer-bootstrap
38012 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
38013 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
38014 maybe-all-stagefeedback-target-libsanitizer:
38015 maybe-clean-stagefeedback-target-libsanitizer:
38016 @if target-libsanitizer-bootstrap
38017 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
38018 all-stagefeedback: all-stagefeedback-target-libsanitizer
38019 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38020 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
38021 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38022 @r=`${PWD_COMMAND}`; export r; \
38023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38024 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38025 $(RAW_CXX_TARGET_EXPORTS) \
38027 cd $(TARGET_SUBDIR)/libsanitizer && \
38029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38030 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38031 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38032 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38036 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38037 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38038 $(TARGET-stagefeedback-target-libsanitizer)
38040 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
38041 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
38042 clean-stagefeedback-target-libsanitizer:
38043 @if [ $(current_stage) = stagefeedback ]; then \
38044 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38045 else \
38046 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
38047 $(MAKE) stagefeedback-start; \
38048 fi; \
38049 cd $(TARGET_SUBDIR)/libsanitizer && \
38050 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38051 @endif target-libsanitizer-bootstrap
38054 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
38055 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
38056 maybe-all-stageautoprofile-target-libsanitizer:
38057 maybe-clean-stageautoprofile-target-libsanitizer:
38058 @if target-libsanitizer-bootstrap
38059 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
38060 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
38061 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
38062 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
38063 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38064 @r=`${PWD_COMMAND}`; export r; \
38065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38066 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38067 $(RAW_CXX_TARGET_EXPORTS) \
38069 cd $(TARGET_SUBDIR)/libsanitizer && \
38070 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38072 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38073 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38074 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38078 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38079 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38080 $(TARGET-stageautoprofile-target-libsanitizer)
38082 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
38083 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
38084 clean-stageautoprofile-target-libsanitizer:
38085 @if [ $(current_stage) = stageautoprofile ]; then \
38086 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38087 else \
38088 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
38089 $(MAKE) stageautoprofile-start; \
38090 fi; \
38091 cd $(TARGET_SUBDIR)/libsanitizer && \
38092 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38093 @endif target-libsanitizer-bootstrap
38096 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
38097 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
38098 maybe-all-stageautofeedback-target-libsanitizer:
38099 maybe-clean-stageautofeedback-target-libsanitizer:
38100 @if target-libsanitizer-bootstrap
38101 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
38102 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
38103 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38104 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
38105 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38106 @r=`${PWD_COMMAND}`; export r; \
38107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38108 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38109 $(RAW_CXX_TARGET_EXPORTS) \
38111 cd $(TARGET_SUBDIR)/libsanitizer && \
38113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38114 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38115 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38116 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38120 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38121 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38122 $(TARGET-stageautofeedback-target-libsanitizer)
38124 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
38125 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
38126 clean-stageautofeedback-target-libsanitizer:
38127 @if [ $(current_stage) = stageautofeedback ]; then \
38128 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38129 else \
38130 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
38131 $(MAKE) stageautofeedback-start; \
38132 fi; \
38133 cd $(TARGET_SUBDIR)/libsanitizer && \
38134 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38135 @endif target-libsanitizer-bootstrap
38142 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
38143 maybe-check-target-libsanitizer:
38144 @if target-libsanitizer
38145 maybe-check-target-libsanitizer: check-target-libsanitizer
38147 check-target-libsanitizer:
38148 @: $(MAKE); $(unstage)
38149 @r=`${PWD_COMMAND}`; export r; \
38150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38151 $(RAW_CXX_TARGET_EXPORTS) \
38152 (cd $(TARGET_SUBDIR)/libsanitizer && \
38153 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38155 @endif target-libsanitizer
38157 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
38158 maybe-install-target-libsanitizer:
38159 @if target-libsanitizer
38160 maybe-install-target-libsanitizer: install-target-libsanitizer
38162 install-target-libsanitizer: installdirs
38163 @: $(MAKE); $(unstage)
38164 @r=`${PWD_COMMAND}`; export r; \
38165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38166 $(RAW_CXX_TARGET_EXPORTS) \
38167 (cd $(TARGET_SUBDIR)/libsanitizer && \
38168 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38170 @endif target-libsanitizer
38172 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
38173 maybe-install-strip-target-libsanitizer:
38174 @if target-libsanitizer
38175 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
38177 install-strip-target-libsanitizer: installdirs
38178 @: $(MAKE); $(unstage)
38179 @r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 $(RAW_CXX_TARGET_EXPORTS) \
38182 (cd $(TARGET_SUBDIR)/libsanitizer && \
38183 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38185 @endif target-libsanitizer
38187 # Other targets (info, dvi, pdf, etc.)
38189 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
38190 maybe-info-target-libsanitizer:
38191 @if target-libsanitizer
38192 maybe-info-target-libsanitizer: info-target-libsanitizer
38194 info-target-libsanitizer: \
38195 configure-target-libsanitizer
38196 @: $(MAKE); $(unstage)
38197 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(RAW_CXX_TARGET_EXPORTS) \
38201 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
38202 for flag in $(EXTRA_TARGET_FLAGS); do \
38203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38204 done; \
38205 (cd $(TARGET_SUBDIR)/libsanitizer && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 info) \
38211 || exit 1
38213 @endif target-libsanitizer
38215 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
38216 maybe-dvi-target-libsanitizer:
38217 @if target-libsanitizer
38218 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
38220 dvi-target-libsanitizer: \
38221 configure-target-libsanitizer
38222 @: $(MAKE); $(unstage)
38223 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38224 r=`${PWD_COMMAND}`; export r; \
38225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38226 $(RAW_CXX_TARGET_EXPORTS) \
38227 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
38228 for flag in $(EXTRA_TARGET_FLAGS); do \
38229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38230 done; \
38231 (cd $(TARGET_SUBDIR)/libsanitizer && \
38232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38234 "RANLIB=$${RANLIB}" \
38235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38236 dvi) \
38237 || exit 1
38239 @endif target-libsanitizer
38241 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
38242 maybe-pdf-target-libsanitizer:
38243 @if target-libsanitizer
38244 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
38246 pdf-target-libsanitizer: \
38247 configure-target-libsanitizer
38248 @: $(MAKE); $(unstage)
38249 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38250 r=`${PWD_COMMAND}`; export r; \
38251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38252 $(RAW_CXX_TARGET_EXPORTS) \
38253 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38254 for flag in $(EXTRA_TARGET_FLAGS); do \
38255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38256 done; \
38257 (cd $(TARGET_SUBDIR)/libsanitizer && \
38258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38260 "RANLIB=$${RANLIB}" \
38261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38262 pdf) \
38263 || exit 1
38265 @endif target-libsanitizer
38267 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
38268 maybe-html-target-libsanitizer:
38269 @if target-libsanitizer
38270 maybe-html-target-libsanitizer: html-target-libsanitizer
38272 html-target-libsanitizer: \
38273 configure-target-libsanitizer
38274 @: $(MAKE); $(unstage)
38275 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38276 r=`${PWD_COMMAND}`; export r; \
38277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38278 $(RAW_CXX_TARGET_EXPORTS) \
38279 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
38280 for flag in $(EXTRA_TARGET_FLAGS); do \
38281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38282 done; \
38283 (cd $(TARGET_SUBDIR)/libsanitizer && \
38284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38286 "RANLIB=$${RANLIB}" \
38287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38288 html) \
38289 || exit 1
38291 @endif target-libsanitizer
38293 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
38294 maybe-TAGS-target-libsanitizer:
38295 @if target-libsanitizer
38296 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
38298 TAGS-target-libsanitizer: \
38299 configure-target-libsanitizer
38300 @: $(MAKE); $(unstage)
38301 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38302 r=`${PWD_COMMAND}`; export r; \
38303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38304 $(RAW_CXX_TARGET_EXPORTS) \
38305 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
38306 for flag in $(EXTRA_TARGET_FLAGS); do \
38307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38308 done; \
38309 (cd $(TARGET_SUBDIR)/libsanitizer && \
38310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38312 "RANLIB=$${RANLIB}" \
38313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38314 TAGS) \
38315 || exit 1
38317 @endif target-libsanitizer
38319 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
38320 maybe-install-info-target-libsanitizer:
38321 @if target-libsanitizer
38322 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
38324 install-info-target-libsanitizer: \
38325 configure-target-libsanitizer \
38326 info-target-libsanitizer
38327 @: $(MAKE); $(unstage)
38328 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38329 r=`${PWD_COMMAND}`; export r; \
38330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38331 $(RAW_CXX_TARGET_EXPORTS) \
38332 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
38333 for flag in $(EXTRA_TARGET_FLAGS); do \
38334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38335 done; \
38336 (cd $(TARGET_SUBDIR)/libsanitizer && \
38337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38339 "RANLIB=$${RANLIB}" \
38340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38341 install-info) \
38342 || exit 1
38344 @endif target-libsanitizer
38346 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
38347 maybe-install-pdf-target-libsanitizer:
38348 @if target-libsanitizer
38349 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
38351 install-pdf-target-libsanitizer: \
38352 configure-target-libsanitizer \
38353 pdf-target-libsanitizer
38354 @: $(MAKE); $(unstage)
38355 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38356 r=`${PWD_COMMAND}`; export r; \
38357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38358 $(RAW_CXX_TARGET_EXPORTS) \
38359 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38360 for flag in $(EXTRA_TARGET_FLAGS); do \
38361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38362 done; \
38363 (cd $(TARGET_SUBDIR)/libsanitizer && \
38364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38366 "RANLIB=$${RANLIB}" \
38367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38368 install-pdf) \
38369 || exit 1
38371 @endif target-libsanitizer
38373 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
38374 maybe-install-html-target-libsanitizer:
38375 @if target-libsanitizer
38376 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
38378 install-html-target-libsanitizer: \
38379 configure-target-libsanitizer \
38380 html-target-libsanitizer
38381 @: $(MAKE); $(unstage)
38382 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38383 r=`${PWD_COMMAND}`; export r; \
38384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38385 $(RAW_CXX_TARGET_EXPORTS) \
38386 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
38387 for flag in $(EXTRA_TARGET_FLAGS); do \
38388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38389 done; \
38390 (cd $(TARGET_SUBDIR)/libsanitizer && \
38391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38393 "RANLIB=$${RANLIB}" \
38394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38395 install-html) \
38396 || exit 1
38398 @endif target-libsanitizer
38400 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
38401 maybe-installcheck-target-libsanitizer:
38402 @if target-libsanitizer
38403 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
38405 installcheck-target-libsanitizer: \
38406 configure-target-libsanitizer
38407 @: $(MAKE); $(unstage)
38408 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38409 r=`${PWD_COMMAND}`; export r; \
38410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38411 $(RAW_CXX_TARGET_EXPORTS) \
38412 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
38413 for flag in $(EXTRA_TARGET_FLAGS); do \
38414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38415 done; \
38416 (cd $(TARGET_SUBDIR)/libsanitizer && \
38417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38419 "RANLIB=$${RANLIB}" \
38420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38421 installcheck) \
38422 || exit 1
38424 @endif target-libsanitizer
38426 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
38427 maybe-mostlyclean-target-libsanitizer:
38428 @if target-libsanitizer
38429 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
38431 mostlyclean-target-libsanitizer:
38432 @: $(MAKE); $(unstage)
38433 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38434 r=`${PWD_COMMAND}`; export r; \
38435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38436 $(RAW_CXX_TARGET_EXPORTS) \
38437 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
38438 for flag in $(EXTRA_TARGET_FLAGS); do \
38439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38440 done; \
38441 (cd $(TARGET_SUBDIR)/libsanitizer && \
38442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38444 "RANLIB=$${RANLIB}" \
38445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38446 mostlyclean) \
38447 || exit 1
38449 @endif target-libsanitizer
38451 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
38452 maybe-clean-target-libsanitizer:
38453 @if target-libsanitizer
38454 maybe-clean-target-libsanitizer: clean-target-libsanitizer
38456 clean-target-libsanitizer:
38457 @: $(MAKE); $(unstage)
38458 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38459 r=`${PWD_COMMAND}`; export r; \
38460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38461 $(RAW_CXX_TARGET_EXPORTS) \
38462 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
38463 for flag in $(EXTRA_TARGET_FLAGS); do \
38464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38465 done; \
38466 (cd $(TARGET_SUBDIR)/libsanitizer && \
38467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38469 "RANLIB=$${RANLIB}" \
38470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38471 clean) \
38472 || exit 1
38474 @endif target-libsanitizer
38476 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
38477 maybe-distclean-target-libsanitizer:
38478 @if target-libsanitizer
38479 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
38481 distclean-target-libsanitizer:
38482 @: $(MAKE); $(unstage)
38483 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38484 r=`${PWD_COMMAND}`; export r; \
38485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38486 $(RAW_CXX_TARGET_EXPORTS) \
38487 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
38488 for flag in $(EXTRA_TARGET_FLAGS); do \
38489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38490 done; \
38491 (cd $(TARGET_SUBDIR)/libsanitizer && \
38492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38494 "RANLIB=$${RANLIB}" \
38495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38496 distclean) \
38497 || exit 1
38499 @endif target-libsanitizer
38501 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
38502 maybe-maintainer-clean-target-libsanitizer:
38503 @if target-libsanitizer
38504 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
38506 maintainer-clean-target-libsanitizer:
38507 @: $(MAKE); $(unstage)
38508 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38509 r=`${PWD_COMMAND}`; export r; \
38510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38511 $(RAW_CXX_TARGET_EXPORTS) \
38512 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
38513 for flag in $(EXTRA_TARGET_FLAGS); do \
38514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38515 done; \
38516 (cd $(TARGET_SUBDIR)/libsanitizer && \
38517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38519 "RANLIB=$${RANLIB}" \
38520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38521 maintainer-clean) \
38522 || exit 1
38524 @endif target-libsanitizer
38530 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
38531 maybe-configure-target-libmpx:
38532 @if gcc-bootstrap
38533 configure-target-libmpx: stage_current
38534 @endif gcc-bootstrap
38535 @if target-libmpx
38536 maybe-configure-target-libmpx: configure-target-libmpx
38537 configure-target-libmpx:
38538 @r=`${PWD_COMMAND}`; export r; \
38539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38540 echo "Checking multilib configuration for libmpx..."; \
38541 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38542 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38543 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38544 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38545 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38546 else \
38547 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38548 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38549 fi; \
38550 else \
38551 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38552 fi; \
38553 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38555 $(NORMAL_TARGET_EXPORTS) \
38556 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
38557 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
38558 case $(srcdir) in \
38559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38560 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38562 esac; \
38563 module_srcdir=libmpx; \
38564 rm -f no-such-file || : ; \
38565 CONFIG_SITE=no-such-file $(SHELL) \
38566 $$s/$$module_srcdir/configure \
38567 --srcdir=$${topdir}/$$module_srcdir \
38568 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38569 --target=${target_alias} \
38570 || exit 1
38571 @endif target-libmpx
38575 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
38576 maybe-configure-stage1-target-libmpx:
38577 @if target-libmpx-bootstrap
38578 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
38579 configure-stage1-target-libmpx:
38580 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38581 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38582 @r=`${PWD_COMMAND}`; export r; \
38583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38584 TFLAGS="$(STAGE1_TFLAGS)"; \
38585 echo "Checking multilib configuration for libmpx..."; \
38586 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38587 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38588 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38589 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38590 else \
38591 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38592 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38593 fi; \
38594 else \
38595 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38596 fi; \
38597 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38598 $(NORMAL_TARGET_EXPORTS) \
38599 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38600 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38601 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38602 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
38603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38604 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38605 case $(srcdir) in \
38606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38607 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38609 esac; \
38610 module_srcdir=libmpx; \
38611 $(SHELL) $$s/$$module_srcdir/configure \
38612 --srcdir=$${topdir}/$$module_srcdir \
38613 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38614 --target=${target_alias} \
38616 $(STAGE1_CONFIGURE_FLAGS)
38617 @endif target-libmpx-bootstrap
38619 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
38620 maybe-configure-stage2-target-libmpx:
38621 @if target-libmpx-bootstrap
38622 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
38623 configure-stage2-target-libmpx:
38624 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38625 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38626 @r=`${PWD_COMMAND}`; export r; \
38627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38628 TFLAGS="$(STAGE2_TFLAGS)"; \
38629 echo "Checking multilib configuration for libmpx..."; \
38630 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38631 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38632 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38633 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38634 else \
38635 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38636 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38637 fi; \
38638 else \
38639 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38640 fi; \
38641 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38642 $(NORMAL_TARGET_EXPORTS) \
38644 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38645 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38646 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38647 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
38648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38649 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38650 case $(srcdir) in \
38651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38652 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38654 esac; \
38655 module_srcdir=libmpx; \
38656 $(SHELL) $$s/$$module_srcdir/configure \
38657 --srcdir=$${topdir}/$$module_srcdir \
38658 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38659 --target=${target_alias} \
38660 --with-build-libsubdir=$(HOST_SUBDIR) \
38661 $(STAGE2_CONFIGURE_FLAGS)
38662 @endif target-libmpx-bootstrap
38664 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
38665 maybe-configure-stage3-target-libmpx:
38666 @if target-libmpx-bootstrap
38667 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
38668 configure-stage3-target-libmpx:
38669 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38670 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38671 @r=`${PWD_COMMAND}`; export r; \
38672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38673 TFLAGS="$(STAGE3_TFLAGS)"; \
38674 echo "Checking multilib configuration for libmpx..."; \
38675 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38676 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38677 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38678 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38679 else \
38680 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38681 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38682 fi; \
38683 else \
38684 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38685 fi; \
38686 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38687 $(NORMAL_TARGET_EXPORTS) \
38689 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38690 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38691 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38692 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
38693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38694 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38695 case $(srcdir) in \
38696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38697 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38699 esac; \
38700 module_srcdir=libmpx; \
38701 $(SHELL) $$s/$$module_srcdir/configure \
38702 --srcdir=$${topdir}/$$module_srcdir \
38703 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38704 --target=${target_alias} \
38705 --with-build-libsubdir=$(HOST_SUBDIR) \
38706 $(STAGE3_CONFIGURE_FLAGS)
38707 @endif target-libmpx-bootstrap
38709 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
38710 maybe-configure-stage4-target-libmpx:
38711 @if target-libmpx-bootstrap
38712 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
38713 configure-stage4-target-libmpx:
38714 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38715 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38716 @r=`${PWD_COMMAND}`; export r; \
38717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38718 TFLAGS="$(STAGE4_TFLAGS)"; \
38719 echo "Checking multilib configuration for libmpx..."; \
38720 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38721 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38722 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38723 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38724 else \
38725 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38726 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38727 fi; \
38728 else \
38729 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38730 fi; \
38731 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38732 $(NORMAL_TARGET_EXPORTS) \
38734 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38735 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38736 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38737 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
38738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38739 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38740 case $(srcdir) in \
38741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38742 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38744 esac; \
38745 module_srcdir=libmpx; \
38746 $(SHELL) $$s/$$module_srcdir/configure \
38747 --srcdir=$${topdir}/$$module_srcdir \
38748 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38749 --target=${target_alias} \
38750 --with-build-libsubdir=$(HOST_SUBDIR) \
38751 $(STAGE4_CONFIGURE_FLAGS)
38752 @endif target-libmpx-bootstrap
38754 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
38755 maybe-configure-stageprofile-target-libmpx:
38756 @if target-libmpx-bootstrap
38757 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
38758 configure-stageprofile-target-libmpx:
38759 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38760 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38761 @r=`${PWD_COMMAND}`; export r; \
38762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38763 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38764 echo "Checking multilib configuration for libmpx..."; \
38765 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38766 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38767 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38768 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38769 else \
38770 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38771 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38772 fi; \
38773 else \
38774 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38775 fi; \
38776 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38777 $(NORMAL_TARGET_EXPORTS) \
38779 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38780 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38781 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38782 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
38783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38784 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38785 case $(srcdir) in \
38786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38787 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38789 esac; \
38790 module_srcdir=libmpx; \
38791 $(SHELL) $$s/$$module_srcdir/configure \
38792 --srcdir=$${topdir}/$$module_srcdir \
38793 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38794 --target=${target_alias} \
38795 --with-build-libsubdir=$(HOST_SUBDIR) \
38796 $(STAGEprofile_CONFIGURE_FLAGS)
38797 @endif target-libmpx-bootstrap
38799 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
38800 maybe-configure-stagefeedback-target-libmpx:
38801 @if target-libmpx-bootstrap
38802 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
38803 configure-stagefeedback-target-libmpx:
38804 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38805 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38806 @r=`${PWD_COMMAND}`; export r; \
38807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38808 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38809 echo "Checking multilib configuration for libmpx..."; \
38810 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38811 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38812 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38813 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38814 else \
38815 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38816 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38817 fi; \
38818 else \
38819 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38820 fi; \
38821 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38822 $(NORMAL_TARGET_EXPORTS) \
38824 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38825 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38826 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38827 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
38828 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38829 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38830 case $(srcdir) in \
38831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38832 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38834 esac; \
38835 module_srcdir=libmpx; \
38836 $(SHELL) $$s/$$module_srcdir/configure \
38837 --srcdir=$${topdir}/$$module_srcdir \
38838 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38839 --target=${target_alias} \
38840 --with-build-libsubdir=$(HOST_SUBDIR) \
38841 $(STAGEfeedback_CONFIGURE_FLAGS)
38842 @endif target-libmpx-bootstrap
38844 .PHONY: configure-stageautoprofile-target-libmpx maybe-configure-stageautoprofile-target-libmpx
38845 maybe-configure-stageautoprofile-target-libmpx:
38846 @if target-libmpx-bootstrap
38847 maybe-configure-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
38848 configure-stageautoprofile-target-libmpx:
38849 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38850 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38851 @r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38854 echo "Checking multilib configuration for libmpx..."; \
38855 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38856 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38857 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38858 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38859 else \
38860 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38861 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38862 fi; \
38863 else \
38864 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38865 fi; \
38866 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38867 $(NORMAL_TARGET_EXPORTS) \
38869 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38870 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38871 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38872 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libmpx; \
38873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38874 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38875 case $(srcdir) in \
38876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38877 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38879 esac; \
38880 module_srcdir=libmpx; \
38881 $(SHELL) $$s/$$module_srcdir/configure \
38882 --srcdir=$${topdir}/$$module_srcdir \
38883 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38884 --target=${target_alias} \
38885 --with-build-libsubdir=$(HOST_SUBDIR) \
38886 $(STAGEautoprofile_CONFIGURE_FLAGS)
38887 @endif target-libmpx-bootstrap
38889 .PHONY: configure-stageautofeedback-target-libmpx maybe-configure-stageautofeedback-target-libmpx
38890 maybe-configure-stageautofeedback-target-libmpx:
38891 @if target-libmpx-bootstrap
38892 maybe-configure-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
38893 configure-stageautofeedback-target-libmpx:
38894 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38895 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38896 @r=`${PWD_COMMAND}`; export r; \
38897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38898 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38899 echo "Checking multilib configuration for libmpx..."; \
38900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38901 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38902 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38903 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38904 else \
38905 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38906 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38907 fi; \
38908 else \
38909 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38910 fi; \
38911 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38912 $(NORMAL_TARGET_EXPORTS) \
38914 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38915 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38916 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38917 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libmpx; \
38918 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38919 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38920 case $(srcdir) in \
38921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38922 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38924 esac; \
38925 module_srcdir=libmpx; \
38926 $(SHELL) $$s/$$module_srcdir/configure \
38927 --srcdir=$${topdir}/$$module_srcdir \
38928 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38929 --target=${target_alias} \
38930 --with-build-libsubdir=$(HOST_SUBDIR) \
38931 $(STAGEautofeedback_CONFIGURE_FLAGS)
38932 @endif target-libmpx-bootstrap
38938 .PHONY: all-target-libmpx maybe-all-target-libmpx
38939 maybe-all-target-libmpx:
38940 @if gcc-bootstrap
38941 all-target-libmpx: stage_current
38942 @endif gcc-bootstrap
38943 @if target-libmpx
38944 TARGET-target-libmpx=all
38945 maybe-all-target-libmpx: all-target-libmpx
38946 all-target-libmpx: configure-target-libmpx
38947 @r=`${PWD_COMMAND}`; export r; \
38948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38949 $(NORMAL_TARGET_EXPORTS) \
38950 (cd $(TARGET_SUBDIR)/libmpx && \
38951 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38952 $(TARGET-target-libmpx))
38953 @endif target-libmpx
38957 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
38958 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
38959 maybe-all-stage1-target-libmpx:
38960 maybe-clean-stage1-target-libmpx:
38961 @if target-libmpx-bootstrap
38962 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
38963 all-stage1: all-stage1-target-libmpx
38964 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
38965 all-stage1-target-libmpx: configure-stage1-target-libmpx
38966 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38967 @r=`${PWD_COMMAND}`; export r; \
38968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38969 TFLAGS="$(STAGE1_TFLAGS)"; \
38970 $(NORMAL_TARGET_EXPORTS) \
38971 cd $(TARGET_SUBDIR)/libmpx && \
38973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38974 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38975 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38976 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38980 $(EXTRA_TARGET_FLAGS) \
38982 TFLAGS="$(STAGE1_TFLAGS)" \
38983 $(TARGET-stage1-target-libmpx)
38985 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
38986 clean-stage1: clean-stage1-target-libmpx
38987 clean-stage1-target-libmpx:
38988 @if [ $(current_stage) = stage1 ]; then \
38989 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
38990 else \
38991 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
38992 $(MAKE) stage1-start; \
38993 fi; \
38994 cd $(TARGET_SUBDIR)/libmpx && \
38995 $(MAKE) $(EXTRA_TARGET_FLAGS) \
38996 clean
38997 @endif target-libmpx-bootstrap
39000 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
39001 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
39002 maybe-all-stage2-target-libmpx:
39003 maybe-clean-stage2-target-libmpx:
39004 @if target-libmpx-bootstrap
39005 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
39006 all-stage2: all-stage2-target-libmpx
39007 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
39008 all-stage2-target-libmpx: configure-stage2-target-libmpx
39009 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39010 @r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 TFLAGS="$(STAGE2_TFLAGS)"; \
39013 $(NORMAL_TARGET_EXPORTS) \
39015 cd $(TARGET_SUBDIR)/libmpx && \
39017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39018 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39019 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39020 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39024 $(EXTRA_TARGET_FLAGS) \
39025 TFLAGS="$(STAGE2_TFLAGS)" \
39026 $(TARGET-stage2-target-libmpx)
39028 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
39029 clean-stage2: clean-stage2-target-libmpx
39030 clean-stage2-target-libmpx:
39031 @if [ $(current_stage) = stage2 ]; then \
39032 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39033 else \
39034 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
39035 $(MAKE) stage2-start; \
39036 fi; \
39037 cd $(TARGET_SUBDIR)/libmpx && \
39038 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39039 @endif target-libmpx-bootstrap
39042 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
39043 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
39044 maybe-all-stage3-target-libmpx:
39045 maybe-clean-stage3-target-libmpx:
39046 @if target-libmpx-bootstrap
39047 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
39048 all-stage3: all-stage3-target-libmpx
39049 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
39050 all-stage3-target-libmpx: configure-stage3-target-libmpx
39051 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39052 @r=`${PWD_COMMAND}`; export r; \
39053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39054 TFLAGS="$(STAGE3_TFLAGS)"; \
39055 $(NORMAL_TARGET_EXPORTS) \
39057 cd $(TARGET_SUBDIR)/libmpx && \
39059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39060 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39061 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39062 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39066 $(EXTRA_TARGET_FLAGS) \
39067 TFLAGS="$(STAGE3_TFLAGS)" \
39068 $(TARGET-stage3-target-libmpx)
39070 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
39071 clean-stage3: clean-stage3-target-libmpx
39072 clean-stage3-target-libmpx:
39073 @if [ $(current_stage) = stage3 ]; then \
39074 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39075 else \
39076 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
39077 $(MAKE) stage3-start; \
39078 fi; \
39079 cd $(TARGET_SUBDIR)/libmpx && \
39080 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39081 @endif target-libmpx-bootstrap
39084 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
39085 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
39086 maybe-all-stage4-target-libmpx:
39087 maybe-clean-stage4-target-libmpx:
39088 @if target-libmpx-bootstrap
39089 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
39090 all-stage4: all-stage4-target-libmpx
39091 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
39092 all-stage4-target-libmpx: configure-stage4-target-libmpx
39093 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39094 @r=`${PWD_COMMAND}`; export r; \
39095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39096 TFLAGS="$(STAGE4_TFLAGS)"; \
39097 $(NORMAL_TARGET_EXPORTS) \
39099 cd $(TARGET_SUBDIR)/libmpx && \
39101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39102 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39103 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39104 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39108 $(EXTRA_TARGET_FLAGS) \
39109 TFLAGS="$(STAGE4_TFLAGS)" \
39110 $(TARGET-stage4-target-libmpx)
39112 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
39113 clean-stage4: clean-stage4-target-libmpx
39114 clean-stage4-target-libmpx:
39115 @if [ $(current_stage) = stage4 ]; then \
39116 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39117 else \
39118 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
39119 $(MAKE) stage4-start; \
39120 fi; \
39121 cd $(TARGET_SUBDIR)/libmpx && \
39122 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39123 @endif target-libmpx-bootstrap
39126 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
39127 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
39128 maybe-all-stageprofile-target-libmpx:
39129 maybe-clean-stageprofile-target-libmpx:
39130 @if target-libmpx-bootstrap
39131 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
39132 all-stageprofile: all-stageprofile-target-libmpx
39133 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
39134 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
39135 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39136 @r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39139 $(NORMAL_TARGET_EXPORTS) \
39141 cd $(TARGET_SUBDIR)/libmpx && \
39143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39150 $(EXTRA_TARGET_FLAGS) \
39151 TFLAGS="$(STAGEprofile_TFLAGS)" \
39152 $(TARGET-stageprofile-target-libmpx)
39154 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
39155 clean-stageprofile: clean-stageprofile-target-libmpx
39156 clean-stageprofile-target-libmpx:
39157 @if [ $(current_stage) = stageprofile ]; then \
39158 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39159 else \
39160 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
39161 $(MAKE) stageprofile-start; \
39162 fi; \
39163 cd $(TARGET_SUBDIR)/libmpx && \
39164 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39165 @endif target-libmpx-bootstrap
39168 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
39169 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
39170 maybe-all-stagefeedback-target-libmpx:
39171 maybe-clean-stagefeedback-target-libmpx:
39172 @if target-libmpx-bootstrap
39173 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
39174 all-stagefeedback: all-stagefeedback-target-libmpx
39175 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
39176 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
39177 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39178 @r=`${PWD_COMMAND}`; export r; \
39179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39180 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39181 $(NORMAL_TARGET_EXPORTS) \
39183 cd $(TARGET_SUBDIR)/libmpx && \
39185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39186 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39187 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39188 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39192 $(EXTRA_TARGET_FLAGS) \
39193 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39194 $(TARGET-stagefeedback-target-libmpx)
39196 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
39197 clean-stagefeedback: clean-stagefeedback-target-libmpx
39198 clean-stagefeedback-target-libmpx:
39199 @if [ $(current_stage) = stagefeedback ]; then \
39200 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39201 else \
39202 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
39203 $(MAKE) stagefeedback-start; \
39204 fi; \
39205 cd $(TARGET_SUBDIR)/libmpx && \
39206 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39207 @endif target-libmpx-bootstrap
39210 .PHONY: all-stageautoprofile-target-libmpx maybe-all-stageautoprofile-target-libmpx
39211 .PHONY: clean-stageautoprofile-target-libmpx maybe-clean-stageautoprofile-target-libmpx
39212 maybe-all-stageautoprofile-target-libmpx:
39213 maybe-clean-stageautoprofile-target-libmpx:
39214 @if target-libmpx-bootstrap
39215 maybe-all-stageautoprofile-target-libmpx: all-stageautoprofile-target-libmpx
39216 all-stageautoprofile: all-stageautoprofile-target-libmpx
39217 TARGET-stageautoprofile-target-libmpx = $(TARGET-target-libmpx)
39218 all-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
39219 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39220 @r=`${PWD_COMMAND}`; export r; \
39221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39222 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39223 $(NORMAL_TARGET_EXPORTS) \
39225 cd $(TARGET_SUBDIR)/libmpx && \
39226 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39228 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39234 $(EXTRA_TARGET_FLAGS) \
39235 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39236 $(TARGET-stageautoprofile-target-libmpx)
39238 maybe-clean-stageautoprofile-target-libmpx: clean-stageautoprofile-target-libmpx
39239 clean-stageautoprofile: clean-stageautoprofile-target-libmpx
39240 clean-stageautoprofile-target-libmpx:
39241 @if [ $(current_stage) = stageautoprofile ]; then \
39242 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39243 else \
39244 [ -f $(TARGET_SUBDIR)/stageautoprofile-libmpx/Makefile ] || exit 0; \
39245 $(MAKE) stageautoprofile-start; \
39246 fi; \
39247 cd $(TARGET_SUBDIR)/libmpx && \
39248 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39249 @endif target-libmpx-bootstrap
39252 .PHONY: all-stageautofeedback-target-libmpx maybe-all-stageautofeedback-target-libmpx
39253 .PHONY: clean-stageautofeedback-target-libmpx maybe-clean-stageautofeedback-target-libmpx
39254 maybe-all-stageautofeedback-target-libmpx:
39255 maybe-clean-stageautofeedback-target-libmpx:
39256 @if target-libmpx-bootstrap
39257 maybe-all-stageautofeedback-target-libmpx: all-stageautofeedback-target-libmpx
39258 all-stageautofeedback: all-stageautofeedback-target-libmpx
39259 TARGET-stageautofeedback-target-libmpx = $(TARGET-target-libmpx)
39260 all-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
39261 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39262 @r=`${PWD_COMMAND}`; export r; \
39263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39264 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39265 $(NORMAL_TARGET_EXPORTS) \
39267 cd $(TARGET_SUBDIR)/libmpx && \
39269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39270 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39271 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39272 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39276 $(EXTRA_TARGET_FLAGS) \
39277 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39278 $(TARGET-stageautofeedback-target-libmpx)
39280 maybe-clean-stageautofeedback-target-libmpx: clean-stageautofeedback-target-libmpx
39281 clean-stageautofeedback: clean-stageautofeedback-target-libmpx
39282 clean-stageautofeedback-target-libmpx:
39283 @if [ $(current_stage) = stageautofeedback ]; then \
39284 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39285 else \
39286 [ -f $(TARGET_SUBDIR)/stageautofeedback-libmpx/Makefile ] || exit 0; \
39287 $(MAKE) stageautofeedback-start; \
39288 fi; \
39289 cd $(TARGET_SUBDIR)/libmpx && \
39290 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39291 @endif target-libmpx-bootstrap
39298 .PHONY: check-target-libmpx maybe-check-target-libmpx
39299 maybe-check-target-libmpx:
39300 @if target-libmpx
39301 maybe-check-target-libmpx: check-target-libmpx
39303 check-target-libmpx:
39304 @: $(MAKE); $(unstage)
39305 @r=`${PWD_COMMAND}`; export r; \
39306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39307 $(NORMAL_TARGET_EXPORTS) \
39308 (cd $(TARGET_SUBDIR)/libmpx && \
39309 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39311 @endif target-libmpx
39313 .PHONY: install-target-libmpx maybe-install-target-libmpx
39314 maybe-install-target-libmpx:
39315 @if target-libmpx
39316 maybe-install-target-libmpx: install-target-libmpx
39318 install-target-libmpx: installdirs
39319 @: $(MAKE); $(unstage)
39320 @r=`${PWD_COMMAND}`; export r; \
39321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39322 $(NORMAL_TARGET_EXPORTS) \
39323 (cd $(TARGET_SUBDIR)/libmpx && \
39324 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39326 @endif target-libmpx
39328 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
39329 maybe-install-strip-target-libmpx:
39330 @if target-libmpx
39331 maybe-install-strip-target-libmpx: install-strip-target-libmpx
39333 install-strip-target-libmpx: installdirs
39334 @: $(MAKE); $(unstage)
39335 @r=`${PWD_COMMAND}`; export r; \
39336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39337 $(NORMAL_TARGET_EXPORTS) \
39338 (cd $(TARGET_SUBDIR)/libmpx && \
39339 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39341 @endif target-libmpx
39343 # Other targets (info, dvi, pdf, etc.)
39345 .PHONY: maybe-info-target-libmpx info-target-libmpx
39346 maybe-info-target-libmpx:
39347 @if target-libmpx
39348 maybe-info-target-libmpx: info-target-libmpx
39350 info-target-libmpx: \
39351 configure-target-libmpx
39352 @: $(MAKE); $(unstage)
39353 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39354 r=`${PWD_COMMAND}`; export r; \
39355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39356 $(NORMAL_TARGET_EXPORTS) \
39357 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
39358 for flag in $(EXTRA_TARGET_FLAGS); do \
39359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39360 done; \
39361 (cd $(TARGET_SUBDIR)/libmpx && \
39362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39364 "RANLIB=$${RANLIB}" \
39365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39366 info) \
39367 || exit 1
39369 @endif target-libmpx
39371 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
39372 maybe-dvi-target-libmpx:
39373 @if target-libmpx
39374 maybe-dvi-target-libmpx: dvi-target-libmpx
39376 dvi-target-libmpx: \
39377 configure-target-libmpx
39378 @: $(MAKE); $(unstage)
39379 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39380 r=`${PWD_COMMAND}`; export r; \
39381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39382 $(NORMAL_TARGET_EXPORTS) \
39383 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
39384 for flag in $(EXTRA_TARGET_FLAGS); do \
39385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39386 done; \
39387 (cd $(TARGET_SUBDIR)/libmpx && \
39388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39390 "RANLIB=$${RANLIB}" \
39391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39392 dvi) \
39393 || exit 1
39395 @endif target-libmpx
39397 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
39398 maybe-pdf-target-libmpx:
39399 @if target-libmpx
39400 maybe-pdf-target-libmpx: pdf-target-libmpx
39402 pdf-target-libmpx: \
39403 configure-target-libmpx
39404 @: $(MAKE); $(unstage)
39405 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39406 r=`${PWD_COMMAND}`; export r; \
39407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39408 $(NORMAL_TARGET_EXPORTS) \
39409 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
39410 for flag in $(EXTRA_TARGET_FLAGS); do \
39411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39412 done; \
39413 (cd $(TARGET_SUBDIR)/libmpx && \
39414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39416 "RANLIB=$${RANLIB}" \
39417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39418 pdf) \
39419 || exit 1
39421 @endif target-libmpx
39423 .PHONY: maybe-html-target-libmpx html-target-libmpx
39424 maybe-html-target-libmpx:
39425 @if target-libmpx
39426 maybe-html-target-libmpx: html-target-libmpx
39428 html-target-libmpx: \
39429 configure-target-libmpx
39430 @: $(MAKE); $(unstage)
39431 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39432 r=`${PWD_COMMAND}`; export r; \
39433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39434 $(NORMAL_TARGET_EXPORTS) \
39435 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
39436 for flag in $(EXTRA_TARGET_FLAGS); do \
39437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39438 done; \
39439 (cd $(TARGET_SUBDIR)/libmpx && \
39440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39442 "RANLIB=$${RANLIB}" \
39443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39444 html) \
39445 || exit 1
39447 @endif target-libmpx
39449 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
39450 maybe-TAGS-target-libmpx:
39451 @if target-libmpx
39452 maybe-TAGS-target-libmpx: TAGS-target-libmpx
39454 TAGS-target-libmpx: \
39455 configure-target-libmpx
39456 @: $(MAKE); $(unstage)
39457 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39458 r=`${PWD_COMMAND}`; export r; \
39459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39460 $(NORMAL_TARGET_EXPORTS) \
39461 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
39462 for flag in $(EXTRA_TARGET_FLAGS); do \
39463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39464 done; \
39465 (cd $(TARGET_SUBDIR)/libmpx && \
39466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39468 "RANLIB=$${RANLIB}" \
39469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39470 TAGS) \
39471 || exit 1
39473 @endif target-libmpx
39475 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
39476 maybe-install-info-target-libmpx:
39477 @if target-libmpx
39478 maybe-install-info-target-libmpx: install-info-target-libmpx
39480 install-info-target-libmpx: \
39481 configure-target-libmpx \
39482 info-target-libmpx
39483 @: $(MAKE); $(unstage)
39484 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39485 r=`${PWD_COMMAND}`; export r; \
39486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39487 $(NORMAL_TARGET_EXPORTS) \
39488 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
39489 for flag in $(EXTRA_TARGET_FLAGS); do \
39490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39491 done; \
39492 (cd $(TARGET_SUBDIR)/libmpx && \
39493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39495 "RANLIB=$${RANLIB}" \
39496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39497 install-info) \
39498 || exit 1
39500 @endif target-libmpx
39502 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
39503 maybe-install-pdf-target-libmpx:
39504 @if target-libmpx
39505 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
39507 install-pdf-target-libmpx: \
39508 configure-target-libmpx \
39509 pdf-target-libmpx
39510 @: $(MAKE); $(unstage)
39511 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39512 r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 $(NORMAL_TARGET_EXPORTS) \
39515 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
39516 for flag in $(EXTRA_TARGET_FLAGS); do \
39517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39518 done; \
39519 (cd $(TARGET_SUBDIR)/libmpx && \
39520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39522 "RANLIB=$${RANLIB}" \
39523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39524 install-pdf) \
39525 || exit 1
39527 @endif target-libmpx
39529 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
39530 maybe-install-html-target-libmpx:
39531 @if target-libmpx
39532 maybe-install-html-target-libmpx: install-html-target-libmpx
39534 install-html-target-libmpx: \
39535 configure-target-libmpx \
39536 html-target-libmpx
39537 @: $(MAKE); $(unstage)
39538 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39539 r=`${PWD_COMMAND}`; export r; \
39540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39541 $(NORMAL_TARGET_EXPORTS) \
39542 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
39543 for flag in $(EXTRA_TARGET_FLAGS); do \
39544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39545 done; \
39546 (cd $(TARGET_SUBDIR)/libmpx && \
39547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39549 "RANLIB=$${RANLIB}" \
39550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39551 install-html) \
39552 || exit 1
39554 @endif target-libmpx
39556 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
39557 maybe-installcheck-target-libmpx:
39558 @if target-libmpx
39559 maybe-installcheck-target-libmpx: installcheck-target-libmpx
39561 installcheck-target-libmpx: \
39562 configure-target-libmpx
39563 @: $(MAKE); $(unstage)
39564 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39565 r=`${PWD_COMMAND}`; export r; \
39566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39567 $(NORMAL_TARGET_EXPORTS) \
39568 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
39569 for flag in $(EXTRA_TARGET_FLAGS); do \
39570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39571 done; \
39572 (cd $(TARGET_SUBDIR)/libmpx && \
39573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39575 "RANLIB=$${RANLIB}" \
39576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39577 installcheck) \
39578 || exit 1
39580 @endif target-libmpx
39582 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
39583 maybe-mostlyclean-target-libmpx:
39584 @if target-libmpx
39585 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
39587 mostlyclean-target-libmpx:
39588 @: $(MAKE); $(unstage)
39589 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39590 r=`${PWD_COMMAND}`; export r; \
39591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39592 $(NORMAL_TARGET_EXPORTS) \
39593 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
39594 for flag in $(EXTRA_TARGET_FLAGS); do \
39595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39596 done; \
39597 (cd $(TARGET_SUBDIR)/libmpx && \
39598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39600 "RANLIB=$${RANLIB}" \
39601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39602 mostlyclean) \
39603 || exit 1
39605 @endif target-libmpx
39607 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
39608 maybe-clean-target-libmpx:
39609 @if target-libmpx
39610 maybe-clean-target-libmpx: clean-target-libmpx
39612 clean-target-libmpx:
39613 @: $(MAKE); $(unstage)
39614 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39615 r=`${PWD_COMMAND}`; export r; \
39616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39617 $(NORMAL_TARGET_EXPORTS) \
39618 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
39619 for flag in $(EXTRA_TARGET_FLAGS); do \
39620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39621 done; \
39622 (cd $(TARGET_SUBDIR)/libmpx && \
39623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39625 "RANLIB=$${RANLIB}" \
39626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39627 clean) \
39628 || exit 1
39630 @endif target-libmpx
39632 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
39633 maybe-distclean-target-libmpx:
39634 @if target-libmpx
39635 maybe-distclean-target-libmpx: distclean-target-libmpx
39637 distclean-target-libmpx:
39638 @: $(MAKE); $(unstage)
39639 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39640 r=`${PWD_COMMAND}`; export r; \
39641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39642 $(NORMAL_TARGET_EXPORTS) \
39643 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
39644 for flag in $(EXTRA_TARGET_FLAGS); do \
39645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39646 done; \
39647 (cd $(TARGET_SUBDIR)/libmpx && \
39648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39650 "RANLIB=$${RANLIB}" \
39651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39652 distclean) \
39653 || exit 1
39655 @endif target-libmpx
39657 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
39658 maybe-maintainer-clean-target-libmpx:
39659 @if target-libmpx
39660 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
39662 maintainer-clean-target-libmpx:
39663 @: $(MAKE); $(unstage)
39664 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39665 r=`${PWD_COMMAND}`; export r; \
39666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39667 $(NORMAL_TARGET_EXPORTS) \
39668 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
39669 for flag in $(EXTRA_TARGET_FLAGS); do \
39670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39671 done; \
39672 (cd $(TARGET_SUBDIR)/libmpx && \
39673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39675 "RANLIB=$${RANLIB}" \
39676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39677 maintainer-clean) \
39678 || exit 1
39680 @endif target-libmpx
39686 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
39687 maybe-configure-target-libvtv:
39688 @if gcc-bootstrap
39689 configure-target-libvtv: stage_current
39690 @endif gcc-bootstrap
39691 @if target-libvtv
39692 maybe-configure-target-libvtv: configure-target-libvtv
39693 configure-target-libvtv:
39694 @r=`${PWD_COMMAND}`; export r; \
39695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39696 echo "Checking multilib configuration for libvtv..."; \
39697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39698 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39699 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39700 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39701 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39702 else \
39703 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39704 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39705 fi; \
39706 else \
39707 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39708 fi; \
39709 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39711 $(RAW_CXX_TARGET_EXPORTS) \
39712 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
39713 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
39714 case $(srcdir) in \
39715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39716 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39718 esac; \
39719 module_srcdir=libvtv; \
39720 rm -f no-such-file || : ; \
39721 CONFIG_SITE=no-such-file $(SHELL) \
39722 $$s/$$module_srcdir/configure \
39723 --srcdir=$${topdir}/$$module_srcdir \
39724 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39725 --target=${target_alias} \
39726 || exit 1
39727 @endif target-libvtv
39731 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
39732 maybe-configure-stage1-target-libvtv:
39733 @if target-libvtv-bootstrap
39734 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
39735 configure-stage1-target-libvtv:
39736 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39737 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39738 @r=`${PWD_COMMAND}`; export r; \
39739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39740 TFLAGS="$(STAGE1_TFLAGS)"; \
39741 echo "Checking multilib configuration for libvtv..."; \
39742 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39743 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39744 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39745 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39746 else \
39747 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39748 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39749 fi; \
39750 else \
39751 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39752 fi; \
39753 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39754 $(RAW_CXX_TARGET_EXPORTS) \
39755 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39756 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39757 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39758 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
39759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39760 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39761 case $(srcdir) in \
39762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39763 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39765 esac; \
39766 module_srcdir=libvtv; \
39767 $(SHELL) $$s/$$module_srcdir/configure \
39768 --srcdir=$${topdir}/$$module_srcdir \
39769 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39770 --target=${target_alias} \
39772 $(STAGE1_CONFIGURE_FLAGS)
39773 @endif target-libvtv-bootstrap
39775 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
39776 maybe-configure-stage2-target-libvtv:
39777 @if target-libvtv-bootstrap
39778 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
39779 configure-stage2-target-libvtv:
39780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39781 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39782 @r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 TFLAGS="$(STAGE2_TFLAGS)"; \
39785 echo "Checking multilib configuration for libvtv..."; \
39786 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39787 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39788 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39789 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39790 else \
39791 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39792 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39793 fi; \
39794 else \
39795 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39796 fi; \
39797 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39798 $(RAW_CXX_TARGET_EXPORTS) \
39800 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39801 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39802 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39803 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
39804 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39805 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39806 case $(srcdir) in \
39807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39808 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39810 esac; \
39811 module_srcdir=libvtv; \
39812 $(SHELL) $$s/$$module_srcdir/configure \
39813 --srcdir=$${topdir}/$$module_srcdir \
39814 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39815 --target=${target_alias} \
39816 --with-build-libsubdir=$(HOST_SUBDIR) \
39817 $(STAGE2_CONFIGURE_FLAGS)
39818 @endif target-libvtv-bootstrap
39820 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
39821 maybe-configure-stage3-target-libvtv:
39822 @if target-libvtv-bootstrap
39823 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
39824 configure-stage3-target-libvtv:
39825 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39826 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39827 @r=`${PWD_COMMAND}`; export r; \
39828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39829 TFLAGS="$(STAGE3_TFLAGS)"; \
39830 echo "Checking multilib configuration for libvtv..."; \
39831 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39832 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39833 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39834 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39835 else \
39836 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39837 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39838 fi; \
39839 else \
39840 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39841 fi; \
39842 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39843 $(RAW_CXX_TARGET_EXPORTS) \
39845 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39846 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39847 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39848 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
39849 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39850 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39851 case $(srcdir) in \
39852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39853 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39855 esac; \
39856 module_srcdir=libvtv; \
39857 $(SHELL) $$s/$$module_srcdir/configure \
39858 --srcdir=$${topdir}/$$module_srcdir \
39859 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39860 --target=${target_alias} \
39861 --with-build-libsubdir=$(HOST_SUBDIR) \
39862 $(STAGE3_CONFIGURE_FLAGS)
39863 @endif target-libvtv-bootstrap
39865 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
39866 maybe-configure-stage4-target-libvtv:
39867 @if target-libvtv-bootstrap
39868 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
39869 configure-stage4-target-libvtv:
39870 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39871 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39872 @r=`${PWD_COMMAND}`; export r; \
39873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39874 TFLAGS="$(STAGE4_TFLAGS)"; \
39875 echo "Checking multilib configuration for libvtv..."; \
39876 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39877 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39878 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39879 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39880 else \
39881 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39882 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39883 fi; \
39884 else \
39885 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39886 fi; \
39887 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39888 $(RAW_CXX_TARGET_EXPORTS) \
39890 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39891 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39892 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39893 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
39894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39895 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39896 case $(srcdir) in \
39897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39898 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39900 esac; \
39901 module_srcdir=libvtv; \
39902 $(SHELL) $$s/$$module_srcdir/configure \
39903 --srcdir=$${topdir}/$$module_srcdir \
39904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39905 --target=${target_alias} \
39906 --with-build-libsubdir=$(HOST_SUBDIR) \
39907 $(STAGE4_CONFIGURE_FLAGS)
39908 @endif target-libvtv-bootstrap
39910 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
39911 maybe-configure-stageprofile-target-libvtv:
39912 @if target-libvtv-bootstrap
39913 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
39914 configure-stageprofile-target-libvtv:
39915 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39916 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39917 @r=`${PWD_COMMAND}`; export r; \
39918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39919 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39920 echo "Checking multilib configuration for libvtv..."; \
39921 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39922 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39923 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39924 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39925 else \
39926 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39927 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39928 fi; \
39929 else \
39930 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39931 fi; \
39932 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39933 $(RAW_CXX_TARGET_EXPORTS) \
39935 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39936 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39937 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39938 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
39939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39940 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39941 case $(srcdir) in \
39942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39943 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39945 esac; \
39946 module_srcdir=libvtv; \
39947 $(SHELL) $$s/$$module_srcdir/configure \
39948 --srcdir=$${topdir}/$$module_srcdir \
39949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39950 --target=${target_alias} \
39951 --with-build-libsubdir=$(HOST_SUBDIR) \
39952 $(STAGEprofile_CONFIGURE_FLAGS)
39953 @endif target-libvtv-bootstrap
39955 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
39956 maybe-configure-stagefeedback-target-libvtv:
39957 @if target-libvtv-bootstrap
39958 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
39959 configure-stagefeedback-target-libvtv:
39960 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39961 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39962 @r=`${PWD_COMMAND}`; export r; \
39963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39964 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39965 echo "Checking multilib configuration for libvtv..."; \
39966 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39967 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39968 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39969 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39970 else \
39971 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39972 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39973 fi; \
39974 else \
39975 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39976 fi; \
39977 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39978 $(RAW_CXX_TARGET_EXPORTS) \
39980 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39981 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39982 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39983 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
39984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39985 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39986 case $(srcdir) in \
39987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39988 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39990 esac; \
39991 module_srcdir=libvtv; \
39992 $(SHELL) $$s/$$module_srcdir/configure \
39993 --srcdir=$${topdir}/$$module_srcdir \
39994 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39995 --target=${target_alias} \
39996 --with-build-libsubdir=$(HOST_SUBDIR) \
39997 $(STAGEfeedback_CONFIGURE_FLAGS)
39998 @endif target-libvtv-bootstrap
40000 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40001 maybe-configure-stageautoprofile-target-libvtv:
40002 @if target-libvtv-bootstrap
40003 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40004 configure-stageautoprofile-target-libvtv:
40005 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40006 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40007 @r=`${PWD_COMMAND}`; export r; \
40008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40009 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40010 echo "Checking multilib configuration for libvtv..."; \
40011 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40012 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40013 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40014 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40015 else \
40016 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40017 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40018 fi; \
40019 else \
40020 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40021 fi; \
40022 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40023 $(RAW_CXX_TARGET_EXPORTS) \
40025 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40026 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40027 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40028 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40030 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40031 case $(srcdir) in \
40032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40033 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40035 esac; \
40036 module_srcdir=libvtv; \
40037 $(SHELL) $$s/$$module_srcdir/configure \
40038 --srcdir=$${topdir}/$$module_srcdir \
40039 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40040 --target=${target_alias} \
40041 --with-build-libsubdir=$(HOST_SUBDIR) \
40042 $(STAGEautoprofile_CONFIGURE_FLAGS)
40043 @endif target-libvtv-bootstrap
40045 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40046 maybe-configure-stageautofeedback-target-libvtv:
40047 @if target-libvtv-bootstrap
40048 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40049 configure-stageautofeedback-target-libvtv:
40050 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40051 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40052 @r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40055 echo "Checking multilib configuration for libvtv..."; \
40056 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40057 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40058 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40059 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40060 else \
40061 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40062 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40063 fi; \
40064 else \
40065 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40066 fi; \
40067 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40068 $(RAW_CXX_TARGET_EXPORTS) \
40070 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40072 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40073 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40075 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40076 case $(srcdir) in \
40077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40078 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40080 esac; \
40081 module_srcdir=libvtv; \
40082 $(SHELL) $$s/$$module_srcdir/configure \
40083 --srcdir=$${topdir}/$$module_srcdir \
40084 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40085 --target=${target_alias} \
40086 --with-build-libsubdir=$(HOST_SUBDIR) \
40087 $(STAGEautofeedback_CONFIGURE_FLAGS)
40088 @endif target-libvtv-bootstrap
40094 .PHONY: all-target-libvtv maybe-all-target-libvtv
40095 maybe-all-target-libvtv:
40096 @if gcc-bootstrap
40097 all-target-libvtv: stage_current
40098 @endif gcc-bootstrap
40099 @if target-libvtv
40100 TARGET-target-libvtv=all
40101 maybe-all-target-libvtv: all-target-libvtv
40102 all-target-libvtv: configure-target-libvtv
40103 @r=`${PWD_COMMAND}`; export r; \
40104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40105 $(RAW_CXX_TARGET_EXPORTS) \
40106 (cd $(TARGET_SUBDIR)/libvtv && \
40107 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40108 $(TARGET-target-libvtv))
40109 @endif target-libvtv
40113 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40114 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40115 maybe-all-stage1-target-libvtv:
40116 maybe-clean-stage1-target-libvtv:
40117 @if target-libvtv-bootstrap
40118 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40119 all-stage1: all-stage1-target-libvtv
40120 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40121 all-stage1-target-libvtv: configure-stage1-target-libvtv
40122 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40123 @r=`${PWD_COMMAND}`; export r; \
40124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40125 TFLAGS="$(STAGE1_TFLAGS)"; \
40126 $(RAW_CXX_TARGET_EXPORTS) \
40127 cd $(TARGET_SUBDIR)/libvtv && \
40129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40130 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40131 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40132 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40136 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40138 TFLAGS="$(STAGE1_TFLAGS)" \
40139 $(TARGET-stage1-target-libvtv)
40141 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40142 clean-stage1: clean-stage1-target-libvtv
40143 clean-stage1-target-libvtv:
40144 @if [ $(current_stage) = stage1 ]; then \
40145 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40146 else \
40147 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40148 $(MAKE) stage1-start; \
40149 fi; \
40150 cd $(TARGET_SUBDIR)/libvtv && \
40151 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40152 clean
40153 @endif target-libvtv-bootstrap
40156 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40157 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40158 maybe-all-stage2-target-libvtv:
40159 maybe-clean-stage2-target-libvtv:
40160 @if target-libvtv-bootstrap
40161 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40162 all-stage2: all-stage2-target-libvtv
40163 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40164 all-stage2-target-libvtv: configure-stage2-target-libvtv
40165 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40166 @r=`${PWD_COMMAND}`; export r; \
40167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40168 TFLAGS="$(STAGE2_TFLAGS)"; \
40169 $(RAW_CXX_TARGET_EXPORTS) \
40171 cd $(TARGET_SUBDIR)/libvtv && \
40173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40174 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40175 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40176 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40177 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40178 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40179 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40180 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40181 TFLAGS="$(STAGE2_TFLAGS)" \
40182 $(TARGET-stage2-target-libvtv)
40184 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40185 clean-stage2: clean-stage2-target-libvtv
40186 clean-stage2-target-libvtv:
40187 @if [ $(current_stage) = stage2 ]; then \
40188 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40189 else \
40190 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40191 $(MAKE) stage2-start; \
40192 fi; \
40193 cd $(TARGET_SUBDIR)/libvtv && \
40194 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40195 @endif target-libvtv-bootstrap
40198 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40199 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40200 maybe-all-stage3-target-libvtv:
40201 maybe-clean-stage3-target-libvtv:
40202 @if target-libvtv-bootstrap
40203 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40204 all-stage3: all-stage3-target-libvtv
40205 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40206 all-stage3-target-libvtv: configure-stage3-target-libvtv
40207 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40208 @r=`${PWD_COMMAND}`; export r; \
40209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40210 TFLAGS="$(STAGE3_TFLAGS)"; \
40211 $(RAW_CXX_TARGET_EXPORTS) \
40213 cd $(TARGET_SUBDIR)/libvtv && \
40215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40216 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40222 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40223 TFLAGS="$(STAGE3_TFLAGS)" \
40224 $(TARGET-stage3-target-libvtv)
40226 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40227 clean-stage3: clean-stage3-target-libvtv
40228 clean-stage3-target-libvtv:
40229 @if [ $(current_stage) = stage3 ]; then \
40230 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40231 else \
40232 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40233 $(MAKE) stage3-start; \
40234 fi; \
40235 cd $(TARGET_SUBDIR)/libvtv && \
40236 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40237 @endif target-libvtv-bootstrap
40240 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40241 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40242 maybe-all-stage4-target-libvtv:
40243 maybe-clean-stage4-target-libvtv:
40244 @if target-libvtv-bootstrap
40245 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
40246 all-stage4: all-stage4-target-libvtv
40247 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
40248 all-stage4-target-libvtv: configure-stage4-target-libvtv
40249 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40250 @r=`${PWD_COMMAND}`; export r; \
40251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40252 TFLAGS="$(STAGE4_TFLAGS)"; \
40253 $(RAW_CXX_TARGET_EXPORTS) \
40255 cd $(TARGET_SUBDIR)/libvtv && \
40257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40258 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40259 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40260 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40264 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40265 TFLAGS="$(STAGE4_TFLAGS)" \
40266 $(TARGET-stage4-target-libvtv)
40268 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
40269 clean-stage4: clean-stage4-target-libvtv
40270 clean-stage4-target-libvtv:
40271 @if [ $(current_stage) = stage4 ]; then \
40272 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40273 else \
40274 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
40275 $(MAKE) stage4-start; \
40276 fi; \
40277 cd $(TARGET_SUBDIR)/libvtv && \
40278 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40279 @endif target-libvtv-bootstrap
40282 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
40283 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
40284 maybe-all-stageprofile-target-libvtv:
40285 maybe-clean-stageprofile-target-libvtv:
40286 @if target-libvtv-bootstrap
40287 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
40288 all-stageprofile: all-stageprofile-target-libvtv
40289 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
40290 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40291 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40292 @r=`${PWD_COMMAND}`; export r; \
40293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40294 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40295 $(RAW_CXX_TARGET_EXPORTS) \
40297 cd $(TARGET_SUBDIR)/libvtv && \
40299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40300 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40301 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40302 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40306 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40307 TFLAGS="$(STAGEprofile_TFLAGS)" \
40308 $(TARGET-stageprofile-target-libvtv)
40310 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
40311 clean-stageprofile: clean-stageprofile-target-libvtv
40312 clean-stageprofile-target-libvtv:
40313 @if [ $(current_stage) = stageprofile ]; then \
40314 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40315 else \
40316 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
40317 $(MAKE) stageprofile-start; \
40318 fi; \
40319 cd $(TARGET_SUBDIR)/libvtv && \
40320 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40321 @endif target-libvtv-bootstrap
40324 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
40325 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
40326 maybe-all-stagefeedback-target-libvtv:
40327 maybe-clean-stagefeedback-target-libvtv:
40328 @if target-libvtv-bootstrap
40329 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
40330 all-stagefeedback: all-stagefeedback-target-libvtv
40331 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
40332 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40334 @r=`${PWD_COMMAND}`; export r; \
40335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40336 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40337 $(RAW_CXX_TARGET_EXPORTS) \
40339 cd $(TARGET_SUBDIR)/libvtv && \
40341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40342 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40348 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40349 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40350 $(TARGET-stagefeedback-target-libvtv)
40352 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
40353 clean-stagefeedback: clean-stagefeedback-target-libvtv
40354 clean-stagefeedback-target-libvtv:
40355 @if [ $(current_stage) = stagefeedback ]; then \
40356 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40357 else \
40358 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
40359 $(MAKE) stagefeedback-start; \
40360 fi; \
40361 cd $(TARGET_SUBDIR)/libvtv && \
40362 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40363 @endif target-libvtv-bootstrap
40366 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
40367 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
40368 maybe-all-stageautoprofile-target-libvtv:
40369 maybe-clean-stageautoprofile-target-libvtv:
40370 @if target-libvtv-bootstrap
40371 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
40372 all-stageautoprofile: all-stageautoprofile-target-libvtv
40373 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
40374 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40375 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40376 @r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40379 $(RAW_CXX_TARGET_EXPORTS) \
40381 cd $(TARGET_SUBDIR)/libvtv && \
40382 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40384 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40385 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40386 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40390 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40391 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40392 $(TARGET-stageautoprofile-target-libvtv)
40394 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
40395 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
40396 clean-stageautoprofile-target-libvtv:
40397 @if [ $(current_stage) = stageautoprofile ]; then \
40398 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40399 else \
40400 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
40401 $(MAKE) stageautoprofile-start; \
40402 fi; \
40403 cd $(TARGET_SUBDIR)/libvtv && \
40404 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40405 @endif target-libvtv-bootstrap
40408 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
40409 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
40410 maybe-all-stageautofeedback-target-libvtv:
40411 maybe-clean-stageautofeedback-target-libvtv:
40412 @if target-libvtv-bootstrap
40413 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
40414 all-stageautofeedback: all-stageautofeedback-target-libvtv
40415 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
40416 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40417 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40418 @r=`${PWD_COMMAND}`; export r; \
40419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40420 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40421 $(RAW_CXX_TARGET_EXPORTS) \
40423 cd $(TARGET_SUBDIR)/libvtv && \
40425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40426 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40427 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40428 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40432 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40433 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40434 $(TARGET-stageautofeedback-target-libvtv)
40436 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
40437 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
40438 clean-stageautofeedback-target-libvtv:
40439 @if [ $(current_stage) = stageautofeedback ]; then \
40440 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40441 else \
40442 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
40443 $(MAKE) stageautofeedback-start; \
40444 fi; \
40445 cd $(TARGET_SUBDIR)/libvtv && \
40446 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40447 @endif target-libvtv-bootstrap
40454 .PHONY: check-target-libvtv maybe-check-target-libvtv
40455 maybe-check-target-libvtv:
40456 @if target-libvtv
40457 maybe-check-target-libvtv: check-target-libvtv
40459 check-target-libvtv:
40460 @: $(MAKE); $(unstage)
40461 @r=`${PWD_COMMAND}`; export r; \
40462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40463 $(RAW_CXX_TARGET_EXPORTS) \
40464 (cd $(TARGET_SUBDIR)/libvtv && \
40465 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40467 @endif target-libvtv
40469 .PHONY: install-target-libvtv maybe-install-target-libvtv
40470 maybe-install-target-libvtv:
40471 @if target-libvtv
40472 maybe-install-target-libvtv: install-target-libvtv
40474 install-target-libvtv: installdirs
40475 @: $(MAKE); $(unstage)
40476 @r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 $(RAW_CXX_TARGET_EXPORTS) \
40479 (cd $(TARGET_SUBDIR)/libvtv && \
40480 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40482 @endif target-libvtv
40484 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
40485 maybe-install-strip-target-libvtv:
40486 @if target-libvtv
40487 maybe-install-strip-target-libvtv: install-strip-target-libvtv
40489 install-strip-target-libvtv: installdirs
40490 @: $(MAKE); $(unstage)
40491 @r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 $(RAW_CXX_TARGET_EXPORTS) \
40494 (cd $(TARGET_SUBDIR)/libvtv && \
40495 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40497 @endif target-libvtv
40499 # Other targets (info, dvi, pdf, etc.)
40501 .PHONY: maybe-info-target-libvtv info-target-libvtv
40502 maybe-info-target-libvtv:
40503 @if target-libvtv
40504 maybe-info-target-libvtv: info-target-libvtv
40506 info-target-libvtv: \
40507 configure-target-libvtv
40508 @: $(MAKE); $(unstage)
40509 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40510 r=`${PWD_COMMAND}`; export r; \
40511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40512 $(RAW_CXX_TARGET_EXPORTS) \
40513 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
40514 for flag in $(EXTRA_TARGET_FLAGS); do \
40515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40516 done; \
40517 (cd $(TARGET_SUBDIR)/libvtv && \
40518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40520 "RANLIB=$${RANLIB}" \
40521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40522 info) \
40523 || exit 1
40525 @endif target-libvtv
40527 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
40528 maybe-dvi-target-libvtv:
40529 @if target-libvtv
40530 maybe-dvi-target-libvtv: dvi-target-libvtv
40532 dvi-target-libvtv: \
40533 configure-target-libvtv
40534 @: $(MAKE); $(unstage)
40535 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40536 r=`${PWD_COMMAND}`; export r; \
40537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40538 $(RAW_CXX_TARGET_EXPORTS) \
40539 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
40540 for flag in $(EXTRA_TARGET_FLAGS); do \
40541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40542 done; \
40543 (cd $(TARGET_SUBDIR)/libvtv && \
40544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40546 "RANLIB=$${RANLIB}" \
40547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40548 dvi) \
40549 || exit 1
40551 @endif target-libvtv
40553 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
40554 maybe-pdf-target-libvtv:
40555 @if target-libvtv
40556 maybe-pdf-target-libvtv: pdf-target-libvtv
40558 pdf-target-libvtv: \
40559 configure-target-libvtv
40560 @: $(MAKE); $(unstage)
40561 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40562 r=`${PWD_COMMAND}`; export r; \
40563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40564 $(RAW_CXX_TARGET_EXPORTS) \
40565 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
40566 for flag in $(EXTRA_TARGET_FLAGS); do \
40567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40568 done; \
40569 (cd $(TARGET_SUBDIR)/libvtv && \
40570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40572 "RANLIB=$${RANLIB}" \
40573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40574 pdf) \
40575 || exit 1
40577 @endif target-libvtv
40579 .PHONY: maybe-html-target-libvtv html-target-libvtv
40580 maybe-html-target-libvtv:
40581 @if target-libvtv
40582 maybe-html-target-libvtv: html-target-libvtv
40584 html-target-libvtv: \
40585 configure-target-libvtv
40586 @: $(MAKE); $(unstage)
40587 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40588 r=`${PWD_COMMAND}`; export r; \
40589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40590 $(RAW_CXX_TARGET_EXPORTS) \
40591 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
40592 for flag in $(EXTRA_TARGET_FLAGS); do \
40593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40594 done; \
40595 (cd $(TARGET_SUBDIR)/libvtv && \
40596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40598 "RANLIB=$${RANLIB}" \
40599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40600 html) \
40601 || exit 1
40603 @endif target-libvtv
40605 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
40606 maybe-TAGS-target-libvtv:
40607 @if target-libvtv
40608 maybe-TAGS-target-libvtv: TAGS-target-libvtv
40610 TAGS-target-libvtv: \
40611 configure-target-libvtv
40612 @: $(MAKE); $(unstage)
40613 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40614 r=`${PWD_COMMAND}`; export r; \
40615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40616 $(RAW_CXX_TARGET_EXPORTS) \
40617 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
40618 for flag in $(EXTRA_TARGET_FLAGS); do \
40619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40620 done; \
40621 (cd $(TARGET_SUBDIR)/libvtv && \
40622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40624 "RANLIB=$${RANLIB}" \
40625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40626 TAGS) \
40627 || exit 1
40629 @endif target-libvtv
40631 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
40632 maybe-install-info-target-libvtv:
40633 @if target-libvtv
40634 maybe-install-info-target-libvtv: install-info-target-libvtv
40636 install-info-target-libvtv: \
40637 configure-target-libvtv \
40638 info-target-libvtv
40639 @: $(MAKE); $(unstage)
40640 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40641 r=`${PWD_COMMAND}`; export r; \
40642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40643 $(RAW_CXX_TARGET_EXPORTS) \
40644 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
40645 for flag in $(EXTRA_TARGET_FLAGS); do \
40646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40647 done; \
40648 (cd $(TARGET_SUBDIR)/libvtv && \
40649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40651 "RANLIB=$${RANLIB}" \
40652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40653 install-info) \
40654 || exit 1
40656 @endif target-libvtv
40658 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
40659 maybe-install-pdf-target-libvtv:
40660 @if target-libvtv
40661 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
40663 install-pdf-target-libvtv: \
40664 configure-target-libvtv \
40665 pdf-target-libvtv
40666 @: $(MAKE); $(unstage)
40667 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40668 r=`${PWD_COMMAND}`; export r; \
40669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40670 $(RAW_CXX_TARGET_EXPORTS) \
40671 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
40672 for flag in $(EXTRA_TARGET_FLAGS); do \
40673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40674 done; \
40675 (cd $(TARGET_SUBDIR)/libvtv && \
40676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40678 "RANLIB=$${RANLIB}" \
40679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40680 install-pdf) \
40681 || exit 1
40683 @endif target-libvtv
40685 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
40686 maybe-install-html-target-libvtv:
40687 @if target-libvtv
40688 maybe-install-html-target-libvtv: install-html-target-libvtv
40690 install-html-target-libvtv: \
40691 configure-target-libvtv \
40692 html-target-libvtv
40693 @: $(MAKE); $(unstage)
40694 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40695 r=`${PWD_COMMAND}`; export r; \
40696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40697 $(RAW_CXX_TARGET_EXPORTS) \
40698 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
40699 for flag in $(EXTRA_TARGET_FLAGS); do \
40700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40701 done; \
40702 (cd $(TARGET_SUBDIR)/libvtv && \
40703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40705 "RANLIB=$${RANLIB}" \
40706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40707 install-html) \
40708 || exit 1
40710 @endif target-libvtv
40712 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
40713 maybe-installcheck-target-libvtv:
40714 @if target-libvtv
40715 maybe-installcheck-target-libvtv: installcheck-target-libvtv
40717 installcheck-target-libvtv: \
40718 configure-target-libvtv
40719 @: $(MAKE); $(unstage)
40720 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40721 r=`${PWD_COMMAND}`; export r; \
40722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40723 $(RAW_CXX_TARGET_EXPORTS) \
40724 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
40725 for flag in $(EXTRA_TARGET_FLAGS); do \
40726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40727 done; \
40728 (cd $(TARGET_SUBDIR)/libvtv && \
40729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40731 "RANLIB=$${RANLIB}" \
40732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40733 installcheck) \
40734 || exit 1
40736 @endif target-libvtv
40738 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
40739 maybe-mostlyclean-target-libvtv:
40740 @if target-libvtv
40741 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
40743 mostlyclean-target-libvtv:
40744 @: $(MAKE); $(unstage)
40745 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40746 r=`${PWD_COMMAND}`; export r; \
40747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40748 $(RAW_CXX_TARGET_EXPORTS) \
40749 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
40750 for flag in $(EXTRA_TARGET_FLAGS); do \
40751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40752 done; \
40753 (cd $(TARGET_SUBDIR)/libvtv && \
40754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40756 "RANLIB=$${RANLIB}" \
40757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40758 mostlyclean) \
40759 || exit 1
40761 @endif target-libvtv
40763 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
40764 maybe-clean-target-libvtv:
40765 @if target-libvtv
40766 maybe-clean-target-libvtv: clean-target-libvtv
40768 clean-target-libvtv:
40769 @: $(MAKE); $(unstage)
40770 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40771 r=`${PWD_COMMAND}`; export r; \
40772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40773 $(RAW_CXX_TARGET_EXPORTS) \
40774 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
40775 for flag in $(EXTRA_TARGET_FLAGS); do \
40776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40777 done; \
40778 (cd $(TARGET_SUBDIR)/libvtv && \
40779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40781 "RANLIB=$${RANLIB}" \
40782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40783 clean) \
40784 || exit 1
40786 @endif target-libvtv
40788 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
40789 maybe-distclean-target-libvtv:
40790 @if target-libvtv
40791 maybe-distclean-target-libvtv: distclean-target-libvtv
40793 distclean-target-libvtv:
40794 @: $(MAKE); $(unstage)
40795 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40796 r=`${PWD_COMMAND}`; export r; \
40797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40798 $(RAW_CXX_TARGET_EXPORTS) \
40799 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
40800 for flag in $(EXTRA_TARGET_FLAGS); do \
40801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40802 done; \
40803 (cd $(TARGET_SUBDIR)/libvtv && \
40804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40806 "RANLIB=$${RANLIB}" \
40807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40808 distclean) \
40809 || exit 1
40811 @endif target-libvtv
40813 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
40814 maybe-maintainer-clean-target-libvtv:
40815 @if target-libvtv
40816 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
40818 maintainer-clean-target-libvtv:
40819 @: $(MAKE); $(unstage)
40820 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40821 r=`${PWD_COMMAND}`; export r; \
40822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40823 $(RAW_CXX_TARGET_EXPORTS) \
40824 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
40825 for flag in $(EXTRA_TARGET_FLAGS); do \
40826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40827 done; \
40828 (cd $(TARGET_SUBDIR)/libvtv && \
40829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40831 "RANLIB=$${RANLIB}" \
40832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40833 maintainer-clean) \
40834 || exit 1
40836 @endif target-libvtv
40842 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
40843 maybe-configure-target-libcilkrts:
40844 @if gcc-bootstrap
40845 configure-target-libcilkrts: stage_current
40846 @endif gcc-bootstrap
40847 @if target-libcilkrts
40848 maybe-configure-target-libcilkrts: configure-target-libcilkrts
40849 configure-target-libcilkrts:
40850 @: $(MAKE); $(unstage)
40851 @r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 echo "Checking multilib configuration for libcilkrts..."; \
40854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40855 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
40856 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40857 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40858 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
40859 else \
40860 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
40861 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40862 fi; \
40863 else \
40864 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40865 fi; \
40866 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
40867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40868 $(NORMAL_TARGET_EXPORTS) \
40869 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
40870 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
40871 case $(srcdir) in \
40872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40873 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
40874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40875 esac; \
40876 module_srcdir=libcilkrts; \
40877 rm -f no-such-file || : ; \
40878 CONFIG_SITE=no-such-file $(SHELL) \
40879 $$s/$$module_srcdir/configure \
40880 --srcdir=$${topdir}/$$module_srcdir \
40881 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40882 --target=${target_alias} \
40883 || exit 1
40884 @endif target-libcilkrts
40890 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
40891 maybe-all-target-libcilkrts:
40892 @if gcc-bootstrap
40893 all-target-libcilkrts: stage_current
40894 @endif gcc-bootstrap
40895 @if target-libcilkrts
40896 TARGET-target-libcilkrts=all
40897 maybe-all-target-libcilkrts: all-target-libcilkrts
40898 all-target-libcilkrts: configure-target-libcilkrts
40899 @: $(MAKE); $(unstage)
40900 @r=`${PWD_COMMAND}`; export r; \
40901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40902 $(NORMAL_TARGET_EXPORTS) \
40903 (cd $(TARGET_SUBDIR)/libcilkrts && \
40904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40905 $(TARGET-target-libcilkrts))
40906 @endif target-libcilkrts
40912 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
40913 maybe-check-target-libcilkrts:
40914 @if target-libcilkrts
40915 maybe-check-target-libcilkrts: check-target-libcilkrts
40917 check-target-libcilkrts:
40918 @: $(MAKE); $(unstage)
40919 @r=`${PWD_COMMAND}`; export r; \
40920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40921 $(NORMAL_TARGET_EXPORTS) \
40922 (cd $(TARGET_SUBDIR)/libcilkrts && \
40923 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40925 @endif target-libcilkrts
40927 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
40928 maybe-install-target-libcilkrts:
40929 @if target-libcilkrts
40930 maybe-install-target-libcilkrts: install-target-libcilkrts
40932 install-target-libcilkrts: installdirs
40933 @: $(MAKE); $(unstage)
40934 @r=`${PWD_COMMAND}`; export r; \
40935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40936 $(NORMAL_TARGET_EXPORTS) \
40937 (cd $(TARGET_SUBDIR)/libcilkrts && \
40938 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40940 @endif target-libcilkrts
40942 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
40943 maybe-install-strip-target-libcilkrts:
40944 @if target-libcilkrts
40945 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
40947 install-strip-target-libcilkrts: installdirs
40948 @: $(MAKE); $(unstage)
40949 @r=`${PWD_COMMAND}`; export r; \
40950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40951 $(NORMAL_TARGET_EXPORTS) \
40952 (cd $(TARGET_SUBDIR)/libcilkrts && \
40953 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40955 @endif target-libcilkrts
40957 # Other targets (info, dvi, pdf, etc.)
40959 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
40960 maybe-info-target-libcilkrts:
40961 @if target-libcilkrts
40962 maybe-info-target-libcilkrts: info-target-libcilkrts
40964 info-target-libcilkrts: \
40965 configure-target-libcilkrts
40966 @: $(MAKE); $(unstage)
40967 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
40968 r=`${PWD_COMMAND}`; export r; \
40969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40970 $(NORMAL_TARGET_EXPORTS) \
40971 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
40972 for flag in $(EXTRA_TARGET_FLAGS); do \
40973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40974 done; \
40975 (cd $(TARGET_SUBDIR)/libcilkrts && \
40976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40978 "RANLIB=$${RANLIB}" \
40979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40980 info) \
40981 || exit 1
40983 @endif target-libcilkrts
40985 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
40986 maybe-dvi-target-libcilkrts:
40987 @if target-libcilkrts
40988 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
40990 dvi-target-libcilkrts: \
40991 configure-target-libcilkrts
40992 @: $(MAKE); $(unstage)
40993 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
40994 r=`${PWD_COMMAND}`; export r; \
40995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40996 $(NORMAL_TARGET_EXPORTS) \
40997 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
40998 for flag in $(EXTRA_TARGET_FLAGS); do \
40999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41000 done; \
41001 (cd $(TARGET_SUBDIR)/libcilkrts && \
41002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41004 "RANLIB=$${RANLIB}" \
41005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41006 dvi) \
41007 || exit 1
41009 @endif target-libcilkrts
41011 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
41012 maybe-pdf-target-libcilkrts:
41013 @if target-libcilkrts
41014 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
41016 pdf-target-libcilkrts: \
41017 configure-target-libcilkrts
41018 @: $(MAKE); $(unstage)
41019 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41020 r=`${PWD_COMMAND}`; export r; \
41021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41022 $(NORMAL_TARGET_EXPORTS) \
41023 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41024 for flag in $(EXTRA_TARGET_FLAGS); do \
41025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41026 done; \
41027 (cd $(TARGET_SUBDIR)/libcilkrts && \
41028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41030 "RANLIB=$${RANLIB}" \
41031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41032 pdf) \
41033 || exit 1
41035 @endif target-libcilkrts
41037 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
41038 maybe-html-target-libcilkrts:
41039 @if target-libcilkrts
41040 maybe-html-target-libcilkrts: html-target-libcilkrts
41042 html-target-libcilkrts: \
41043 configure-target-libcilkrts
41044 @: $(MAKE); $(unstage)
41045 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41046 r=`${PWD_COMMAND}`; export r; \
41047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41048 $(NORMAL_TARGET_EXPORTS) \
41049 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
41050 for flag in $(EXTRA_TARGET_FLAGS); do \
41051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41052 done; \
41053 (cd $(TARGET_SUBDIR)/libcilkrts && \
41054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41056 "RANLIB=$${RANLIB}" \
41057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41058 html) \
41059 || exit 1
41061 @endif target-libcilkrts
41063 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
41064 maybe-TAGS-target-libcilkrts:
41065 @if target-libcilkrts
41066 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
41068 TAGS-target-libcilkrts: \
41069 configure-target-libcilkrts
41070 @: $(MAKE); $(unstage)
41071 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41072 r=`${PWD_COMMAND}`; export r; \
41073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41074 $(NORMAL_TARGET_EXPORTS) \
41075 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
41076 for flag in $(EXTRA_TARGET_FLAGS); do \
41077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41078 done; \
41079 (cd $(TARGET_SUBDIR)/libcilkrts && \
41080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41082 "RANLIB=$${RANLIB}" \
41083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41084 TAGS) \
41085 || exit 1
41087 @endif target-libcilkrts
41089 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
41090 maybe-install-info-target-libcilkrts:
41091 @if target-libcilkrts
41092 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
41094 install-info-target-libcilkrts: \
41095 configure-target-libcilkrts \
41096 info-target-libcilkrts
41097 @: $(MAKE); $(unstage)
41098 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41099 r=`${PWD_COMMAND}`; export r; \
41100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41101 $(NORMAL_TARGET_EXPORTS) \
41102 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
41103 for flag in $(EXTRA_TARGET_FLAGS); do \
41104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41105 done; \
41106 (cd $(TARGET_SUBDIR)/libcilkrts && \
41107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41109 "RANLIB=$${RANLIB}" \
41110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41111 install-info) \
41112 || exit 1
41114 @endif target-libcilkrts
41116 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
41117 maybe-install-pdf-target-libcilkrts:
41118 @if target-libcilkrts
41119 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
41121 install-pdf-target-libcilkrts: \
41122 configure-target-libcilkrts \
41123 pdf-target-libcilkrts
41124 @: $(MAKE); $(unstage)
41125 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41126 r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 $(NORMAL_TARGET_EXPORTS) \
41129 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41130 for flag in $(EXTRA_TARGET_FLAGS); do \
41131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41132 done; \
41133 (cd $(TARGET_SUBDIR)/libcilkrts && \
41134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41136 "RANLIB=$${RANLIB}" \
41137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41138 install-pdf) \
41139 || exit 1
41141 @endif target-libcilkrts
41143 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
41144 maybe-install-html-target-libcilkrts:
41145 @if target-libcilkrts
41146 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
41148 install-html-target-libcilkrts: \
41149 configure-target-libcilkrts \
41150 html-target-libcilkrts
41151 @: $(MAKE); $(unstage)
41152 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41153 r=`${PWD_COMMAND}`; export r; \
41154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41155 $(NORMAL_TARGET_EXPORTS) \
41156 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
41157 for flag in $(EXTRA_TARGET_FLAGS); do \
41158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41159 done; \
41160 (cd $(TARGET_SUBDIR)/libcilkrts && \
41161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41163 "RANLIB=$${RANLIB}" \
41164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41165 install-html) \
41166 || exit 1
41168 @endif target-libcilkrts
41170 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
41171 maybe-installcheck-target-libcilkrts:
41172 @if target-libcilkrts
41173 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
41175 installcheck-target-libcilkrts: \
41176 configure-target-libcilkrts
41177 @: $(MAKE); $(unstage)
41178 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41179 r=`${PWD_COMMAND}`; export r; \
41180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41181 $(NORMAL_TARGET_EXPORTS) \
41182 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
41183 for flag in $(EXTRA_TARGET_FLAGS); do \
41184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41185 done; \
41186 (cd $(TARGET_SUBDIR)/libcilkrts && \
41187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41189 "RANLIB=$${RANLIB}" \
41190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41191 installcheck) \
41192 || exit 1
41194 @endif target-libcilkrts
41196 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
41197 maybe-mostlyclean-target-libcilkrts:
41198 @if target-libcilkrts
41199 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
41201 mostlyclean-target-libcilkrts:
41202 @: $(MAKE); $(unstage)
41203 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41204 r=`${PWD_COMMAND}`; export r; \
41205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41206 $(NORMAL_TARGET_EXPORTS) \
41207 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
41208 for flag in $(EXTRA_TARGET_FLAGS); do \
41209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41210 done; \
41211 (cd $(TARGET_SUBDIR)/libcilkrts && \
41212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41214 "RANLIB=$${RANLIB}" \
41215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41216 mostlyclean) \
41217 || exit 1
41219 @endif target-libcilkrts
41221 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
41222 maybe-clean-target-libcilkrts:
41223 @if target-libcilkrts
41224 maybe-clean-target-libcilkrts: clean-target-libcilkrts
41226 clean-target-libcilkrts:
41227 @: $(MAKE); $(unstage)
41228 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41229 r=`${PWD_COMMAND}`; export r; \
41230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41231 $(NORMAL_TARGET_EXPORTS) \
41232 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
41233 for flag in $(EXTRA_TARGET_FLAGS); do \
41234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41235 done; \
41236 (cd $(TARGET_SUBDIR)/libcilkrts && \
41237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41239 "RANLIB=$${RANLIB}" \
41240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41241 clean) \
41242 || exit 1
41244 @endif target-libcilkrts
41246 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
41247 maybe-distclean-target-libcilkrts:
41248 @if target-libcilkrts
41249 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
41251 distclean-target-libcilkrts:
41252 @: $(MAKE); $(unstage)
41253 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41254 r=`${PWD_COMMAND}`; export r; \
41255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41256 $(NORMAL_TARGET_EXPORTS) \
41257 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
41258 for flag in $(EXTRA_TARGET_FLAGS); do \
41259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41260 done; \
41261 (cd $(TARGET_SUBDIR)/libcilkrts && \
41262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41264 "RANLIB=$${RANLIB}" \
41265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41266 distclean) \
41267 || exit 1
41269 @endif target-libcilkrts
41271 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
41272 maybe-maintainer-clean-target-libcilkrts:
41273 @if target-libcilkrts
41274 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
41276 maintainer-clean-target-libcilkrts:
41277 @: $(MAKE); $(unstage)
41278 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41279 r=`${PWD_COMMAND}`; export r; \
41280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41281 $(NORMAL_TARGET_EXPORTS) \
41282 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
41283 for flag in $(EXTRA_TARGET_FLAGS); do \
41284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41285 done; \
41286 (cd $(TARGET_SUBDIR)/libcilkrts && \
41287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41289 "RANLIB=$${RANLIB}" \
41290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41291 maintainer-clean) \
41292 || exit 1
41294 @endif target-libcilkrts
41300 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41301 maybe-configure-target-liboffloadmic:
41302 @if gcc-bootstrap
41303 configure-target-liboffloadmic: stage_current
41304 @endif gcc-bootstrap
41305 @if target-liboffloadmic
41306 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41307 configure-target-liboffloadmic:
41308 @: $(MAKE); $(unstage)
41309 @r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 echo "Checking multilib configuration for liboffloadmic..."; \
41312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41313 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41314 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41315 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41316 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41317 else \
41318 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41319 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41320 fi; \
41321 else \
41322 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41323 fi; \
41324 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41326 $(NORMAL_TARGET_EXPORTS) \
41327 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41328 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41329 case $(srcdir) in \
41330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41331 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41333 esac; \
41334 module_srcdir=liboffloadmic; \
41335 rm -f no-such-file || : ; \
41336 CONFIG_SITE=no-such-file $(SHELL) \
41337 $$s/$$module_srcdir/configure \
41338 --srcdir=$${topdir}/$$module_srcdir \
41339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41340 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41341 || exit 1
41342 @endif target-liboffloadmic
41348 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41349 maybe-all-target-liboffloadmic:
41350 @if gcc-bootstrap
41351 all-target-liboffloadmic: stage_current
41352 @endif gcc-bootstrap
41353 @if target-liboffloadmic
41354 TARGET-target-liboffloadmic=all
41355 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41356 all-target-liboffloadmic: configure-target-liboffloadmic
41357 @: $(MAKE); $(unstage)
41358 @r=`${PWD_COMMAND}`; export r; \
41359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41360 $(NORMAL_TARGET_EXPORTS) \
41361 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41363 $(TARGET-target-liboffloadmic))
41364 @endif target-liboffloadmic
41370 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41371 maybe-check-target-liboffloadmic:
41372 @if target-liboffloadmic
41373 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41375 check-target-liboffloadmic:
41376 @: $(MAKE); $(unstage)
41377 @r=`${PWD_COMMAND}`; export r; \
41378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41379 $(NORMAL_TARGET_EXPORTS) \
41380 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41381 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41383 @endif target-liboffloadmic
41385 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41386 maybe-install-target-liboffloadmic:
41387 @if target-liboffloadmic
41388 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41390 install-target-liboffloadmic: installdirs
41391 @: $(MAKE); $(unstage)
41392 @r=`${PWD_COMMAND}`; export r; \
41393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41394 $(NORMAL_TARGET_EXPORTS) \
41395 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41396 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41398 @endif target-liboffloadmic
41400 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41401 maybe-install-strip-target-liboffloadmic:
41402 @if target-liboffloadmic
41403 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41405 install-strip-target-liboffloadmic: installdirs
41406 @: $(MAKE); $(unstage)
41407 @r=`${PWD_COMMAND}`; export r; \
41408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41409 $(NORMAL_TARGET_EXPORTS) \
41410 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41413 @endif target-liboffloadmic
41415 # Other targets (info, dvi, pdf, etc.)
41417 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41418 maybe-info-target-liboffloadmic:
41419 @if target-liboffloadmic
41420 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41422 info-target-liboffloadmic: \
41423 configure-target-liboffloadmic
41424 @: $(MAKE); $(unstage)
41425 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41426 r=`${PWD_COMMAND}`; export r; \
41427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41428 $(NORMAL_TARGET_EXPORTS) \
41429 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41430 for flag in $(EXTRA_TARGET_FLAGS); do \
41431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41432 done; \
41433 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41436 "RANLIB=$${RANLIB}" \
41437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41438 info) \
41439 || exit 1
41441 @endif target-liboffloadmic
41443 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41444 maybe-dvi-target-liboffloadmic:
41445 @if target-liboffloadmic
41446 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41448 dvi-target-liboffloadmic: \
41449 configure-target-liboffloadmic
41450 @: $(MAKE); $(unstage)
41451 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41452 r=`${PWD_COMMAND}`; export r; \
41453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41454 $(NORMAL_TARGET_EXPORTS) \
41455 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41456 for flag in $(EXTRA_TARGET_FLAGS); do \
41457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41458 done; \
41459 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41462 "RANLIB=$${RANLIB}" \
41463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41464 dvi) \
41465 || exit 1
41467 @endif target-liboffloadmic
41469 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41470 maybe-pdf-target-liboffloadmic:
41471 @if target-liboffloadmic
41472 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41474 pdf-target-liboffloadmic: \
41475 configure-target-liboffloadmic
41476 @: $(MAKE); $(unstage)
41477 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41478 r=`${PWD_COMMAND}`; export r; \
41479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41480 $(NORMAL_TARGET_EXPORTS) \
41481 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41482 for flag in $(EXTRA_TARGET_FLAGS); do \
41483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41484 done; \
41485 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41488 "RANLIB=$${RANLIB}" \
41489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41490 pdf) \
41491 || exit 1
41493 @endif target-liboffloadmic
41495 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41496 maybe-html-target-liboffloadmic:
41497 @if target-liboffloadmic
41498 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41500 html-target-liboffloadmic: \
41501 configure-target-liboffloadmic
41502 @: $(MAKE); $(unstage)
41503 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41504 r=`${PWD_COMMAND}`; export r; \
41505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41506 $(NORMAL_TARGET_EXPORTS) \
41507 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41508 for flag in $(EXTRA_TARGET_FLAGS); do \
41509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41510 done; \
41511 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41514 "RANLIB=$${RANLIB}" \
41515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41516 html) \
41517 || exit 1
41519 @endif target-liboffloadmic
41521 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41522 maybe-TAGS-target-liboffloadmic:
41523 @if target-liboffloadmic
41524 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41526 TAGS-target-liboffloadmic: \
41527 configure-target-liboffloadmic
41528 @: $(MAKE); $(unstage)
41529 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41530 r=`${PWD_COMMAND}`; export r; \
41531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41532 $(NORMAL_TARGET_EXPORTS) \
41533 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41534 for flag in $(EXTRA_TARGET_FLAGS); do \
41535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41536 done; \
41537 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41540 "RANLIB=$${RANLIB}" \
41541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41542 TAGS) \
41543 || exit 1
41545 @endif target-liboffloadmic
41547 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41548 maybe-install-info-target-liboffloadmic:
41549 @if target-liboffloadmic
41550 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41552 install-info-target-liboffloadmic: \
41553 configure-target-liboffloadmic \
41554 info-target-liboffloadmic
41555 @: $(MAKE); $(unstage)
41556 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41557 r=`${PWD_COMMAND}`; export r; \
41558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41559 $(NORMAL_TARGET_EXPORTS) \
41560 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41561 for flag in $(EXTRA_TARGET_FLAGS); do \
41562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41563 done; \
41564 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41567 "RANLIB=$${RANLIB}" \
41568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41569 install-info) \
41570 || exit 1
41572 @endif target-liboffloadmic
41574 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41575 maybe-install-pdf-target-liboffloadmic:
41576 @if target-liboffloadmic
41577 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41579 install-pdf-target-liboffloadmic: \
41580 configure-target-liboffloadmic \
41581 pdf-target-liboffloadmic
41582 @: $(MAKE); $(unstage)
41583 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41584 r=`${PWD_COMMAND}`; export r; \
41585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41586 $(NORMAL_TARGET_EXPORTS) \
41587 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41588 for flag in $(EXTRA_TARGET_FLAGS); do \
41589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41590 done; \
41591 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41594 "RANLIB=$${RANLIB}" \
41595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41596 install-pdf) \
41597 || exit 1
41599 @endif target-liboffloadmic
41601 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41602 maybe-install-html-target-liboffloadmic:
41603 @if target-liboffloadmic
41604 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41606 install-html-target-liboffloadmic: \
41607 configure-target-liboffloadmic \
41608 html-target-liboffloadmic
41609 @: $(MAKE); $(unstage)
41610 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41611 r=`${PWD_COMMAND}`; export r; \
41612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41613 $(NORMAL_TARGET_EXPORTS) \
41614 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41615 for flag in $(EXTRA_TARGET_FLAGS); do \
41616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41617 done; \
41618 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41621 "RANLIB=$${RANLIB}" \
41622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41623 install-html) \
41624 || exit 1
41626 @endif target-liboffloadmic
41628 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41629 maybe-installcheck-target-liboffloadmic:
41630 @if target-liboffloadmic
41631 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41633 installcheck-target-liboffloadmic: \
41634 configure-target-liboffloadmic
41635 @: $(MAKE); $(unstage)
41636 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41637 r=`${PWD_COMMAND}`; export r; \
41638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41639 $(NORMAL_TARGET_EXPORTS) \
41640 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41641 for flag in $(EXTRA_TARGET_FLAGS); do \
41642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41643 done; \
41644 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41647 "RANLIB=$${RANLIB}" \
41648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41649 installcheck) \
41650 || exit 1
41652 @endif target-liboffloadmic
41654 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41655 maybe-mostlyclean-target-liboffloadmic:
41656 @if target-liboffloadmic
41657 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41659 mostlyclean-target-liboffloadmic:
41660 @: $(MAKE); $(unstage)
41661 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41662 r=`${PWD_COMMAND}`; export r; \
41663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41664 $(NORMAL_TARGET_EXPORTS) \
41665 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41666 for flag in $(EXTRA_TARGET_FLAGS); do \
41667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41668 done; \
41669 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41672 "RANLIB=$${RANLIB}" \
41673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41674 mostlyclean) \
41675 || exit 1
41677 @endif target-liboffloadmic
41679 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
41680 maybe-clean-target-liboffloadmic:
41681 @if target-liboffloadmic
41682 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
41684 clean-target-liboffloadmic:
41685 @: $(MAKE); $(unstage)
41686 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41687 r=`${PWD_COMMAND}`; export r; \
41688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41689 $(NORMAL_TARGET_EXPORTS) \
41690 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41691 for flag in $(EXTRA_TARGET_FLAGS); do \
41692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41693 done; \
41694 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41697 "RANLIB=$${RANLIB}" \
41698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41699 clean) \
41700 || exit 1
41702 @endif target-liboffloadmic
41704 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
41705 maybe-distclean-target-liboffloadmic:
41706 @if target-liboffloadmic
41707 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
41709 distclean-target-liboffloadmic:
41710 @: $(MAKE); $(unstage)
41711 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41712 r=`${PWD_COMMAND}`; export r; \
41713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41714 $(NORMAL_TARGET_EXPORTS) \
41715 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41716 for flag in $(EXTRA_TARGET_FLAGS); do \
41717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41718 done; \
41719 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41722 "RANLIB=$${RANLIB}" \
41723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41724 distclean) \
41725 || exit 1
41727 @endif target-liboffloadmic
41729 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
41730 maybe-maintainer-clean-target-liboffloadmic:
41731 @if target-liboffloadmic
41732 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
41734 maintainer-clean-target-liboffloadmic:
41735 @: $(MAKE); $(unstage)
41736 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41737 r=`${PWD_COMMAND}`; export r; \
41738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41739 $(NORMAL_TARGET_EXPORTS) \
41740 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41741 for flag in $(EXTRA_TARGET_FLAGS); do \
41742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41743 done; \
41744 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41747 "RANLIB=$${RANLIB}" \
41748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41749 maintainer-clean) \
41750 || exit 1
41752 @endif target-liboffloadmic
41758 .PHONY: configure-target-libssp maybe-configure-target-libssp
41759 maybe-configure-target-libssp:
41760 @if gcc-bootstrap
41761 configure-target-libssp: stage_current
41762 @endif gcc-bootstrap
41763 @if target-libssp
41764 maybe-configure-target-libssp: configure-target-libssp
41765 configure-target-libssp:
41766 @: $(MAKE); $(unstage)
41767 @r=`${PWD_COMMAND}`; export r; \
41768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41769 echo "Checking multilib configuration for libssp..."; \
41770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41771 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
41772 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
41773 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
41774 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
41775 else \
41776 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
41777 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41778 fi; \
41779 else \
41780 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41781 fi; \
41782 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
41783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41784 $(NORMAL_TARGET_EXPORTS) \
41785 echo Configuring in $(TARGET_SUBDIR)/libssp; \
41786 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
41787 case $(srcdir) in \
41788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41789 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
41790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41791 esac; \
41792 module_srcdir=libssp; \
41793 rm -f no-such-file || : ; \
41794 CONFIG_SITE=no-such-file $(SHELL) \
41795 $$s/$$module_srcdir/configure \
41796 --srcdir=$${topdir}/$$module_srcdir \
41797 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41798 --target=${target_alias} \
41799 || exit 1
41800 @endif target-libssp
41806 .PHONY: all-target-libssp maybe-all-target-libssp
41807 maybe-all-target-libssp:
41808 @if gcc-bootstrap
41809 all-target-libssp: stage_current
41810 @endif gcc-bootstrap
41811 @if target-libssp
41812 TARGET-target-libssp=all
41813 maybe-all-target-libssp: all-target-libssp
41814 all-target-libssp: configure-target-libssp
41815 @: $(MAKE); $(unstage)
41816 @r=`${PWD_COMMAND}`; export r; \
41817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41818 $(NORMAL_TARGET_EXPORTS) \
41819 (cd $(TARGET_SUBDIR)/libssp && \
41820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41821 $(TARGET-target-libssp))
41822 @endif target-libssp
41828 .PHONY: check-target-libssp maybe-check-target-libssp
41829 maybe-check-target-libssp:
41830 @if target-libssp
41831 maybe-check-target-libssp: check-target-libssp
41833 check-target-libssp:
41834 @: $(MAKE); $(unstage)
41835 @r=`${PWD_COMMAND}`; export r; \
41836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41837 $(NORMAL_TARGET_EXPORTS) \
41838 (cd $(TARGET_SUBDIR)/libssp && \
41839 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41841 @endif target-libssp
41843 .PHONY: install-target-libssp maybe-install-target-libssp
41844 maybe-install-target-libssp:
41845 @if target-libssp
41846 maybe-install-target-libssp: install-target-libssp
41848 install-target-libssp: installdirs
41849 @: $(MAKE); $(unstage)
41850 @r=`${PWD_COMMAND}`; export r; \
41851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41852 $(NORMAL_TARGET_EXPORTS) \
41853 (cd $(TARGET_SUBDIR)/libssp && \
41854 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41856 @endif target-libssp
41858 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
41859 maybe-install-strip-target-libssp:
41860 @if target-libssp
41861 maybe-install-strip-target-libssp: install-strip-target-libssp
41863 install-strip-target-libssp: installdirs
41864 @: $(MAKE); $(unstage)
41865 @r=`${PWD_COMMAND}`; export r; \
41866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41867 $(NORMAL_TARGET_EXPORTS) \
41868 (cd $(TARGET_SUBDIR)/libssp && \
41869 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41871 @endif target-libssp
41873 # Other targets (info, dvi, pdf, etc.)
41875 .PHONY: maybe-info-target-libssp info-target-libssp
41876 maybe-info-target-libssp:
41877 @if target-libssp
41878 maybe-info-target-libssp: info-target-libssp
41880 info-target-libssp: \
41881 configure-target-libssp
41882 @: $(MAKE); $(unstage)
41883 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41884 r=`${PWD_COMMAND}`; export r; \
41885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41886 $(NORMAL_TARGET_EXPORTS) \
41887 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
41888 for flag in $(EXTRA_TARGET_FLAGS); do \
41889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41890 done; \
41891 (cd $(TARGET_SUBDIR)/libssp && \
41892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41894 "RANLIB=$${RANLIB}" \
41895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41896 info) \
41897 || exit 1
41899 @endif target-libssp
41901 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
41902 maybe-dvi-target-libssp:
41903 @if target-libssp
41904 maybe-dvi-target-libssp: dvi-target-libssp
41906 dvi-target-libssp: \
41907 configure-target-libssp
41908 @: $(MAKE); $(unstage)
41909 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41910 r=`${PWD_COMMAND}`; export r; \
41911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41912 $(NORMAL_TARGET_EXPORTS) \
41913 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
41914 for flag in $(EXTRA_TARGET_FLAGS); do \
41915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41916 done; \
41917 (cd $(TARGET_SUBDIR)/libssp && \
41918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41920 "RANLIB=$${RANLIB}" \
41921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41922 dvi) \
41923 || exit 1
41925 @endif target-libssp
41927 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
41928 maybe-pdf-target-libssp:
41929 @if target-libssp
41930 maybe-pdf-target-libssp: pdf-target-libssp
41932 pdf-target-libssp: \
41933 configure-target-libssp
41934 @: $(MAKE); $(unstage)
41935 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41936 r=`${PWD_COMMAND}`; export r; \
41937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41938 $(NORMAL_TARGET_EXPORTS) \
41939 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
41940 for flag in $(EXTRA_TARGET_FLAGS); do \
41941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41942 done; \
41943 (cd $(TARGET_SUBDIR)/libssp && \
41944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41946 "RANLIB=$${RANLIB}" \
41947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41948 pdf) \
41949 || exit 1
41951 @endif target-libssp
41953 .PHONY: maybe-html-target-libssp html-target-libssp
41954 maybe-html-target-libssp:
41955 @if target-libssp
41956 maybe-html-target-libssp: html-target-libssp
41958 html-target-libssp: \
41959 configure-target-libssp
41960 @: $(MAKE); $(unstage)
41961 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41962 r=`${PWD_COMMAND}`; export r; \
41963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41964 $(NORMAL_TARGET_EXPORTS) \
41965 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
41966 for flag in $(EXTRA_TARGET_FLAGS); do \
41967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41968 done; \
41969 (cd $(TARGET_SUBDIR)/libssp && \
41970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41972 "RANLIB=$${RANLIB}" \
41973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41974 html) \
41975 || exit 1
41977 @endif target-libssp
41979 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
41980 maybe-TAGS-target-libssp:
41981 @if target-libssp
41982 maybe-TAGS-target-libssp: TAGS-target-libssp
41984 TAGS-target-libssp: \
41985 configure-target-libssp
41986 @: $(MAKE); $(unstage)
41987 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41988 r=`${PWD_COMMAND}`; export r; \
41989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41990 $(NORMAL_TARGET_EXPORTS) \
41991 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
41992 for flag in $(EXTRA_TARGET_FLAGS); do \
41993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41994 done; \
41995 (cd $(TARGET_SUBDIR)/libssp && \
41996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41998 "RANLIB=$${RANLIB}" \
41999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42000 TAGS) \
42001 || exit 1
42003 @endif target-libssp
42005 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42006 maybe-install-info-target-libssp:
42007 @if target-libssp
42008 maybe-install-info-target-libssp: install-info-target-libssp
42010 install-info-target-libssp: \
42011 configure-target-libssp \
42012 info-target-libssp
42013 @: $(MAKE); $(unstage)
42014 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42015 r=`${PWD_COMMAND}`; export r; \
42016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42017 $(NORMAL_TARGET_EXPORTS) \
42018 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42019 for flag in $(EXTRA_TARGET_FLAGS); do \
42020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42021 done; \
42022 (cd $(TARGET_SUBDIR)/libssp && \
42023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42025 "RANLIB=$${RANLIB}" \
42026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42027 install-info) \
42028 || exit 1
42030 @endif target-libssp
42032 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42033 maybe-install-pdf-target-libssp:
42034 @if target-libssp
42035 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42037 install-pdf-target-libssp: \
42038 configure-target-libssp \
42039 pdf-target-libssp
42040 @: $(MAKE); $(unstage)
42041 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42042 r=`${PWD_COMMAND}`; export r; \
42043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42044 $(NORMAL_TARGET_EXPORTS) \
42045 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42046 for flag in $(EXTRA_TARGET_FLAGS); do \
42047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42048 done; \
42049 (cd $(TARGET_SUBDIR)/libssp && \
42050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42052 "RANLIB=$${RANLIB}" \
42053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42054 install-pdf) \
42055 || exit 1
42057 @endif target-libssp
42059 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42060 maybe-install-html-target-libssp:
42061 @if target-libssp
42062 maybe-install-html-target-libssp: install-html-target-libssp
42064 install-html-target-libssp: \
42065 configure-target-libssp \
42066 html-target-libssp
42067 @: $(MAKE); $(unstage)
42068 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42069 r=`${PWD_COMMAND}`; export r; \
42070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42071 $(NORMAL_TARGET_EXPORTS) \
42072 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42073 for flag in $(EXTRA_TARGET_FLAGS); do \
42074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42075 done; \
42076 (cd $(TARGET_SUBDIR)/libssp && \
42077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42079 "RANLIB=$${RANLIB}" \
42080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42081 install-html) \
42082 || exit 1
42084 @endif target-libssp
42086 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42087 maybe-installcheck-target-libssp:
42088 @if target-libssp
42089 maybe-installcheck-target-libssp: installcheck-target-libssp
42091 installcheck-target-libssp: \
42092 configure-target-libssp
42093 @: $(MAKE); $(unstage)
42094 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42095 r=`${PWD_COMMAND}`; export r; \
42096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42097 $(NORMAL_TARGET_EXPORTS) \
42098 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42099 for flag in $(EXTRA_TARGET_FLAGS); do \
42100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42101 done; \
42102 (cd $(TARGET_SUBDIR)/libssp && \
42103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42105 "RANLIB=$${RANLIB}" \
42106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42107 installcheck) \
42108 || exit 1
42110 @endif target-libssp
42112 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42113 maybe-mostlyclean-target-libssp:
42114 @if target-libssp
42115 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42117 mostlyclean-target-libssp:
42118 @: $(MAKE); $(unstage)
42119 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42120 r=`${PWD_COMMAND}`; export r; \
42121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42122 $(NORMAL_TARGET_EXPORTS) \
42123 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42124 for flag in $(EXTRA_TARGET_FLAGS); do \
42125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42126 done; \
42127 (cd $(TARGET_SUBDIR)/libssp && \
42128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42130 "RANLIB=$${RANLIB}" \
42131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42132 mostlyclean) \
42133 || exit 1
42135 @endif target-libssp
42137 .PHONY: maybe-clean-target-libssp clean-target-libssp
42138 maybe-clean-target-libssp:
42139 @if target-libssp
42140 maybe-clean-target-libssp: clean-target-libssp
42142 clean-target-libssp:
42143 @: $(MAKE); $(unstage)
42144 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42145 r=`${PWD_COMMAND}`; export r; \
42146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42147 $(NORMAL_TARGET_EXPORTS) \
42148 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42149 for flag in $(EXTRA_TARGET_FLAGS); do \
42150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42151 done; \
42152 (cd $(TARGET_SUBDIR)/libssp && \
42153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42155 "RANLIB=$${RANLIB}" \
42156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42157 clean) \
42158 || exit 1
42160 @endif target-libssp
42162 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42163 maybe-distclean-target-libssp:
42164 @if target-libssp
42165 maybe-distclean-target-libssp: distclean-target-libssp
42167 distclean-target-libssp:
42168 @: $(MAKE); $(unstage)
42169 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42170 r=`${PWD_COMMAND}`; export r; \
42171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42172 $(NORMAL_TARGET_EXPORTS) \
42173 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42174 for flag in $(EXTRA_TARGET_FLAGS); do \
42175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42176 done; \
42177 (cd $(TARGET_SUBDIR)/libssp && \
42178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42180 "RANLIB=$${RANLIB}" \
42181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42182 distclean) \
42183 || exit 1
42185 @endif target-libssp
42187 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42188 maybe-maintainer-clean-target-libssp:
42189 @if target-libssp
42190 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42192 maintainer-clean-target-libssp:
42193 @: $(MAKE); $(unstage)
42194 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42195 r=`${PWD_COMMAND}`; export r; \
42196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42197 $(NORMAL_TARGET_EXPORTS) \
42198 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42199 for flag in $(EXTRA_TARGET_FLAGS); do \
42200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42201 done; \
42202 (cd $(TARGET_SUBDIR)/libssp && \
42203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42205 "RANLIB=$${RANLIB}" \
42206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42207 maintainer-clean) \
42208 || exit 1
42210 @endif target-libssp
42216 .PHONY: configure-target-newlib maybe-configure-target-newlib
42217 maybe-configure-target-newlib:
42218 @if gcc-bootstrap
42219 configure-target-newlib: stage_current
42220 @endif gcc-bootstrap
42221 @if target-newlib
42222 maybe-configure-target-newlib: configure-target-newlib
42223 configure-target-newlib:
42224 @: $(MAKE); $(unstage)
42225 @r=`${PWD_COMMAND}`; export r; \
42226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42227 echo "Checking multilib configuration for newlib..."; \
42228 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42230 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42231 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42232 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42233 else \
42234 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42235 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42236 fi; \
42237 else \
42238 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42239 fi; \
42240 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42242 $(NORMAL_TARGET_EXPORTS) \
42243 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42244 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42245 case $(srcdir) in \
42246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42247 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42249 esac; \
42250 module_srcdir=newlib; \
42251 rm -f no-such-file || : ; \
42252 CONFIG_SITE=no-such-file $(SHELL) \
42253 $$s/$$module_srcdir/configure \
42254 --srcdir=$${topdir}/$$module_srcdir \
42255 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42256 --target=${target_alias} \
42257 || exit 1
42258 @endif target-newlib
42264 .PHONY: all-target-newlib maybe-all-target-newlib
42265 maybe-all-target-newlib:
42266 @if gcc-bootstrap
42267 all-target-newlib: stage_current
42268 @endif gcc-bootstrap
42269 @if target-newlib
42270 TARGET-target-newlib=all
42271 maybe-all-target-newlib: all-target-newlib
42272 all-target-newlib: configure-target-newlib
42273 @: $(MAKE); $(unstage)
42274 @r=`${PWD_COMMAND}`; export r; \
42275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42276 $(NORMAL_TARGET_EXPORTS) \
42277 (cd $(TARGET_SUBDIR)/newlib && \
42278 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42279 $(TARGET-target-newlib))
42280 @endif target-newlib
42286 .PHONY: check-target-newlib maybe-check-target-newlib
42287 maybe-check-target-newlib:
42288 @if target-newlib
42289 maybe-check-target-newlib: check-target-newlib
42291 check-target-newlib:
42292 @: $(MAKE); $(unstage)
42293 @r=`${PWD_COMMAND}`; export r; \
42294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42295 $(NORMAL_TARGET_EXPORTS) \
42296 (cd $(TARGET_SUBDIR)/newlib && \
42297 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42299 @endif target-newlib
42301 .PHONY: install-target-newlib maybe-install-target-newlib
42302 maybe-install-target-newlib:
42303 @if target-newlib
42304 maybe-install-target-newlib: install-target-newlib
42306 install-target-newlib: installdirs
42307 @: $(MAKE); $(unstage)
42308 @r=`${PWD_COMMAND}`; export r; \
42309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42310 $(NORMAL_TARGET_EXPORTS) \
42311 (cd $(TARGET_SUBDIR)/newlib && \
42312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42314 @endif target-newlib
42316 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42317 maybe-install-strip-target-newlib:
42318 @if target-newlib
42319 maybe-install-strip-target-newlib: install-strip-target-newlib
42321 install-strip-target-newlib: installdirs
42322 @: $(MAKE); $(unstage)
42323 @r=`${PWD_COMMAND}`; export r; \
42324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42325 $(NORMAL_TARGET_EXPORTS) \
42326 (cd $(TARGET_SUBDIR)/newlib && \
42327 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42329 @endif target-newlib
42331 # Other targets (info, dvi, pdf, etc.)
42333 .PHONY: maybe-info-target-newlib info-target-newlib
42334 maybe-info-target-newlib:
42335 @if target-newlib
42336 maybe-info-target-newlib: info-target-newlib
42338 info-target-newlib: \
42339 configure-target-newlib
42340 @: $(MAKE); $(unstage)
42341 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42342 r=`${PWD_COMMAND}`; export r; \
42343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42344 $(NORMAL_TARGET_EXPORTS) \
42345 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42346 for flag in $(EXTRA_TARGET_FLAGS); do \
42347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42348 done; \
42349 (cd $(TARGET_SUBDIR)/newlib && \
42350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42352 "RANLIB=$${RANLIB}" \
42353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42354 info) \
42355 || exit 1
42357 @endif target-newlib
42359 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42360 maybe-dvi-target-newlib:
42361 @if target-newlib
42362 maybe-dvi-target-newlib: dvi-target-newlib
42364 dvi-target-newlib: \
42365 configure-target-newlib
42366 @: $(MAKE); $(unstage)
42367 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42368 r=`${PWD_COMMAND}`; export r; \
42369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42370 $(NORMAL_TARGET_EXPORTS) \
42371 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42372 for flag in $(EXTRA_TARGET_FLAGS); do \
42373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42374 done; \
42375 (cd $(TARGET_SUBDIR)/newlib && \
42376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42378 "RANLIB=$${RANLIB}" \
42379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42380 dvi) \
42381 || exit 1
42383 @endif target-newlib
42385 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42386 maybe-pdf-target-newlib:
42387 @if target-newlib
42388 maybe-pdf-target-newlib: pdf-target-newlib
42390 pdf-target-newlib: \
42391 configure-target-newlib
42392 @: $(MAKE); $(unstage)
42393 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42394 r=`${PWD_COMMAND}`; export r; \
42395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42396 $(NORMAL_TARGET_EXPORTS) \
42397 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42398 for flag in $(EXTRA_TARGET_FLAGS); do \
42399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42400 done; \
42401 (cd $(TARGET_SUBDIR)/newlib && \
42402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42404 "RANLIB=$${RANLIB}" \
42405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42406 pdf) \
42407 || exit 1
42409 @endif target-newlib
42411 .PHONY: maybe-html-target-newlib html-target-newlib
42412 maybe-html-target-newlib:
42413 @if target-newlib
42414 maybe-html-target-newlib: html-target-newlib
42416 html-target-newlib: \
42417 configure-target-newlib
42418 @: $(MAKE); $(unstage)
42419 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42420 r=`${PWD_COMMAND}`; export r; \
42421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42422 $(NORMAL_TARGET_EXPORTS) \
42423 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42424 for flag in $(EXTRA_TARGET_FLAGS); do \
42425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42426 done; \
42427 (cd $(TARGET_SUBDIR)/newlib && \
42428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42430 "RANLIB=$${RANLIB}" \
42431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42432 html) \
42433 || exit 1
42435 @endif target-newlib
42437 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42438 maybe-TAGS-target-newlib:
42439 @if target-newlib
42440 maybe-TAGS-target-newlib: TAGS-target-newlib
42442 TAGS-target-newlib: \
42443 configure-target-newlib
42444 @: $(MAKE); $(unstage)
42445 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42446 r=`${PWD_COMMAND}`; export r; \
42447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42448 $(NORMAL_TARGET_EXPORTS) \
42449 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42450 for flag in $(EXTRA_TARGET_FLAGS); do \
42451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42452 done; \
42453 (cd $(TARGET_SUBDIR)/newlib && \
42454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42456 "RANLIB=$${RANLIB}" \
42457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42458 TAGS) \
42459 || exit 1
42461 @endif target-newlib
42463 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42464 maybe-install-info-target-newlib:
42465 @if target-newlib
42466 maybe-install-info-target-newlib: install-info-target-newlib
42468 install-info-target-newlib: \
42469 configure-target-newlib \
42470 info-target-newlib
42471 @: $(MAKE); $(unstage)
42472 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42473 r=`${PWD_COMMAND}`; export r; \
42474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42475 $(NORMAL_TARGET_EXPORTS) \
42476 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42477 for flag in $(EXTRA_TARGET_FLAGS); do \
42478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42479 done; \
42480 (cd $(TARGET_SUBDIR)/newlib && \
42481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42483 "RANLIB=$${RANLIB}" \
42484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42485 install-info) \
42486 || exit 1
42488 @endif target-newlib
42490 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42491 maybe-install-pdf-target-newlib:
42492 @if target-newlib
42493 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42495 install-pdf-target-newlib: \
42496 configure-target-newlib \
42497 pdf-target-newlib
42498 @: $(MAKE); $(unstage)
42499 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42500 r=`${PWD_COMMAND}`; export r; \
42501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42502 $(NORMAL_TARGET_EXPORTS) \
42503 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42504 for flag in $(EXTRA_TARGET_FLAGS); do \
42505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42506 done; \
42507 (cd $(TARGET_SUBDIR)/newlib && \
42508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42510 "RANLIB=$${RANLIB}" \
42511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42512 install-pdf) \
42513 || exit 1
42515 @endif target-newlib
42517 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42518 maybe-install-html-target-newlib:
42519 @if target-newlib
42520 maybe-install-html-target-newlib: install-html-target-newlib
42522 install-html-target-newlib: \
42523 configure-target-newlib \
42524 html-target-newlib
42525 @: $(MAKE); $(unstage)
42526 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42527 r=`${PWD_COMMAND}`; export r; \
42528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42529 $(NORMAL_TARGET_EXPORTS) \
42530 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42531 for flag in $(EXTRA_TARGET_FLAGS); do \
42532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42533 done; \
42534 (cd $(TARGET_SUBDIR)/newlib && \
42535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42537 "RANLIB=$${RANLIB}" \
42538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42539 install-html) \
42540 || exit 1
42542 @endif target-newlib
42544 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42545 maybe-installcheck-target-newlib:
42546 @if target-newlib
42547 maybe-installcheck-target-newlib: installcheck-target-newlib
42549 installcheck-target-newlib: \
42550 configure-target-newlib
42551 @: $(MAKE); $(unstage)
42552 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42553 r=`${PWD_COMMAND}`; export r; \
42554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42555 $(NORMAL_TARGET_EXPORTS) \
42556 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42557 for flag in $(EXTRA_TARGET_FLAGS); do \
42558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42559 done; \
42560 (cd $(TARGET_SUBDIR)/newlib && \
42561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42563 "RANLIB=$${RANLIB}" \
42564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42565 installcheck) \
42566 || exit 1
42568 @endif target-newlib
42570 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42571 maybe-mostlyclean-target-newlib:
42572 @if target-newlib
42573 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42575 mostlyclean-target-newlib:
42576 @: $(MAKE); $(unstage)
42577 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42578 r=`${PWD_COMMAND}`; export r; \
42579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42580 $(NORMAL_TARGET_EXPORTS) \
42581 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42582 for flag in $(EXTRA_TARGET_FLAGS); do \
42583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42584 done; \
42585 (cd $(TARGET_SUBDIR)/newlib && \
42586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42588 "RANLIB=$${RANLIB}" \
42589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42590 mostlyclean) \
42591 || exit 1
42593 @endif target-newlib
42595 .PHONY: maybe-clean-target-newlib clean-target-newlib
42596 maybe-clean-target-newlib:
42597 @if target-newlib
42598 maybe-clean-target-newlib: clean-target-newlib
42600 clean-target-newlib:
42601 @: $(MAKE); $(unstage)
42602 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42603 r=`${PWD_COMMAND}`; export r; \
42604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42605 $(NORMAL_TARGET_EXPORTS) \
42606 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42607 for flag in $(EXTRA_TARGET_FLAGS); do \
42608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42609 done; \
42610 (cd $(TARGET_SUBDIR)/newlib && \
42611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42613 "RANLIB=$${RANLIB}" \
42614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42615 clean) \
42616 || exit 1
42618 @endif target-newlib
42620 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42621 maybe-distclean-target-newlib:
42622 @if target-newlib
42623 maybe-distclean-target-newlib: distclean-target-newlib
42625 distclean-target-newlib:
42626 @: $(MAKE); $(unstage)
42627 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42628 r=`${PWD_COMMAND}`; export r; \
42629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42630 $(NORMAL_TARGET_EXPORTS) \
42631 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42632 for flag in $(EXTRA_TARGET_FLAGS); do \
42633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42634 done; \
42635 (cd $(TARGET_SUBDIR)/newlib && \
42636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42638 "RANLIB=$${RANLIB}" \
42639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42640 distclean) \
42641 || exit 1
42643 @endif target-newlib
42645 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42646 maybe-maintainer-clean-target-newlib:
42647 @if target-newlib
42648 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42650 maintainer-clean-target-newlib:
42651 @: $(MAKE); $(unstage)
42652 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42653 r=`${PWD_COMMAND}`; export r; \
42654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42655 $(NORMAL_TARGET_EXPORTS) \
42656 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42657 for flag in $(EXTRA_TARGET_FLAGS); do \
42658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42659 done; \
42660 (cd $(TARGET_SUBDIR)/newlib && \
42661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42663 "RANLIB=$${RANLIB}" \
42664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42665 maintainer-clean) \
42666 || exit 1
42668 @endif target-newlib
42674 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
42675 maybe-configure-target-libgcc:
42676 @if gcc-bootstrap
42677 configure-target-libgcc: stage_current
42678 @endif gcc-bootstrap
42679 @if target-libgcc
42680 maybe-configure-target-libgcc: configure-target-libgcc
42681 configure-target-libgcc:
42682 @r=`${PWD_COMMAND}`; export r; \
42683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42684 echo "Checking multilib configuration for libgcc..."; \
42685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42686 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42687 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42688 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42689 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42690 else \
42691 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42692 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42693 fi; \
42694 else \
42695 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42696 fi; \
42697 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42699 $(NORMAL_TARGET_EXPORTS) \
42700 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
42701 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
42702 case $(srcdir) in \
42703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42704 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42706 esac; \
42707 module_srcdir=libgcc; \
42708 rm -f no-such-file || : ; \
42709 CONFIG_SITE=no-such-file $(SHELL) \
42710 $$s/$$module_srcdir/configure \
42711 --srcdir=$${topdir}/$$module_srcdir \
42712 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42713 --target=${target_alias} \
42714 || exit 1
42715 @endif target-libgcc
42719 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
42720 maybe-configure-stage1-target-libgcc:
42721 @if target-libgcc-bootstrap
42722 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
42723 configure-stage1-target-libgcc:
42724 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42725 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42726 @r=`${PWD_COMMAND}`; export r; \
42727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42728 TFLAGS="$(STAGE1_TFLAGS)"; \
42729 echo "Checking multilib configuration for libgcc..."; \
42730 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42731 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42732 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42733 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42734 else \
42735 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42736 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42737 fi; \
42738 else \
42739 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42740 fi; \
42741 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42742 $(NORMAL_TARGET_EXPORTS) \
42743 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42745 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42746 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
42747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42748 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42749 case $(srcdir) in \
42750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42751 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42753 esac; \
42754 module_srcdir=libgcc; \
42755 $(SHELL) $$s/$$module_srcdir/configure \
42756 --srcdir=$${topdir}/$$module_srcdir \
42757 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42758 --target=${target_alias} \
42760 $(STAGE1_CONFIGURE_FLAGS)
42761 @endif target-libgcc-bootstrap
42763 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
42764 maybe-configure-stage2-target-libgcc:
42765 @if target-libgcc-bootstrap
42766 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
42767 configure-stage2-target-libgcc:
42768 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42769 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42770 @r=`${PWD_COMMAND}`; export r; \
42771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42772 TFLAGS="$(STAGE2_TFLAGS)"; \
42773 echo "Checking multilib configuration for libgcc..."; \
42774 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42775 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42776 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42777 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42778 else \
42779 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42780 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42781 fi; \
42782 else \
42783 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42784 fi; \
42785 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42786 $(NORMAL_TARGET_EXPORTS) \
42788 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42791 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
42792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42793 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42794 case $(srcdir) in \
42795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42796 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42798 esac; \
42799 module_srcdir=libgcc; \
42800 $(SHELL) $$s/$$module_srcdir/configure \
42801 --srcdir=$${topdir}/$$module_srcdir \
42802 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42803 --target=${target_alias} \
42804 --with-build-libsubdir=$(HOST_SUBDIR) \
42805 $(STAGE2_CONFIGURE_FLAGS)
42806 @endif target-libgcc-bootstrap
42808 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
42809 maybe-configure-stage3-target-libgcc:
42810 @if target-libgcc-bootstrap
42811 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
42812 configure-stage3-target-libgcc:
42813 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42814 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42815 @r=`${PWD_COMMAND}`; export r; \
42816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42817 TFLAGS="$(STAGE3_TFLAGS)"; \
42818 echo "Checking multilib configuration for libgcc..."; \
42819 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42820 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42821 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42822 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42823 else \
42824 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42825 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42826 fi; \
42827 else \
42828 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42829 fi; \
42830 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42831 $(NORMAL_TARGET_EXPORTS) \
42833 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42834 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42835 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42836 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
42837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42838 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42839 case $(srcdir) in \
42840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42841 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42843 esac; \
42844 module_srcdir=libgcc; \
42845 $(SHELL) $$s/$$module_srcdir/configure \
42846 --srcdir=$${topdir}/$$module_srcdir \
42847 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42848 --target=${target_alias} \
42849 --with-build-libsubdir=$(HOST_SUBDIR) \
42850 $(STAGE3_CONFIGURE_FLAGS)
42851 @endif target-libgcc-bootstrap
42853 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
42854 maybe-configure-stage4-target-libgcc:
42855 @if target-libgcc-bootstrap
42856 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
42857 configure-stage4-target-libgcc:
42858 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42859 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42860 @r=`${PWD_COMMAND}`; export r; \
42861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42862 TFLAGS="$(STAGE4_TFLAGS)"; \
42863 echo "Checking multilib configuration for libgcc..."; \
42864 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42865 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42866 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42867 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42868 else \
42869 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42870 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42871 fi; \
42872 else \
42873 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42874 fi; \
42875 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42876 $(NORMAL_TARGET_EXPORTS) \
42878 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42879 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42880 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42881 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
42882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42883 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42884 case $(srcdir) in \
42885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42886 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42888 esac; \
42889 module_srcdir=libgcc; \
42890 $(SHELL) $$s/$$module_srcdir/configure \
42891 --srcdir=$${topdir}/$$module_srcdir \
42892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42893 --target=${target_alias} \
42894 --with-build-libsubdir=$(HOST_SUBDIR) \
42895 $(STAGE4_CONFIGURE_FLAGS)
42896 @endif target-libgcc-bootstrap
42898 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
42899 maybe-configure-stageprofile-target-libgcc:
42900 @if target-libgcc-bootstrap
42901 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
42902 configure-stageprofile-target-libgcc:
42903 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42904 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42905 @r=`${PWD_COMMAND}`; export r; \
42906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42907 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42908 echo "Checking multilib configuration for libgcc..."; \
42909 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42910 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42911 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42912 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42913 else \
42914 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42915 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42916 fi; \
42917 else \
42918 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42919 fi; \
42920 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42921 $(NORMAL_TARGET_EXPORTS) \
42923 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42924 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42925 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42926 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
42927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42928 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42929 case $(srcdir) in \
42930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42931 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42933 esac; \
42934 module_srcdir=libgcc; \
42935 $(SHELL) $$s/$$module_srcdir/configure \
42936 --srcdir=$${topdir}/$$module_srcdir \
42937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42938 --target=${target_alias} \
42939 --with-build-libsubdir=$(HOST_SUBDIR) \
42940 $(STAGEprofile_CONFIGURE_FLAGS)
42941 @endif target-libgcc-bootstrap
42943 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
42944 maybe-configure-stagefeedback-target-libgcc:
42945 @if target-libgcc-bootstrap
42946 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
42947 configure-stagefeedback-target-libgcc:
42948 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42949 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42950 @r=`${PWD_COMMAND}`; export r; \
42951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42952 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42953 echo "Checking multilib configuration for libgcc..."; \
42954 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42955 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42956 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42957 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42958 else \
42959 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42960 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42961 fi; \
42962 else \
42963 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42964 fi; \
42965 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42966 $(NORMAL_TARGET_EXPORTS) \
42968 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42969 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42970 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42971 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
42972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42973 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42974 case $(srcdir) in \
42975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42976 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42978 esac; \
42979 module_srcdir=libgcc; \
42980 $(SHELL) $$s/$$module_srcdir/configure \
42981 --srcdir=$${topdir}/$$module_srcdir \
42982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42983 --target=${target_alias} \
42984 --with-build-libsubdir=$(HOST_SUBDIR) \
42985 $(STAGEfeedback_CONFIGURE_FLAGS)
42986 @endif target-libgcc-bootstrap
42988 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
42989 maybe-configure-stageautoprofile-target-libgcc:
42990 @if target-libgcc-bootstrap
42991 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
42992 configure-stageautoprofile-target-libgcc:
42993 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42994 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42995 @r=`${PWD_COMMAND}`; export r; \
42996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42997 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42998 echo "Checking multilib configuration for libgcc..."; \
42999 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43000 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43001 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43002 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43003 else \
43004 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43005 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43006 fi; \
43007 else \
43008 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43009 fi; \
43010 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43011 $(NORMAL_TARGET_EXPORTS) \
43013 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43014 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43015 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43016 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43018 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43019 case $(srcdir) in \
43020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43021 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43023 esac; \
43024 module_srcdir=libgcc; \
43025 $(SHELL) $$s/$$module_srcdir/configure \
43026 --srcdir=$${topdir}/$$module_srcdir \
43027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43028 --target=${target_alias} \
43029 --with-build-libsubdir=$(HOST_SUBDIR) \
43030 $(STAGEautoprofile_CONFIGURE_FLAGS)
43031 @endif target-libgcc-bootstrap
43033 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43034 maybe-configure-stageautofeedback-target-libgcc:
43035 @if target-libgcc-bootstrap
43036 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43037 configure-stageautofeedback-target-libgcc:
43038 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43039 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43040 @r=`${PWD_COMMAND}`; export r; \
43041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43042 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43043 echo "Checking multilib configuration for libgcc..."; \
43044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43045 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43046 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43047 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43048 else \
43049 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43050 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43051 fi; \
43052 else \
43053 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43054 fi; \
43055 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43056 $(NORMAL_TARGET_EXPORTS) \
43058 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43059 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43060 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43061 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43063 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43064 case $(srcdir) in \
43065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43066 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43068 esac; \
43069 module_srcdir=libgcc; \
43070 $(SHELL) $$s/$$module_srcdir/configure \
43071 --srcdir=$${topdir}/$$module_srcdir \
43072 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43073 --target=${target_alias} \
43074 --with-build-libsubdir=$(HOST_SUBDIR) \
43075 $(STAGEautofeedback_CONFIGURE_FLAGS)
43076 @endif target-libgcc-bootstrap
43082 .PHONY: all-target-libgcc maybe-all-target-libgcc
43083 maybe-all-target-libgcc:
43084 @if gcc-bootstrap
43085 all-target-libgcc: stage_current
43086 @endif gcc-bootstrap
43087 @if target-libgcc
43088 TARGET-target-libgcc=all
43089 maybe-all-target-libgcc: all-target-libgcc
43090 all-target-libgcc: configure-target-libgcc
43091 @r=`${PWD_COMMAND}`; export r; \
43092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43093 $(NORMAL_TARGET_EXPORTS) \
43094 (cd $(TARGET_SUBDIR)/libgcc && \
43095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43096 $(TARGET-target-libgcc))
43097 @endif target-libgcc
43101 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43102 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43103 maybe-all-stage1-target-libgcc:
43104 maybe-clean-stage1-target-libgcc:
43105 @if target-libgcc-bootstrap
43106 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43107 all-stage1: all-stage1-target-libgcc
43108 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43109 all-stage1-target-libgcc: configure-stage1-target-libgcc
43110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43111 @r=`${PWD_COMMAND}`; export r; \
43112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43113 TFLAGS="$(STAGE1_TFLAGS)"; \
43114 $(NORMAL_TARGET_EXPORTS) \
43115 cd $(TARGET_SUBDIR)/libgcc && \
43117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43118 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43119 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43120 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43124 $(EXTRA_TARGET_FLAGS) \
43126 TFLAGS="$(STAGE1_TFLAGS)" \
43127 $(TARGET-stage1-target-libgcc)
43129 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43130 clean-stage1: clean-stage1-target-libgcc
43131 clean-stage1-target-libgcc:
43132 @if [ $(current_stage) = stage1 ]; then \
43133 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43134 else \
43135 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43136 $(MAKE) stage1-start; \
43137 fi; \
43138 cd $(TARGET_SUBDIR)/libgcc && \
43139 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43140 clean
43141 @endif target-libgcc-bootstrap
43144 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43145 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43146 maybe-all-stage2-target-libgcc:
43147 maybe-clean-stage2-target-libgcc:
43148 @if target-libgcc-bootstrap
43149 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43150 all-stage2: all-stage2-target-libgcc
43151 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43152 all-stage2-target-libgcc: configure-stage2-target-libgcc
43153 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43154 @r=`${PWD_COMMAND}`; export r; \
43155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43156 TFLAGS="$(STAGE2_TFLAGS)"; \
43157 $(NORMAL_TARGET_EXPORTS) \
43159 cd $(TARGET_SUBDIR)/libgcc && \
43161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43162 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43163 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43164 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43168 $(EXTRA_TARGET_FLAGS) \
43169 TFLAGS="$(STAGE2_TFLAGS)" \
43170 $(TARGET-stage2-target-libgcc)
43172 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43173 clean-stage2: clean-stage2-target-libgcc
43174 clean-stage2-target-libgcc:
43175 @if [ $(current_stage) = stage2 ]; then \
43176 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43177 else \
43178 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43179 $(MAKE) stage2-start; \
43180 fi; \
43181 cd $(TARGET_SUBDIR)/libgcc && \
43182 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43183 @endif target-libgcc-bootstrap
43186 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43187 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43188 maybe-all-stage3-target-libgcc:
43189 maybe-clean-stage3-target-libgcc:
43190 @if target-libgcc-bootstrap
43191 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43192 all-stage3: all-stage3-target-libgcc
43193 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43194 all-stage3-target-libgcc: configure-stage3-target-libgcc
43195 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43196 @r=`${PWD_COMMAND}`; export r; \
43197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43198 TFLAGS="$(STAGE3_TFLAGS)"; \
43199 $(NORMAL_TARGET_EXPORTS) \
43201 cd $(TARGET_SUBDIR)/libgcc && \
43203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43204 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43205 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43206 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43210 $(EXTRA_TARGET_FLAGS) \
43211 TFLAGS="$(STAGE3_TFLAGS)" \
43212 $(TARGET-stage3-target-libgcc)
43214 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43215 clean-stage3: clean-stage3-target-libgcc
43216 clean-stage3-target-libgcc:
43217 @if [ $(current_stage) = stage3 ]; then \
43218 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43219 else \
43220 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43221 $(MAKE) stage3-start; \
43222 fi; \
43223 cd $(TARGET_SUBDIR)/libgcc && \
43224 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43225 @endif target-libgcc-bootstrap
43228 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43229 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43230 maybe-all-stage4-target-libgcc:
43231 maybe-clean-stage4-target-libgcc:
43232 @if target-libgcc-bootstrap
43233 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43234 all-stage4: all-stage4-target-libgcc
43235 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43236 all-stage4-target-libgcc: configure-stage4-target-libgcc
43237 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43238 @r=`${PWD_COMMAND}`; export r; \
43239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43240 TFLAGS="$(STAGE4_TFLAGS)"; \
43241 $(NORMAL_TARGET_EXPORTS) \
43243 cd $(TARGET_SUBDIR)/libgcc && \
43245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43246 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43247 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43248 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43252 $(EXTRA_TARGET_FLAGS) \
43253 TFLAGS="$(STAGE4_TFLAGS)" \
43254 $(TARGET-stage4-target-libgcc)
43256 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43257 clean-stage4: clean-stage4-target-libgcc
43258 clean-stage4-target-libgcc:
43259 @if [ $(current_stage) = stage4 ]; then \
43260 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43261 else \
43262 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43263 $(MAKE) stage4-start; \
43264 fi; \
43265 cd $(TARGET_SUBDIR)/libgcc && \
43266 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43267 @endif target-libgcc-bootstrap
43270 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43271 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43272 maybe-all-stageprofile-target-libgcc:
43273 maybe-clean-stageprofile-target-libgcc:
43274 @if target-libgcc-bootstrap
43275 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43276 all-stageprofile: all-stageprofile-target-libgcc
43277 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43278 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43279 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43280 @r=`${PWD_COMMAND}`; export r; \
43281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43282 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43283 $(NORMAL_TARGET_EXPORTS) \
43285 cd $(TARGET_SUBDIR)/libgcc && \
43287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43288 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43294 $(EXTRA_TARGET_FLAGS) \
43295 TFLAGS="$(STAGEprofile_TFLAGS)" \
43296 $(TARGET-stageprofile-target-libgcc)
43298 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43299 clean-stageprofile: clean-stageprofile-target-libgcc
43300 clean-stageprofile-target-libgcc:
43301 @if [ $(current_stage) = stageprofile ]; then \
43302 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43303 else \
43304 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43305 $(MAKE) stageprofile-start; \
43306 fi; \
43307 cd $(TARGET_SUBDIR)/libgcc && \
43308 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43309 @endif target-libgcc-bootstrap
43312 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43313 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43314 maybe-all-stagefeedback-target-libgcc:
43315 maybe-clean-stagefeedback-target-libgcc:
43316 @if target-libgcc-bootstrap
43317 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43318 all-stagefeedback: all-stagefeedback-target-libgcc
43319 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43320 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43321 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43322 @r=`${PWD_COMMAND}`; export r; \
43323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43325 $(NORMAL_TARGET_EXPORTS) \
43327 cd $(TARGET_SUBDIR)/libgcc && \
43329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43330 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43331 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43332 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43336 $(EXTRA_TARGET_FLAGS) \
43337 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43338 $(TARGET-stagefeedback-target-libgcc)
43340 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43341 clean-stagefeedback: clean-stagefeedback-target-libgcc
43342 clean-stagefeedback-target-libgcc:
43343 @if [ $(current_stage) = stagefeedback ]; then \
43344 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43345 else \
43346 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43347 $(MAKE) stagefeedback-start; \
43348 fi; \
43349 cd $(TARGET_SUBDIR)/libgcc && \
43350 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43351 @endif target-libgcc-bootstrap
43354 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43355 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43356 maybe-all-stageautoprofile-target-libgcc:
43357 maybe-clean-stageautoprofile-target-libgcc:
43358 @if target-libgcc-bootstrap
43359 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43360 all-stageautoprofile: all-stageautoprofile-target-libgcc
43361 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43362 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43363 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43364 @r=`${PWD_COMMAND}`; export r; \
43365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43366 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43367 $(NORMAL_TARGET_EXPORTS) \
43369 cd $(TARGET_SUBDIR)/libgcc && \
43370 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43372 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43373 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43374 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43378 $(EXTRA_TARGET_FLAGS) \
43379 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43380 $(TARGET-stageautoprofile-target-libgcc)
43382 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43383 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43384 clean-stageautoprofile-target-libgcc:
43385 @if [ $(current_stage) = stageautoprofile ]; then \
43386 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43387 else \
43388 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43389 $(MAKE) stageautoprofile-start; \
43390 fi; \
43391 cd $(TARGET_SUBDIR)/libgcc && \
43392 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43393 @endif target-libgcc-bootstrap
43396 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43397 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43398 maybe-all-stageautofeedback-target-libgcc:
43399 maybe-clean-stageautofeedback-target-libgcc:
43400 @if target-libgcc-bootstrap
43401 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43402 all-stageautofeedback: all-stageautofeedback-target-libgcc
43403 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43404 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43405 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43406 @r=`${PWD_COMMAND}`; export r; \
43407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43408 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43409 $(NORMAL_TARGET_EXPORTS) \
43411 cd $(TARGET_SUBDIR)/libgcc && \
43413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43414 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43415 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43416 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43420 $(EXTRA_TARGET_FLAGS) \
43421 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43422 $(TARGET-stageautofeedback-target-libgcc)
43424 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43425 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43426 clean-stageautofeedback-target-libgcc:
43427 @if [ $(current_stage) = stageautofeedback ]; then \
43428 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43429 else \
43430 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43431 $(MAKE) stageautofeedback-start; \
43432 fi; \
43433 cd $(TARGET_SUBDIR)/libgcc && \
43434 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43435 @endif target-libgcc-bootstrap
43442 .PHONY: check-target-libgcc maybe-check-target-libgcc
43443 maybe-check-target-libgcc:
43444 @if target-libgcc
43445 maybe-check-target-libgcc: check-target-libgcc
43447 # Dummy target for uncheckable module.
43448 check-target-libgcc:
43450 @endif target-libgcc
43452 .PHONY: install-target-libgcc maybe-install-target-libgcc
43453 maybe-install-target-libgcc:
43454 @if target-libgcc
43455 maybe-install-target-libgcc: install-target-libgcc
43457 install-target-libgcc: installdirs
43458 @: $(MAKE); $(unstage)
43459 @r=`${PWD_COMMAND}`; export r; \
43460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43461 $(NORMAL_TARGET_EXPORTS) \
43462 (cd $(TARGET_SUBDIR)/libgcc && \
43463 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43465 @endif target-libgcc
43467 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43468 maybe-install-strip-target-libgcc:
43469 @if target-libgcc
43470 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43472 install-strip-target-libgcc: installdirs
43473 @: $(MAKE); $(unstage)
43474 @r=`${PWD_COMMAND}`; export r; \
43475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43476 $(NORMAL_TARGET_EXPORTS) \
43477 (cd $(TARGET_SUBDIR)/libgcc && \
43478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43480 @endif target-libgcc
43482 # Other targets (info, dvi, pdf, etc.)
43484 .PHONY: maybe-info-target-libgcc info-target-libgcc
43485 maybe-info-target-libgcc:
43486 @if target-libgcc
43487 maybe-info-target-libgcc: info-target-libgcc
43489 info-target-libgcc: \
43490 configure-target-libgcc
43491 @: $(MAKE); $(unstage)
43492 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43493 r=`${PWD_COMMAND}`; export r; \
43494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43495 $(NORMAL_TARGET_EXPORTS) \
43496 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43497 for flag in $(EXTRA_TARGET_FLAGS); do \
43498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43499 done; \
43500 (cd $(TARGET_SUBDIR)/libgcc && \
43501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43503 "RANLIB=$${RANLIB}" \
43504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43505 info) \
43506 || exit 1
43508 @endif target-libgcc
43510 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43511 maybe-dvi-target-libgcc:
43512 @if target-libgcc
43513 maybe-dvi-target-libgcc: dvi-target-libgcc
43515 dvi-target-libgcc: \
43516 configure-target-libgcc
43517 @: $(MAKE); $(unstage)
43518 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43519 r=`${PWD_COMMAND}`; export r; \
43520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43521 $(NORMAL_TARGET_EXPORTS) \
43522 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43523 for flag in $(EXTRA_TARGET_FLAGS); do \
43524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43525 done; \
43526 (cd $(TARGET_SUBDIR)/libgcc && \
43527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43529 "RANLIB=$${RANLIB}" \
43530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43531 dvi) \
43532 || exit 1
43534 @endif target-libgcc
43536 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43537 maybe-pdf-target-libgcc:
43538 @if target-libgcc
43539 maybe-pdf-target-libgcc: pdf-target-libgcc
43541 pdf-target-libgcc: \
43542 configure-target-libgcc
43543 @: $(MAKE); $(unstage)
43544 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43545 r=`${PWD_COMMAND}`; export r; \
43546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43547 $(NORMAL_TARGET_EXPORTS) \
43548 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43549 for flag in $(EXTRA_TARGET_FLAGS); do \
43550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43551 done; \
43552 (cd $(TARGET_SUBDIR)/libgcc && \
43553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43555 "RANLIB=$${RANLIB}" \
43556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43557 pdf) \
43558 || exit 1
43560 @endif target-libgcc
43562 .PHONY: maybe-html-target-libgcc html-target-libgcc
43563 maybe-html-target-libgcc:
43564 @if target-libgcc
43565 maybe-html-target-libgcc: html-target-libgcc
43567 html-target-libgcc: \
43568 configure-target-libgcc
43569 @: $(MAKE); $(unstage)
43570 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43571 r=`${PWD_COMMAND}`; export r; \
43572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43573 $(NORMAL_TARGET_EXPORTS) \
43574 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
43575 for flag in $(EXTRA_TARGET_FLAGS); do \
43576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43577 done; \
43578 (cd $(TARGET_SUBDIR)/libgcc && \
43579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43581 "RANLIB=$${RANLIB}" \
43582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43583 html) \
43584 || exit 1
43586 @endif target-libgcc
43588 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
43589 maybe-TAGS-target-libgcc:
43590 @if target-libgcc
43591 maybe-TAGS-target-libgcc: TAGS-target-libgcc
43593 TAGS-target-libgcc: \
43594 configure-target-libgcc
43595 @: $(MAKE); $(unstage)
43596 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43597 r=`${PWD_COMMAND}`; export r; \
43598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43599 $(NORMAL_TARGET_EXPORTS) \
43600 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
43601 for flag in $(EXTRA_TARGET_FLAGS); do \
43602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43603 done; \
43604 (cd $(TARGET_SUBDIR)/libgcc && \
43605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43607 "RANLIB=$${RANLIB}" \
43608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43609 TAGS) \
43610 || exit 1
43612 @endif target-libgcc
43614 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
43615 maybe-install-info-target-libgcc:
43616 @if target-libgcc
43617 maybe-install-info-target-libgcc: install-info-target-libgcc
43619 install-info-target-libgcc: \
43620 configure-target-libgcc \
43621 info-target-libgcc
43622 @: $(MAKE); $(unstage)
43623 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43624 r=`${PWD_COMMAND}`; export r; \
43625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43626 $(NORMAL_TARGET_EXPORTS) \
43627 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
43628 for flag in $(EXTRA_TARGET_FLAGS); do \
43629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43630 done; \
43631 (cd $(TARGET_SUBDIR)/libgcc && \
43632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43634 "RANLIB=$${RANLIB}" \
43635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43636 install-info) \
43637 || exit 1
43639 @endif target-libgcc
43641 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
43642 maybe-install-pdf-target-libgcc:
43643 @if target-libgcc
43644 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
43646 install-pdf-target-libgcc: \
43647 configure-target-libgcc \
43648 pdf-target-libgcc
43649 @: $(MAKE); $(unstage)
43650 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43651 r=`${PWD_COMMAND}`; export r; \
43652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43653 $(NORMAL_TARGET_EXPORTS) \
43654 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
43655 for flag in $(EXTRA_TARGET_FLAGS); do \
43656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43657 done; \
43658 (cd $(TARGET_SUBDIR)/libgcc && \
43659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43661 "RANLIB=$${RANLIB}" \
43662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43663 install-pdf) \
43664 || exit 1
43666 @endif target-libgcc
43668 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
43669 maybe-install-html-target-libgcc:
43670 @if target-libgcc
43671 maybe-install-html-target-libgcc: install-html-target-libgcc
43673 install-html-target-libgcc: \
43674 configure-target-libgcc \
43675 html-target-libgcc
43676 @: $(MAKE); $(unstage)
43677 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43678 r=`${PWD_COMMAND}`; export r; \
43679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43680 $(NORMAL_TARGET_EXPORTS) \
43681 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
43682 for flag in $(EXTRA_TARGET_FLAGS); do \
43683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43684 done; \
43685 (cd $(TARGET_SUBDIR)/libgcc && \
43686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43688 "RANLIB=$${RANLIB}" \
43689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43690 install-html) \
43691 || exit 1
43693 @endif target-libgcc
43695 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
43696 maybe-installcheck-target-libgcc:
43697 @if target-libgcc
43698 maybe-installcheck-target-libgcc: installcheck-target-libgcc
43700 installcheck-target-libgcc: \
43701 configure-target-libgcc
43702 @: $(MAKE); $(unstage)
43703 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43704 r=`${PWD_COMMAND}`; export r; \
43705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43706 $(NORMAL_TARGET_EXPORTS) \
43707 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
43708 for flag in $(EXTRA_TARGET_FLAGS); do \
43709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43710 done; \
43711 (cd $(TARGET_SUBDIR)/libgcc && \
43712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43714 "RANLIB=$${RANLIB}" \
43715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43716 installcheck) \
43717 || exit 1
43719 @endif target-libgcc
43721 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
43722 maybe-mostlyclean-target-libgcc:
43723 @if target-libgcc
43724 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
43726 mostlyclean-target-libgcc:
43727 @: $(MAKE); $(unstage)
43728 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43729 r=`${PWD_COMMAND}`; export r; \
43730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43731 $(NORMAL_TARGET_EXPORTS) \
43732 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
43733 for flag in $(EXTRA_TARGET_FLAGS); do \
43734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43735 done; \
43736 (cd $(TARGET_SUBDIR)/libgcc && \
43737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43739 "RANLIB=$${RANLIB}" \
43740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43741 mostlyclean) \
43742 || exit 1
43744 @endif target-libgcc
43746 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
43747 maybe-clean-target-libgcc:
43748 @if target-libgcc
43749 maybe-clean-target-libgcc: clean-target-libgcc
43751 clean-target-libgcc:
43752 @: $(MAKE); $(unstage)
43753 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43754 r=`${PWD_COMMAND}`; export r; \
43755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43756 $(NORMAL_TARGET_EXPORTS) \
43757 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
43758 for flag in $(EXTRA_TARGET_FLAGS); do \
43759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43760 done; \
43761 (cd $(TARGET_SUBDIR)/libgcc && \
43762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43764 "RANLIB=$${RANLIB}" \
43765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43766 clean) \
43767 || exit 1
43769 @endif target-libgcc
43771 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
43772 maybe-distclean-target-libgcc:
43773 @if target-libgcc
43774 maybe-distclean-target-libgcc: distclean-target-libgcc
43776 distclean-target-libgcc:
43777 @: $(MAKE); $(unstage)
43778 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43779 r=`${PWD_COMMAND}`; export r; \
43780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43781 $(NORMAL_TARGET_EXPORTS) \
43782 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
43783 for flag in $(EXTRA_TARGET_FLAGS); do \
43784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43785 done; \
43786 (cd $(TARGET_SUBDIR)/libgcc && \
43787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43789 "RANLIB=$${RANLIB}" \
43790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43791 distclean) \
43792 || exit 1
43794 @endif target-libgcc
43796 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
43797 maybe-maintainer-clean-target-libgcc:
43798 @if target-libgcc
43799 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
43801 maintainer-clean-target-libgcc:
43802 @: $(MAKE); $(unstage)
43803 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43804 r=`${PWD_COMMAND}`; export r; \
43805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43806 $(NORMAL_TARGET_EXPORTS) \
43807 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
43808 for flag in $(EXTRA_TARGET_FLAGS); do \
43809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43810 done; \
43811 (cd $(TARGET_SUBDIR)/libgcc && \
43812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43814 "RANLIB=$${RANLIB}" \
43815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43816 maintainer-clean) \
43817 || exit 1
43819 @endif target-libgcc
43825 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
43826 maybe-configure-target-libbacktrace:
43827 @if gcc-bootstrap
43828 configure-target-libbacktrace: stage_current
43829 @endif gcc-bootstrap
43830 @if target-libbacktrace
43831 maybe-configure-target-libbacktrace: configure-target-libbacktrace
43832 configure-target-libbacktrace:
43833 @: $(MAKE); $(unstage)
43834 @r=`${PWD_COMMAND}`; export r; \
43835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43836 echo "Checking multilib configuration for libbacktrace..."; \
43837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43838 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
43839 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43840 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43841 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
43842 else \
43843 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
43844 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43845 fi; \
43846 else \
43847 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43848 fi; \
43849 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
43850 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43851 $(NORMAL_TARGET_EXPORTS) \
43852 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
43853 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
43854 case $(srcdir) in \
43855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43856 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
43857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43858 esac; \
43859 module_srcdir=libbacktrace; \
43860 rm -f no-such-file || : ; \
43861 CONFIG_SITE=no-such-file $(SHELL) \
43862 $$s/$$module_srcdir/configure \
43863 --srcdir=$${topdir}/$$module_srcdir \
43864 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43865 --target=${target_alias} \
43866 || exit 1
43867 @endif target-libbacktrace
43873 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
43874 maybe-all-target-libbacktrace:
43875 @if gcc-bootstrap
43876 all-target-libbacktrace: stage_current
43877 @endif gcc-bootstrap
43878 @if target-libbacktrace
43879 TARGET-target-libbacktrace=all
43880 maybe-all-target-libbacktrace: all-target-libbacktrace
43881 all-target-libbacktrace: configure-target-libbacktrace
43882 @: $(MAKE); $(unstage)
43883 @r=`${PWD_COMMAND}`; export r; \
43884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43885 $(NORMAL_TARGET_EXPORTS) \
43886 (cd $(TARGET_SUBDIR)/libbacktrace && \
43887 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43888 $(TARGET-target-libbacktrace))
43889 @endif target-libbacktrace
43895 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
43896 maybe-check-target-libbacktrace:
43897 @if target-libbacktrace
43898 maybe-check-target-libbacktrace: check-target-libbacktrace
43900 check-target-libbacktrace:
43901 @: $(MAKE); $(unstage)
43902 @r=`${PWD_COMMAND}`; export r; \
43903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43904 $(NORMAL_TARGET_EXPORTS) \
43905 (cd $(TARGET_SUBDIR)/libbacktrace && \
43906 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43908 @endif target-libbacktrace
43910 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
43911 maybe-install-target-libbacktrace:
43912 @if target-libbacktrace
43913 maybe-install-target-libbacktrace: install-target-libbacktrace
43915 install-target-libbacktrace: installdirs
43916 @: $(MAKE); $(unstage)
43917 @r=`${PWD_COMMAND}`; export r; \
43918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43919 $(NORMAL_TARGET_EXPORTS) \
43920 (cd $(TARGET_SUBDIR)/libbacktrace && \
43921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43923 @endif target-libbacktrace
43925 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
43926 maybe-install-strip-target-libbacktrace:
43927 @if target-libbacktrace
43928 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
43930 install-strip-target-libbacktrace: installdirs
43931 @: $(MAKE); $(unstage)
43932 @r=`${PWD_COMMAND}`; export r; \
43933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43934 $(NORMAL_TARGET_EXPORTS) \
43935 (cd $(TARGET_SUBDIR)/libbacktrace && \
43936 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43938 @endif target-libbacktrace
43940 # Other targets (info, dvi, pdf, etc.)
43942 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
43943 maybe-info-target-libbacktrace:
43944 @if target-libbacktrace
43945 maybe-info-target-libbacktrace: info-target-libbacktrace
43947 info-target-libbacktrace: \
43948 configure-target-libbacktrace
43949 @: $(MAKE); $(unstage)
43950 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
43951 r=`${PWD_COMMAND}`; export r; \
43952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43953 $(NORMAL_TARGET_EXPORTS) \
43954 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
43955 for flag in $(EXTRA_TARGET_FLAGS); do \
43956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43957 done; \
43958 (cd $(TARGET_SUBDIR)/libbacktrace && \
43959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43961 "RANLIB=$${RANLIB}" \
43962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43963 info) \
43964 || exit 1
43966 @endif target-libbacktrace
43968 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
43969 maybe-dvi-target-libbacktrace:
43970 @if target-libbacktrace
43971 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
43973 dvi-target-libbacktrace: \
43974 configure-target-libbacktrace
43975 @: $(MAKE); $(unstage)
43976 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
43977 r=`${PWD_COMMAND}`; export r; \
43978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43979 $(NORMAL_TARGET_EXPORTS) \
43980 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
43981 for flag in $(EXTRA_TARGET_FLAGS); do \
43982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43983 done; \
43984 (cd $(TARGET_SUBDIR)/libbacktrace && \
43985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43987 "RANLIB=$${RANLIB}" \
43988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43989 dvi) \
43990 || exit 1
43992 @endif target-libbacktrace
43994 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
43995 maybe-pdf-target-libbacktrace:
43996 @if target-libbacktrace
43997 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
43999 pdf-target-libbacktrace: \
44000 configure-target-libbacktrace
44001 @: $(MAKE); $(unstage)
44002 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44003 r=`${PWD_COMMAND}`; export r; \
44004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44005 $(NORMAL_TARGET_EXPORTS) \
44006 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44007 for flag in $(EXTRA_TARGET_FLAGS); do \
44008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44009 done; \
44010 (cd $(TARGET_SUBDIR)/libbacktrace && \
44011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44013 "RANLIB=$${RANLIB}" \
44014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44015 pdf) \
44016 || exit 1
44018 @endif target-libbacktrace
44020 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44021 maybe-html-target-libbacktrace:
44022 @if target-libbacktrace
44023 maybe-html-target-libbacktrace: html-target-libbacktrace
44025 html-target-libbacktrace: \
44026 configure-target-libbacktrace
44027 @: $(MAKE); $(unstage)
44028 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44029 r=`${PWD_COMMAND}`; export r; \
44030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44031 $(NORMAL_TARGET_EXPORTS) \
44032 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44033 for flag in $(EXTRA_TARGET_FLAGS); do \
44034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44035 done; \
44036 (cd $(TARGET_SUBDIR)/libbacktrace && \
44037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44039 "RANLIB=$${RANLIB}" \
44040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44041 html) \
44042 || exit 1
44044 @endif target-libbacktrace
44046 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44047 maybe-TAGS-target-libbacktrace:
44048 @if target-libbacktrace
44049 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44051 TAGS-target-libbacktrace: \
44052 configure-target-libbacktrace
44053 @: $(MAKE); $(unstage)
44054 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44055 r=`${PWD_COMMAND}`; export r; \
44056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44057 $(NORMAL_TARGET_EXPORTS) \
44058 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44059 for flag in $(EXTRA_TARGET_FLAGS); do \
44060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44061 done; \
44062 (cd $(TARGET_SUBDIR)/libbacktrace && \
44063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44065 "RANLIB=$${RANLIB}" \
44066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44067 TAGS) \
44068 || exit 1
44070 @endif target-libbacktrace
44072 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44073 maybe-install-info-target-libbacktrace:
44074 @if target-libbacktrace
44075 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44077 install-info-target-libbacktrace: \
44078 configure-target-libbacktrace \
44079 info-target-libbacktrace
44080 @: $(MAKE); $(unstage)
44081 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44082 r=`${PWD_COMMAND}`; export r; \
44083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44084 $(NORMAL_TARGET_EXPORTS) \
44085 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44086 for flag in $(EXTRA_TARGET_FLAGS); do \
44087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44088 done; \
44089 (cd $(TARGET_SUBDIR)/libbacktrace && \
44090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44092 "RANLIB=$${RANLIB}" \
44093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44094 install-info) \
44095 || exit 1
44097 @endif target-libbacktrace
44099 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44100 maybe-install-pdf-target-libbacktrace:
44101 @if target-libbacktrace
44102 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44104 install-pdf-target-libbacktrace: \
44105 configure-target-libbacktrace \
44106 pdf-target-libbacktrace
44107 @: $(MAKE); $(unstage)
44108 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44109 r=`${PWD_COMMAND}`; export r; \
44110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44111 $(NORMAL_TARGET_EXPORTS) \
44112 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44113 for flag in $(EXTRA_TARGET_FLAGS); do \
44114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44115 done; \
44116 (cd $(TARGET_SUBDIR)/libbacktrace && \
44117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44119 "RANLIB=$${RANLIB}" \
44120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44121 install-pdf) \
44122 || exit 1
44124 @endif target-libbacktrace
44126 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44127 maybe-install-html-target-libbacktrace:
44128 @if target-libbacktrace
44129 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44131 install-html-target-libbacktrace: \
44132 configure-target-libbacktrace \
44133 html-target-libbacktrace
44134 @: $(MAKE); $(unstage)
44135 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44136 r=`${PWD_COMMAND}`; export r; \
44137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44138 $(NORMAL_TARGET_EXPORTS) \
44139 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44140 for flag in $(EXTRA_TARGET_FLAGS); do \
44141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44142 done; \
44143 (cd $(TARGET_SUBDIR)/libbacktrace && \
44144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44146 "RANLIB=$${RANLIB}" \
44147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44148 install-html) \
44149 || exit 1
44151 @endif target-libbacktrace
44153 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44154 maybe-installcheck-target-libbacktrace:
44155 @if target-libbacktrace
44156 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44158 installcheck-target-libbacktrace: \
44159 configure-target-libbacktrace
44160 @: $(MAKE); $(unstage)
44161 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44162 r=`${PWD_COMMAND}`; export r; \
44163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44164 $(NORMAL_TARGET_EXPORTS) \
44165 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44166 for flag in $(EXTRA_TARGET_FLAGS); do \
44167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44168 done; \
44169 (cd $(TARGET_SUBDIR)/libbacktrace && \
44170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44172 "RANLIB=$${RANLIB}" \
44173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44174 installcheck) \
44175 || exit 1
44177 @endif target-libbacktrace
44179 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44180 maybe-mostlyclean-target-libbacktrace:
44181 @if target-libbacktrace
44182 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44184 mostlyclean-target-libbacktrace:
44185 @: $(MAKE); $(unstage)
44186 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44187 r=`${PWD_COMMAND}`; export r; \
44188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44189 $(NORMAL_TARGET_EXPORTS) \
44190 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44191 for flag in $(EXTRA_TARGET_FLAGS); do \
44192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44193 done; \
44194 (cd $(TARGET_SUBDIR)/libbacktrace && \
44195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44197 "RANLIB=$${RANLIB}" \
44198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44199 mostlyclean) \
44200 || exit 1
44202 @endif target-libbacktrace
44204 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44205 maybe-clean-target-libbacktrace:
44206 @if target-libbacktrace
44207 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44209 clean-target-libbacktrace:
44210 @: $(MAKE); $(unstage)
44211 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44212 r=`${PWD_COMMAND}`; export r; \
44213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44214 $(NORMAL_TARGET_EXPORTS) \
44215 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44216 for flag in $(EXTRA_TARGET_FLAGS); do \
44217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44218 done; \
44219 (cd $(TARGET_SUBDIR)/libbacktrace && \
44220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44222 "RANLIB=$${RANLIB}" \
44223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44224 clean) \
44225 || exit 1
44227 @endif target-libbacktrace
44229 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44230 maybe-distclean-target-libbacktrace:
44231 @if target-libbacktrace
44232 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44234 distclean-target-libbacktrace:
44235 @: $(MAKE); $(unstage)
44236 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44237 r=`${PWD_COMMAND}`; export r; \
44238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44239 $(NORMAL_TARGET_EXPORTS) \
44240 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44241 for flag in $(EXTRA_TARGET_FLAGS); do \
44242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44243 done; \
44244 (cd $(TARGET_SUBDIR)/libbacktrace && \
44245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44247 "RANLIB=$${RANLIB}" \
44248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44249 distclean) \
44250 || exit 1
44252 @endif target-libbacktrace
44254 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44255 maybe-maintainer-clean-target-libbacktrace:
44256 @if target-libbacktrace
44257 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44259 maintainer-clean-target-libbacktrace:
44260 @: $(MAKE); $(unstage)
44261 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44262 r=`${PWD_COMMAND}`; export r; \
44263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44264 $(NORMAL_TARGET_EXPORTS) \
44265 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44266 for flag in $(EXTRA_TARGET_FLAGS); do \
44267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44268 done; \
44269 (cd $(TARGET_SUBDIR)/libbacktrace && \
44270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44272 "RANLIB=$${RANLIB}" \
44273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44274 maintainer-clean) \
44275 || exit 1
44277 @endif target-libbacktrace
44283 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44284 maybe-configure-target-libquadmath:
44285 @if gcc-bootstrap
44286 configure-target-libquadmath: stage_current
44287 @endif gcc-bootstrap
44288 @if target-libquadmath
44289 maybe-configure-target-libquadmath: configure-target-libquadmath
44290 configure-target-libquadmath:
44291 @: $(MAKE); $(unstage)
44292 @r=`${PWD_COMMAND}`; export r; \
44293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44294 echo "Checking multilib configuration for libquadmath..."; \
44295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44296 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44297 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44298 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44299 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44300 else \
44301 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44302 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44303 fi; \
44304 else \
44305 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44306 fi; \
44307 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44308 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44309 $(NORMAL_TARGET_EXPORTS) \
44310 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44311 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44312 case $(srcdir) in \
44313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44314 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44316 esac; \
44317 module_srcdir=libquadmath; \
44318 rm -f no-such-file || : ; \
44319 CONFIG_SITE=no-such-file $(SHELL) \
44320 $$s/$$module_srcdir/configure \
44321 --srcdir=$${topdir}/$$module_srcdir \
44322 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44323 --target=${target_alias} \
44324 || exit 1
44325 @endif target-libquadmath
44331 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44332 maybe-all-target-libquadmath:
44333 @if gcc-bootstrap
44334 all-target-libquadmath: stage_current
44335 @endif gcc-bootstrap
44336 @if target-libquadmath
44337 TARGET-target-libquadmath=all
44338 maybe-all-target-libquadmath: all-target-libquadmath
44339 all-target-libquadmath: configure-target-libquadmath
44340 @: $(MAKE); $(unstage)
44341 @r=`${PWD_COMMAND}`; export r; \
44342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44343 $(NORMAL_TARGET_EXPORTS) \
44344 (cd $(TARGET_SUBDIR)/libquadmath && \
44345 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44346 $(TARGET-target-libquadmath))
44347 @endif target-libquadmath
44353 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44354 maybe-check-target-libquadmath:
44355 @if target-libquadmath
44356 maybe-check-target-libquadmath: check-target-libquadmath
44358 check-target-libquadmath:
44359 @: $(MAKE); $(unstage)
44360 @r=`${PWD_COMMAND}`; export r; \
44361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44362 $(NORMAL_TARGET_EXPORTS) \
44363 (cd $(TARGET_SUBDIR)/libquadmath && \
44364 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44366 @endif target-libquadmath
44368 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44369 maybe-install-target-libquadmath:
44370 @if target-libquadmath
44371 maybe-install-target-libquadmath: install-target-libquadmath
44373 install-target-libquadmath: installdirs
44374 @: $(MAKE); $(unstage)
44375 @r=`${PWD_COMMAND}`; export r; \
44376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44377 $(NORMAL_TARGET_EXPORTS) \
44378 (cd $(TARGET_SUBDIR)/libquadmath && \
44379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44381 @endif target-libquadmath
44383 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44384 maybe-install-strip-target-libquadmath:
44385 @if target-libquadmath
44386 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44388 install-strip-target-libquadmath: installdirs
44389 @: $(MAKE); $(unstage)
44390 @r=`${PWD_COMMAND}`; export r; \
44391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44392 $(NORMAL_TARGET_EXPORTS) \
44393 (cd $(TARGET_SUBDIR)/libquadmath && \
44394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44396 @endif target-libquadmath
44398 # Other targets (info, dvi, pdf, etc.)
44400 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44401 maybe-info-target-libquadmath:
44402 @if target-libquadmath
44403 maybe-info-target-libquadmath: info-target-libquadmath
44405 info-target-libquadmath: \
44406 configure-target-libquadmath
44407 @: $(MAKE); $(unstage)
44408 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44409 r=`${PWD_COMMAND}`; export r; \
44410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44411 $(NORMAL_TARGET_EXPORTS) \
44412 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44413 for flag in $(EXTRA_TARGET_FLAGS); do \
44414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44415 done; \
44416 (cd $(TARGET_SUBDIR)/libquadmath && \
44417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44419 "RANLIB=$${RANLIB}" \
44420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44421 info) \
44422 || exit 1
44424 @endif target-libquadmath
44426 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44427 maybe-dvi-target-libquadmath:
44428 @if target-libquadmath
44429 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44431 dvi-target-libquadmath: \
44432 configure-target-libquadmath
44433 @: $(MAKE); $(unstage)
44434 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44435 r=`${PWD_COMMAND}`; export r; \
44436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44437 $(NORMAL_TARGET_EXPORTS) \
44438 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44439 for flag in $(EXTRA_TARGET_FLAGS); do \
44440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44441 done; \
44442 (cd $(TARGET_SUBDIR)/libquadmath && \
44443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44445 "RANLIB=$${RANLIB}" \
44446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44447 dvi) \
44448 || exit 1
44450 @endif target-libquadmath
44452 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44453 maybe-pdf-target-libquadmath:
44454 @if target-libquadmath
44455 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44457 pdf-target-libquadmath: \
44458 configure-target-libquadmath
44459 @: $(MAKE); $(unstage)
44460 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44461 r=`${PWD_COMMAND}`; export r; \
44462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44463 $(NORMAL_TARGET_EXPORTS) \
44464 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44465 for flag in $(EXTRA_TARGET_FLAGS); do \
44466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44467 done; \
44468 (cd $(TARGET_SUBDIR)/libquadmath && \
44469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44471 "RANLIB=$${RANLIB}" \
44472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44473 pdf) \
44474 || exit 1
44476 @endif target-libquadmath
44478 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44479 maybe-html-target-libquadmath:
44480 @if target-libquadmath
44481 maybe-html-target-libquadmath: html-target-libquadmath
44483 html-target-libquadmath: \
44484 configure-target-libquadmath
44485 @: $(MAKE); $(unstage)
44486 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44487 r=`${PWD_COMMAND}`; export r; \
44488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44489 $(NORMAL_TARGET_EXPORTS) \
44490 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44491 for flag in $(EXTRA_TARGET_FLAGS); do \
44492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44493 done; \
44494 (cd $(TARGET_SUBDIR)/libquadmath && \
44495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44497 "RANLIB=$${RANLIB}" \
44498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44499 html) \
44500 || exit 1
44502 @endif target-libquadmath
44504 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44505 maybe-TAGS-target-libquadmath:
44506 @if target-libquadmath
44507 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44509 TAGS-target-libquadmath: \
44510 configure-target-libquadmath
44511 @: $(MAKE); $(unstage)
44512 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44513 r=`${PWD_COMMAND}`; export r; \
44514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44515 $(NORMAL_TARGET_EXPORTS) \
44516 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44517 for flag in $(EXTRA_TARGET_FLAGS); do \
44518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44519 done; \
44520 (cd $(TARGET_SUBDIR)/libquadmath && \
44521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44523 "RANLIB=$${RANLIB}" \
44524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44525 TAGS) \
44526 || exit 1
44528 @endif target-libquadmath
44530 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44531 maybe-install-info-target-libquadmath:
44532 @if target-libquadmath
44533 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44535 install-info-target-libquadmath: \
44536 configure-target-libquadmath \
44537 info-target-libquadmath
44538 @: $(MAKE); $(unstage)
44539 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44540 r=`${PWD_COMMAND}`; export r; \
44541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44542 $(NORMAL_TARGET_EXPORTS) \
44543 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44544 for flag in $(EXTRA_TARGET_FLAGS); do \
44545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44546 done; \
44547 (cd $(TARGET_SUBDIR)/libquadmath && \
44548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44550 "RANLIB=$${RANLIB}" \
44551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44552 install-info) \
44553 || exit 1
44555 @endif target-libquadmath
44557 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44558 maybe-install-pdf-target-libquadmath:
44559 @if target-libquadmath
44560 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44562 install-pdf-target-libquadmath: \
44563 configure-target-libquadmath \
44564 pdf-target-libquadmath
44565 @: $(MAKE); $(unstage)
44566 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44567 r=`${PWD_COMMAND}`; export r; \
44568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44569 $(NORMAL_TARGET_EXPORTS) \
44570 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44571 for flag in $(EXTRA_TARGET_FLAGS); do \
44572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44573 done; \
44574 (cd $(TARGET_SUBDIR)/libquadmath && \
44575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44577 "RANLIB=$${RANLIB}" \
44578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44579 install-pdf) \
44580 || exit 1
44582 @endif target-libquadmath
44584 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
44585 maybe-install-html-target-libquadmath:
44586 @if target-libquadmath
44587 maybe-install-html-target-libquadmath: install-html-target-libquadmath
44589 install-html-target-libquadmath: \
44590 configure-target-libquadmath \
44591 html-target-libquadmath
44592 @: $(MAKE); $(unstage)
44593 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44594 r=`${PWD_COMMAND}`; export r; \
44595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44596 $(NORMAL_TARGET_EXPORTS) \
44597 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
44598 for flag in $(EXTRA_TARGET_FLAGS); do \
44599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44600 done; \
44601 (cd $(TARGET_SUBDIR)/libquadmath && \
44602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44604 "RANLIB=$${RANLIB}" \
44605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44606 install-html) \
44607 || exit 1
44609 @endif target-libquadmath
44611 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
44612 maybe-installcheck-target-libquadmath:
44613 @if target-libquadmath
44614 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
44616 installcheck-target-libquadmath: \
44617 configure-target-libquadmath
44618 @: $(MAKE); $(unstage)
44619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44620 r=`${PWD_COMMAND}`; export r; \
44621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44622 $(NORMAL_TARGET_EXPORTS) \
44623 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
44624 for flag in $(EXTRA_TARGET_FLAGS); do \
44625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44626 done; \
44627 (cd $(TARGET_SUBDIR)/libquadmath && \
44628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44630 "RANLIB=$${RANLIB}" \
44631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44632 installcheck) \
44633 || exit 1
44635 @endif target-libquadmath
44637 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
44638 maybe-mostlyclean-target-libquadmath:
44639 @if target-libquadmath
44640 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
44642 mostlyclean-target-libquadmath:
44643 @: $(MAKE); $(unstage)
44644 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44645 r=`${PWD_COMMAND}`; export r; \
44646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44647 $(NORMAL_TARGET_EXPORTS) \
44648 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
44649 for flag in $(EXTRA_TARGET_FLAGS); do \
44650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44651 done; \
44652 (cd $(TARGET_SUBDIR)/libquadmath && \
44653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44655 "RANLIB=$${RANLIB}" \
44656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44657 mostlyclean) \
44658 || exit 1
44660 @endif target-libquadmath
44662 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
44663 maybe-clean-target-libquadmath:
44664 @if target-libquadmath
44665 maybe-clean-target-libquadmath: clean-target-libquadmath
44667 clean-target-libquadmath:
44668 @: $(MAKE); $(unstage)
44669 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44670 r=`${PWD_COMMAND}`; export r; \
44671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44672 $(NORMAL_TARGET_EXPORTS) \
44673 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
44674 for flag in $(EXTRA_TARGET_FLAGS); do \
44675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44676 done; \
44677 (cd $(TARGET_SUBDIR)/libquadmath && \
44678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44680 "RANLIB=$${RANLIB}" \
44681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44682 clean) \
44683 || exit 1
44685 @endif target-libquadmath
44687 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
44688 maybe-distclean-target-libquadmath:
44689 @if target-libquadmath
44690 maybe-distclean-target-libquadmath: distclean-target-libquadmath
44692 distclean-target-libquadmath:
44693 @: $(MAKE); $(unstage)
44694 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44695 r=`${PWD_COMMAND}`; export r; \
44696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44697 $(NORMAL_TARGET_EXPORTS) \
44698 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
44699 for flag in $(EXTRA_TARGET_FLAGS); do \
44700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44701 done; \
44702 (cd $(TARGET_SUBDIR)/libquadmath && \
44703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44705 "RANLIB=$${RANLIB}" \
44706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44707 distclean) \
44708 || exit 1
44710 @endif target-libquadmath
44712 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
44713 maybe-maintainer-clean-target-libquadmath:
44714 @if target-libquadmath
44715 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
44717 maintainer-clean-target-libquadmath:
44718 @: $(MAKE); $(unstage)
44719 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44720 r=`${PWD_COMMAND}`; export r; \
44721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44722 $(NORMAL_TARGET_EXPORTS) \
44723 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
44724 for flag in $(EXTRA_TARGET_FLAGS); do \
44725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44726 done; \
44727 (cd $(TARGET_SUBDIR)/libquadmath && \
44728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44730 "RANLIB=$${RANLIB}" \
44731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44732 maintainer-clean) \
44733 || exit 1
44735 @endif target-libquadmath
44741 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
44742 maybe-configure-target-libgfortran:
44743 @if gcc-bootstrap
44744 configure-target-libgfortran: stage_current
44745 @endif gcc-bootstrap
44746 @if target-libgfortran
44747 maybe-configure-target-libgfortran: configure-target-libgfortran
44748 configure-target-libgfortran:
44749 @: $(MAKE); $(unstage)
44750 @r=`${PWD_COMMAND}`; export r; \
44751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44752 echo "Checking multilib configuration for libgfortran..."; \
44753 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44754 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
44755 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44756 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44757 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
44758 else \
44759 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
44760 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44761 fi; \
44762 else \
44763 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44764 fi; \
44765 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
44766 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44767 $(NORMAL_TARGET_EXPORTS) \
44768 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
44769 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
44770 case $(srcdir) in \
44771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44772 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
44773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44774 esac; \
44775 module_srcdir=libgfortran; \
44776 rm -f no-such-file || : ; \
44777 CONFIG_SITE=no-such-file $(SHELL) \
44778 $$s/$$module_srcdir/configure \
44779 --srcdir=$${topdir}/$$module_srcdir \
44780 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44781 --target=${target_alias} \
44782 || exit 1
44783 @endif target-libgfortran
44789 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
44790 maybe-all-target-libgfortran:
44791 @if gcc-bootstrap
44792 all-target-libgfortran: stage_current
44793 @endif gcc-bootstrap
44794 @if target-libgfortran
44795 TARGET-target-libgfortran=all
44796 maybe-all-target-libgfortran: all-target-libgfortran
44797 all-target-libgfortran: configure-target-libgfortran
44798 @: $(MAKE); $(unstage)
44799 @r=`${PWD_COMMAND}`; export r; \
44800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44801 $(NORMAL_TARGET_EXPORTS) \
44802 (cd $(TARGET_SUBDIR)/libgfortran && \
44803 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44804 $(TARGET-target-libgfortran))
44805 @endif target-libgfortran
44811 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
44812 maybe-check-target-libgfortran:
44813 @if target-libgfortran
44814 maybe-check-target-libgfortran: check-target-libgfortran
44816 check-target-libgfortran:
44817 @: $(MAKE); $(unstage)
44818 @r=`${PWD_COMMAND}`; export r; \
44819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44820 $(NORMAL_TARGET_EXPORTS) \
44821 (cd $(TARGET_SUBDIR)/libgfortran && \
44822 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44824 @endif target-libgfortran
44826 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
44827 maybe-install-target-libgfortran:
44828 @if target-libgfortran
44829 maybe-install-target-libgfortran: install-target-libgfortran
44831 install-target-libgfortran: installdirs
44832 @: $(MAKE); $(unstage)
44833 @r=`${PWD_COMMAND}`; export r; \
44834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44835 $(NORMAL_TARGET_EXPORTS) \
44836 (cd $(TARGET_SUBDIR)/libgfortran && \
44837 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44839 @endif target-libgfortran
44841 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
44842 maybe-install-strip-target-libgfortran:
44843 @if target-libgfortran
44844 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
44846 install-strip-target-libgfortran: installdirs
44847 @: $(MAKE); $(unstage)
44848 @r=`${PWD_COMMAND}`; export r; \
44849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44850 $(NORMAL_TARGET_EXPORTS) \
44851 (cd $(TARGET_SUBDIR)/libgfortran && \
44852 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44854 @endif target-libgfortran
44856 # Other targets (info, dvi, pdf, etc.)
44858 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
44859 maybe-info-target-libgfortran:
44860 @if target-libgfortran
44861 maybe-info-target-libgfortran: info-target-libgfortran
44863 info-target-libgfortran: \
44864 configure-target-libgfortran
44865 @: $(MAKE); $(unstage)
44866 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44867 r=`${PWD_COMMAND}`; export r; \
44868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44869 $(NORMAL_TARGET_EXPORTS) \
44870 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
44871 for flag in $(EXTRA_TARGET_FLAGS); do \
44872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44873 done; \
44874 (cd $(TARGET_SUBDIR)/libgfortran && \
44875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44877 "RANLIB=$${RANLIB}" \
44878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44879 info) \
44880 || exit 1
44882 @endif target-libgfortran
44884 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
44885 maybe-dvi-target-libgfortran:
44886 @if target-libgfortran
44887 maybe-dvi-target-libgfortran: dvi-target-libgfortran
44889 dvi-target-libgfortran: \
44890 configure-target-libgfortran
44891 @: $(MAKE); $(unstage)
44892 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44893 r=`${PWD_COMMAND}`; export r; \
44894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44895 $(NORMAL_TARGET_EXPORTS) \
44896 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
44897 for flag in $(EXTRA_TARGET_FLAGS); do \
44898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44899 done; \
44900 (cd $(TARGET_SUBDIR)/libgfortran && \
44901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44903 "RANLIB=$${RANLIB}" \
44904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44905 dvi) \
44906 || exit 1
44908 @endif target-libgfortran
44910 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
44911 maybe-pdf-target-libgfortran:
44912 @if target-libgfortran
44913 maybe-pdf-target-libgfortran: pdf-target-libgfortran
44915 pdf-target-libgfortran: \
44916 configure-target-libgfortran
44917 @: $(MAKE); $(unstage)
44918 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44919 r=`${PWD_COMMAND}`; export r; \
44920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44921 $(NORMAL_TARGET_EXPORTS) \
44922 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
44923 for flag in $(EXTRA_TARGET_FLAGS); do \
44924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44925 done; \
44926 (cd $(TARGET_SUBDIR)/libgfortran && \
44927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44929 "RANLIB=$${RANLIB}" \
44930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44931 pdf) \
44932 || exit 1
44934 @endif target-libgfortran
44936 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
44937 maybe-html-target-libgfortran:
44938 @if target-libgfortran
44939 maybe-html-target-libgfortran: html-target-libgfortran
44941 html-target-libgfortran: \
44942 configure-target-libgfortran
44943 @: $(MAKE); $(unstage)
44944 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44945 r=`${PWD_COMMAND}`; export r; \
44946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44947 $(NORMAL_TARGET_EXPORTS) \
44948 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
44949 for flag in $(EXTRA_TARGET_FLAGS); do \
44950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44951 done; \
44952 (cd $(TARGET_SUBDIR)/libgfortran && \
44953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44955 "RANLIB=$${RANLIB}" \
44956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44957 html) \
44958 || exit 1
44960 @endif target-libgfortran
44962 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
44963 maybe-TAGS-target-libgfortran:
44964 @if target-libgfortran
44965 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
44967 TAGS-target-libgfortran: \
44968 configure-target-libgfortran
44969 @: $(MAKE); $(unstage)
44970 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44971 r=`${PWD_COMMAND}`; export r; \
44972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44973 $(NORMAL_TARGET_EXPORTS) \
44974 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
44975 for flag in $(EXTRA_TARGET_FLAGS); do \
44976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44977 done; \
44978 (cd $(TARGET_SUBDIR)/libgfortran && \
44979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44981 "RANLIB=$${RANLIB}" \
44982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44983 TAGS) \
44984 || exit 1
44986 @endif target-libgfortran
44988 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
44989 maybe-install-info-target-libgfortran:
44990 @if target-libgfortran
44991 maybe-install-info-target-libgfortran: install-info-target-libgfortran
44993 install-info-target-libgfortran: \
44994 configure-target-libgfortran \
44995 info-target-libgfortran
44996 @: $(MAKE); $(unstage)
44997 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44998 r=`${PWD_COMMAND}`; export r; \
44999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45000 $(NORMAL_TARGET_EXPORTS) \
45001 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45002 for flag in $(EXTRA_TARGET_FLAGS); do \
45003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45004 done; \
45005 (cd $(TARGET_SUBDIR)/libgfortran && \
45006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45008 "RANLIB=$${RANLIB}" \
45009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45010 install-info) \
45011 || exit 1
45013 @endif target-libgfortran
45015 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45016 maybe-install-pdf-target-libgfortran:
45017 @if target-libgfortran
45018 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45020 install-pdf-target-libgfortran: \
45021 configure-target-libgfortran \
45022 pdf-target-libgfortran
45023 @: $(MAKE); $(unstage)
45024 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45025 r=`${PWD_COMMAND}`; export r; \
45026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45027 $(NORMAL_TARGET_EXPORTS) \
45028 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45029 for flag in $(EXTRA_TARGET_FLAGS); do \
45030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45031 done; \
45032 (cd $(TARGET_SUBDIR)/libgfortran && \
45033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45035 "RANLIB=$${RANLIB}" \
45036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45037 install-pdf) \
45038 || exit 1
45040 @endif target-libgfortran
45042 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45043 maybe-install-html-target-libgfortran:
45044 @if target-libgfortran
45045 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45047 install-html-target-libgfortran: \
45048 configure-target-libgfortran \
45049 html-target-libgfortran
45050 @: $(MAKE); $(unstage)
45051 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45052 r=`${PWD_COMMAND}`; export r; \
45053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45054 $(NORMAL_TARGET_EXPORTS) \
45055 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45056 for flag in $(EXTRA_TARGET_FLAGS); do \
45057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45058 done; \
45059 (cd $(TARGET_SUBDIR)/libgfortran && \
45060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45062 "RANLIB=$${RANLIB}" \
45063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45064 install-html) \
45065 || exit 1
45067 @endif target-libgfortran
45069 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45070 maybe-installcheck-target-libgfortran:
45071 @if target-libgfortran
45072 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45074 installcheck-target-libgfortran: \
45075 configure-target-libgfortran
45076 @: $(MAKE); $(unstage)
45077 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45078 r=`${PWD_COMMAND}`; export r; \
45079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45080 $(NORMAL_TARGET_EXPORTS) \
45081 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45082 for flag in $(EXTRA_TARGET_FLAGS); do \
45083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45084 done; \
45085 (cd $(TARGET_SUBDIR)/libgfortran && \
45086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45088 "RANLIB=$${RANLIB}" \
45089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45090 installcheck) \
45091 || exit 1
45093 @endif target-libgfortran
45095 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45096 maybe-mostlyclean-target-libgfortran:
45097 @if target-libgfortran
45098 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45100 mostlyclean-target-libgfortran:
45101 @: $(MAKE); $(unstage)
45102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45103 r=`${PWD_COMMAND}`; export r; \
45104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45105 $(NORMAL_TARGET_EXPORTS) \
45106 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45107 for flag in $(EXTRA_TARGET_FLAGS); do \
45108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45109 done; \
45110 (cd $(TARGET_SUBDIR)/libgfortran && \
45111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45113 "RANLIB=$${RANLIB}" \
45114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45115 mostlyclean) \
45116 || exit 1
45118 @endif target-libgfortran
45120 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45121 maybe-clean-target-libgfortran:
45122 @if target-libgfortran
45123 maybe-clean-target-libgfortran: clean-target-libgfortran
45125 clean-target-libgfortran:
45126 @: $(MAKE); $(unstage)
45127 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45128 r=`${PWD_COMMAND}`; export r; \
45129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45130 $(NORMAL_TARGET_EXPORTS) \
45131 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45132 for flag in $(EXTRA_TARGET_FLAGS); do \
45133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45134 done; \
45135 (cd $(TARGET_SUBDIR)/libgfortran && \
45136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45138 "RANLIB=$${RANLIB}" \
45139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45140 clean) \
45141 || exit 1
45143 @endif target-libgfortran
45145 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45146 maybe-distclean-target-libgfortran:
45147 @if target-libgfortran
45148 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45150 distclean-target-libgfortran:
45151 @: $(MAKE); $(unstage)
45152 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45153 r=`${PWD_COMMAND}`; export r; \
45154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45155 $(NORMAL_TARGET_EXPORTS) \
45156 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45157 for flag in $(EXTRA_TARGET_FLAGS); do \
45158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45159 done; \
45160 (cd $(TARGET_SUBDIR)/libgfortran && \
45161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45163 "RANLIB=$${RANLIB}" \
45164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45165 distclean) \
45166 || exit 1
45168 @endif target-libgfortran
45170 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45171 maybe-maintainer-clean-target-libgfortran:
45172 @if target-libgfortran
45173 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45175 maintainer-clean-target-libgfortran:
45176 @: $(MAKE); $(unstage)
45177 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45178 r=`${PWD_COMMAND}`; export r; \
45179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45180 $(NORMAL_TARGET_EXPORTS) \
45181 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45182 for flag in $(EXTRA_TARGET_FLAGS); do \
45183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45184 done; \
45185 (cd $(TARGET_SUBDIR)/libgfortran && \
45186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45188 "RANLIB=$${RANLIB}" \
45189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45190 maintainer-clean) \
45191 || exit 1
45193 @endif target-libgfortran
45199 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45200 maybe-configure-target-libobjc:
45201 @if gcc-bootstrap
45202 configure-target-libobjc: stage_current
45203 @endif gcc-bootstrap
45204 @if target-libobjc
45205 maybe-configure-target-libobjc: configure-target-libobjc
45206 configure-target-libobjc:
45207 @: $(MAKE); $(unstage)
45208 @r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 echo "Checking multilib configuration for libobjc..."; \
45211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45213 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45214 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45215 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45216 else \
45217 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45218 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45219 fi; \
45220 else \
45221 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45222 fi; \
45223 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45225 $(NORMAL_TARGET_EXPORTS) \
45226 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45227 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45228 case $(srcdir) in \
45229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45230 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45232 esac; \
45233 module_srcdir=libobjc; \
45234 rm -f no-such-file || : ; \
45235 CONFIG_SITE=no-such-file $(SHELL) \
45236 $$s/$$module_srcdir/configure \
45237 --srcdir=$${topdir}/$$module_srcdir \
45238 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45239 --target=${target_alias} \
45240 || exit 1
45241 @endif target-libobjc
45247 .PHONY: all-target-libobjc maybe-all-target-libobjc
45248 maybe-all-target-libobjc:
45249 @if gcc-bootstrap
45250 all-target-libobjc: stage_current
45251 @endif gcc-bootstrap
45252 @if target-libobjc
45253 TARGET-target-libobjc=all
45254 maybe-all-target-libobjc: all-target-libobjc
45255 all-target-libobjc: configure-target-libobjc
45256 @: $(MAKE); $(unstage)
45257 @r=`${PWD_COMMAND}`; export r; \
45258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45259 $(NORMAL_TARGET_EXPORTS) \
45260 (cd $(TARGET_SUBDIR)/libobjc && \
45261 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45262 $(TARGET-target-libobjc))
45263 @endif target-libobjc
45269 .PHONY: check-target-libobjc maybe-check-target-libobjc
45270 maybe-check-target-libobjc:
45271 @if target-libobjc
45272 maybe-check-target-libobjc: check-target-libobjc
45274 check-target-libobjc:
45275 @: $(MAKE); $(unstage)
45276 @r=`${PWD_COMMAND}`; export r; \
45277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45278 $(NORMAL_TARGET_EXPORTS) \
45279 (cd $(TARGET_SUBDIR)/libobjc && \
45280 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45282 @endif target-libobjc
45284 .PHONY: install-target-libobjc maybe-install-target-libobjc
45285 maybe-install-target-libobjc:
45286 @if target-libobjc
45287 maybe-install-target-libobjc: install-target-libobjc
45289 install-target-libobjc: installdirs
45290 @: $(MAKE); $(unstage)
45291 @r=`${PWD_COMMAND}`; export r; \
45292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45293 $(NORMAL_TARGET_EXPORTS) \
45294 (cd $(TARGET_SUBDIR)/libobjc && \
45295 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45297 @endif target-libobjc
45299 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45300 maybe-install-strip-target-libobjc:
45301 @if target-libobjc
45302 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45304 install-strip-target-libobjc: installdirs
45305 @: $(MAKE); $(unstage)
45306 @r=`${PWD_COMMAND}`; export r; \
45307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45308 $(NORMAL_TARGET_EXPORTS) \
45309 (cd $(TARGET_SUBDIR)/libobjc && \
45310 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45312 @endif target-libobjc
45314 # Other targets (info, dvi, pdf, etc.)
45316 .PHONY: maybe-info-target-libobjc info-target-libobjc
45317 maybe-info-target-libobjc:
45318 @if target-libobjc
45319 maybe-info-target-libobjc: info-target-libobjc
45321 info-target-libobjc: \
45322 configure-target-libobjc
45323 @: $(MAKE); $(unstage)
45324 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45325 r=`${PWD_COMMAND}`; export r; \
45326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45327 $(NORMAL_TARGET_EXPORTS) \
45328 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45329 for flag in $(EXTRA_TARGET_FLAGS); do \
45330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45331 done; \
45332 (cd $(TARGET_SUBDIR)/libobjc && \
45333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45335 "RANLIB=$${RANLIB}" \
45336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45337 info) \
45338 || exit 1
45340 @endif target-libobjc
45342 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45343 maybe-dvi-target-libobjc:
45344 @if target-libobjc
45345 maybe-dvi-target-libobjc: dvi-target-libobjc
45347 dvi-target-libobjc: \
45348 configure-target-libobjc
45349 @: $(MAKE); $(unstage)
45350 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45351 r=`${PWD_COMMAND}`; export r; \
45352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45353 $(NORMAL_TARGET_EXPORTS) \
45354 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45355 for flag in $(EXTRA_TARGET_FLAGS); do \
45356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45357 done; \
45358 (cd $(TARGET_SUBDIR)/libobjc && \
45359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45361 "RANLIB=$${RANLIB}" \
45362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45363 dvi) \
45364 || exit 1
45366 @endif target-libobjc
45368 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45369 maybe-pdf-target-libobjc:
45370 @if target-libobjc
45371 maybe-pdf-target-libobjc: pdf-target-libobjc
45373 pdf-target-libobjc: \
45374 configure-target-libobjc
45375 @: $(MAKE); $(unstage)
45376 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45377 r=`${PWD_COMMAND}`; export r; \
45378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45379 $(NORMAL_TARGET_EXPORTS) \
45380 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45381 for flag in $(EXTRA_TARGET_FLAGS); do \
45382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45383 done; \
45384 (cd $(TARGET_SUBDIR)/libobjc && \
45385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45387 "RANLIB=$${RANLIB}" \
45388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45389 pdf) \
45390 || exit 1
45392 @endif target-libobjc
45394 .PHONY: maybe-html-target-libobjc html-target-libobjc
45395 maybe-html-target-libobjc:
45396 @if target-libobjc
45397 maybe-html-target-libobjc: html-target-libobjc
45399 html-target-libobjc: \
45400 configure-target-libobjc
45401 @: $(MAKE); $(unstage)
45402 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45403 r=`${PWD_COMMAND}`; export r; \
45404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45405 $(NORMAL_TARGET_EXPORTS) \
45406 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45407 for flag in $(EXTRA_TARGET_FLAGS); do \
45408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45409 done; \
45410 (cd $(TARGET_SUBDIR)/libobjc && \
45411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45413 "RANLIB=$${RANLIB}" \
45414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45415 html) \
45416 || exit 1
45418 @endif target-libobjc
45420 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45421 maybe-TAGS-target-libobjc:
45422 @if target-libobjc
45423 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45425 TAGS-target-libobjc: \
45426 configure-target-libobjc
45427 @: $(MAKE); $(unstage)
45428 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45429 r=`${PWD_COMMAND}`; export r; \
45430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45431 $(NORMAL_TARGET_EXPORTS) \
45432 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45433 for flag in $(EXTRA_TARGET_FLAGS); do \
45434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45435 done; \
45436 (cd $(TARGET_SUBDIR)/libobjc && \
45437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45439 "RANLIB=$${RANLIB}" \
45440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45441 TAGS) \
45442 || exit 1
45444 @endif target-libobjc
45446 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45447 maybe-install-info-target-libobjc:
45448 @if target-libobjc
45449 maybe-install-info-target-libobjc: install-info-target-libobjc
45451 install-info-target-libobjc: \
45452 configure-target-libobjc \
45453 info-target-libobjc
45454 @: $(MAKE); $(unstage)
45455 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45456 r=`${PWD_COMMAND}`; export r; \
45457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45458 $(NORMAL_TARGET_EXPORTS) \
45459 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45460 for flag in $(EXTRA_TARGET_FLAGS); do \
45461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45462 done; \
45463 (cd $(TARGET_SUBDIR)/libobjc && \
45464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45466 "RANLIB=$${RANLIB}" \
45467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45468 install-info) \
45469 || exit 1
45471 @endif target-libobjc
45473 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45474 maybe-install-pdf-target-libobjc:
45475 @if target-libobjc
45476 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45478 install-pdf-target-libobjc: \
45479 configure-target-libobjc \
45480 pdf-target-libobjc
45481 @: $(MAKE); $(unstage)
45482 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45483 r=`${PWD_COMMAND}`; export r; \
45484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45485 $(NORMAL_TARGET_EXPORTS) \
45486 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45487 for flag in $(EXTRA_TARGET_FLAGS); do \
45488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45489 done; \
45490 (cd $(TARGET_SUBDIR)/libobjc && \
45491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45493 "RANLIB=$${RANLIB}" \
45494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45495 install-pdf) \
45496 || exit 1
45498 @endif target-libobjc
45500 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45501 maybe-install-html-target-libobjc:
45502 @if target-libobjc
45503 maybe-install-html-target-libobjc: install-html-target-libobjc
45505 install-html-target-libobjc: \
45506 configure-target-libobjc \
45507 html-target-libobjc
45508 @: $(MAKE); $(unstage)
45509 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45510 r=`${PWD_COMMAND}`; export r; \
45511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45512 $(NORMAL_TARGET_EXPORTS) \
45513 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45514 for flag in $(EXTRA_TARGET_FLAGS); do \
45515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45516 done; \
45517 (cd $(TARGET_SUBDIR)/libobjc && \
45518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45520 "RANLIB=$${RANLIB}" \
45521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45522 install-html) \
45523 || exit 1
45525 @endif target-libobjc
45527 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45528 maybe-installcheck-target-libobjc:
45529 @if target-libobjc
45530 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45532 installcheck-target-libobjc: \
45533 configure-target-libobjc
45534 @: $(MAKE); $(unstage)
45535 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45536 r=`${PWD_COMMAND}`; export r; \
45537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45538 $(NORMAL_TARGET_EXPORTS) \
45539 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45540 for flag in $(EXTRA_TARGET_FLAGS); do \
45541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45542 done; \
45543 (cd $(TARGET_SUBDIR)/libobjc && \
45544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45546 "RANLIB=$${RANLIB}" \
45547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45548 installcheck) \
45549 || exit 1
45551 @endif target-libobjc
45553 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45554 maybe-mostlyclean-target-libobjc:
45555 @if target-libobjc
45556 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45558 mostlyclean-target-libobjc:
45559 @: $(MAKE); $(unstage)
45560 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45561 r=`${PWD_COMMAND}`; export r; \
45562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45563 $(NORMAL_TARGET_EXPORTS) \
45564 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45565 for flag in $(EXTRA_TARGET_FLAGS); do \
45566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45567 done; \
45568 (cd $(TARGET_SUBDIR)/libobjc && \
45569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45571 "RANLIB=$${RANLIB}" \
45572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45573 mostlyclean) \
45574 || exit 1
45576 @endif target-libobjc
45578 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
45579 maybe-clean-target-libobjc:
45580 @if target-libobjc
45581 maybe-clean-target-libobjc: clean-target-libobjc
45583 clean-target-libobjc:
45584 @: $(MAKE); $(unstage)
45585 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45586 r=`${PWD_COMMAND}`; export r; \
45587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45588 $(NORMAL_TARGET_EXPORTS) \
45589 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
45590 for flag in $(EXTRA_TARGET_FLAGS); do \
45591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45592 done; \
45593 (cd $(TARGET_SUBDIR)/libobjc && \
45594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45596 "RANLIB=$${RANLIB}" \
45597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45598 clean) \
45599 || exit 1
45601 @endif target-libobjc
45603 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
45604 maybe-distclean-target-libobjc:
45605 @if target-libobjc
45606 maybe-distclean-target-libobjc: distclean-target-libobjc
45608 distclean-target-libobjc:
45609 @: $(MAKE); $(unstage)
45610 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45611 r=`${PWD_COMMAND}`; export r; \
45612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45613 $(NORMAL_TARGET_EXPORTS) \
45614 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
45615 for flag in $(EXTRA_TARGET_FLAGS); do \
45616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45617 done; \
45618 (cd $(TARGET_SUBDIR)/libobjc && \
45619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45621 "RANLIB=$${RANLIB}" \
45622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45623 distclean) \
45624 || exit 1
45626 @endif target-libobjc
45628 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
45629 maybe-maintainer-clean-target-libobjc:
45630 @if target-libobjc
45631 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
45633 maintainer-clean-target-libobjc:
45634 @: $(MAKE); $(unstage)
45635 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45636 r=`${PWD_COMMAND}`; export r; \
45637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45638 $(NORMAL_TARGET_EXPORTS) \
45639 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
45640 for flag in $(EXTRA_TARGET_FLAGS); do \
45641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45642 done; \
45643 (cd $(TARGET_SUBDIR)/libobjc && \
45644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45646 "RANLIB=$${RANLIB}" \
45647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45648 maintainer-clean) \
45649 || exit 1
45651 @endif target-libobjc
45657 .PHONY: configure-target-libgo maybe-configure-target-libgo
45658 maybe-configure-target-libgo:
45659 @if gcc-bootstrap
45660 configure-target-libgo: stage_current
45661 @endif gcc-bootstrap
45662 @if target-libgo
45663 maybe-configure-target-libgo: configure-target-libgo
45664 configure-target-libgo:
45665 @: $(MAKE); $(unstage)
45666 @r=`${PWD_COMMAND}`; export r; \
45667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45668 echo "Checking multilib configuration for libgo..."; \
45669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45670 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
45671 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
45672 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
45673 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
45674 else \
45675 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
45676 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45677 fi; \
45678 else \
45679 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45680 fi; \
45681 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
45682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45683 $(NORMAL_TARGET_EXPORTS) \
45684 echo Configuring in $(TARGET_SUBDIR)/libgo; \
45685 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
45686 case $(srcdir) in \
45687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45688 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
45689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45690 esac; \
45691 module_srcdir=libgo; \
45692 rm -f no-such-file || : ; \
45693 CONFIG_SITE=no-such-file $(SHELL) \
45694 $$s/$$module_srcdir/configure \
45695 --srcdir=$${topdir}/$$module_srcdir \
45696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45697 --target=${target_alias} \
45698 || exit 1
45699 @endif target-libgo
45705 .PHONY: all-target-libgo maybe-all-target-libgo
45706 maybe-all-target-libgo:
45707 @if gcc-bootstrap
45708 all-target-libgo: stage_current
45709 @endif gcc-bootstrap
45710 @if target-libgo
45711 TARGET-target-libgo=all
45712 maybe-all-target-libgo: all-target-libgo
45713 all-target-libgo: configure-target-libgo
45714 @: $(MAKE); $(unstage)
45715 @r=`${PWD_COMMAND}`; export r; \
45716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45717 $(NORMAL_TARGET_EXPORTS) \
45718 (cd $(TARGET_SUBDIR)/libgo && \
45719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45720 $(TARGET-target-libgo))
45721 @endif target-libgo
45727 .PHONY: check-target-libgo maybe-check-target-libgo
45728 maybe-check-target-libgo:
45729 @if target-libgo
45730 maybe-check-target-libgo: check-target-libgo
45732 check-target-libgo:
45733 @: $(MAKE); $(unstage)
45734 @r=`${PWD_COMMAND}`; export r; \
45735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45736 $(NORMAL_TARGET_EXPORTS) \
45737 (cd $(TARGET_SUBDIR)/libgo && \
45738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45740 @endif target-libgo
45742 .PHONY: install-target-libgo maybe-install-target-libgo
45743 maybe-install-target-libgo:
45744 @if target-libgo
45745 maybe-install-target-libgo: install-target-libgo
45747 install-target-libgo: installdirs
45748 @: $(MAKE); $(unstage)
45749 @r=`${PWD_COMMAND}`; export r; \
45750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45751 $(NORMAL_TARGET_EXPORTS) \
45752 (cd $(TARGET_SUBDIR)/libgo && \
45753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45755 @endif target-libgo
45757 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
45758 maybe-install-strip-target-libgo:
45759 @if target-libgo
45760 maybe-install-strip-target-libgo: install-strip-target-libgo
45762 install-strip-target-libgo: installdirs
45763 @: $(MAKE); $(unstage)
45764 @r=`${PWD_COMMAND}`; export r; \
45765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45766 $(NORMAL_TARGET_EXPORTS) \
45767 (cd $(TARGET_SUBDIR)/libgo && \
45768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45770 @endif target-libgo
45772 # Other targets (info, dvi, pdf, etc.)
45774 .PHONY: maybe-info-target-libgo info-target-libgo
45775 maybe-info-target-libgo:
45776 @if target-libgo
45777 maybe-info-target-libgo: info-target-libgo
45779 info-target-libgo: \
45780 configure-target-libgo
45781 @: $(MAKE); $(unstage)
45782 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45783 r=`${PWD_COMMAND}`; export r; \
45784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45785 $(NORMAL_TARGET_EXPORTS) \
45786 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
45787 for flag in $(EXTRA_TARGET_FLAGS); do \
45788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45789 done; \
45790 (cd $(TARGET_SUBDIR)/libgo && \
45791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45793 "RANLIB=$${RANLIB}" \
45794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45795 info) \
45796 || exit 1
45798 @endif target-libgo
45800 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
45801 maybe-dvi-target-libgo:
45802 @if target-libgo
45803 maybe-dvi-target-libgo: dvi-target-libgo
45805 dvi-target-libgo: \
45806 configure-target-libgo
45807 @: $(MAKE); $(unstage)
45808 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45809 r=`${PWD_COMMAND}`; export r; \
45810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45811 $(NORMAL_TARGET_EXPORTS) \
45812 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
45813 for flag in $(EXTRA_TARGET_FLAGS); do \
45814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45815 done; \
45816 (cd $(TARGET_SUBDIR)/libgo && \
45817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45819 "RANLIB=$${RANLIB}" \
45820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45821 dvi) \
45822 || exit 1
45824 @endif target-libgo
45826 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
45827 maybe-pdf-target-libgo:
45828 @if target-libgo
45829 maybe-pdf-target-libgo: pdf-target-libgo
45831 pdf-target-libgo: \
45832 configure-target-libgo
45833 @: $(MAKE); $(unstage)
45834 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45835 r=`${PWD_COMMAND}`; export r; \
45836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45837 $(NORMAL_TARGET_EXPORTS) \
45838 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
45839 for flag in $(EXTRA_TARGET_FLAGS); do \
45840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45841 done; \
45842 (cd $(TARGET_SUBDIR)/libgo && \
45843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45845 "RANLIB=$${RANLIB}" \
45846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45847 pdf) \
45848 || exit 1
45850 @endif target-libgo
45852 .PHONY: maybe-html-target-libgo html-target-libgo
45853 maybe-html-target-libgo:
45854 @if target-libgo
45855 maybe-html-target-libgo: html-target-libgo
45857 html-target-libgo: \
45858 configure-target-libgo
45859 @: $(MAKE); $(unstage)
45860 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45861 r=`${PWD_COMMAND}`; export r; \
45862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45863 $(NORMAL_TARGET_EXPORTS) \
45864 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
45865 for flag in $(EXTRA_TARGET_FLAGS); do \
45866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45867 done; \
45868 (cd $(TARGET_SUBDIR)/libgo && \
45869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45871 "RANLIB=$${RANLIB}" \
45872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45873 html) \
45874 || exit 1
45876 @endif target-libgo
45878 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
45879 maybe-TAGS-target-libgo:
45880 @if target-libgo
45881 maybe-TAGS-target-libgo: TAGS-target-libgo
45883 TAGS-target-libgo: \
45884 configure-target-libgo
45885 @: $(MAKE); $(unstage)
45886 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45887 r=`${PWD_COMMAND}`; export r; \
45888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45889 $(NORMAL_TARGET_EXPORTS) \
45890 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
45891 for flag in $(EXTRA_TARGET_FLAGS); do \
45892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45893 done; \
45894 (cd $(TARGET_SUBDIR)/libgo && \
45895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45897 "RANLIB=$${RANLIB}" \
45898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45899 TAGS) \
45900 || exit 1
45902 @endif target-libgo
45904 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
45905 maybe-install-info-target-libgo:
45906 @if target-libgo
45907 maybe-install-info-target-libgo: install-info-target-libgo
45909 install-info-target-libgo: \
45910 configure-target-libgo \
45911 info-target-libgo
45912 @: $(MAKE); $(unstage)
45913 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45914 r=`${PWD_COMMAND}`; export r; \
45915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45916 $(NORMAL_TARGET_EXPORTS) \
45917 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
45918 for flag in $(EXTRA_TARGET_FLAGS); do \
45919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45920 done; \
45921 (cd $(TARGET_SUBDIR)/libgo && \
45922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45924 "RANLIB=$${RANLIB}" \
45925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45926 install-info) \
45927 || exit 1
45929 @endif target-libgo
45931 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
45932 maybe-install-pdf-target-libgo:
45933 @if target-libgo
45934 maybe-install-pdf-target-libgo: install-pdf-target-libgo
45936 install-pdf-target-libgo: \
45937 configure-target-libgo \
45938 pdf-target-libgo
45939 @: $(MAKE); $(unstage)
45940 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45941 r=`${PWD_COMMAND}`; export r; \
45942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45943 $(NORMAL_TARGET_EXPORTS) \
45944 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
45945 for flag in $(EXTRA_TARGET_FLAGS); do \
45946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45947 done; \
45948 (cd $(TARGET_SUBDIR)/libgo && \
45949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45951 "RANLIB=$${RANLIB}" \
45952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45953 install-pdf) \
45954 || exit 1
45956 @endif target-libgo
45958 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
45959 maybe-install-html-target-libgo:
45960 @if target-libgo
45961 maybe-install-html-target-libgo: install-html-target-libgo
45963 install-html-target-libgo: \
45964 configure-target-libgo \
45965 html-target-libgo
45966 @: $(MAKE); $(unstage)
45967 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45968 r=`${PWD_COMMAND}`; export r; \
45969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45970 $(NORMAL_TARGET_EXPORTS) \
45971 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
45972 for flag in $(EXTRA_TARGET_FLAGS); do \
45973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45974 done; \
45975 (cd $(TARGET_SUBDIR)/libgo && \
45976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45978 "RANLIB=$${RANLIB}" \
45979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45980 install-html) \
45981 || exit 1
45983 @endif target-libgo
45985 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
45986 maybe-installcheck-target-libgo:
45987 @if target-libgo
45988 maybe-installcheck-target-libgo: installcheck-target-libgo
45990 installcheck-target-libgo: \
45991 configure-target-libgo
45992 @: $(MAKE); $(unstage)
45993 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45994 r=`${PWD_COMMAND}`; export r; \
45995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45996 $(NORMAL_TARGET_EXPORTS) \
45997 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
45998 for flag in $(EXTRA_TARGET_FLAGS); do \
45999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46000 done; \
46001 (cd $(TARGET_SUBDIR)/libgo && \
46002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46004 "RANLIB=$${RANLIB}" \
46005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46006 installcheck) \
46007 || exit 1
46009 @endif target-libgo
46011 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46012 maybe-mostlyclean-target-libgo:
46013 @if target-libgo
46014 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46016 mostlyclean-target-libgo:
46017 @: $(MAKE); $(unstage)
46018 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46019 r=`${PWD_COMMAND}`; export r; \
46020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46021 $(NORMAL_TARGET_EXPORTS) \
46022 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46023 for flag in $(EXTRA_TARGET_FLAGS); do \
46024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46025 done; \
46026 (cd $(TARGET_SUBDIR)/libgo && \
46027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46029 "RANLIB=$${RANLIB}" \
46030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46031 mostlyclean) \
46032 || exit 1
46034 @endif target-libgo
46036 .PHONY: maybe-clean-target-libgo clean-target-libgo
46037 maybe-clean-target-libgo:
46038 @if target-libgo
46039 maybe-clean-target-libgo: clean-target-libgo
46041 clean-target-libgo:
46042 @: $(MAKE); $(unstage)
46043 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46044 r=`${PWD_COMMAND}`; export r; \
46045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46046 $(NORMAL_TARGET_EXPORTS) \
46047 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46048 for flag in $(EXTRA_TARGET_FLAGS); do \
46049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46050 done; \
46051 (cd $(TARGET_SUBDIR)/libgo && \
46052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46054 "RANLIB=$${RANLIB}" \
46055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46056 clean) \
46057 || exit 1
46059 @endif target-libgo
46061 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46062 maybe-distclean-target-libgo:
46063 @if target-libgo
46064 maybe-distclean-target-libgo: distclean-target-libgo
46066 distclean-target-libgo:
46067 @: $(MAKE); $(unstage)
46068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46069 r=`${PWD_COMMAND}`; export r; \
46070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46071 $(NORMAL_TARGET_EXPORTS) \
46072 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46073 for flag in $(EXTRA_TARGET_FLAGS); do \
46074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46075 done; \
46076 (cd $(TARGET_SUBDIR)/libgo && \
46077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46079 "RANLIB=$${RANLIB}" \
46080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46081 distclean) \
46082 || exit 1
46084 @endif target-libgo
46086 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46087 maybe-maintainer-clean-target-libgo:
46088 @if target-libgo
46089 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46091 maintainer-clean-target-libgo:
46092 @: $(MAKE); $(unstage)
46093 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46094 r=`${PWD_COMMAND}`; export r; \
46095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46096 $(NORMAL_TARGET_EXPORTS) \
46097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46098 for flag in $(EXTRA_TARGET_FLAGS); do \
46099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46100 done; \
46101 (cd $(TARGET_SUBDIR)/libgo && \
46102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46104 "RANLIB=$${RANLIB}" \
46105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46106 maintainer-clean) \
46107 || exit 1
46109 @endif target-libgo
46115 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
46116 maybe-configure-target-libhsail-rt:
46117 @if gcc-bootstrap
46118 configure-target-libhsail-rt: stage_current
46119 @endif gcc-bootstrap
46120 @if target-libhsail-rt
46121 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
46122 configure-target-libhsail-rt:
46123 @: $(MAKE); $(unstage)
46124 @r=`${PWD_COMMAND}`; export r; \
46125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46126 echo "Checking multilib configuration for libhsail-rt..."; \
46127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
46129 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46130 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46131 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
46132 else \
46133 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
46134 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46135 fi; \
46136 else \
46137 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46138 fi; \
46139 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
46140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46141 $(NORMAL_TARGET_EXPORTS) \
46142 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
46143 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
46144 case $(srcdir) in \
46145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46146 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
46147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46148 esac; \
46149 module_srcdir=libhsail-rt; \
46150 rm -f no-such-file || : ; \
46151 CONFIG_SITE=no-such-file $(SHELL) \
46152 $$s/$$module_srcdir/configure \
46153 --srcdir=$${topdir}/$$module_srcdir \
46154 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46155 --target=${target_alias} \
46156 || exit 1
46157 @endif target-libhsail-rt
46163 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
46164 maybe-all-target-libhsail-rt:
46165 @if gcc-bootstrap
46166 all-target-libhsail-rt: stage_current
46167 @endif gcc-bootstrap
46168 @if target-libhsail-rt
46169 TARGET-target-libhsail-rt=all
46170 maybe-all-target-libhsail-rt: all-target-libhsail-rt
46171 all-target-libhsail-rt: configure-target-libhsail-rt
46172 @: $(MAKE); $(unstage)
46173 @r=`${PWD_COMMAND}`; export r; \
46174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46175 $(NORMAL_TARGET_EXPORTS) \
46176 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46177 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46178 $(TARGET-target-libhsail-rt))
46179 @endif target-libhsail-rt
46185 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
46186 maybe-check-target-libhsail-rt:
46187 @if target-libhsail-rt
46188 maybe-check-target-libhsail-rt: check-target-libhsail-rt
46190 check-target-libhsail-rt:
46191 @: $(MAKE); $(unstage)
46192 @r=`${PWD_COMMAND}`; export r; \
46193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46194 $(NORMAL_TARGET_EXPORTS) \
46195 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46196 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46198 @endif target-libhsail-rt
46200 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
46201 maybe-install-target-libhsail-rt:
46202 @if target-libhsail-rt
46203 maybe-install-target-libhsail-rt: install-target-libhsail-rt
46205 install-target-libhsail-rt: installdirs
46206 @: $(MAKE); $(unstage)
46207 @r=`${PWD_COMMAND}`; export r; \
46208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46209 $(NORMAL_TARGET_EXPORTS) \
46210 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46211 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46213 @endif target-libhsail-rt
46215 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
46216 maybe-install-strip-target-libhsail-rt:
46217 @if target-libhsail-rt
46218 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
46220 install-strip-target-libhsail-rt: installdirs
46221 @: $(MAKE); $(unstage)
46222 @r=`${PWD_COMMAND}`; export r; \
46223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46224 $(NORMAL_TARGET_EXPORTS) \
46225 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46226 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46228 @endif target-libhsail-rt
46230 # Other targets (info, dvi, pdf, etc.)
46232 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
46233 maybe-info-target-libhsail-rt:
46234 @if target-libhsail-rt
46235 maybe-info-target-libhsail-rt: info-target-libhsail-rt
46237 info-target-libhsail-rt: \
46238 configure-target-libhsail-rt
46239 @: $(MAKE); $(unstage)
46240 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46241 r=`${PWD_COMMAND}`; export r; \
46242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46243 $(NORMAL_TARGET_EXPORTS) \
46244 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
46245 for flag in $(EXTRA_TARGET_FLAGS); do \
46246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46247 done; \
46248 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46251 "RANLIB=$${RANLIB}" \
46252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46253 info) \
46254 || exit 1
46256 @endif target-libhsail-rt
46258 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
46259 maybe-dvi-target-libhsail-rt:
46260 @if target-libhsail-rt
46261 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
46263 dvi-target-libhsail-rt: \
46264 configure-target-libhsail-rt
46265 @: $(MAKE); $(unstage)
46266 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46267 r=`${PWD_COMMAND}`; export r; \
46268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46269 $(NORMAL_TARGET_EXPORTS) \
46270 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
46271 for flag in $(EXTRA_TARGET_FLAGS); do \
46272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46273 done; \
46274 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46277 "RANLIB=$${RANLIB}" \
46278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46279 dvi) \
46280 || exit 1
46282 @endif target-libhsail-rt
46284 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
46285 maybe-pdf-target-libhsail-rt:
46286 @if target-libhsail-rt
46287 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
46289 pdf-target-libhsail-rt: \
46290 configure-target-libhsail-rt
46291 @: $(MAKE); $(unstage)
46292 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46293 r=`${PWD_COMMAND}`; export r; \
46294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46295 $(NORMAL_TARGET_EXPORTS) \
46296 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46297 for flag in $(EXTRA_TARGET_FLAGS); do \
46298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46299 done; \
46300 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46303 "RANLIB=$${RANLIB}" \
46304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46305 pdf) \
46306 || exit 1
46308 @endif target-libhsail-rt
46310 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
46311 maybe-html-target-libhsail-rt:
46312 @if target-libhsail-rt
46313 maybe-html-target-libhsail-rt: html-target-libhsail-rt
46315 html-target-libhsail-rt: \
46316 configure-target-libhsail-rt
46317 @: $(MAKE); $(unstage)
46318 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46319 r=`${PWD_COMMAND}`; export r; \
46320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46321 $(NORMAL_TARGET_EXPORTS) \
46322 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
46323 for flag in $(EXTRA_TARGET_FLAGS); do \
46324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46325 done; \
46326 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46329 "RANLIB=$${RANLIB}" \
46330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46331 html) \
46332 || exit 1
46334 @endif target-libhsail-rt
46336 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
46337 maybe-TAGS-target-libhsail-rt:
46338 @if target-libhsail-rt
46339 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
46341 TAGS-target-libhsail-rt: \
46342 configure-target-libhsail-rt
46343 @: $(MAKE); $(unstage)
46344 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46345 r=`${PWD_COMMAND}`; export r; \
46346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46347 $(NORMAL_TARGET_EXPORTS) \
46348 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
46349 for flag in $(EXTRA_TARGET_FLAGS); do \
46350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46351 done; \
46352 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46355 "RANLIB=$${RANLIB}" \
46356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46357 TAGS) \
46358 || exit 1
46360 @endif target-libhsail-rt
46362 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
46363 maybe-install-info-target-libhsail-rt:
46364 @if target-libhsail-rt
46365 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
46367 install-info-target-libhsail-rt: \
46368 configure-target-libhsail-rt \
46369 info-target-libhsail-rt
46370 @: $(MAKE); $(unstage)
46371 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46372 r=`${PWD_COMMAND}`; export r; \
46373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46374 $(NORMAL_TARGET_EXPORTS) \
46375 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
46376 for flag in $(EXTRA_TARGET_FLAGS); do \
46377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46378 done; \
46379 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46382 "RANLIB=$${RANLIB}" \
46383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46384 install-info) \
46385 || exit 1
46387 @endif target-libhsail-rt
46389 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
46390 maybe-install-pdf-target-libhsail-rt:
46391 @if target-libhsail-rt
46392 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
46394 install-pdf-target-libhsail-rt: \
46395 configure-target-libhsail-rt \
46396 pdf-target-libhsail-rt
46397 @: $(MAKE); $(unstage)
46398 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46399 r=`${PWD_COMMAND}`; export r; \
46400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46401 $(NORMAL_TARGET_EXPORTS) \
46402 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46403 for flag in $(EXTRA_TARGET_FLAGS); do \
46404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46405 done; \
46406 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46409 "RANLIB=$${RANLIB}" \
46410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46411 install-pdf) \
46412 || exit 1
46414 @endif target-libhsail-rt
46416 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
46417 maybe-install-html-target-libhsail-rt:
46418 @if target-libhsail-rt
46419 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
46421 install-html-target-libhsail-rt: \
46422 configure-target-libhsail-rt \
46423 html-target-libhsail-rt
46424 @: $(MAKE); $(unstage)
46425 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46426 r=`${PWD_COMMAND}`; export r; \
46427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46428 $(NORMAL_TARGET_EXPORTS) \
46429 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
46430 for flag in $(EXTRA_TARGET_FLAGS); do \
46431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46432 done; \
46433 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46436 "RANLIB=$${RANLIB}" \
46437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46438 install-html) \
46439 || exit 1
46441 @endif target-libhsail-rt
46443 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
46444 maybe-installcheck-target-libhsail-rt:
46445 @if target-libhsail-rt
46446 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
46448 installcheck-target-libhsail-rt: \
46449 configure-target-libhsail-rt
46450 @: $(MAKE); $(unstage)
46451 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46452 r=`${PWD_COMMAND}`; export r; \
46453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46454 $(NORMAL_TARGET_EXPORTS) \
46455 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
46456 for flag in $(EXTRA_TARGET_FLAGS); do \
46457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46458 done; \
46459 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46462 "RANLIB=$${RANLIB}" \
46463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46464 installcheck) \
46465 || exit 1
46467 @endif target-libhsail-rt
46469 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
46470 maybe-mostlyclean-target-libhsail-rt:
46471 @if target-libhsail-rt
46472 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
46474 mostlyclean-target-libhsail-rt:
46475 @: $(MAKE); $(unstage)
46476 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46477 r=`${PWD_COMMAND}`; export r; \
46478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46479 $(NORMAL_TARGET_EXPORTS) \
46480 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46481 for flag in $(EXTRA_TARGET_FLAGS); do \
46482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46483 done; \
46484 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46487 "RANLIB=$${RANLIB}" \
46488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46489 mostlyclean) \
46490 || exit 1
46492 @endif target-libhsail-rt
46494 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
46495 maybe-clean-target-libhsail-rt:
46496 @if target-libhsail-rt
46497 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
46499 clean-target-libhsail-rt:
46500 @: $(MAKE); $(unstage)
46501 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46502 r=`${PWD_COMMAND}`; export r; \
46503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46504 $(NORMAL_TARGET_EXPORTS) \
46505 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46506 for flag in $(EXTRA_TARGET_FLAGS); do \
46507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46508 done; \
46509 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46512 "RANLIB=$${RANLIB}" \
46513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46514 clean) \
46515 || exit 1
46517 @endif target-libhsail-rt
46519 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
46520 maybe-distclean-target-libhsail-rt:
46521 @if target-libhsail-rt
46522 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
46524 distclean-target-libhsail-rt:
46525 @: $(MAKE); $(unstage)
46526 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46527 r=`${PWD_COMMAND}`; export r; \
46528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46529 $(NORMAL_TARGET_EXPORTS) \
46530 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46531 for flag in $(EXTRA_TARGET_FLAGS); do \
46532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46533 done; \
46534 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46537 "RANLIB=$${RANLIB}" \
46538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46539 distclean) \
46540 || exit 1
46542 @endif target-libhsail-rt
46544 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
46545 maybe-maintainer-clean-target-libhsail-rt:
46546 @if target-libhsail-rt
46547 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
46549 maintainer-clean-target-libhsail-rt:
46550 @: $(MAKE); $(unstage)
46551 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46552 r=`${PWD_COMMAND}`; export r; \
46553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46554 $(NORMAL_TARGET_EXPORTS) \
46555 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46556 for flag in $(EXTRA_TARGET_FLAGS); do \
46557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46558 done; \
46559 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46562 "RANLIB=$${RANLIB}" \
46563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46564 maintainer-clean) \
46565 || exit 1
46567 @endif target-libhsail-rt
46573 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46574 maybe-configure-target-libtermcap:
46575 @if gcc-bootstrap
46576 configure-target-libtermcap: stage_current
46577 @endif gcc-bootstrap
46578 @if target-libtermcap
46579 maybe-configure-target-libtermcap: configure-target-libtermcap
46580 configure-target-libtermcap:
46581 @: $(MAKE); $(unstage)
46582 @r=`${PWD_COMMAND}`; export r; \
46583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46584 echo "Checking multilib configuration for libtermcap..."; \
46585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46586 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
46587 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46588 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46589 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46590 else \
46591 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46592 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46593 fi; \
46594 else \
46595 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46596 fi; \
46597 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46598 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46599 $(NORMAL_TARGET_EXPORTS) \
46600 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46601 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46602 case $(srcdir) in \
46603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46604 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46606 esac; \
46607 module_srcdir=libtermcap; \
46608 rm -f no-such-file || : ; \
46609 CONFIG_SITE=no-such-file $(SHELL) \
46610 $$s/$$module_srcdir/configure \
46611 --srcdir=$${topdir}/$$module_srcdir \
46612 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46613 --target=${target_alias} \
46614 || exit 1
46615 @endif target-libtermcap
46621 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46622 maybe-all-target-libtermcap:
46623 @if gcc-bootstrap
46624 all-target-libtermcap: stage_current
46625 @endif gcc-bootstrap
46626 @if target-libtermcap
46627 TARGET-target-libtermcap=all
46628 maybe-all-target-libtermcap: all-target-libtermcap
46629 all-target-libtermcap: configure-target-libtermcap
46630 @: $(MAKE); $(unstage)
46631 @r=`${PWD_COMMAND}`; export r; \
46632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46633 $(NORMAL_TARGET_EXPORTS) \
46634 (cd $(TARGET_SUBDIR)/libtermcap && \
46635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46636 $(TARGET-target-libtermcap))
46637 @endif target-libtermcap
46643 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
46644 maybe-check-target-libtermcap:
46645 @if target-libtermcap
46646 maybe-check-target-libtermcap: check-target-libtermcap
46648 # Dummy target for uncheckable module.
46649 check-target-libtermcap:
46651 @endif target-libtermcap
46653 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
46654 maybe-install-target-libtermcap:
46655 @if target-libtermcap
46656 maybe-install-target-libtermcap: install-target-libtermcap
46658 install-target-libtermcap: installdirs
46659 @: $(MAKE); $(unstage)
46660 @r=`${PWD_COMMAND}`; export r; \
46661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46662 $(NORMAL_TARGET_EXPORTS) \
46663 (cd $(TARGET_SUBDIR)/libtermcap && \
46664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46666 @endif target-libtermcap
46668 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
46669 maybe-install-strip-target-libtermcap:
46670 @if target-libtermcap
46671 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
46673 install-strip-target-libtermcap: installdirs
46674 @: $(MAKE); $(unstage)
46675 @r=`${PWD_COMMAND}`; export r; \
46676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46677 $(NORMAL_TARGET_EXPORTS) \
46678 (cd $(TARGET_SUBDIR)/libtermcap && \
46679 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46681 @endif target-libtermcap
46683 # Other targets (info, dvi, pdf, etc.)
46685 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
46686 maybe-info-target-libtermcap:
46687 @if target-libtermcap
46688 maybe-info-target-libtermcap: info-target-libtermcap
46690 info-target-libtermcap: \
46691 configure-target-libtermcap
46692 @: $(MAKE); $(unstage)
46693 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46694 r=`${PWD_COMMAND}`; export r; \
46695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46696 $(NORMAL_TARGET_EXPORTS) \
46697 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
46698 for flag in $(EXTRA_TARGET_FLAGS); do \
46699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46700 done; \
46701 (cd $(TARGET_SUBDIR)/libtermcap && \
46702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46704 "RANLIB=$${RANLIB}" \
46705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46706 info) \
46707 || exit 1
46709 @endif target-libtermcap
46711 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
46712 maybe-dvi-target-libtermcap:
46713 @if target-libtermcap
46714 maybe-dvi-target-libtermcap: dvi-target-libtermcap
46716 dvi-target-libtermcap: \
46717 configure-target-libtermcap
46718 @: $(MAKE); $(unstage)
46719 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46720 r=`${PWD_COMMAND}`; export r; \
46721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46722 $(NORMAL_TARGET_EXPORTS) \
46723 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
46724 for flag in $(EXTRA_TARGET_FLAGS); do \
46725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46726 done; \
46727 (cd $(TARGET_SUBDIR)/libtermcap && \
46728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46730 "RANLIB=$${RANLIB}" \
46731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46732 dvi) \
46733 || exit 1
46735 @endif target-libtermcap
46737 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
46738 maybe-pdf-target-libtermcap:
46739 @if target-libtermcap
46740 maybe-pdf-target-libtermcap: pdf-target-libtermcap
46742 pdf-target-libtermcap: \
46743 configure-target-libtermcap
46744 @: $(MAKE); $(unstage)
46745 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46746 r=`${PWD_COMMAND}`; export r; \
46747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46748 $(NORMAL_TARGET_EXPORTS) \
46749 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
46750 for flag in $(EXTRA_TARGET_FLAGS); do \
46751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46752 done; \
46753 (cd $(TARGET_SUBDIR)/libtermcap && \
46754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46756 "RANLIB=$${RANLIB}" \
46757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46758 pdf) \
46759 || exit 1
46761 @endif target-libtermcap
46763 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
46764 maybe-html-target-libtermcap:
46765 @if target-libtermcap
46766 maybe-html-target-libtermcap: html-target-libtermcap
46768 html-target-libtermcap: \
46769 configure-target-libtermcap
46770 @: $(MAKE); $(unstage)
46771 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46772 r=`${PWD_COMMAND}`; export r; \
46773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46774 $(NORMAL_TARGET_EXPORTS) \
46775 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
46776 for flag in $(EXTRA_TARGET_FLAGS); do \
46777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46778 done; \
46779 (cd $(TARGET_SUBDIR)/libtermcap && \
46780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46782 "RANLIB=$${RANLIB}" \
46783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46784 html) \
46785 || exit 1
46787 @endif target-libtermcap
46789 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
46790 maybe-TAGS-target-libtermcap:
46791 @if target-libtermcap
46792 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
46794 TAGS-target-libtermcap: \
46795 configure-target-libtermcap
46796 @: $(MAKE); $(unstage)
46797 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46798 r=`${PWD_COMMAND}`; export r; \
46799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46800 $(NORMAL_TARGET_EXPORTS) \
46801 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
46802 for flag in $(EXTRA_TARGET_FLAGS); do \
46803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46804 done; \
46805 (cd $(TARGET_SUBDIR)/libtermcap && \
46806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46808 "RANLIB=$${RANLIB}" \
46809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46810 TAGS) \
46811 || exit 1
46813 @endif target-libtermcap
46815 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
46816 maybe-install-info-target-libtermcap:
46817 @if target-libtermcap
46818 maybe-install-info-target-libtermcap: install-info-target-libtermcap
46820 install-info-target-libtermcap: \
46821 configure-target-libtermcap \
46822 info-target-libtermcap
46823 @: $(MAKE); $(unstage)
46824 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46825 r=`${PWD_COMMAND}`; export r; \
46826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46827 $(NORMAL_TARGET_EXPORTS) \
46828 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
46829 for flag in $(EXTRA_TARGET_FLAGS); do \
46830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46831 done; \
46832 (cd $(TARGET_SUBDIR)/libtermcap && \
46833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46835 "RANLIB=$${RANLIB}" \
46836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46837 install-info) \
46838 || exit 1
46840 @endif target-libtermcap
46842 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
46843 maybe-install-pdf-target-libtermcap:
46844 @if target-libtermcap
46845 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
46847 install-pdf-target-libtermcap: \
46848 configure-target-libtermcap \
46849 pdf-target-libtermcap
46850 @: $(MAKE); $(unstage)
46851 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46852 r=`${PWD_COMMAND}`; export r; \
46853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46854 $(NORMAL_TARGET_EXPORTS) \
46855 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
46856 for flag in $(EXTRA_TARGET_FLAGS); do \
46857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46858 done; \
46859 (cd $(TARGET_SUBDIR)/libtermcap && \
46860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46862 "RANLIB=$${RANLIB}" \
46863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46864 install-pdf) \
46865 || exit 1
46867 @endif target-libtermcap
46869 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
46870 maybe-install-html-target-libtermcap:
46871 @if target-libtermcap
46872 maybe-install-html-target-libtermcap: install-html-target-libtermcap
46874 install-html-target-libtermcap: \
46875 configure-target-libtermcap \
46876 html-target-libtermcap
46877 @: $(MAKE); $(unstage)
46878 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46879 r=`${PWD_COMMAND}`; export r; \
46880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46881 $(NORMAL_TARGET_EXPORTS) \
46882 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
46883 for flag in $(EXTRA_TARGET_FLAGS); do \
46884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46885 done; \
46886 (cd $(TARGET_SUBDIR)/libtermcap && \
46887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46889 "RANLIB=$${RANLIB}" \
46890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46891 install-html) \
46892 || exit 1
46894 @endif target-libtermcap
46896 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
46897 maybe-installcheck-target-libtermcap:
46898 @if target-libtermcap
46899 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
46901 installcheck-target-libtermcap: \
46902 configure-target-libtermcap
46903 @: $(MAKE); $(unstage)
46904 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46905 r=`${PWD_COMMAND}`; export r; \
46906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46907 $(NORMAL_TARGET_EXPORTS) \
46908 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
46909 for flag in $(EXTRA_TARGET_FLAGS); do \
46910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46911 done; \
46912 (cd $(TARGET_SUBDIR)/libtermcap && \
46913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46915 "RANLIB=$${RANLIB}" \
46916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46917 installcheck) \
46918 || exit 1
46920 @endif target-libtermcap
46922 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
46923 maybe-mostlyclean-target-libtermcap:
46924 @if target-libtermcap
46925 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
46927 # libtermcap doesn't support mostlyclean.
46928 mostlyclean-target-libtermcap:
46930 @endif target-libtermcap
46932 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
46933 maybe-clean-target-libtermcap:
46934 @if target-libtermcap
46935 maybe-clean-target-libtermcap: clean-target-libtermcap
46937 # libtermcap doesn't support clean.
46938 clean-target-libtermcap:
46940 @endif target-libtermcap
46942 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
46943 maybe-distclean-target-libtermcap:
46944 @if target-libtermcap
46945 maybe-distclean-target-libtermcap: distclean-target-libtermcap
46947 # libtermcap doesn't support distclean.
46948 distclean-target-libtermcap:
46950 @endif target-libtermcap
46952 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
46953 maybe-maintainer-clean-target-libtermcap:
46954 @if target-libtermcap
46955 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
46957 # libtermcap doesn't support maintainer-clean.
46958 maintainer-clean-target-libtermcap:
46960 @endif target-libtermcap
46966 .PHONY: configure-target-winsup maybe-configure-target-winsup
46967 maybe-configure-target-winsup:
46968 @if gcc-bootstrap
46969 configure-target-winsup: stage_current
46970 @endif gcc-bootstrap
46971 @if target-winsup
46972 maybe-configure-target-winsup: configure-target-winsup
46973 configure-target-winsup:
46974 @: $(MAKE); $(unstage)
46975 @r=`${PWD_COMMAND}`; export r; \
46976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46977 echo "Checking multilib configuration for winsup..."; \
46978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
46980 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
46981 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
46982 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
46983 else \
46984 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
46985 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46986 fi; \
46987 else \
46988 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46989 fi; \
46990 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
46991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46992 $(NORMAL_TARGET_EXPORTS) \
46993 echo Configuring in $(TARGET_SUBDIR)/winsup; \
46994 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
46995 case $(srcdir) in \
46996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46997 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
46998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46999 esac; \
47000 module_srcdir=winsup; \
47001 rm -f no-such-file || : ; \
47002 CONFIG_SITE=no-such-file $(SHELL) \
47003 $$s/$$module_srcdir/configure \
47004 --srcdir=$${topdir}/$$module_srcdir \
47005 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47006 --target=${target_alias} \
47007 || exit 1
47008 @endif target-winsup
47014 .PHONY: all-target-winsup maybe-all-target-winsup
47015 maybe-all-target-winsup:
47016 @if gcc-bootstrap
47017 all-target-winsup: stage_current
47018 @endif gcc-bootstrap
47019 @if target-winsup
47020 TARGET-target-winsup=all
47021 maybe-all-target-winsup: all-target-winsup
47022 all-target-winsup: configure-target-winsup
47023 @: $(MAKE); $(unstage)
47024 @r=`${PWD_COMMAND}`; export r; \
47025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47026 $(NORMAL_TARGET_EXPORTS) \
47027 (cd $(TARGET_SUBDIR)/winsup && \
47028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47029 $(TARGET-target-winsup))
47030 @endif target-winsup
47036 .PHONY: check-target-winsup maybe-check-target-winsup
47037 maybe-check-target-winsup:
47038 @if target-winsup
47039 maybe-check-target-winsup: check-target-winsup
47041 check-target-winsup:
47042 @: $(MAKE); $(unstage)
47043 @r=`${PWD_COMMAND}`; export r; \
47044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47045 $(NORMAL_TARGET_EXPORTS) \
47046 (cd $(TARGET_SUBDIR)/winsup && \
47047 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47049 @endif target-winsup
47051 .PHONY: install-target-winsup maybe-install-target-winsup
47052 maybe-install-target-winsup:
47053 @if target-winsup
47054 maybe-install-target-winsup: install-target-winsup
47056 install-target-winsup: installdirs
47057 @: $(MAKE); $(unstage)
47058 @r=`${PWD_COMMAND}`; export r; \
47059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47060 $(NORMAL_TARGET_EXPORTS) \
47061 (cd $(TARGET_SUBDIR)/winsup && \
47062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47064 @endif target-winsup
47066 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
47067 maybe-install-strip-target-winsup:
47068 @if target-winsup
47069 maybe-install-strip-target-winsup: install-strip-target-winsup
47071 install-strip-target-winsup: installdirs
47072 @: $(MAKE); $(unstage)
47073 @r=`${PWD_COMMAND}`; export r; \
47074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47075 $(NORMAL_TARGET_EXPORTS) \
47076 (cd $(TARGET_SUBDIR)/winsup && \
47077 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47079 @endif target-winsup
47081 # Other targets (info, dvi, pdf, etc.)
47083 .PHONY: maybe-info-target-winsup info-target-winsup
47084 maybe-info-target-winsup:
47085 @if target-winsup
47086 maybe-info-target-winsup: info-target-winsup
47088 info-target-winsup: \
47089 configure-target-winsup
47090 @: $(MAKE); $(unstage)
47091 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47092 r=`${PWD_COMMAND}`; export r; \
47093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47094 $(NORMAL_TARGET_EXPORTS) \
47095 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
47096 for flag in $(EXTRA_TARGET_FLAGS); do \
47097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47098 done; \
47099 (cd $(TARGET_SUBDIR)/winsup && \
47100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47102 "RANLIB=$${RANLIB}" \
47103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47104 info) \
47105 || exit 1
47107 @endif target-winsup
47109 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
47110 maybe-dvi-target-winsup:
47111 @if target-winsup
47112 maybe-dvi-target-winsup: dvi-target-winsup
47114 dvi-target-winsup: \
47115 configure-target-winsup
47116 @: $(MAKE); $(unstage)
47117 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47118 r=`${PWD_COMMAND}`; export r; \
47119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47120 $(NORMAL_TARGET_EXPORTS) \
47121 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
47122 for flag in $(EXTRA_TARGET_FLAGS); do \
47123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47124 done; \
47125 (cd $(TARGET_SUBDIR)/winsup && \
47126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47128 "RANLIB=$${RANLIB}" \
47129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47130 dvi) \
47131 || exit 1
47133 @endif target-winsup
47135 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
47136 maybe-pdf-target-winsup:
47137 @if target-winsup
47138 maybe-pdf-target-winsup: pdf-target-winsup
47140 pdf-target-winsup: \
47141 configure-target-winsup
47142 @: $(MAKE); $(unstage)
47143 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47144 r=`${PWD_COMMAND}`; export r; \
47145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47146 $(NORMAL_TARGET_EXPORTS) \
47147 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
47148 for flag in $(EXTRA_TARGET_FLAGS); do \
47149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47150 done; \
47151 (cd $(TARGET_SUBDIR)/winsup && \
47152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47154 "RANLIB=$${RANLIB}" \
47155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47156 pdf) \
47157 || exit 1
47159 @endif target-winsup
47161 .PHONY: maybe-html-target-winsup html-target-winsup
47162 maybe-html-target-winsup:
47163 @if target-winsup
47164 maybe-html-target-winsup: html-target-winsup
47166 html-target-winsup: \
47167 configure-target-winsup
47168 @: $(MAKE); $(unstage)
47169 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47170 r=`${PWD_COMMAND}`; export r; \
47171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47172 $(NORMAL_TARGET_EXPORTS) \
47173 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
47174 for flag in $(EXTRA_TARGET_FLAGS); do \
47175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47176 done; \
47177 (cd $(TARGET_SUBDIR)/winsup && \
47178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47180 "RANLIB=$${RANLIB}" \
47181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47182 html) \
47183 || exit 1
47185 @endif target-winsup
47187 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
47188 maybe-TAGS-target-winsup:
47189 @if target-winsup
47190 maybe-TAGS-target-winsup: TAGS-target-winsup
47192 TAGS-target-winsup: \
47193 configure-target-winsup
47194 @: $(MAKE); $(unstage)
47195 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47196 r=`${PWD_COMMAND}`; export r; \
47197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47198 $(NORMAL_TARGET_EXPORTS) \
47199 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
47200 for flag in $(EXTRA_TARGET_FLAGS); do \
47201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47202 done; \
47203 (cd $(TARGET_SUBDIR)/winsup && \
47204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47206 "RANLIB=$${RANLIB}" \
47207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47208 TAGS) \
47209 || exit 1
47211 @endif target-winsup
47213 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
47214 maybe-install-info-target-winsup:
47215 @if target-winsup
47216 maybe-install-info-target-winsup: install-info-target-winsup
47218 install-info-target-winsup: \
47219 configure-target-winsup \
47220 info-target-winsup
47221 @: $(MAKE); $(unstage)
47222 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47223 r=`${PWD_COMMAND}`; export r; \
47224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47225 $(NORMAL_TARGET_EXPORTS) \
47226 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
47227 for flag in $(EXTRA_TARGET_FLAGS); do \
47228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47229 done; \
47230 (cd $(TARGET_SUBDIR)/winsup && \
47231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47233 "RANLIB=$${RANLIB}" \
47234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47235 install-info) \
47236 || exit 1
47238 @endif target-winsup
47240 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
47241 maybe-install-pdf-target-winsup:
47242 @if target-winsup
47243 maybe-install-pdf-target-winsup: install-pdf-target-winsup
47245 install-pdf-target-winsup: \
47246 configure-target-winsup \
47247 pdf-target-winsup
47248 @: $(MAKE); $(unstage)
47249 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47250 r=`${PWD_COMMAND}`; export r; \
47251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47252 $(NORMAL_TARGET_EXPORTS) \
47253 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
47254 for flag in $(EXTRA_TARGET_FLAGS); do \
47255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47256 done; \
47257 (cd $(TARGET_SUBDIR)/winsup && \
47258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47260 "RANLIB=$${RANLIB}" \
47261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47262 install-pdf) \
47263 || exit 1
47265 @endif target-winsup
47267 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
47268 maybe-install-html-target-winsup:
47269 @if target-winsup
47270 maybe-install-html-target-winsup: install-html-target-winsup
47272 install-html-target-winsup: \
47273 configure-target-winsup \
47274 html-target-winsup
47275 @: $(MAKE); $(unstage)
47276 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47277 r=`${PWD_COMMAND}`; export r; \
47278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47279 $(NORMAL_TARGET_EXPORTS) \
47280 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
47281 for flag in $(EXTRA_TARGET_FLAGS); do \
47282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47283 done; \
47284 (cd $(TARGET_SUBDIR)/winsup && \
47285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47287 "RANLIB=$${RANLIB}" \
47288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47289 install-html) \
47290 || exit 1
47292 @endif target-winsup
47294 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
47295 maybe-installcheck-target-winsup:
47296 @if target-winsup
47297 maybe-installcheck-target-winsup: installcheck-target-winsup
47299 installcheck-target-winsup: \
47300 configure-target-winsup
47301 @: $(MAKE); $(unstage)
47302 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47303 r=`${PWD_COMMAND}`; export r; \
47304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47305 $(NORMAL_TARGET_EXPORTS) \
47306 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
47307 for flag in $(EXTRA_TARGET_FLAGS); do \
47308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47309 done; \
47310 (cd $(TARGET_SUBDIR)/winsup && \
47311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47313 "RANLIB=$${RANLIB}" \
47314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47315 installcheck) \
47316 || exit 1
47318 @endif target-winsup
47320 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
47321 maybe-mostlyclean-target-winsup:
47322 @if target-winsup
47323 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
47325 mostlyclean-target-winsup:
47326 @: $(MAKE); $(unstage)
47327 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47328 r=`${PWD_COMMAND}`; export r; \
47329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47330 $(NORMAL_TARGET_EXPORTS) \
47331 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
47332 for flag in $(EXTRA_TARGET_FLAGS); do \
47333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47334 done; \
47335 (cd $(TARGET_SUBDIR)/winsup && \
47336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47338 "RANLIB=$${RANLIB}" \
47339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47340 mostlyclean) \
47341 || exit 1
47343 @endif target-winsup
47345 .PHONY: maybe-clean-target-winsup clean-target-winsup
47346 maybe-clean-target-winsup:
47347 @if target-winsup
47348 maybe-clean-target-winsup: clean-target-winsup
47350 clean-target-winsup:
47351 @: $(MAKE); $(unstage)
47352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47353 r=`${PWD_COMMAND}`; export r; \
47354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47355 $(NORMAL_TARGET_EXPORTS) \
47356 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
47357 for flag in $(EXTRA_TARGET_FLAGS); do \
47358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47359 done; \
47360 (cd $(TARGET_SUBDIR)/winsup && \
47361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47363 "RANLIB=$${RANLIB}" \
47364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47365 clean) \
47366 || exit 1
47368 @endif target-winsup
47370 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
47371 maybe-distclean-target-winsup:
47372 @if target-winsup
47373 maybe-distclean-target-winsup: distclean-target-winsup
47375 distclean-target-winsup:
47376 @: $(MAKE); $(unstage)
47377 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47378 r=`${PWD_COMMAND}`; export r; \
47379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47380 $(NORMAL_TARGET_EXPORTS) \
47381 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
47382 for flag in $(EXTRA_TARGET_FLAGS); do \
47383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47384 done; \
47385 (cd $(TARGET_SUBDIR)/winsup && \
47386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47388 "RANLIB=$${RANLIB}" \
47389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47390 distclean) \
47391 || exit 1
47393 @endif target-winsup
47395 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
47396 maybe-maintainer-clean-target-winsup:
47397 @if target-winsup
47398 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
47400 maintainer-clean-target-winsup:
47401 @: $(MAKE); $(unstage)
47402 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47403 r=`${PWD_COMMAND}`; export r; \
47404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47405 $(NORMAL_TARGET_EXPORTS) \
47406 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
47407 for flag in $(EXTRA_TARGET_FLAGS); do \
47408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47409 done; \
47410 (cd $(TARGET_SUBDIR)/winsup && \
47411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47413 "RANLIB=$${RANLIB}" \
47414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47415 maintainer-clean) \
47416 || exit 1
47418 @endif target-winsup
47424 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
47425 maybe-configure-target-libgloss:
47426 @if gcc-bootstrap
47427 configure-target-libgloss: stage_current
47428 @endif gcc-bootstrap
47429 @if target-libgloss
47430 maybe-configure-target-libgloss: configure-target-libgloss
47431 configure-target-libgloss:
47432 @: $(MAKE); $(unstage)
47433 @r=`${PWD_COMMAND}`; export r; \
47434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47435 echo "Checking multilib configuration for libgloss..."; \
47436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47437 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
47438 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47439 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47440 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
47441 else \
47442 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
47443 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47444 fi; \
47445 else \
47446 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47447 fi; \
47448 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47449 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47450 $(NORMAL_TARGET_EXPORTS) \
47451 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47452 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47453 case $(srcdir) in \
47454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47455 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47457 esac; \
47458 module_srcdir=libgloss; \
47459 rm -f no-such-file || : ; \
47460 CONFIG_SITE=no-such-file $(SHELL) \
47461 $$s/$$module_srcdir/configure \
47462 --srcdir=$${topdir}/$$module_srcdir \
47463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47464 --target=${target_alias} \
47465 || exit 1
47466 @endif target-libgloss
47472 .PHONY: all-target-libgloss maybe-all-target-libgloss
47473 maybe-all-target-libgloss:
47474 @if gcc-bootstrap
47475 all-target-libgloss: stage_current
47476 @endif gcc-bootstrap
47477 @if target-libgloss
47478 TARGET-target-libgloss=all
47479 maybe-all-target-libgloss: all-target-libgloss
47480 all-target-libgloss: configure-target-libgloss
47481 @: $(MAKE); $(unstage)
47482 @r=`${PWD_COMMAND}`; export r; \
47483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47484 $(NORMAL_TARGET_EXPORTS) \
47485 (cd $(TARGET_SUBDIR)/libgloss && \
47486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47487 $(TARGET-target-libgloss))
47488 @endif target-libgloss
47494 .PHONY: check-target-libgloss maybe-check-target-libgloss
47495 maybe-check-target-libgloss:
47496 @if target-libgloss
47497 maybe-check-target-libgloss: check-target-libgloss
47499 # Dummy target for uncheckable module.
47500 check-target-libgloss:
47502 @endif target-libgloss
47504 .PHONY: install-target-libgloss maybe-install-target-libgloss
47505 maybe-install-target-libgloss:
47506 @if target-libgloss
47507 maybe-install-target-libgloss: install-target-libgloss
47509 install-target-libgloss: installdirs
47510 @: $(MAKE); $(unstage)
47511 @r=`${PWD_COMMAND}`; export r; \
47512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47513 $(NORMAL_TARGET_EXPORTS) \
47514 (cd $(TARGET_SUBDIR)/libgloss && \
47515 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47517 @endif target-libgloss
47519 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
47520 maybe-install-strip-target-libgloss:
47521 @if target-libgloss
47522 maybe-install-strip-target-libgloss: install-strip-target-libgloss
47524 install-strip-target-libgloss: installdirs
47525 @: $(MAKE); $(unstage)
47526 @r=`${PWD_COMMAND}`; export r; \
47527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47528 $(NORMAL_TARGET_EXPORTS) \
47529 (cd $(TARGET_SUBDIR)/libgloss && \
47530 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47532 @endif target-libgloss
47534 # Other targets (info, dvi, pdf, etc.)
47536 .PHONY: maybe-info-target-libgloss info-target-libgloss
47537 maybe-info-target-libgloss:
47538 @if target-libgloss
47539 maybe-info-target-libgloss: info-target-libgloss
47541 info-target-libgloss: \
47542 configure-target-libgloss
47543 @: $(MAKE); $(unstage)
47544 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47545 r=`${PWD_COMMAND}`; export r; \
47546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47547 $(NORMAL_TARGET_EXPORTS) \
47548 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
47549 for flag in $(EXTRA_TARGET_FLAGS); do \
47550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47551 done; \
47552 (cd $(TARGET_SUBDIR)/libgloss && \
47553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47555 "RANLIB=$${RANLIB}" \
47556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47557 info) \
47558 || exit 1
47560 @endif target-libgloss
47562 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47563 maybe-dvi-target-libgloss:
47564 @if target-libgloss
47565 maybe-dvi-target-libgloss: dvi-target-libgloss
47567 dvi-target-libgloss: \
47568 configure-target-libgloss
47569 @: $(MAKE); $(unstage)
47570 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47571 r=`${PWD_COMMAND}`; export r; \
47572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47573 $(NORMAL_TARGET_EXPORTS) \
47574 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
47575 for flag in $(EXTRA_TARGET_FLAGS); do \
47576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47577 done; \
47578 (cd $(TARGET_SUBDIR)/libgloss && \
47579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47581 "RANLIB=$${RANLIB}" \
47582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47583 dvi) \
47584 || exit 1
47586 @endif target-libgloss
47588 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47589 maybe-pdf-target-libgloss:
47590 @if target-libgloss
47591 maybe-pdf-target-libgloss: pdf-target-libgloss
47593 pdf-target-libgloss: \
47594 configure-target-libgloss
47595 @: $(MAKE); $(unstage)
47596 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47597 r=`${PWD_COMMAND}`; export r; \
47598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47599 $(NORMAL_TARGET_EXPORTS) \
47600 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
47601 for flag in $(EXTRA_TARGET_FLAGS); do \
47602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47603 done; \
47604 (cd $(TARGET_SUBDIR)/libgloss && \
47605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47607 "RANLIB=$${RANLIB}" \
47608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47609 pdf) \
47610 || exit 1
47612 @endif target-libgloss
47614 .PHONY: maybe-html-target-libgloss html-target-libgloss
47615 maybe-html-target-libgloss:
47616 @if target-libgloss
47617 maybe-html-target-libgloss: html-target-libgloss
47619 html-target-libgloss: \
47620 configure-target-libgloss
47621 @: $(MAKE); $(unstage)
47622 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47623 r=`${PWD_COMMAND}`; export r; \
47624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47625 $(NORMAL_TARGET_EXPORTS) \
47626 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
47627 for flag in $(EXTRA_TARGET_FLAGS); do \
47628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47629 done; \
47630 (cd $(TARGET_SUBDIR)/libgloss && \
47631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47633 "RANLIB=$${RANLIB}" \
47634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47635 html) \
47636 || exit 1
47638 @endif target-libgloss
47640 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
47641 maybe-TAGS-target-libgloss:
47642 @if target-libgloss
47643 maybe-TAGS-target-libgloss: TAGS-target-libgloss
47645 TAGS-target-libgloss: \
47646 configure-target-libgloss
47647 @: $(MAKE); $(unstage)
47648 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47649 r=`${PWD_COMMAND}`; export r; \
47650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47651 $(NORMAL_TARGET_EXPORTS) \
47652 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
47653 for flag in $(EXTRA_TARGET_FLAGS); do \
47654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47655 done; \
47656 (cd $(TARGET_SUBDIR)/libgloss && \
47657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47659 "RANLIB=$${RANLIB}" \
47660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47661 TAGS) \
47662 || exit 1
47664 @endif target-libgloss
47666 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
47667 maybe-install-info-target-libgloss:
47668 @if target-libgloss
47669 maybe-install-info-target-libgloss: install-info-target-libgloss
47671 install-info-target-libgloss: \
47672 configure-target-libgloss \
47673 info-target-libgloss
47674 @: $(MAKE); $(unstage)
47675 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47676 r=`${PWD_COMMAND}`; export r; \
47677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47678 $(NORMAL_TARGET_EXPORTS) \
47679 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
47680 for flag in $(EXTRA_TARGET_FLAGS); do \
47681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47682 done; \
47683 (cd $(TARGET_SUBDIR)/libgloss && \
47684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47686 "RANLIB=$${RANLIB}" \
47687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47688 install-info) \
47689 || exit 1
47691 @endif target-libgloss
47693 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
47694 maybe-install-pdf-target-libgloss:
47695 @if target-libgloss
47696 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
47698 install-pdf-target-libgloss: \
47699 configure-target-libgloss \
47700 pdf-target-libgloss
47701 @: $(MAKE); $(unstage)
47702 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47703 r=`${PWD_COMMAND}`; export r; \
47704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47705 $(NORMAL_TARGET_EXPORTS) \
47706 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
47707 for flag in $(EXTRA_TARGET_FLAGS); do \
47708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47709 done; \
47710 (cd $(TARGET_SUBDIR)/libgloss && \
47711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47713 "RANLIB=$${RANLIB}" \
47714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47715 install-pdf) \
47716 || exit 1
47718 @endif target-libgloss
47720 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
47721 maybe-install-html-target-libgloss:
47722 @if target-libgloss
47723 maybe-install-html-target-libgloss: install-html-target-libgloss
47725 install-html-target-libgloss: \
47726 configure-target-libgloss \
47727 html-target-libgloss
47728 @: $(MAKE); $(unstage)
47729 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47730 r=`${PWD_COMMAND}`; export r; \
47731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47732 $(NORMAL_TARGET_EXPORTS) \
47733 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
47734 for flag in $(EXTRA_TARGET_FLAGS); do \
47735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47736 done; \
47737 (cd $(TARGET_SUBDIR)/libgloss && \
47738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47740 "RANLIB=$${RANLIB}" \
47741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47742 install-html) \
47743 || exit 1
47745 @endif target-libgloss
47747 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
47748 maybe-installcheck-target-libgloss:
47749 @if target-libgloss
47750 maybe-installcheck-target-libgloss: installcheck-target-libgloss
47752 installcheck-target-libgloss: \
47753 configure-target-libgloss
47754 @: $(MAKE); $(unstage)
47755 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47756 r=`${PWD_COMMAND}`; export r; \
47757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47758 $(NORMAL_TARGET_EXPORTS) \
47759 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
47760 for flag in $(EXTRA_TARGET_FLAGS); do \
47761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47762 done; \
47763 (cd $(TARGET_SUBDIR)/libgloss && \
47764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47766 "RANLIB=$${RANLIB}" \
47767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47768 installcheck) \
47769 || exit 1
47771 @endif target-libgloss
47773 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
47774 maybe-mostlyclean-target-libgloss:
47775 @if target-libgloss
47776 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
47778 mostlyclean-target-libgloss:
47779 @: $(MAKE); $(unstage)
47780 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47781 r=`${PWD_COMMAND}`; export r; \
47782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47783 $(NORMAL_TARGET_EXPORTS) \
47784 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
47785 for flag in $(EXTRA_TARGET_FLAGS); do \
47786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47787 done; \
47788 (cd $(TARGET_SUBDIR)/libgloss && \
47789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47791 "RANLIB=$${RANLIB}" \
47792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47793 mostlyclean) \
47794 || exit 1
47796 @endif target-libgloss
47798 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
47799 maybe-clean-target-libgloss:
47800 @if target-libgloss
47801 maybe-clean-target-libgloss: clean-target-libgloss
47803 clean-target-libgloss:
47804 @: $(MAKE); $(unstage)
47805 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47806 r=`${PWD_COMMAND}`; export r; \
47807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47808 $(NORMAL_TARGET_EXPORTS) \
47809 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
47810 for flag in $(EXTRA_TARGET_FLAGS); do \
47811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47812 done; \
47813 (cd $(TARGET_SUBDIR)/libgloss && \
47814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47816 "RANLIB=$${RANLIB}" \
47817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47818 clean) \
47819 || exit 1
47821 @endif target-libgloss
47823 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
47824 maybe-distclean-target-libgloss:
47825 @if target-libgloss
47826 maybe-distclean-target-libgloss: distclean-target-libgloss
47828 distclean-target-libgloss:
47829 @: $(MAKE); $(unstage)
47830 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47831 r=`${PWD_COMMAND}`; export r; \
47832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47833 $(NORMAL_TARGET_EXPORTS) \
47834 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
47835 for flag in $(EXTRA_TARGET_FLAGS); do \
47836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47837 done; \
47838 (cd $(TARGET_SUBDIR)/libgloss && \
47839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47841 "RANLIB=$${RANLIB}" \
47842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47843 distclean) \
47844 || exit 1
47846 @endif target-libgloss
47848 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
47849 maybe-maintainer-clean-target-libgloss:
47850 @if target-libgloss
47851 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
47853 maintainer-clean-target-libgloss:
47854 @: $(MAKE); $(unstage)
47855 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47856 r=`${PWD_COMMAND}`; export r; \
47857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47858 $(NORMAL_TARGET_EXPORTS) \
47859 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
47860 for flag in $(EXTRA_TARGET_FLAGS); do \
47861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47862 done; \
47863 (cd $(TARGET_SUBDIR)/libgloss && \
47864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47866 "RANLIB=$${RANLIB}" \
47867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47868 maintainer-clean) \
47869 || exit 1
47871 @endif target-libgloss
47877 .PHONY: configure-target-libffi maybe-configure-target-libffi
47878 maybe-configure-target-libffi:
47879 @if gcc-bootstrap
47880 configure-target-libffi: stage_current
47881 @endif gcc-bootstrap
47882 @if target-libffi
47883 maybe-configure-target-libffi: configure-target-libffi
47884 configure-target-libffi:
47885 @: $(MAKE); $(unstage)
47886 @r=`${PWD_COMMAND}`; export r; \
47887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47888 echo "Checking multilib configuration for libffi..."; \
47889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
47891 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
47892 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
47893 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
47894 else \
47895 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
47896 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47897 fi; \
47898 else \
47899 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47900 fi; \
47901 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
47902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47903 $(NORMAL_TARGET_EXPORTS) \
47904 echo Configuring in $(TARGET_SUBDIR)/libffi; \
47905 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
47906 case $(srcdir) in \
47907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47908 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
47909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47910 esac; \
47911 module_srcdir=libffi; \
47912 rm -f no-such-file || : ; \
47913 CONFIG_SITE=no-such-file $(SHELL) \
47914 $$s/$$module_srcdir/configure \
47915 --srcdir=$${topdir}/$$module_srcdir \
47916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47917 --target=${target_alias} \
47918 || exit 1
47919 @endif target-libffi
47925 .PHONY: all-target-libffi maybe-all-target-libffi
47926 maybe-all-target-libffi:
47927 @if gcc-bootstrap
47928 all-target-libffi: stage_current
47929 @endif gcc-bootstrap
47930 @if target-libffi
47931 TARGET-target-libffi=all
47932 maybe-all-target-libffi: all-target-libffi
47933 all-target-libffi: configure-target-libffi
47934 @: $(MAKE); $(unstage)
47935 @r=`${PWD_COMMAND}`; export r; \
47936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47937 $(NORMAL_TARGET_EXPORTS) \
47938 (cd $(TARGET_SUBDIR)/libffi && \
47939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47940 $(TARGET-target-libffi))
47941 @endif target-libffi
47947 .PHONY: check-target-libffi maybe-check-target-libffi
47948 maybe-check-target-libffi:
47949 @if target-libffi
47950 maybe-check-target-libffi: check-target-libffi
47952 check-target-libffi:
47953 @: $(MAKE); $(unstage)
47954 @r=`${PWD_COMMAND}`; export r; \
47955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47956 $(NORMAL_TARGET_EXPORTS) \
47957 (cd $(TARGET_SUBDIR)/libffi && \
47958 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47960 @endif target-libffi
47962 .PHONY: install-target-libffi maybe-install-target-libffi
47963 maybe-install-target-libffi:
47964 @if target-libffi
47965 maybe-install-target-libffi: install-target-libffi
47967 # Dummy target for uninstallable.
47968 install-target-libffi:
47970 @endif target-libffi
47972 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
47973 maybe-install-strip-target-libffi:
47974 @if target-libffi
47975 maybe-install-strip-target-libffi: install-strip-target-libffi
47977 # Dummy target for uninstallable.
47978 install-strip-target-libffi:
47980 @endif target-libffi
47982 # Other targets (info, dvi, pdf, etc.)
47984 .PHONY: maybe-info-target-libffi info-target-libffi
47985 maybe-info-target-libffi:
47986 @if target-libffi
47987 maybe-info-target-libffi: info-target-libffi
47989 info-target-libffi: \
47990 configure-target-libffi
47991 @: $(MAKE); $(unstage)
47992 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47993 r=`${PWD_COMMAND}`; export r; \
47994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47995 $(NORMAL_TARGET_EXPORTS) \
47996 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
47997 for flag in $(EXTRA_TARGET_FLAGS); do \
47998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47999 done; \
48000 (cd $(TARGET_SUBDIR)/libffi && \
48001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48003 "RANLIB=$${RANLIB}" \
48004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48005 info) \
48006 || exit 1
48008 @endif target-libffi
48010 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
48011 maybe-dvi-target-libffi:
48012 @if target-libffi
48013 maybe-dvi-target-libffi: dvi-target-libffi
48015 dvi-target-libffi: \
48016 configure-target-libffi
48017 @: $(MAKE); $(unstage)
48018 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48019 r=`${PWD_COMMAND}`; export r; \
48020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48021 $(NORMAL_TARGET_EXPORTS) \
48022 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
48023 for flag in $(EXTRA_TARGET_FLAGS); do \
48024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48025 done; \
48026 (cd $(TARGET_SUBDIR)/libffi && \
48027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48029 "RANLIB=$${RANLIB}" \
48030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48031 dvi) \
48032 || exit 1
48034 @endif target-libffi
48036 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
48037 maybe-pdf-target-libffi:
48038 @if target-libffi
48039 maybe-pdf-target-libffi: pdf-target-libffi
48041 pdf-target-libffi: \
48042 configure-target-libffi
48043 @: $(MAKE); $(unstage)
48044 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48045 r=`${PWD_COMMAND}`; export r; \
48046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48047 $(NORMAL_TARGET_EXPORTS) \
48048 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
48049 for flag in $(EXTRA_TARGET_FLAGS); do \
48050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48051 done; \
48052 (cd $(TARGET_SUBDIR)/libffi && \
48053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48055 "RANLIB=$${RANLIB}" \
48056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48057 pdf) \
48058 || exit 1
48060 @endif target-libffi
48062 .PHONY: maybe-html-target-libffi html-target-libffi
48063 maybe-html-target-libffi:
48064 @if target-libffi
48065 maybe-html-target-libffi: html-target-libffi
48067 html-target-libffi: \
48068 configure-target-libffi
48069 @: $(MAKE); $(unstage)
48070 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48071 r=`${PWD_COMMAND}`; export r; \
48072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48073 $(NORMAL_TARGET_EXPORTS) \
48074 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
48075 for flag in $(EXTRA_TARGET_FLAGS); do \
48076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48077 done; \
48078 (cd $(TARGET_SUBDIR)/libffi && \
48079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48081 "RANLIB=$${RANLIB}" \
48082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48083 html) \
48084 || exit 1
48086 @endif target-libffi
48088 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
48089 maybe-TAGS-target-libffi:
48090 @if target-libffi
48091 maybe-TAGS-target-libffi: TAGS-target-libffi
48093 TAGS-target-libffi: \
48094 configure-target-libffi
48095 @: $(MAKE); $(unstage)
48096 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48097 r=`${PWD_COMMAND}`; export r; \
48098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48099 $(NORMAL_TARGET_EXPORTS) \
48100 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
48101 for flag in $(EXTRA_TARGET_FLAGS); do \
48102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48103 done; \
48104 (cd $(TARGET_SUBDIR)/libffi && \
48105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48107 "RANLIB=$${RANLIB}" \
48108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48109 TAGS) \
48110 || exit 1
48112 @endif target-libffi
48114 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
48115 maybe-install-info-target-libffi:
48116 @if target-libffi
48117 maybe-install-info-target-libffi: install-info-target-libffi
48119 install-info-target-libffi: \
48120 configure-target-libffi \
48121 info-target-libffi
48122 @: $(MAKE); $(unstage)
48123 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48124 r=`${PWD_COMMAND}`; export r; \
48125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48126 $(NORMAL_TARGET_EXPORTS) \
48127 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
48128 for flag in $(EXTRA_TARGET_FLAGS); do \
48129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48130 done; \
48131 (cd $(TARGET_SUBDIR)/libffi && \
48132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48134 "RANLIB=$${RANLIB}" \
48135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48136 install-info) \
48137 || exit 1
48139 @endif target-libffi
48141 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
48142 maybe-install-pdf-target-libffi:
48143 @if target-libffi
48144 maybe-install-pdf-target-libffi: install-pdf-target-libffi
48146 install-pdf-target-libffi: \
48147 configure-target-libffi \
48148 pdf-target-libffi
48149 @: $(MAKE); $(unstage)
48150 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48151 r=`${PWD_COMMAND}`; export r; \
48152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48153 $(NORMAL_TARGET_EXPORTS) \
48154 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
48155 for flag in $(EXTRA_TARGET_FLAGS); do \
48156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48157 done; \
48158 (cd $(TARGET_SUBDIR)/libffi && \
48159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48161 "RANLIB=$${RANLIB}" \
48162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48163 install-pdf) \
48164 || exit 1
48166 @endif target-libffi
48168 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
48169 maybe-install-html-target-libffi:
48170 @if target-libffi
48171 maybe-install-html-target-libffi: install-html-target-libffi
48173 install-html-target-libffi: \
48174 configure-target-libffi \
48175 html-target-libffi
48176 @: $(MAKE); $(unstage)
48177 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48178 r=`${PWD_COMMAND}`; export r; \
48179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48180 $(NORMAL_TARGET_EXPORTS) \
48181 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
48182 for flag in $(EXTRA_TARGET_FLAGS); do \
48183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48184 done; \
48185 (cd $(TARGET_SUBDIR)/libffi && \
48186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48188 "RANLIB=$${RANLIB}" \
48189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48190 install-html) \
48191 || exit 1
48193 @endif target-libffi
48195 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
48196 maybe-installcheck-target-libffi:
48197 @if target-libffi
48198 maybe-installcheck-target-libffi: installcheck-target-libffi
48200 installcheck-target-libffi: \
48201 configure-target-libffi
48202 @: $(MAKE); $(unstage)
48203 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48204 r=`${PWD_COMMAND}`; export r; \
48205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48206 $(NORMAL_TARGET_EXPORTS) \
48207 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
48208 for flag in $(EXTRA_TARGET_FLAGS); do \
48209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48210 done; \
48211 (cd $(TARGET_SUBDIR)/libffi && \
48212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48214 "RANLIB=$${RANLIB}" \
48215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48216 installcheck) \
48217 || exit 1
48219 @endif target-libffi
48221 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
48222 maybe-mostlyclean-target-libffi:
48223 @if target-libffi
48224 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
48226 mostlyclean-target-libffi:
48227 @: $(MAKE); $(unstage)
48228 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48229 r=`${PWD_COMMAND}`; export r; \
48230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48231 $(NORMAL_TARGET_EXPORTS) \
48232 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
48233 for flag in $(EXTRA_TARGET_FLAGS); do \
48234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48235 done; \
48236 (cd $(TARGET_SUBDIR)/libffi && \
48237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48239 "RANLIB=$${RANLIB}" \
48240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48241 mostlyclean) \
48242 || exit 1
48244 @endif target-libffi
48246 .PHONY: maybe-clean-target-libffi clean-target-libffi
48247 maybe-clean-target-libffi:
48248 @if target-libffi
48249 maybe-clean-target-libffi: clean-target-libffi
48251 clean-target-libffi:
48252 @: $(MAKE); $(unstage)
48253 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48254 r=`${PWD_COMMAND}`; export r; \
48255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48256 $(NORMAL_TARGET_EXPORTS) \
48257 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
48258 for flag in $(EXTRA_TARGET_FLAGS); do \
48259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48260 done; \
48261 (cd $(TARGET_SUBDIR)/libffi && \
48262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48264 "RANLIB=$${RANLIB}" \
48265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48266 clean) \
48267 || exit 1
48269 @endif target-libffi
48271 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
48272 maybe-distclean-target-libffi:
48273 @if target-libffi
48274 maybe-distclean-target-libffi: distclean-target-libffi
48276 distclean-target-libffi:
48277 @: $(MAKE); $(unstage)
48278 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48279 r=`${PWD_COMMAND}`; export r; \
48280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48281 $(NORMAL_TARGET_EXPORTS) \
48282 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
48283 for flag in $(EXTRA_TARGET_FLAGS); do \
48284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48285 done; \
48286 (cd $(TARGET_SUBDIR)/libffi && \
48287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48289 "RANLIB=$${RANLIB}" \
48290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48291 distclean) \
48292 || exit 1
48294 @endif target-libffi
48296 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
48297 maybe-maintainer-clean-target-libffi:
48298 @if target-libffi
48299 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
48301 maintainer-clean-target-libffi:
48302 @: $(MAKE); $(unstage)
48303 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48304 r=`${PWD_COMMAND}`; export r; \
48305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48306 $(NORMAL_TARGET_EXPORTS) \
48307 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
48308 for flag in $(EXTRA_TARGET_FLAGS); do \
48309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48310 done; \
48311 (cd $(TARGET_SUBDIR)/libffi && \
48312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48314 "RANLIB=$${RANLIB}" \
48315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48316 maintainer-clean) \
48317 || exit 1
48319 @endif target-libffi
48325 .PHONY: configure-target-zlib maybe-configure-target-zlib
48326 maybe-configure-target-zlib:
48327 @if gcc-bootstrap
48328 configure-target-zlib: stage_current
48329 @endif gcc-bootstrap
48330 @if target-zlib
48331 maybe-configure-target-zlib: configure-target-zlib
48332 configure-target-zlib:
48333 @: $(MAKE); $(unstage)
48334 @r=`${PWD_COMMAND}`; export r; \
48335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48336 echo "Checking multilib configuration for zlib..."; \
48337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48338 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
48339 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
48340 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
48341 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
48342 else \
48343 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
48344 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48345 fi; \
48346 else \
48347 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48348 fi; \
48349 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
48350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48351 $(NORMAL_TARGET_EXPORTS) \
48352 echo Configuring in $(TARGET_SUBDIR)/zlib; \
48353 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
48354 case $(srcdir) in \
48355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48356 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
48357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48358 esac; \
48359 module_srcdir=zlib; \
48360 rm -f no-such-file || : ; \
48361 CONFIG_SITE=no-such-file $(SHELL) \
48362 $$s/$$module_srcdir/configure \
48363 --srcdir=$${topdir}/$$module_srcdir \
48364 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48365 --target=${target_alias} \
48366 || exit 1
48367 @endif target-zlib
48373 .PHONY: all-target-zlib maybe-all-target-zlib
48374 maybe-all-target-zlib:
48375 @if gcc-bootstrap
48376 all-target-zlib: stage_current
48377 @endif gcc-bootstrap
48378 @if target-zlib
48379 TARGET-target-zlib=all
48380 maybe-all-target-zlib: all-target-zlib
48381 all-target-zlib: configure-target-zlib
48382 @: $(MAKE); $(unstage)
48383 @r=`${PWD_COMMAND}`; export r; \
48384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48385 $(NORMAL_TARGET_EXPORTS) \
48386 (cd $(TARGET_SUBDIR)/zlib && \
48387 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48388 $(TARGET-target-zlib))
48389 @endif target-zlib
48395 .PHONY: check-target-zlib maybe-check-target-zlib
48396 maybe-check-target-zlib:
48397 @if target-zlib
48398 maybe-check-target-zlib: check-target-zlib
48400 check-target-zlib:
48401 @: $(MAKE); $(unstage)
48402 @r=`${PWD_COMMAND}`; export r; \
48403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48404 $(NORMAL_TARGET_EXPORTS) \
48405 (cd $(TARGET_SUBDIR)/zlib && \
48406 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48408 @endif target-zlib
48410 .PHONY: install-target-zlib maybe-install-target-zlib
48411 maybe-install-target-zlib:
48412 @if target-zlib
48413 maybe-install-target-zlib: install-target-zlib
48415 install-target-zlib: installdirs
48416 @: $(MAKE); $(unstage)
48417 @r=`${PWD_COMMAND}`; export r; \
48418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48419 $(NORMAL_TARGET_EXPORTS) \
48420 (cd $(TARGET_SUBDIR)/zlib && \
48421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48423 @endif target-zlib
48425 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
48426 maybe-install-strip-target-zlib:
48427 @if target-zlib
48428 maybe-install-strip-target-zlib: install-strip-target-zlib
48430 install-strip-target-zlib: installdirs
48431 @: $(MAKE); $(unstage)
48432 @r=`${PWD_COMMAND}`; export r; \
48433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48434 $(NORMAL_TARGET_EXPORTS) \
48435 (cd $(TARGET_SUBDIR)/zlib && \
48436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48438 @endif target-zlib
48440 # Other targets (info, dvi, pdf, etc.)
48442 .PHONY: maybe-info-target-zlib info-target-zlib
48443 maybe-info-target-zlib:
48444 @if target-zlib
48445 maybe-info-target-zlib: info-target-zlib
48447 info-target-zlib: \
48448 configure-target-zlib
48449 @: $(MAKE); $(unstage)
48450 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48451 r=`${PWD_COMMAND}`; export r; \
48452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48453 $(NORMAL_TARGET_EXPORTS) \
48454 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
48455 for flag in $(EXTRA_TARGET_FLAGS); do \
48456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48457 done; \
48458 (cd $(TARGET_SUBDIR)/zlib && \
48459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48461 "RANLIB=$${RANLIB}" \
48462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48463 info) \
48464 || exit 1
48466 @endif target-zlib
48468 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
48469 maybe-dvi-target-zlib:
48470 @if target-zlib
48471 maybe-dvi-target-zlib: dvi-target-zlib
48473 dvi-target-zlib: \
48474 configure-target-zlib
48475 @: $(MAKE); $(unstage)
48476 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48477 r=`${PWD_COMMAND}`; export r; \
48478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48479 $(NORMAL_TARGET_EXPORTS) \
48480 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
48481 for flag in $(EXTRA_TARGET_FLAGS); do \
48482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48483 done; \
48484 (cd $(TARGET_SUBDIR)/zlib && \
48485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48487 "RANLIB=$${RANLIB}" \
48488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48489 dvi) \
48490 || exit 1
48492 @endif target-zlib
48494 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
48495 maybe-pdf-target-zlib:
48496 @if target-zlib
48497 maybe-pdf-target-zlib: pdf-target-zlib
48499 pdf-target-zlib: \
48500 configure-target-zlib
48501 @: $(MAKE); $(unstage)
48502 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48503 r=`${PWD_COMMAND}`; export r; \
48504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48505 $(NORMAL_TARGET_EXPORTS) \
48506 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
48507 for flag in $(EXTRA_TARGET_FLAGS); do \
48508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48509 done; \
48510 (cd $(TARGET_SUBDIR)/zlib && \
48511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48513 "RANLIB=$${RANLIB}" \
48514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48515 pdf) \
48516 || exit 1
48518 @endif target-zlib
48520 .PHONY: maybe-html-target-zlib html-target-zlib
48521 maybe-html-target-zlib:
48522 @if target-zlib
48523 maybe-html-target-zlib: html-target-zlib
48525 html-target-zlib: \
48526 configure-target-zlib
48527 @: $(MAKE); $(unstage)
48528 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48529 r=`${PWD_COMMAND}`; export r; \
48530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48531 $(NORMAL_TARGET_EXPORTS) \
48532 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
48533 for flag in $(EXTRA_TARGET_FLAGS); do \
48534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48535 done; \
48536 (cd $(TARGET_SUBDIR)/zlib && \
48537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48539 "RANLIB=$${RANLIB}" \
48540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48541 html) \
48542 || exit 1
48544 @endif target-zlib
48546 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
48547 maybe-TAGS-target-zlib:
48548 @if target-zlib
48549 maybe-TAGS-target-zlib: TAGS-target-zlib
48551 TAGS-target-zlib: \
48552 configure-target-zlib
48553 @: $(MAKE); $(unstage)
48554 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48555 r=`${PWD_COMMAND}`; export r; \
48556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48557 $(NORMAL_TARGET_EXPORTS) \
48558 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
48559 for flag in $(EXTRA_TARGET_FLAGS); do \
48560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48561 done; \
48562 (cd $(TARGET_SUBDIR)/zlib && \
48563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48565 "RANLIB=$${RANLIB}" \
48566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48567 TAGS) \
48568 || exit 1
48570 @endif target-zlib
48572 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
48573 maybe-install-info-target-zlib:
48574 @if target-zlib
48575 maybe-install-info-target-zlib: install-info-target-zlib
48577 install-info-target-zlib: \
48578 configure-target-zlib \
48579 info-target-zlib
48580 @: $(MAKE); $(unstage)
48581 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48582 r=`${PWD_COMMAND}`; export r; \
48583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48584 $(NORMAL_TARGET_EXPORTS) \
48585 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
48586 for flag in $(EXTRA_TARGET_FLAGS); do \
48587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48588 done; \
48589 (cd $(TARGET_SUBDIR)/zlib && \
48590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48592 "RANLIB=$${RANLIB}" \
48593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48594 install-info) \
48595 || exit 1
48597 @endif target-zlib
48599 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
48600 maybe-install-pdf-target-zlib:
48601 @if target-zlib
48602 maybe-install-pdf-target-zlib: install-pdf-target-zlib
48604 install-pdf-target-zlib: \
48605 configure-target-zlib \
48606 pdf-target-zlib
48607 @: $(MAKE); $(unstage)
48608 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48609 r=`${PWD_COMMAND}`; export r; \
48610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48611 $(NORMAL_TARGET_EXPORTS) \
48612 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
48613 for flag in $(EXTRA_TARGET_FLAGS); do \
48614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48615 done; \
48616 (cd $(TARGET_SUBDIR)/zlib && \
48617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48619 "RANLIB=$${RANLIB}" \
48620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48621 install-pdf) \
48622 || exit 1
48624 @endif target-zlib
48626 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
48627 maybe-install-html-target-zlib:
48628 @if target-zlib
48629 maybe-install-html-target-zlib: install-html-target-zlib
48631 install-html-target-zlib: \
48632 configure-target-zlib \
48633 html-target-zlib
48634 @: $(MAKE); $(unstage)
48635 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48636 r=`${PWD_COMMAND}`; export r; \
48637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48638 $(NORMAL_TARGET_EXPORTS) \
48639 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
48640 for flag in $(EXTRA_TARGET_FLAGS); do \
48641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48642 done; \
48643 (cd $(TARGET_SUBDIR)/zlib && \
48644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48646 "RANLIB=$${RANLIB}" \
48647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48648 install-html) \
48649 || exit 1
48651 @endif target-zlib
48653 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
48654 maybe-installcheck-target-zlib:
48655 @if target-zlib
48656 maybe-installcheck-target-zlib: installcheck-target-zlib
48658 installcheck-target-zlib: \
48659 configure-target-zlib
48660 @: $(MAKE); $(unstage)
48661 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48662 r=`${PWD_COMMAND}`; export r; \
48663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48664 $(NORMAL_TARGET_EXPORTS) \
48665 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
48666 for flag in $(EXTRA_TARGET_FLAGS); do \
48667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48668 done; \
48669 (cd $(TARGET_SUBDIR)/zlib && \
48670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48672 "RANLIB=$${RANLIB}" \
48673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48674 installcheck) \
48675 || exit 1
48677 @endif target-zlib
48679 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
48680 maybe-mostlyclean-target-zlib:
48681 @if target-zlib
48682 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
48684 mostlyclean-target-zlib:
48685 @: $(MAKE); $(unstage)
48686 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48687 r=`${PWD_COMMAND}`; export r; \
48688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48689 $(NORMAL_TARGET_EXPORTS) \
48690 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
48691 for flag in $(EXTRA_TARGET_FLAGS); do \
48692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48693 done; \
48694 (cd $(TARGET_SUBDIR)/zlib && \
48695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48697 "RANLIB=$${RANLIB}" \
48698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48699 mostlyclean) \
48700 || exit 1
48702 @endif target-zlib
48704 .PHONY: maybe-clean-target-zlib clean-target-zlib
48705 maybe-clean-target-zlib:
48706 @if target-zlib
48707 maybe-clean-target-zlib: clean-target-zlib
48709 clean-target-zlib:
48710 @: $(MAKE); $(unstage)
48711 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48712 r=`${PWD_COMMAND}`; export r; \
48713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48714 $(NORMAL_TARGET_EXPORTS) \
48715 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
48716 for flag in $(EXTRA_TARGET_FLAGS); do \
48717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48718 done; \
48719 (cd $(TARGET_SUBDIR)/zlib && \
48720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48722 "RANLIB=$${RANLIB}" \
48723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48724 clean) \
48725 || exit 1
48727 @endif target-zlib
48729 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
48730 maybe-distclean-target-zlib:
48731 @if target-zlib
48732 maybe-distclean-target-zlib: distclean-target-zlib
48734 distclean-target-zlib:
48735 @: $(MAKE); $(unstage)
48736 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48737 r=`${PWD_COMMAND}`; export r; \
48738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48739 $(NORMAL_TARGET_EXPORTS) \
48740 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
48741 for flag in $(EXTRA_TARGET_FLAGS); do \
48742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48743 done; \
48744 (cd $(TARGET_SUBDIR)/zlib && \
48745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48747 "RANLIB=$${RANLIB}" \
48748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48749 distclean) \
48750 || exit 1
48752 @endif target-zlib
48754 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
48755 maybe-maintainer-clean-target-zlib:
48756 @if target-zlib
48757 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
48759 maintainer-clean-target-zlib:
48760 @: $(MAKE); $(unstage)
48761 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48762 r=`${PWD_COMMAND}`; export r; \
48763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48764 $(NORMAL_TARGET_EXPORTS) \
48765 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
48766 for flag in $(EXTRA_TARGET_FLAGS); do \
48767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48768 done; \
48769 (cd $(TARGET_SUBDIR)/zlib && \
48770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48772 "RANLIB=$${RANLIB}" \
48773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48774 maintainer-clean) \
48775 || exit 1
48777 @endif target-zlib
48783 .PHONY: configure-target-rda maybe-configure-target-rda
48784 maybe-configure-target-rda:
48785 @if gcc-bootstrap
48786 configure-target-rda: stage_current
48787 @endif gcc-bootstrap
48788 @if target-rda
48789 maybe-configure-target-rda: configure-target-rda
48790 configure-target-rda:
48791 @: $(MAKE); $(unstage)
48792 @r=`${PWD_COMMAND}`; export r; \
48793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48794 echo "Checking multilib configuration for rda..."; \
48795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
48796 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
48797 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
48798 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
48799 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
48800 else \
48801 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
48802 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
48803 fi; \
48804 else \
48805 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
48806 fi; \
48807 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
48808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
48809 $(NORMAL_TARGET_EXPORTS) \
48810 echo Configuring in $(TARGET_SUBDIR)/rda; \
48811 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
48812 case $(srcdir) in \
48813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48814 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
48815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48816 esac; \
48817 module_srcdir=rda; \
48818 rm -f no-such-file || : ; \
48819 CONFIG_SITE=no-such-file $(SHELL) \
48820 $$s/$$module_srcdir/configure \
48821 --srcdir=$${topdir}/$$module_srcdir \
48822 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48823 --target=${target_alias} \
48824 || exit 1
48825 @endif target-rda
48831 .PHONY: all-target-rda maybe-all-target-rda
48832 maybe-all-target-rda:
48833 @if gcc-bootstrap
48834 all-target-rda: stage_current
48835 @endif gcc-bootstrap
48836 @if target-rda
48837 TARGET-target-rda=all
48838 maybe-all-target-rda: all-target-rda
48839 all-target-rda: configure-target-rda
48840 @: $(MAKE); $(unstage)
48841 @r=`${PWD_COMMAND}`; export r; \
48842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48843 $(NORMAL_TARGET_EXPORTS) \
48844 (cd $(TARGET_SUBDIR)/rda && \
48845 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48846 $(TARGET-target-rda))
48847 @endif target-rda
48853 .PHONY: check-target-rda maybe-check-target-rda
48854 maybe-check-target-rda:
48855 @if target-rda
48856 maybe-check-target-rda: check-target-rda
48858 check-target-rda:
48859 @: $(MAKE); $(unstage)
48860 @r=`${PWD_COMMAND}`; export r; \
48861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48862 $(NORMAL_TARGET_EXPORTS) \
48863 (cd $(TARGET_SUBDIR)/rda && \
48864 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48866 @endif target-rda
48868 .PHONY: install-target-rda maybe-install-target-rda
48869 maybe-install-target-rda:
48870 @if target-rda
48871 maybe-install-target-rda: install-target-rda
48873 install-target-rda: installdirs
48874 @: $(MAKE); $(unstage)
48875 @r=`${PWD_COMMAND}`; export r; \
48876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48877 $(NORMAL_TARGET_EXPORTS) \
48878 (cd $(TARGET_SUBDIR)/rda && \
48879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48881 @endif target-rda
48883 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
48884 maybe-install-strip-target-rda:
48885 @if target-rda
48886 maybe-install-strip-target-rda: install-strip-target-rda
48888 install-strip-target-rda: installdirs
48889 @: $(MAKE); $(unstage)
48890 @r=`${PWD_COMMAND}`; export r; \
48891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48892 $(NORMAL_TARGET_EXPORTS) \
48893 (cd $(TARGET_SUBDIR)/rda && \
48894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48896 @endif target-rda
48898 # Other targets (info, dvi, pdf, etc.)
48900 .PHONY: maybe-info-target-rda info-target-rda
48901 maybe-info-target-rda:
48902 @if target-rda
48903 maybe-info-target-rda: info-target-rda
48905 info-target-rda: \
48906 configure-target-rda
48907 @: $(MAKE); $(unstage)
48908 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48909 r=`${PWD_COMMAND}`; export r; \
48910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48911 $(NORMAL_TARGET_EXPORTS) \
48912 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 info) \
48922 || exit 1
48924 @endif target-rda
48926 .PHONY: maybe-dvi-target-rda dvi-target-rda
48927 maybe-dvi-target-rda:
48928 @if target-rda
48929 maybe-dvi-target-rda: dvi-target-rda
48931 dvi-target-rda: \
48932 configure-target-rda
48933 @: $(MAKE); $(unstage)
48934 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48935 r=`${PWD_COMMAND}`; export r; \
48936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48937 $(NORMAL_TARGET_EXPORTS) \
48938 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
48939 for flag in $(EXTRA_TARGET_FLAGS); do \
48940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48941 done; \
48942 (cd $(TARGET_SUBDIR)/rda && \
48943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48945 "RANLIB=$${RANLIB}" \
48946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48947 dvi) \
48948 || exit 1
48950 @endif target-rda
48952 .PHONY: maybe-pdf-target-rda pdf-target-rda
48953 maybe-pdf-target-rda:
48954 @if target-rda
48955 maybe-pdf-target-rda: pdf-target-rda
48957 pdf-target-rda: \
48958 configure-target-rda
48959 @: $(MAKE); $(unstage)
48960 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48961 r=`${PWD_COMMAND}`; export r; \
48962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48963 $(NORMAL_TARGET_EXPORTS) \
48964 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
48965 for flag in $(EXTRA_TARGET_FLAGS); do \
48966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48967 done; \
48968 (cd $(TARGET_SUBDIR)/rda && \
48969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48971 "RANLIB=$${RANLIB}" \
48972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48973 pdf) \
48974 || exit 1
48976 @endif target-rda
48978 .PHONY: maybe-html-target-rda html-target-rda
48979 maybe-html-target-rda:
48980 @if target-rda
48981 maybe-html-target-rda: html-target-rda
48983 html-target-rda: \
48984 configure-target-rda
48985 @: $(MAKE); $(unstage)
48986 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48987 r=`${PWD_COMMAND}`; export r; \
48988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48989 $(NORMAL_TARGET_EXPORTS) \
48990 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
48991 for flag in $(EXTRA_TARGET_FLAGS); do \
48992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48993 done; \
48994 (cd $(TARGET_SUBDIR)/rda && \
48995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48997 "RANLIB=$${RANLIB}" \
48998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48999 html) \
49000 || exit 1
49002 @endif target-rda
49004 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49005 maybe-TAGS-target-rda:
49006 @if target-rda
49007 maybe-TAGS-target-rda: TAGS-target-rda
49009 TAGS-target-rda: \
49010 configure-target-rda
49011 @: $(MAKE); $(unstage)
49012 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49013 r=`${PWD_COMMAND}`; export r; \
49014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49015 $(NORMAL_TARGET_EXPORTS) \
49016 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49017 for flag in $(EXTRA_TARGET_FLAGS); do \
49018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49019 done; \
49020 (cd $(TARGET_SUBDIR)/rda && \
49021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49023 "RANLIB=$${RANLIB}" \
49024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49025 TAGS) \
49026 || exit 1
49028 @endif target-rda
49030 .PHONY: maybe-install-info-target-rda install-info-target-rda
49031 maybe-install-info-target-rda:
49032 @if target-rda
49033 maybe-install-info-target-rda: install-info-target-rda
49035 install-info-target-rda: \
49036 configure-target-rda \
49037 info-target-rda
49038 @: $(MAKE); $(unstage)
49039 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49040 r=`${PWD_COMMAND}`; export r; \
49041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49042 $(NORMAL_TARGET_EXPORTS) \
49043 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49044 for flag in $(EXTRA_TARGET_FLAGS); do \
49045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49046 done; \
49047 (cd $(TARGET_SUBDIR)/rda && \
49048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49050 "RANLIB=$${RANLIB}" \
49051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49052 install-info) \
49053 || exit 1
49055 @endif target-rda
49057 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49058 maybe-install-pdf-target-rda:
49059 @if target-rda
49060 maybe-install-pdf-target-rda: install-pdf-target-rda
49062 install-pdf-target-rda: \
49063 configure-target-rda \
49064 pdf-target-rda
49065 @: $(MAKE); $(unstage)
49066 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49067 r=`${PWD_COMMAND}`; export r; \
49068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49069 $(NORMAL_TARGET_EXPORTS) \
49070 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49071 for flag in $(EXTRA_TARGET_FLAGS); do \
49072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49073 done; \
49074 (cd $(TARGET_SUBDIR)/rda && \
49075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49077 "RANLIB=$${RANLIB}" \
49078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49079 install-pdf) \
49080 || exit 1
49082 @endif target-rda
49084 .PHONY: maybe-install-html-target-rda install-html-target-rda
49085 maybe-install-html-target-rda:
49086 @if target-rda
49087 maybe-install-html-target-rda: install-html-target-rda
49089 install-html-target-rda: \
49090 configure-target-rda \
49091 html-target-rda
49092 @: $(MAKE); $(unstage)
49093 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49094 r=`${PWD_COMMAND}`; export r; \
49095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49096 $(NORMAL_TARGET_EXPORTS) \
49097 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49098 for flag in $(EXTRA_TARGET_FLAGS); do \
49099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49100 done; \
49101 (cd $(TARGET_SUBDIR)/rda && \
49102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49104 "RANLIB=$${RANLIB}" \
49105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49106 install-html) \
49107 || exit 1
49109 @endif target-rda
49111 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49112 maybe-installcheck-target-rda:
49113 @if target-rda
49114 maybe-installcheck-target-rda: installcheck-target-rda
49116 installcheck-target-rda: \
49117 configure-target-rda
49118 @: $(MAKE); $(unstage)
49119 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49120 r=`${PWD_COMMAND}`; export r; \
49121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49122 $(NORMAL_TARGET_EXPORTS) \
49123 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
49124 for flag in $(EXTRA_TARGET_FLAGS); do \
49125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49126 done; \
49127 (cd $(TARGET_SUBDIR)/rda && \
49128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49130 "RANLIB=$${RANLIB}" \
49131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49132 installcheck) \
49133 || exit 1
49135 @endif target-rda
49137 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
49138 maybe-mostlyclean-target-rda:
49139 @if target-rda
49140 maybe-mostlyclean-target-rda: mostlyclean-target-rda
49142 mostlyclean-target-rda:
49143 @: $(MAKE); $(unstage)
49144 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49145 r=`${PWD_COMMAND}`; export r; \
49146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49147 $(NORMAL_TARGET_EXPORTS) \
49148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
49149 for flag in $(EXTRA_TARGET_FLAGS); do \
49150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49151 done; \
49152 (cd $(TARGET_SUBDIR)/rda && \
49153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49155 "RANLIB=$${RANLIB}" \
49156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49157 mostlyclean) \
49158 || exit 1
49160 @endif target-rda
49162 .PHONY: maybe-clean-target-rda clean-target-rda
49163 maybe-clean-target-rda:
49164 @if target-rda
49165 maybe-clean-target-rda: clean-target-rda
49167 clean-target-rda:
49168 @: $(MAKE); $(unstage)
49169 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49170 r=`${PWD_COMMAND}`; export r; \
49171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49172 $(NORMAL_TARGET_EXPORTS) \
49173 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
49174 for flag in $(EXTRA_TARGET_FLAGS); do \
49175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49176 done; \
49177 (cd $(TARGET_SUBDIR)/rda && \
49178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49180 "RANLIB=$${RANLIB}" \
49181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49182 clean) \
49183 || exit 1
49185 @endif target-rda
49187 .PHONY: maybe-distclean-target-rda distclean-target-rda
49188 maybe-distclean-target-rda:
49189 @if target-rda
49190 maybe-distclean-target-rda: distclean-target-rda
49192 distclean-target-rda:
49193 @: $(MAKE); $(unstage)
49194 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49195 r=`${PWD_COMMAND}`; export r; \
49196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49197 $(NORMAL_TARGET_EXPORTS) \
49198 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
49199 for flag in $(EXTRA_TARGET_FLAGS); do \
49200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49201 done; \
49202 (cd $(TARGET_SUBDIR)/rda && \
49203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49205 "RANLIB=$${RANLIB}" \
49206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49207 distclean) \
49208 || exit 1
49210 @endif target-rda
49212 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
49213 maybe-maintainer-clean-target-rda:
49214 @if target-rda
49215 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
49217 maintainer-clean-target-rda:
49218 @: $(MAKE); $(unstage)
49219 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49220 r=`${PWD_COMMAND}`; export r; \
49221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49222 $(NORMAL_TARGET_EXPORTS) \
49223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
49224 for flag in $(EXTRA_TARGET_FLAGS); do \
49225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49226 done; \
49227 (cd $(TARGET_SUBDIR)/rda && \
49228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49230 "RANLIB=$${RANLIB}" \
49231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49232 maintainer-clean) \
49233 || exit 1
49235 @endif target-rda
49241 .PHONY: configure-target-libada maybe-configure-target-libada
49242 maybe-configure-target-libada:
49243 @if gcc-bootstrap
49244 configure-target-libada: stage_current
49245 @endif gcc-bootstrap
49246 @if target-libada
49247 maybe-configure-target-libada: configure-target-libada
49248 configure-target-libada:
49249 @: $(MAKE); $(unstage)
49250 @r=`${PWD_COMMAND}`; export r; \
49251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49252 echo "Checking multilib configuration for libada..."; \
49253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49254 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
49255 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
49256 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
49257 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
49258 else \
49259 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
49260 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49261 fi; \
49262 else \
49263 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49264 fi; \
49265 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
49266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49267 $(NORMAL_TARGET_EXPORTS) \
49268 echo Configuring in $(TARGET_SUBDIR)/libada; \
49269 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
49270 case $(srcdir) in \
49271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49272 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
49273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49274 esac; \
49275 module_srcdir=libada; \
49276 rm -f no-such-file || : ; \
49277 CONFIG_SITE=no-such-file $(SHELL) \
49278 $$s/$$module_srcdir/configure \
49279 --srcdir=$${topdir}/$$module_srcdir \
49280 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49281 --target=${target_alias} \
49282 || exit 1
49283 @endif target-libada
49289 .PHONY: all-target-libada maybe-all-target-libada
49290 maybe-all-target-libada:
49291 @if gcc-bootstrap
49292 all-target-libada: stage_current
49293 @endif gcc-bootstrap
49294 @if target-libada
49295 TARGET-target-libada=all
49296 maybe-all-target-libada: all-target-libada
49297 all-target-libada: configure-target-libada
49298 @: $(MAKE); $(unstage)
49299 @r=`${PWD_COMMAND}`; export r; \
49300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49301 $(NORMAL_TARGET_EXPORTS) \
49302 (cd $(TARGET_SUBDIR)/libada && \
49303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49304 $(TARGET-target-libada))
49305 @endif target-libada
49311 .PHONY: check-target-libada maybe-check-target-libada
49312 maybe-check-target-libada:
49313 @if target-libada
49314 maybe-check-target-libada: check-target-libada
49316 check-target-libada:
49317 @: $(MAKE); $(unstage)
49318 @r=`${PWD_COMMAND}`; export r; \
49319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49320 $(NORMAL_TARGET_EXPORTS) \
49321 (cd $(TARGET_SUBDIR)/libada && \
49322 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49324 @endif target-libada
49326 .PHONY: install-target-libada maybe-install-target-libada
49327 maybe-install-target-libada:
49328 @if target-libada
49329 maybe-install-target-libada: install-target-libada
49331 install-target-libada: installdirs
49332 @: $(MAKE); $(unstage)
49333 @r=`${PWD_COMMAND}`; export r; \
49334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49335 $(NORMAL_TARGET_EXPORTS) \
49336 (cd $(TARGET_SUBDIR)/libada && \
49337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49339 @endif target-libada
49341 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
49342 maybe-install-strip-target-libada:
49343 @if target-libada
49344 maybe-install-strip-target-libada: install-strip-target-libada
49346 install-strip-target-libada: installdirs
49347 @: $(MAKE); $(unstage)
49348 @r=`${PWD_COMMAND}`; export r; \
49349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49350 $(NORMAL_TARGET_EXPORTS) \
49351 (cd $(TARGET_SUBDIR)/libada && \
49352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49354 @endif target-libada
49356 # Other targets (info, dvi, pdf, etc.)
49358 .PHONY: maybe-info-target-libada info-target-libada
49359 maybe-info-target-libada:
49360 @if target-libada
49361 maybe-info-target-libada: info-target-libada
49363 info-target-libada: \
49364 configure-target-libada
49365 @: $(MAKE); $(unstage)
49366 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49367 r=`${PWD_COMMAND}`; export r; \
49368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49369 $(NORMAL_TARGET_EXPORTS) \
49370 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
49371 for flag in $(EXTRA_TARGET_FLAGS); do \
49372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49373 done; \
49374 (cd $(TARGET_SUBDIR)/libada && \
49375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49377 "RANLIB=$${RANLIB}" \
49378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49379 info) \
49380 || exit 1
49382 @endif target-libada
49384 .PHONY: maybe-dvi-target-libada dvi-target-libada
49385 maybe-dvi-target-libada:
49386 @if target-libada
49387 maybe-dvi-target-libada: dvi-target-libada
49389 dvi-target-libada: \
49390 configure-target-libada
49391 @: $(MAKE); $(unstage)
49392 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49393 r=`${PWD_COMMAND}`; export r; \
49394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49395 $(NORMAL_TARGET_EXPORTS) \
49396 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
49397 for flag in $(EXTRA_TARGET_FLAGS); do \
49398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49399 done; \
49400 (cd $(TARGET_SUBDIR)/libada && \
49401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49403 "RANLIB=$${RANLIB}" \
49404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49405 dvi) \
49406 || exit 1
49408 @endif target-libada
49410 .PHONY: maybe-pdf-target-libada pdf-target-libada
49411 maybe-pdf-target-libada:
49412 @if target-libada
49413 maybe-pdf-target-libada: pdf-target-libada
49415 pdf-target-libada: \
49416 configure-target-libada
49417 @: $(MAKE); $(unstage)
49418 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49419 r=`${PWD_COMMAND}`; export r; \
49420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49421 $(NORMAL_TARGET_EXPORTS) \
49422 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
49423 for flag in $(EXTRA_TARGET_FLAGS); do \
49424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49425 done; \
49426 (cd $(TARGET_SUBDIR)/libada && \
49427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49429 "RANLIB=$${RANLIB}" \
49430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49431 pdf) \
49432 || exit 1
49434 @endif target-libada
49436 .PHONY: maybe-html-target-libada html-target-libada
49437 maybe-html-target-libada:
49438 @if target-libada
49439 maybe-html-target-libada: html-target-libada
49441 html-target-libada: \
49442 configure-target-libada
49443 @: $(MAKE); $(unstage)
49444 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49445 r=`${PWD_COMMAND}`; export r; \
49446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49447 $(NORMAL_TARGET_EXPORTS) \
49448 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
49449 for flag in $(EXTRA_TARGET_FLAGS); do \
49450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49451 done; \
49452 (cd $(TARGET_SUBDIR)/libada && \
49453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49455 "RANLIB=$${RANLIB}" \
49456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49457 html) \
49458 || exit 1
49460 @endif target-libada
49462 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
49463 maybe-TAGS-target-libada:
49464 @if target-libada
49465 maybe-TAGS-target-libada: TAGS-target-libada
49467 TAGS-target-libada: \
49468 configure-target-libada
49469 @: $(MAKE); $(unstage)
49470 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49471 r=`${PWD_COMMAND}`; export r; \
49472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49473 $(NORMAL_TARGET_EXPORTS) \
49474 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
49475 for flag in $(EXTRA_TARGET_FLAGS); do \
49476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49477 done; \
49478 (cd $(TARGET_SUBDIR)/libada && \
49479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49481 "RANLIB=$${RANLIB}" \
49482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49483 TAGS) \
49484 || exit 1
49486 @endif target-libada
49488 .PHONY: maybe-install-info-target-libada install-info-target-libada
49489 maybe-install-info-target-libada:
49490 @if target-libada
49491 maybe-install-info-target-libada: install-info-target-libada
49493 install-info-target-libada: \
49494 configure-target-libada \
49495 info-target-libada
49496 @: $(MAKE); $(unstage)
49497 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49498 r=`${PWD_COMMAND}`; export r; \
49499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49500 $(NORMAL_TARGET_EXPORTS) \
49501 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
49502 for flag in $(EXTRA_TARGET_FLAGS); do \
49503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49504 done; \
49505 (cd $(TARGET_SUBDIR)/libada && \
49506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49508 "RANLIB=$${RANLIB}" \
49509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49510 install-info) \
49511 || exit 1
49513 @endif target-libada
49515 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
49516 maybe-install-pdf-target-libada:
49517 @if target-libada
49518 maybe-install-pdf-target-libada: install-pdf-target-libada
49520 install-pdf-target-libada: \
49521 configure-target-libada \
49522 pdf-target-libada
49523 @: $(MAKE); $(unstage)
49524 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49525 r=`${PWD_COMMAND}`; export r; \
49526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49527 $(NORMAL_TARGET_EXPORTS) \
49528 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
49529 for flag in $(EXTRA_TARGET_FLAGS); do \
49530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49531 done; \
49532 (cd $(TARGET_SUBDIR)/libada && \
49533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49535 "RANLIB=$${RANLIB}" \
49536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49537 install-pdf) \
49538 || exit 1
49540 @endif target-libada
49542 .PHONY: maybe-install-html-target-libada install-html-target-libada
49543 maybe-install-html-target-libada:
49544 @if target-libada
49545 maybe-install-html-target-libada: install-html-target-libada
49547 install-html-target-libada: \
49548 configure-target-libada \
49549 html-target-libada
49550 @: $(MAKE); $(unstage)
49551 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49552 r=`${PWD_COMMAND}`; export r; \
49553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49554 $(NORMAL_TARGET_EXPORTS) \
49555 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
49556 for flag in $(EXTRA_TARGET_FLAGS); do \
49557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49558 done; \
49559 (cd $(TARGET_SUBDIR)/libada && \
49560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49562 "RANLIB=$${RANLIB}" \
49563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49564 install-html) \
49565 || exit 1
49567 @endif target-libada
49569 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
49570 maybe-installcheck-target-libada:
49571 @if target-libada
49572 maybe-installcheck-target-libada: installcheck-target-libada
49574 installcheck-target-libada: \
49575 configure-target-libada
49576 @: $(MAKE); $(unstage)
49577 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49578 r=`${PWD_COMMAND}`; export r; \
49579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49580 $(NORMAL_TARGET_EXPORTS) \
49581 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
49582 for flag in $(EXTRA_TARGET_FLAGS); do \
49583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49584 done; \
49585 (cd $(TARGET_SUBDIR)/libada && \
49586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49588 "RANLIB=$${RANLIB}" \
49589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49590 installcheck) \
49591 || exit 1
49593 @endif target-libada
49595 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
49596 maybe-mostlyclean-target-libada:
49597 @if target-libada
49598 maybe-mostlyclean-target-libada: mostlyclean-target-libada
49600 mostlyclean-target-libada:
49601 @: $(MAKE); $(unstage)
49602 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49603 r=`${PWD_COMMAND}`; export r; \
49604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49605 $(NORMAL_TARGET_EXPORTS) \
49606 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
49607 for flag in $(EXTRA_TARGET_FLAGS); do \
49608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49609 done; \
49610 (cd $(TARGET_SUBDIR)/libada && \
49611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49613 "RANLIB=$${RANLIB}" \
49614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49615 mostlyclean) \
49616 || exit 1
49618 @endif target-libada
49620 .PHONY: maybe-clean-target-libada clean-target-libada
49621 maybe-clean-target-libada:
49622 @if target-libada
49623 maybe-clean-target-libada: clean-target-libada
49625 clean-target-libada:
49626 @: $(MAKE); $(unstage)
49627 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49628 r=`${PWD_COMMAND}`; export r; \
49629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49630 $(NORMAL_TARGET_EXPORTS) \
49631 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
49632 for flag in $(EXTRA_TARGET_FLAGS); do \
49633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49634 done; \
49635 (cd $(TARGET_SUBDIR)/libada && \
49636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49638 "RANLIB=$${RANLIB}" \
49639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49640 clean) \
49641 || exit 1
49643 @endif target-libada
49645 .PHONY: maybe-distclean-target-libada distclean-target-libada
49646 maybe-distclean-target-libada:
49647 @if target-libada
49648 maybe-distclean-target-libada: distclean-target-libada
49650 distclean-target-libada:
49651 @: $(MAKE); $(unstage)
49652 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49653 r=`${PWD_COMMAND}`; export r; \
49654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49655 $(NORMAL_TARGET_EXPORTS) \
49656 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
49657 for flag in $(EXTRA_TARGET_FLAGS); do \
49658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49659 done; \
49660 (cd $(TARGET_SUBDIR)/libada && \
49661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49663 "RANLIB=$${RANLIB}" \
49664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49665 distclean) \
49666 || exit 1
49668 @endif target-libada
49670 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
49671 maybe-maintainer-clean-target-libada:
49672 @if target-libada
49673 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
49675 maintainer-clean-target-libada:
49676 @: $(MAKE); $(unstage)
49677 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49678 r=`${PWD_COMMAND}`; export r; \
49679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49680 $(NORMAL_TARGET_EXPORTS) \
49681 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
49682 for flag in $(EXTRA_TARGET_FLAGS); do \
49683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49684 done; \
49685 (cd $(TARGET_SUBDIR)/libada && \
49686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49688 "RANLIB=$${RANLIB}" \
49689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49690 maintainer-clean) \
49691 || exit 1
49693 @endif target-libada
49699 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
49700 maybe-configure-target-libgomp:
49701 @if gcc-bootstrap
49702 configure-target-libgomp: stage_current
49703 @endif gcc-bootstrap
49704 @if target-libgomp
49705 maybe-configure-target-libgomp: configure-target-libgomp
49706 configure-target-libgomp:
49707 @r=`${PWD_COMMAND}`; export r; \
49708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49709 echo "Checking multilib configuration for libgomp..."; \
49710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49711 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49712 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49713 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49714 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49715 else \
49716 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49717 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49718 fi; \
49719 else \
49720 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49721 fi; \
49722 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49724 $(NORMAL_TARGET_EXPORTS) \
49725 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
49726 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
49727 case $(srcdir) in \
49728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49729 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49731 esac; \
49732 module_srcdir=libgomp; \
49733 rm -f no-such-file || : ; \
49734 CONFIG_SITE=no-such-file $(SHELL) \
49735 $$s/$$module_srcdir/configure \
49736 --srcdir=$${topdir}/$$module_srcdir \
49737 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49738 --target=${target_alias} \
49739 || exit 1
49740 @endif target-libgomp
49744 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
49745 maybe-configure-stage1-target-libgomp:
49746 @if target-libgomp-bootstrap
49747 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
49748 configure-stage1-target-libgomp:
49749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49750 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49751 @r=`${PWD_COMMAND}`; export r; \
49752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49753 TFLAGS="$(STAGE1_TFLAGS)"; \
49754 echo "Checking multilib configuration for libgomp..."; \
49755 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49756 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49757 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49758 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49759 else \
49760 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49761 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49762 fi; \
49763 else \
49764 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49765 fi; \
49766 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49767 $(NORMAL_TARGET_EXPORTS) \
49768 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49769 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49770 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49771 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
49772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49773 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49774 case $(srcdir) in \
49775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49776 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49778 esac; \
49779 module_srcdir=libgomp; \
49780 $(SHELL) $$s/$$module_srcdir/configure \
49781 --srcdir=$${topdir}/$$module_srcdir \
49782 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49783 --target=${target_alias} \
49785 $(STAGE1_CONFIGURE_FLAGS)
49786 @endif target-libgomp-bootstrap
49788 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
49789 maybe-configure-stage2-target-libgomp:
49790 @if target-libgomp-bootstrap
49791 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
49792 configure-stage2-target-libgomp:
49793 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49794 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49795 @r=`${PWD_COMMAND}`; export r; \
49796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49797 TFLAGS="$(STAGE2_TFLAGS)"; \
49798 echo "Checking multilib configuration for libgomp..."; \
49799 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49800 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49801 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49802 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49803 else \
49804 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49805 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49806 fi; \
49807 else \
49808 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49809 fi; \
49810 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49811 $(NORMAL_TARGET_EXPORTS) \
49813 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49816 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
49817 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49818 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49819 case $(srcdir) in \
49820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49821 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49823 esac; \
49824 module_srcdir=libgomp; \
49825 $(SHELL) $$s/$$module_srcdir/configure \
49826 --srcdir=$${topdir}/$$module_srcdir \
49827 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49828 --target=${target_alias} \
49829 --with-build-libsubdir=$(HOST_SUBDIR) \
49830 $(STAGE2_CONFIGURE_FLAGS)
49831 @endif target-libgomp-bootstrap
49833 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
49834 maybe-configure-stage3-target-libgomp:
49835 @if target-libgomp-bootstrap
49836 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
49837 configure-stage3-target-libgomp:
49838 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49839 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49840 @r=`${PWD_COMMAND}`; export r; \
49841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49842 TFLAGS="$(STAGE3_TFLAGS)"; \
49843 echo "Checking multilib configuration for libgomp..."; \
49844 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49845 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49846 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49847 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49848 else \
49849 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49850 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49851 fi; \
49852 else \
49853 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49854 fi; \
49855 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49856 $(NORMAL_TARGET_EXPORTS) \
49858 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49859 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49860 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49861 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
49862 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49863 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49864 case $(srcdir) in \
49865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49866 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49868 esac; \
49869 module_srcdir=libgomp; \
49870 $(SHELL) $$s/$$module_srcdir/configure \
49871 --srcdir=$${topdir}/$$module_srcdir \
49872 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49873 --target=${target_alias} \
49874 --with-build-libsubdir=$(HOST_SUBDIR) \
49875 $(STAGE3_CONFIGURE_FLAGS)
49876 @endif target-libgomp-bootstrap
49878 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
49879 maybe-configure-stage4-target-libgomp:
49880 @if target-libgomp-bootstrap
49881 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
49882 configure-stage4-target-libgomp:
49883 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49884 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49885 @r=`${PWD_COMMAND}`; export r; \
49886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49887 TFLAGS="$(STAGE4_TFLAGS)"; \
49888 echo "Checking multilib configuration for libgomp..."; \
49889 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49890 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49891 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49892 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49893 else \
49894 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49895 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49896 fi; \
49897 else \
49898 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49899 fi; \
49900 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49901 $(NORMAL_TARGET_EXPORTS) \
49903 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49904 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49905 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49906 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
49907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49908 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49909 case $(srcdir) in \
49910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49911 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49913 esac; \
49914 module_srcdir=libgomp; \
49915 $(SHELL) $$s/$$module_srcdir/configure \
49916 --srcdir=$${topdir}/$$module_srcdir \
49917 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49918 --target=${target_alias} \
49919 --with-build-libsubdir=$(HOST_SUBDIR) \
49920 $(STAGE4_CONFIGURE_FLAGS)
49921 @endif target-libgomp-bootstrap
49923 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
49924 maybe-configure-stageprofile-target-libgomp:
49925 @if target-libgomp-bootstrap
49926 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
49927 configure-stageprofile-target-libgomp:
49928 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49929 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49930 @r=`${PWD_COMMAND}`; export r; \
49931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49932 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49933 echo "Checking multilib configuration for libgomp..."; \
49934 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49935 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49936 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49937 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49938 else \
49939 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49940 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49941 fi; \
49942 else \
49943 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49944 fi; \
49945 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49946 $(NORMAL_TARGET_EXPORTS) \
49948 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49949 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49950 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49951 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
49952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49953 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49954 case $(srcdir) in \
49955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49956 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49958 esac; \
49959 module_srcdir=libgomp; \
49960 $(SHELL) $$s/$$module_srcdir/configure \
49961 --srcdir=$${topdir}/$$module_srcdir \
49962 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49963 --target=${target_alias} \
49964 --with-build-libsubdir=$(HOST_SUBDIR) \
49965 $(STAGEprofile_CONFIGURE_FLAGS)
49966 @endif target-libgomp-bootstrap
49968 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
49969 maybe-configure-stagefeedback-target-libgomp:
49970 @if target-libgomp-bootstrap
49971 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
49972 configure-stagefeedback-target-libgomp:
49973 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49974 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49975 @r=`${PWD_COMMAND}`; export r; \
49976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49977 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49978 echo "Checking multilib configuration for libgomp..."; \
49979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49980 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49981 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49982 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49983 else \
49984 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49985 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49986 fi; \
49987 else \
49988 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49989 fi; \
49990 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49991 $(NORMAL_TARGET_EXPORTS) \
49993 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49994 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49995 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49996 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
49997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49998 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49999 case $(srcdir) in \
50000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50001 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50003 esac; \
50004 module_srcdir=libgomp; \
50005 $(SHELL) $$s/$$module_srcdir/configure \
50006 --srcdir=$${topdir}/$$module_srcdir \
50007 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50008 --target=${target_alias} \
50009 --with-build-libsubdir=$(HOST_SUBDIR) \
50010 $(STAGEfeedback_CONFIGURE_FLAGS)
50011 @endif target-libgomp-bootstrap
50013 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50014 maybe-configure-stageautoprofile-target-libgomp:
50015 @if target-libgomp-bootstrap
50016 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50017 configure-stageautoprofile-target-libgomp:
50018 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50019 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50020 @r=`${PWD_COMMAND}`; export r; \
50021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50022 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50023 echo "Checking multilib configuration for libgomp..."; \
50024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50025 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50026 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50027 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50028 else \
50029 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50030 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50031 fi; \
50032 else \
50033 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50034 fi; \
50035 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50036 $(NORMAL_TARGET_EXPORTS) \
50038 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50039 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50040 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50041 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50043 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50044 case $(srcdir) in \
50045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50046 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50048 esac; \
50049 module_srcdir=libgomp; \
50050 $(SHELL) $$s/$$module_srcdir/configure \
50051 --srcdir=$${topdir}/$$module_srcdir \
50052 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50053 --target=${target_alias} \
50054 --with-build-libsubdir=$(HOST_SUBDIR) \
50055 $(STAGEautoprofile_CONFIGURE_FLAGS)
50056 @endif target-libgomp-bootstrap
50058 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50059 maybe-configure-stageautofeedback-target-libgomp:
50060 @if target-libgomp-bootstrap
50061 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50062 configure-stageautofeedback-target-libgomp:
50063 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50064 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50065 @r=`${PWD_COMMAND}`; export r; \
50066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50067 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50068 echo "Checking multilib configuration for libgomp..."; \
50069 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50070 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50071 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50072 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50073 else \
50074 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50075 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50076 fi; \
50077 else \
50078 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50079 fi; \
50080 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50081 $(NORMAL_TARGET_EXPORTS) \
50083 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50086 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
50087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50088 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50089 case $(srcdir) in \
50090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50091 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50093 esac; \
50094 module_srcdir=libgomp; \
50095 $(SHELL) $$s/$$module_srcdir/configure \
50096 --srcdir=$${topdir}/$$module_srcdir \
50097 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50098 --target=${target_alias} \
50099 --with-build-libsubdir=$(HOST_SUBDIR) \
50100 $(STAGEautofeedback_CONFIGURE_FLAGS)
50101 @endif target-libgomp-bootstrap
50107 .PHONY: all-target-libgomp maybe-all-target-libgomp
50108 maybe-all-target-libgomp:
50109 @if gcc-bootstrap
50110 all-target-libgomp: stage_current
50111 @endif gcc-bootstrap
50112 @if target-libgomp
50113 TARGET-target-libgomp=all
50114 maybe-all-target-libgomp: all-target-libgomp
50115 all-target-libgomp: configure-target-libgomp
50116 @r=`${PWD_COMMAND}`; export r; \
50117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50118 $(NORMAL_TARGET_EXPORTS) \
50119 (cd $(TARGET_SUBDIR)/libgomp && \
50120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50121 $(TARGET-target-libgomp))
50122 @endif target-libgomp
50126 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
50127 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
50128 maybe-all-stage1-target-libgomp:
50129 maybe-clean-stage1-target-libgomp:
50130 @if target-libgomp-bootstrap
50131 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
50132 all-stage1: all-stage1-target-libgomp
50133 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
50134 all-stage1-target-libgomp: configure-stage1-target-libgomp
50135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50136 @r=`${PWD_COMMAND}`; export r; \
50137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50138 TFLAGS="$(STAGE1_TFLAGS)"; \
50139 $(NORMAL_TARGET_EXPORTS) \
50140 cd $(TARGET_SUBDIR)/libgomp && \
50142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50143 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50145 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50149 $(EXTRA_TARGET_FLAGS) \
50151 TFLAGS="$(STAGE1_TFLAGS)" \
50152 $(TARGET-stage1-target-libgomp)
50154 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
50155 clean-stage1: clean-stage1-target-libgomp
50156 clean-stage1-target-libgomp:
50157 @if [ $(current_stage) = stage1 ]; then \
50158 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50159 else \
50160 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
50161 $(MAKE) stage1-start; \
50162 fi; \
50163 cd $(TARGET_SUBDIR)/libgomp && \
50164 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50165 clean
50166 @endif target-libgomp-bootstrap
50169 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
50170 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
50171 maybe-all-stage2-target-libgomp:
50172 maybe-clean-stage2-target-libgomp:
50173 @if target-libgomp-bootstrap
50174 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
50175 all-stage2: all-stage2-target-libgomp
50176 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
50177 all-stage2-target-libgomp: configure-stage2-target-libgomp
50178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50179 @r=`${PWD_COMMAND}`; export r; \
50180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50181 TFLAGS="$(STAGE2_TFLAGS)"; \
50182 $(NORMAL_TARGET_EXPORTS) \
50184 cd $(TARGET_SUBDIR)/libgomp && \
50186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50187 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50188 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50189 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50193 $(EXTRA_TARGET_FLAGS) \
50194 TFLAGS="$(STAGE2_TFLAGS)" \
50195 $(TARGET-stage2-target-libgomp)
50197 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
50198 clean-stage2: clean-stage2-target-libgomp
50199 clean-stage2-target-libgomp:
50200 @if [ $(current_stage) = stage2 ]; then \
50201 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50202 else \
50203 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
50204 $(MAKE) stage2-start; \
50205 fi; \
50206 cd $(TARGET_SUBDIR)/libgomp && \
50207 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50208 @endif target-libgomp-bootstrap
50211 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
50212 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
50213 maybe-all-stage3-target-libgomp:
50214 maybe-clean-stage3-target-libgomp:
50215 @if target-libgomp-bootstrap
50216 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
50217 all-stage3: all-stage3-target-libgomp
50218 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
50219 all-stage3-target-libgomp: configure-stage3-target-libgomp
50220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50221 @r=`${PWD_COMMAND}`; export r; \
50222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50223 TFLAGS="$(STAGE3_TFLAGS)"; \
50224 $(NORMAL_TARGET_EXPORTS) \
50226 cd $(TARGET_SUBDIR)/libgomp && \
50228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50229 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50230 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50231 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50235 $(EXTRA_TARGET_FLAGS) \
50236 TFLAGS="$(STAGE3_TFLAGS)" \
50237 $(TARGET-stage3-target-libgomp)
50239 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
50240 clean-stage3: clean-stage3-target-libgomp
50241 clean-stage3-target-libgomp:
50242 @if [ $(current_stage) = stage3 ]; then \
50243 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50244 else \
50245 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
50246 $(MAKE) stage3-start; \
50247 fi; \
50248 cd $(TARGET_SUBDIR)/libgomp && \
50249 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50250 @endif target-libgomp-bootstrap
50253 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
50254 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
50255 maybe-all-stage4-target-libgomp:
50256 maybe-clean-stage4-target-libgomp:
50257 @if target-libgomp-bootstrap
50258 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
50259 all-stage4: all-stage4-target-libgomp
50260 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
50261 all-stage4-target-libgomp: configure-stage4-target-libgomp
50262 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50263 @r=`${PWD_COMMAND}`; export r; \
50264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50265 TFLAGS="$(STAGE4_TFLAGS)"; \
50266 $(NORMAL_TARGET_EXPORTS) \
50268 cd $(TARGET_SUBDIR)/libgomp && \
50270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50271 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50277 $(EXTRA_TARGET_FLAGS) \
50278 TFLAGS="$(STAGE4_TFLAGS)" \
50279 $(TARGET-stage4-target-libgomp)
50281 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
50282 clean-stage4: clean-stage4-target-libgomp
50283 clean-stage4-target-libgomp:
50284 @if [ $(current_stage) = stage4 ]; then \
50285 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50286 else \
50287 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
50288 $(MAKE) stage4-start; \
50289 fi; \
50290 cd $(TARGET_SUBDIR)/libgomp && \
50291 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50292 @endif target-libgomp-bootstrap
50295 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
50296 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
50297 maybe-all-stageprofile-target-libgomp:
50298 maybe-clean-stageprofile-target-libgomp:
50299 @if target-libgomp-bootstrap
50300 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
50301 all-stageprofile: all-stageprofile-target-libgomp
50302 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
50303 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50304 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50305 @r=`${PWD_COMMAND}`; export r; \
50306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50307 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50308 $(NORMAL_TARGET_EXPORTS) \
50310 cd $(TARGET_SUBDIR)/libgomp && \
50312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50313 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50314 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50315 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50319 $(EXTRA_TARGET_FLAGS) \
50320 TFLAGS="$(STAGEprofile_TFLAGS)" \
50321 $(TARGET-stageprofile-target-libgomp)
50323 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
50324 clean-stageprofile: clean-stageprofile-target-libgomp
50325 clean-stageprofile-target-libgomp:
50326 @if [ $(current_stage) = stageprofile ]; then \
50327 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50328 else \
50329 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
50330 $(MAKE) stageprofile-start; \
50331 fi; \
50332 cd $(TARGET_SUBDIR)/libgomp && \
50333 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50334 @endif target-libgomp-bootstrap
50337 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
50338 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
50339 maybe-all-stagefeedback-target-libgomp:
50340 maybe-clean-stagefeedback-target-libgomp:
50341 @if target-libgomp-bootstrap
50342 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
50343 all-stagefeedback: all-stagefeedback-target-libgomp
50344 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
50345 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50346 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50347 @r=`${PWD_COMMAND}`; export r; \
50348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50349 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50350 $(NORMAL_TARGET_EXPORTS) \
50352 cd $(TARGET_SUBDIR)/libgomp && \
50354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50355 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50356 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50357 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50361 $(EXTRA_TARGET_FLAGS) \
50362 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50363 $(TARGET-stagefeedback-target-libgomp)
50365 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
50366 clean-stagefeedback: clean-stagefeedback-target-libgomp
50367 clean-stagefeedback-target-libgomp:
50368 @if [ $(current_stage) = stagefeedback ]; then \
50369 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50370 else \
50371 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
50372 $(MAKE) stagefeedback-start; \
50373 fi; \
50374 cd $(TARGET_SUBDIR)/libgomp && \
50375 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50376 @endif target-libgomp-bootstrap
50379 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
50380 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
50381 maybe-all-stageautoprofile-target-libgomp:
50382 maybe-clean-stageautoprofile-target-libgomp:
50383 @if target-libgomp-bootstrap
50384 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
50385 all-stageautoprofile: all-stageautoprofile-target-libgomp
50386 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
50387 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50388 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50389 @r=`${PWD_COMMAND}`; export r; \
50390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50391 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50392 $(NORMAL_TARGET_EXPORTS) \
50394 cd $(TARGET_SUBDIR)/libgomp && \
50395 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50397 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50398 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50399 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50403 $(EXTRA_TARGET_FLAGS) \
50404 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50405 $(TARGET-stageautoprofile-target-libgomp)
50407 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
50408 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
50409 clean-stageautoprofile-target-libgomp:
50410 @if [ $(current_stage) = stageautoprofile ]; then \
50411 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50412 else \
50413 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
50414 $(MAKE) stageautoprofile-start; \
50415 fi; \
50416 cd $(TARGET_SUBDIR)/libgomp && \
50417 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50418 @endif target-libgomp-bootstrap
50421 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
50422 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
50423 maybe-all-stageautofeedback-target-libgomp:
50424 maybe-clean-stageautofeedback-target-libgomp:
50425 @if target-libgomp-bootstrap
50426 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
50427 all-stageautofeedback: all-stageautofeedback-target-libgomp
50428 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
50429 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50430 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50431 @r=`${PWD_COMMAND}`; export r; \
50432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50433 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50434 $(NORMAL_TARGET_EXPORTS) \
50436 cd $(TARGET_SUBDIR)/libgomp && \
50438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50439 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50440 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50441 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50445 $(EXTRA_TARGET_FLAGS) \
50446 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50447 $(TARGET-stageautofeedback-target-libgomp)
50449 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
50450 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
50451 clean-stageautofeedback-target-libgomp:
50452 @if [ $(current_stage) = stageautofeedback ]; then \
50453 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50454 else \
50455 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
50456 $(MAKE) stageautofeedback-start; \
50457 fi; \
50458 cd $(TARGET_SUBDIR)/libgomp && \
50459 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50460 @endif target-libgomp-bootstrap
50467 .PHONY: check-target-libgomp maybe-check-target-libgomp
50468 maybe-check-target-libgomp:
50469 @if target-libgomp
50470 maybe-check-target-libgomp: check-target-libgomp
50472 check-target-libgomp:
50473 @: $(MAKE); $(unstage)
50474 @r=`${PWD_COMMAND}`; export r; \
50475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50476 $(NORMAL_TARGET_EXPORTS) \
50477 (cd $(TARGET_SUBDIR)/libgomp && \
50478 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50480 @endif target-libgomp
50482 .PHONY: install-target-libgomp maybe-install-target-libgomp
50483 maybe-install-target-libgomp:
50484 @if target-libgomp
50485 maybe-install-target-libgomp: install-target-libgomp
50487 install-target-libgomp: installdirs
50488 @: $(MAKE); $(unstage)
50489 @r=`${PWD_COMMAND}`; export r; \
50490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50491 $(NORMAL_TARGET_EXPORTS) \
50492 (cd $(TARGET_SUBDIR)/libgomp && \
50493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50495 @endif target-libgomp
50497 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
50498 maybe-install-strip-target-libgomp:
50499 @if target-libgomp
50500 maybe-install-strip-target-libgomp: install-strip-target-libgomp
50502 install-strip-target-libgomp: installdirs
50503 @: $(MAKE); $(unstage)
50504 @r=`${PWD_COMMAND}`; export r; \
50505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50506 $(NORMAL_TARGET_EXPORTS) \
50507 (cd $(TARGET_SUBDIR)/libgomp && \
50508 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50510 @endif target-libgomp
50512 # Other targets (info, dvi, pdf, etc.)
50514 .PHONY: maybe-info-target-libgomp info-target-libgomp
50515 maybe-info-target-libgomp:
50516 @if target-libgomp
50517 maybe-info-target-libgomp: info-target-libgomp
50519 info-target-libgomp: \
50520 configure-target-libgomp
50521 @: $(MAKE); $(unstage)
50522 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50523 r=`${PWD_COMMAND}`; export r; \
50524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50525 $(NORMAL_TARGET_EXPORTS) \
50526 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
50527 for flag in $(EXTRA_TARGET_FLAGS); do \
50528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50529 done; \
50530 (cd $(TARGET_SUBDIR)/libgomp && \
50531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50533 "RANLIB=$${RANLIB}" \
50534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50535 info) \
50536 || exit 1
50538 @endif target-libgomp
50540 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
50541 maybe-dvi-target-libgomp:
50542 @if target-libgomp
50543 maybe-dvi-target-libgomp: dvi-target-libgomp
50545 dvi-target-libgomp: \
50546 configure-target-libgomp
50547 @: $(MAKE); $(unstage)
50548 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50549 r=`${PWD_COMMAND}`; export r; \
50550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50551 $(NORMAL_TARGET_EXPORTS) \
50552 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
50553 for flag in $(EXTRA_TARGET_FLAGS); do \
50554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50555 done; \
50556 (cd $(TARGET_SUBDIR)/libgomp && \
50557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50559 "RANLIB=$${RANLIB}" \
50560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50561 dvi) \
50562 || exit 1
50564 @endif target-libgomp
50566 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
50567 maybe-pdf-target-libgomp:
50568 @if target-libgomp
50569 maybe-pdf-target-libgomp: pdf-target-libgomp
50571 pdf-target-libgomp: \
50572 configure-target-libgomp
50573 @: $(MAKE); $(unstage)
50574 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50575 r=`${PWD_COMMAND}`; export r; \
50576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50577 $(NORMAL_TARGET_EXPORTS) \
50578 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
50579 for flag in $(EXTRA_TARGET_FLAGS); do \
50580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50581 done; \
50582 (cd $(TARGET_SUBDIR)/libgomp && \
50583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50585 "RANLIB=$${RANLIB}" \
50586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50587 pdf) \
50588 || exit 1
50590 @endif target-libgomp
50592 .PHONY: maybe-html-target-libgomp html-target-libgomp
50593 maybe-html-target-libgomp:
50594 @if target-libgomp
50595 maybe-html-target-libgomp: html-target-libgomp
50597 html-target-libgomp: \
50598 configure-target-libgomp
50599 @: $(MAKE); $(unstage)
50600 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50601 r=`${PWD_COMMAND}`; export r; \
50602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50603 $(NORMAL_TARGET_EXPORTS) \
50604 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
50605 for flag in $(EXTRA_TARGET_FLAGS); do \
50606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50607 done; \
50608 (cd $(TARGET_SUBDIR)/libgomp && \
50609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50611 "RANLIB=$${RANLIB}" \
50612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50613 html) \
50614 || exit 1
50616 @endif target-libgomp
50618 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
50619 maybe-TAGS-target-libgomp:
50620 @if target-libgomp
50621 maybe-TAGS-target-libgomp: TAGS-target-libgomp
50623 TAGS-target-libgomp: \
50624 configure-target-libgomp
50625 @: $(MAKE); $(unstage)
50626 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50627 r=`${PWD_COMMAND}`; export r; \
50628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50629 $(NORMAL_TARGET_EXPORTS) \
50630 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
50631 for flag in $(EXTRA_TARGET_FLAGS); do \
50632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50633 done; \
50634 (cd $(TARGET_SUBDIR)/libgomp && \
50635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50637 "RANLIB=$${RANLIB}" \
50638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50639 TAGS) \
50640 || exit 1
50642 @endif target-libgomp
50644 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
50645 maybe-install-info-target-libgomp:
50646 @if target-libgomp
50647 maybe-install-info-target-libgomp: install-info-target-libgomp
50649 install-info-target-libgomp: \
50650 configure-target-libgomp \
50651 info-target-libgomp
50652 @: $(MAKE); $(unstage)
50653 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50654 r=`${PWD_COMMAND}`; export r; \
50655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50656 $(NORMAL_TARGET_EXPORTS) \
50657 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
50658 for flag in $(EXTRA_TARGET_FLAGS); do \
50659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50660 done; \
50661 (cd $(TARGET_SUBDIR)/libgomp && \
50662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50664 "RANLIB=$${RANLIB}" \
50665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50666 install-info) \
50667 || exit 1
50669 @endif target-libgomp
50671 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
50672 maybe-install-pdf-target-libgomp:
50673 @if target-libgomp
50674 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
50676 install-pdf-target-libgomp: \
50677 configure-target-libgomp \
50678 pdf-target-libgomp
50679 @: $(MAKE); $(unstage)
50680 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50681 r=`${PWD_COMMAND}`; export r; \
50682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50683 $(NORMAL_TARGET_EXPORTS) \
50684 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
50685 for flag in $(EXTRA_TARGET_FLAGS); do \
50686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50687 done; \
50688 (cd $(TARGET_SUBDIR)/libgomp && \
50689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50691 "RANLIB=$${RANLIB}" \
50692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50693 install-pdf) \
50694 || exit 1
50696 @endif target-libgomp
50698 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
50699 maybe-install-html-target-libgomp:
50700 @if target-libgomp
50701 maybe-install-html-target-libgomp: install-html-target-libgomp
50703 install-html-target-libgomp: \
50704 configure-target-libgomp \
50705 html-target-libgomp
50706 @: $(MAKE); $(unstage)
50707 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50708 r=`${PWD_COMMAND}`; export r; \
50709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50710 $(NORMAL_TARGET_EXPORTS) \
50711 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
50712 for flag in $(EXTRA_TARGET_FLAGS); do \
50713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50714 done; \
50715 (cd $(TARGET_SUBDIR)/libgomp && \
50716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50718 "RANLIB=$${RANLIB}" \
50719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50720 install-html) \
50721 || exit 1
50723 @endif target-libgomp
50725 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
50726 maybe-installcheck-target-libgomp:
50727 @if target-libgomp
50728 maybe-installcheck-target-libgomp: installcheck-target-libgomp
50730 installcheck-target-libgomp: \
50731 configure-target-libgomp
50732 @: $(MAKE); $(unstage)
50733 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50734 r=`${PWD_COMMAND}`; export r; \
50735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50736 $(NORMAL_TARGET_EXPORTS) \
50737 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
50738 for flag in $(EXTRA_TARGET_FLAGS); do \
50739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50740 done; \
50741 (cd $(TARGET_SUBDIR)/libgomp && \
50742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50744 "RANLIB=$${RANLIB}" \
50745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50746 installcheck) \
50747 || exit 1
50749 @endif target-libgomp
50751 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
50752 maybe-mostlyclean-target-libgomp:
50753 @if target-libgomp
50754 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
50756 mostlyclean-target-libgomp:
50757 @: $(MAKE); $(unstage)
50758 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50759 r=`${PWD_COMMAND}`; export r; \
50760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50761 $(NORMAL_TARGET_EXPORTS) \
50762 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
50763 for flag in $(EXTRA_TARGET_FLAGS); do \
50764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50765 done; \
50766 (cd $(TARGET_SUBDIR)/libgomp && \
50767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50769 "RANLIB=$${RANLIB}" \
50770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50771 mostlyclean) \
50772 || exit 1
50774 @endif target-libgomp
50776 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
50777 maybe-clean-target-libgomp:
50778 @if target-libgomp
50779 maybe-clean-target-libgomp: clean-target-libgomp
50781 clean-target-libgomp:
50782 @: $(MAKE); $(unstage)
50783 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50784 r=`${PWD_COMMAND}`; export r; \
50785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50786 $(NORMAL_TARGET_EXPORTS) \
50787 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
50788 for flag in $(EXTRA_TARGET_FLAGS); do \
50789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50790 done; \
50791 (cd $(TARGET_SUBDIR)/libgomp && \
50792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50794 "RANLIB=$${RANLIB}" \
50795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50796 clean) \
50797 || exit 1
50799 @endif target-libgomp
50801 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
50802 maybe-distclean-target-libgomp:
50803 @if target-libgomp
50804 maybe-distclean-target-libgomp: distclean-target-libgomp
50806 distclean-target-libgomp:
50807 @: $(MAKE); $(unstage)
50808 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50809 r=`${PWD_COMMAND}`; export r; \
50810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50811 $(NORMAL_TARGET_EXPORTS) \
50812 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
50813 for flag in $(EXTRA_TARGET_FLAGS); do \
50814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50815 done; \
50816 (cd $(TARGET_SUBDIR)/libgomp && \
50817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50819 "RANLIB=$${RANLIB}" \
50820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50821 distclean) \
50822 || exit 1
50824 @endif target-libgomp
50826 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
50827 maybe-maintainer-clean-target-libgomp:
50828 @if target-libgomp
50829 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
50831 maintainer-clean-target-libgomp:
50832 @: $(MAKE); $(unstage)
50833 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50834 r=`${PWD_COMMAND}`; export r; \
50835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50836 $(NORMAL_TARGET_EXPORTS) \
50837 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
50838 for flag in $(EXTRA_TARGET_FLAGS); do \
50839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50840 done; \
50841 (cd $(TARGET_SUBDIR)/libgomp && \
50842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50844 "RANLIB=$${RANLIB}" \
50845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50846 maintainer-clean) \
50847 || exit 1
50849 @endif target-libgomp
50855 .PHONY: configure-target-libitm maybe-configure-target-libitm
50856 maybe-configure-target-libitm:
50857 @if gcc-bootstrap
50858 configure-target-libitm: stage_current
50859 @endif gcc-bootstrap
50860 @if target-libitm
50861 maybe-configure-target-libitm: configure-target-libitm
50862 configure-target-libitm:
50863 @: $(MAKE); $(unstage)
50864 @r=`${PWD_COMMAND}`; export r; \
50865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50866 echo "Checking multilib configuration for libitm..."; \
50867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
50868 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
50869 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
50870 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
50871 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
50872 else \
50873 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
50874 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
50875 fi; \
50876 else \
50877 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
50878 fi; \
50879 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
50880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
50881 $(NORMAL_TARGET_EXPORTS) \
50882 echo Configuring in $(TARGET_SUBDIR)/libitm; \
50883 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
50884 case $(srcdir) in \
50885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50886 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
50887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50888 esac; \
50889 module_srcdir=libitm; \
50890 rm -f no-such-file || : ; \
50891 CONFIG_SITE=no-such-file $(SHELL) \
50892 $$s/$$module_srcdir/configure \
50893 --srcdir=$${topdir}/$$module_srcdir \
50894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50895 --target=${target_alias} \
50896 || exit 1
50897 @endif target-libitm
50903 .PHONY: all-target-libitm maybe-all-target-libitm
50904 maybe-all-target-libitm:
50905 @if gcc-bootstrap
50906 all-target-libitm: stage_current
50907 @endif gcc-bootstrap
50908 @if target-libitm
50909 TARGET-target-libitm=all
50910 maybe-all-target-libitm: all-target-libitm
50911 all-target-libitm: configure-target-libitm
50912 @: $(MAKE); $(unstage)
50913 @r=`${PWD_COMMAND}`; export r; \
50914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50915 $(NORMAL_TARGET_EXPORTS) \
50916 (cd $(TARGET_SUBDIR)/libitm && \
50917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50918 $(TARGET-target-libitm))
50919 @endif target-libitm
50925 .PHONY: check-target-libitm maybe-check-target-libitm
50926 maybe-check-target-libitm:
50927 @if target-libitm
50928 maybe-check-target-libitm: check-target-libitm
50930 check-target-libitm:
50931 @: $(MAKE); $(unstage)
50932 @r=`${PWD_COMMAND}`; export r; \
50933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50934 $(NORMAL_TARGET_EXPORTS) \
50935 (cd $(TARGET_SUBDIR)/libitm && \
50936 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50938 @endif target-libitm
50940 .PHONY: install-target-libitm maybe-install-target-libitm
50941 maybe-install-target-libitm:
50942 @if target-libitm
50943 maybe-install-target-libitm: install-target-libitm
50945 install-target-libitm: installdirs
50946 @: $(MAKE); $(unstage)
50947 @r=`${PWD_COMMAND}`; export r; \
50948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50949 $(NORMAL_TARGET_EXPORTS) \
50950 (cd $(TARGET_SUBDIR)/libitm && \
50951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50953 @endif target-libitm
50955 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
50956 maybe-install-strip-target-libitm:
50957 @if target-libitm
50958 maybe-install-strip-target-libitm: install-strip-target-libitm
50960 install-strip-target-libitm: installdirs
50961 @: $(MAKE); $(unstage)
50962 @r=`${PWD_COMMAND}`; export r; \
50963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50964 $(NORMAL_TARGET_EXPORTS) \
50965 (cd $(TARGET_SUBDIR)/libitm && \
50966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50968 @endif target-libitm
50970 # Other targets (info, dvi, pdf, etc.)
50972 .PHONY: maybe-info-target-libitm info-target-libitm
50973 maybe-info-target-libitm:
50974 @if target-libitm
50975 maybe-info-target-libitm: info-target-libitm
50977 info-target-libitm: \
50978 configure-target-libitm
50979 @: $(MAKE); $(unstage)
50980 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
50981 r=`${PWD_COMMAND}`; export r; \
50982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50983 $(NORMAL_TARGET_EXPORTS) \
50984 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
50985 for flag in $(EXTRA_TARGET_FLAGS); do \
50986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50987 done; \
50988 (cd $(TARGET_SUBDIR)/libitm && \
50989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50991 "RANLIB=$${RANLIB}" \
50992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50993 info) \
50994 || exit 1
50996 @endif target-libitm
50998 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
50999 maybe-dvi-target-libitm:
51000 @if target-libitm
51001 maybe-dvi-target-libitm: dvi-target-libitm
51003 dvi-target-libitm: \
51004 configure-target-libitm
51005 @: $(MAKE); $(unstage)
51006 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51007 r=`${PWD_COMMAND}`; export r; \
51008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51009 $(NORMAL_TARGET_EXPORTS) \
51010 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
51011 for flag in $(EXTRA_TARGET_FLAGS); do \
51012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51013 done; \
51014 (cd $(TARGET_SUBDIR)/libitm && \
51015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51017 "RANLIB=$${RANLIB}" \
51018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51019 dvi) \
51020 || exit 1
51022 @endif target-libitm
51024 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51025 maybe-pdf-target-libitm:
51026 @if target-libitm
51027 maybe-pdf-target-libitm: pdf-target-libitm
51029 pdf-target-libitm: \
51030 configure-target-libitm
51031 @: $(MAKE); $(unstage)
51032 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51033 r=`${PWD_COMMAND}`; export r; \
51034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51035 $(NORMAL_TARGET_EXPORTS) \
51036 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
51037 for flag in $(EXTRA_TARGET_FLAGS); do \
51038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51039 done; \
51040 (cd $(TARGET_SUBDIR)/libitm && \
51041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51043 "RANLIB=$${RANLIB}" \
51044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51045 pdf) \
51046 || exit 1
51048 @endif target-libitm
51050 .PHONY: maybe-html-target-libitm html-target-libitm
51051 maybe-html-target-libitm:
51052 @if target-libitm
51053 maybe-html-target-libitm: html-target-libitm
51055 html-target-libitm: \
51056 configure-target-libitm
51057 @: $(MAKE); $(unstage)
51058 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51059 r=`${PWD_COMMAND}`; export r; \
51060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51061 $(NORMAL_TARGET_EXPORTS) \
51062 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
51063 for flag in $(EXTRA_TARGET_FLAGS); do \
51064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51065 done; \
51066 (cd $(TARGET_SUBDIR)/libitm && \
51067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51069 "RANLIB=$${RANLIB}" \
51070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51071 html) \
51072 || exit 1
51074 @endif target-libitm
51076 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
51077 maybe-TAGS-target-libitm:
51078 @if target-libitm
51079 maybe-TAGS-target-libitm: TAGS-target-libitm
51081 TAGS-target-libitm: \
51082 configure-target-libitm
51083 @: $(MAKE); $(unstage)
51084 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51085 r=`${PWD_COMMAND}`; export r; \
51086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51087 $(NORMAL_TARGET_EXPORTS) \
51088 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
51089 for flag in $(EXTRA_TARGET_FLAGS); do \
51090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51091 done; \
51092 (cd $(TARGET_SUBDIR)/libitm && \
51093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51095 "RANLIB=$${RANLIB}" \
51096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51097 TAGS) \
51098 || exit 1
51100 @endif target-libitm
51102 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
51103 maybe-install-info-target-libitm:
51104 @if target-libitm
51105 maybe-install-info-target-libitm: install-info-target-libitm
51107 install-info-target-libitm: \
51108 configure-target-libitm \
51109 info-target-libitm
51110 @: $(MAKE); $(unstage)
51111 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51112 r=`${PWD_COMMAND}`; export r; \
51113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51114 $(NORMAL_TARGET_EXPORTS) \
51115 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
51116 for flag in $(EXTRA_TARGET_FLAGS); do \
51117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51118 done; \
51119 (cd $(TARGET_SUBDIR)/libitm && \
51120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51122 "RANLIB=$${RANLIB}" \
51123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51124 install-info) \
51125 || exit 1
51127 @endif target-libitm
51129 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
51130 maybe-install-pdf-target-libitm:
51131 @if target-libitm
51132 maybe-install-pdf-target-libitm: install-pdf-target-libitm
51134 install-pdf-target-libitm: \
51135 configure-target-libitm \
51136 pdf-target-libitm
51137 @: $(MAKE); $(unstage)
51138 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51139 r=`${PWD_COMMAND}`; export r; \
51140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51141 $(NORMAL_TARGET_EXPORTS) \
51142 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
51143 for flag in $(EXTRA_TARGET_FLAGS); do \
51144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51145 done; \
51146 (cd $(TARGET_SUBDIR)/libitm && \
51147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51149 "RANLIB=$${RANLIB}" \
51150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51151 install-pdf) \
51152 || exit 1
51154 @endif target-libitm
51156 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
51157 maybe-install-html-target-libitm:
51158 @if target-libitm
51159 maybe-install-html-target-libitm: install-html-target-libitm
51161 install-html-target-libitm: \
51162 configure-target-libitm \
51163 html-target-libitm
51164 @: $(MAKE); $(unstage)
51165 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51166 r=`${PWD_COMMAND}`; export r; \
51167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51168 $(NORMAL_TARGET_EXPORTS) \
51169 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
51170 for flag in $(EXTRA_TARGET_FLAGS); do \
51171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51172 done; \
51173 (cd $(TARGET_SUBDIR)/libitm && \
51174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51176 "RANLIB=$${RANLIB}" \
51177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51178 install-html) \
51179 || exit 1
51181 @endif target-libitm
51183 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
51184 maybe-installcheck-target-libitm:
51185 @if target-libitm
51186 maybe-installcheck-target-libitm: installcheck-target-libitm
51188 installcheck-target-libitm: \
51189 configure-target-libitm
51190 @: $(MAKE); $(unstage)
51191 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51192 r=`${PWD_COMMAND}`; export r; \
51193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51194 $(NORMAL_TARGET_EXPORTS) \
51195 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
51196 for flag in $(EXTRA_TARGET_FLAGS); do \
51197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51198 done; \
51199 (cd $(TARGET_SUBDIR)/libitm && \
51200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51202 "RANLIB=$${RANLIB}" \
51203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51204 installcheck) \
51205 || exit 1
51207 @endif target-libitm
51209 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
51210 maybe-mostlyclean-target-libitm:
51211 @if target-libitm
51212 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
51214 mostlyclean-target-libitm:
51215 @: $(MAKE); $(unstage)
51216 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51217 r=`${PWD_COMMAND}`; export r; \
51218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51219 $(NORMAL_TARGET_EXPORTS) \
51220 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
51221 for flag in $(EXTRA_TARGET_FLAGS); do \
51222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51223 done; \
51224 (cd $(TARGET_SUBDIR)/libitm && \
51225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51227 "RANLIB=$${RANLIB}" \
51228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51229 mostlyclean) \
51230 || exit 1
51232 @endif target-libitm
51234 .PHONY: maybe-clean-target-libitm clean-target-libitm
51235 maybe-clean-target-libitm:
51236 @if target-libitm
51237 maybe-clean-target-libitm: clean-target-libitm
51239 clean-target-libitm:
51240 @: $(MAKE); $(unstage)
51241 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51242 r=`${PWD_COMMAND}`; export r; \
51243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51244 $(NORMAL_TARGET_EXPORTS) \
51245 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
51246 for flag in $(EXTRA_TARGET_FLAGS); do \
51247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51248 done; \
51249 (cd $(TARGET_SUBDIR)/libitm && \
51250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51252 "RANLIB=$${RANLIB}" \
51253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51254 clean) \
51255 || exit 1
51257 @endif target-libitm
51259 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
51260 maybe-distclean-target-libitm:
51261 @if target-libitm
51262 maybe-distclean-target-libitm: distclean-target-libitm
51264 distclean-target-libitm:
51265 @: $(MAKE); $(unstage)
51266 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51267 r=`${PWD_COMMAND}`; export r; \
51268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51269 $(NORMAL_TARGET_EXPORTS) \
51270 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
51271 for flag in $(EXTRA_TARGET_FLAGS); do \
51272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51273 done; \
51274 (cd $(TARGET_SUBDIR)/libitm && \
51275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51277 "RANLIB=$${RANLIB}" \
51278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51279 distclean) \
51280 || exit 1
51282 @endif target-libitm
51284 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
51285 maybe-maintainer-clean-target-libitm:
51286 @if target-libitm
51287 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
51289 maintainer-clean-target-libitm:
51290 @: $(MAKE); $(unstage)
51291 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51292 r=`${PWD_COMMAND}`; export r; \
51293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51294 $(NORMAL_TARGET_EXPORTS) \
51295 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
51296 for flag in $(EXTRA_TARGET_FLAGS); do \
51297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51298 done; \
51299 (cd $(TARGET_SUBDIR)/libitm && \
51300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51302 "RANLIB=$${RANLIB}" \
51303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51304 maintainer-clean) \
51305 || exit 1
51307 @endif target-libitm
51313 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
51314 maybe-configure-target-libatomic:
51315 @if gcc-bootstrap
51316 configure-target-libatomic: stage_current
51317 @endif gcc-bootstrap
51318 @if target-libatomic
51319 maybe-configure-target-libatomic: configure-target-libatomic
51320 configure-target-libatomic:
51321 @: $(MAKE); $(unstage)
51322 @r=`${PWD_COMMAND}`; export r; \
51323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51324 echo "Checking multilib configuration for libatomic..."; \
51325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
51327 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51328 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51329 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
51330 else \
51331 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
51332 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51333 fi; \
51334 else \
51335 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51336 fi; \
51337 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
51338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51339 $(NORMAL_TARGET_EXPORTS) \
51340 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
51341 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
51342 case $(srcdir) in \
51343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51344 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
51345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51346 esac; \
51347 module_srcdir=libatomic; \
51348 rm -f no-such-file || : ; \
51349 CONFIG_SITE=no-such-file $(SHELL) \
51350 $$s/$$module_srcdir/configure \
51351 --srcdir=$${topdir}/$$module_srcdir \
51352 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51353 --target=${target_alias} \
51354 || exit 1
51355 @endif target-libatomic
51361 .PHONY: all-target-libatomic maybe-all-target-libatomic
51362 maybe-all-target-libatomic:
51363 @if gcc-bootstrap
51364 all-target-libatomic: stage_current
51365 @endif gcc-bootstrap
51366 @if target-libatomic
51367 TARGET-target-libatomic=all
51368 maybe-all-target-libatomic: all-target-libatomic
51369 all-target-libatomic: configure-target-libatomic
51370 @: $(MAKE); $(unstage)
51371 @r=`${PWD_COMMAND}`; export r; \
51372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51373 $(NORMAL_TARGET_EXPORTS) \
51374 (cd $(TARGET_SUBDIR)/libatomic && \
51375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51376 $(TARGET-target-libatomic))
51377 @endif target-libatomic
51383 .PHONY: check-target-libatomic maybe-check-target-libatomic
51384 maybe-check-target-libatomic:
51385 @if target-libatomic
51386 maybe-check-target-libatomic: check-target-libatomic
51388 check-target-libatomic:
51389 @: $(MAKE); $(unstage)
51390 @r=`${PWD_COMMAND}`; export r; \
51391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51392 $(NORMAL_TARGET_EXPORTS) \
51393 (cd $(TARGET_SUBDIR)/libatomic && \
51394 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51396 @endif target-libatomic
51398 .PHONY: install-target-libatomic maybe-install-target-libatomic
51399 maybe-install-target-libatomic:
51400 @if target-libatomic
51401 maybe-install-target-libatomic: install-target-libatomic
51403 install-target-libatomic: installdirs
51404 @: $(MAKE); $(unstage)
51405 @r=`${PWD_COMMAND}`; export r; \
51406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51407 $(NORMAL_TARGET_EXPORTS) \
51408 (cd $(TARGET_SUBDIR)/libatomic && \
51409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51411 @endif target-libatomic
51413 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
51414 maybe-install-strip-target-libatomic:
51415 @if target-libatomic
51416 maybe-install-strip-target-libatomic: install-strip-target-libatomic
51418 install-strip-target-libatomic: installdirs
51419 @: $(MAKE); $(unstage)
51420 @r=`${PWD_COMMAND}`; export r; \
51421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51422 $(NORMAL_TARGET_EXPORTS) \
51423 (cd $(TARGET_SUBDIR)/libatomic && \
51424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51426 @endif target-libatomic
51428 # Other targets (info, dvi, pdf, etc.)
51430 .PHONY: maybe-info-target-libatomic info-target-libatomic
51431 maybe-info-target-libatomic:
51432 @if target-libatomic
51433 maybe-info-target-libatomic: info-target-libatomic
51435 info-target-libatomic: \
51436 configure-target-libatomic
51437 @: $(MAKE); $(unstage)
51438 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51439 r=`${PWD_COMMAND}`; export r; \
51440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51441 $(NORMAL_TARGET_EXPORTS) \
51442 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
51443 for flag in $(EXTRA_TARGET_FLAGS); do \
51444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51445 done; \
51446 (cd $(TARGET_SUBDIR)/libatomic && \
51447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51449 "RANLIB=$${RANLIB}" \
51450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51451 info) \
51452 || exit 1
51454 @endif target-libatomic
51456 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
51457 maybe-dvi-target-libatomic:
51458 @if target-libatomic
51459 maybe-dvi-target-libatomic: dvi-target-libatomic
51461 dvi-target-libatomic: \
51462 configure-target-libatomic
51463 @: $(MAKE); $(unstage)
51464 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51465 r=`${PWD_COMMAND}`; export r; \
51466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51467 $(NORMAL_TARGET_EXPORTS) \
51468 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
51469 for flag in $(EXTRA_TARGET_FLAGS); do \
51470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51471 done; \
51472 (cd $(TARGET_SUBDIR)/libatomic && \
51473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51475 "RANLIB=$${RANLIB}" \
51476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51477 dvi) \
51478 || exit 1
51480 @endif target-libatomic
51482 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
51483 maybe-pdf-target-libatomic:
51484 @if target-libatomic
51485 maybe-pdf-target-libatomic: pdf-target-libatomic
51487 pdf-target-libatomic: \
51488 configure-target-libatomic
51489 @: $(MAKE); $(unstage)
51490 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51491 r=`${PWD_COMMAND}`; export r; \
51492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51493 $(NORMAL_TARGET_EXPORTS) \
51494 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
51495 for flag in $(EXTRA_TARGET_FLAGS); do \
51496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51497 done; \
51498 (cd $(TARGET_SUBDIR)/libatomic && \
51499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51501 "RANLIB=$${RANLIB}" \
51502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51503 pdf) \
51504 || exit 1
51506 @endif target-libatomic
51508 .PHONY: maybe-html-target-libatomic html-target-libatomic
51509 maybe-html-target-libatomic:
51510 @if target-libatomic
51511 maybe-html-target-libatomic: html-target-libatomic
51513 html-target-libatomic: \
51514 configure-target-libatomic
51515 @: $(MAKE); $(unstage)
51516 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51517 r=`${PWD_COMMAND}`; export r; \
51518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51519 $(NORMAL_TARGET_EXPORTS) \
51520 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
51521 for flag in $(EXTRA_TARGET_FLAGS); do \
51522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51523 done; \
51524 (cd $(TARGET_SUBDIR)/libatomic && \
51525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51527 "RANLIB=$${RANLIB}" \
51528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51529 html) \
51530 || exit 1
51532 @endif target-libatomic
51534 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
51535 maybe-TAGS-target-libatomic:
51536 @if target-libatomic
51537 maybe-TAGS-target-libatomic: TAGS-target-libatomic
51539 TAGS-target-libatomic: \
51540 configure-target-libatomic
51541 @: $(MAKE); $(unstage)
51542 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51543 r=`${PWD_COMMAND}`; export r; \
51544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51545 $(NORMAL_TARGET_EXPORTS) \
51546 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
51547 for flag in $(EXTRA_TARGET_FLAGS); do \
51548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51549 done; \
51550 (cd $(TARGET_SUBDIR)/libatomic && \
51551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51553 "RANLIB=$${RANLIB}" \
51554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51555 TAGS) \
51556 || exit 1
51558 @endif target-libatomic
51560 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
51561 maybe-install-info-target-libatomic:
51562 @if target-libatomic
51563 maybe-install-info-target-libatomic: install-info-target-libatomic
51565 install-info-target-libatomic: \
51566 configure-target-libatomic \
51567 info-target-libatomic
51568 @: $(MAKE); $(unstage)
51569 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51570 r=`${PWD_COMMAND}`; export r; \
51571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51572 $(NORMAL_TARGET_EXPORTS) \
51573 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
51574 for flag in $(EXTRA_TARGET_FLAGS); do \
51575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51576 done; \
51577 (cd $(TARGET_SUBDIR)/libatomic && \
51578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51580 "RANLIB=$${RANLIB}" \
51581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51582 install-info) \
51583 || exit 1
51585 @endif target-libatomic
51587 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
51588 maybe-install-pdf-target-libatomic:
51589 @if target-libatomic
51590 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
51592 install-pdf-target-libatomic: \
51593 configure-target-libatomic \
51594 pdf-target-libatomic
51595 @: $(MAKE); $(unstage)
51596 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51597 r=`${PWD_COMMAND}`; export r; \
51598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51599 $(NORMAL_TARGET_EXPORTS) \
51600 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
51601 for flag in $(EXTRA_TARGET_FLAGS); do \
51602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51603 done; \
51604 (cd $(TARGET_SUBDIR)/libatomic && \
51605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51607 "RANLIB=$${RANLIB}" \
51608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51609 install-pdf) \
51610 || exit 1
51612 @endif target-libatomic
51614 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
51615 maybe-install-html-target-libatomic:
51616 @if target-libatomic
51617 maybe-install-html-target-libatomic: install-html-target-libatomic
51619 install-html-target-libatomic: \
51620 configure-target-libatomic \
51621 html-target-libatomic
51622 @: $(MAKE); $(unstage)
51623 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51624 r=`${PWD_COMMAND}`; export r; \
51625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51626 $(NORMAL_TARGET_EXPORTS) \
51627 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
51628 for flag in $(EXTRA_TARGET_FLAGS); do \
51629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51630 done; \
51631 (cd $(TARGET_SUBDIR)/libatomic && \
51632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51634 "RANLIB=$${RANLIB}" \
51635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51636 install-html) \
51637 || exit 1
51639 @endif target-libatomic
51641 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
51642 maybe-installcheck-target-libatomic:
51643 @if target-libatomic
51644 maybe-installcheck-target-libatomic: installcheck-target-libatomic
51646 installcheck-target-libatomic: \
51647 configure-target-libatomic
51648 @: $(MAKE); $(unstage)
51649 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51650 r=`${PWD_COMMAND}`; export r; \
51651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51652 $(NORMAL_TARGET_EXPORTS) \
51653 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
51654 for flag in $(EXTRA_TARGET_FLAGS); do \
51655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51656 done; \
51657 (cd $(TARGET_SUBDIR)/libatomic && \
51658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51660 "RANLIB=$${RANLIB}" \
51661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51662 installcheck) \
51663 || exit 1
51665 @endif target-libatomic
51667 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
51668 maybe-mostlyclean-target-libatomic:
51669 @if target-libatomic
51670 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
51672 mostlyclean-target-libatomic:
51673 @: $(MAKE); $(unstage)
51674 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51675 r=`${PWD_COMMAND}`; export r; \
51676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51677 $(NORMAL_TARGET_EXPORTS) \
51678 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
51679 for flag in $(EXTRA_TARGET_FLAGS); do \
51680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51681 done; \
51682 (cd $(TARGET_SUBDIR)/libatomic && \
51683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51685 "RANLIB=$${RANLIB}" \
51686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51687 mostlyclean) \
51688 || exit 1
51690 @endif target-libatomic
51692 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
51693 maybe-clean-target-libatomic:
51694 @if target-libatomic
51695 maybe-clean-target-libatomic: clean-target-libatomic
51697 clean-target-libatomic:
51698 @: $(MAKE); $(unstage)
51699 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51700 r=`${PWD_COMMAND}`; export r; \
51701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51702 $(NORMAL_TARGET_EXPORTS) \
51703 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
51704 for flag in $(EXTRA_TARGET_FLAGS); do \
51705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51706 done; \
51707 (cd $(TARGET_SUBDIR)/libatomic && \
51708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51710 "RANLIB=$${RANLIB}" \
51711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51712 clean) \
51713 || exit 1
51715 @endif target-libatomic
51717 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
51718 maybe-distclean-target-libatomic:
51719 @if target-libatomic
51720 maybe-distclean-target-libatomic: distclean-target-libatomic
51722 distclean-target-libatomic:
51723 @: $(MAKE); $(unstage)
51724 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51725 r=`${PWD_COMMAND}`; export r; \
51726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51727 $(NORMAL_TARGET_EXPORTS) \
51728 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
51729 for flag in $(EXTRA_TARGET_FLAGS); do \
51730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51731 done; \
51732 (cd $(TARGET_SUBDIR)/libatomic && \
51733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51735 "RANLIB=$${RANLIB}" \
51736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51737 distclean) \
51738 || exit 1
51740 @endif target-libatomic
51742 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
51743 maybe-maintainer-clean-target-libatomic:
51744 @if target-libatomic
51745 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
51747 maintainer-clean-target-libatomic:
51748 @: $(MAKE); $(unstage)
51749 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51750 r=`${PWD_COMMAND}`; export r; \
51751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51752 $(NORMAL_TARGET_EXPORTS) \
51753 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
51754 for flag in $(EXTRA_TARGET_FLAGS); do \
51755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51756 done; \
51757 (cd $(TARGET_SUBDIR)/libatomic && \
51758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51760 "RANLIB=$${RANLIB}" \
51761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51762 maintainer-clean) \
51763 || exit 1
51765 @endif target-libatomic
51769 @if target-libgomp
51770 .PHONY: check-target-libgomp-c++
51771 check-target-libgomp-c++:
51772 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
51774 @endif target-libgomp
51776 @if target-libitm
51777 .PHONY: check-target-libitm-c++
51778 check-target-libitm-c++:
51779 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
51781 @endif target-libitm
51783 # ----------
51784 # GCC module
51785 # ----------
51787 @if gcc-no-bootstrap
51788 .PHONY: cross
51789 cross: all-build all-gas all-ld
51790 @r=`${PWD_COMMAND}`; export r; \
51791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51792 $(HOST_EXPORTS) \
51793 echo "Building the C and C++ compiler"; \
51794 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
51795 @r=`${PWD_COMMAND}`; export r; \
51796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51797 echo "Building runtime libraries"; \
51798 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
51799 @endif gcc-no-bootstrap
51801 @if gcc
51803 .PHONY: check-gcc-c check-c
51804 check-gcc-c:
51805 r=`${PWD_COMMAND}`; export r; \
51806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51807 $(HOST_EXPORTS) \
51808 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
51809 check-c: check-gcc-c
51811 .PHONY: check-gcc-c++ check-c++
51812 check-gcc-c++:
51813 r=`${PWD_COMMAND}`; export r; \
51814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51815 $(HOST_EXPORTS) \
51816 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
51817 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
51819 .PHONY: check-gcc-fortran check-fortran
51820 check-gcc-fortran:
51821 r=`${PWD_COMMAND}`; export r; \
51822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51823 $(HOST_EXPORTS) \
51824 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
51825 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
51827 .PHONY: check-gcc-ada check-ada
51828 check-gcc-ada:
51829 r=`${PWD_COMMAND}`; export r; \
51830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51831 $(HOST_EXPORTS) \
51832 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
51833 check-ada: check-gcc-ada check-target-libada
51835 .PHONY: check-gcc-objc check-objc
51836 check-gcc-objc:
51837 r=`${PWD_COMMAND}`; export r; \
51838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51839 $(HOST_EXPORTS) \
51840 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
51841 check-objc: check-gcc-objc check-target-libobjc
51843 .PHONY: check-gcc-obj-c++ check-obj-c++
51844 check-gcc-obj-c++:
51845 r=`${PWD_COMMAND}`; export r; \
51846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51847 $(HOST_EXPORTS) \
51848 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
51849 check-obj-c++: check-gcc-obj-c++
51851 .PHONY: check-gcc-go check-go
51852 check-gcc-go:
51853 r=`${PWD_COMMAND}`; export r; \
51854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51855 $(HOST_EXPORTS) \
51856 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
51857 check-go: check-gcc-go check-target-libgo
51859 .PHONY: check-gcc-brig check-brig
51860 check-gcc-brig:
51861 r=`${PWD_COMMAND}`; export r; \
51862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51863 $(HOST_EXPORTS) \
51864 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
51865 check-brig: check-gcc-brig check-target-libhsail-rt
51868 # The gcc part of install-no-fixedincludes, which relies on an intimate
51869 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
51870 .PHONY: gcc-install-no-fixedincludes
51871 gcc-install-no-fixedincludes:
51872 @if [ -f ./gcc/Makefile ]; then \
51873 r=`${PWD_COMMAND}`; export r; \
51874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51875 $(HOST_EXPORTS) \
51876 (cd ./gcc \
51877 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
51878 else true; fi
51879 @endif gcc
51881 # ---------------------
51882 # GCC bootstrap support
51883 # ---------------------
51885 # We track the current stage (the one in 'gcc') in the stage_current file.
51886 # stage_last instead tracks the stage that was built last. These targets
51887 # are dummy when toplevel bootstrap is not active.
51889 # While making host and target tools, symlinks to the final stage must be
51890 # there, so $(unstage) should be run at various points. To avoid excessive
51891 # recursive invocations of make, we "inline" them using a variable. These
51892 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
51893 # to avoid warnings from the GNU Make job server.
51895 unstage = :
51896 stage = :
51897 current_stage = ""
51899 @if gcc-bootstrap
51900 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
51901 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
51902 current_stage = "`cat stage_current 2> /dev/null`"
51903 @endif gcc-bootstrap
51905 .PHONY: unstage stage
51906 unstage:
51907 @: $(MAKE); $(unstage)
51908 stage:
51909 @: $(MAKE); $(stage)
51911 # Disable commands for lean bootstrap.
51912 LEAN = false
51914 # We name the build directories for the various stages "stage1-gcc",
51915 # "stage2-gcc","stage3-gcc", etc.
51917 # Since the 'compare' process will fail (on debugging information) if any
51918 # directory names are different, we need to link the gcc directory for
51919 # the previous stage to a constant name ('prev-gcc'), and to make the name of
51920 # the build directories constant as well. For the latter, we use naked names
51921 # like 'gcc', because the scripts in that directory assume it. We use
51922 # mv on platforms where symlinks to directories do not work or are not
51923 # reliable.
51925 # 'touch' doesn't work right on some platforms.
51926 STAMP = echo timestamp >
51928 # We only want to compare .o files, so set this!
51929 objext = .o
51932 .PHONY: stage1-start stage1-end
51934 stage1-start::
51935 @: $(MAKE); $(stage); \
51936 echo stage1 > stage_current; \
51937 echo stage1 > stage_last; \
51938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51939 @if bfd
51940 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
51941 mkdir stage1-bfd; \
51942 mv stage1-bfd bfd
51943 @endif bfd
51944 @if opcodes
51945 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
51946 mkdir stage1-opcodes; \
51947 mv stage1-opcodes opcodes
51948 @endif opcodes
51949 @if binutils
51950 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
51951 mkdir stage1-binutils; \
51952 mv stage1-binutils binutils
51953 @endif binutils
51954 @if fixincludes
51955 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
51956 mkdir stage1-fixincludes; \
51957 mv stage1-fixincludes fixincludes
51958 @endif fixincludes
51959 @if gas
51960 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
51961 mkdir stage1-gas; \
51962 mv stage1-gas gas
51963 @endif gas
51964 @if gcc
51965 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
51966 mkdir stage1-gcc; \
51967 mv stage1-gcc gcc
51968 @endif gcc
51969 @if gmp
51970 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
51971 mkdir stage1-gmp; \
51972 mv stage1-gmp gmp
51973 @endif gmp
51974 @if mpfr
51975 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
51976 mkdir stage1-mpfr; \
51977 mv stage1-mpfr mpfr
51978 @endif mpfr
51979 @if mpc
51980 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
51981 mkdir stage1-mpc; \
51982 mv stage1-mpc mpc
51983 @endif mpc
51984 @if isl
51985 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
51986 mkdir stage1-isl; \
51987 mv stage1-isl isl
51988 @endif isl
51989 @if libelf
51990 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
51991 mkdir stage1-libelf; \
51992 mv stage1-libelf libelf
51993 @endif libelf
51994 @if gold
51995 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
51996 mkdir stage1-gold; \
51997 mv stage1-gold gold
51998 @endif gold
51999 @if intl
52000 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52001 mkdir stage1-intl; \
52002 mv stage1-intl intl
52003 @endif intl
52004 @if ld
52005 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52006 mkdir stage1-ld; \
52007 mv stage1-ld ld
52008 @endif ld
52009 @if libbacktrace
52010 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52011 mkdir stage1-libbacktrace; \
52012 mv stage1-libbacktrace libbacktrace
52013 @endif libbacktrace
52014 @if libcpp
52015 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52016 mkdir stage1-libcpp; \
52017 mv stage1-libcpp libcpp
52018 @endif libcpp
52019 @if libdecnumber
52020 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52021 mkdir stage1-libdecnumber; \
52022 mv stage1-libdecnumber libdecnumber
52023 @endif libdecnumber
52024 @if libiberty
52025 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52026 mkdir stage1-libiberty; \
52027 mv stage1-libiberty libiberty
52028 @endif libiberty
52029 @if libiberty-linker-plugin
52030 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
52031 mkdir stage1-libiberty-linker-plugin; \
52032 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
52033 @endif libiberty-linker-plugin
52034 @if libiconv
52035 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
52036 mkdir stage1-libiconv; \
52037 mv stage1-libiconv libiconv
52038 @endif libiconv
52039 @if zlib
52040 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52041 mkdir stage1-zlib; \
52042 mv stage1-zlib zlib
52043 @endif zlib
52044 @if lto-plugin
52045 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
52046 mkdir stage1-lto-plugin; \
52047 mv stage1-lto-plugin lto-plugin
52048 @endif lto-plugin
52049 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52050 mkdir stage1-$(TARGET_SUBDIR); \
52051 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52053 stage1-end::
52054 @if bfd
52055 @if test -d $(HOST_SUBDIR)/bfd; then \
52056 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
52058 @endif bfd
52059 @if opcodes
52060 @if test -d $(HOST_SUBDIR)/opcodes; then \
52061 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
52063 @endif opcodes
52064 @if binutils
52065 @if test -d $(HOST_SUBDIR)/binutils; then \
52066 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
52068 @endif binutils
52069 @if fixincludes
52070 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52071 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
52073 @endif fixincludes
52074 @if gas
52075 @if test -d $(HOST_SUBDIR)/gas; then \
52076 cd $(HOST_SUBDIR); mv gas stage1-gas; \
52078 @endif gas
52079 @if gcc
52080 @if test -d $(HOST_SUBDIR)/gcc; then \
52081 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
52083 @endif gcc
52084 @if gmp
52085 @if test -d $(HOST_SUBDIR)/gmp; then \
52086 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
52088 @endif gmp
52089 @if mpfr
52090 @if test -d $(HOST_SUBDIR)/mpfr; then \
52091 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
52093 @endif mpfr
52094 @if mpc
52095 @if test -d $(HOST_SUBDIR)/mpc; then \
52096 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
52098 @endif mpc
52099 @if isl
52100 @if test -d $(HOST_SUBDIR)/isl; then \
52101 cd $(HOST_SUBDIR); mv isl stage1-isl; \
52103 @endif isl
52104 @if libelf
52105 @if test -d $(HOST_SUBDIR)/libelf; then \
52106 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
52108 @endif libelf
52109 @if gold
52110 @if test -d $(HOST_SUBDIR)/gold; then \
52111 cd $(HOST_SUBDIR); mv gold stage1-gold; \
52113 @endif gold
52114 @if intl
52115 @if test -d $(HOST_SUBDIR)/intl; then \
52116 cd $(HOST_SUBDIR); mv intl stage1-intl; \
52118 @endif intl
52119 @if ld
52120 @if test -d $(HOST_SUBDIR)/ld; then \
52121 cd $(HOST_SUBDIR); mv ld stage1-ld; \
52123 @endif ld
52124 @if libbacktrace
52125 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52126 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
52128 @endif libbacktrace
52129 @if libcpp
52130 @if test -d $(HOST_SUBDIR)/libcpp; then \
52131 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
52133 @endif libcpp
52134 @if libdecnumber
52135 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52136 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
52138 @endif libdecnumber
52139 @if libiberty
52140 @if test -d $(HOST_SUBDIR)/libiberty; then \
52141 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
52143 @endif libiberty
52144 @if libiberty-linker-plugin
52145 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52146 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
52148 @endif libiberty-linker-plugin
52149 @if libiconv
52150 @if test -d $(HOST_SUBDIR)/libiconv; then \
52151 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
52153 @endif libiconv
52154 @if zlib
52155 @if test -d $(HOST_SUBDIR)/zlib; then \
52156 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
52158 @endif zlib
52159 @if lto-plugin
52160 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52161 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
52163 @endif lto-plugin
52164 @if test -d $(TARGET_SUBDIR); then \
52165 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
52167 rm -f stage_current
52169 # Bubble a bug fix through all the stages up to stage 1. They are
52170 # remade, but not reconfigured. The next stage (if any) will not be
52171 # reconfigured either.
52172 .PHONY: stage1-bubble
52173 stage1-bubble::
52174 @r=`${PWD_COMMAND}`; export r; \
52175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52176 if test -f stage1-lean ; then \
52177 echo Skipping rebuild of stage1; \
52178 else \
52179 $(MAKE) stage1-start; \
52180 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52183 .PHONY: all-stage1 clean-stage1
52184 do-clean: clean-stage1
52186 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52187 # only possibility, but now it conflicts with no-bootstrap rules
52188 @if gcc-bootstrap
52193 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52195 .PHONY: distclean-stage1
52196 distclean-stage1::
52197 @: $(MAKE); $(stage)
52198 @test "`cat stage_last`" != stage1 || rm -f stage_last
52199 rm -rf stage1-*
52202 @endif gcc-bootstrap
52205 .PHONY: stage2-start stage2-end
52207 stage2-start::
52208 @: $(MAKE); $(stage); \
52209 echo stage2 > stage_current; \
52210 echo stage2 > stage_last; \
52211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52212 @if bfd
52213 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52214 mkdir stage2-bfd; \
52215 mv stage2-bfd bfd; \
52216 mv stage1-bfd prev-bfd || test -f stage1-lean
52217 @endif bfd
52218 @if opcodes
52219 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52220 mkdir stage2-opcodes; \
52221 mv stage2-opcodes opcodes; \
52222 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52223 @endif opcodes
52224 @if binutils
52225 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52226 mkdir stage2-binutils; \
52227 mv stage2-binutils binutils; \
52228 mv stage1-binutils prev-binutils || test -f stage1-lean
52229 @endif binutils
52230 @if fixincludes
52231 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
52232 mkdir stage2-fixincludes; \
52233 mv stage2-fixincludes fixincludes; \
52234 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
52235 @endif fixincludes
52236 @if gas
52237 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52238 mkdir stage2-gas; \
52239 mv stage2-gas gas; \
52240 mv stage1-gas prev-gas || test -f stage1-lean
52241 @endif gas
52242 @if gcc
52243 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52244 mkdir stage2-gcc; \
52245 mv stage2-gcc gcc; \
52246 mv stage1-gcc prev-gcc || test -f stage1-lean
52247 @endif gcc
52248 @if gmp
52249 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52250 mkdir stage2-gmp; \
52251 mv stage2-gmp gmp; \
52252 mv stage1-gmp prev-gmp || test -f stage1-lean
52253 @endif gmp
52254 @if mpfr
52255 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52256 mkdir stage2-mpfr; \
52257 mv stage2-mpfr mpfr; \
52258 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52259 @endif mpfr
52260 @if mpc
52261 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
52262 mkdir stage2-mpc; \
52263 mv stage2-mpc mpc; \
52264 mv stage1-mpc prev-mpc || test -f stage1-lean
52265 @endif mpc
52266 @if isl
52267 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
52268 mkdir stage2-isl; \
52269 mv stage2-isl isl; \
52270 mv stage1-isl prev-isl || test -f stage1-lean
52271 @endif isl
52272 @if libelf
52273 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
52274 mkdir stage2-libelf; \
52275 mv stage2-libelf libelf; \
52276 mv stage1-libelf prev-libelf || test -f stage1-lean
52277 @endif libelf
52278 @if gold
52279 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52280 mkdir stage2-gold; \
52281 mv stage2-gold gold; \
52282 mv stage1-gold prev-gold || test -f stage1-lean
52283 @endif gold
52284 @if intl
52285 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52286 mkdir stage2-intl; \
52287 mv stage2-intl intl; \
52288 mv stage1-intl prev-intl || test -f stage1-lean
52289 @endif intl
52290 @if ld
52291 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52292 mkdir stage2-ld; \
52293 mv stage2-ld ld; \
52294 mv stage1-ld prev-ld || test -f stage1-lean
52295 @endif ld
52296 @if libbacktrace
52297 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
52298 mkdir stage2-libbacktrace; \
52299 mv stage2-libbacktrace libbacktrace; \
52300 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
52301 @endif libbacktrace
52302 @if libcpp
52303 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52304 mkdir stage2-libcpp; \
52305 mv stage2-libcpp libcpp; \
52306 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52307 @endif libcpp
52308 @if libdecnumber
52309 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52310 mkdir stage2-libdecnumber; \
52311 mv stage2-libdecnumber libdecnumber; \
52312 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52313 @endif libdecnumber
52314 @if libiberty
52315 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52316 mkdir stage2-libiberty; \
52317 mv stage2-libiberty libiberty; \
52318 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52319 @endif libiberty
52320 @if libiberty-linker-plugin
52321 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
52322 mkdir stage2-libiberty-linker-plugin; \
52323 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
52324 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
52325 @endif libiberty-linker-plugin
52326 @if libiconv
52327 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
52328 mkdir stage2-libiconv; \
52329 mv stage2-libiconv libiconv; \
52330 mv stage1-libiconv prev-libiconv || test -f stage1-lean
52331 @endif libiconv
52332 @if zlib
52333 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52334 mkdir stage2-zlib; \
52335 mv stage2-zlib zlib; \
52336 mv stage1-zlib prev-zlib || test -f stage1-lean
52337 @endif zlib
52338 @if lto-plugin
52339 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
52340 mkdir stage2-lto-plugin; \
52341 mv stage2-lto-plugin lto-plugin; \
52342 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
52343 @endif lto-plugin
52344 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52345 mkdir stage2-$(TARGET_SUBDIR); \
52346 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52347 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52349 stage2-end::
52350 @if bfd
52351 @if test -d $(HOST_SUBDIR)/bfd; then \
52352 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
52353 mv prev-bfd stage1-bfd; : ; \
52355 @endif bfd
52356 @if opcodes
52357 @if test -d $(HOST_SUBDIR)/opcodes; then \
52358 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
52359 mv prev-opcodes stage1-opcodes; : ; \
52361 @endif opcodes
52362 @if binutils
52363 @if test -d $(HOST_SUBDIR)/binutils; then \
52364 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
52365 mv prev-binutils stage1-binutils; : ; \
52367 @endif binutils
52368 @if fixincludes
52369 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52370 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
52371 mv prev-fixincludes stage1-fixincludes; : ; \
52373 @endif fixincludes
52374 @if gas
52375 @if test -d $(HOST_SUBDIR)/gas; then \
52376 cd $(HOST_SUBDIR); mv gas stage2-gas; \
52377 mv prev-gas stage1-gas; : ; \
52379 @endif gas
52380 @if gcc
52381 @if test -d $(HOST_SUBDIR)/gcc; then \
52382 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
52383 mv prev-gcc stage1-gcc; : ; \
52385 @endif gcc
52386 @if gmp
52387 @if test -d $(HOST_SUBDIR)/gmp; then \
52388 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
52389 mv prev-gmp stage1-gmp; : ; \
52391 @endif gmp
52392 @if mpfr
52393 @if test -d $(HOST_SUBDIR)/mpfr; then \
52394 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
52395 mv prev-mpfr stage1-mpfr; : ; \
52397 @endif mpfr
52398 @if mpc
52399 @if test -d $(HOST_SUBDIR)/mpc; then \
52400 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
52401 mv prev-mpc stage1-mpc; : ; \
52403 @endif mpc
52404 @if isl
52405 @if test -d $(HOST_SUBDIR)/isl; then \
52406 cd $(HOST_SUBDIR); mv isl stage2-isl; \
52407 mv prev-isl stage1-isl; : ; \
52409 @endif isl
52410 @if libelf
52411 @if test -d $(HOST_SUBDIR)/libelf; then \
52412 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
52413 mv prev-libelf stage1-libelf; : ; \
52415 @endif libelf
52416 @if gold
52417 @if test -d $(HOST_SUBDIR)/gold; then \
52418 cd $(HOST_SUBDIR); mv gold stage2-gold; \
52419 mv prev-gold stage1-gold; : ; \
52421 @endif gold
52422 @if intl
52423 @if test -d $(HOST_SUBDIR)/intl; then \
52424 cd $(HOST_SUBDIR); mv intl stage2-intl; \
52425 mv prev-intl stage1-intl; : ; \
52427 @endif intl
52428 @if ld
52429 @if test -d $(HOST_SUBDIR)/ld; then \
52430 cd $(HOST_SUBDIR); mv ld stage2-ld; \
52431 mv prev-ld stage1-ld; : ; \
52433 @endif ld
52434 @if libbacktrace
52435 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52436 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
52437 mv prev-libbacktrace stage1-libbacktrace; : ; \
52439 @endif libbacktrace
52440 @if libcpp
52441 @if test -d $(HOST_SUBDIR)/libcpp; then \
52442 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
52443 mv prev-libcpp stage1-libcpp; : ; \
52445 @endif libcpp
52446 @if libdecnumber
52447 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52448 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
52449 mv prev-libdecnumber stage1-libdecnumber; : ; \
52451 @endif libdecnumber
52452 @if libiberty
52453 @if test -d $(HOST_SUBDIR)/libiberty; then \
52454 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
52455 mv prev-libiberty stage1-libiberty; : ; \
52457 @endif libiberty
52458 @if libiberty-linker-plugin
52459 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52460 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
52461 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
52463 @endif libiberty-linker-plugin
52464 @if libiconv
52465 @if test -d $(HOST_SUBDIR)/libiconv; then \
52466 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
52467 mv prev-libiconv stage1-libiconv; : ; \
52469 @endif libiconv
52470 @if zlib
52471 @if test -d $(HOST_SUBDIR)/zlib; then \
52472 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
52473 mv prev-zlib stage1-zlib; : ; \
52475 @endif zlib
52476 @if lto-plugin
52477 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52478 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
52479 mv prev-lto-plugin stage1-lto-plugin; : ; \
52481 @endif lto-plugin
52482 @if test -d $(TARGET_SUBDIR); then \
52483 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
52484 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
52486 rm -f stage_current
52488 # Bubble a bug fix through all the stages up to stage 2. They are
52489 # remade, but not reconfigured. The next stage (if any) will not be
52490 # reconfigured either.
52491 .PHONY: stage2-bubble
52492 stage2-bubble:: stage1-bubble
52493 @r=`${PWD_COMMAND}`; export r; \
52494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52495 if test -f stage2-lean || test -f stage1-lean ; then \
52496 echo Skipping rebuild of stage2; \
52497 else \
52498 $(MAKE) stage2-start; \
52499 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
52502 .PHONY: all-stage2 clean-stage2
52503 do-clean: clean-stage2
52505 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52506 # only possibility, but now it conflicts with no-bootstrap rules
52507 @if gcc-bootstrap
52511 .PHONY: bootstrap2 bootstrap2-lean
52512 bootstrap2:
52513 echo stage2 > stage_final
52514 @r=`${PWD_COMMAND}`; export r; \
52515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52516 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
52517 @: $(MAKE); $(unstage)
52518 @r=`${PWD_COMMAND}`; export r; \
52519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52520 TFLAGS="$(STAGE2_TFLAGS)"; \
52521 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52523 bootstrap2-lean:
52524 echo stage2 > stage_final
52525 @r=`${PWD_COMMAND}`; export r; \
52526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52527 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
52528 @: $(MAKE); $(unstage)
52529 @r=`${PWD_COMMAND}`; export r; \
52530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52531 TFLAGS="$(STAGE2_TFLAGS)"; \
52532 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52535 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52536 distclean-stage1:: distclean-stage2
52537 .PHONY: distclean-stage2
52538 distclean-stage2::
52539 @: $(MAKE); $(stage)
52540 @test "`cat stage_last`" != stage2 || rm -f stage_last
52541 rm -rf stage2-*
52544 @endif gcc-bootstrap
52547 .PHONY: stage3-start stage3-end
52549 stage3-start::
52550 @: $(MAKE); $(stage); \
52551 echo stage3 > stage_current; \
52552 echo stage3 > stage_last; \
52553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52554 @if bfd
52555 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
52556 mkdir stage3-bfd; \
52557 mv stage3-bfd bfd; \
52558 mv stage2-bfd prev-bfd || test -f stage2-lean
52559 @endif bfd
52560 @if opcodes
52561 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
52562 mkdir stage3-opcodes; \
52563 mv stage3-opcodes opcodes; \
52564 mv stage2-opcodes prev-opcodes || test -f stage2-lean
52565 @endif opcodes
52566 @if binutils
52567 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
52568 mkdir stage3-binutils; \
52569 mv stage3-binutils binutils; \
52570 mv stage2-binutils prev-binutils || test -f stage2-lean
52571 @endif binutils
52572 @if fixincludes
52573 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
52574 mkdir stage3-fixincludes; \
52575 mv stage3-fixincludes fixincludes; \
52576 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
52577 @endif fixincludes
52578 @if gas
52579 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
52580 mkdir stage3-gas; \
52581 mv stage3-gas gas; \
52582 mv stage2-gas prev-gas || test -f stage2-lean
52583 @endif gas
52584 @if gcc
52585 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
52586 mkdir stage3-gcc; \
52587 mv stage3-gcc gcc; \
52588 mv stage2-gcc prev-gcc || test -f stage2-lean
52589 @endif gcc
52590 @if gmp
52591 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
52592 mkdir stage3-gmp; \
52593 mv stage3-gmp gmp; \
52594 mv stage2-gmp prev-gmp || test -f stage2-lean
52595 @endif gmp
52596 @if mpfr
52597 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
52598 mkdir stage3-mpfr; \
52599 mv stage3-mpfr mpfr; \
52600 mv stage2-mpfr prev-mpfr || test -f stage2-lean
52601 @endif mpfr
52602 @if mpc
52603 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
52604 mkdir stage3-mpc; \
52605 mv stage3-mpc mpc; \
52606 mv stage2-mpc prev-mpc || test -f stage2-lean
52607 @endif mpc
52608 @if isl
52609 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
52610 mkdir stage3-isl; \
52611 mv stage3-isl isl; \
52612 mv stage2-isl prev-isl || test -f stage2-lean
52613 @endif isl
52614 @if libelf
52615 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
52616 mkdir stage3-libelf; \
52617 mv stage3-libelf libelf; \
52618 mv stage2-libelf prev-libelf || test -f stage2-lean
52619 @endif libelf
52620 @if gold
52621 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
52622 mkdir stage3-gold; \
52623 mv stage3-gold gold; \
52624 mv stage2-gold prev-gold || test -f stage2-lean
52625 @endif gold
52626 @if intl
52627 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
52628 mkdir stage3-intl; \
52629 mv stage3-intl intl; \
52630 mv stage2-intl prev-intl || test -f stage2-lean
52631 @endif intl
52632 @if ld
52633 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
52634 mkdir stage3-ld; \
52635 mv stage3-ld ld; \
52636 mv stage2-ld prev-ld || test -f stage2-lean
52637 @endif ld
52638 @if libbacktrace
52639 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
52640 mkdir stage3-libbacktrace; \
52641 mv stage3-libbacktrace libbacktrace; \
52642 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
52643 @endif libbacktrace
52644 @if libcpp
52645 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
52646 mkdir stage3-libcpp; \
52647 mv stage3-libcpp libcpp; \
52648 mv stage2-libcpp prev-libcpp || test -f stage2-lean
52649 @endif libcpp
52650 @if libdecnumber
52651 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
52652 mkdir stage3-libdecnumber; \
52653 mv stage3-libdecnumber libdecnumber; \
52654 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
52655 @endif libdecnumber
52656 @if libiberty
52657 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
52658 mkdir stage3-libiberty; \
52659 mv stage3-libiberty libiberty; \
52660 mv stage2-libiberty prev-libiberty || test -f stage2-lean
52661 @endif libiberty
52662 @if libiberty-linker-plugin
52663 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
52664 mkdir stage3-libiberty-linker-plugin; \
52665 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
52666 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
52667 @endif libiberty-linker-plugin
52668 @if libiconv
52669 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
52670 mkdir stage3-libiconv; \
52671 mv stage3-libiconv libiconv; \
52672 mv stage2-libiconv prev-libiconv || test -f stage2-lean
52673 @endif libiconv
52674 @if zlib
52675 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
52676 mkdir stage3-zlib; \
52677 mv stage3-zlib zlib; \
52678 mv stage2-zlib prev-zlib || test -f stage2-lean
52679 @endif zlib
52680 @if lto-plugin
52681 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
52682 mkdir stage3-lto-plugin; \
52683 mv stage3-lto-plugin lto-plugin; \
52684 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
52685 @endif lto-plugin
52686 @[ -d stage3-$(TARGET_SUBDIR) ] || \
52687 mkdir stage3-$(TARGET_SUBDIR); \
52688 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52689 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
52691 stage3-end::
52692 @if bfd
52693 @if test -d $(HOST_SUBDIR)/bfd; then \
52694 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
52695 mv prev-bfd stage2-bfd; : ; \
52697 @endif bfd
52698 @if opcodes
52699 @if test -d $(HOST_SUBDIR)/opcodes; then \
52700 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
52701 mv prev-opcodes stage2-opcodes; : ; \
52703 @endif opcodes
52704 @if binutils
52705 @if test -d $(HOST_SUBDIR)/binutils; then \
52706 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
52707 mv prev-binutils stage2-binutils; : ; \
52709 @endif binutils
52710 @if fixincludes
52711 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52712 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
52713 mv prev-fixincludes stage2-fixincludes; : ; \
52715 @endif fixincludes
52716 @if gas
52717 @if test -d $(HOST_SUBDIR)/gas; then \
52718 cd $(HOST_SUBDIR); mv gas stage3-gas; \
52719 mv prev-gas stage2-gas; : ; \
52721 @endif gas
52722 @if gcc
52723 @if test -d $(HOST_SUBDIR)/gcc; then \
52724 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
52725 mv prev-gcc stage2-gcc; : ; \
52727 @endif gcc
52728 @if gmp
52729 @if test -d $(HOST_SUBDIR)/gmp; then \
52730 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
52731 mv prev-gmp stage2-gmp; : ; \
52733 @endif gmp
52734 @if mpfr
52735 @if test -d $(HOST_SUBDIR)/mpfr; then \
52736 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
52737 mv prev-mpfr stage2-mpfr; : ; \
52739 @endif mpfr
52740 @if mpc
52741 @if test -d $(HOST_SUBDIR)/mpc; then \
52742 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
52743 mv prev-mpc stage2-mpc; : ; \
52745 @endif mpc
52746 @if isl
52747 @if test -d $(HOST_SUBDIR)/isl; then \
52748 cd $(HOST_SUBDIR); mv isl stage3-isl; \
52749 mv prev-isl stage2-isl; : ; \
52751 @endif isl
52752 @if libelf
52753 @if test -d $(HOST_SUBDIR)/libelf; then \
52754 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
52755 mv prev-libelf stage2-libelf; : ; \
52757 @endif libelf
52758 @if gold
52759 @if test -d $(HOST_SUBDIR)/gold; then \
52760 cd $(HOST_SUBDIR); mv gold stage3-gold; \
52761 mv prev-gold stage2-gold; : ; \
52763 @endif gold
52764 @if intl
52765 @if test -d $(HOST_SUBDIR)/intl; then \
52766 cd $(HOST_SUBDIR); mv intl stage3-intl; \
52767 mv prev-intl stage2-intl; : ; \
52769 @endif intl
52770 @if ld
52771 @if test -d $(HOST_SUBDIR)/ld; then \
52772 cd $(HOST_SUBDIR); mv ld stage3-ld; \
52773 mv prev-ld stage2-ld; : ; \
52775 @endif ld
52776 @if libbacktrace
52777 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52778 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
52779 mv prev-libbacktrace stage2-libbacktrace; : ; \
52781 @endif libbacktrace
52782 @if libcpp
52783 @if test -d $(HOST_SUBDIR)/libcpp; then \
52784 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
52785 mv prev-libcpp stage2-libcpp; : ; \
52787 @endif libcpp
52788 @if libdecnumber
52789 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52790 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
52791 mv prev-libdecnumber stage2-libdecnumber; : ; \
52793 @endif libdecnumber
52794 @if libiberty
52795 @if test -d $(HOST_SUBDIR)/libiberty; then \
52796 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
52797 mv prev-libiberty stage2-libiberty; : ; \
52799 @endif libiberty
52800 @if libiberty-linker-plugin
52801 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52802 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
52803 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
52805 @endif libiberty-linker-plugin
52806 @if libiconv
52807 @if test -d $(HOST_SUBDIR)/libiconv; then \
52808 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
52809 mv prev-libiconv stage2-libiconv; : ; \
52811 @endif libiconv
52812 @if zlib
52813 @if test -d $(HOST_SUBDIR)/zlib; then \
52814 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
52815 mv prev-zlib stage2-zlib; : ; \
52817 @endif zlib
52818 @if lto-plugin
52819 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52820 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
52821 mv prev-lto-plugin stage2-lto-plugin; : ; \
52823 @endif lto-plugin
52824 @if test -d $(TARGET_SUBDIR); then \
52825 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
52826 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
52828 rm -f stage_current
52830 # Bubble a bug fix through all the stages up to stage 3. They are
52831 # remade, but not reconfigured. The next stage (if any) will not be
52832 # reconfigured either.
52833 .PHONY: stage3-bubble
52834 stage3-bubble:: stage2-bubble
52835 @r=`${PWD_COMMAND}`; export r; \
52836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52837 if test -f stage3-lean || test -f stage2-lean ; then \
52838 echo Skipping rebuild of stage3; \
52839 else \
52840 $(MAKE) stage3-start; \
52841 if $(LEAN); then \
52842 rm -rf stage1-*; \
52843 $(STAMP) stage1-lean; \
52844 fi; \
52845 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
52847 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
52849 .PHONY: all-stage3 clean-stage3
52850 do-clean: clean-stage3
52852 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52853 # only possibility, but now it conflicts with no-bootstrap rules
52854 @if gcc-bootstrap
52856 compare:
52857 @r=`${PWD_COMMAND}`; export r; \
52858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52859 if test -f stage2-lean; then \
52860 echo Cannot compare object files as stage 2 was deleted.; \
52861 exit 0; \
52862 fi; \
52863 : $(MAKE); $(stage); \
52864 rm -f .bad_compare; \
52865 echo Comparing stages 2 and 3; \
52866 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
52867 files=`find stage3-* -name "*$(objext)" -print | \
52868 sed -n s,^stage$$sed-,,p`; \
52869 for file in $${files}; do \
52870 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
52871 if test ! -f $$f1; then continue; fi; \
52872 $(do-compare) > /dev/null 2>&1; \
52873 if test $$? -eq 1; then \
52874 case $$file in \
52875 @compare_exclusions@) \
52876 echo warning: $$file differs ;; \
52877 *) \
52878 echo $$file differs >> .bad_compare ;; \
52879 esac; \
52880 fi; \
52881 done; \
52882 if [ -f .bad_compare ]; then \
52883 echo "Bootstrap comparison failure!"; \
52884 cat .bad_compare; \
52885 exit 1; \
52886 else \
52887 echo Comparison successful.; \
52888 fi; \
52889 $(STAMP) compare
52890 if $(LEAN); then \
52891 rm -rf stage2-*; \
52892 $(STAMP) stage2-lean; \
52897 .PHONY: bootstrap bootstrap-lean
52898 bootstrap:
52899 echo stage3 > stage_final
52900 @r=`${PWD_COMMAND}`; export r; \
52901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52903 @: $(MAKE); $(unstage)
52904 @r=`${PWD_COMMAND}`; export r; \
52905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52906 TFLAGS="$(STAGE3_TFLAGS)"; \
52907 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52909 bootstrap-lean:
52910 echo stage3 > stage_final
52911 @r=`${PWD_COMMAND}`; export r; \
52912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52913 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
52914 @: $(MAKE); $(unstage)
52915 @r=`${PWD_COMMAND}`; export r; \
52916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52917 TFLAGS="$(STAGE3_TFLAGS)"; \
52918 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52921 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52922 distclean-stage2:: distclean-stage3
52923 .PHONY: distclean-stage3
52924 distclean-stage3::
52925 @: $(MAKE); $(stage)
52926 @test "`cat stage_last`" != stage3 || rm -f stage_last
52927 rm -rf stage3-* compare
52930 .PHONY: cleanstrap
52931 cleanstrap: do-distclean local-clean
52932 echo stage3 > stage_final
52933 @r=`${PWD_COMMAND}`; export r; \
52934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52935 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52936 @: $(MAKE); $(unstage)
52937 @r=`${PWD_COMMAND}`; export r; \
52938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52939 TFLAGS="$(STAGE3_TFLAGS)"; \
52940 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52942 @endif gcc-bootstrap
52945 .PHONY: stage4-start stage4-end
52947 stage4-start::
52948 @: $(MAKE); $(stage); \
52949 echo stage4 > stage_current; \
52950 echo stage4 > stage_last; \
52951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52952 @if bfd
52953 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
52954 mkdir stage4-bfd; \
52955 mv stage4-bfd bfd; \
52956 mv stage3-bfd prev-bfd || test -f stage3-lean
52957 @endif bfd
52958 @if opcodes
52959 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
52960 mkdir stage4-opcodes; \
52961 mv stage4-opcodes opcodes; \
52962 mv stage3-opcodes prev-opcodes || test -f stage3-lean
52963 @endif opcodes
52964 @if binutils
52965 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
52966 mkdir stage4-binutils; \
52967 mv stage4-binutils binutils; \
52968 mv stage3-binutils prev-binutils || test -f stage3-lean
52969 @endif binutils
52970 @if fixincludes
52971 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
52972 mkdir stage4-fixincludes; \
52973 mv stage4-fixincludes fixincludes; \
52974 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
52975 @endif fixincludes
52976 @if gas
52977 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
52978 mkdir stage4-gas; \
52979 mv stage4-gas gas; \
52980 mv stage3-gas prev-gas || test -f stage3-lean
52981 @endif gas
52982 @if gcc
52983 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
52984 mkdir stage4-gcc; \
52985 mv stage4-gcc gcc; \
52986 mv stage3-gcc prev-gcc || test -f stage3-lean
52987 @endif gcc
52988 @if gmp
52989 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
52990 mkdir stage4-gmp; \
52991 mv stage4-gmp gmp; \
52992 mv stage3-gmp prev-gmp || test -f stage3-lean
52993 @endif gmp
52994 @if mpfr
52995 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
52996 mkdir stage4-mpfr; \
52997 mv stage4-mpfr mpfr; \
52998 mv stage3-mpfr prev-mpfr || test -f stage3-lean
52999 @endif mpfr
53000 @if mpc
53001 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53002 mkdir stage4-mpc; \
53003 mv stage4-mpc mpc; \
53004 mv stage3-mpc prev-mpc || test -f stage3-lean
53005 @endif mpc
53006 @if isl
53007 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53008 mkdir stage4-isl; \
53009 mv stage4-isl isl; \
53010 mv stage3-isl prev-isl || test -f stage3-lean
53011 @endif isl
53012 @if libelf
53013 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53014 mkdir stage4-libelf; \
53015 mv stage4-libelf libelf; \
53016 mv stage3-libelf prev-libelf || test -f stage3-lean
53017 @endif libelf
53018 @if gold
53019 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
53020 mkdir stage4-gold; \
53021 mv stage4-gold gold; \
53022 mv stage3-gold prev-gold || test -f stage3-lean
53023 @endif gold
53024 @if intl
53025 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
53026 mkdir stage4-intl; \
53027 mv stage4-intl intl; \
53028 mv stage3-intl prev-intl || test -f stage3-lean
53029 @endif intl
53030 @if ld
53031 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
53032 mkdir stage4-ld; \
53033 mv stage4-ld ld; \
53034 mv stage3-ld prev-ld || test -f stage3-lean
53035 @endif ld
53036 @if libbacktrace
53037 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
53038 mkdir stage4-libbacktrace; \
53039 mv stage4-libbacktrace libbacktrace; \
53040 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
53041 @endif libbacktrace
53042 @if libcpp
53043 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
53044 mkdir stage4-libcpp; \
53045 mv stage4-libcpp libcpp; \
53046 mv stage3-libcpp prev-libcpp || test -f stage3-lean
53047 @endif libcpp
53048 @if libdecnumber
53049 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
53050 mkdir stage4-libdecnumber; \
53051 mv stage4-libdecnumber libdecnumber; \
53052 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
53053 @endif libdecnumber
53054 @if libiberty
53055 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
53056 mkdir stage4-libiberty; \
53057 mv stage4-libiberty libiberty; \
53058 mv stage3-libiberty prev-libiberty || test -f stage3-lean
53059 @endif libiberty
53060 @if libiberty-linker-plugin
53061 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
53062 mkdir stage4-libiberty-linker-plugin; \
53063 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
53064 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
53065 @endif libiberty-linker-plugin
53066 @if libiconv
53067 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
53068 mkdir stage4-libiconv; \
53069 mv stage4-libiconv libiconv; \
53070 mv stage3-libiconv prev-libiconv || test -f stage3-lean
53071 @endif libiconv
53072 @if zlib
53073 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
53074 mkdir stage4-zlib; \
53075 mv stage4-zlib zlib; \
53076 mv stage3-zlib prev-zlib || test -f stage3-lean
53077 @endif zlib
53078 @if lto-plugin
53079 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
53080 mkdir stage4-lto-plugin; \
53081 mv stage4-lto-plugin lto-plugin; \
53082 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
53083 @endif lto-plugin
53084 @[ -d stage4-$(TARGET_SUBDIR) ] || \
53085 mkdir stage4-$(TARGET_SUBDIR); \
53086 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53087 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
53089 stage4-end::
53090 @if bfd
53091 @if test -d $(HOST_SUBDIR)/bfd; then \
53092 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
53093 mv prev-bfd stage3-bfd; : ; \
53095 @endif bfd
53096 @if opcodes
53097 @if test -d $(HOST_SUBDIR)/opcodes; then \
53098 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
53099 mv prev-opcodes stage3-opcodes; : ; \
53101 @endif opcodes
53102 @if binutils
53103 @if test -d $(HOST_SUBDIR)/binutils; then \
53104 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
53105 mv prev-binutils stage3-binutils; : ; \
53107 @endif binutils
53108 @if fixincludes
53109 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53110 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
53111 mv prev-fixincludes stage3-fixincludes; : ; \
53113 @endif fixincludes
53114 @if gas
53115 @if test -d $(HOST_SUBDIR)/gas; then \
53116 cd $(HOST_SUBDIR); mv gas stage4-gas; \
53117 mv prev-gas stage3-gas; : ; \
53119 @endif gas
53120 @if gcc
53121 @if test -d $(HOST_SUBDIR)/gcc; then \
53122 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
53123 mv prev-gcc stage3-gcc; : ; \
53125 @endif gcc
53126 @if gmp
53127 @if test -d $(HOST_SUBDIR)/gmp; then \
53128 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
53129 mv prev-gmp stage3-gmp; : ; \
53131 @endif gmp
53132 @if mpfr
53133 @if test -d $(HOST_SUBDIR)/mpfr; then \
53134 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
53135 mv prev-mpfr stage3-mpfr; : ; \
53137 @endif mpfr
53138 @if mpc
53139 @if test -d $(HOST_SUBDIR)/mpc; then \
53140 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
53141 mv prev-mpc stage3-mpc; : ; \
53143 @endif mpc
53144 @if isl
53145 @if test -d $(HOST_SUBDIR)/isl; then \
53146 cd $(HOST_SUBDIR); mv isl stage4-isl; \
53147 mv prev-isl stage3-isl; : ; \
53149 @endif isl
53150 @if libelf
53151 @if test -d $(HOST_SUBDIR)/libelf; then \
53152 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
53153 mv prev-libelf stage3-libelf; : ; \
53155 @endif libelf
53156 @if gold
53157 @if test -d $(HOST_SUBDIR)/gold; then \
53158 cd $(HOST_SUBDIR); mv gold stage4-gold; \
53159 mv prev-gold stage3-gold; : ; \
53161 @endif gold
53162 @if intl
53163 @if test -d $(HOST_SUBDIR)/intl; then \
53164 cd $(HOST_SUBDIR); mv intl stage4-intl; \
53165 mv prev-intl stage3-intl; : ; \
53167 @endif intl
53168 @if ld
53169 @if test -d $(HOST_SUBDIR)/ld; then \
53170 cd $(HOST_SUBDIR); mv ld stage4-ld; \
53171 mv prev-ld stage3-ld; : ; \
53173 @endif ld
53174 @if libbacktrace
53175 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53176 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
53177 mv prev-libbacktrace stage3-libbacktrace; : ; \
53179 @endif libbacktrace
53180 @if libcpp
53181 @if test -d $(HOST_SUBDIR)/libcpp; then \
53182 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
53183 mv prev-libcpp stage3-libcpp; : ; \
53185 @endif libcpp
53186 @if libdecnumber
53187 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53188 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
53189 mv prev-libdecnumber stage3-libdecnumber; : ; \
53191 @endif libdecnumber
53192 @if libiberty
53193 @if test -d $(HOST_SUBDIR)/libiberty; then \
53194 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
53195 mv prev-libiberty stage3-libiberty; : ; \
53197 @endif libiberty
53198 @if libiberty-linker-plugin
53199 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53200 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
53201 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
53203 @endif libiberty-linker-plugin
53204 @if libiconv
53205 @if test -d $(HOST_SUBDIR)/libiconv; then \
53206 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
53207 mv prev-libiconv stage3-libiconv; : ; \
53209 @endif libiconv
53210 @if zlib
53211 @if test -d $(HOST_SUBDIR)/zlib; then \
53212 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
53213 mv prev-zlib stage3-zlib; : ; \
53215 @endif zlib
53216 @if lto-plugin
53217 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53218 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
53219 mv prev-lto-plugin stage3-lto-plugin; : ; \
53221 @endif lto-plugin
53222 @if test -d $(TARGET_SUBDIR); then \
53223 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
53224 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
53226 rm -f stage_current
53228 # Bubble a bug fix through all the stages up to stage 4. They are
53229 # remade, but not reconfigured. The next stage (if any) will not be
53230 # reconfigured either.
53231 .PHONY: stage4-bubble
53232 stage4-bubble:: stage3-bubble
53233 @r=`${PWD_COMMAND}`; export r; \
53234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53235 if test -f stage4-lean || test -f stage3-lean ; then \
53236 echo Skipping rebuild of stage4; \
53237 else \
53238 $(MAKE) stage4-start; \
53239 if $(LEAN); then \
53240 rm -rf stage2-*; \
53241 $(STAMP) stage2-lean; \
53242 fi; \
53243 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
53245 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
53247 .PHONY: all-stage4 clean-stage4
53248 do-clean: clean-stage4
53250 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53251 # only possibility, but now it conflicts with no-bootstrap rules
53252 @if gcc-bootstrap
53254 compare3:
53255 @r=`${PWD_COMMAND}`; export r; \
53256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53257 if test -f stage3-lean; then \
53258 echo Cannot compare object files as stage 3 was deleted.; \
53259 exit 0; \
53260 fi; \
53261 : $(MAKE); $(stage); \
53262 rm -f .bad_compare; \
53263 echo Comparing stages 3 and 4; \
53264 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
53265 files=`find stage4-* -name "*$(objext)" -print | \
53266 sed -n s,^stage$$sed-,,p`; \
53267 for file in $${files}; do \
53268 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
53269 if test ! -f $$f1; then continue; fi; \
53270 $(do-compare3) > /dev/null 2>&1; \
53271 if test $$? -eq 1; then \
53272 case $$file in \
53273 @compare_exclusions@) \
53274 echo warning: $$file differs ;; \
53275 *) \
53276 echo $$file differs >> .bad_compare ;; \
53277 esac; \
53278 fi; \
53279 done; \
53280 if [ -f .bad_compare ]; then \
53281 echo "Bootstrap comparison failure!"; \
53282 cat .bad_compare; \
53283 exit 1; \
53284 else \
53285 echo Comparison successful.; \
53286 fi; \
53287 $(STAMP) compare3
53288 if $(LEAN); then \
53289 rm -rf stage3-*; \
53290 $(STAMP) stage3-lean; \
53295 .PHONY: bootstrap4 bootstrap4-lean
53296 bootstrap4:
53297 echo stage4 > stage_final
53298 @r=`${PWD_COMMAND}`; export r; \
53299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53300 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
53301 @: $(MAKE); $(unstage)
53302 @r=`${PWD_COMMAND}`; export r; \
53303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53304 TFLAGS="$(STAGE4_TFLAGS)"; \
53305 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53307 bootstrap4-lean:
53308 echo stage4 > stage_final
53309 @r=`${PWD_COMMAND}`; export r; \
53310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53311 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
53312 @: $(MAKE); $(unstage)
53313 @r=`${PWD_COMMAND}`; export r; \
53314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53315 TFLAGS="$(STAGE4_TFLAGS)"; \
53316 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53319 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53320 distclean-stage3:: distclean-stage4
53321 .PHONY: distclean-stage4
53322 distclean-stage4::
53323 @: $(MAKE); $(stage)
53324 @test "`cat stage_last`" != stage4 || rm -f stage_last
53325 rm -rf stage4-* compare3
53328 @endif gcc-bootstrap
53331 .PHONY: stageprofile-start stageprofile-end
53333 stageprofile-start::
53334 @: $(MAKE); $(stage); \
53335 echo stageprofile > stage_current; \
53336 echo stageprofile > stage_last; \
53337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53338 @if bfd
53339 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
53340 mkdir stageprofile-bfd; \
53341 mv stageprofile-bfd bfd; \
53342 mv stage1-bfd prev-bfd || test -f stage1-lean
53343 @endif bfd
53344 @if opcodes
53345 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
53346 mkdir stageprofile-opcodes; \
53347 mv stageprofile-opcodes opcodes; \
53348 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53349 @endif opcodes
53350 @if binutils
53351 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
53352 mkdir stageprofile-binutils; \
53353 mv stageprofile-binutils binutils; \
53354 mv stage1-binutils prev-binutils || test -f stage1-lean
53355 @endif binutils
53356 @if fixincludes
53357 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
53358 mkdir stageprofile-fixincludes; \
53359 mv stageprofile-fixincludes fixincludes; \
53360 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53361 @endif fixincludes
53362 @if gas
53363 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
53364 mkdir stageprofile-gas; \
53365 mv stageprofile-gas gas; \
53366 mv stage1-gas prev-gas || test -f stage1-lean
53367 @endif gas
53368 @if gcc
53369 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
53370 mkdir stageprofile-gcc; \
53371 mv stageprofile-gcc gcc; \
53372 mv stage1-gcc prev-gcc || test -f stage1-lean
53373 @endif gcc
53374 @if gmp
53375 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
53376 mkdir stageprofile-gmp; \
53377 mv stageprofile-gmp gmp; \
53378 mv stage1-gmp prev-gmp || test -f stage1-lean
53379 @endif gmp
53380 @if mpfr
53381 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
53382 mkdir stageprofile-mpfr; \
53383 mv stageprofile-mpfr mpfr; \
53384 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53385 @endif mpfr
53386 @if mpc
53387 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
53388 mkdir stageprofile-mpc; \
53389 mv stageprofile-mpc mpc; \
53390 mv stage1-mpc prev-mpc || test -f stage1-lean
53391 @endif mpc
53392 @if isl
53393 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
53394 mkdir stageprofile-isl; \
53395 mv stageprofile-isl isl; \
53396 mv stage1-isl prev-isl || test -f stage1-lean
53397 @endif isl
53398 @if libelf
53399 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
53400 mkdir stageprofile-libelf; \
53401 mv stageprofile-libelf libelf; \
53402 mv stage1-libelf prev-libelf || test -f stage1-lean
53403 @endif libelf
53404 @if gold
53405 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
53406 mkdir stageprofile-gold; \
53407 mv stageprofile-gold gold; \
53408 mv stage1-gold prev-gold || test -f stage1-lean
53409 @endif gold
53410 @if intl
53411 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
53412 mkdir stageprofile-intl; \
53413 mv stageprofile-intl intl; \
53414 mv stage1-intl prev-intl || test -f stage1-lean
53415 @endif intl
53416 @if ld
53417 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
53418 mkdir stageprofile-ld; \
53419 mv stageprofile-ld ld; \
53420 mv stage1-ld prev-ld || test -f stage1-lean
53421 @endif ld
53422 @if libbacktrace
53423 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
53424 mkdir stageprofile-libbacktrace; \
53425 mv stageprofile-libbacktrace libbacktrace; \
53426 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53427 @endif libbacktrace
53428 @if libcpp
53429 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
53430 mkdir stageprofile-libcpp; \
53431 mv stageprofile-libcpp libcpp; \
53432 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53433 @endif libcpp
53434 @if libdecnumber
53435 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
53436 mkdir stageprofile-libdecnumber; \
53437 mv stageprofile-libdecnumber libdecnumber; \
53438 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53439 @endif libdecnumber
53440 @if libiberty
53441 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
53442 mkdir stageprofile-libiberty; \
53443 mv stageprofile-libiberty libiberty; \
53444 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53445 @endif libiberty
53446 @if libiberty-linker-plugin
53447 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
53448 mkdir stageprofile-libiberty-linker-plugin; \
53449 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
53450 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53451 @endif libiberty-linker-plugin
53452 @if libiconv
53453 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
53454 mkdir stageprofile-libiconv; \
53455 mv stageprofile-libiconv libiconv; \
53456 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53457 @endif libiconv
53458 @if zlib
53459 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
53460 mkdir stageprofile-zlib; \
53461 mv stageprofile-zlib zlib; \
53462 mv stage1-zlib prev-zlib || test -f stage1-lean
53463 @endif zlib
53464 @if lto-plugin
53465 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
53466 mkdir stageprofile-lto-plugin; \
53467 mv stageprofile-lto-plugin lto-plugin; \
53468 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53469 @endif lto-plugin
53470 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
53471 mkdir stageprofile-$(TARGET_SUBDIR); \
53472 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53473 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53475 stageprofile-end::
53476 @if bfd
53477 @if test -d $(HOST_SUBDIR)/bfd; then \
53478 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
53479 mv prev-bfd stage1-bfd; : ; \
53481 @endif bfd
53482 @if opcodes
53483 @if test -d $(HOST_SUBDIR)/opcodes; then \
53484 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
53485 mv prev-opcodes stage1-opcodes; : ; \
53487 @endif opcodes
53488 @if binutils
53489 @if test -d $(HOST_SUBDIR)/binutils; then \
53490 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
53491 mv prev-binutils stage1-binutils; : ; \
53493 @endif binutils
53494 @if fixincludes
53495 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53496 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
53497 mv prev-fixincludes stage1-fixincludes; : ; \
53499 @endif fixincludes
53500 @if gas
53501 @if test -d $(HOST_SUBDIR)/gas; then \
53502 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
53503 mv prev-gas stage1-gas; : ; \
53505 @endif gas
53506 @if gcc
53507 @if test -d $(HOST_SUBDIR)/gcc; then \
53508 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
53509 mv prev-gcc stage1-gcc; : ; \
53511 @endif gcc
53512 @if gmp
53513 @if test -d $(HOST_SUBDIR)/gmp; then \
53514 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
53515 mv prev-gmp stage1-gmp; : ; \
53517 @endif gmp
53518 @if mpfr
53519 @if test -d $(HOST_SUBDIR)/mpfr; then \
53520 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
53521 mv prev-mpfr stage1-mpfr; : ; \
53523 @endif mpfr
53524 @if mpc
53525 @if test -d $(HOST_SUBDIR)/mpc; then \
53526 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
53527 mv prev-mpc stage1-mpc; : ; \
53529 @endif mpc
53530 @if isl
53531 @if test -d $(HOST_SUBDIR)/isl; then \
53532 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
53533 mv prev-isl stage1-isl; : ; \
53535 @endif isl
53536 @if libelf
53537 @if test -d $(HOST_SUBDIR)/libelf; then \
53538 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
53539 mv prev-libelf stage1-libelf; : ; \
53541 @endif libelf
53542 @if gold
53543 @if test -d $(HOST_SUBDIR)/gold; then \
53544 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
53545 mv prev-gold stage1-gold; : ; \
53547 @endif gold
53548 @if intl
53549 @if test -d $(HOST_SUBDIR)/intl; then \
53550 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
53551 mv prev-intl stage1-intl; : ; \
53553 @endif intl
53554 @if ld
53555 @if test -d $(HOST_SUBDIR)/ld; then \
53556 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
53557 mv prev-ld stage1-ld; : ; \
53559 @endif ld
53560 @if libbacktrace
53561 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53562 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
53563 mv prev-libbacktrace stage1-libbacktrace; : ; \
53565 @endif libbacktrace
53566 @if libcpp
53567 @if test -d $(HOST_SUBDIR)/libcpp; then \
53568 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
53569 mv prev-libcpp stage1-libcpp; : ; \
53571 @endif libcpp
53572 @if libdecnumber
53573 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53574 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
53575 mv prev-libdecnumber stage1-libdecnumber; : ; \
53577 @endif libdecnumber
53578 @if libiberty
53579 @if test -d $(HOST_SUBDIR)/libiberty; then \
53580 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
53581 mv prev-libiberty stage1-libiberty; : ; \
53583 @endif libiberty
53584 @if libiberty-linker-plugin
53585 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53586 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
53587 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
53589 @endif libiberty-linker-plugin
53590 @if libiconv
53591 @if test -d $(HOST_SUBDIR)/libiconv; then \
53592 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
53593 mv prev-libiconv stage1-libiconv; : ; \
53595 @endif libiconv
53596 @if zlib
53597 @if test -d $(HOST_SUBDIR)/zlib; then \
53598 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
53599 mv prev-zlib stage1-zlib; : ; \
53601 @endif zlib
53602 @if lto-plugin
53603 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53604 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
53605 mv prev-lto-plugin stage1-lto-plugin; : ; \
53607 @endif lto-plugin
53608 @if test -d $(TARGET_SUBDIR); then \
53609 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
53610 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
53612 rm -f stage_current
53614 # Bubble a bug fix through all the stages up to stage profile. They are
53615 # remade, but not reconfigured. The next stage (if any) will not be
53616 # reconfigured either.
53617 .PHONY: stageprofile-bubble
53618 stageprofile-bubble:: stage1-bubble
53619 @r=`${PWD_COMMAND}`; export r; \
53620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53621 if test -f stageprofile-lean || test -f stage1-lean ; then \
53622 echo Skipping rebuild of stageprofile; \
53623 else \
53624 $(MAKE) stageprofile-start; \
53625 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
53628 .PHONY: all-stageprofile clean-stageprofile
53629 do-clean: clean-stageprofile
53631 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53632 # only possibility, but now it conflicts with no-bootstrap rules
53633 @if gcc-bootstrap
53638 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53639 distclean-stage1:: distclean-stageprofile
53640 .PHONY: distclean-stageprofile
53641 distclean-stageprofile::
53642 @: $(MAKE); $(stage)
53643 @test "`cat stage_last`" != stageprofile || rm -f stage_last
53644 rm -rf stageprofile-*
53647 @endif gcc-bootstrap
53650 .PHONY: stagefeedback-start stagefeedback-end
53652 stagefeedback-start::
53653 @: $(MAKE); $(stage); \
53654 echo stagefeedback > stage_current; \
53655 echo stagefeedback > stage_last; \
53656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53657 @if bfd
53658 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
53659 mkdir stagefeedback-bfd; \
53660 mv stagefeedback-bfd bfd; \
53661 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
53662 @endif bfd
53663 @if opcodes
53664 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
53665 mkdir stagefeedback-opcodes; \
53666 mv stagefeedback-opcodes opcodes; \
53667 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
53668 @endif opcodes
53669 @if binutils
53670 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
53671 mkdir stagefeedback-binutils; \
53672 mv stagefeedback-binutils binutils; \
53673 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
53674 @endif binutils
53675 @if fixincludes
53676 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
53677 mkdir stagefeedback-fixincludes; \
53678 mv stagefeedback-fixincludes fixincludes; \
53679 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
53680 @endif fixincludes
53681 @if gas
53682 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
53683 mkdir stagefeedback-gas; \
53684 mv stagefeedback-gas gas; \
53685 mv stageprofile-gas prev-gas || test -f stageprofile-lean
53686 @endif gas
53687 @if gcc
53688 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
53689 mkdir stagefeedback-gcc; \
53690 mv stagefeedback-gcc gcc; \
53691 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
53692 @endif gcc
53693 @if gmp
53694 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
53695 mkdir stagefeedback-gmp; \
53696 mv stagefeedback-gmp gmp; \
53697 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
53698 @endif gmp
53699 @if mpfr
53700 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
53701 mkdir stagefeedback-mpfr; \
53702 mv stagefeedback-mpfr mpfr; \
53703 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
53704 @endif mpfr
53705 @if mpc
53706 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
53707 mkdir stagefeedback-mpc; \
53708 mv stagefeedback-mpc mpc; \
53709 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
53710 @endif mpc
53711 @if isl
53712 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
53713 mkdir stagefeedback-isl; \
53714 mv stagefeedback-isl isl; \
53715 mv stageprofile-isl prev-isl || test -f stageprofile-lean
53716 @endif isl
53717 @if libelf
53718 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
53719 mkdir stagefeedback-libelf; \
53720 mv stagefeedback-libelf libelf; \
53721 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
53722 @endif libelf
53723 @if gold
53724 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
53725 mkdir stagefeedback-gold; \
53726 mv stagefeedback-gold gold; \
53727 mv stageprofile-gold prev-gold || test -f stageprofile-lean
53728 @endif gold
53729 @if intl
53730 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
53731 mkdir stagefeedback-intl; \
53732 mv stagefeedback-intl intl; \
53733 mv stageprofile-intl prev-intl || test -f stageprofile-lean
53734 @endif intl
53735 @if ld
53736 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
53737 mkdir stagefeedback-ld; \
53738 mv stagefeedback-ld ld; \
53739 mv stageprofile-ld prev-ld || test -f stageprofile-lean
53740 @endif ld
53741 @if libbacktrace
53742 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
53743 mkdir stagefeedback-libbacktrace; \
53744 mv stagefeedback-libbacktrace libbacktrace; \
53745 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
53746 @endif libbacktrace
53747 @if libcpp
53748 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
53749 mkdir stagefeedback-libcpp; \
53750 mv stagefeedback-libcpp libcpp; \
53751 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
53752 @endif libcpp
53753 @if libdecnumber
53754 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
53755 mkdir stagefeedback-libdecnumber; \
53756 mv stagefeedback-libdecnumber libdecnumber; \
53757 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
53758 @endif libdecnumber
53759 @if libiberty
53760 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
53761 mkdir stagefeedback-libiberty; \
53762 mv stagefeedback-libiberty libiberty; \
53763 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
53764 @endif libiberty
53765 @if libiberty-linker-plugin
53766 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
53767 mkdir stagefeedback-libiberty-linker-plugin; \
53768 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
53769 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
53770 @endif libiberty-linker-plugin
53771 @if libiconv
53772 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
53773 mkdir stagefeedback-libiconv; \
53774 mv stagefeedback-libiconv libiconv; \
53775 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
53776 @endif libiconv
53777 @if zlib
53778 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
53779 mkdir stagefeedback-zlib; \
53780 mv stagefeedback-zlib zlib; \
53781 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
53782 @endif zlib
53783 @if lto-plugin
53784 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
53785 mkdir stagefeedback-lto-plugin; \
53786 mv stagefeedback-lto-plugin lto-plugin; \
53787 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
53788 @endif lto-plugin
53789 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
53790 mkdir stagefeedback-$(TARGET_SUBDIR); \
53791 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53792 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
53794 stagefeedback-end::
53795 @if bfd
53796 @if test -d $(HOST_SUBDIR)/bfd; then \
53797 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
53798 mv prev-bfd stageprofile-bfd; : ; \
53800 @endif bfd
53801 @if opcodes
53802 @if test -d $(HOST_SUBDIR)/opcodes; then \
53803 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
53804 mv prev-opcodes stageprofile-opcodes; : ; \
53806 @endif opcodes
53807 @if binutils
53808 @if test -d $(HOST_SUBDIR)/binutils; then \
53809 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
53810 mv prev-binutils stageprofile-binutils; : ; \
53812 @endif binutils
53813 @if fixincludes
53814 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53815 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
53816 mv prev-fixincludes stageprofile-fixincludes; : ; \
53818 @endif fixincludes
53819 @if gas
53820 @if test -d $(HOST_SUBDIR)/gas; then \
53821 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
53822 mv prev-gas stageprofile-gas; : ; \
53824 @endif gas
53825 @if gcc
53826 @if test -d $(HOST_SUBDIR)/gcc; then \
53827 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
53828 mv prev-gcc stageprofile-gcc; : ; \
53830 @endif gcc
53831 @if gmp
53832 @if test -d $(HOST_SUBDIR)/gmp; then \
53833 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
53834 mv prev-gmp stageprofile-gmp; : ; \
53836 @endif gmp
53837 @if mpfr
53838 @if test -d $(HOST_SUBDIR)/mpfr; then \
53839 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
53840 mv prev-mpfr stageprofile-mpfr; : ; \
53842 @endif mpfr
53843 @if mpc
53844 @if test -d $(HOST_SUBDIR)/mpc; then \
53845 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
53846 mv prev-mpc stageprofile-mpc; : ; \
53848 @endif mpc
53849 @if isl
53850 @if test -d $(HOST_SUBDIR)/isl; then \
53851 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
53852 mv prev-isl stageprofile-isl; : ; \
53854 @endif isl
53855 @if libelf
53856 @if test -d $(HOST_SUBDIR)/libelf; then \
53857 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
53858 mv prev-libelf stageprofile-libelf; : ; \
53860 @endif libelf
53861 @if gold
53862 @if test -d $(HOST_SUBDIR)/gold; then \
53863 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
53864 mv prev-gold stageprofile-gold; : ; \
53866 @endif gold
53867 @if intl
53868 @if test -d $(HOST_SUBDIR)/intl; then \
53869 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
53870 mv prev-intl stageprofile-intl; : ; \
53872 @endif intl
53873 @if ld
53874 @if test -d $(HOST_SUBDIR)/ld; then \
53875 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
53876 mv prev-ld stageprofile-ld; : ; \
53878 @endif ld
53879 @if libbacktrace
53880 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53881 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
53882 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
53884 @endif libbacktrace
53885 @if libcpp
53886 @if test -d $(HOST_SUBDIR)/libcpp; then \
53887 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
53888 mv prev-libcpp stageprofile-libcpp; : ; \
53890 @endif libcpp
53891 @if libdecnumber
53892 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53893 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
53894 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
53896 @endif libdecnumber
53897 @if libiberty
53898 @if test -d $(HOST_SUBDIR)/libiberty; then \
53899 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
53900 mv prev-libiberty stageprofile-libiberty; : ; \
53902 @endif libiberty
53903 @if libiberty-linker-plugin
53904 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53905 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
53906 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
53908 @endif libiberty-linker-plugin
53909 @if libiconv
53910 @if test -d $(HOST_SUBDIR)/libiconv; then \
53911 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
53912 mv prev-libiconv stageprofile-libiconv; : ; \
53914 @endif libiconv
53915 @if zlib
53916 @if test -d $(HOST_SUBDIR)/zlib; then \
53917 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
53918 mv prev-zlib stageprofile-zlib; : ; \
53920 @endif zlib
53921 @if lto-plugin
53922 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53923 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
53924 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
53926 @endif lto-plugin
53927 @if test -d $(TARGET_SUBDIR); then \
53928 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
53929 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
53931 rm -f stage_current
53933 # Bubble a bug fix through all the stages up to stage feedback. They are
53934 # remade, but not reconfigured. The next stage (if any) will not be
53935 # reconfigured either.
53936 .PHONY: stagefeedback-bubble
53937 stagefeedback-bubble:: stageprofile-bubble
53938 @r=`${PWD_COMMAND}`; export r; \
53939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53940 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
53941 echo Skipping rebuild of stagefeedback; \
53942 else \
53943 $(MAKE) stagefeedback-start; \
53944 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
53947 .PHONY: all-stagefeedback clean-stagefeedback
53948 do-clean: clean-stagefeedback
53950 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53951 # only possibility, but now it conflicts with no-bootstrap rules
53952 @if gcc-bootstrap
53956 .PHONY: profiledbootstrap profiledbootstrap-lean
53957 profiledbootstrap:
53958 echo stagefeedback > stage_final
53959 @r=`${PWD_COMMAND}`; export r; \
53960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53961 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
53962 @: $(MAKE); $(unstage)
53963 @r=`${PWD_COMMAND}`; export r; \
53964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53966 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53968 profiledbootstrap-lean:
53969 echo stagefeedback > stage_final
53970 @r=`${PWD_COMMAND}`; export r; \
53971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
53973 @: $(MAKE); $(unstage)
53974 @r=`${PWD_COMMAND}`; export r; \
53975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53976 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53977 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53980 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53981 distclean-stageprofile:: distclean-stagefeedback
53982 .PHONY: distclean-stagefeedback
53983 distclean-stagefeedback::
53984 @: $(MAKE); $(stage)
53985 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
53986 rm -rf stagefeedback-*
53989 @endif gcc-bootstrap
53992 .PHONY: stageautoprofile-start stageautoprofile-end
53994 stageautoprofile-start::
53995 @: $(MAKE); $(stage); \
53996 echo stageautoprofile > stage_current; \
53997 echo stageautoprofile > stage_last; \
53998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53999 @if bfd
54000 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
54001 mkdir stageautoprofile-bfd; \
54002 mv stageautoprofile-bfd bfd; \
54003 mv stage1-bfd prev-bfd || test -f stage1-lean
54004 @endif bfd
54005 @if opcodes
54006 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
54007 mkdir stageautoprofile-opcodes; \
54008 mv stageautoprofile-opcodes opcodes; \
54009 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54010 @endif opcodes
54011 @if binutils
54012 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
54013 mkdir stageautoprofile-binutils; \
54014 mv stageautoprofile-binutils binutils; \
54015 mv stage1-binutils prev-binutils || test -f stage1-lean
54016 @endif binutils
54017 @if fixincludes
54018 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
54019 mkdir stageautoprofile-fixincludes; \
54020 mv stageautoprofile-fixincludes fixincludes; \
54021 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54022 @endif fixincludes
54023 @if gas
54024 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
54025 mkdir stageautoprofile-gas; \
54026 mv stageautoprofile-gas gas; \
54027 mv stage1-gas prev-gas || test -f stage1-lean
54028 @endif gas
54029 @if gcc
54030 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
54031 mkdir stageautoprofile-gcc; \
54032 mv stageautoprofile-gcc gcc; \
54033 mv stage1-gcc prev-gcc || test -f stage1-lean
54034 @endif gcc
54035 @if gmp
54036 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
54037 mkdir stageautoprofile-gmp; \
54038 mv stageautoprofile-gmp gmp; \
54039 mv stage1-gmp prev-gmp || test -f stage1-lean
54040 @endif gmp
54041 @if mpfr
54042 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
54043 mkdir stageautoprofile-mpfr; \
54044 mv stageautoprofile-mpfr mpfr; \
54045 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54046 @endif mpfr
54047 @if mpc
54048 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
54049 mkdir stageautoprofile-mpc; \
54050 mv stageautoprofile-mpc mpc; \
54051 mv stage1-mpc prev-mpc || test -f stage1-lean
54052 @endif mpc
54053 @if isl
54054 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
54055 mkdir stageautoprofile-isl; \
54056 mv stageautoprofile-isl isl; \
54057 mv stage1-isl prev-isl || test -f stage1-lean
54058 @endif isl
54059 @if libelf
54060 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
54061 mkdir stageautoprofile-libelf; \
54062 mv stageautoprofile-libelf libelf; \
54063 mv stage1-libelf prev-libelf || test -f stage1-lean
54064 @endif libelf
54065 @if gold
54066 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
54067 mkdir stageautoprofile-gold; \
54068 mv stageautoprofile-gold gold; \
54069 mv stage1-gold prev-gold || test -f stage1-lean
54070 @endif gold
54071 @if intl
54072 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
54073 mkdir stageautoprofile-intl; \
54074 mv stageautoprofile-intl intl; \
54075 mv stage1-intl prev-intl || test -f stage1-lean
54076 @endif intl
54077 @if ld
54078 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
54079 mkdir stageautoprofile-ld; \
54080 mv stageautoprofile-ld ld; \
54081 mv stage1-ld prev-ld || test -f stage1-lean
54082 @endif ld
54083 @if libbacktrace
54084 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
54085 mkdir stageautoprofile-libbacktrace; \
54086 mv stageautoprofile-libbacktrace libbacktrace; \
54087 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54088 @endif libbacktrace
54089 @if libcpp
54090 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
54091 mkdir stageautoprofile-libcpp; \
54092 mv stageautoprofile-libcpp libcpp; \
54093 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54094 @endif libcpp
54095 @if libdecnumber
54096 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
54097 mkdir stageautoprofile-libdecnumber; \
54098 mv stageautoprofile-libdecnumber libdecnumber; \
54099 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54100 @endif libdecnumber
54101 @if libiberty
54102 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
54103 mkdir stageautoprofile-libiberty; \
54104 mv stageautoprofile-libiberty libiberty; \
54105 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54106 @endif libiberty
54107 @if libiberty-linker-plugin
54108 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
54109 mkdir stageautoprofile-libiberty-linker-plugin; \
54110 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54111 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54112 @endif libiberty-linker-plugin
54113 @if libiconv
54114 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
54115 mkdir stageautoprofile-libiconv; \
54116 mv stageautoprofile-libiconv libiconv; \
54117 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54118 @endif libiconv
54119 @if zlib
54120 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
54121 mkdir stageautoprofile-zlib; \
54122 mv stageautoprofile-zlib zlib; \
54123 mv stage1-zlib prev-zlib || test -f stage1-lean
54124 @endif zlib
54125 @if lto-plugin
54126 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
54127 mkdir stageautoprofile-lto-plugin; \
54128 mv stageautoprofile-lto-plugin lto-plugin; \
54129 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54130 @endif lto-plugin
54131 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
54132 mkdir stageautoprofile-$(TARGET_SUBDIR); \
54133 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54134 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54136 stageautoprofile-end::
54137 @if bfd
54138 @if test -d $(HOST_SUBDIR)/bfd; then \
54139 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
54140 mv prev-bfd stage1-bfd; : ; \
54142 @endif bfd
54143 @if opcodes
54144 @if test -d $(HOST_SUBDIR)/opcodes; then \
54145 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
54146 mv prev-opcodes stage1-opcodes; : ; \
54148 @endif opcodes
54149 @if binutils
54150 @if test -d $(HOST_SUBDIR)/binutils; then \
54151 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
54152 mv prev-binutils stage1-binutils; : ; \
54154 @endif binutils
54155 @if fixincludes
54156 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54157 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
54158 mv prev-fixincludes stage1-fixincludes; : ; \
54160 @endif fixincludes
54161 @if gas
54162 @if test -d $(HOST_SUBDIR)/gas; then \
54163 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
54164 mv prev-gas stage1-gas; : ; \
54166 @endif gas
54167 @if gcc
54168 @if test -d $(HOST_SUBDIR)/gcc; then \
54169 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
54170 mv prev-gcc stage1-gcc; : ; \
54172 @endif gcc
54173 @if gmp
54174 @if test -d $(HOST_SUBDIR)/gmp; then \
54175 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
54176 mv prev-gmp stage1-gmp; : ; \
54178 @endif gmp
54179 @if mpfr
54180 @if test -d $(HOST_SUBDIR)/mpfr; then \
54181 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
54182 mv prev-mpfr stage1-mpfr; : ; \
54184 @endif mpfr
54185 @if mpc
54186 @if test -d $(HOST_SUBDIR)/mpc; then \
54187 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
54188 mv prev-mpc stage1-mpc; : ; \
54190 @endif mpc
54191 @if isl
54192 @if test -d $(HOST_SUBDIR)/isl; then \
54193 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
54194 mv prev-isl stage1-isl; : ; \
54196 @endif isl
54197 @if libelf
54198 @if test -d $(HOST_SUBDIR)/libelf; then \
54199 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
54200 mv prev-libelf stage1-libelf; : ; \
54202 @endif libelf
54203 @if gold
54204 @if test -d $(HOST_SUBDIR)/gold; then \
54205 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
54206 mv prev-gold stage1-gold; : ; \
54208 @endif gold
54209 @if intl
54210 @if test -d $(HOST_SUBDIR)/intl; then \
54211 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
54212 mv prev-intl stage1-intl; : ; \
54214 @endif intl
54215 @if ld
54216 @if test -d $(HOST_SUBDIR)/ld; then \
54217 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
54218 mv prev-ld stage1-ld; : ; \
54220 @endif ld
54221 @if libbacktrace
54222 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54223 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
54224 mv prev-libbacktrace stage1-libbacktrace; : ; \
54226 @endif libbacktrace
54227 @if libcpp
54228 @if test -d $(HOST_SUBDIR)/libcpp; then \
54229 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
54230 mv prev-libcpp stage1-libcpp; : ; \
54232 @endif libcpp
54233 @if libdecnumber
54234 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54235 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
54236 mv prev-libdecnumber stage1-libdecnumber; : ; \
54238 @endif libdecnumber
54239 @if libiberty
54240 @if test -d $(HOST_SUBDIR)/libiberty; then \
54241 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
54242 mv prev-libiberty stage1-libiberty; : ; \
54244 @endif libiberty
54245 @if libiberty-linker-plugin
54246 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54247 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
54248 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54250 @endif libiberty-linker-plugin
54251 @if libiconv
54252 @if test -d $(HOST_SUBDIR)/libiconv; then \
54253 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
54254 mv prev-libiconv stage1-libiconv; : ; \
54256 @endif libiconv
54257 @if zlib
54258 @if test -d $(HOST_SUBDIR)/zlib; then \
54259 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
54260 mv prev-zlib stage1-zlib; : ; \
54262 @endif zlib
54263 @if lto-plugin
54264 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54265 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
54266 mv prev-lto-plugin stage1-lto-plugin; : ; \
54268 @endif lto-plugin
54269 @if test -d $(TARGET_SUBDIR); then \
54270 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
54271 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54273 rm -f stage_current
54275 # Bubble a bug fix through all the stages up to stage autoprofile. They are
54276 # remade, but not reconfigured. The next stage (if any) will not be
54277 # reconfigured either.
54278 .PHONY: stageautoprofile-bubble
54279 stageautoprofile-bubble:: stage1-bubble
54280 @r=`${PWD_COMMAND}`; export r; \
54281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54282 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
54283 echo Skipping rebuild of stageautoprofile; \
54284 else \
54285 $(MAKE) stageautoprofile-start; \
54286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
54289 .PHONY: all-stageautoprofile clean-stageautoprofile
54290 do-clean: clean-stageautoprofile
54292 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54293 # only possibility, but now it conflicts with no-bootstrap rules
54294 @if gcc-bootstrap
54299 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54300 distclean-stage1:: distclean-stageautoprofile
54301 .PHONY: distclean-stageautoprofile
54302 distclean-stageautoprofile::
54303 @: $(MAKE); $(stage)
54304 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
54305 rm -rf stageautoprofile-*
54308 @endif gcc-bootstrap
54311 .PHONY: stageautofeedback-start stageautofeedback-end
54313 stageautofeedback-start::
54314 @: $(MAKE); $(stage); \
54315 echo stageautofeedback > stage_current; \
54316 echo stageautofeedback > stage_last; \
54317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54318 @if bfd
54319 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
54320 mkdir stageautofeedback-bfd; \
54321 mv stageautofeedback-bfd bfd; \
54322 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
54323 @endif bfd
54324 @if opcodes
54325 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
54326 mkdir stageautofeedback-opcodes; \
54327 mv stageautofeedback-opcodes opcodes; \
54328 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
54329 @endif opcodes
54330 @if binutils
54331 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
54332 mkdir stageautofeedback-binutils; \
54333 mv stageautofeedback-binutils binutils; \
54334 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
54335 @endif binutils
54336 @if fixincludes
54337 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
54338 mkdir stageautofeedback-fixincludes; \
54339 mv stageautofeedback-fixincludes fixincludes; \
54340 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
54341 @endif fixincludes
54342 @if gas
54343 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
54344 mkdir stageautofeedback-gas; \
54345 mv stageautofeedback-gas gas; \
54346 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
54347 @endif gas
54348 @if gcc
54349 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
54350 mkdir stageautofeedback-gcc; \
54351 mv stageautofeedback-gcc gcc; \
54352 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
54353 @endif gcc
54354 @if gmp
54355 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
54356 mkdir stageautofeedback-gmp; \
54357 mv stageautofeedback-gmp gmp; \
54358 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
54359 @endif gmp
54360 @if mpfr
54361 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
54362 mkdir stageautofeedback-mpfr; \
54363 mv stageautofeedback-mpfr mpfr; \
54364 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
54365 @endif mpfr
54366 @if mpc
54367 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
54368 mkdir stageautofeedback-mpc; \
54369 mv stageautofeedback-mpc mpc; \
54370 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
54371 @endif mpc
54372 @if isl
54373 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
54374 mkdir stageautofeedback-isl; \
54375 mv stageautofeedback-isl isl; \
54376 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
54377 @endif isl
54378 @if libelf
54379 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
54380 mkdir stageautofeedback-libelf; \
54381 mv stageautofeedback-libelf libelf; \
54382 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
54383 @endif libelf
54384 @if gold
54385 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
54386 mkdir stageautofeedback-gold; \
54387 mv stageautofeedback-gold gold; \
54388 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
54389 @endif gold
54390 @if intl
54391 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
54392 mkdir stageautofeedback-intl; \
54393 mv stageautofeedback-intl intl; \
54394 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
54395 @endif intl
54396 @if ld
54397 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
54398 mkdir stageautofeedback-ld; \
54399 mv stageautofeedback-ld ld; \
54400 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
54401 @endif ld
54402 @if libbacktrace
54403 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
54404 mkdir stageautofeedback-libbacktrace; \
54405 mv stageautofeedback-libbacktrace libbacktrace; \
54406 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
54407 @endif libbacktrace
54408 @if libcpp
54409 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
54410 mkdir stageautofeedback-libcpp; \
54411 mv stageautofeedback-libcpp libcpp; \
54412 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
54413 @endif libcpp
54414 @if libdecnumber
54415 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
54416 mkdir stageautofeedback-libdecnumber; \
54417 mv stageautofeedback-libdecnumber libdecnumber; \
54418 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
54419 @endif libdecnumber
54420 @if libiberty
54421 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
54422 mkdir stageautofeedback-libiberty; \
54423 mv stageautofeedback-libiberty libiberty; \
54424 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
54425 @endif libiberty
54426 @if libiberty-linker-plugin
54427 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
54428 mkdir stageautofeedback-libiberty-linker-plugin; \
54429 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
54430 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
54431 @endif libiberty-linker-plugin
54432 @if libiconv
54433 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
54434 mkdir stageautofeedback-libiconv; \
54435 mv stageautofeedback-libiconv libiconv; \
54436 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
54437 @endif libiconv
54438 @if zlib
54439 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
54440 mkdir stageautofeedback-zlib; \
54441 mv stageautofeedback-zlib zlib; \
54442 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
54443 @endif zlib
54444 @if lto-plugin
54445 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
54446 mkdir stageautofeedback-lto-plugin; \
54447 mv stageautofeedback-lto-plugin lto-plugin; \
54448 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
54449 @endif lto-plugin
54450 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
54451 mkdir stageautofeedback-$(TARGET_SUBDIR); \
54452 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54453 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
54455 stageautofeedback-end::
54456 @if bfd
54457 @if test -d $(HOST_SUBDIR)/bfd; then \
54458 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
54459 mv prev-bfd stageautoprofile-bfd; : ; \
54461 @endif bfd
54462 @if opcodes
54463 @if test -d $(HOST_SUBDIR)/opcodes; then \
54464 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
54465 mv prev-opcodes stageautoprofile-opcodes; : ; \
54467 @endif opcodes
54468 @if binutils
54469 @if test -d $(HOST_SUBDIR)/binutils; then \
54470 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
54471 mv prev-binutils stageautoprofile-binutils; : ; \
54473 @endif binutils
54474 @if fixincludes
54475 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54476 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
54477 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
54479 @endif fixincludes
54480 @if gas
54481 @if test -d $(HOST_SUBDIR)/gas; then \
54482 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
54483 mv prev-gas stageautoprofile-gas; : ; \
54485 @endif gas
54486 @if gcc
54487 @if test -d $(HOST_SUBDIR)/gcc; then \
54488 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
54489 mv prev-gcc stageautoprofile-gcc; : ; \
54491 @endif gcc
54492 @if gmp
54493 @if test -d $(HOST_SUBDIR)/gmp; then \
54494 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
54495 mv prev-gmp stageautoprofile-gmp; : ; \
54497 @endif gmp
54498 @if mpfr
54499 @if test -d $(HOST_SUBDIR)/mpfr; then \
54500 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
54501 mv prev-mpfr stageautoprofile-mpfr; : ; \
54503 @endif mpfr
54504 @if mpc
54505 @if test -d $(HOST_SUBDIR)/mpc; then \
54506 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
54507 mv prev-mpc stageautoprofile-mpc; : ; \
54509 @endif mpc
54510 @if isl
54511 @if test -d $(HOST_SUBDIR)/isl; then \
54512 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
54513 mv prev-isl stageautoprofile-isl; : ; \
54515 @endif isl
54516 @if libelf
54517 @if test -d $(HOST_SUBDIR)/libelf; then \
54518 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
54519 mv prev-libelf stageautoprofile-libelf; : ; \
54521 @endif libelf
54522 @if gold
54523 @if test -d $(HOST_SUBDIR)/gold; then \
54524 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
54525 mv prev-gold stageautoprofile-gold; : ; \
54527 @endif gold
54528 @if intl
54529 @if test -d $(HOST_SUBDIR)/intl; then \
54530 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
54531 mv prev-intl stageautoprofile-intl; : ; \
54533 @endif intl
54534 @if ld
54535 @if test -d $(HOST_SUBDIR)/ld; then \
54536 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
54537 mv prev-ld stageautoprofile-ld; : ; \
54539 @endif ld
54540 @if libbacktrace
54541 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54542 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
54543 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
54545 @endif libbacktrace
54546 @if libcpp
54547 @if test -d $(HOST_SUBDIR)/libcpp; then \
54548 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
54549 mv prev-libcpp stageautoprofile-libcpp; : ; \
54551 @endif libcpp
54552 @if libdecnumber
54553 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54554 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
54555 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
54557 @endif libdecnumber
54558 @if libiberty
54559 @if test -d $(HOST_SUBDIR)/libiberty; then \
54560 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
54561 mv prev-libiberty stageautoprofile-libiberty; : ; \
54563 @endif libiberty
54564 @if libiberty-linker-plugin
54565 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54566 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
54567 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
54569 @endif libiberty-linker-plugin
54570 @if libiconv
54571 @if test -d $(HOST_SUBDIR)/libiconv; then \
54572 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
54573 mv prev-libiconv stageautoprofile-libiconv; : ; \
54575 @endif libiconv
54576 @if zlib
54577 @if test -d $(HOST_SUBDIR)/zlib; then \
54578 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
54579 mv prev-zlib stageautoprofile-zlib; : ; \
54581 @endif zlib
54582 @if lto-plugin
54583 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54584 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
54585 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
54587 @endif lto-plugin
54588 @if test -d $(TARGET_SUBDIR); then \
54589 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
54590 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
54592 rm -f stage_current
54594 # Bubble a bug fix through all the stages up to stage autofeedback. They are
54595 # remade, but not reconfigured. The next stage (if any) will not be
54596 # reconfigured either.
54597 .PHONY: stageautofeedback-bubble
54598 stageautofeedback-bubble:: stageautoprofile-bubble
54599 @r=`${PWD_COMMAND}`; export r; \
54600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54601 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
54602 echo Skipping rebuild of stageautofeedback; \
54603 else \
54604 $(MAKE) stageautofeedback-start; \
54605 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
54608 .PHONY: all-stageautofeedback clean-stageautofeedback
54609 do-clean: clean-stageautofeedback
54611 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54612 # only possibility, but now it conflicts with no-bootstrap rules
54613 @if gcc-bootstrap
54617 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
54618 autoprofiledbootstrap:
54619 echo stageautofeedback > stage_final
54620 @r=`${PWD_COMMAND}`; export r; \
54621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54622 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
54623 @: $(MAKE); $(unstage)
54624 @r=`${PWD_COMMAND}`; export r; \
54625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54626 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54627 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54629 autoprofiledbootstrap-lean:
54630 echo stageautofeedback > stage_final
54631 @r=`${PWD_COMMAND}`; export r; \
54632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
54634 @: $(MAKE); $(unstage)
54635 @r=`${PWD_COMMAND}`; export r; \
54636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54637 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54638 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54641 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54642 distclean-stageautoprofile:: distclean-stageautofeedback
54643 .PHONY: distclean-stageautofeedback
54644 distclean-stageautofeedback::
54645 @: $(MAKE); $(stage)
54646 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
54647 rm -rf stageautofeedback-*
54650 @endif gcc-bootstrap
54654 stageprofile-end::
54655 $(MAKE) distclean-stagefeedback
54657 stagefeedback-start::
54658 @r=`${PWD_COMMAND}`; export r; \
54659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54660 for i in prev-*; do \
54661 j=`echo $$i | sed s/^prev-//`; \
54662 cd $$r/$$i && \
54663 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
54664 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
54665 done
54667 @if gcc-bootstrap
54668 do-distclean: distclean-stage1
54670 # Provide a GCC build when we're building target libraries. This does
54671 # not work as a dependency, just as the minimum necessary to avoid errors.
54672 stage_last:
54673 @r=`${PWD_COMMAND}`; export r; \
54674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54675 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
54677 # Same as unstage, but not phony and defaulting to stage1-start. We place
54678 # it in the dependency so that for example `make -j3 all-gcc' works.
54679 stage_current:
54680 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
54682 .PHONY: restrap
54683 restrap::
54684 @: $(MAKE); $(stage)
54685 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-* stageautoprofile-* stageautofeedback-*
54686 restrap:: all
54687 @endif gcc-bootstrap
54689 # --------------------------------------
54690 # Dependencies between different modules
54691 # --------------------------------------
54693 # Generic dependencies for target modules on host stuff, especially gcc
54694 @if gcc-bootstrap
54695 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
54696 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
54697 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
54698 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
54699 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
54700 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
54701 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
54702 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
54703 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
54704 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
54705 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
54706 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
54707 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
54708 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
54709 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
54710 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
54711 configure-stage1-target-libmpx: maybe-all-stage1-gcc
54712 configure-stage2-target-libmpx: maybe-all-stage2-gcc
54713 configure-stage3-target-libmpx: maybe-all-stage3-gcc
54714 configure-stage4-target-libmpx: maybe-all-stage4-gcc
54715 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
54716 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
54717 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-gcc
54718 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-gcc
54719 configure-stage1-target-libvtv: maybe-all-stage1-gcc
54720 configure-stage2-target-libvtv: maybe-all-stage2-gcc
54721 configure-stage3-target-libvtv: maybe-all-stage3-gcc
54722 configure-stage4-target-libvtv: maybe-all-stage4-gcc
54723 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
54724 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
54725 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
54726 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
54727 configure-target-libcilkrts: stage_last
54728 configure-target-liboffloadmic: stage_last
54729 configure-target-libssp: stage_last
54730 configure-target-newlib: stage_last
54731 configure-stage1-target-libgcc: maybe-all-stage1-gcc
54732 configure-stage2-target-libgcc: maybe-all-stage2-gcc
54733 configure-stage3-target-libgcc: maybe-all-stage3-gcc
54734 configure-stage4-target-libgcc: maybe-all-stage4-gcc
54735 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
54736 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
54737 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
54738 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
54739 configure-target-libbacktrace: stage_last
54740 configure-target-libquadmath: stage_last
54741 configure-target-libgfortran: stage_last
54742 configure-target-libobjc: stage_last
54743 configure-target-libgo: stage_last
54744 configure-target-libhsail-rt: stage_last
54745 configure-target-libtermcap: stage_last
54746 configure-target-winsup: stage_last
54747 configure-target-libgloss: stage_last
54748 configure-target-libffi: stage_last
54749 configure-target-zlib: stage_last
54750 configure-target-rda: stage_last
54751 configure-target-libada: stage_last
54752 configure-stage1-target-libgomp: maybe-all-stage1-gcc
54753 configure-stage2-target-libgomp: maybe-all-stage2-gcc
54754 configure-stage3-target-libgomp: maybe-all-stage3-gcc
54755 configure-stage4-target-libgomp: maybe-all-stage4-gcc
54756 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
54757 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
54758 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
54759 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
54760 configure-target-libitm: stage_last
54761 configure-target-libatomic: stage_last
54762 @endif gcc-bootstrap
54764 @if gcc-no-bootstrap
54765 configure-target-libstdc++-v3: maybe-all-gcc
54766 configure-target-libsanitizer: maybe-all-gcc
54767 configure-target-libmpx: maybe-all-gcc
54768 configure-target-libvtv: maybe-all-gcc
54769 configure-target-libcilkrts: maybe-all-gcc
54770 configure-target-liboffloadmic: maybe-all-gcc
54771 configure-target-libssp: maybe-all-gcc
54772 configure-target-newlib: maybe-all-gcc
54773 configure-target-libgcc: maybe-all-gcc
54774 configure-target-libbacktrace: maybe-all-gcc
54775 configure-target-libquadmath: maybe-all-gcc
54776 configure-target-libgfortran: maybe-all-gcc
54777 configure-target-libobjc: maybe-all-gcc
54778 configure-target-libgo: maybe-all-gcc
54779 configure-target-libhsail-rt: maybe-all-gcc
54780 configure-target-libtermcap: maybe-all-gcc
54781 configure-target-winsup: maybe-all-gcc
54782 configure-target-libgloss: maybe-all-gcc
54783 configure-target-libffi: maybe-all-gcc
54784 configure-target-zlib: maybe-all-gcc
54785 configure-target-rda: maybe-all-gcc
54786 configure-target-libada: maybe-all-gcc
54787 configure-target-libgomp: maybe-all-gcc
54788 configure-target-libitm: maybe-all-gcc
54789 configure-target-libatomic: maybe-all-gcc
54790 @endif gcc-no-bootstrap
54793 # There are two types of dependencies here: 'hard' dependencies, where one
54794 # module simply won't build without the other; and 'soft' dependencies, where
54795 # if the depended-on module is missing, the depending module will do without
54796 # or find a substitute somewhere (perhaps installed). Soft dependencies
54797 # are made here to depend on a 'maybe-' target. If you're not sure,
54798 # it's safer to use a soft dependency.
54805 # With all the machinery above in place, it is pretty easy to generate
54806 # dependencies. Host dependencies are a bit more complex because we have
54807 # to check for bootstrap/prebootstrap dependencies. To resolve
54808 # prebootstrap dependencies, prebootstrap modules are gathered in
54809 # a hash table.
54810 all-build-bison: maybe-all-build-texinfo
54811 all-build-flex: maybe-all-build-texinfo
54812 all-build-flex: maybe-all-build-bison
54813 all-build-flex: maybe-all-build-m4
54814 all-build-libiberty: maybe-all-build-texinfo
54815 all-build-m4: maybe-all-build-texinfo
54816 all-build-fixincludes: maybe-all-build-libiberty
54817 all-build-libcpp: maybe-all-build-libiberty
54818 configure-gcc: maybe-configure-intl
54820 configure-stage1-gcc: maybe-configure-stage1-intl
54821 configure-stage2-gcc: maybe-configure-stage2-intl
54822 configure-stage3-gcc: maybe-configure-stage3-intl
54823 configure-stage4-gcc: maybe-configure-stage4-intl
54824 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
54825 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
54826 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
54827 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
54828 configure-gcc: maybe-all-gmp
54830 configure-stage1-gcc: maybe-all-stage1-gmp
54831 configure-stage2-gcc: maybe-all-stage2-gmp
54832 configure-stage3-gcc: maybe-all-stage3-gmp
54833 configure-stage4-gcc: maybe-all-stage4-gmp
54834 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
54835 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
54836 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
54837 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
54838 configure-gcc: maybe-all-mpfr
54840 configure-stage1-gcc: maybe-all-stage1-mpfr
54841 configure-stage2-gcc: maybe-all-stage2-mpfr
54842 configure-stage3-gcc: maybe-all-stage3-mpfr
54843 configure-stage4-gcc: maybe-all-stage4-mpfr
54844 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
54845 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
54846 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
54847 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
54848 configure-gcc: maybe-all-mpc
54850 configure-stage1-gcc: maybe-all-stage1-mpc
54851 configure-stage2-gcc: maybe-all-stage2-mpc
54852 configure-stage3-gcc: maybe-all-stage3-mpc
54853 configure-stage4-gcc: maybe-all-stage4-mpc
54854 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
54855 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
54856 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
54857 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
54858 configure-gcc: maybe-all-isl
54860 configure-stage1-gcc: maybe-all-stage1-isl
54861 configure-stage2-gcc: maybe-all-stage2-isl
54862 configure-stage3-gcc: maybe-all-stage3-isl
54863 configure-stage4-gcc: maybe-all-stage4-isl
54864 configure-stageprofile-gcc: maybe-all-stageprofile-isl
54865 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
54866 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
54867 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
54868 configure-gcc: maybe-all-lto-plugin
54870 configure-stage1-gcc: maybe-all-stage1-lto-plugin
54871 configure-stage2-gcc: maybe-all-stage2-lto-plugin
54872 configure-stage3-gcc: maybe-all-stage3-lto-plugin
54873 configure-stage4-gcc: maybe-all-stage4-lto-plugin
54874 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
54875 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
54876 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
54877 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
54878 configure-gcc: maybe-all-binutils
54880 configure-stage1-gcc: maybe-all-stage1-binutils
54881 configure-stage2-gcc: maybe-all-stage2-binutils
54882 configure-stage3-gcc: maybe-all-stage3-binutils
54883 configure-stage4-gcc: maybe-all-stage4-binutils
54884 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
54885 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
54886 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
54887 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
54888 configure-gcc: maybe-all-gas
54890 configure-stage1-gcc: maybe-all-stage1-gas
54891 configure-stage2-gcc: maybe-all-stage2-gas
54892 configure-stage3-gcc: maybe-all-stage3-gas
54893 configure-stage4-gcc: maybe-all-stage4-gas
54894 configure-stageprofile-gcc: maybe-all-stageprofile-gas
54895 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
54896 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
54897 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
54898 configure-gcc: maybe-all-ld
54900 configure-stage1-gcc: maybe-all-stage1-ld
54901 configure-stage2-gcc: maybe-all-stage2-ld
54902 configure-stage3-gcc: maybe-all-stage3-ld
54903 configure-stage4-gcc: maybe-all-stage4-ld
54904 configure-stageprofile-gcc: maybe-all-stageprofile-ld
54905 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
54906 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
54907 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
54908 configure-gcc: maybe-all-gold
54910 configure-stage1-gcc: maybe-all-stage1-gold
54911 configure-stage2-gcc: maybe-all-stage2-gold
54912 configure-stage3-gcc: maybe-all-stage3-gold
54913 configure-stage4-gcc: maybe-all-stage4-gold
54914 configure-stageprofile-gcc: maybe-all-stageprofile-gold
54915 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
54916 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
54917 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
54918 configure-gcc: maybe-all-libelf
54920 configure-stage1-gcc: maybe-all-stage1-libelf
54921 configure-stage2-gcc: maybe-all-stage2-libelf
54922 configure-stage3-gcc: maybe-all-stage3-libelf
54923 configure-stage4-gcc: maybe-all-stage4-libelf
54924 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
54925 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
54926 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
54927 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
54928 configure-gcc: maybe-all-libiconv
54930 configure-stage1-gcc: maybe-all-stage1-libiconv
54931 configure-stage2-gcc: maybe-all-stage2-libiconv
54932 configure-stage3-gcc: maybe-all-stage3-libiconv
54933 configure-stage4-gcc: maybe-all-stage4-libiconv
54934 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
54935 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
54936 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
54937 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
54938 all-gcc: all-libiberty
54940 all-stage1-gcc: all-stage1-libiberty
54941 all-stage2-gcc: all-stage2-libiberty
54942 all-stage3-gcc: all-stage3-libiberty
54943 all-stage4-gcc: all-stage4-libiberty
54944 all-stageprofile-gcc: all-stageprofile-libiberty
54945 all-stagefeedback-gcc: all-stagefeedback-libiberty
54946 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
54947 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
54948 all-gcc: maybe-all-intl
54950 all-stage1-gcc: maybe-all-stage1-intl
54951 all-stage2-gcc: maybe-all-stage2-intl
54952 all-stage3-gcc: maybe-all-stage3-intl
54953 all-stage4-gcc: maybe-all-stage4-intl
54954 all-stageprofile-gcc: maybe-all-stageprofile-intl
54955 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
54956 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
54957 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
54958 all-gcc: maybe-all-mpfr
54960 all-stage1-gcc: maybe-all-stage1-mpfr
54961 all-stage2-gcc: maybe-all-stage2-mpfr
54962 all-stage3-gcc: maybe-all-stage3-mpfr
54963 all-stage4-gcc: maybe-all-stage4-mpfr
54964 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
54965 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
54966 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
54967 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
54968 all-gcc: maybe-all-mpc
54970 all-stage1-gcc: maybe-all-stage1-mpc
54971 all-stage2-gcc: maybe-all-stage2-mpc
54972 all-stage3-gcc: maybe-all-stage3-mpc
54973 all-stage4-gcc: maybe-all-stage4-mpc
54974 all-stageprofile-gcc: maybe-all-stageprofile-mpc
54975 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
54976 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
54977 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
54978 all-gcc: maybe-all-isl
54980 all-stage1-gcc: maybe-all-stage1-isl
54981 all-stage2-gcc: maybe-all-stage2-isl
54982 all-stage3-gcc: maybe-all-stage3-isl
54983 all-stage4-gcc: maybe-all-stage4-isl
54984 all-stageprofile-gcc: maybe-all-stageprofile-isl
54985 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
54986 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
54987 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
54988 all-gcc: maybe-all-build-texinfo
54990 all-stage1-gcc: maybe-all-build-texinfo
54991 all-stage2-gcc: maybe-all-build-texinfo
54992 all-stage3-gcc: maybe-all-build-texinfo
54993 all-stage4-gcc: maybe-all-build-texinfo
54994 all-stageprofile-gcc: maybe-all-build-texinfo
54995 all-stagefeedback-gcc: maybe-all-build-texinfo
54996 all-stageautoprofile-gcc: maybe-all-build-texinfo
54997 all-stageautofeedback-gcc: maybe-all-build-texinfo
54998 all-gcc: maybe-all-build-bison
55000 all-stage1-gcc: maybe-all-build-bison
55001 all-stage2-gcc: maybe-all-build-bison
55002 all-stage3-gcc: maybe-all-build-bison
55003 all-stage4-gcc: maybe-all-build-bison
55004 all-stageprofile-gcc: maybe-all-build-bison
55005 all-stagefeedback-gcc: maybe-all-build-bison
55006 all-stageautoprofile-gcc: maybe-all-build-bison
55007 all-stageautofeedback-gcc: maybe-all-build-bison
55008 all-gcc: maybe-all-build-flex
55010 all-stage1-gcc: maybe-all-build-flex
55011 all-stage2-gcc: maybe-all-build-flex
55012 all-stage3-gcc: maybe-all-build-flex
55013 all-stage4-gcc: maybe-all-build-flex
55014 all-stageprofile-gcc: maybe-all-build-flex
55015 all-stagefeedback-gcc: maybe-all-build-flex
55016 all-stageautoprofile-gcc: maybe-all-build-flex
55017 all-stageautofeedback-gcc: maybe-all-build-flex
55018 all-gcc: maybe-all-build-libiberty
55020 all-stage1-gcc: maybe-all-build-libiberty
55021 all-stage2-gcc: maybe-all-build-libiberty
55022 all-stage3-gcc: maybe-all-build-libiberty
55023 all-stage4-gcc: maybe-all-build-libiberty
55024 all-stageprofile-gcc: maybe-all-build-libiberty
55025 all-stagefeedback-gcc: maybe-all-build-libiberty
55026 all-stageautoprofile-gcc: maybe-all-build-libiberty
55027 all-stageautofeedback-gcc: maybe-all-build-libiberty
55028 all-gcc: maybe-all-build-fixincludes
55030 all-stage1-gcc: maybe-all-build-fixincludes
55031 all-stage2-gcc: maybe-all-build-fixincludes
55032 all-stage3-gcc: maybe-all-build-fixincludes
55033 all-stage4-gcc: maybe-all-build-fixincludes
55034 all-stageprofile-gcc: maybe-all-build-fixincludes
55035 all-stagefeedback-gcc: maybe-all-build-fixincludes
55036 all-stageautoprofile-gcc: maybe-all-build-fixincludes
55037 all-stageautofeedback-gcc: maybe-all-build-fixincludes
55038 all-gcc: maybe-all-build-libcpp
55040 all-stage1-gcc: maybe-all-build-libcpp
55041 all-stage2-gcc: maybe-all-build-libcpp
55042 all-stage3-gcc: maybe-all-build-libcpp
55043 all-stage4-gcc: maybe-all-build-libcpp
55044 all-stageprofile-gcc: maybe-all-build-libcpp
55045 all-stagefeedback-gcc: maybe-all-build-libcpp
55046 all-stageautoprofile-gcc: maybe-all-build-libcpp
55047 all-stageautofeedback-gcc: maybe-all-build-libcpp
55048 all-gcc: maybe-all-zlib
55050 all-stage1-gcc: maybe-all-stage1-zlib
55051 all-stage2-gcc: maybe-all-stage2-zlib
55052 all-stage3-gcc: maybe-all-stage3-zlib
55053 all-stage4-gcc: maybe-all-stage4-zlib
55054 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55055 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55056 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
55057 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
55058 all-gcc: all-libbacktrace
55060 all-stage1-gcc: all-stage1-libbacktrace
55061 all-stage2-gcc: all-stage2-libbacktrace
55062 all-stage3-gcc: all-stage3-libbacktrace
55063 all-stage4-gcc: all-stage4-libbacktrace
55064 all-stageprofile-gcc: all-stageprofile-libbacktrace
55065 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
55066 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
55067 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
55068 all-gcc: all-libcpp
55070 all-stage1-gcc: all-stage1-libcpp
55071 all-stage2-gcc: all-stage2-libcpp
55072 all-stage3-gcc: all-stage3-libcpp
55073 all-stage4-gcc: all-stage4-libcpp
55074 all-stageprofile-gcc: all-stageprofile-libcpp
55075 all-stagefeedback-gcc: all-stagefeedback-libcpp
55076 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
55077 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
55078 all-gcc: all-libdecnumber
55080 all-stage1-gcc: all-stage1-libdecnumber
55081 all-stage2-gcc: all-stage2-libdecnumber
55082 all-stage3-gcc: all-stage3-libdecnumber
55083 all-stage4-gcc: all-stage4-libdecnumber
55084 all-stageprofile-gcc: all-stageprofile-libdecnumber
55085 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55086 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
55087 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
55088 all-gcc: maybe-all-libiberty
55090 all-stage1-gcc: maybe-all-stage1-libiberty
55091 all-stage2-gcc: maybe-all-stage2-libiberty
55092 all-stage3-gcc: maybe-all-stage3-libiberty
55093 all-stage4-gcc: maybe-all-stage4-libiberty
55094 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55095 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55096 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
55097 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
55098 all-gcc: maybe-all-fixincludes
55100 all-stage1-gcc: maybe-all-stage1-fixincludes
55101 all-stage2-gcc: maybe-all-stage2-fixincludes
55102 all-stage3-gcc: maybe-all-stage3-fixincludes
55103 all-stage4-gcc: maybe-all-stage4-fixincludes
55104 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
55105 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
55106 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
55107 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
55108 all-gcc: maybe-all-lto-plugin
55110 all-stage1-gcc: maybe-all-stage1-lto-plugin
55111 all-stage2-gcc: maybe-all-stage2-lto-plugin
55112 all-stage3-gcc: maybe-all-stage3-lto-plugin
55113 all-stage4-gcc: maybe-all-stage4-lto-plugin
55114 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55115 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55116 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55117 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55118 all-gcc: maybe-all-libiconv
55120 all-stage1-gcc: maybe-all-stage1-libiconv
55121 all-stage2-gcc: maybe-all-stage2-libiconv
55122 all-stage3-gcc: maybe-all-stage3-libiconv
55123 all-stage4-gcc: maybe-all-stage4-libiconv
55124 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
55125 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55126 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55127 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55128 info-gcc: maybe-all-build-libiberty
55130 info-stage1-gcc: maybe-all-build-libiberty
55131 info-stage2-gcc: maybe-all-build-libiberty
55132 info-stage3-gcc: maybe-all-build-libiberty
55133 info-stage4-gcc: maybe-all-build-libiberty
55134 info-stageprofile-gcc: maybe-all-build-libiberty
55135 info-stagefeedback-gcc: maybe-all-build-libiberty
55136 info-stageautoprofile-gcc: maybe-all-build-libiberty
55137 info-stageautofeedback-gcc: maybe-all-build-libiberty
55138 dvi-gcc: maybe-all-build-libiberty
55140 dvi-stage1-gcc: maybe-all-build-libiberty
55141 dvi-stage2-gcc: maybe-all-build-libiberty
55142 dvi-stage3-gcc: maybe-all-build-libiberty
55143 dvi-stage4-gcc: maybe-all-build-libiberty
55144 dvi-stageprofile-gcc: maybe-all-build-libiberty
55145 dvi-stagefeedback-gcc: maybe-all-build-libiberty
55146 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
55147 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
55148 pdf-gcc: maybe-all-build-libiberty
55150 pdf-stage1-gcc: maybe-all-build-libiberty
55151 pdf-stage2-gcc: maybe-all-build-libiberty
55152 pdf-stage3-gcc: maybe-all-build-libiberty
55153 pdf-stage4-gcc: maybe-all-build-libiberty
55154 pdf-stageprofile-gcc: maybe-all-build-libiberty
55155 pdf-stagefeedback-gcc: maybe-all-build-libiberty
55156 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
55157 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
55158 html-gcc: maybe-all-build-libiberty
55160 html-stage1-gcc: maybe-all-build-libiberty
55161 html-stage2-gcc: maybe-all-build-libiberty
55162 html-stage3-gcc: maybe-all-build-libiberty
55163 html-stage4-gcc: maybe-all-build-libiberty
55164 html-stageprofile-gcc: maybe-all-build-libiberty
55165 html-stagefeedback-gcc: maybe-all-build-libiberty
55166 html-stageautoprofile-gcc: maybe-all-build-libiberty
55167 html-stageautofeedback-gcc: maybe-all-build-libiberty
55168 install-gcc: maybe-install-fixincludes
55169 install-gcc: maybe-install-lto-plugin
55170 install-strip-gcc: maybe-install-strip-fixincludes
55171 install-strip-gcc: maybe-install-strip-lto-plugin
55172 configure-libcpp: configure-libiberty
55174 configure-stage1-libcpp: configure-stage1-libiberty
55175 configure-stage2-libcpp: configure-stage2-libiberty
55176 configure-stage3-libcpp: configure-stage3-libiberty
55177 configure-stage4-libcpp: configure-stage4-libiberty
55178 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55179 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55180 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
55181 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
55182 configure-libcpp: maybe-configure-intl
55184 configure-stage1-libcpp: maybe-configure-stage1-intl
55185 configure-stage2-libcpp: maybe-configure-stage2-intl
55186 configure-stage3-libcpp: maybe-configure-stage3-intl
55187 configure-stage4-libcpp: maybe-configure-stage4-intl
55188 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55189 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55190 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
55191 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
55192 configure-libcpp: maybe-all-libiconv
55194 configure-stage1-libcpp: maybe-all-stage1-libiconv
55195 configure-stage2-libcpp: maybe-all-stage2-libiconv
55196 configure-stage3-libcpp: maybe-all-stage3-libiconv
55197 configure-stage4-libcpp: maybe-all-stage4-libiconv
55198 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55199 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55200 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55201 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55202 all-libcpp: all-libiberty
55204 all-stage1-libcpp: all-stage1-libiberty
55205 all-stage2-libcpp: all-stage2-libiberty
55206 all-stage3-libcpp: all-stage3-libiberty
55207 all-stage4-libcpp: all-stage4-libiberty
55208 all-stageprofile-libcpp: all-stageprofile-libiberty
55209 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55210 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
55211 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
55212 all-libcpp: maybe-all-intl
55214 all-stage1-libcpp: maybe-all-stage1-intl
55215 all-stage2-libcpp: maybe-all-stage2-intl
55216 all-stage3-libcpp: maybe-all-stage3-intl
55217 all-stage4-libcpp: maybe-all-stage4-intl
55218 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55219 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55220 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
55221 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
55222 all-libcpp: maybe-all-libiconv
55224 all-stage1-libcpp: maybe-all-stage1-libiconv
55225 all-stage2-libcpp: maybe-all-stage2-libiconv
55226 all-stage3-libcpp: maybe-all-stage3-libiconv
55227 all-stage4-libcpp: maybe-all-stage4-libiconv
55228 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55229 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55230 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55231 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55232 all-fixincludes: maybe-all-libiberty
55234 all-stage1-fixincludes: maybe-all-stage1-libiberty
55235 all-stage2-fixincludes: maybe-all-stage2-libiberty
55236 all-stage3-fixincludes: maybe-all-stage3-libiberty
55237 all-stage4-fixincludes: maybe-all-stage4-libiberty
55238 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
55239 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
55240 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
55241 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
55242 all-gnattools: maybe-all-target-libada
55243 all-gnattools: maybe-all-target-libstdc++-v3
55244 all-lto-plugin: maybe-all-libiberty
55246 all-stage1-lto-plugin: maybe-all-stage1-libiberty
55247 all-stage2-lto-plugin: maybe-all-stage2-libiberty
55248 all-stage3-lto-plugin: maybe-all-stage3-libiberty
55249 all-stage4-lto-plugin: maybe-all-stage4-libiberty
55250 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
55251 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
55252 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
55253 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
55254 all-lto-plugin: maybe-all-libiberty-linker-plugin
55256 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
55257 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
55258 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
55259 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
55260 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
55261 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
55262 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
55263 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
55264 configure-libcc1: maybe-configure-gcc
55265 all-libcc1: maybe-all-gcc
55266 all-gotools: maybe-all-target-libgo
55267 all-utils: maybe-all-libiberty
55268 configure-intl: maybe-all-libiconv
55270 configure-stage1-intl: maybe-all-stage1-libiconv
55271 configure-stage2-intl: maybe-all-stage2-libiconv
55272 configure-stage3-intl: maybe-all-stage3-libiconv
55273 configure-stage4-intl: maybe-all-stage4-libiconv
55274 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
55275 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55276 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55277 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55278 configure-mpfr: maybe-all-gmp
55280 configure-stage1-mpfr: maybe-all-stage1-gmp
55281 configure-stage2-mpfr: maybe-all-stage2-gmp
55282 configure-stage3-mpfr: maybe-all-stage3-gmp
55283 configure-stage4-mpfr: maybe-all-stage4-gmp
55284 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
55285 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
55286 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
55287 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
55288 configure-mpc: maybe-all-mpfr
55290 configure-stage1-mpc: maybe-all-stage1-mpfr
55291 configure-stage2-mpc: maybe-all-stage2-mpfr
55292 configure-stage3-mpc: maybe-all-stage3-mpfr
55293 configure-stage4-mpc: maybe-all-stage4-mpfr
55294 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
55295 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
55296 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
55297 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
55298 configure-isl: maybe-all-gmp
55300 configure-stage1-isl: maybe-all-stage1-gmp
55301 configure-stage2-isl: maybe-all-stage2-gmp
55302 configure-stage3-isl: maybe-all-stage3-gmp
55303 configure-stage4-isl: maybe-all-stage4-gmp
55304 configure-stageprofile-isl: maybe-all-stageprofile-gmp
55305 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
55306 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
55307 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
55308 all-intl: maybe-all-libiconv
55310 all-stage1-intl: maybe-all-stage1-libiconv
55311 all-stage2-intl: maybe-all-stage2-libiconv
55312 all-stage3-intl: maybe-all-stage3-libiconv
55313 all-stage4-intl: maybe-all-stage4-libiconv
55314 all-stageprofile-intl: maybe-all-stageprofile-libiconv
55315 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55316 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55317 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55318 configure-gdb: maybe-all-intl
55319 configure-gdb: maybe-configure-sim
55320 configure-gdb: maybe-all-bfd
55321 configure-gdb: maybe-all-libiconv
55322 all-gdb: maybe-all-libiberty
55323 all-gdb: maybe-all-libiconv
55324 all-gdb: maybe-all-opcodes
55325 all-gdb: maybe-all-readline
55326 all-gdb: maybe-all-build-bison
55327 all-gdb: maybe-all-sim
55328 all-gdb: maybe-all-libdecnumber
55329 all-gdb: maybe-all-libtermcap
55330 configure-libgui: maybe-configure-tcl
55331 configure-libgui: maybe-configure-tk
55332 all-libgui: maybe-all-tcl
55333 all-libgui: maybe-all-tk
55334 all-libgui: maybe-all-itcl
55335 configure-bfd: configure-libiberty
55337 configure-stage1-bfd: configure-stage1-libiberty
55338 configure-stage2-bfd: configure-stage2-libiberty
55339 configure-stage3-bfd: configure-stage3-libiberty
55340 configure-stage4-bfd: configure-stage4-libiberty
55341 configure-stageprofile-bfd: configure-stageprofile-libiberty
55342 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
55343 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
55344 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
55345 configure-bfd: maybe-configure-intl
55347 configure-stage1-bfd: maybe-configure-stage1-intl
55348 configure-stage2-bfd: maybe-configure-stage2-intl
55349 configure-stage3-bfd: maybe-configure-stage3-intl
55350 configure-stage4-bfd: maybe-configure-stage4-intl
55351 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
55352 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
55353 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
55354 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
55355 all-bfd: maybe-all-libiberty
55357 all-stage1-bfd: maybe-all-stage1-libiberty
55358 all-stage2-bfd: maybe-all-stage2-libiberty
55359 all-stage3-bfd: maybe-all-stage3-libiberty
55360 all-stage4-bfd: maybe-all-stage4-libiberty
55361 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
55362 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
55363 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
55364 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
55365 all-bfd: maybe-all-intl
55367 all-stage1-bfd: maybe-all-stage1-intl
55368 all-stage2-bfd: maybe-all-stage2-intl
55369 all-stage3-bfd: maybe-all-stage3-intl
55370 all-stage4-bfd: maybe-all-stage4-intl
55371 all-stageprofile-bfd: maybe-all-stageprofile-intl
55372 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
55373 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
55374 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
55375 all-bfd: maybe-all-zlib
55377 all-stage1-bfd: maybe-all-stage1-zlib
55378 all-stage2-bfd: maybe-all-stage2-zlib
55379 all-stage3-bfd: maybe-all-stage3-zlib
55380 all-stage4-bfd: maybe-all-stage4-zlib
55381 all-stageprofile-bfd: maybe-all-stageprofile-zlib
55382 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
55383 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
55384 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
55385 configure-opcodes: configure-libiberty
55387 configure-stage1-opcodes: configure-stage1-libiberty
55388 configure-stage2-opcodes: configure-stage2-libiberty
55389 configure-stage3-opcodes: configure-stage3-libiberty
55390 configure-stage4-opcodes: configure-stage4-libiberty
55391 configure-stageprofile-opcodes: configure-stageprofile-libiberty
55392 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
55393 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
55394 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
55395 all-opcodes: maybe-all-libiberty
55397 all-stage1-opcodes: maybe-all-stage1-libiberty
55398 all-stage2-opcodes: maybe-all-stage2-libiberty
55399 all-stage3-opcodes: maybe-all-stage3-libiberty
55400 all-stage4-opcodes: maybe-all-stage4-libiberty
55401 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55402 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55403 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
55404 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
55405 configure-binutils: maybe-configure-intl
55407 configure-stage1-binutils: maybe-configure-stage1-intl
55408 configure-stage2-binutils: maybe-configure-stage2-intl
55409 configure-stage3-binutils: maybe-configure-stage3-intl
55410 configure-stage4-binutils: maybe-configure-stage4-intl
55411 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
55412 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
55413 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
55414 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
55415 all-binutils: maybe-all-libiberty
55417 all-stage1-binutils: maybe-all-stage1-libiberty
55418 all-stage2-binutils: maybe-all-stage2-libiberty
55419 all-stage3-binutils: maybe-all-stage3-libiberty
55420 all-stage4-binutils: maybe-all-stage4-libiberty
55421 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
55422 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
55423 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
55424 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
55425 all-binutils: maybe-all-opcodes
55427 all-stage1-binutils: maybe-all-stage1-opcodes
55428 all-stage2-binutils: maybe-all-stage2-opcodes
55429 all-stage3-binutils: maybe-all-stage3-opcodes
55430 all-stage4-binutils: maybe-all-stage4-opcodes
55431 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
55432 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
55433 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
55434 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
55435 all-binutils: maybe-all-bfd
55437 all-stage1-binutils: maybe-all-stage1-bfd
55438 all-stage2-binutils: maybe-all-stage2-bfd
55439 all-stage3-binutils: maybe-all-stage3-bfd
55440 all-stage4-binutils: maybe-all-stage4-bfd
55441 all-stageprofile-binutils: maybe-all-stageprofile-bfd
55442 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
55443 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
55444 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
55445 all-binutils: maybe-all-build-flex
55447 all-stage1-binutils: maybe-all-build-flex
55448 all-stage2-binutils: maybe-all-build-flex
55449 all-stage3-binutils: maybe-all-build-flex
55450 all-stage4-binutils: maybe-all-build-flex
55451 all-stageprofile-binutils: maybe-all-build-flex
55452 all-stagefeedback-binutils: maybe-all-build-flex
55453 all-stageautoprofile-binutils: maybe-all-build-flex
55454 all-stageautofeedback-binutils: maybe-all-build-flex
55455 all-binutils: maybe-all-build-bison
55457 all-stage1-binutils: maybe-all-build-bison
55458 all-stage2-binutils: maybe-all-build-bison
55459 all-stage3-binutils: maybe-all-build-bison
55460 all-stage4-binutils: maybe-all-build-bison
55461 all-stageprofile-binutils: maybe-all-build-bison
55462 all-stagefeedback-binutils: maybe-all-build-bison
55463 all-stageautoprofile-binutils: maybe-all-build-bison
55464 all-stageautofeedback-binutils: maybe-all-build-bison
55465 all-binutils: maybe-all-intl
55467 all-stage1-binutils: maybe-all-stage1-intl
55468 all-stage2-binutils: maybe-all-stage2-intl
55469 all-stage3-binutils: maybe-all-stage3-intl
55470 all-stage4-binutils: maybe-all-stage4-intl
55471 all-stageprofile-binutils: maybe-all-stageprofile-intl
55472 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
55473 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
55474 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
55475 all-binutils: maybe-all-gas
55477 all-stage1-binutils: maybe-all-stage1-gas
55478 all-stage2-binutils: maybe-all-stage2-gas
55479 all-stage3-binutils: maybe-all-stage3-gas
55480 all-stage4-binutils: maybe-all-stage4-gas
55481 all-stageprofile-binutils: maybe-all-stageprofile-gas
55482 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
55483 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
55484 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
55485 install-binutils: maybe-install-opcodes
55486 install-strip-binutils: maybe-install-strip-opcodes
55487 install-opcodes: maybe-install-bfd
55488 install-strip-opcodes: maybe-install-strip-bfd
55489 configure-gas: maybe-configure-intl
55491 configure-stage1-gas: maybe-configure-stage1-intl
55492 configure-stage2-gas: maybe-configure-stage2-intl
55493 configure-stage3-gas: maybe-configure-stage3-intl
55494 configure-stage4-gas: maybe-configure-stage4-intl
55495 configure-stageprofile-gas: maybe-configure-stageprofile-intl
55496 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
55497 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
55498 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
55499 all-gas: maybe-all-libiberty
55501 all-stage1-gas: maybe-all-stage1-libiberty
55502 all-stage2-gas: maybe-all-stage2-libiberty
55503 all-stage3-gas: maybe-all-stage3-libiberty
55504 all-stage4-gas: maybe-all-stage4-libiberty
55505 all-stageprofile-gas: maybe-all-stageprofile-libiberty
55506 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
55507 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
55508 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
55509 all-gas: maybe-all-opcodes
55511 all-stage1-gas: maybe-all-stage1-opcodes
55512 all-stage2-gas: maybe-all-stage2-opcodes
55513 all-stage3-gas: maybe-all-stage3-opcodes
55514 all-stage4-gas: maybe-all-stage4-opcodes
55515 all-stageprofile-gas: maybe-all-stageprofile-opcodes
55516 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
55517 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
55518 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
55519 all-gas: maybe-all-bfd
55521 all-stage1-gas: maybe-all-stage1-bfd
55522 all-stage2-gas: maybe-all-stage2-bfd
55523 all-stage3-gas: maybe-all-stage3-bfd
55524 all-stage4-gas: maybe-all-stage4-bfd
55525 all-stageprofile-gas: maybe-all-stageprofile-bfd
55526 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
55527 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
55528 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
55529 all-gas: maybe-all-intl
55531 all-stage1-gas: maybe-all-stage1-intl
55532 all-stage2-gas: maybe-all-stage2-intl
55533 all-stage3-gas: maybe-all-stage3-intl
55534 all-stage4-gas: maybe-all-stage4-intl
55535 all-stageprofile-gas: maybe-all-stageprofile-intl
55536 all-stagefeedback-gas: maybe-all-stagefeedback-intl
55537 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
55538 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
55539 configure-gprof: maybe-configure-intl
55540 all-gprof: maybe-all-libiberty
55541 all-gprof: maybe-all-bfd
55542 all-gprof: maybe-all-opcodes
55543 all-gprof: maybe-all-intl
55544 all-gprof: maybe-all-gas
55545 configure-ld: maybe-configure-intl
55547 configure-stage1-ld: maybe-configure-stage1-intl
55548 configure-stage2-ld: maybe-configure-stage2-intl
55549 configure-stage3-ld: maybe-configure-stage3-intl
55550 configure-stage4-ld: maybe-configure-stage4-intl
55551 configure-stageprofile-ld: maybe-configure-stageprofile-intl
55552 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
55553 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
55554 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
55555 all-ld: maybe-all-libiberty
55557 all-stage1-ld: maybe-all-stage1-libiberty
55558 all-stage2-ld: maybe-all-stage2-libiberty
55559 all-stage3-ld: maybe-all-stage3-libiberty
55560 all-stage4-ld: maybe-all-stage4-libiberty
55561 all-stageprofile-ld: maybe-all-stageprofile-libiberty
55562 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
55563 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
55564 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
55565 all-ld: maybe-all-bfd
55567 all-stage1-ld: maybe-all-stage1-bfd
55568 all-stage2-ld: maybe-all-stage2-bfd
55569 all-stage3-ld: maybe-all-stage3-bfd
55570 all-stage4-ld: maybe-all-stage4-bfd
55571 all-stageprofile-ld: maybe-all-stageprofile-bfd
55572 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
55573 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
55574 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
55575 all-ld: maybe-all-opcodes
55577 all-stage1-ld: maybe-all-stage1-opcodes
55578 all-stage2-ld: maybe-all-stage2-opcodes
55579 all-stage3-ld: maybe-all-stage3-opcodes
55580 all-stage4-ld: maybe-all-stage4-opcodes
55581 all-stageprofile-ld: maybe-all-stageprofile-opcodes
55582 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
55583 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
55584 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
55585 all-ld: maybe-all-build-bison
55587 all-stage1-ld: maybe-all-build-bison
55588 all-stage2-ld: maybe-all-build-bison
55589 all-stage3-ld: maybe-all-build-bison
55590 all-stage4-ld: maybe-all-build-bison
55591 all-stageprofile-ld: maybe-all-build-bison
55592 all-stagefeedback-ld: maybe-all-build-bison
55593 all-stageautoprofile-ld: maybe-all-build-bison
55594 all-stageautofeedback-ld: maybe-all-build-bison
55595 all-ld: maybe-all-build-flex
55597 all-stage1-ld: maybe-all-build-flex
55598 all-stage2-ld: maybe-all-build-flex
55599 all-stage3-ld: maybe-all-build-flex
55600 all-stage4-ld: maybe-all-build-flex
55601 all-stageprofile-ld: maybe-all-build-flex
55602 all-stagefeedback-ld: maybe-all-build-flex
55603 all-stageautoprofile-ld: maybe-all-build-flex
55604 all-stageautofeedback-ld: maybe-all-build-flex
55605 all-ld: maybe-all-intl
55607 all-stage1-ld: maybe-all-stage1-intl
55608 all-stage2-ld: maybe-all-stage2-intl
55609 all-stage3-ld: maybe-all-stage3-intl
55610 all-stage4-ld: maybe-all-stage4-intl
55611 all-stageprofile-ld: maybe-all-stageprofile-intl
55612 all-stagefeedback-ld: maybe-all-stagefeedback-intl
55613 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
55614 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
55615 all-ld: maybe-all-gas
55617 all-stage1-ld: maybe-all-stage1-gas
55618 all-stage2-ld: maybe-all-stage2-gas
55619 all-stage3-ld: maybe-all-stage3-gas
55620 all-stage4-ld: maybe-all-stage4-gas
55621 all-stageprofile-ld: maybe-all-stageprofile-gas
55622 all-stagefeedback-ld: maybe-all-stagefeedback-gas
55623 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
55624 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
55625 all-ld: maybe-all-binutils
55627 all-stage1-ld: maybe-all-stage1-binutils
55628 all-stage2-ld: maybe-all-stage2-binutils
55629 all-stage3-ld: maybe-all-stage3-binutils
55630 all-stage4-ld: maybe-all-stage4-binutils
55631 all-stageprofile-ld: maybe-all-stageprofile-binutils
55632 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
55633 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
55634 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
55635 install-ld: maybe-install-gold
55636 install-strip-ld: maybe-install-strip-gold
55637 configure-gold: maybe-configure-intl
55639 configure-stage1-gold: maybe-configure-stage1-intl
55640 configure-stage2-gold: maybe-configure-stage2-intl
55641 configure-stage3-gold: maybe-configure-stage3-intl
55642 configure-stage4-gold: maybe-configure-stage4-intl
55643 configure-stageprofile-gold: maybe-configure-stageprofile-intl
55644 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
55645 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
55646 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
55647 all-gold: maybe-all-libiberty
55649 all-stage1-gold: maybe-all-stage1-libiberty
55650 all-stage2-gold: maybe-all-stage2-libiberty
55651 all-stage3-gold: maybe-all-stage3-libiberty
55652 all-stage4-gold: maybe-all-stage4-libiberty
55653 all-stageprofile-gold: maybe-all-stageprofile-libiberty
55654 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
55655 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
55656 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
55657 all-gold: maybe-all-intl
55659 all-stage1-gold: maybe-all-stage1-intl
55660 all-stage2-gold: maybe-all-stage2-intl
55661 all-stage3-gold: maybe-all-stage3-intl
55662 all-stage4-gold: maybe-all-stage4-intl
55663 all-stageprofile-gold: maybe-all-stageprofile-intl
55664 all-stagefeedback-gold: maybe-all-stagefeedback-intl
55665 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
55666 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
55667 all-gold: maybe-all-bfd
55669 all-stage1-gold: maybe-all-stage1-bfd
55670 all-stage2-gold: maybe-all-stage2-bfd
55671 all-stage3-gold: maybe-all-stage3-bfd
55672 all-stage4-gold: maybe-all-stage4-bfd
55673 all-stageprofile-gold: maybe-all-stageprofile-bfd
55674 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
55675 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
55676 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
55677 all-gold: maybe-all-build-bison
55679 all-stage1-gold: maybe-all-build-bison
55680 all-stage2-gold: maybe-all-build-bison
55681 all-stage3-gold: maybe-all-build-bison
55682 all-stage4-gold: maybe-all-build-bison
55683 all-stageprofile-gold: maybe-all-build-bison
55684 all-stagefeedback-gold: maybe-all-build-bison
55685 all-stageautoprofile-gold: maybe-all-build-bison
55686 all-stageautofeedback-gold: maybe-all-build-bison
55687 all-gold: maybe-all-gas
55689 all-stage1-gold: maybe-all-stage1-gas
55690 all-stage2-gold: maybe-all-stage2-gas
55691 all-stage3-gold: maybe-all-stage3-gas
55692 all-stage4-gold: maybe-all-stage4-gas
55693 all-stageprofile-gold: maybe-all-stageprofile-gas
55694 all-stagefeedback-gold: maybe-all-stagefeedback-gas
55695 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
55696 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
55697 check-gold: maybe-all-binutils
55699 check-stage1-gold: maybe-all-stage1-binutils
55700 check-stage2-gold: maybe-all-stage2-binutils
55701 check-stage3-gold: maybe-all-stage3-binutils
55702 check-stage4-gold: maybe-all-stage4-binutils
55703 check-stageprofile-gold: maybe-all-stageprofile-binutils
55704 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
55705 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
55706 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
55707 check-gold: maybe-all-gas
55709 check-stage1-gold: maybe-all-stage1-gas
55710 check-stage2-gold: maybe-all-stage2-gas
55711 check-stage3-gold: maybe-all-stage3-gas
55712 check-stage4-gold: maybe-all-stage4-gas
55713 check-stageprofile-gold: maybe-all-stageprofile-gas
55714 check-stagefeedback-gold: maybe-all-stagefeedback-gas
55715 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
55716 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
55717 configure-opcodes: maybe-configure-intl
55719 configure-stage1-opcodes: maybe-configure-stage1-intl
55720 configure-stage2-opcodes: maybe-configure-stage2-intl
55721 configure-stage3-opcodes: maybe-configure-stage3-intl
55722 configure-stage4-opcodes: maybe-configure-stage4-intl
55723 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
55724 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
55725 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
55726 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
55727 all-opcodes: maybe-all-bfd
55729 all-stage1-opcodes: maybe-all-stage1-bfd
55730 all-stage2-opcodes: maybe-all-stage2-bfd
55731 all-stage3-opcodes: maybe-all-stage3-bfd
55732 all-stage4-opcodes: maybe-all-stage4-bfd
55733 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
55734 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
55735 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
55736 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
55737 all-opcodes: maybe-all-libiberty
55739 all-stage1-opcodes: maybe-all-stage1-libiberty
55740 all-stage2-opcodes: maybe-all-stage2-libiberty
55741 all-stage3-opcodes: maybe-all-stage3-libiberty
55742 all-stage4-opcodes: maybe-all-stage4-libiberty
55743 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55744 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55745 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
55746 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
55747 all-opcodes: maybe-all-intl
55749 all-stage1-opcodes: maybe-all-stage1-intl
55750 all-stage2-opcodes: maybe-all-stage2-intl
55751 all-stage3-opcodes: maybe-all-stage3-intl
55752 all-stage4-opcodes: maybe-all-stage4-intl
55753 all-stageprofile-opcodes: maybe-all-stageprofile-intl
55754 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
55755 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
55756 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
55757 all-dejagnu: maybe-all-tcl
55758 all-dejagnu: maybe-all-expect
55759 all-dejagnu: maybe-all-tk
55760 configure-expect: maybe-configure-tcl
55761 configure-expect: maybe-configure-tk
55762 all-expect: maybe-all-tcl
55763 all-expect: maybe-all-tk
55764 configure-itcl: maybe-configure-tcl
55765 configure-itcl: maybe-configure-tk
55766 all-itcl: maybe-all-tcl
55767 all-itcl: maybe-all-tk
55768 install-itcl: maybe-install-tcl
55769 install-strip-itcl: maybe-install-strip-tcl
55770 configure-tk: maybe-configure-tcl
55771 all-tk: maybe-all-tcl
55772 all-sid: maybe-all-libiberty
55773 all-sid: maybe-all-bfd
55774 all-sid: maybe-all-opcodes
55775 all-sid: maybe-all-tcl
55776 all-sid: maybe-all-tk
55777 install-sid: maybe-install-tcl
55778 install-strip-sid: maybe-install-strip-tcl
55779 install-sid: maybe-install-tk
55780 install-strip-sid: maybe-install-strip-tk
55781 configure-sim: maybe-configure-intl
55782 all-sim: maybe-all-intl
55783 all-sim: maybe-all-libiberty
55784 all-sim: maybe-all-bfd
55785 all-sim: maybe-all-opcodes
55786 all-sim: maybe-all-readline
55787 all-sim: maybe-configure-gdb
55788 all-fastjar: maybe-all-zlib
55789 all-fastjar: maybe-all-build-texinfo
55790 all-fastjar: maybe-all-libiberty
55791 all-bison: maybe-all-intl
55792 all-bison: maybe-all-build-texinfo
55793 all-flex: maybe-all-build-bison
55794 all-flex: maybe-all-intl
55795 all-flex: maybe-all-m4
55796 all-flex: maybe-all-build-texinfo
55797 all-m4: maybe-all-intl
55798 all-m4: maybe-all-build-texinfo
55799 configure-target-fastjar: maybe-configure-target-zlib
55800 all-target-fastjar: maybe-all-target-zlib
55801 configure-target-libgo: maybe-configure-target-libffi
55802 configure-target-libgo: maybe-all-target-libstdc++-v3
55803 all-target-libgo: maybe-all-target-libbacktrace
55804 all-target-libgo: maybe-all-target-libffi
55805 all-target-libgo: maybe-all-target-libatomic
55806 configure-target-libstdc++-v3: maybe-configure-target-libgomp
55808 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
55809 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
55810 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
55811 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
55812 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
55813 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
55814 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
55815 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
55816 configure-target-liboffloadmic: maybe-configure-target-libgomp
55817 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
55819 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
55820 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
55821 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
55822 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
55823 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
55824 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
55825 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
55826 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
55827 configure-target-libvtv: maybe-all-target-libstdc++-v3
55829 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
55830 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
55831 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
55832 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
55833 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
55834 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
55835 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
55836 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
55837 all-target-libstdc++-v3: maybe-configure-target-libgomp
55839 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
55840 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
55841 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
55842 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
55843 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
55844 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
55845 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
55846 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
55847 all-target-liboffloadmic: maybe-all-target-libgomp
55848 install-target-libgo: maybe-install-target-libatomic
55849 install-target-libgfortran: maybe-install-target-libquadmath
55850 install-target-libgfortran: maybe-install-target-libgcc
55851 install-target-libsanitizer: maybe-install-target-libstdc++-v3
55852 install-target-libsanitizer: maybe-install-target-libgcc
55853 install-target-libvtv: maybe-install-target-libstdc++-v3
55854 install-target-libvtv: maybe-install-target-libgcc
55855 install-target-libcilkrts: maybe-install-target-libstdc++-v3
55856 install-target-libcilkrts: maybe-install-target-libgcc
55857 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
55858 install-target-liboffloadmic: maybe-install-target-libgcc
55859 install-target-libitm: maybe-install-target-libgcc
55860 install-target-libobjc: maybe-install-target-libgcc
55861 install-target-libstdc++-v3: maybe-install-target-libgcc
55862 all-target-libgloss: maybe-all-target-newlib
55863 all-target-winsup: maybe-all-target-libtermcap
55864 configure-target-newlib: maybe-all-binutils
55865 configure-target-newlib: maybe-all-ld
55866 configure-target-libgfortran: maybe-all-target-libquadmath
55867 configure-target-libgfortran: maybe-all-target-libbacktrace
55870 # Dependencies for target modules on other target modules are
55871 # described by lang_env_dependencies; the defaults apply to anything
55872 # not mentioned there.
55875 @if gcc-bootstrap
55876 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
55877 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
55878 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
55879 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
55880 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
55881 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
55882 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
55883 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
55884 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
55885 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
55886 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
55887 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
55888 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
55889 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
55890 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
55891 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
55892 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
55893 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
55894 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
55895 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
55896 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
55897 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
55898 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-target-libgcc
55899 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-target-libgcc
55900 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
55901 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
55902 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
55903 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
55904 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
55905 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
55906 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
55907 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
55908 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
55909 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
55910 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
55911 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
55912 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
55913 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
55914 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
55915 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
55916 @endif gcc-bootstrap
55918 @if gcc-no-bootstrap
55919 configure-target-libstdc++-v3: maybe-all-target-libgcc
55920 configure-target-libsanitizer: maybe-all-target-libgcc
55921 configure-target-libmpx: maybe-all-target-libgcc
55922 configure-target-libvtv: maybe-all-target-libgcc
55923 configure-target-libcilkrts: maybe-all-target-libgcc
55924 configure-target-liboffloadmic: maybe-all-target-libgcc
55925 configure-target-libssp: maybe-all-target-libgcc
55926 configure-target-newlib: maybe-all-target-libgcc
55927 configure-target-libbacktrace: maybe-all-target-libgcc
55928 configure-target-libquadmath: maybe-all-target-libgcc
55929 configure-target-libgfortran: maybe-all-target-libgcc
55930 configure-target-libobjc: maybe-all-target-libgcc
55931 configure-target-libgo: maybe-all-target-libgcc
55932 configure-target-libhsail-rt: maybe-all-target-libgcc
55933 configure-target-libtermcap: maybe-all-target-libgcc
55934 configure-target-winsup: maybe-all-target-libgcc
55935 configure-target-libgloss: maybe-all-target-libgcc
55936 configure-target-libffi: maybe-all-target-libgcc
55937 configure-target-zlib: maybe-all-target-libgcc
55938 configure-target-rda: maybe-all-target-libgcc
55939 configure-target-libada: maybe-all-target-libgcc
55940 configure-target-libgomp: maybe-all-target-libgcc
55941 configure-target-libitm: maybe-all-target-libgcc
55942 configure-target-libatomic: maybe-all-target-libgcc
55943 @endif gcc-no-bootstrap
55946 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
55948 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
55950 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
55952 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
55954 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
55955 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
55957 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
55958 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
55960 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
55964 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
55966 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
55968 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
55970 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
55972 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
55974 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
55976 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
55978 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
55981 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
55982 configure-target-libffi: maybe-all-target-libstdc++-v3
55984 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
55986 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
55988 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
55990 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
55992 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
55993 configure-target-libitm: maybe-all-target-libstdc++-v3
55995 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
55998 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
55999 GDB_TK = @GDB_TK@
56000 INSTALL_GDB_TK = @INSTALL_GDB_TK@
56001 configure-gdb: $(CONFIGURE_GDB_TK)
56002 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
56003 install-gdb: $(INSTALL_GDB_TK)
56005 # Serialization dependencies. Host configures don't work well in parallel to
56006 # each other, due to contention over config.cache. Target configures and
56007 # build configures are similar.
56008 @serialization_dependencies@
56010 # --------------------------------
56011 # Regenerating top level configury
56012 # --------------------------------
56014 # Rebuilding Makefile.in, using autogen.
56015 AUTOGEN = autogen
56016 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
56017 cd $(srcdir) && $(AUTOGEN) Makefile.def
56019 # Rebuilding Makefile.
56020 Makefile: $(srcdir)/Makefile.in config.status
56021 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
56023 config.status: configure
56024 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
56026 # Rebuilding configure.
56027 AUTOCONF = autoconf
56028 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
56029 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
56030 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
56031 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
56032 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
56033 cd $(srcdir) && $(AUTOCONF)
56035 # ------------------------------
56036 # Special directives to GNU Make
56037 # ------------------------------
56039 # Don't pass command-line variables to submakes.
56040 .NOEXPORT:
56041 MAKEOVERRIDES=
56043 # end of Makefile.in