2016-11-03 Michael Meissner <meissner@linux.vnet.ibm.com>
[official-gcc.git] / Makefile.in
blob304648953d5f034de4e63375ca583a39227cd497
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
219 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
220 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
221 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
222 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
223 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
224 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
225 ISLVER="$(HOST_ISLVER)"; export ISLVER; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
228 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
229 @if gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
231 @endif gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
234 POSTSTAGE1_CXX_EXPORT = \
235 CXX='$(CXX)'; export CXX; \
236 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
237 @if target-libstdc++-v3-bootstrap
238 # Override the above if we're bootstrapping C++.
239 POSTSTAGE1_CXX_EXPORT = \
240 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
241 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
243 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
248 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
249 export CXX; \
250 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
251 @endif target-libstdc++-v3-bootstrap
253 # Similar, for later GCC stages.
254 POSTSTAGE1_HOST_EXPORTS = \
255 $(HOST_EXPORTS) \
256 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
257 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
258 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
259 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
260 $(POSTSTAGE1_CXX_EXPORT) \
261 $(LTO_EXPORTS) \
262 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
263 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
264 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
266 # Target libraries are put under this directory:
267 TARGET_SUBDIR = @target_subdir@
268 # This is set by the configure script to the arguments to use when configuring
269 # directories built for the target.
270 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
271 # This is the list of variables to export in the environment when
272 # configuring subdirectories for the target system.
273 BASE_TARGET_EXPORTS = \
274 $(BASE_EXPORTS) \
275 AR="$(AR_FOR_TARGET)"; export AR; \
276 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
277 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
279 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
280 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
282 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
283 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
284 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
285 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
286 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
287 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
288 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
289 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
290 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
291 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
292 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
293 READELF="$(READELF_FOR_TARGET)"; export READELF; \
294 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
295 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
296 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
297 @if gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 @endif gcc-bootstrap
300 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
301 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
303 RAW_CXX_TARGET_EXPORTS = \
304 $(BASE_TARGET_EXPORTS) \
305 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
306 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 NORMAL_TARGET_EXPORTS = \
309 $(BASE_TARGET_EXPORTS) \
310 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
312 # Where to find GMP
313 HOST_GMPLIBS = @gmplibs@
314 HOST_GMPINC = @gmpinc@
316 # Where to find isl
317 HOST_ISLLIBS = @isllibs@
318 HOST_ISLINC = @islinc@
319 HOST_ISLVER = @islver@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
329 SHELL = @SHELL@
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
340 # environment.
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
365 BOOT_CFLAGS= -g -O2
366 BOOT_LDFLAGS=
367 BOOT_ADAFLAGS= -gnatpg
369 AWK = @AWK@
370 SED = @SED@
371 BISON = @BISON@
372 YACC = @YACC@
373 FLEX = @FLEX@
374 LEX = @LEX@
375 M4 = @M4@
376 MAKEINFO = @MAKEINFO@
377 EXPECT = @EXPECT@
378 RUNTEST = @RUNTEST@
380 AUTO_PROFILE = gcc-auto-profile -c 1000000
382 # This just becomes part of the MAKEINFO definition passed down to
383 # sub-makes. It lets flags be given on the command line while still
384 # using the makeinfo from the object tree.
385 # (Default to avoid splitting info files by setting the threshold high.)
386 MAKEINFOFLAGS = --split-size=5000000
388 # ---------------------------------------------
389 # Programs producing files for the HOST machine
390 # ---------------------------------------------
392 AS = @AS@
393 AR = @AR@
394 AR_FLAGS = rc
395 CC = @CC@
396 CXX = @CXX@
397 DLLTOOL = @DLLTOOL@
398 LD = @LD@
399 LIPO = @LIPO@
400 NM = @NM@
401 OBJDUMP = @OBJDUMP@
402 RANLIB = @RANLIB@
403 READELF = @READELF@
404 STRIP = @STRIP@
405 WINDRES = @WINDRES@
406 WINDMC = @WINDMC@
408 GNATBIND = @GNATBIND@
409 GNATMAKE = @GNATMAKE@
411 CFLAGS = @CFLAGS@
412 LDFLAGS = @LDFLAGS@
413 LIBCFLAGS = $(CFLAGS)
414 CXXFLAGS = @CXXFLAGS@
415 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416 GOCFLAGS = $(CFLAGS)
418 CREATE_GCOV = create_gcov
420 TFLAGS =
422 # Defaults for all stages; some are overridden below.
424 STAGE_CFLAGS = $(BOOT_CFLAGS)
425 STAGE_TFLAGS = $(TFLAGS)
426 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
429 # Defaults for stage 1; some are overridden below.
430 STAGE1_CFLAGS = $(STAGE_CFLAGS)
431 STAGE1_CXXFLAGS = $(CXXFLAGS)
432 @if target-libstdc++-v3-bootstrap
433 # Override the above if we're bootstrapping C++.
434 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
435 @endif target-libstdc++-v3-bootstrap
436 STAGE1_TFLAGS = $(STAGE_TFLAGS)
437 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
439 # Defaults for stage 2; some are overridden below.
440 STAGE2_CFLAGS = $(STAGE_CFLAGS)
441 STAGE2_CXXFLAGS = $(CXXFLAGS)
442 @if target-libstdc++-v3-bootstrap
443 # Override the above if we're bootstrapping C++.
444 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
445 @endif target-libstdc++-v3-bootstrap
446 STAGE2_TFLAGS = $(STAGE_TFLAGS)
447 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
449 # Defaults for stage 3; some are overridden below.
450 STAGE3_CFLAGS = $(STAGE_CFLAGS)
451 STAGE3_CXXFLAGS = $(CXXFLAGS)
452 @if target-libstdc++-v3-bootstrap
453 # Override the above if we're bootstrapping C++.
454 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
455 @endif target-libstdc++-v3-bootstrap
456 STAGE3_TFLAGS = $(STAGE_TFLAGS)
457 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
459 # Defaults for stage 4; some are overridden below.
460 STAGE4_CFLAGS = $(STAGE_CFLAGS)
461 STAGE4_CXXFLAGS = $(CXXFLAGS)
462 @if target-libstdc++-v3-bootstrap
463 # Override the above if we're bootstrapping C++.
464 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
465 @endif target-libstdc++-v3-bootstrap
466 STAGE4_TFLAGS = $(STAGE_TFLAGS)
467 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
469 # Defaults for stage profile; some are overridden below.
470 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
471 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
472 @if target-libstdc++-v3-bootstrap
473 # Override the above if we're bootstrapping C++.
474 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
475 @endif target-libstdc++-v3-bootstrap
476 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
477 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
479 # Defaults for stage feedback; some are overridden below.
480 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
481 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
482 @if target-libstdc++-v3-bootstrap
483 # Override the above if we're bootstrapping C++.
484 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
485 @endif target-libstdc++-v3-bootstrap
486 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
487 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
489 # Defaults for stage autoprofile; some are overridden below.
490 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
491 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
492 @if target-libstdc++-v3-bootstrap
493 # Override the above if we're bootstrapping C++.
494 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
495 @endif target-libstdc++-v3-bootstrap
496 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
497 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
499 # Defaults for stage autofeedback; some are overridden below.
500 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
501 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
502 @if target-libstdc++-v3-bootstrap
503 # Override the above if we're bootstrapping C++.
504 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
505 @endif target-libstdc++-v3-bootstrap
506 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
507 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
510 # By default, C and C++ are the only stage1 languages, because they are the
511 # only ones we require to build with the bootstrap compiler, and also the
512 # only ones useful for building stage2.
514 STAGE1_CFLAGS = @stage1_cflags@
515 STAGE1_CHECKING = @stage1_checking@
516 STAGE1_LANGUAGES = @stage1_languages@
517 # * We force-disable intermodule optimizations, even if
518 # --enable-intermodule was passed, since the installed compiler
519 # probably can't handle them. Luckily, autoconf always respects
520 # the last argument when conflicting --enable arguments are passed.
521 # * Likewise, we force-disable coverage flags, since the installed
522 # compiler probably has never heard of them.
523 # * We also disable -Wformat, since older GCCs don't understand newer %s.
524 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
525 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
526 --disable-build-format-warnings
528 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
529 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
531 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
532 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
534 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
535 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
537 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
538 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
540 do-compare = @do_compare@
541 do-compare3 = $(do-compare)
543 # -----------------------------------------------
544 # Programs producing files for the TARGET machine
545 # -----------------------------------------------
547 AR_FOR_TARGET=@AR_FOR_TARGET@
548 AS_FOR_TARGET=@AS_FOR_TARGET@
549 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
551 # If GCC_FOR_TARGET is not overriden on the command line, then this
552 # variable is passed down to the gcc Makefile, where it is used to
553 # build libgcc2.a. We define it here so that it can itself be
554 # overridden on the command line.
555 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
556 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
557 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
558 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
559 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
560 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
561 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
562 LD_FOR_TARGET=@LD_FOR_TARGET@
564 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
565 NM_FOR_TARGET=@NM_FOR_TARGET@
566 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
567 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
568 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
569 READELF_FOR_TARGET=@READELF_FOR_TARGET@
570 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
571 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
572 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
574 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
575 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
576 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
578 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
579 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
581 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
582 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
583 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
584 GOCFLAGS_FOR_TARGET = -O2 -g
586 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
587 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
588 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
590 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
592 # ------------------------------------
593 # Miscellaneous targets and flag lists
594 # ------------------------------------
596 # The first rule in the file had better be this one. Don't put any above it.
597 # This lives here to allow makefile fragments to contain dependencies.
598 all:
600 #### host and target specific makefile fragments come in here.
601 @target_makefile_frag@
602 @alphaieee_frag@
603 @ospace_frag@
604 @host_makefile_frag@
607 # This is the list of directories that may be needed in RPATH_ENVVAR
608 # so that programs built for the target machine work.
609 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)
611 @if target-libstdc++-v3
612 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
613 @endif target-libstdc++-v3
615 @if target-libsanitizer
616 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
617 @endif target-libsanitizer
619 @if target-libmpx
620 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
621 @endif target-libmpx
623 @if target-libvtv
624 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
625 @endif target-libvtv
627 @if target-libcilkrts
628 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
629 @endif target-libcilkrts
631 @if target-liboffloadmic
632 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
633 @endif target-liboffloadmic
635 @if target-libssp
636 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
637 @endif target-libssp
639 @if target-libgomp
640 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
641 @endif target-libgomp
643 @if target-libitm
644 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
645 @endif target-libitm
647 @if target-libatomic
648 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
649 @endif target-libatomic
653 # This is the list of directories that may be needed in RPATH_ENVVAR
654 # so that programs built for the host machine work.
655 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
657 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
658 @if gcc
659 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
660 @endif gcc
663 @if gmp
664 HOST_LIB_PATH_gmp = \
665 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
666 @endif gmp
668 @if mpfr
669 HOST_LIB_PATH_mpfr = \
670 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
671 @endif mpfr
673 @if mpc
674 HOST_LIB_PATH_mpc = \
675 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
676 @endif mpc
678 @if isl
679 HOST_LIB_PATH_isl = \
680 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
681 @endif isl
683 @if libelf
684 HOST_LIB_PATH_libelf = \
685 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
686 @endif libelf
689 CXX_FOR_TARGET_FLAG_TO_PASS = \
690 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
691 @if target-libstdc++-v3
692 # CXX_FOR_TARGET is tricky to get right for target libs that require a
693 # functional C++ compiler. When we recurse, if we expand
694 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
695 # libstdc++ include flags from the script. Instead, we get an
696 # -funconfigured-* word, so that we'll get errors if this invalid C++
697 # command line is used for anything, but also so that we can use the
698 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
699 # don't pass it on, sub-make will use the default definition, that
700 # re-expands it at the time of use, so we'll get it right when we need
701 # it. One potential exception is the expansion of CXX_FOR_TARGET
702 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
703 # really work, for C++ host programs can't depend on the current-stage
704 # C++ target library.
705 CXX_FOR_TARGET_FLAG_TO_PASS = \
706 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
707 @endif target-libstdc++-v3
709 # Flags to pass down to all sub-makes. STAGE*FLAGS,
710 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
711 # overrideable (for a bootstrap build stage1 also builds gcc.info).
712 BASE_FLAGS_TO_PASS = \
713 "DESTDIR=$(DESTDIR)" \
714 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
715 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
716 "bindir=$(bindir)" \
717 "datadir=$(datadir)" \
718 "exec_prefix=$(exec_prefix)" \
719 "includedir=$(includedir)" \
720 "datarootdir=$(datarootdir)" \
721 "docdir=$(docdir)" \
722 "infodir=$(infodir)" \
723 "pdfdir=$(pdfdir)" \
724 "htmldir=$(htmldir)" \
725 "libdir=$(libdir)" \
726 "libexecdir=$(libexecdir)" \
727 "lispdir=$(lispdir)" \
728 "localstatedir=$(localstatedir)" \
729 "mandir=$(mandir)" \
730 "oldincludedir=$(oldincludedir)" \
731 "prefix=$(prefix)" \
732 "sbindir=$(sbindir)" \
733 "sharedstatedir=$(sharedstatedir)" \
734 "sysconfdir=$(sysconfdir)" \
735 "tooldir=$(tooldir)" \
736 "build_tooldir=$(build_tooldir)" \
737 "target_alias=$(target_alias)" \
738 "AWK=$(AWK)" \
739 "BISON=$(BISON)" \
740 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
741 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
742 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
743 "EXPECT=$(EXPECT)" \
744 "FLEX=$(FLEX)" \
745 "INSTALL=$(INSTALL)" \
746 "INSTALL_DATA=$(INSTALL_DATA)" \
747 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
748 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
749 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
750 "LEX=$(LEX)" \
751 "M4=$(M4)" \
752 "MAKE=$(MAKE)" \
753 "RUNTEST=$(RUNTEST)" \
754 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
755 "SED=$(SED)" \
756 "SHELL=$(SHELL)" \
757 "YACC=$(YACC)" \
758 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
759 "ADA_CFLAGS=$(ADA_CFLAGS)" \
760 "AR_FLAGS=$(AR_FLAGS)" \
761 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
762 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
763 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
764 "CFLAGS=$(CFLAGS)" \
765 "CXXFLAGS=$(CXXFLAGS)" \
766 "LDFLAGS=$(LDFLAGS)" \
767 "LIBCFLAGS=$(LIBCFLAGS)" \
768 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
769 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
770 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
771 "GNATBIND=$(GNATBIND)" \
772 "GNATMAKE=$(GNATMAKE)" \
773 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
774 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
775 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
776 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
777 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
778 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
779 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
780 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
781 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
782 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
783 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
784 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
785 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
786 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
787 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
788 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
789 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
790 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
791 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
792 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
793 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
794 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
795 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
796 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
797 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
798 "BUILD_CONFIG=$(BUILD_CONFIG)" \
799 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
800 "LEAN=$(LEAN)" \
801 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
802 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
803 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
804 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
805 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
806 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
807 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
808 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
809 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
810 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
811 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
812 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
813 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
814 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
815 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
816 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
817 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
818 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
819 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
820 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
821 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
822 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
823 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
824 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
825 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
826 "TFLAGS=$(TFLAGS)" \
827 "CONFIG_SHELL=$(SHELL)" \
828 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
829 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
831 # We leave this in just in case, but it is not needed anymore.
832 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
834 # Flags to pass down to most sub-makes, in which we're building with
835 # the host environment.
836 EXTRA_HOST_FLAGS = \
837 'AR=$(AR)' \
838 'AS=$(AS)' \
839 'CC=$(CC)' \
840 'CXX=$(CXX)' \
841 'DLLTOOL=$(DLLTOOL)' \
842 'GCJ=$(GCJ)' \
843 'GFORTRAN=$(GFORTRAN)' \
844 'GOC=$(GOC)' \
845 'LD=$(LD)' \
846 'LIPO=$(LIPO)' \
847 'NM=$(NM)' \
848 'OBJDUMP=$(OBJDUMP)' \
849 'RANLIB=$(RANLIB)' \
850 'READELF=$(READELF)' \
851 'STRIP=$(STRIP)' \
852 'WINDRES=$(WINDRES)' \
853 'WINDMC=$(WINDMC)' \
854 'CREATE_GCOV=$(CREATE_GCOV)'
856 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
858 # Flags to pass to stage1 or when not bootstrapping.
860 STAGE1_FLAGS_TO_PASS = \
861 LDFLAGS="$${LDFLAGS}" \
862 HOST_LIBS="$${HOST_LIBS}"
864 # Flags to pass to stage2 and later makes.
866 POSTSTAGE1_FLAGS_TO_PASS = \
867 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
868 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
869 GNATBIND="$${GNATBIND}" \
870 LDFLAGS="$${LDFLAGS}" \
871 HOST_LIBS="$${HOST_LIBS}" \
872 $(LTO_FLAGS_TO_PASS) \
873 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
875 @if gcc-bootstrap
876 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
877 $(POSTSTAGE1_HOST_EXPORTS) \
880 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
881 @endif gcc-bootstrap
883 # Flags to pass down to makes which are built with the target environment.
884 # The double $ decreases the length of the command line; those variables
885 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
886 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
887 # so we expand them here.
888 EXTRA_TARGET_FLAGS = \
889 'AR=$$(AR_FOR_TARGET)' \
890 'AS=$(COMPILER_AS_FOR_TARGET)' \
891 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
892 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
893 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
894 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
895 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
896 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
897 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
898 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
899 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
900 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
901 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
902 'LD=$(COMPILER_LD_FOR_TARGET)' \
903 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
904 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
905 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
906 'NM=$(COMPILER_NM_FOR_TARGET)' \
907 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
908 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
909 'RANLIB=$$(RANLIB_FOR_TARGET)' \
910 'READELF=$$(READELF_FOR_TARGET)' \
911 'WINDRES=$$(WINDRES_FOR_TARGET)' \
912 'WINDMC=$$(WINDMC_FOR_TARGET)' \
913 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
914 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
915 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
916 "TFLAGS=$$TFLAGS"
918 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
920 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
921 # unfortunately needs the native compiler and the target ar and
922 # ranlib.
923 # If any variables are added here, they must be added to do-*, below.
924 # The BUILD_* variables are a special case, which are used for the gcc
925 # cross-building scheme.
926 EXTRA_GCC_FLAGS = \
927 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
928 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
929 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
931 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
933 @if gcc
934 BUILD_CONFIG = @BUILD_CONFIG@
935 ifneq ($(BUILD_CONFIG),)
936 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
937 endif
938 @endif gcc
940 .PHONY: configure-host
941 configure-host: \
942 maybe-configure-bfd \
943 maybe-configure-opcodes \
944 maybe-configure-binutils \
945 maybe-configure-bison \
946 maybe-configure-cgen \
947 maybe-configure-dejagnu \
948 maybe-configure-etc \
949 maybe-configure-fastjar \
950 maybe-configure-fixincludes \
951 maybe-configure-flex \
952 maybe-configure-gas \
953 maybe-configure-gcc \
954 maybe-configure-gmp \
955 maybe-configure-mpfr \
956 maybe-configure-mpc \
957 maybe-configure-isl \
958 maybe-configure-libelf \
959 maybe-configure-gold \
960 maybe-configure-gprof \
961 maybe-configure-intl \
962 maybe-configure-tcl \
963 maybe-configure-itcl \
964 maybe-configure-ld \
965 maybe-configure-libbacktrace \
966 maybe-configure-libcpp \
967 maybe-configure-libdecnumber \
968 maybe-configure-libgui \
969 maybe-configure-libiberty \
970 maybe-configure-libiberty-linker-plugin \
971 maybe-configure-libiconv \
972 maybe-configure-m4 \
973 maybe-configure-readline \
974 maybe-configure-sid \
975 maybe-configure-sim \
976 maybe-configure-texinfo \
977 maybe-configure-zlib \
978 maybe-configure-gdb \
979 maybe-configure-expect \
980 maybe-configure-guile \
981 maybe-configure-tk \
982 maybe-configure-libtermcap \
983 maybe-configure-utils \
984 maybe-configure-gnattools \
985 maybe-configure-lto-plugin \
986 maybe-configure-libcc1 \
987 maybe-configure-gotools
988 .PHONY: configure-target
989 configure-target: \
990 maybe-configure-target-libstdc++-v3 \
991 maybe-configure-target-libsanitizer \
992 maybe-configure-target-libmpx \
993 maybe-configure-target-libvtv \
994 maybe-configure-target-libcilkrts \
995 maybe-configure-target-liboffloadmic \
996 maybe-configure-target-libssp \
997 maybe-configure-target-newlib \
998 maybe-configure-target-libgcc \
999 maybe-configure-target-libbacktrace \
1000 maybe-configure-target-libquadmath \
1001 maybe-configure-target-libgfortran \
1002 maybe-configure-target-libobjc \
1003 maybe-configure-target-libgo \
1004 maybe-configure-target-libtermcap \
1005 maybe-configure-target-winsup \
1006 maybe-configure-target-libgloss \
1007 maybe-configure-target-libffi \
1008 maybe-configure-target-zlib \
1009 maybe-configure-target-boehm-gc \
1010 maybe-configure-target-rda \
1011 maybe-configure-target-libada \
1012 maybe-configure-target-libgomp \
1013 maybe-configure-target-libitm \
1014 maybe-configure-target-libatomic
1016 # The target built for a native non-bootstrap build.
1017 .PHONY: all
1018 all:
1019 @if gcc-bootstrap
1020 [ -f stage_final ] || echo stage3 > stage_final
1021 @r=`${PWD_COMMAND}`; export r; \
1022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1023 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1024 @endif gcc-bootstrap
1025 @: $(MAKE); $(unstage)
1026 @r=`${PWD_COMMAND}`; export r; \
1027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1028 @if gcc-bootstrap
1029 if [ -f stage_last ]; then \
1030 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1031 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1032 else \
1033 @endif gcc-bootstrap
1034 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1035 @if gcc-bootstrap
1037 fi \
1038 @endif gcc-bootstrap
1039 && :
1041 .PHONY: all-build
1043 all-build: maybe-all-build-libiberty
1044 all-build: maybe-all-build-bison
1045 all-build: maybe-all-build-flex
1046 all-build: maybe-all-build-m4
1047 all-build: maybe-all-build-texinfo
1048 all-build: maybe-all-build-fixincludes
1049 all-build: maybe-all-build-libcpp
1051 .PHONY: all-host
1053 @if bfd-no-bootstrap
1054 all-host: maybe-all-bfd
1055 @endif bfd-no-bootstrap
1056 @if opcodes-no-bootstrap
1057 all-host: maybe-all-opcodes
1058 @endif opcodes-no-bootstrap
1059 @if binutils-no-bootstrap
1060 all-host: maybe-all-binutils
1061 @endif binutils-no-bootstrap
1062 all-host: maybe-all-bison
1063 all-host: maybe-all-cgen
1064 all-host: maybe-all-dejagnu
1065 all-host: maybe-all-etc
1066 all-host: maybe-all-fastjar
1067 @if fixincludes-no-bootstrap
1068 all-host: maybe-all-fixincludes
1069 @endif fixincludes-no-bootstrap
1070 all-host: maybe-all-flex
1071 @if gas-no-bootstrap
1072 all-host: maybe-all-gas
1073 @endif gas-no-bootstrap
1074 @if gcc-no-bootstrap
1075 all-host: maybe-all-gcc
1076 @endif gcc-no-bootstrap
1077 @if gmp-no-bootstrap
1078 all-host: maybe-all-gmp
1079 @endif gmp-no-bootstrap
1080 @if mpfr-no-bootstrap
1081 all-host: maybe-all-mpfr
1082 @endif mpfr-no-bootstrap
1083 @if mpc-no-bootstrap
1084 all-host: maybe-all-mpc
1085 @endif mpc-no-bootstrap
1086 @if isl-no-bootstrap
1087 all-host: maybe-all-isl
1088 @endif isl-no-bootstrap
1089 @if libelf-no-bootstrap
1090 all-host: maybe-all-libelf
1091 @endif libelf-no-bootstrap
1092 @if gold-no-bootstrap
1093 all-host: maybe-all-gold
1094 @endif gold-no-bootstrap
1095 all-host: maybe-all-gprof
1096 @if intl-no-bootstrap
1097 all-host: maybe-all-intl
1098 @endif intl-no-bootstrap
1099 all-host: maybe-all-tcl
1100 all-host: maybe-all-itcl
1101 @if ld-no-bootstrap
1102 all-host: maybe-all-ld
1103 @endif ld-no-bootstrap
1104 @if libbacktrace-no-bootstrap
1105 all-host: maybe-all-libbacktrace
1106 @endif libbacktrace-no-bootstrap
1107 @if libcpp-no-bootstrap
1108 all-host: maybe-all-libcpp
1109 @endif libcpp-no-bootstrap
1110 @if libdecnumber-no-bootstrap
1111 all-host: maybe-all-libdecnumber
1112 @endif libdecnumber-no-bootstrap
1113 all-host: maybe-all-libgui
1114 @if libiberty-no-bootstrap
1115 all-host: maybe-all-libiberty
1116 @endif libiberty-no-bootstrap
1117 @if libiberty-linker-plugin-no-bootstrap
1118 all-host: maybe-all-libiberty-linker-plugin
1119 @endif libiberty-linker-plugin-no-bootstrap
1120 @if libiconv-no-bootstrap
1121 all-host: maybe-all-libiconv
1122 @endif libiconv-no-bootstrap
1123 all-host: maybe-all-m4
1124 all-host: maybe-all-readline
1125 all-host: maybe-all-sid
1126 all-host: maybe-all-sim
1127 all-host: maybe-all-texinfo
1128 @if zlib-no-bootstrap
1129 all-host: maybe-all-zlib
1130 @endif zlib-no-bootstrap
1131 all-host: maybe-all-gdb
1132 all-host: maybe-all-expect
1133 all-host: maybe-all-guile
1134 all-host: maybe-all-tk
1135 all-host: maybe-all-libtermcap
1136 all-host: maybe-all-utils
1137 all-host: maybe-all-gnattools
1138 @if lto-plugin-no-bootstrap
1139 all-host: maybe-all-lto-plugin
1140 @endif lto-plugin-no-bootstrap
1141 all-host: maybe-all-libcc1
1142 all-host: maybe-all-gotools
1144 .PHONY: all-target
1146 @if target-libstdc++-v3-no-bootstrap
1147 all-target: maybe-all-target-libstdc++-v3
1148 @endif target-libstdc++-v3-no-bootstrap
1149 @if target-libsanitizer-no-bootstrap
1150 all-target: maybe-all-target-libsanitizer
1151 @endif target-libsanitizer-no-bootstrap
1152 @if target-libmpx-no-bootstrap
1153 all-target: maybe-all-target-libmpx
1154 @endif target-libmpx-no-bootstrap
1155 @if target-libvtv-no-bootstrap
1156 all-target: maybe-all-target-libvtv
1157 @endif target-libvtv-no-bootstrap
1158 all-target: maybe-all-target-libcilkrts
1159 all-target: maybe-all-target-liboffloadmic
1160 all-target: maybe-all-target-libssp
1161 all-target: maybe-all-target-newlib
1162 @if target-libgcc-no-bootstrap
1163 all-target: maybe-all-target-libgcc
1164 @endif target-libgcc-no-bootstrap
1165 all-target: maybe-all-target-libbacktrace
1166 all-target: maybe-all-target-libquadmath
1167 all-target: maybe-all-target-libgfortran
1168 all-target: maybe-all-target-libobjc
1169 all-target: maybe-all-target-libgo
1170 all-target: maybe-all-target-libtermcap
1171 all-target: maybe-all-target-winsup
1172 all-target: maybe-all-target-libgloss
1173 all-target: maybe-all-target-libffi
1174 all-target: maybe-all-target-zlib
1175 all-target: maybe-all-target-boehm-gc
1176 all-target: maybe-all-target-rda
1177 all-target: maybe-all-target-libada
1178 @if target-libgomp-no-bootstrap
1179 all-target: maybe-all-target-libgomp
1180 @endif target-libgomp-no-bootstrap
1181 all-target: maybe-all-target-libitm
1182 all-target: maybe-all-target-libatomic
1184 # Do a target for all the subdirectories. A ``make do-X'' will do a
1185 # ``make X'' in all subdirectories (because, in general, there is a
1186 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1187 # but it may do additional work as well).
1189 .PHONY: do-info
1190 do-info:
1191 @: $(MAKE); $(unstage)
1192 @r=`${PWD_COMMAND}`; export r; \
1193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1194 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1195 info-target
1198 .PHONY: info-host
1200 info-host: maybe-info-bfd
1201 info-host: maybe-info-opcodes
1202 info-host: maybe-info-binutils
1203 info-host: maybe-info-bison
1204 info-host: maybe-info-cgen
1205 info-host: maybe-info-dejagnu
1206 info-host: maybe-info-etc
1207 info-host: maybe-info-fastjar
1208 info-host: maybe-info-fixincludes
1209 info-host: maybe-info-flex
1210 info-host: maybe-info-gas
1211 info-host: maybe-info-gcc
1212 info-host: maybe-info-gmp
1213 info-host: maybe-info-mpfr
1214 info-host: maybe-info-mpc
1215 info-host: maybe-info-isl
1216 info-host: maybe-info-libelf
1217 info-host: maybe-info-gold
1218 info-host: maybe-info-gprof
1219 info-host: maybe-info-intl
1220 info-host: maybe-info-tcl
1221 info-host: maybe-info-itcl
1222 info-host: maybe-info-ld
1223 info-host: maybe-info-libbacktrace
1224 info-host: maybe-info-libcpp
1225 info-host: maybe-info-libdecnumber
1226 info-host: maybe-info-libgui
1227 info-host: maybe-info-libiberty
1228 info-host: maybe-info-libiberty-linker-plugin
1229 info-host: maybe-info-libiconv
1230 info-host: maybe-info-m4
1231 info-host: maybe-info-readline
1232 info-host: maybe-info-sid
1233 info-host: maybe-info-sim
1234 info-host: maybe-info-texinfo
1235 info-host: maybe-info-zlib
1236 info-host: maybe-info-gdb
1237 info-host: maybe-info-expect
1238 info-host: maybe-info-guile
1239 info-host: maybe-info-tk
1240 info-host: maybe-info-libtermcap
1241 info-host: maybe-info-utils
1242 info-host: maybe-info-gnattools
1243 info-host: maybe-info-lto-plugin
1244 info-host: maybe-info-libcc1
1245 info-host: maybe-info-gotools
1247 .PHONY: info-target
1249 info-target: maybe-info-target-libstdc++-v3
1250 info-target: maybe-info-target-libsanitizer
1251 info-target: maybe-info-target-libmpx
1252 info-target: maybe-info-target-libvtv
1253 info-target: maybe-info-target-libcilkrts
1254 info-target: maybe-info-target-liboffloadmic
1255 info-target: maybe-info-target-libssp
1256 info-target: maybe-info-target-newlib
1257 info-target: maybe-info-target-libgcc
1258 info-target: maybe-info-target-libbacktrace
1259 info-target: maybe-info-target-libquadmath
1260 info-target: maybe-info-target-libgfortran
1261 info-target: maybe-info-target-libobjc
1262 info-target: maybe-info-target-libgo
1263 info-target: maybe-info-target-libtermcap
1264 info-target: maybe-info-target-winsup
1265 info-target: maybe-info-target-libgloss
1266 info-target: maybe-info-target-libffi
1267 info-target: maybe-info-target-zlib
1268 info-target: maybe-info-target-boehm-gc
1269 info-target: maybe-info-target-rda
1270 info-target: maybe-info-target-libada
1271 info-target: maybe-info-target-libgomp
1272 info-target: maybe-info-target-libitm
1273 info-target: maybe-info-target-libatomic
1275 .PHONY: do-dvi
1276 do-dvi:
1277 @: $(MAKE); $(unstage)
1278 @r=`${PWD_COMMAND}`; export r; \
1279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1281 dvi-target
1284 .PHONY: dvi-host
1286 dvi-host: maybe-dvi-bfd
1287 dvi-host: maybe-dvi-opcodes
1288 dvi-host: maybe-dvi-binutils
1289 dvi-host: maybe-dvi-bison
1290 dvi-host: maybe-dvi-cgen
1291 dvi-host: maybe-dvi-dejagnu
1292 dvi-host: maybe-dvi-etc
1293 dvi-host: maybe-dvi-fastjar
1294 dvi-host: maybe-dvi-fixincludes
1295 dvi-host: maybe-dvi-flex
1296 dvi-host: maybe-dvi-gas
1297 dvi-host: maybe-dvi-gcc
1298 dvi-host: maybe-dvi-gmp
1299 dvi-host: maybe-dvi-mpfr
1300 dvi-host: maybe-dvi-mpc
1301 dvi-host: maybe-dvi-isl
1302 dvi-host: maybe-dvi-libelf
1303 dvi-host: maybe-dvi-gold
1304 dvi-host: maybe-dvi-gprof
1305 dvi-host: maybe-dvi-intl
1306 dvi-host: maybe-dvi-tcl
1307 dvi-host: maybe-dvi-itcl
1308 dvi-host: maybe-dvi-ld
1309 dvi-host: maybe-dvi-libbacktrace
1310 dvi-host: maybe-dvi-libcpp
1311 dvi-host: maybe-dvi-libdecnumber
1312 dvi-host: maybe-dvi-libgui
1313 dvi-host: maybe-dvi-libiberty
1314 dvi-host: maybe-dvi-libiberty-linker-plugin
1315 dvi-host: maybe-dvi-libiconv
1316 dvi-host: maybe-dvi-m4
1317 dvi-host: maybe-dvi-readline
1318 dvi-host: maybe-dvi-sid
1319 dvi-host: maybe-dvi-sim
1320 dvi-host: maybe-dvi-texinfo
1321 dvi-host: maybe-dvi-zlib
1322 dvi-host: maybe-dvi-gdb
1323 dvi-host: maybe-dvi-expect
1324 dvi-host: maybe-dvi-guile
1325 dvi-host: maybe-dvi-tk
1326 dvi-host: maybe-dvi-libtermcap
1327 dvi-host: maybe-dvi-utils
1328 dvi-host: maybe-dvi-gnattools
1329 dvi-host: maybe-dvi-lto-plugin
1330 dvi-host: maybe-dvi-libcc1
1331 dvi-host: maybe-dvi-gotools
1333 .PHONY: dvi-target
1335 dvi-target: maybe-dvi-target-libstdc++-v3
1336 dvi-target: maybe-dvi-target-libsanitizer
1337 dvi-target: maybe-dvi-target-libmpx
1338 dvi-target: maybe-dvi-target-libvtv
1339 dvi-target: maybe-dvi-target-libcilkrts
1340 dvi-target: maybe-dvi-target-liboffloadmic
1341 dvi-target: maybe-dvi-target-libssp
1342 dvi-target: maybe-dvi-target-newlib
1343 dvi-target: maybe-dvi-target-libgcc
1344 dvi-target: maybe-dvi-target-libbacktrace
1345 dvi-target: maybe-dvi-target-libquadmath
1346 dvi-target: maybe-dvi-target-libgfortran
1347 dvi-target: maybe-dvi-target-libobjc
1348 dvi-target: maybe-dvi-target-libgo
1349 dvi-target: maybe-dvi-target-libtermcap
1350 dvi-target: maybe-dvi-target-winsup
1351 dvi-target: maybe-dvi-target-libgloss
1352 dvi-target: maybe-dvi-target-libffi
1353 dvi-target: maybe-dvi-target-zlib
1354 dvi-target: maybe-dvi-target-boehm-gc
1355 dvi-target: maybe-dvi-target-rda
1356 dvi-target: maybe-dvi-target-libada
1357 dvi-target: maybe-dvi-target-libgomp
1358 dvi-target: maybe-dvi-target-libitm
1359 dvi-target: maybe-dvi-target-libatomic
1361 .PHONY: do-pdf
1362 do-pdf:
1363 @: $(MAKE); $(unstage)
1364 @r=`${PWD_COMMAND}`; export r; \
1365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1367 pdf-target
1370 .PHONY: pdf-host
1372 pdf-host: maybe-pdf-bfd
1373 pdf-host: maybe-pdf-opcodes
1374 pdf-host: maybe-pdf-binutils
1375 pdf-host: maybe-pdf-bison
1376 pdf-host: maybe-pdf-cgen
1377 pdf-host: maybe-pdf-dejagnu
1378 pdf-host: maybe-pdf-etc
1379 pdf-host: maybe-pdf-fastjar
1380 pdf-host: maybe-pdf-fixincludes
1381 pdf-host: maybe-pdf-flex
1382 pdf-host: maybe-pdf-gas
1383 pdf-host: maybe-pdf-gcc
1384 pdf-host: maybe-pdf-gmp
1385 pdf-host: maybe-pdf-mpfr
1386 pdf-host: maybe-pdf-mpc
1387 pdf-host: maybe-pdf-isl
1388 pdf-host: maybe-pdf-libelf
1389 pdf-host: maybe-pdf-gold
1390 pdf-host: maybe-pdf-gprof
1391 pdf-host: maybe-pdf-intl
1392 pdf-host: maybe-pdf-tcl
1393 pdf-host: maybe-pdf-itcl
1394 pdf-host: maybe-pdf-ld
1395 pdf-host: maybe-pdf-libbacktrace
1396 pdf-host: maybe-pdf-libcpp
1397 pdf-host: maybe-pdf-libdecnumber
1398 pdf-host: maybe-pdf-libgui
1399 pdf-host: maybe-pdf-libiberty
1400 pdf-host: maybe-pdf-libiberty-linker-plugin
1401 pdf-host: maybe-pdf-libiconv
1402 pdf-host: maybe-pdf-m4
1403 pdf-host: maybe-pdf-readline
1404 pdf-host: maybe-pdf-sid
1405 pdf-host: maybe-pdf-sim
1406 pdf-host: maybe-pdf-texinfo
1407 pdf-host: maybe-pdf-zlib
1408 pdf-host: maybe-pdf-gdb
1409 pdf-host: maybe-pdf-expect
1410 pdf-host: maybe-pdf-guile
1411 pdf-host: maybe-pdf-tk
1412 pdf-host: maybe-pdf-libtermcap
1413 pdf-host: maybe-pdf-utils
1414 pdf-host: maybe-pdf-gnattools
1415 pdf-host: maybe-pdf-lto-plugin
1416 pdf-host: maybe-pdf-libcc1
1417 pdf-host: maybe-pdf-gotools
1419 .PHONY: pdf-target
1421 pdf-target: maybe-pdf-target-libstdc++-v3
1422 pdf-target: maybe-pdf-target-libsanitizer
1423 pdf-target: maybe-pdf-target-libmpx
1424 pdf-target: maybe-pdf-target-libvtv
1425 pdf-target: maybe-pdf-target-libcilkrts
1426 pdf-target: maybe-pdf-target-liboffloadmic
1427 pdf-target: maybe-pdf-target-libssp
1428 pdf-target: maybe-pdf-target-newlib
1429 pdf-target: maybe-pdf-target-libgcc
1430 pdf-target: maybe-pdf-target-libbacktrace
1431 pdf-target: maybe-pdf-target-libquadmath
1432 pdf-target: maybe-pdf-target-libgfortran
1433 pdf-target: maybe-pdf-target-libobjc
1434 pdf-target: maybe-pdf-target-libgo
1435 pdf-target: maybe-pdf-target-libtermcap
1436 pdf-target: maybe-pdf-target-winsup
1437 pdf-target: maybe-pdf-target-libgloss
1438 pdf-target: maybe-pdf-target-libffi
1439 pdf-target: maybe-pdf-target-zlib
1440 pdf-target: maybe-pdf-target-boehm-gc
1441 pdf-target: maybe-pdf-target-rda
1442 pdf-target: maybe-pdf-target-libada
1443 pdf-target: maybe-pdf-target-libgomp
1444 pdf-target: maybe-pdf-target-libitm
1445 pdf-target: maybe-pdf-target-libatomic
1447 .PHONY: do-html
1448 do-html:
1449 @: $(MAKE); $(unstage)
1450 @r=`${PWD_COMMAND}`; export r; \
1451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1452 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1453 html-target
1456 .PHONY: html-host
1458 html-host: maybe-html-bfd
1459 html-host: maybe-html-opcodes
1460 html-host: maybe-html-binutils
1461 html-host: maybe-html-bison
1462 html-host: maybe-html-cgen
1463 html-host: maybe-html-dejagnu
1464 html-host: maybe-html-etc
1465 html-host: maybe-html-fastjar
1466 html-host: maybe-html-fixincludes
1467 html-host: maybe-html-flex
1468 html-host: maybe-html-gas
1469 html-host: maybe-html-gcc
1470 html-host: maybe-html-gmp
1471 html-host: maybe-html-mpfr
1472 html-host: maybe-html-mpc
1473 html-host: maybe-html-isl
1474 html-host: maybe-html-libelf
1475 html-host: maybe-html-gold
1476 html-host: maybe-html-gprof
1477 html-host: maybe-html-intl
1478 html-host: maybe-html-tcl
1479 html-host: maybe-html-itcl
1480 html-host: maybe-html-ld
1481 html-host: maybe-html-libbacktrace
1482 html-host: maybe-html-libcpp
1483 html-host: maybe-html-libdecnumber
1484 html-host: maybe-html-libgui
1485 html-host: maybe-html-libiberty
1486 html-host: maybe-html-libiberty-linker-plugin
1487 html-host: maybe-html-libiconv
1488 html-host: maybe-html-m4
1489 html-host: maybe-html-readline
1490 html-host: maybe-html-sid
1491 html-host: maybe-html-sim
1492 html-host: maybe-html-texinfo
1493 html-host: maybe-html-zlib
1494 html-host: maybe-html-gdb
1495 html-host: maybe-html-expect
1496 html-host: maybe-html-guile
1497 html-host: maybe-html-tk
1498 html-host: maybe-html-libtermcap
1499 html-host: maybe-html-utils
1500 html-host: maybe-html-gnattools
1501 html-host: maybe-html-lto-plugin
1502 html-host: maybe-html-libcc1
1503 html-host: maybe-html-gotools
1505 .PHONY: html-target
1507 html-target: maybe-html-target-libstdc++-v3
1508 html-target: maybe-html-target-libsanitizer
1509 html-target: maybe-html-target-libmpx
1510 html-target: maybe-html-target-libvtv
1511 html-target: maybe-html-target-libcilkrts
1512 html-target: maybe-html-target-liboffloadmic
1513 html-target: maybe-html-target-libssp
1514 html-target: maybe-html-target-newlib
1515 html-target: maybe-html-target-libgcc
1516 html-target: maybe-html-target-libbacktrace
1517 html-target: maybe-html-target-libquadmath
1518 html-target: maybe-html-target-libgfortran
1519 html-target: maybe-html-target-libobjc
1520 html-target: maybe-html-target-libgo
1521 html-target: maybe-html-target-libtermcap
1522 html-target: maybe-html-target-winsup
1523 html-target: maybe-html-target-libgloss
1524 html-target: maybe-html-target-libffi
1525 html-target: maybe-html-target-zlib
1526 html-target: maybe-html-target-boehm-gc
1527 html-target: maybe-html-target-rda
1528 html-target: maybe-html-target-libada
1529 html-target: maybe-html-target-libgomp
1530 html-target: maybe-html-target-libitm
1531 html-target: maybe-html-target-libatomic
1533 .PHONY: do-TAGS
1534 do-TAGS:
1535 @: $(MAKE); $(unstage)
1536 @r=`${PWD_COMMAND}`; export r; \
1537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1538 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1539 TAGS-target
1542 .PHONY: TAGS-host
1544 TAGS-host: maybe-TAGS-bfd
1545 TAGS-host: maybe-TAGS-opcodes
1546 TAGS-host: maybe-TAGS-binutils
1547 TAGS-host: maybe-TAGS-bison
1548 TAGS-host: maybe-TAGS-cgen
1549 TAGS-host: maybe-TAGS-dejagnu
1550 TAGS-host: maybe-TAGS-etc
1551 TAGS-host: maybe-TAGS-fastjar
1552 TAGS-host: maybe-TAGS-fixincludes
1553 TAGS-host: maybe-TAGS-flex
1554 TAGS-host: maybe-TAGS-gas
1555 TAGS-host: maybe-TAGS-gcc
1556 TAGS-host: maybe-TAGS-gmp
1557 TAGS-host: maybe-TAGS-mpfr
1558 TAGS-host: maybe-TAGS-mpc
1559 TAGS-host: maybe-TAGS-isl
1560 TAGS-host: maybe-TAGS-libelf
1561 TAGS-host: maybe-TAGS-gold
1562 TAGS-host: maybe-TAGS-gprof
1563 TAGS-host: maybe-TAGS-intl
1564 TAGS-host: maybe-TAGS-tcl
1565 TAGS-host: maybe-TAGS-itcl
1566 TAGS-host: maybe-TAGS-ld
1567 TAGS-host: maybe-TAGS-libbacktrace
1568 TAGS-host: maybe-TAGS-libcpp
1569 TAGS-host: maybe-TAGS-libdecnumber
1570 TAGS-host: maybe-TAGS-libgui
1571 TAGS-host: maybe-TAGS-libiberty
1572 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1573 TAGS-host: maybe-TAGS-libiconv
1574 TAGS-host: maybe-TAGS-m4
1575 TAGS-host: maybe-TAGS-readline
1576 TAGS-host: maybe-TAGS-sid
1577 TAGS-host: maybe-TAGS-sim
1578 TAGS-host: maybe-TAGS-texinfo
1579 TAGS-host: maybe-TAGS-zlib
1580 TAGS-host: maybe-TAGS-gdb
1581 TAGS-host: maybe-TAGS-expect
1582 TAGS-host: maybe-TAGS-guile
1583 TAGS-host: maybe-TAGS-tk
1584 TAGS-host: maybe-TAGS-libtermcap
1585 TAGS-host: maybe-TAGS-utils
1586 TAGS-host: maybe-TAGS-gnattools
1587 TAGS-host: maybe-TAGS-lto-plugin
1588 TAGS-host: maybe-TAGS-libcc1
1589 TAGS-host: maybe-TAGS-gotools
1591 .PHONY: TAGS-target
1593 TAGS-target: maybe-TAGS-target-libstdc++-v3
1594 TAGS-target: maybe-TAGS-target-libsanitizer
1595 TAGS-target: maybe-TAGS-target-libmpx
1596 TAGS-target: maybe-TAGS-target-libvtv
1597 TAGS-target: maybe-TAGS-target-libcilkrts
1598 TAGS-target: maybe-TAGS-target-liboffloadmic
1599 TAGS-target: maybe-TAGS-target-libssp
1600 TAGS-target: maybe-TAGS-target-newlib
1601 TAGS-target: maybe-TAGS-target-libgcc
1602 TAGS-target: maybe-TAGS-target-libbacktrace
1603 TAGS-target: maybe-TAGS-target-libquadmath
1604 TAGS-target: maybe-TAGS-target-libgfortran
1605 TAGS-target: maybe-TAGS-target-libobjc
1606 TAGS-target: maybe-TAGS-target-libgo
1607 TAGS-target: maybe-TAGS-target-libtermcap
1608 TAGS-target: maybe-TAGS-target-winsup
1609 TAGS-target: maybe-TAGS-target-libgloss
1610 TAGS-target: maybe-TAGS-target-libffi
1611 TAGS-target: maybe-TAGS-target-zlib
1612 TAGS-target: maybe-TAGS-target-boehm-gc
1613 TAGS-target: maybe-TAGS-target-rda
1614 TAGS-target: maybe-TAGS-target-libada
1615 TAGS-target: maybe-TAGS-target-libgomp
1616 TAGS-target: maybe-TAGS-target-libitm
1617 TAGS-target: maybe-TAGS-target-libatomic
1619 .PHONY: do-install-info
1620 do-install-info:
1621 @: $(MAKE); $(unstage)
1622 @r=`${PWD_COMMAND}`; export r; \
1623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1625 install-info-target
1628 .PHONY: install-info-host
1630 install-info-host: maybe-install-info-bfd
1631 install-info-host: maybe-install-info-opcodes
1632 install-info-host: maybe-install-info-binutils
1633 install-info-host: maybe-install-info-bison
1634 install-info-host: maybe-install-info-cgen
1635 install-info-host: maybe-install-info-dejagnu
1636 install-info-host: maybe-install-info-etc
1637 install-info-host: maybe-install-info-fastjar
1638 install-info-host: maybe-install-info-fixincludes
1639 install-info-host: maybe-install-info-flex
1640 install-info-host: maybe-install-info-gas
1641 install-info-host: maybe-install-info-gcc
1642 install-info-host: maybe-install-info-gmp
1643 install-info-host: maybe-install-info-mpfr
1644 install-info-host: maybe-install-info-mpc
1645 install-info-host: maybe-install-info-isl
1646 install-info-host: maybe-install-info-libelf
1647 install-info-host: maybe-install-info-gold
1648 install-info-host: maybe-install-info-gprof
1649 install-info-host: maybe-install-info-intl
1650 install-info-host: maybe-install-info-tcl
1651 install-info-host: maybe-install-info-itcl
1652 install-info-host: maybe-install-info-ld
1653 install-info-host: maybe-install-info-libbacktrace
1654 install-info-host: maybe-install-info-libcpp
1655 install-info-host: maybe-install-info-libdecnumber
1656 install-info-host: maybe-install-info-libgui
1657 install-info-host: maybe-install-info-libiberty
1658 install-info-host: maybe-install-info-libiberty-linker-plugin
1659 install-info-host: maybe-install-info-libiconv
1660 install-info-host: maybe-install-info-m4
1661 install-info-host: maybe-install-info-readline
1662 install-info-host: maybe-install-info-sid
1663 install-info-host: maybe-install-info-sim
1664 install-info-host: maybe-install-info-texinfo
1665 install-info-host: maybe-install-info-zlib
1666 install-info-host: maybe-install-info-gdb
1667 install-info-host: maybe-install-info-expect
1668 install-info-host: maybe-install-info-guile
1669 install-info-host: maybe-install-info-tk
1670 install-info-host: maybe-install-info-libtermcap
1671 install-info-host: maybe-install-info-utils
1672 install-info-host: maybe-install-info-gnattools
1673 install-info-host: maybe-install-info-lto-plugin
1674 install-info-host: maybe-install-info-libcc1
1675 install-info-host: maybe-install-info-gotools
1677 .PHONY: install-info-target
1679 install-info-target: maybe-install-info-target-libstdc++-v3
1680 install-info-target: maybe-install-info-target-libsanitizer
1681 install-info-target: maybe-install-info-target-libmpx
1682 install-info-target: maybe-install-info-target-libvtv
1683 install-info-target: maybe-install-info-target-libcilkrts
1684 install-info-target: maybe-install-info-target-liboffloadmic
1685 install-info-target: maybe-install-info-target-libssp
1686 install-info-target: maybe-install-info-target-newlib
1687 install-info-target: maybe-install-info-target-libgcc
1688 install-info-target: maybe-install-info-target-libbacktrace
1689 install-info-target: maybe-install-info-target-libquadmath
1690 install-info-target: maybe-install-info-target-libgfortran
1691 install-info-target: maybe-install-info-target-libobjc
1692 install-info-target: maybe-install-info-target-libgo
1693 install-info-target: maybe-install-info-target-libtermcap
1694 install-info-target: maybe-install-info-target-winsup
1695 install-info-target: maybe-install-info-target-libgloss
1696 install-info-target: maybe-install-info-target-libffi
1697 install-info-target: maybe-install-info-target-zlib
1698 install-info-target: maybe-install-info-target-boehm-gc
1699 install-info-target: maybe-install-info-target-rda
1700 install-info-target: maybe-install-info-target-libada
1701 install-info-target: maybe-install-info-target-libgomp
1702 install-info-target: maybe-install-info-target-libitm
1703 install-info-target: maybe-install-info-target-libatomic
1705 .PHONY: do-install-pdf
1706 do-install-pdf:
1707 @: $(MAKE); $(unstage)
1708 @r=`${PWD_COMMAND}`; export r; \
1709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1710 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1711 install-pdf-target
1714 .PHONY: install-pdf-host
1716 install-pdf-host: maybe-install-pdf-bfd
1717 install-pdf-host: maybe-install-pdf-opcodes
1718 install-pdf-host: maybe-install-pdf-binutils
1719 install-pdf-host: maybe-install-pdf-bison
1720 install-pdf-host: maybe-install-pdf-cgen
1721 install-pdf-host: maybe-install-pdf-dejagnu
1722 install-pdf-host: maybe-install-pdf-etc
1723 install-pdf-host: maybe-install-pdf-fastjar
1724 install-pdf-host: maybe-install-pdf-fixincludes
1725 install-pdf-host: maybe-install-pdf-flex
1726 install-pdf-host: maybe-install-pdf-gas
1727 install-pdf-host: maybe-install-pdf-gcc
1728 install-pdf-host: maybe-install-pdf-gmp
1729 install-pdf-host: maybe-install-pdf-mpfr
1730 install-pdf-host: maybe-install-pdf-mpc
1731 install-pdf-host: maybe-install-pdf-isl
1732 install-pdf-host: maybe-install-pdf-libelf
1733 install-pdf-host: maybe-install-pdf-gold
1734 install-pdf-host: maybe-install-pdf-gprof
1735 install-pdf-host: maybe-install-pdf-intl
1736 install-pdf-host: maybe-install-pdf-tcl
1737 install-pdf-host: maybe-install-pdf-itcl
1738 install-pdf-host: maybe-install-pdf-ld
1739 install-pdf-host: maybe-install-pdf-libbacktrace
1740 install-pdf-host: maybe-install-pdf-libcpp
1741 install-pdf-host: maybe-install-pdf-libdecnumber
1742 install-pdf-host: maybe-install-pdf-libgui
1743 install-pdf-host: maybe-install-pdf-libiberty
1744 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1745 install-pdf-host: maybe-install-pdf-libiconv
1746 install-pdf-host: maybe-install-pdf-m4
1747 install-pdf-host: maybe-install-pdf-readline
1748 install-pdf-host: maybe-install-pdf-sid
1749 install-pdf-host: maybe-install-pdf-sim
1750 install-pdf-host: maybe-install-pdf-texinfo
1751 install-pdf-host: maybe-install-pdf-zlib
1752 install-pdf-host: maybe-install-pdf-gdb
1753 install-pdf-host: maybe-install-pdf-expect
1754 install-pdf-host: maybe-install-pdf-guile
1755 install-pdf-host: maybe-install-pdf-tk
1756 install-pdf-host: maybe-install-pdf-libtermcap
1757 install-pdf-host: maybe-install-pdf-utils
1758 install-pdf-host: maybe-install-pdf-gnattools
1759 install-pdf-host: maybe-install-pdf-lto-plugin
1760 install-pdf-host: maybe-install-pdf-libcc1
1761 install-pdf-host: maybe-install-pdf-gotools
1763 .PHONY: install-pdf-target
1765 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1766 install-pdf-target: maybe-install-pdf-target-libsanitizer
1767 install-pdf-target: maybe-install-pdf-target-libmpx
1768 install-pdf-target: maybe-install-pdf-target-libvtv
1769 install-pdf-target: maybe-install-pdf-target-libcilkrts
1770 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1771 install-pdf-target: maybe-install-pdf-target-libssp
1772 install-pdf-target: maybe-install-pdf-target-newlib
1773 install-pdf-target: maybe-install-pdf-target-libgcc
1774 install-pdf-target: maybe-install-pdf-target-libbacktrace
1775 install-pdf-target: maybe-install-pdf-target-libquadmath
1776 install-pdf-target: maybe-install-pdf-target-libgfortran
1777 install-pdf-target: maybe-install-pdf-target-libobjc
1778 install-pdf-target: maybe-install-pdf-target-libgo
1779 install-pdf-target: maybe-install-pdf-target-libtermcap
1780 install-pdf-target: maybe-install-pdf-target-winsup
1781 install-pdf-target: maybe-install-pdf-target-libgloss
1782 install-pdf-target: maybe-install-pdf-target-libffi
1783 install-pdf-target: maybe-install-pdf-target-zlib
1784 install-pdf-target: maybe-install-pdf-target-boehm-gc
1785 install-pdf-target: maybe-install-pdf-target-rda
1786 install-pdf-target: maybe-install-pdf-target-libada
1787 install-pdf-target: maybe-install-pdf-target-libgomp
1788 install-pdf-target: maybe-install-pdf-target-libitm
1789 install-pdf-target: maybe-install-pdf-target-libatomic
1791 .PHONY: do-install-html
1792 do-install-html:
1793 @: $(MAKE); $(unstage)
1794 @r=`${PWD_COMMAND}`; export r; \
1795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1796 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1797 install-html-target
1800 .PHONY: install-html-host
1802 install-html-host: maybe-install-html-bfd
1803 install-html-host: maybe-install-html-opcodes
1804 install-html-host: maybe-install-html-binutils
1805 install-html-host: maybe-install-html-bison
1806 install-html-host: maybe-install-html-cgen
1807 install-html-host: maybe-install-html-dejagnu
1808 install-html-host: maybe-install-html-etc
1809 install-html-host: maybe-install-html-fastjar
1810 install-html-host: maybe-install-html-fixincludes
1811 install-html-host: maybe-install-html-flex
1812 install-html-host: maybe-install-html-gas
1813 install-html-host: maybe-install-html-gcc
1814 install-html-host: maybe-install-html-gmp
1815 install-html-host: maybe-install-html-mpfr
1816 install-html-host: maybe-install-html-mpc
1817 install-html-host: maybe-install-html-isl
1818 install-html-host: maybe-install-html-libelf
1819 install-html-host: maybe-install-html-gold
1820 install-html-host: maybe-install-html-gprof
1821 install-html-host: maybe-install-html-intl
1822 install-html-host: maybe-install-html-tcl
1823 install-html-host: maybe-install-html-itcl
1824 install-html-host: maybe-install-html-ld
1825 install-html-host: maybe-install-html-libbacktrace
1826 install-html-host: maybe-install-html-libcpp
1827 install-html-host: maybe-install-html-libdecnumber
1828 install-html-host: maybe-install-html-libgui
1829 install-html-host: maybe-install-html-libiberty
1830 install-html-host: maybe-install-html-libiberty-linker-plugin
1831 install-html-host: maybe-install-html-libiconv
1832 install-html-host: maybe-install-html-m4
1833 install-html-host: maybe-install-html-readline
1834 install-html-host: maybe-install-html-sid
1835 install-html-host: maybe-install-html-sim
1836 install-html-host: maybe-install-html-texinfo
1837 install-html-host: maybe-install-html-zlib
1838 install-html-host: maybe-install-html-gdb
1839 install-html-host: maybe-install-html-expect
1840 install-html-host: maybe-install-html-guile
1841 install-html-host: maybe-install-html-tk
1842 install-html-host: maybe-install-html-libtermcap
1843 install-html-host: maybe-install-html-utils
1844 install-html-host: maybe-install-html-gnattools
1845 install-html-host: maybe-install-html-lto-plugin
1846 install-html-host: maybe-install-html-libcc1
1847 install-html-host: maybe-install-html-gotools
1849 .PHONY: install-html-target
1851 install-html-target: maybe-install-html-target-libstdc++-v3
1852 install-html-target: maybe-install-html-target-libsanitizer
1853 install-html-target: maybe-install-html-target-libmpx
1854 install-html-target: maybe-install-html-target-libvtv
1855 install-html-target: maybe-install-html-target-libcilkrts
1856 install-html-target: maybe-install-html-target-liboffloadmic
1857 install-html-target: maybe-install-html-target-libssp
1858 install-html-target: maybe-install-html-target-newlib
1859 install-html-target: maybe-install-html-target-libgcc
1860 install-html-target: maybe-install-html-target-libbacktrace
1861 install-html-target: maybe-install-html-target-libquadmath
1862 install-html-target: maybe-install-html-target-libgfortran
1863 install-html-target: maybe-install-html-target-libobjc
1864 install-html-target: maybe-install-html-target-libgo
1865 install-html-target: maybe-install-html-target-libtermcap
1866 install-html-target: maybe-install-html-target-winsup
1867 install-html-target: maybe-install-html-target-libgloss
1868 install-html-target: maybe-install-html-target-libffi
1869 install-html-target: maybe-install-html-target-zlib
1870 install-html-target: maybe-install-html-target-boehm-gc
1871 install-html-target: maybe-install-html-target-rda
1872 install-html-target: maybe-install-html-target-libada
1873 install-html-target: maybe-install-html-target-libgomp
1874 install-html-target: maybe-install-html-target-libitm
1875 install-html-target: maybe-install-html-target-libatomic
1877 .PHONY: do-installcheck
1878 do-installcheck:
1879 @: $(MAKE); $(unstage)
1880 @r=`${PWD_COMMAND}`; export r; \
1881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1882 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1883 installcheck-target
1886 .PHONY: installcheck-host
1888 installcheck-host: maybe-installcheck-bfd
1889 installcheck-host: maybe-installcheck-opcodes
1890 installcheck-host: maybe-installcheck-binutils
1891 installcheck-host: maybe-installcheck-bison
1892 installcheck-host: maybe-installcheck-cgen
1893 installcheck-host: maybe-installcheck-dejagnu
1894 installcheck-host: maybe-installcheck-etc
1895 installcheck-host: maybe-installcheck-fastjar
1896 installcheck-host: maybe-installcheck-fixincludes
1897 installcheck-host: maybe-installcheck-flex
1898 installcheck-host: maybe-installcheck-gas
1899 installcheck-host: maybe-installcheck-gcc
1900 installcheck-host: maybe-installcheck-gmp
1901 installcheck-host: maybe-installcheck-mpfr
1902 installcheck-host: maybe-installcheck-mpc
1903 installcheck-host: maybe-installcheck-isl
1904 installcheck-host: maybe-installcheck-libelf
1905 installcheck-host: maybe-installcheck-gold
1906 installcheck-host: maybe-installcheck-gprof
1907 installcheck-host: maybe-installcheck-intl
1908 installcheck-host: maybe-installcheck-tcl
1909 installcheck-host: maybe-installcheck-itcl
1910 installcheck-host: maybe-installcheck-ld
1911 installcheck-host: maybe-installcheck-libbacktrace
1912 installcheck-host: maybe-installcheck-libcpp
1913 installcheck-host: maybe-installcheck-libdecnumber
1914 installcheck-host: maybe-installcheck-libgui
1915 installcheck-host: maybe-installcheck-libiberty
1916 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1917 installcheck-host: maybe-installcheck-libiconv
1918 installcheck-host: maybe-installcheck-m4
1919 installcheck-host: maybe-installcheck-readline
1920 installcheck-host: maybe-installcheck-sid
1921 installcheck-host: maybe-installcheck-sim
1922 installcheck-host: maybe-installcheck-texinfo
1923 installcheck-host: maybe-installcheck-zlib
1924 installcheck-host: maybe-installcheck-gdb
1925 installcheck-host: maybe-installcheck-expect
1926 installcheck-host: maybe-installcheck-guile
1927 installcheck-host: maybe-installcheck-tk
1928 installcheck-host: maybe-installcheck-libtermcap
1929 installcheck-host: maybe-installcheck-utils
1930 installcheck-host: maybe-installcheck-gnattools
1931 installcheck-host: maybe-installcheck-lto-plugin
1932 installcheck-host: maybe-installcheck-libcc1
1933 installcheck-host: maybe-installcheck-gotools
1935 .PHONY: installcheck-target
1937 installcheck-target: maybe-installcheck-target-libstdc++-v3
1938 installcheck-target: maybe-installcheck-target-libsanitizer
1939 installcheck-target: maybe-installcheck-target-libmpx
1940 installcheck-target: maybe-installcheck-target-libvtv
1941 installcheck-target: maybe-installcheck-target-libcilkrts
1942 installcheck-target: maybe-installcheck-target-liboffloadmic
1943 installcheck-target: maybe-installcheck-target-libssp
1944 installcheck-target: maybe-installcheck-target-newlib
1945 installcheck-target: maybe-installcheck-target-libgcc
1946 installcheck-target: maybe-installcheck-target-libbacktrace
1947 installcheck-target: maybe-installcheck-target-libquadmath
1948 installcheck-target: maybe-installcheck-target-libgfortran
1949 installcheck-target: maybe-installcheck-target-libobjc
1950 installcheck-target: maybe-installcheck-target-libgo
1951 installcheck-target: maybe-installcheck-target-libtermcap
1952 installcheck-target: maybe-installcheck-target-winsup
1953 installcheck-target: maybe-installcheck-target-libgloss
1954 installcheck-target: maybe-installcheck-target-libffi
1955 installcheck-target: maybe-installcheck-target-zlib
1956 installcheck-target: maybe-installcheck-target-boehm-gc
1957 installcheck-target: maybe-installcheck-target-rda
1958 installcheck-target: maybe-installcheck-target-libada
1959 installcheck-target: maybe-installcheck-target-libgomp
1960 installcheck-target: maybe-installcheck-target-libitm
1961 installcheck-target: maybe-installcheck-target-libatomic
1963 .PHONY: do-mostlyclean
1964 do-mostlyclean:
1965 @: $(MAKE); $(unstage)
1966 @r=`${PWD_COMMAND}`; export r; \
1967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1968 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1969 mostlyclean-target
1972 .PHONY: mostlyclean-host
1974 mostlyclean-host: maybe-mostlyclean-bfd
1975 mostlyclean-host: maybe-mostlyclean-opcodes
1976 mostlyclean-host: maybe-mostlyclean-binutils
1977 mostlyclean-host: maybe-mostlyclean-bison
1978 mostlyclean-host: maybe-mostlyclean-cgen
1979 mostlyclean-host: maybe-mostlyclean-dejagnu
1980 mostlyclean-host: maybe-mostlyclean-etc
1981 mostlyclean-host: maybe-mostlyclean-fastjar
1982 mostlyclean-host: maybe-mostlyclean-fixincludes
1983 mostlyclean-host: maybe-mostlyclean-flex
1984 mostlyclean-host: maybe-mostlyclean-gas
1985 mostlyclean-host: maybe-mostlyclean-gcc
1986 mostlyclean-host: maybe-mostlyclean-gmp
1987 mostlyclean-host: maybe-mostlyclean-mpfr
1988 mostlyclean-host: maybe-mostlyclean-mpc
1989 mostlyclean-host: maybe-mostlyclean-isl
1990 mostlyclean-host: maybe-mostlyclean-libelf
1991 mostlyclean-host: maybe-mostlyclean-gold
1992 mostlyclean-host: maybe-mostlyclean-gprof
1993 mostlyclean-host: maybe-mostlyclean-intl
1994 mostlyclean-host: maybe-mostlyclean-tcl
1995 mostlyclean-host: maybe-mostlyclean-itcl
1996 mostlyclean-host: maybe-mostlyclean-ld
1997 mostlyclean-host: maybe-mostlyclean-libbacktrace
1998 mostlyclean-host: maybe-mostlyclean-libcpp
1999 mostlyclean-host: maybe-mostlyclean-libdecnumber
2000 mostlyclean-host: maybe-mostlyclean-libgui
2001 mostlyclean-host: maybe-mostlyclean-libiberty
2002 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2003 mostlyclean-host: maybe-mostlyclean-libiconv
2004 mostlyclean-host: maybe-mostlyclean-m4
2005 mostlyclean-host: maybe-mostlyclean-readline
2006 mostlyclean-host: maybe-mostlyclean-sid
2007 mostlyclean-host: maybe-mostlyclean-sim
2008 mostlyclean-host: maybe-mostlyclean-texinfo
2009 mostlyclean-host: maybe-mostlyclean-zlib
2010 mostlyclean-host: maybe-mostlyclean-gdb
2011 mostlyclean-host: maybe-mostlyclean-expect
2012 mostlyclean-host: maybe-mostlyclean-guile
2013 mostlyclean-host: maybe-mostlyclean-tk
2014 mostlyclean-host: maybe-mostlyclean-libtermcap
2015 mostlyclean-host: maybe-mostlyclean-utils
2016 mostlyclean-host: maybe-mostlyclean-gnattools
2017 mostlyclean-host: maybe-mostlyclean-lto-plugin
2018 mostlyclean-host: maybe-mostlyclean-libcc1
2019 mostlyclean-host: maybe-mostlyclean-gotools
2021 .PHONY: mostlyclean-target
2023 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2024 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2025 mostlyclean-target: maybe-mostlyclean-target-libmpx
2026 mostlyclean-target: maybe-mostlyclean-target-libvtv
2027 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2028 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2029 mostlyclean-target: maybe-mostlyclean-target-libssp
2030 mostlyclean-target: maybe-mostlyclean-target-newlib
2031 mostlyclean-target: maybe-mostlyclean-target-libgcc
2032 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2033 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2034 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2035 mostlyclean-target: maybe-mostlyclean-target-libobjc
2036 mostlyclean-target: maybe-mostlyclean-target-libgo
2037 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2038 mostlyclean-target: maybe-mostlyclean-target-winsup
2039 mostlyclean-target: maybe-mostlyclean-target-libgloss
2040 mostlyclean-target: maybe-mostlyclean-target-libffi
2041 mostlyclean-target: maybe-mostlyclean-target-zlib
2042 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2043 mostlyclean-target: maybe-mostlyclean-target-rda
2044 mostlyclean-target: maybe-mostlyclean-target-libada
2045 mostlyclean-target: maybe-mostlyclean-target-libgomp
2046 mostlyclean-target: maybe-mostlyclean-target-libitm
2047 mostlyclean-target: maybe-mostlyclean-target-libatomic
2049 .PHONY: do-clean
2050 do-clean:
2051 @: $(MAKE); $(unstage)
2052 @r=`${PWD_COMMAND}`; export r; \
2053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2054 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2055 clean-target
2058 .PHONY: clean-host
2060 clean-host: maybe-clean-bfd
2061 clean-host: maybe-clean-opcodes
2062 clean-host: maybe-clean-binutils
2063 clean-host: maybe-clean-bison
2064 clean-host: maybe-clean-cgen
2065 clean-host: maybe-clean-dejagnu
2066 clean-host: maybe-clean-etc
2067 clean-host: maybe-clean-fastjar
2068 clean-host: maybe-clean-fixincludes
2069 clean-host: maybe-clean-flex
2070 clean-host: maybe-clean-gas
2071 clean-host: maybe-clean-gcc
2072 clean-host: maybe-clean-gmp
2073 clean-host: maybe-clean-mpfr
2074 clean-host: maybe-clean-mpc
2075 clean-host: maybe-clean-isl
2076 clean-host: maybe-clean-libelf
2077 clean-host: maybe-clean-gold
2078 clean-host: maybe-clean-gprof
2079 clean-host: maybe-clean-intl
2080 clean-host: maybe-clean-tcl
2081 clean-host: maybe-clean-itcl
2082 clean-host: maybe-clean-ld
2083 clean-host: maybe-clean-libbacktrace
2084 clean-host: maybe-clean-libcpp
2085 clean-host: maybe-clean-libdecnumber
2086 clean-host: maybe-clean-libgui
2087 clean-host: maybe-clean-libiberty
2088 clean-host: maybe-clean-libiberty-linker-plugin
2089 clean-host: maybe-clean-libiconv
2090 clean-host: maybe-clean-m4
2091 clean-host: maybe-clean-readline
2092 clean-host: maybe-clean-sid
2093 clean-host: maybe-clean-sim
2094 clean-host: maybe-clean-texinfo
2095 clean-host: maybe-clean-zlib
2096 clean-host: maybe-clean-gdb
2097 clean-host: maybe-clean-expect
2098 clean-host: maybe-clean-guile
2099 clean-host: maybe-clean-tk
2100 clean-host: maybe-clean-libtermcap
2101 clean-host: maybe-clean-utils
2102 clean-host: maybe-clean-gnattools
2103 clean-host: maybe-clean-lto-plugin
2104 clean-host: maybe-clean-libcc1
2105 clean-host: maybe-clean-gotools
2107 .PHONY: clean-target
2109 clean-target: maybe-clean-target-libstdc++-v3
2110 clean-target: maybe-clean-target-libsanitizer
2111 clean-target: maybe-clean-target-libmpx
2112 clean-target: maybe-clean-target-libvtv
2113 clean-target: maybe-clean-target-libcilkrts
2114 clean-target: maybe-clean-target-liboffloadmic
2115 clean-target: maybe-clean-target-libssp
2116 clean-target: maybe-clean-target-newlib
2117 clean-target: maybe-clean-target-libgcc
2118 clean-target: maybe-clean-target-libbacktrace
2119 clean-target: maybe-clean-target-libquadmath
2120 clean-target: maybe-clean-target-libgfortran
2121 clean-target: maybe-clean-target-libobjc
2122 clean-target: maybe-clean-target-libgo
2123 clean-target: maybe-clean-target-libtermcap
2124 clean-target: maybe-clean-target-winsup
2125 clean-target: maybe-clean-target-libgloss
2126 clean-target: maybe-clean-target-libffi
2127 clean-target: maybe-clean-target-zlib
2128 clean-target: maybe-clean-target-boehm-gc
2129 clean-target: maybe-clean-target-rda
2130 clean-target: maybe-clean-target-libada
2131 clean-target: maybe-clean-target-libgomp
2132 clean-target: maybe-clean-target-libitm
2133 clean-target: maybe-clean-target-libatomic
2135 .PHONY: do-distclean
2136 do-distclean:
2137 @: $(MAKE); $(unstage)
2138 @r=`${PWD_COMMAND}`; export r; \
2139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2140 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2141 distclean-target
2144 .PHONY: distclean-host
2146 distclean-host: maybe-distclean-bfd
2147 distclean-host: maybe-distclean-opcodes
2148 distclean-host: maybe-distclean-binutils
2149 distclean-host: maybe-distclean-bison
2150 distclean-host: maybe-distclean-cgen
2151 distclean-host: maybe-distclean-dejagnu
2152 distclean-host: maybe-distclean-etc
2153 distclean-host: maybe-distclean-fastjar
2154 distclean-host: maybe-distclean-fixincludes
2155 distclean-host: maybe-distclean-flex
2156 distclean-host: maybe-distclean-gas
2157 distclean-host: maybe-distclean-gcc
2158 distclean-host: maybe-distclean-gmp
2159 distclean-host: maybe-distclean-mpfr
2160 distclean-host: maybe-distclean-mpc
2161 distclean-host: maybe-distclean-isl
2162 distclean-host: maybe-distclean-libelf
2163 distclean-host: maybe-distclean-gold
2164 distclean-host: maybe-distclean-gprof
2165 distclean-host: maybe-distclean-intl
2166 distclean-host: maybe-distclean-tcl
2167 distclean-host: maybe-distclean-itcl
2168 distclean-host: maybe-distclean-ld
2169 distclean-host: maybe-distclean-libbacktrace
2170 distclean-host: maybe-distclean-libcpp
2171 distclean-host: maybe-distclean-libdecnumber
2172 distclean-host: maybe-distclean-libgui
2173 distclean-host: maybe-distclean-libiberty
2174 distclean-host: maybe-distclean-libiberty-linker-plugin
2175 distclean-host: maybe-distclean-libiconv
2176 distclean-host: maybe-distclean-m4
2177 distclean-host: maybe-distclean-readline
2178 distclean-host: maybe-distclean-sid
2179 distclean-host: maybe-distclean-sim
2180 distclean-host: maybe-distclean-texinfo
2181 distclean-host: maybe-distclean-zlib
2182 distclean-host: maybe-distclean-gdb
2183 distclean-host: maybe-distclean-expect
2184 distclean-host: maybe-distclean-guile
2185 distclean-host: maybe-distclean-tk
2186 distclean-host: maybe-distclean-libtermcap
2187 distclean-host: maybe-distclean-utils
2188 distclean-host: maybe-distclean-gnattools
2189 distclean-host: maybe-distclean-lto-plugin
2190 distclean-host: maybe-distclean-libcc1
2191 distclean-host: maybe-distclean-gotools
2193 .PHONY: distclean-target
2195 distclean-target: maybe-distclean-target-libstdc++-v3
2196 distclean-target: maybe-distclean-target-libsanitizer
2197 distclean-target: maybe-distclean-target-libmpx
2198 distclean-target: maybe-distclean-target-libvtv
2199 distclean-target: maybe-distclean-target-libcilkrts
2200 distclean-target: maybe-distclean-target-liboffloadmic
2201 distclean-target: maybe-distclean-target-libssp
2202 distclean-target: maybe-distclean-target-newlib
2203 distclean-target: maybe-distclean-target-libgcc
2204 distclean-target: maybe-distclean-target-libbacktrace
2205 distclean-target: maybe-distclean-target-libquadmath
2206 distclean-target: maybe-distclean-target-libgfortran
2207 distclean-target: maybe-distclean-target-libobjc
2208 distclean-target: maybe-distclean-target-libgo
2209 distclean-target: maybe-distclean-target-libtermcap
2210 distclean-target: maybe-distclean-target-winsup
2211 distclean-target: maybe-distclean-target-libgloss
2212 distclean-target: maybe-distclean-target-libffi
2213 distclean-target: maybe-distclean-target-zlib
2214 distclean-target: maybe-distclean-target-boehm-gc
2215 distclean-target: maybe-distclean-target-rda
2216 distclean-target: maybe-distclean-target-libada
2217 distclean-target: maybe-distclean-target-libgomp
2218 distclean-target: maybe-distclean-target-libitm
2219 distclean-target: maybe-distclean-target-libatomic
2221 .PHONY: do-maintainer-clean
2222 do-maintainer-clean:
2223 @: $(MAKE); $(unstage)
2224 @r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2227 maintainer-clean-target
2230 .PHONY: maintainer-clean-host
2232 maintainer-clean-host: maybe-maintainer-clean-bfd
2233 maintainer-clean-host: maybe-maintainer-clean-opcodes
2234 maintainer-clean-host: maybe-maintainer-clean-binutils
2235 maintainer-clean-host: maybe-maintainer-clean-bison
2236 maintainer-clean-host: maybe-maintainer-clean-cgen
2237 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2238 maintainer-clean-host: maybe-maintainer-clean-etc
2239 maintainer-clean-host: maybe-maintainer-clean-fastjar
2240 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2241 maintainer-clean-host: maybe-maintainer-clean-flex
2242 maintainer-clean-host: maybe-maintainer-clean-gas
2243 maintainer-clean-host: maybe-maintainer-clean-gcc
2244 maintainer-clean-host: maybe-maintainer-clean-gmp
2245 maintainer-clean-host: maybe-maintainer-clean-mpfr
2246 maintainer-clean-host: maybe-maintainer-clean-mpc
2247 maintainer-clean-host: maybe-maintainer-clean-isl
2248 maintainer-clean-host: maybe-maintainer-clean-libelf
2249 maintainer-clean-host: maybe-maintainer-clean-gold
2250 maintainer-clean-host: maybe-maintainer-clean-gprof
2251 maintainer-clean-host: maybe-maintainer-clean-intl
2252 maintainer-clean-host: maybe-maintainer-clean-tcl
2253 maintainer-clean-host: maybe-maintainer-clean-itcl
2254 maintainer-clean-host: maybe-maintainer-clean-ld
2255 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2256 maintainer-clean-host: maybe-maintainer-clean-libcpp
2257 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2258 maintainer-clean-host: maybe-maintainer-clean-libgui
2259 maintainer-clean-host: maybe-maintainer-clean-libiberty
2260 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2261 maintainer-clean-host: maybe-maintainer-clean-libiconv
2262 maintainer-clean-host: maybe-maintainer-clean-m4
2263 maintainer-clean-host: maybe-maintainer-clean-readline
2264 maintainer-clean-host: maybe-maintainer-clean-sid
2265 maintainer-clean-host: maybe-maintainer-clean-sim
2266 maintainer-clean-host: maybe-maintainer-clean-texinfo
2267 maintainer-clean-host: maybe-maintainer-clean-zlib
2268 maintainer-clean-host: maybe-maintainer-clean-gdb
2269 maintainer-clean-host: maybe-maintainer-clean-expect
2270 maintainer-clean-host: maybe-maintainer-clean-guile
2271 maintainer-clean-host: maybe-maintainer-clean-tk
2272 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2273 maintainer-clean-host: maybe-maintainer-clean-utils
2274 maintainer-clean-host: maybe-maintainer-clean-gnattools
2275 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2276 maintainer-clean-host: maybe-maintainer-clean-libcc1
2277 maintainer-clean-host: maybe-maintainer-clean-gotools
2279 .PHONY: maintainer-clean-target
2281 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2282 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2283 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2284 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2285 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2286 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2287 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2288 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2289 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2290 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2291 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2292 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2293 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2294 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2295 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2296 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2297 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2298 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2299 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2300 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2301 maintainer-clean-target: maybe-maintainer-clean-target-rda
2302 maintainer-clean-target: maybe-maintainer-clean-target-libada
2303 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2304 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2305 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2308 # Here are the targets which correspond to the do-X targets.
2310 .PHONY: info installcheck dvi pdf html
2311 .PHONY: install-info install-pdf install-html
2312 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2313 .PHONY: local-clean local-distclean local-maintainer-clean
2314 info: do-info
2315 installcheck: do-installcheck
2316 dvi: do-dvi
2317 pdf: do-pdf
2318 html: do-html
2320 # Make sure makeinfo is built before we do a `make info', if we're
2321 # in fact building texinfo.
2322 do-info: maybe-all-texinfo
2324 install-info: do-install-info dir.info
2325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2326 if [ -f dir.info ]; then \
2327 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2328 else true; fi
2330 install-pdf: do-install-pdf
2332 install-html: do-install-html
2334 local-clean:
2335 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2337 local-distclean:
2338 -rm -f Makefile config.status config.cache mh-frag mt-frag
2339 -rm -f maybedep.tmp serdep.tmp stage_final
2340 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2341 rm -rf $(TARGET_SUBDIR); \
2342 else true; fi
2343 -rm -rf $(BUILD_SUBDIR)
2344 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2345 rm -rf $(HOST_SUBDIR); \
2346 else true; fi
2347 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2348 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2349 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2350 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2351 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2352 -rmdir texinfo zlib 2>/dev/null
2353 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2355 local-maintainer-clean:
2356 @echo "This command is intended for maintainers to use;"
2357 @echo "it deletes files that may require special tools to rebuild."
2359 clean: do-clean local-clean
2360 mostlyclean: do-mostlyclean local-clean
2361 distclean: do-distclean local-clean local-distclean
2362 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2363 maintainer-clean: local-distclean
2364 realclean: maintainer-clean
2366 # Check target.
2368 .PHONY: check do-check
2369 check: do-check
2371 # Only include modules actually being configured and built.
2372 .PHONY: check-host
2373 check-host: \
2374 maybe-check-bfd \
2375 maybe-check-opcodes \
2376 maybe-check-binutils \
2377 maybe-check-bison \
2378 maybe-check-cgen \
2379 maybe-check-dejagnu \
2380 maybe-check-etc \
2381 maybe-check-fastjar \
2382 maybe-check-fixincludes \
2383 maybe-check-flex \
2384 maybe-check-gas \
2385 maybe-check-gcc \
2386 maybe-check-gmp \
2387 maybe-check-mpfr \
2388 maybe-check-mpc \
2389 maybe-check-isl \
2390 maybe-check-libelf \
2391 maybe-check-gold \
2392 maybe-check-gprof \
2393 maybe-check-intl \
2394 maybe-check-tcl \
2395 maybe-check-itcl \
2396 maybe-check-ld \
2397 maybe-check-libbacktrace \
2398 maybe-check-libcpp \
2399 maybe-check-libdecnumber \
2400 maybe-check-libgui \
2401 maybe-check-libiberty \
2402 maybe-check-libiberty-linker-plugin \
2403 maybe-check-libiconv \
2404 maybe-check-m4 \
2405 maybe-check-readline \
2406 maybe-check-sid \
2407 maybe-check-sim \
2408 maybe-check-texinfo \
2409 maybe-check-zlib \
2410 maybe-check-gdb \
2411 maybe-check-expect \
2412 maybe-check-guile \
2413 maybe-check-tk \
2414 maybe-check-libtermcap \
2415 maybe-check-utils \
2416 maybe-check-gnattools \
2417 maybe-check-lto-plugin \
2418 maybe-check-libcc1 \
2419 maybe-check-gotools
2421 .PHONY: check-target
2422 check-target: \
2423 maybe-check-target-libstdc++-v3 \
2424 maybe-check-target-libsanitizer \
2425 maybe-check-target-libmpx \
2426 maybe-check-target-libvtv \
2427 maybe-check-target-libcilkrts \
2428 maybe-check-target-liboffloadmic \
2429 maybe-check-target-libssp \
2430 maybe-check-target-newlib \
2431 maybe-check-target-libgcc \
2432 maybe-check-target-libbacktrace \
2433 maybe-check-target-libquadmath \
2434 maybe-check-target-libgfortran \
2435 maybe-check-target-libobjc \
2436 maybe-check-target-libgo \
2437 maybe-check-target-libtermcap \
2438 maybe-check-target-winsup \
2439 maybe-check-target-libgloss \
2440 maybe-check-target-libffi \
2441 maybe-check-target-zlib \
2442 maybe-check-target-boehm-gc \
2443 maybe-check-target-rda \
2444 maybe-check-target-libada \
2445 maybe-check-target-libgomp \
2446 maybe-check-target-libitm \
2447 maybe-check-target-libatomic
2449 do-check:
2450 @: $(MAKE); $(unstage)
2451 @r=`${PWD_COMMAND}`; export r; \
2452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2455 # Automated reporting of test results.
2457 warning.log: build.log
2458 $(srcdir)/contrib/warn_summary build.log > $@
2460 mail-report.log:
2461 if test x'$(BOOT_CFLAGS)' != x''; then \
2462 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2463 fi; \
2464 $(srcdir)/contrib/test_summary -t >$@
2465 chmod +x $@
2466 echo If you really want to send e-mail, run ./$@ now
2468 mail-report-with-warnings.log: warning.log
2469 if test x'$(BOOT_CFLAGS)' != x''; then \
2470 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2471 fi; \
2472 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2473 chmod +x $@
2474 echo If you really want to send e-mail, run ./$@ now
2476 # Local Vim config
2478 $(srcdir)/.local.vimrc:
2479 $(LN_S) contrib/vimrc $@
2481 $(srcdir)/.lvimrc:
2482 $(LN_S) contrib/vimrc $@
2484 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2486 .PHONY: vimrc
2488 # clang-format config
2490 $(srcdir)/.clang-format:
2491 $(LN_S) contrib/clang-format $@
2493 clang-format: $(srcdir)/.clang-format
2495 .PHONY: clang-format
2497 # Installation targets.
2499 .PHONY: install uninstall
2500 install:
2501 @: $(MAKE); $(unstage)
2502 @r=`${PWD_COMMAND}`; export r; \
2503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2504 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2506 .PHONY: install-host-nogcc
2507 install-host-nogcc: \
2508 maybe-install-bfd \
2509 maybe-install-opcodes \
2510 maybe-install-binutils \
2511 maybe-install-bison \
2512 maybe-install-cgen \
2513 maybe-install-dejagnu \
2514 maybe-install-etc \
2515 maybe-install-fastjar \
2516 maybe-install-fixincludes \
2517 maybe-install-flex \
2518 maybe-install-gas \
2519 maybe-install-gmp \
2520 maybe-install-mpfr \
2521 maybe-install-mpc \
2522 maybe-install-isl \
2523 maybe-install-libelf \
2524 maybe-install-gold \
2525 maybe-install-gprof \
2526 maybe-install-intl \
2527 maybe-install-tcl \
2528 maybe-install-itcl \
2529 maybe-install-ld \
2530 maybe-install-libbacktrace \
2531 maybe-install-libcpp \
2532 maybe-install-libdecnumber \
2533 maybe-install-libgui \
2534 maybe-install-libiberty \
2535 maybe-install-libiberty-linker-plugin \
2536 maybe-install-libiconv \
2537 maybe-install-m4 \
2538 maybe-install-readline \
2539 maybe-install-sid \
2540 maybe-install-sim \
2541 maybe-install-texinfo \
2542 maybe-install-zlib \
2543 maybe-install-gdb \
2544 maybe-install-expect \
2545 maybe-install-guile \
2546 maybe-install-tk \
2547 maybe-install-libtermcap \
2548 maybe-install-utils \
2549 maybe-install-gnattools \
2550 maybe-install-lto-plugin \
2551 maybe-install-libcc1 \
2552 maybe-install-gotools
2554 .PHONY: install-host
2555 install-host: \
2556 maybe-install-bfd \
2557 maybe-install-opcodes \
2558 maybe-install-binutils \
2559 maybe-install-bison \
2560 maybe-install-cgen \
2561 maybe-install-dejagnu \
2562 maybe-install-etc \
2563 maybe-install-fastjar \
2564 maybe-install-fixincludes \
2565 maybe-install-flex \
2566 maybe-install-gas \
2567 maybe-install-gcc \
2568 maybe-install-gmp \
2569 maybe-install-mpfr \
2570 maybe-install-mpc \
2571 maybe-install-isl \
2572 maybe-install-libelf \
2573 maybe-install-gold \
2574 maybe-install-gprof \
2575 maybe-install-intl \
2576 maybe-install-tcl \
2577 maybe-install-itcl \
2578 maybe-install-ld \
2579 maybe-install-libbacktrace \
2580 maybe-install-libcpp \
2581 maybe-install-libdecnumber \
2582 maybe-install-libgui \
2583 maybe-install-libiberty \
2584 maybe-install-libiberty-linker-plugin \
2585 maybe-install-libiconv \
2586 maybe-install-m4 \
2587 maybe-install-readline \
2588 maybe-install-sid \
2589 maybe-install-sim \
2590 maybe-install-texinfo \
2591 maybe-install-zlib \
2592 maybe-install-gdb \
2593 maybe-install-expect \
2594 maybe-install-guile \
2595 maybe-install-tk \
2596 maybe-install-libtermcap \
2597 maybe-install-utils \
2598 maybe-install-gnattools \
2599 maybe-install-lto-plugin \
2600 maybe-install-libcc1 \
2601 maybe-install-gotools
2603 .PHONY: install-target
2604 install-target: \
2605 maybe-install-target-libstdc++-v3 \
2606 maybe-install-target-libsanitizer \
2607 maybe-install-target-libmpx \
2608 maybe-install-target-libvtv \
2609 maybe-install-target-libcilkrts \
2610 maybe-install-target-liboffloadmic \
2611 maybe-install-target-libssp \
2612 maybe-install-target-newlib \
2613 maybe-install-target-libgcc \
2614 maybe-install-target-libbacktrace \
2615 maybe-install-target-libquadmath \
2616 maybe-install-target-libgfortran \
2617 maybe-install-target-libobjc \
2618 maybe-install-target-libgo \
2619 maybe-install-target-libtermcap \
2620 maybe-install-target-winsup \
2621 maybe-install-target-libgloss \
2622 maybe-install-target-libffi \
2623 maybe-install-target-zlib \
2624 maybe-install-target-boehm-gc \
2625 maybe-install-target-rda \
2626 maybe-install-target-libada \
2627 maybe-install-target-libgomp \
2628 maybe-install-target-libitm \
2629 maybe-install-target-libatomic
2631 uninstall:
2632 @echo "the uninstall target is not supported in this tree"
2634 .PHONY: install.all
2635 install.all: install-no-fixedincludes
2636 @if [ -f ./gcc/Makefile ]; then \
2637 r=`${PWD_COMMAND}`; export r; \
2638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2639 $(HOST_EXPORTS) \
2640 (cd ./gcc && \
2641 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2642 else \
2643 true; \
2646 # install-no-fixedincludes is used to allow the elaboration of binary packages
2647 # suitable for distribution, where we cannot include the fixed system header
2648 # files.
2649 .PHONY: install-no-fixedincludes
2650 install-no-fixedincludes: installdirs install-host-nogcc \
2651 install-target gcc-install-no-fixedincludes
2653 .PHONY: install-strip
2654 install-strip:
2655 @: $(MAKE); $(unstage)
2656 @r=`${PWD_COMMAND}`; export r; \
2657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2660 .PHONY: install-strip-host
2661 install-strip-host: \
2662 maybe-install-strip-bfd \
2663 maybe-install-strip-opcodes \
2664 maybe-install-strip-binutils \
2665 maybe-install-strip-bison \
2666 maybe-install-strip-cgen \
2667 maybe-install-strip-dejagnu \
2668 maybe-install-strip-etc \
2669 maybe-install-strip-fastjar \
2670 maybe-install-strip-fixincludes \
2671 maybe-install-strip-flex \
2672 maybe-install-strip-gas \
2673 maybe-install-strip-gcc \
2674 maybe-install-strip-gmp \
2675 maybe-install-strip-mpfr \
2676 maybe-install-strip-mpc \
2677 maybe-install-strip-isl \
2678 maybe-install-strip-libelf \
2679 maybe-install-strip-gold \
2680 maybe-install-strip-gprof \
2681 maybe-install-strip-intl \
2682 maybe-install-strip-tcl \
2683 maybe-install-strip-itcl \
2684 maybe-install-strip-ld \
2685 maybe-install-strip-libbacktrace \
2686 maybe-install-strip-libcpp \
2687 maybe-install-strip-libdecnumber \
2688 maybe-install-strip-libgui \
2689 maybe-install-strip-libiberty \
2690 maybe-install-strip-libiberty-linker-plugin \
2691 maybe-install-strip-libiconv \
2692 maybe-install-strip-m4 \
2693 maybe-install-strip-readline \
2694 maybe-install-strip-sid \
2695 maybe-install-strip-sim \
2696 maybe-install-strip-texinfo \
2697 maybe-install-strip-zlib \
2698 maybe-install-strip-gdb \
2699 maybe-install-strip-expect \
2700 maybe-install-strip-guile \
2701 maybe-install-strip-tk \
2702 maybe-install-strip-libtermcap \
2703 maybe-install-strip-utils \
2704 maybe-install-strip-gnattools \
2705 maybe-install-strip-lto-plugin \
2706 maybe-install-strip-libcc1 \
2707 maybe-install-strip-gotools
2709 .PHONY: install-strip-target
2710 install-strip-target: \
2711 maybe-install-strip-target-libstdc++-v3 \
2712 maybe-install-strip-target-libsanitizer \
2713 maybe-install-strip-target-libmpx \
2714 maybe-install-strip-target-libvtv \
2715 maybe-install-strip-target-libcilkrts \
2716 maybe-install-strip-target-liboffloadmic \
2717 maybe-install-strip-target-libssp \
2718 maybe-install-strip-target-newlib \
2719 maybe-install-strip-target-libgcc \
2720 maybe-install-strip-target-libbacktrace \
2721 maybe-install-strip-target-libquadmath \
2722 maybe-install-strip-target-libgfortran \
2723 maybe-install-strip-target-libobjc \
2724 maybe-install-strip-target-libgo \
2725 maybe-install-strip-target-libtermcap \
2726 maybe-install-strip-target-winsup \
2727 maybe-install-strip-target-libgloss \
2728 maybe-install-strip-target-libffi \
2729 maybe-install-strip-target-zlib \
2730 maybe-install-strip-target-boehm-gc \
2731 maybe-install-strip-target-rda \
2732 maybe-install-strip-target-libada \
2733 maybe-install-strip-target-libgomp \
2734 maybe-install-strip-target-libitm \
2735 maybe-install-strip-target-libatomic
2738 ### other supporting targets
2740 MAKEDIRS= \
2741 $(DESTDIR)$(prefix) \
2742 $(DESTDIR)$(exec_prefix)
2743 .PHONY: installdirs
2744 installdirs: mkinstalldirs
2745 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2747 dir.info: do-install-info
2748 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2749 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2750 mv -f dir.info.new dir.info; \
2751 else true; \
2754 dist:
2755 @echo "Building a full distribution of this tree isn't done"
2756 @echo "via 'make dist'. Check out the etc/ subdirectory"
2758 etags tags: TAGS
2760 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2761 # ability to use several tags files at once, so there is probably no need
2762 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2763 # (if we felt like it) have this Makefile write a piece of elisp which
2764 # the user could load to tell emacs19 where all the TAGS files we just
2765 # built are.
2766 TAGS: do-TAGS
2768 # ------------------------------------
2769 # Macros for configure and all targets
2770 # ------------------------------------
2776 # --------------------------------------
2777 # Modules which run on the build machine
2778 # --------------------------------------
2781 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2782 maybe-configure-build-libiberty:
2783 @if gcc-bootstrap
2784 configure-build-libiberty: stage_current
2785 @endif gcc-bootstrap
2786 @if build-libiberty
2787 maybe-configure-build-libiberty: configure-build-libiberty
2788 configure-build-libiberty:
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2793 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2794 $(BUILD_EXPORTS) \
2795 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2796 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2797 case $(srcdir) in \
2798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2801 esac; \
2802 module_srcdir=libiberty; \
2803 rm -f no-such-file || : ; \
2804 CONFIG_SITE=no-such-file $(SHELL) \
2805 $$s/$$module_srcdir/configure \
2806 --srcdir=$${topdir}/$$module_srcdir \
2807 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2808 --target=${target_alias} \
2809 || exit 1
2810 @endif build-libiberty
2816 .PHONY: all-build-libiberty maybe-all-build-libiberty
2817 maybe-all-build-libiberty:
2818 @if gcc-bootstrap
2819 all-build-libiberty: stage_current
2820 @endif gcc-bootstrap
2821 @if build-libiberty
2822 TARGET-build-libiberty=all
2823 maybe-all-build-libiberty: all-build-libiberty
2824 all-build-libiberty: configure-build-libiberty
2825 @: $(MAKE); $(unstage)
2826 @r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 $(BUILD_EXPORTS) \
2829 (cd $(BUILD_SUBDIR)/libiberty && \
2830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2831 $(TARGET-build-libiberty))
2832 @endif build-libiberty
2838 .PHONY: configure-build-bison maybe-configure-build-bison
2839 maybe-configure-build-bison:
2840 @if gcc-bootstrap
2841 configure-build-bison: stage_current
2842 @endif gcc-bootstrap
2843 @if build-bison
2844 maybe-configure-build-bison: configure-build-bison
2845 configure-build-bison:
2846 @: $(MAKE); $(unstage)
2847 @r=`${PWD_COMMAND}`; export r; \
2848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2850 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2851 $(BUILD_EXPORTS) \
2852 echo Configuring in $(BUILD_SUBDIR)/bison; \
2853 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2854 case $(srcdir) in \
2855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2856 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2858 esac; \
2859 module_srcdir=bison; \
2860 rm -f no-such-file || : ; \
2861 CONFIG_SITE=no-such-file $(SHELL) \
2862 $$s/$$module_srcdir/configure \
2863 --srcdir=$${topdir}/$$module_srcdir \
2864 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2865 --target=${target_alias} \
2866 || exit 1
2867 @endif build-bison
2873 .PHONY: all-build-bison maybe-all-build-bison
2874 maybe-all-build-bison:
2875 @if gcc-bootstrap
2876 all-build-bison: stage_current
2877 @endif gcc-bootstrap
2878 @if build-bison
2879 TARGET-build-bison=all
2880 maybe-all-build-bison: all-build-bison
2881 all-build-bison: configure-build-bison
2882 @: $(MAKE); $(unstage)
2883 @r=`${PWD_COMMAND}`; export r; \
2884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 $(BUILD_EXPORTS) \
2886 (cd $(BUILD_SUBDIR)/bison && \
2887 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2888 $(TARGET-build-bison))
2889 @endif build-bison
2895 .PHONY: configure-build-flex maybe-configure-build-flex
2896 maybe-configure-build-flex:
2897 @if gcc-bootstrap
2898 configure-build-flex: stage_current
2899 @endif gcc-bootstrap
2900 @if build-flex
2901 maybe-configure-build-flex: configure-build-flex
2902 configure-build-flex:
2903 @: $(MAKE); $(unstage)
2904 @r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2906 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2907 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2908 $(BUILD_EXPORTS) \
2909 echo Configuring in $(BUILD_SUBDIR)/flex; \
2910 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2911 case $(srcdir) in \
2912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2913 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2915 esac; \
2916 module_srcdir=flex; \
2917 rm -f no-such-file || : ; \
2918 CONFIG_SITE=no-such-file $(SHELL) \
2919 $$s/$$module_srcdir/configure \
2920 --srcdir=$${topdir}/$$module_srcdir \
2921 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2922 --target=${target_alias} \
2923 || exit 1
2924 @endif build-flex
2930 .PHONY: all-build-flex maybe-all-build-flex
2931 maybe-all-build-flex:
2932 @if gcc-bootstrap
2933 all-build-flex: stage_current
2934 @endif gcc-bootstrap
2935 @if build-flex
2936 TARGET-build-flex=all
2937 maybe-all-build-flex: all-build-flex
2938 all-build-flex: configure-build-flex
2939 @: $(MAKE); $(unstage)
2940 @r=`${PWD_COMMAND}`; export r; \
2941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2942 $(BUILD_EXPORTS) \
2943 (cd $(BUILD_SUBDIR)/flex && \
2944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2945 $(TARGET-build-flex))
2946 @endif build-flex
2952 .PHONY: configure-build-m4 maybe-configure-build-m4
2953 maybe-configure-build-m4:
2954 @if gcc-bootstrap
2955 configure-build-m4: stage_current
2956 @endif gcc-bootstrap
2957 @if build-m4
2958 maybe-configure-build-m4: configure-build-m4
2959 configure-build-m4:
2960 @: $(MAKE); $(unstage)
2961 @r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2964 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2965 $(BUILD_EXPORTS) \
2966 echo Configuring in $(BUILD_SUBDIR)/m4; \
2967 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2968 case $(srcdir) in \
2969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2970 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2972 esac; \
2973 module_srcdir=m4; \
2974 rm -f no-such-file || : ; \
2975 CONFIG_SITE=no-such-file $(SHELL) \
2976 $$s/$$module_srcdir/configure \
2977 --srcdir=$${topdir}/$$module_srcdir \
2978 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2979 --target=${target_alias} \
2980 || exit 1
2981 @endif build-m4
2987 .PHONY: all-build-m4 maybe-all-build-m4
2988 maybe-all-build-m4:
2989 @if gcc-bootstrap
2990 all-build-m4: stage_current
2991 @endif gcc-bootstrap
2992 @if build-m4
2993 TARGET-build-m4=all
2994 maybe-all-build-m4: all-build-m4
2995 all-build-m4: configure-build-m4
2996 @: $(MAKE); $(unstage)
2997 @r=`${PWD_COMMAND}`; export r; \
2998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2999 $(BUILD_EXPORTS) \
3000 (cd $(BUILD_SUBDIR)/m4 && \
3001 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3002 $(TARGET-build-m4))
3003 @endif build-m4
3009 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3010 maybe-configure-build-texinfo:
3011 @if gcc-bootstrap
3012 configure-build-texinfo: stage_current
3013 @endif gcc-bootstrap
3014 @if build-texinfo
3015 maybe-configure-build-texinfo: configure-build-texinfo
3016 configure-build-texinfo:
3017 @: $(MAKE); $(unstage)
3018 @r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3021 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3022 $(BUILD_EXPORTS) \
3023 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3024 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3025 case $(srcdir) in \
3026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3027 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3029 esac; \
3030 module_srcdir=texinfo; \
3031 rm -f no-such-file || : ; \
3032 CONFIG_SITE=no-such-file $(SHELL) \
3033 $$s/$$module_srcdir/configure \
3034 --srcdir=$${topdir}/$$module_srcdir \
3035 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3036 --target=${target_alias} \
3037 || exit 1
3038 @endif build-texinfo
3044 .PHONY: all-build-texinfo maybe-all-build-texinfo
3045 maybe-all-build-texinfo:
3046 @if gcc-bootstrap
3047 all-build-texinfo: stage_current
3048 @endif gcc-bootstrap
3049 @if build-texinfo
3050 TARGET-build-texinfo=all
3051 maybe-all-build-texinfo: all-build-texinfo
3052 all-build-texinfo: configure-build-texinfo
3053 @: $(MAKE); $(unstage)
3054 @r=`${PWD_COMMAND}`; export r; \
3055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3056 $(BUILD_EXPORTS) \
3057 (cd $(BUILD_SUBDIR)/texinfo && \
3058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3059 $(TARGET-build-texinfo))
3060 @endif build-texinfo
3066 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3067 maybe-configure-build-fixincludes:
3068 @if gcc-bootstrap
3069 configure-build-fixincludes: stage_current
3070 @endif gcc-bootstrap
3071 @if build-fixincludes
3072 maybe-configure-build-fixincludes: configure-build-fixincludes
3073 configure-build-fixincludes:
3074 @: $(MAKE); $(unstage)
3075 @r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3077 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3078 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3079 $(BUILD_EXPORTS) \
3080 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3081 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3082 case $(srcdir) in \
3083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3084 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3086 esac; \
3087 module_srcdir=fixincludes; \
3088 rm -f no-such-file || : ; \
3089 CONFIG_SITE=no-such-file $(SHELL) \
3090 $$s/$$module_srcdir/configure \
3091 --srcdir=$${topdir}/$$module_srcdir \
3092 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3093 --target=${target_alias} \
3094 || exit 1
3095 @endif build-fixincludes
3101 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3102 maybe-all-build-fixincludes:
3103 @if gcc-bootstrap
3104 all-build-fixincludes: stage_current
3105 @endif gcc-bootstrap
3106 @if build-fixincludes
3107 TARGET-build-fixincludes=all
3108 maybe-all-build-fixincludes: all-build-fixincludes
3109 all-build-fixincludes: configure-build-fixincludes
3110 @: $(MAKE); $(unstage)
3111 @r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 $(BUILD_EXPORTS) \
3114 (cd $(BUILD_SUBDIR)/fixincludes && \
3115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3116 $(TARGET-build-fixincludes))
3117 @endif build-fixincludes
3123 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3124 maybe-configure-build-libcpp:
3125 @if gcc-bootstrap
3126 configure-build-libcpp: stage_current
3127 @endif gcc-bootstrap
3128 @if build-libcpp
3129 maybe-configure-build-libcpp: configure-build-libcpp
3130 configure-build-libcpp:
3131 @: $(MAKE); $(unstage)
3132 @r=`${PWD_COMMAND}`; export r; \
3133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3134 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3135 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3136 $(BUILD_EXPORTS) \
3137 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3138 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3139 case $(srcdir) in \
3140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3141 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3143 esac; \
3144 module_srcdir=libcpp; \
3145 rm -f no-such-file || : ; \
3146 CONFIG_SITE=no-such-file $(SHELL) \
3147 $$s/$$module_srcdir/configure \
3148 --srcdir=$${topdir}/$$module_srcdir \
3149 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3150 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3151 || exit 1
3152 @endif build-libcpp
3158 .PHONY: all-build-libcpp maybe-all-build-libcpp
3159 maybe-all-build-libcpp:
3160 @if gcc-bootstrap
3161 all-build-libcpp: stage_current
3162 @endif gcc-bootstrap
3163 @if build-libcpp
3164 TARGET-build-libcpp=all
3165 maybe-all-build-libcpp: all-build-libcpp
3166 all-build-libcpp: configure-build-libcpp
3167 @: $(MAKE); $(unstage)
3168 @r=`${PWD_COMMAND}`; export r; \
3169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3170 $(BUILD_EXPORTS) \
3171 (cd $(BUILD_SUBDIR)/libcpp && \
3172 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3173 $(TARGET-build-libcpp))
3174 @endif build-libcpp
3180 # --------------------------------------
3181 # Modules which run on the host machine
3182 # --------------------------------------
3185 .PHONY: configure-bfd maybe-configure-bfd
3186 maybe-configure-bfd:
3187 @if gcc-bootstrap
3188 configure-bfd: stage_current
3189 @endif gcc-bootstrap
3190 @if bfd
3191 maybe-configure-bfd: configure-bfd
3192 configure-bfd:
3193 @r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3197 $(HOST_EXPORTS) \
3198 echo Configuring in $(HOST_SUBDIR)/bfd; \
3199 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3200 case $(srcdir) in \
3201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3202 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3204 esac; \
3205 module_srcdir=bfd; \
3206 $(SHELL) \
3207 $$s/$$module_srcdir/configure \
3208 --srcdir=$${topdir}/$$module_srcdir \
3209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3210 --target=${target_alias} \
3211 || exit 1
3212 @endif bfd
3216 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3217 maybe-configure-stage1-bfd:
3218 @if bfd-bootstrap
3219 maybe-configure-stage1-bfd: configure-stage1-bfd
3220 configure-stage1-bfd:
3221 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3223 @r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 TFLAGS="$(STAGE1_TFLAGS)"; \
3226 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3227 $(HOST_EXPORTS) \
3228 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3229 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3230 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3231 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3233 cd $(HOST_SUBDIR)/bfd || exit 1; \
3234 case $(srcdir) in \
3235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3236 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3238 esac; \
3239 module_srcdir=bfd; \
3240 $(SHELL) $$s/$$module_srcdir/configure \
3241 --srcdir=$${topdir}/$$module_srcdir \
3242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3243 --target=${target_alias} \
3245 $(STAGE1_CONFIGURE_FLAGS)
3246 @endif bfd-bootstrap
3248 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3249 maybe-configure-stage2-bfd:
3250 @if bfd-bootstrap
3251 maybe-configure-stage2-bfd: configure-stage2-bfd
3252 configure-stage2-bfd:
3253 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 TFLAGS="$(STAGE2_TFLAGS)"; \
3258 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3259 $(HOST_EXPORTS) \
3260 $(POSTSTAGE1_HOST_EXPORTS) \
3261 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3262 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3263 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3264 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3266 cd $(HOST_SUBDIR)/bfd || exit 1; \
3267 case $(srcdir) in \
3268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3269 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3271 esac; \
3272 module_srcdir=bfd; \
3273 $(SHELL) $$s/$$module_srcdir/configure \
3274 --srcdir=$${topdir}/$$module_srcdir \
3275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3276 --target=${target_alias} \
3277 --with-build-libsubdir=$(HOST_SUBDIR) \
3278 $(STAGE2_CONFIGURE_FLAGS)
3279 @endif bfd-bootstrap
3281 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3282 maybe-configure-stage3-bfd:
3283 @if bfd-bootstrap
3284 maybe-configure-stage3-bfd: configure-stage3-bfd
3285 configure-stage3-bfd:
3286 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3288 @r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3290 TFLAGS="$(STAGE3_TFLAGS)"; \
3291 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3292 $(HOST_EXPORTS) \
3293 $(POSTSTAGE1_HOST_EXPORTS) \
3294 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3295 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3296 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3297 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3299 cd $(HOST_SUBDIR)/bfd || exit 1; \
3300 case $(srcdir) in \
3301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3302 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3304 esac; \
3305 module_srcdir=bfd; \
3306 $(SHELL) $$s/$$module_srcdir/configure \
3307 --srcdir=$${topdir}/$$module_srcdir \
3308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3309 --target=${target_alias} \
3310 --with-build-libsubdir=$(HOST_SUBDIR) \
3311 $(STAGE3_CONFIGURE_FLAGS)
3312 @endif bfd-bootstrap
3314 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3315 maybe-configure-stage4-bfd:
3316 @if bfd-bootstrap
3317 maybe-configure-stage4-bfd: configure-stage4-bfd
3318 configure-stage4-bfd:
3319 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3320 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3321 @r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 TFLAGS="$(STAGE4_TFLAGS)"; \
3324 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3325 $(HOST_EXPORTS) \
3326 $(POSTSTAGE1_HOST_EXPORTS) \
3327 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3328 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3329 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3330 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3332 cd $(HOST_SUBDIR)/bfd || exit 1; \
3333 case $(srcdir) in \
3334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3335 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3337 esac; \
3338 module_srcdir=bfd; \
3339 $(SHELL) $$s/$$module_srcdir/configure \
3340 --srcdir=$${topdir}/$$module_srcdir \
3341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3342 --target=${target_alias} \
3343 --with-build-libsubdir=$(HOST_SUBDIR) \
3344 $(STAGE4_CONFIGURE_FLAGS)
3345 @endif bfd-bootstrap
3347 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3348 maybe-configure-stageprofile-bfd:
3349 @if bfd-bootstrap
3350 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3351 configure-stageprofile-bfd:
3352 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3354 @r=`${PWD_COMMAND}`; export r; \
3355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3357 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3358 $(HOST_EXPORTS) \
3359 $(POSTSTAGE1_HOST_EXPORTS) \
3360 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3361 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3362 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3363 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3365 cd $(HOST_SUBDIR)/bfd || exit 1; \
3366 case $(srcdir) in \
3367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3368 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3370 esac; \
3371 module_srcdir=bfd; \
3372 $(SHELL) $$s/$$module_srcdir/configure \
3373 --srcdir=$${topdir}/$$module_srcdir \
3374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3375 --target=${target_alias} \
3376 --with-build-libsubdir=$(HOST_SUBDIR) \
3377 $(STAGEprofile_CONFIGURE_FLAGS)
3378 @endif bfd-bootstrap
3380 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3381 maybe-configure-stagefeedback-bfd:
3382 @if bfd-bootstrap
3383 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3384 configure-stagefeedback-bfd:
3385 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3387 @r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3390 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3391 $(HOST_EXPORTS) \
3392 $(POSTSTAGE1_HOST_EXPORTS) \
3393 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3394 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3395 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3396 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3398 cd $(HOST_SUBDIR)/bfd || exit 1; \
3399 case $(srcdir) in \
3400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3401 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3403 esac; \
3404 module_srcdir=bfd; \
3405 $(SHELL) $$s/$$module_srcdir/configure \
3406 --srcdir=$${topdir}/$$module_srcdir \
3407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3408 --target=${target_alias} \
3409 --with-build-libsubdir=$(HOST_SUBDIR) \
3410 $(STAGEfeedback_CONFIGURE_FLAGS)
3411 @endif bfd-bootstrap
3413 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3414 maybe-configure-stageautoprofile-bfd:
3415 @if bfd-bootstrap
3416 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3417 configure-stageautoprofile-bfd:
3418 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3420 @r=`${PWD_COMMAND}`; export r; \
3421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3422 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3423 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3424 $(HOST_EXPORTS) \
3425 $(POSTSTAGE1_HOST_EXPORTS) \
3426 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3427 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3428 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3429 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3431 cd $(HOST_SUBDIR)/bfd || exit 1; \
3432 case $(srcdir) in \
3433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3434 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3436 esac; \
3437 module_srcdir=bfd; \
3438 $(SHELL) $$s/$$module_srcdir/configure \
3439 --srcdir=$${topdir}/$$module_srcdir \
3440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3441 --target=${target_alias} \
3442 --with-build-libsubdir=$(HOST_SUBDIR) \
3443 $(STAGEautoprofile_CONFIGURE_FLAGS)
3444 @endif bfd-bootstrap
3446 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3447 maybe-configure-stageautofeedback-bfd:
3448 @if bfd-bootstrap
3449 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3450 configure-stageautofeedback-bfd:
3451 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3453 @r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3456 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3457 $(HOST_EXPORTS) \
3458 $(POSTSTAGE1_HOST_EXPORTS) \
3459 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3460 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3461 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3462 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3464 cd $(HOST_SUBDIR)/bfd || exit 1; \
3465 case $(srcdir) in \
3466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3467 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3469 esac; \
3470 module_srcdir=bfd; \
3471 $(SHELL) $$s/$$module_srcdir/configure \
3472 --srcdir=$${topdir}/$$module_srcdir \
3473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3474 --target=${target_alias} \
3475 --with-build-libsubdir=$(HOST_SUBDIR) \
3476 $(STAGEautofeedback_CONFIGURE_FLAGS)
3477 @endif bfd-bootstrap
3483 .PHONY: all-bfd maybe-all-bfd
3484 maybe-all-bfd:
3485 @if gcc-bootstrap
3486 all-bfd: stage_current
3487 @endif gcc-bootstrap
3488 @if bfd
3489 TARGET-bfd=all
3490 maybe-all-bfd: all-bfd
3491 all-bfd: configure-bfd
3492 @r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 $(HOST_EXPORTS) \
3495 (cd $(HOST_SUBDIR)/bfd && \
3496 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3497 $(TARGET-bfd))
3498 @endif bfd
3502 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3503 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3504 maybe-all-stage1-bfd:
3505 maybe-clean-stage1-bfd:
3506 @if bfd-bootstrap
3507 maybe-all-stage1-bfd: all-stage1-bfd
3508 all-stage1: all-stage1-bfd
3509 TARGET-stage1-bfd = $(TARGET-bfd)
3510 all-stage1-bfd: configure-stage1-bfd
3511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3512 @r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 TFLAGS="$(STAGE1_TFLAGS)"; \
3515 $(HOST_EXPORTS) \
3516 cd $(HOST_SUBDIR)/bfd && \
3518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3519 CFLAGS="$(STAGE1_CFLAGS)" \
3520 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3521 LIBCFLAGS="$(LIBCFLAGS)" \
3522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3525 $(EXTRA_HOST_FLAGS) \
3526 $(STAGE1_FLAGS_TO_PASS) \
3527 TFLAGS="$(STAGE1_TFLAGS)" \
3528 $(TARGET-stage1-bfd)
3530 maybe-clean-stage1-bfd: clean-stage1-bfd
3531 clean-stage1: clean-stage1-bfd
3532 clean-stage1-bfd:
3533 @if [ $(current_stage) = stage1 ]; then \
3534 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3535 else \
3536 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3537 $(MAKE) stage1-start; \
3538 fi; \
3539 cd $(HOST_SUBDIR)/bfd && \
3540 $(MAKE) $(EXTRA_HOST_FLAGS) \
3541 $(STAGE1_FLAGS_TO_PASS) clean
3542 @endif bfd-bootstrap
3545 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3546 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3547 maybe-all-stage2-bfd:
3548 maybe-clean-stage2-bfd:
3549 @if bfd-bootstrap
3550 maybe-all-stage2-bfd: all-stage2-bfd
3551 all-stage2: all-stage2-bfd
3552 TARGET-stage2-bfd = $(TARGET-bfd)
3553 all-stage2-bfd: configure-stage2-bfd
3554 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3555 @r=`${PWD_COMMAND}`; export r; \
3556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557 TFLAGS="$(STAGE2_TFLAGS)"; \
3558 $(HOST_EXPORTS) \
3559 $(POSTSTAGE1_HOST_EXPORTS) \
3560 cd $(HOST_SUBDIR)/bfd && \
3562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3563 CFLAGS="$(STAGE2_CFLAGS)" \
3564 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3565 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3570 TFLAGS="$(STAGE2_TFLAGS)" \
3571 $(TARGET-stage2-bfd)
3573 maybe-clean-stage2-bfd: clean-stage2-bfd
3574 clean-stage2: clean-stage2-bfd
3575 clean-stage2-bfd:
3576 @if [ $(current_stage) = stage2 ]; then \
3577 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3578 else \
3579 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3580 $(MAKE) stage2-start; \
3581 fi; \
3582 cd $(HOST_SUBDIR)/bfd && \
3583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3584 @endif bfd-bootstrap
3587 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3588 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3589 maybe-all-stage3-bfd:
3590 maybe-clean-stage3-bfd:
3591 @if bfd-bootstrap
3592 maybe-all-stage3-bfd: all-stage3-bfd
3593 all-stage3: all-stage3-bfd
3594 TARGET-stage3-bfd = $(TARGET-bfd)
3595 all-stage3-bfd: configure-stage3-bfd
3596 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3597 @r=`${PWD_COMMAND}`; export r; \
3598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 TFLAGS="$(STAGE3_TFLAGS)"; \
3600 $(HOST_EXPORTS) \
3601 $(POSTSTAGE1_HOST_EXPORTS) \
3602 cd $(HOST_SUBDIR)/bfd && \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3605 CFLAGS="$(STAGE3_CFLAGS)" \
3606 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3607 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3612 TFLAGS="$(STAGE3_TFLAGS)" \
3613 $(TARGET-stage3-bfd)
3615 maybe-clean-stage3-bfd: clean-stage3-bfd
3616 clean-stage3: clean-stage3-bfd
3617 clean-stage3-bfd:
3618 @if [ $(current_stage) = stage3 ]; then \
3619 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3620 else \
3621 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3622 $(MAKE) stage3-start; \
3623 fi; \
3624 cd $(HOST_SUBDIR)/bfd && \
3625 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3626 @endif bfd-bootstrap
3629 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3630 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3631 maybe-all-stage4-bfd:
3632 maybe-clean-stage4-bfd:
3633 @if bfd-bootstrap
3634 maybe-all-stage4-bfd: all-stage4-bfd
3635 all-stage4: all-stage4-bfd
3636 TARGET-stage4-bfd = $(TARGET-bfd)
3637 all-stage4-bfd: configure-stage4-bfd
3638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3639 @r=`${PWD_COMMAND}`; export r; \
3640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 TFLAGS="$(STAGE4_TFLAGS)"; \
3642 $(HOST_EXPORTS) \
3643 $(POSTSTAGE1_HOST_EXPORTS) \
3644 cd $(HOST_SUBDIR)/bfd && \
3646 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3647 CFLAGS="$(STAGE4_CFLAGS)" \
3648 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3649 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3650 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3651 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3652 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3653 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3654 TFLAGS="$(STAGE4_TFLAGS)" \
3655 $(TARGET-stage4-bfd)
3657 maybe-clean-stage4-bfd: clean-stage4-bfd
3658 clean-stage4: clean-stage4-bfd
3659 clean-stage4-bfd:
3660 @if [ $(current_stage) = stage4 ]; then \
3661 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3662 else \
3663 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3664 $(MAKE) stage4-start; \
3665 fi; \
3666 cd $(HOST_SUBDIR)/bfd && \
3667 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3668 @endif bfd-bootstrap
3671 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3672 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3673 maybe-all-stageprofile-bfd:
3674 maybe-clean-stageprofile-bfd:
3675 @if bfd-bootstrap
3676 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3677 all-stageprofile: all-stageprofile-bfd
3678 TARGET-stageprofile-bfd = $(TARGET-bfd)
3679 all-stageprofile-bfd: configure-stageprofile-bfd
3680 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3681 @r=`${PWD_COMMAND}`; export r; \
3682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3683 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3684 $(HOST_EXPORTS) \
3685 $(POSTSTAGE1_HOST_EXPORTS) \
3686 cd $(HOST_SUBDIR)/bfd && \
3688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3689 CFLAGS="$(STAGEprofile_CFLAGS)" \
3690 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3691 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3695 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3696 TFLAGS="$(STAGEprofile_TFLAGS)" \
3697 $(TARGET-stageprofile-bfd)
3699 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3700 clean-stageprofile: clean-stageprofile-bfd
3701 clean-stageprofile-bfd:
3702 @if [ $(current_stage) = stageprofile ]; then \
3703 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3704 else \
3705 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3706 $(MAKE) stageprofile-start; \
3707 fi; \
3708 cd $(HOST_SUBDIR)/bfd && \
3709 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3710 @endif bfd-bootstrap
3713 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3714 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3715 maybe-all-stagefeedback-bfd:
3716 maybe-clean-stagefeedback-bfd:
3717 @if bfd-bootstrap
3718 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3719 all-stagefeedback: all-stagefeedback-bfd
3720 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3721 all-stagefeedback-bfd: configure-stagefeedback-bfd
3722 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3723 @r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3726 $(HOST_EXPORTS) \
3727 $(POSTSTAGE1_HOST_EXPORTS) \
3728 cd $(HOST_SUBDIR)/bfd && \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3731 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3738 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3739 $(TARGET-stagefeedback-bfd)
3741 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3742 clean-stagefeedback: clean-stagefeedback-bfd
3743 clean-stagefeedback-bfd:
3744 @if [ $(current_stage) = stagefeedback ]; then \
3745 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3746 else \
3747 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3748 $(MAKE) stagefeedback-start; \
3749 fi; \
3750 cd $(HOST_SUBDIR)/bfd && \
3751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3752 @endif bfd-bootstrap
3755 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3756 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3757 maybe-all-stageautoprofile-bfd:
3758 maybe-clean-stageautoprofile-bfd:
3759 @if bfd-bootstrap
3760 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3761 all-stageautoprofile: all-stageautoprofile-bfd
3762 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3763 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3764 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3765 @r=`${PWD_COMMAND}`; export r; \
3766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3767 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3768 $(HOST_EXPORTS) \
3769 $(POSTSTAGE1_HOST_EXPORTS) \
3770 cd $(HOST_SUBDIR)/bfd && \
3771 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3772 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3773 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3774 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3775 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3776 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3777 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3778 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3779 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3780 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3781 $(TARGET-stageautoprofile-bfd)
3783 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3784 clean-stageautoprofile: clean-stageautoprofile-bfd
3785 clean-stageautoprofile-bfd:
3786 @if [ $(current_stage) = stageautoprofile ]; then \
3787 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3788 else \
3789 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3790 $(MAKE) stageautoprofile-start; \
3791 fi; \
3792 cd $(HOST_SUBDIR)/bfd && \
3793 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3794 @endif bfd-bootstrap
3797 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3798 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3799 maybe-all-stageautofeedback-bfd:
3800 maybe-clean-stageautofeedback-bfd:
3801 @if bfd-bootstrap
3802 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3803 all-stageautofeedback: all-stageautofeedback-bfd
3804 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3805 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3806 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3807 @r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3809 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3810 $(HOST_EXPORTS) \
3811 $(POSTSTAGE1_HOST_EXPORTS) \
3812 cd $(HOST_SUBDIR)/bfd && \
3814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3815 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3816 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3817 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3821 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3822 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3823 $(TARGET-stageautofeedback-bfd)
3825 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3826 clean-stageautofeedback: clean-stageautofeedback-bfd
3827 clean-stageautofeedback-bfd:
3828 @if [ $(current_stage) = stageautofeedback ]; then \
3829 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3830 else \
3831 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3832 $(MAKE) stageautofeedback-start; \
3833 fi; \
3834 cd $(HOST_SUBDIR)/bfd && \
3835 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3836 @endif bfd-bootstrap
3842 .PHONY: check-bfd maybe-check-bfd
3843 maybe-check-bfd:
3844 @if bfd
3845 maybe-check-bfd: check-bfd
3847 check-bfd:
3848 @: $(MAKE); $(unstage)
3849 @r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3852 (cd $(HOST_SUBDIR)/bfd && \
3853 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3855 @endif bfd
3857 .PHONY: install-bfd maybe-install-bfd
3858 maybe-install-bfd:
3859 @if bfd
3860 maybe-install-bfd: install-bfd
3862 install-bfd: installdirs
3863 @: $(MAKE); $(unstage)
3864 @r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 $(HOST_EXPORTS) \
3867 (cd $(HOST_SUBDIR)/bfd && \
3868 $(MAKE) $(FLAGS_TO_PASS) install)
3870 @endif bfd
3872 .PHONY: install-strip-bfd maybe-install-strip-bfd
3873 maybe-install-strip-bfd:
3874 @if bfd
3875 maybe-install-strip-bfd: install-strip-bfd
3877 install-strip-bfd: installdirs
3878 @: $(MAKE); $(unstage)
3879 @r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 (cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3885 @endif bfd
3887 # Other targets (info, dvi, pdf, etc.)
3889 .PHONY: maybe-info-bfd info-bfd
3890 maybe-info-bfd:
3891 @if bfd
3892 maybe-info-bfd: info-bfd
3894 info-bfd: \
3895 configure-bfd
3896 @[ -f ./bfd/Makefile ] || exit 0; \
3897 r=`${PWD_COMMAND}`; export r; \
3898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3899 $(HOST_EXPORTS) \
3900 for flag in $(EXTRA_HOST_FLAGS) ; do \
3901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3902 done; \
3903 echo "Doing info in bfd"; \
3904 (cd $(HOST_SUBDIR)/bfd && \
3905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3907 "RANLIB=$${RANLIB}" \
3908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3909 info) \
3910 || exit 1
3912 @endif bfd
3914 .PHONY: maybe-dvi-bfd dvi-bfd
3915 maybe-dvi-bfd:
3916 @if bfd
3917 maybe-dvi-bfd: dvi-bfd
3919 dvi-bfd: \
3920 configure-bfd
3921 @[ -f ./bfd/Makefile ] || exit 0; \
3922 r=`${PWD_COMMAND}`; export r; \
3923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3924 $(HOST_EXPORTS) \
3925 for flag in $(EXTRA_HOST_FLAGS) ; do \
3926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3927 done; \
3928 echo "Doing dvi in bfd"; \
3929 (cd $(HOST_SUBDIR)/bfd && \
3930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3932 "RANLIB=$${RANLIB}" \
3933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3934 dvi) \
3935 || exit 1
3937 @endif bfd
3939 .PHONY: maybe-pdf-bfd pdf-bfd
3940 maybe-pdf-bfd:
3941 @if bfd
3942 maybe-pdf-bfd: pdf-bfd
3944 pdf-bfd: \
3945 configure-bfd
3946 @[ -f ./bfd/Makefile ] || exit 0; \
3947 r=`${PWD_COMMAND}`; export r; \
3948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3949 $(HOST_EXPORTS) \
3950 for flag in $(EXTRA_HOST_FLAGS) ; do \
3951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3952 done; \
3953 echo "Doing pdf in bfd"; \
3954 (cd $(HOST_SUBDIR)/bfd && \
3955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3957 "RANLIB=$${RANLIB}" \
3958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3959 pdf) \
3960 || exit 1
3962 @endif bfd
3964 .PHONY: maybe-html-bfd html-bfd
3965 maybe-html-bfd:
3966 @if bfd
3967 maybe-html-bfd: html-bfd
3969 html-bfd: \
3970 configure-bfd
3971 @[ -f ./bfd/Makefile ] || exit 0; \
3972 r=`${PWD_COMMAND}`; export r; \
3973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3974 $(HOST_EXPORTS) \
3975 for flag in $(EXTRA_HOST_FLAGS) ; do \
3976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3977 done; \
3978 echo "Doing html in bfd"; \
3979 (cd $(HOST_SUBDIR)/bfd && \
3980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3982 "RANLIB=$${RANLIB}" \
3983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3984 html) \
3985 || exit 1
3987 @endif bfd
3989 .PHONY: maybe-TAGS-bfd TAGS-bfd
3990 maybe-TAGS-bfd:
3991 @if bfd
3992 maybe-TAGS-bfd: TAGS-bfd
3994 TAGS-bfd: \
3995 configure-bfd
3996 @[ -f ./bfd/Makefile ] || exit 0; \
3997 r=`${PWD_COMMAND}`; export r; \
3998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3999 $(HOST_EXPORTS) \
4000 for flag in $(EXTRA_HOST_FLAGS) ; do \
4001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4002 done; \
4003 echo "Doing TAGS in bfd"; \
4004 (cd $(HOST_SUBDIR)/bfd && \
4005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4007 "RANLIB=$${RANLIB}" \
4008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4009 TAGS) \
4010 || exit 1
4012 @endif bfd
4014 .PHONY: maybe-install-info-bfd install-info-bfd
4015 maybe-install-info-bfd:
4016 @if bfd
4017 maybe-install-info-bfd: install-info-bfd
4019 install-info-bfd: \
4020 configure-bfd \
4021 info-bfd
4022 @[ -f ./bfd/Makefile ] || exit 0; \
4023 r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4025 $(HOST_EXPORTS) \
4026 for flag in $(EXTRA_HOST_FLAGS) ; do \
4027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4028 done; \
4029 echo "Doing install-info in bfd"; \
4030 (cd $(HOST_SUBDIR)/bfd && \
4031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4033 "RANLIB=$${RANLIB}" \
4034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4035 install-info) \
4036 || exit 1
4038 @endif bfd
4040 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4041 maybe-install-pdf-bfd:
4042 @if bfd
4043 maybe-install-pdf-bfd: install-pdf-bfd
4045 install-pdf-bfd: \
4046 configure-bfd \
4047 pdf-bfd
4048 @[ -f ./bfd/Makefile ] || exit 0; \
4049 r=`${PWD_COMMAND}`; export r; \
4050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4051 $(HOST_EXPORTS) \
4052 for flag in $(EXTRA_HOST_FLAGS) ; do \
4053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4054 done; \
4055 echo "Doing install-pdf in bfd"; \
4056 (cd $(HOST_SUBDIR)/bfd && \
4057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4059 "RANLIB=$${RANLIB}" \
4060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4061 install-pdf) \
4062 || exit 1
4064 @endif bfd
4066 .PHONY: maybe-install-html-bfd install-html-bfd
4067 maybe-install-html-bfd:
4068 @if bfd
4069 maybe-install-html-bfd: install-html-bfd
4071 install-html-bfd: \
4072 configure-bfd \
4073 html-bfd
4074 @[ -f ./bfd/Makefile ] || exit 0; \
4075 r=`${PWD_COMMAND}`; export r; \
4076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077 $(HOST_EXPORTS) \
4078 for flag in $(EXTRA_HOST_FLAGS) ; do \
4079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4080 done; \
4081 echo "Doing install-html in bfd"; \
4082 (cd $(HOST_SUBDIR)/bfd && \
4083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4085 "RANLIB=$${RANLIB}" \
4086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4087 install-html) \
4088 || exit 1
4090 @endif bfd
4092 .PHONY: maybe-installcheck-bfd installcheck-bfd
4093 maybe-installcheck-bfd:
4094 @if bfd
4095 maybe-installcheck-bfd: installcheck-bfd
4097 installcheck-bfd: \
4098 configure-bfd
4099 @[ -f ./bfd/Makefile ] || exit 0; \
4100 r=`${PWD_COMMAND}`; export r; \
4101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 $(HOST_EXPORTS) \
4103 for flag in $(EXTRA_HOST_FLAGS) ; do \
4104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4105 done; \
4106 echo "Doing installcheck in bfd"; \
4107 (cd $(HOST_SUBDIR)/bfd && \
4108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4110 "RANLIB=$${RANLIB}" \
4111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4112 installcheck) \
4113 || exit 1
4115 @endif bfd
4117 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4118 maybe-mostlyclean-bfd:
4119 @if bfd
4120 maybe-mostlyclean-bfd: mostlyclean-bfd
4122 mostlyclean-bfd:
4123 @[ -f ./bfd/Makefile ] || exit 0; \
4124 r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126 $(HOST_EXPORTS) \
4127 for flag in $(EXTRA_HOST_FLAGS) ; do \
4128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4129 done; \
4130 echo "Doing mostlyclean in bfd"; \
4131 (cd $(HOST_SUBDIR)/bfd && \
4132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4134 "RANLIB=$${RANLIB}" \
4135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4136 mostlyclean) \
4137 || exit 1
4139 @endif bfd
4141 .PHONY: maybe-clean-bfd clean-bfd
4142 maybe-clean-bfd:
4143 @if bfd
4144 maybe-clean-bfd: clean-bfd
4146 clean-bfd:
4147 @[ -f ./bfd/Makefile ] || exit 0; \
4148 r=`${PWD_COMMAND}`; export r; \
4149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4150 $(HOST_EXPORTS) \
4151 for flag in $(EXTRA_HOST_FLAGS) ; do \
4152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4153 done; \
4154 echo "Doing clean in bfd"; \
4155 (cd $(HOST_SUBDIR)/bfd && \
4156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4158 "RANLIB=$${RANLIB}" \
4159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4160 clean) \
4161 || exit 1
4163 @endif bfd
4165 .PHONY: maybe-distclean-bfd distclean-bfd
4166 maybe-distclean-bfd:
4167 @if bfd
4168 maybe-distclean-bfd: distclean-bfd
4170 distclean-bfd:
4171 @[ -f ./bfd/Makefile ] || exit 0; \
4172 r=`${PWD_COMMAND}`; export r; \
4173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4174 $(HOST_EXPORTS) \
4175 for flag in $(EXTRA_HOST_FLAGS) ; do \
4176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4177 done; \
4178 echo "Doing distclean in bfd"; \
4179 (cd $(HOST_SUBDIR)/bfd && \
4180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4182 "RANLIB=$${RANLIB}" \
4183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4184 distclean) \
4185 || exit 1
4187 @endif bfd
4189 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4190 maybe-maintainer-clean-bfd:
4191 @if bfd
4192 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4194 maintainer-clean-bfd:
4195 @[ -f ./bfd/Makefile ] || exit 0; \
4196 r=`${PWD_COMMAND}`; export r; \
4197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4198 $(HOST_EXPORTS) \
4199 for flag in $(EXTRA_HOST_FLAGS) ; do \
4200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4201 done; \
4202 echo "Doing maintainer-clean in bfd"; \
4203 (cd $(HOST_SUBDIR)/bfd && \
4204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4206 "RANLIB=$${RANLIB}" \
4207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4208 maintainer-clean) \
4209 || exit 1
4211 @endif bfd
4215 .PHONY: configure-opcodes maybe-configure-opcodes
4216 maybe-configure-opcodes:
4217 @if gcc-bootstrap
4218 configure-opcodes: stage_current
4219 @endif gcc-bootstrap
4220 @if opcodes
4221 maybe-configure-opcodes: configure-opcodes
4222 configure-opcodes:
4223 @r=`${PWD_COMMAND}`; export r; \
4224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4225 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4227 $(HOST_EXPORTS) \
4228 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4229 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4230 case $(srcdir) in \
4231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4232 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4234 esac; \
4235 module_srcdir=opcodes; \
4236 $(SHELL) \
4237 $$s/$$module_srcdir/configure \
4238 --srcdir=$${topdir}/$$module_srcdir \
4239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4240 --target=${target_alias} \
4241 || exit 1
4242 @endif opcodes
4246 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4247 maybe-configure-stage1-opcodes:
4248 @if opcodes-bootstrap
4249 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4250 configure-stage1-opcodes:
4251 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4252 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4253 @r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 TFLAGS="$(STAGE1_TFLAGS)"; \
4256 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4257 $(HOST_EXPORTS) \
4258 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4259 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4260 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4261 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4263 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4264 case $(srcdir) in \
4265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4266 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4268 esac; \
4269 module_srcdir=opcodes; \
4270 $(SHELL) $$s/$$module_srcdir/configure \
4271 --srcdir=$${topdir}/$$module_srcdir \
4272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4273 --target=${target_alias} \
4275 $(STAGE1_CONFIGURE_FLAGS)
4276 @endif opcodes-bootstrap
4278 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4279 maybe-configure-stage2-opcodes:
4280 @if opcodes-bootstrap
4281 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4282 configure-stage2-opcodes:
4283 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4285 @r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 TFLAGS="$(STAGE2_TFLAGS)"; \
4288 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4289 $(HOST_EXPORTS) \
4290 $(POSTSTAGE1_HOST_EXPORTS) \
4291 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4292 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4293 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4294 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4296 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4297 case $(srcdir) in \
4298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4299 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4301 esac; \
4302 module_srcdir=opcodes; \
4303 $(SHELL) $$s/$$module_srcdir/configure \
4304 --srcdir=$${topdir}/$$module_srcdir \
4305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4306 --target=${target_alias} \
4307 --with-build-libsubdir=$(HOST_SUBDIR) \
4308 $(STAGE2_CONFIGURE_FLAGS)
4309 @endif opcodes-bootstrap
4311 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4312 maybe-configure-stage3-opcodes:
4313 @if opcodes-bootstrap
4314 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4315 configure-stage3-opcodes:
4316 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4318 @r=`${PWD_COMMAND}`; export r; \
4319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4320 TFLAGS="$(STAGE3_TFLAGS)"; \
4321 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4322 $(HOST_EXPORTS) \
4323 $(POSTSTAGE1_HOST_EXPORTS) \
4324 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4325 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4326 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4327 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4329 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4330 case $(srcdir) in \
4331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4332 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4334 esac; \
4335 module_srcdir=opcodes; \
4336 $(SHELL) $$s/$$module_srcdir/configure \
4337 --srcdir=$${topdir}/$$module_srcdir \
4338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4339 --target=${target_alias} \
4340 --with-build-libsubdir=$(HOST_SUBDIR) \
4341 $(STAGE3_CONFIGURE_FLAGS)
4342 @endif opcodes-bootstrap
4344 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4345 maybe-configure-stage4-opcodes:
4346 @if opcodes-bootstrap
4347 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4348 configure-stage4-opcodes:
4349 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4351 @r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 TFLAGS="$(STAGE4_TFLAGS)"; \
4354 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4355 $(HOST_EXPORTS) \
4356 $(POSTSTAGE1_HOST_EXPORTS) \
4357 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4358 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4359 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4360 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4362 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4363 case $(srcdir) in \
4364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4365 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4367 esac; \
4368 module_srcdir=opcodes; \
4369 $(SHELL) $$s/$$module_srcdir/configure \
4370 --srcdir=$${topdir}/$$module_srcdir \
4371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4372 --target=${target_alias} \
4373 --with-build-libsubdir=$(HOST_SUBDIR) \
4374 $(STAGE4_CONFIGURE_FLAGS)
4375 @endif opcodes-bootstrap
4377 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4378 maybe-configure-stageprofile-opcodes:
4379 @if opcodes-bootstrap
4380 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4381 configure-stageprofile-opcodes:
4382 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4384 @r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4387 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4388 $(HOST_EXPORTS) \
4389 $(POSTSTAGE1_HOST_EXPORTS) \
4390 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4391 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4392 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4393 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4395 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4396 case $(srcdir) in \
4397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4398 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4400 esac; \
4401 module_srcdir=opcodes; \
4402 $(SHELL) $$s/$$module_srcdir/configure \
4403 --srcdir=$${topdir}/$$module_srcdir \
4404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4405 --target=${target_alias} \
4406 --with-build-libsubdir=$(HOST_SUBDIR) \
4407 $(STAGEprofile_CONFIGURE_FLAGS)
4408 @endif opcodes-bootstrap
4410 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4411 maybe-configure-stagefeedback-opcodes:
4412 @if opcodes-bootstrap
4413 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4414 configure-stagefeedback-opcodes:
4415 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4416 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4417 @r=`${PWD_COMMAND}`; export r; \
4418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4419 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4420 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4421 $(HOST_EXPORTS) \
4422 $(POSTSTAGE1_HOST_EXPORTS) \
4423 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4424 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4425 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4426 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4428 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4429 case $(srcdir) in \
4430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4431 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4433 esac; \
4434 module_srcdir=opcodes; \
4435 $(SHELL) $$s/$$module_srcdir/configure \
4436 --srcdir=$${topdir}/$$module_srcdir \
4437 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4438 --target=${target_alias} \
4439 --with-build-libsubdir=$(HOST_SUBDIR) \
4440 $(STAGEfeedback_CONFIGURE_FLAGS)
4441 @endif opcodes-bootstrap
4443 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4444 maybe-configure-stageautoprofile-opcodes:
4445 @if opcodes-bootstrap
4446 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4447 configure-stageautoprofile-opcodes:
4448 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4450 @r=`${PWD_COMMAND}`; export r; \
4451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4452 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4453 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4454 $(HOST_EXPORTS) \
4455 $(POSTSTAGE1_HOST_EXPORTS) \
4456 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4457 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4458 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4459 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4461 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4462 case $(srcdir) in \
4463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4464 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4466 esac; \
4467 module_srcdir=opcodes; \
4468 $(SHELL) $$s/$$module_srcdir/configure \
4469 --srcdir=$${topdir}/$$module_srcdir \
4470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4471 --target=${target_alias} \
4472 --with-build-libsubdir=$(HOST_SUBDIR) \
4473 $(STAGEautoprofile_CONFIGURE_FLAGS)
4474 @endif opcodes-bootstrap
4476 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4477 maybe-configure-stageautofeedback-opcodes:
4478 @if opcodes-bootstrap
4479 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4480 configure-stageautofeedback-opcodes:
4481 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4483 @r=`${PWD_COMMAND}`; export r; \
4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4486 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4487 $(HOST_EXPORTS) \
4488 $(POSTSTAGE1_HOST_EXPORTS) \
4489 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4490 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4491 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4492 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4494 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4495 case $(srcdir) in \
4496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4497 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4499 esac; \
4500 module_srcdir=opcodes; \
4501 $(SHELL) $$s/$$module_srcdir/configure \
4502 --srcdir=$${topdir}/$$module_srcdir \
4503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4504 --target=${target_alias} \
4505 --with-build-libsubdir=$(HOST_SUBDIR) \
4506 $(STAGEautofeedback_CONFIGURE_FLAGS)
4507 @endif opcodes-bootstrap
4513 .PHONY: all-opcodes maybe-all-opcodes
4514 maybe-all-opcodes:
4515 @if gcc-bootstrap
4516 all-opcodes: stage_current
4517 @endif gcc-bootstrap
4518 @if opcodes
4519 TARGET-opcodes=all
4520 maybe-all-opcodes: all-opcodes
4521 all-opcodes: configure-opcodes
4522 @r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(HOST_EXPORTS) \
4525 (cd $(HOST_SUBDIR)/opcodes && \
4526 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4527 $(TARGET-opcodes))
4528 @endif opcodes
4532 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4533 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4534 maybe-all-stage1-opcodes:
4535 maybe-clean-stage1-opcodes:
4536 @if opcodes-bootstrap
4537 maybe-all-stage1-opcodes: all-stage1-opcodes
4538 all-stage1: all-stage1-opcodes
4539 TARGET-stage1-opcodes = $(TARGET-opcodes)
4540 all-stage1-opcodes: configure-stage1-opcodes
4541 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4542 @r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 TFLAGS="$(STAGE1_TFLAGS)"; \
4545 $(HOST_EXPORTS) \
4546 cd $(HOST_SUBDIR)/opcodes && \
4548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4549 CFLAGS="$(STAGE1_CFLAGS)" \
4550 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4551 LIBCFLAGS="$(LIBCFLAGS)" \
4552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4555 $(EXTRA_HOST_FLAGS) \
4556 $(STAGE1_FLAGS_TO_PASS) \
4557 TFLAGS="$(STAGE1_TFLAGS)" \
4558 $(TARGET-stage1-opcodes)
4560 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4561 clean-stage1: clean-stage1-opcodes
4562 clean-stage1-opcodes:
4563 @if [ $(current_stage) = stage1 ]; then \
4564 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4565 else \
4566 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4567 $(MAKE) stage1-start; \
4568 fi; \
4569 cd $(HOST_SUBDIR)/opcodes && \
4570 $(MAKE) $(EXTRA_HOST_FLAGS) \
4571 $(STAGE1_FLAGS_TO_PASS) clean
4572 @endif opcodes-bootstrap
4575 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4576 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4577 maybe-all-stage2-opcodes:
4578 maybe-clean-stage2-opcodes:
4579 @if opcodes-bootstrap
4580 maybe-all-stage2-opcodes: all-stage2-opcodes
4581 all-stage2: all-stage2-opcodes
4582 TARGET-stage2-opcodes = $(TARGET-opcodes)
4583 all-stage2-opcodes: configure-stage2-opcodes
4584 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4585 @r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 TFLAGS="$(STAGE2_TFLAGS)"; \
4588 $(HOST_EXPORTS) \
4589 $(POSTSTAGE1_HOST_EXPORTS) \
4590 cd $(HOST_SUBDIR)/opcodes && \
4592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4593 CFLAGS="$(STAGE2_CFLAGS)" \
4594 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4595 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4600 TFLAGS="$(STAGE2_TFLAGS)" \
4601 $(TARGET-stage2-opcodes)
4603 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4604 clean-stage2: clean-stage2-opcodes
4605 clean-stage2-opcodes:
4606 @if [ $(current_stage) = stage2 ]; then \
4607 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4608 else \
4609 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4610 $(MAKE) stage2-start; \
4611 fi; \
4612 cd $(HOST_SUBDIR)/opcodes && \
4613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4614 @endif opcodes-bootstrap
4617 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4618 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4619 maybe-all-stage3-opcodes:
4620 maybe-clean-stage3-opcodes:
4621 @if opcodes-bootstrap
4622 maybe-all-stage3-opcodes: all-stage3-opcodes
4623 all-stage3: all-stage3-opcodes
4624 TARGET-stage3-opcodes = $(TARGET-opcodes)
4625 all-stage3-opcodes: configure-stage3-opcodes
4626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4627 @r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629 TFLAGS="$(STAGE3_TFLAGS)"; \
4630 $(HOST_EXPORTS) \
4631 $(POSTSTAGE1_HOST_EXPORTS) \
4632 cd $(HOST_SUBDIR)/opcodes && \
4634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4635 CFLAGS="$(STAGE3_CFLAGS)" \
4636 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4637 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4642 TFLAGS="$(STAGE3_TFLAGS)" \
4643 $(TARGET-stage3-opcodes)
4645 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4646 clean-stage3: clean-stage3-opcodes
4647 clean-stage3-opcodes:
4648 @if [ $(current_stage) = stage3 ]; then \
4649 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4650 else \
4651 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4652 $(MAKE) stage3-start; \
4653 fi; \
4654 cd $(HOST_SUBDIR)/opcodes && \
4655 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4656 @endif opcodes-bootstrap
4659 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4660 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4661 maybe-all-stage4-opcodes:
4662 maybe-clean-stage4-opcodes:
4663 @if opcodes-bootstrap
4664 maybe-all-stage4-opcodes: all-stage4-opcodes
4665 all-stage4: all-stage4-opcodes
4666 TARGET-stage4-opcodes = $(TARGET-opcodes)
4667 all-stage4-opcodes: configure-stage4-opcodes
4668 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4669 @r=`${PWD_COMMAND}`; export r; \
4670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4671 TFLAGS="$(STAGE4_TFLAGS)"; \
4672 $(HOST_EXPORTS) \
4673 $(POSTSTAGE1_HOST_EXPORTS) \
4674 cd $(HOST_SUBDIR)/opcodes && \
4676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4677 CFLAGS="$(STAGE4_CFLAGS)" \
4678 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4679 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4680 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4681 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4682 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4683 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4684 TFLAGS="$(STAGE4_TFLAGS)" \
4685 $(TARGET-stage4-opcodes)
4687 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4688 clean-stage4: clean-stage4-opcodes
4689 clean-stage4-opcodes:
4690 @if [ $(current_stage) = stage4 ]; then \
4691 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4692 else \
4693 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4694 $(MAKE) stage4-start; \
4695 fi; \
4696 cd $(HOST_SUBDIR)/opcodes && \
4697 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4698 @endif opcodes-bootstrap
4701 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4702 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4703 maybe-all-stageprofile-opcodes:
4704 maybe-clean-stageprofile-opcodes:
4705 @if opcodes-bootstrap
4706 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4707 all-stageprofile: all-stageprofile-opcodes
4708 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4709 all-stageprofile-opcodes: configure-stageprofile-opcodes
4710 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4714 $(HOST_EXPORTS) \
4715 $(POSTSTAGE1_HOST_EXPORTS) \
4716 cd $(HOST_SUBDIR)/opcodes && \
4718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4719 CFLAGS="$(STAGEprofile_CFLAGS)" \
4720 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4721 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4725 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4726 TFLAGS="$(STAGEprofile_TFLAGS)" \
4727 $(TARGET-stageprofile-opcodes)
4729 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4730 clean-stageprofile: clean-stageprofile-opcodes
4731 clean-stageprofile-opcodes:
4732 @if [ $(current_stage) = stageprofile ]; then \
4733 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4734 else \
4735 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4736 $(MAKE) stageprofile-start; \
4737 fi; \
4738 cd $(HOST_SUBDIR)/opcodes && \
4739 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4740 @endif opcodes-bootstrap
4743 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4744 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4745 maybe-all-stagefeedback-opcodes:
4746 maybe-clean-stagefeedback-opcodes:
4747 @if opcodes-bootstrap
4748 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4749 all-stagefeedback: all-stagefeedback-opcodes
4750 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4751 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4752 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4753 @r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4756 $(HOST_EXPORTS) \
4757 $(POSTSTAGE1_HOST_EXPORTS) \
4758 cd $(HOST_SUBDIR)/opcodes && \
4760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4761 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4762 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4763 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4767 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4768 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4769 $(TARGET-stagefeedback-opcodes)
4771 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4772 clean-stagefeedback: clean-stagefeedback-opcodes
4773 clean-stagefeedback-opcodes:
4774 @if [ $(current_stage) = stagefeedback ]; then \
4775 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4776 else \
4777 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4778 $(MAKE) stagefeedback-start; \
4779 fi; \
4780 cd $(HOST_SUBDIR)/opcodes && \
4781 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4782 @endif opcodes-bootstrap
4785 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4786 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4787 maybe-all-stageautoprofile-opcodes:
4788 maybe-clean-stageautoprofile-opcodes:
4789 @if opcodes-bootstrap
4790 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4791 all-stageautoprofile: all-stageautoprofile-opcodes
4792 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4793 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4794 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4795 @r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4798 $(HOST_EXPORTS) \
4799 $(POSTSTAGE1_HOST_EXPORTS) \
4800 cd $(HOST_SUBDIR)/opcodes && \
4801 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4803 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4804 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4805 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4810 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4811 $(TARGET-stageautoprofile-opcodes)
4813 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4814 clean-stageautoprofile: clean-stageautoprofile-opcodes
4815 clean-stageautoprofile-opcodes:
4816 @if [ $(current_stage) = stageautoprofile ]; then \
4817 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4818 else \
4819 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4820 $(MAKE) stageautoprofile-start; \
4821 fi; \
4822 cd $(HOST_SUBDIR)/opcodes && \
4823 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4824 @endif opcodes-bootstrap
4827 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4828 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4829 maybe-all-stageautofeedback-opcodes:
4830 maybe-clean-stageautofeedback-opcodes:
4831 @if opcodes-bootstrap
4832 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4833 all-stageautofeedback: all-stageautofeedback-opcodes
4834 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4835 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4836 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4837 @r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4840 $(HOST_EXPORTS) \
4841 $(POSTSTAGE1_HOST_EXPORTS) \
4842 cd $(HOST_SUBDIR)/opcodes && \
4844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4845 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4846 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4847 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4852 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4853 $(TARGET-stageautofeedback-opcodes)
4855 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
4856 clean-stageautofeedback: clean-stageautofeedback-opcodes
4857 clean-stageautofeedback-opcodes:
4858 @if [ $(current_stage) = stageautofeedback ]; then \
4859 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4860 else \
4861 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
4862 $(MAKE) stageautofeedback-start; \
4863 fi; \
4864 cd $(HOST_SUBDIR)/opcodes && \
4865 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4866 @endif opcodes-bootstrap
4872 .PHONY: check-opcodes maybe-check-opcodes
4873 maybe-check-opcodes:
4874 @if opcodes
4875 maybe-check-opcodes: check-opcodes
4877 check-opcodes:
4878 @: $(MAKE); $(unstage)
4879 @r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4882 (cd $(HOST_SUBDIR)/opcodes && \
4883 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4885 @endif opcodes
4887 .PHONY: install-opcodes maybe-install-opcodes
4888 maybe-install-opcodes:
4889 @if opcodes
4890 maybe-install-opcodes: install-opcodes
4892 install-opcodes: installdirs
4893 @: $(MAKE); $(unstage)
4894 @r=`${PWD_COMMAND}`; export r; \
4895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4896 $(HOST_EXPORTS) \
4897 (cd $(HOST_SUBDIR)/opcodes && \
4898 $(MAKE) $(FLAGS_TO_PASS) install)
4900 @endif opcodes
4902 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4903 maybe-install-strip-opcodes:
4904 @if opcodes
4905 maybe-install-strip-opcodes: install-strip-opcodes
4907 install-strip-opcodes: installdirs
4908 @: $(MAKE); $(unstage)
4909 @r=`${PWD_COMMAND}`; export r; \
4910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4911 $(HOST_EXPORTS) \
4912 (cd $(HOST_SUBDIR)/opcodes && \
4913 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4915 @endif opcodes
4917 # Other targets (info, dvi, pdf, etc.)
4919 .PHONY: maybe-info-opcodes info-opcodes
4920 maybe-info-opcodes:
4921 @if opcodes
4922 maybe-info-opcodes: info-opcodes
4924 info-opcodes: \
4925 configure-opcodes
4926 @[ -f ./opcodes/Makefile ] || exit 0; \
4927 r=`${PWD_COMMAND}`; export r; \
4928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4929 $(HOST_EXPORTS) \
4930 for flag in $(EXTRA_HOST_FLAGS) ; do \
4931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4932 done; \
4933 echo "Doing info in opcodes"; \
4934 (cd $(HOST_SUBDIR)/opcodes && \
4935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4937 "RANLIB=$${RANLIB}" \
4938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4939 info) \
4940 || exit 1
4942 @endif opcodes
4944 .PHONY: maybe-dvi-opcodes dvi-opcodes
4945 maybe-dvi-opcodes:
4946 @if opcodes
4947 maybe-dvi-opcodes: dvi-opcodes
4949 dvi-opcodes: \
4950 configure-opcodes
4951 @[ -f ./opcodes/Makefile ] || exit 0; \
4952 r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 $(HOST_EXPORTS) \
4955 for flag in $(EXTRA_HOST_FLAGS) ; do \
4956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4957 done; \
4958 echo "Doing dvi in opcodes"; \
4959 (cd $(HOST_SUBDIR)/opcodes && \
4960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4962 "RANLIB=$${RANLIB}" \
4963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4964 dvi) \
4965 || exit 1
4967 @endif opcodes
4969 .PHONY: maybe-pdf-opcodes pdf-opcodes
4970 maybe-pdf-opcodes:
4971 @if opcodes
4972 maybe-pdf-opcodes: pdf-opcodes
4974 pdf-opcodes: \
4975 configure-opcodes
4976 @[ -f ./opcodes/Makefile ] || exit 0; \
4977 r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 $(HOST_EXPORTS) \
4980 for flag in $(EXTRA_HOST_FLAGS) ; do \
4981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4982 done; \
4983 echo "Doing pdf in opcodes"; \
4984 (cd $(HOST_SUBDIR)/opcodes && \
4985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4987 "RANLIB=$${RANLIB}" \
4988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4989 pdf) \
4990 || exit 1
4992 @endif opcodes
4994 .PHONY: maybe-html-opcodes html-opcodes
4995 maybe-html-opcodes:
4996 @if opcodes
4997 maybe-html-opcodes: html-opcodes
4999 html-opcodes: \
5000 configure-opcodes
5001 @[ -f ./opcodes/Makefile ] || exit 0; \
5002 r=`${PWD_COMMAND}`; export r; \
5003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5004 $(HOST_EXPORTS) \
5005 for flag in $(EXTRA_HOST_FLAGS) ; do \
5006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5007 done; \
5008 echo "Doing html in opcodes"; \
5009 (cd $(HOST_SUBDIR)/opcodes && \
5010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5012 "RANLIB=$${RANLIB}" \
5013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5014 html) \
5015 || exit 1
5017 @endif opcodes
5019 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5020 maybe-TAGS-opcodes:
5021 @if opcodes
5022 maybe-TAGS-opcodes: TAGS-opcodes
5024 TAGS-opcodes: \
5025 configure-opcodes
5026 @[ -f ./opcodes/Makefile ] || exit 0; \
5027 r=`${PWD_COMMAND}`; export r; \
5028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5029 $(HOST_EXPORTS) \
5030 for flag in $(EXTRA_HOST_FLAGS) ; do \
5031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5032 done; \
5033 echo "Doing TAGS in opcodes"; \
5034 (cd $(HOST_SUBDIR)/opcodes && \
5035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5037 "RANLIB=$${RANLIB}" \
5038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5039 TAGS) \
5040 || exit 1
5042 @endif opcodes
5044 .PHONY: maybe-install-info-opcodes install-info-opcodes
5045 maybe-install-info-opcodes:
5046 @if opcodes
5047 maybe-install-info-opcodes: install-info-opcodes
5049 install-info-opcodes: \
5050 configure-opcodes \
5051 info-opcodes
5052 @[ -f ./opcodes/Makefile ] || exit 0; \
5053 r=`${PWD_COMMAND}`; export r; \
5054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5055 $(HOST_EXPORTS) \
5056 for flag in $(EXTRA_HOST_FLAGS) ; do \
5057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5058 done; \
5059 echo "Doing install-info in opcodes"; \
5060 (cd $(HOST_SUBDIR)/opcodes && \
5061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5063 "RANLIB=$${RANLIB}" \
5064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5065 install-info) \
5066 || exit 1
5068 @endif opcodes
5070 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5071 maybe-install-pdf-opcodes:
5072 @if opcodes
5073 maybe-install-pdf-opcodes: install-pdf-opcodes
5075 install-pdf-opcodes: \
5076 configure-opcodes \
5077 pdf-opcodes
5078 @[ -f ./opcodes/Makefile ] || exit 0; \
5079 r=`${PWD_COMMAND}`; export r; \
5080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5081 $(HOST_EXPORTS) \
5082 for flag in $(EXTRA_HOST_FLAGS) ; do \
5083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5084 done; \
5085 echo "Doing install-pdf in opcodes"; \
5086 (cd $(HOST_SUBDIR)/opcodes && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5089 "RANLIB=$${RANLIB}" \
5090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5091 install-pdf) \
5092 || exit 1
5094 @endif opcodes
5096 .PHONY: maybe-install-html-opcodes install-html-opcodes
5097 maybe-install-html-opcodes:
5098 @if opcodes
5099 maybe-install-html-opcodes: install-html-opcodes
5101 install-html-opcodes: \
5102 configure-opcodes \
5103 html-opcodes
5104 @[ -f ./opcodes/Makefile ] || exit 0; \
5105 r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 $(HOST_EXPORTS) \
5108 for flag in $(EXTRA_HOST_FLAGS) ; do \
5109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5110 done; \
5111 echo "Doing install-html in opcodes"; \
5112 (cd $(HOST_SUBDIR)/opcodes && \
5113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5115 "RANLIB=$${RANLIB}" \
5116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5117 install-html) \
5118 || exit 1
5120 @endif opcodes
5122 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5123 maybe-installcheck-opcodes:
5124 @if opcodes
5125 maybe-installcheck-opcodes: installcheck-opcodes
5127 installcheck-opcodes: \
5128 configure-opcodes
5129 @[ -f ./opcodes/Makefile ] || exit 0; \
5130 r=`${PWD_COMMAND}`; export r; \
5131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5132 $(HOST_EXPORTS) \
5133 for flag in $(EXTRA_HOST_FLAGS) ; do \
5134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5135 done; \
5136 echo "Doing installcheck in opcodes"; \
5137 (cd $(HOST_SUBDIR)/opcodes && \
5138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5140 "RANLIB=$${RANLIB}" \
5141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5142 installcheck) \
5143 || exit 1
5145 @endif opcodes
5147 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5148 maybe-mostlyclean-opcodes:
5149 @if opcodes
5150 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5152 mostlyclean-opcodes:
5153 @[ -f ./opcodes/Makefile ] || exit 0; \
5154 r=`${PWD_COMMAND}`; export r; \
5155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5156 $(HOST_EXPORTS) \
5157 for flag in $(EXTRA_HOST_FLAGS) ; do \
5158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5159 done; \
5160 echo "Doing mostlyclean in opcodes"; \
5161 (cd $(HOST_SUBDIR)/opcodes && \
5162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5164 "RANLIB=$${RANLIB}" \
5165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5166 mostlyclean) \
5167 || exit 1
5169 @endif opcodes
5171 .PHONY: maybe-clean-opcodes clean-opcodes
5172 maybe-clean-opcodes:
5173 @if opcodes
5174 maybe-clean-opcodes: clean-opcodes
5176 clean-opcodes:
5177 @[ -f ./opcodes/Makefile ] || exit 0; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 $(HOST_EXPORTS) \
5181 for flag in $(EXTRA_HOST_FLAGS) ; do \
5182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5183 done; \
5184 echo "Doing clean in opcodes"; \
5185 (cd $(HOST_SUBDIR)/opcodes && \
5186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5188 "RANLIB=$${RANLIB}" \
5189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5190 clean) \
5191 || exit 1
5193 @endif opcodes
5195 .PHONY: maybe-distclean-opcodes distclean-opcodes
5196 maybe-distclean-opcodes:
5197 @if opcodes
5198 maybe-distclean-opcodes: distclean-opcodes
5200 distclean-opcodes:
5201 @[ -f ./opcodes/Makefile ] || exit 0; \
5202 r=`${PWD_COMMAND}`; export r; \
5203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5204 $(HOST_EXPORTS) \
5205 for flag in $(EXTRA_HOST_FLAGS) ; do \
5206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5207 done; \
5208 echo "Doing distclean in opcodes"; \
5209 (cd $(HOST_SUBDIR)/opcodes && \
5210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5212 "RANLIB=$${RANLIB}" \
5213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5214 distclean) \
5215 || exit 1
5217 @endif opcodes
5219 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5220 maybe-maintainer-clean-opcodes:
5221 @if opcodes
5222 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5224 maintainer-clean-opcodes:
5225 @[ -f ./opcodes/Makefile ] || exit 0; \
5226 r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 $(HOST_EXPORTS) \
5229 for flag in $(EXTRA_HOST_FLAGS) ; do \
5230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5231 done; \
5232 echo "Doing maintainer-clean in opcodes"; \
5233 (cd $(HOST_SUBDIR)/opcodes && \
5234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5236 "RANLIB=$${RANLIB}" \
5237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5238 maintainer-clean) \
5239 || exit 1
5241 @endif opcodes
5245 .PHONY: configure-binutils maybe-configure-binutils
5246 maybe-configure-binutils:
5247 @if gcc-bootstrap
5248 configure-binutils: stage_current
5249 @endif gcc-bootstrap
5250 @if binutils
5251 maybe-configure-binutils: configure-binutils
5252 configure-binutils:
5253 @r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5257 $(HOST_EXPORTS) \
5258 echo Configuring in $(HOST_SUBDIR)/binutils; \
5259 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5260 case $(srcdir) in \
5261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5262 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5264 esac; \
5265 module_srcdir=binutils; \
5266 $(SHELL) \
5267 $$s/$$module_srcdir/configure \
5268 --srcdir=$${topdir}/$$module_srcdir \
5269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5270 --target=${target_alias} \
5271 || exit 1
5272 @endif binutils
5276 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5277 maybe-configure-stage1-binutils:
5278 @if binutils-bootstrap
5279 maybe-configure-stage1-binutils: configure-stage1-binutils
5280 configure-stage1-binutils:
5281 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5283 @r=`${PWD_COMMAND}`; export r; \
5284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5285 TFLAGS="$(STAGE1_TFLAGS)"; \
5286 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5287 $(HOST_EXPORTS) \
5288 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5289 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5290 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5291 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5293 cd $(HOST_SUBDIR)/binutils || exit 1; \
5294 case $(srcdir) in \
5295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5296 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5298 esac; \
5299 module_srcdir=binutils; \
5300 $(SHELL) $$s/$$module_srcdir/configure \
5301 --srcdir=$${topdir}/$$module_srcdir \
5302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5303 --target=${target_alias} \
5305 $(STAGE1_CONFIGURE_FLAGS)
5306 @endif binutils-bootstrap
5308 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5309 maybe-configure-stage2-binutils:
5310 @if binutils-bootstrap
5311 maybe-configure-stage2-binutils: configure-stage2-binutils
5312 configure-stage2-binutils:
5313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5315 @r=`${PWD_COMMAND}`; export r; \
5316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5317 TFLAGS="$(STAGE2_TFLAGS)"; \
5318 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5319 $(HOST_EXPORTS) \
5320 $(POSTSTAGE1_HOST_EXPORTS) \
5321 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5322 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5323 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5324 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5326 cd $(HOST_SUBDIR)/binutils || exit 1; \
5327 case $(srcdir) in \
5328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5329 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5331 esac; \
5332 module_srcdir=binutils; \
5333 $(SHELL) $$s/$$module_srcdir/configure \
5334 --srcdir=$${topdir}/$$module_srcdir \
5335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5336 --target=${target_alias} \
5337 --with-build-libsubdir=$(HOST_SUBDIR) \
5338 $(STAGE2_CONFIGURE_FLAGS)
5339 @endif binutils-bootstrap
5341 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5342 maybe-configure-stage3-binutils:
5343 @if binutils-bootstrap
5344 maybe-configure-stage3-binutils: configure-stage3-binutils
5345 configure-stage3-binutils:
5346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5348 @r=`${PWD_COMMAND}`; export r; \
5349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5350 TFLAGS="$(STAGE3_TFLAGS)"; \
5351 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5352 $(HOST_EXPORTS) \
5353 $(POSTSTAGE1_HOST_EXPORTS) \
5354 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5355 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5356 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5357 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5359 cd $(HOST_SUBDIR)/binutils || exit 1; \
5360 case $(srcdir) in \
5361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5362 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5364 esac; \
5365 module_srcdir=binutils; \
5366 $(SHELL) $$s/$$module_srcdir/configure \
5367 --srcdir=$${topdir}/$$module_srcdir \
5368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5369 --target=${target_alias} \
5370 --with-build-libsubdir=$(HOST_SUBDIR) \
5371 $(STAGE3_CONFIGURE_FLAGS)
5372 @endif binutils-bootstrap
5374 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5375 maybe-configure-stage4-binutils:
5376 @if binutils-bootstrap
5377 maybe-configure-stage4-binutils: configure-stage4-binutils
5378 configure-stage4-binutils:
5379 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5381 @r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 TFLAGS="$(STAGE4_TFLAGS)"; \
5384 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5385 $(HOST_EXPORTS) \
5386 $(POSTSTAGE1_HOST_EXPORTS) \
5387 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5388 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5389 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5390 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5392 cd $(HOST_SUBDIR)/binutils || exit 1; \
5393 case $(srcdir) in \
5394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5395 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5397 esac; \
5398 module_srcdir=binutils; \
5399 $(SHELL) $$s/$$module_srcdir/configure \
5400 --srcdir=$${topdir}/$$module_srcdir \
5401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5402 --target=${target_alias} \
5403 --with-build-libsubdir=$(HOST_SUBDIR) \
5404 $(STAGE4_CONFIGURE_FLAGS)
5405 @endif binutils-bootstrap
5407 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5408 maybe-configure-stageprofile-binutils:
5409 @if binutils-bootstrap
5410 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5411 configure-stageprofile-binutils:
5412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5414 @r=`${PWD_COMMAND}`; export r; \
5415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5416 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5417 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5418 $(HOST_EXPORTS) \
5419 $(POSTSTAGE1_HOST_EXPORTS) \
5420 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5421 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5422 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5423 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5425 cd $(HOST_SUBDIR)/binutils || exit 1; \
5426 case $(srcdir) in \
5427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5428 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5430 esac; \
5431 module_srcdir=binutils; \
5432 $(SHELL) $$s/$$module_srcdir/configure \
5433 --srcdir=$${topdir}/$$module_srcdir \
5434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5435 --target=${target_alias} \
5436 --with-build-libsubdir=$(HOST_SUBDIR) \
5437 $(STAGEprofile_CONFIGURE_FLAGS)
5438 @endif binutils-bootstrap
5440 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5441 maybe-configure-stagefeedback-binutils:
5442 @if binutils-bootstrap
5443 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5444 configure-stagefeedback-binutils:
5445 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5447 @r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5450 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5451 $(HOST_EXPORTS) \
5452 $(POSTSTAGE1_HOST_EXPORTS) \
5453 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5454 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5455 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5456 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5458 cd $(HOST_SUBDIR)/binutils || exit 1; \
5459 case $(srcdir) in \
5460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5461 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5463 esac; \
5464 module_srcdir=binutils; \
5465 $(SHELL) $$s/$$module_srcdir/configure \
5466 --srcdir=$${topdir}/$$module_srcdir \
5467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5468 --target=${target_alias} \
5469 --with-build-libsubdir=$(HOST_SUBDIR) \
5470 $(STAGEfeedback_CONFIGURE_FLAGS)
5471 @endif binutils-bootstrap
5473 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5474 maybe-configure-stageautoprofile-binutils:
5475 @if binutils-bootstrap
5476 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5477 configure-stageautoprofile-binutils:
5478 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5480 @r=`${PWD_COMMAND}`; export r; \
5481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5482 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5483 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5484 $(HOST_EXPORTS) \
5485 $(POSTSTAGE1_HOST_EXPORTS) \
5486 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5487 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5488 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5489 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5491 cd $(HOST_SUBDIR)/binutils || exit 1; \
5492 case $(srcdir) in \
5493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5494 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5496 esac; \
5497 module_srcdir=binutils; \
5498 $(SHELL) $$s/$$module_srcdir/configure \
5499 --srcdir=$${topdir}/$$module_srcdir \
5500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5501 --target=${target_alias} \
5502 --with-build-libsubdir=$(HOST_SUBDIR) \
5503 $(STAGEautoprofile_CONFIGURE_FLAGS)
5504 @endif binutils-bootstrap
5506 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5507 maybe-configure-stageautofeedback-binutils:
5508 @if binutils-bootstrap
5509 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5510 configure-stageautofeedback-binutils:
5511 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5513 @r=`${PWD_COMMAND}`; export r; \
5514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5515 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5516 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5517 $(HOST_EXPORTS) \
5518 $(POSTSTAGE1_HOST_EXPORTS) \
5519 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5520 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5521 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5522 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5524 cd $(HOST_SUBDIR)/binutils || exit 1; \
5525 case $(srcdir) in \
5526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5527 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5529 esac; \
5530 module_srcdir=binutils; \
5531 $(SHELL) $$s/$$module_srcdir/configure \
5532 --srcdir=$${topdir}/$$module_srcdir \
5533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5534 --target=${target_alias} \
5535 --with-build-libsubdir=$(HOST_SUBDIR) \
5536 $(STAGEautofeedback_CONFIGURE_FLAGS)
5537 @endif binutils-bootstrap
5543 .PHONY: all-binutils maybe-all-binutils
5544 maybe-all-binutils:
5545 @if gcc-bootstrap
5546 all-binutils: stage_current
5547 @endif gcc-bootstrap
5548 @if binutils
5549 TARGET-binutils=all
5550 maybe-all-binutils: all-binutils
5551 all-binutils: configure-binutils
5552 @r=`${PWD_COMMAND}`; export r; \
5553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 $(HOST_EXPORTS) \
5555 (cd $(HOST_SUBDIR)/binutils && \
5556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5557 $(TARGET-binutils))
5558 @endif binutils
5562 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5563 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5564 maybe-all-stage1-binutils:
5565 maybe-clean-stage1-binutils:
5566 @if binutils-bootstrap
5567 maybe-all-stage1-binutils: all-stage1-binutils
5568 all-stage1: all-stage1-binutils
5569 TARGET-stage1-binutils = $(TARGET-binutils)
5570 all-stage1-binutils: configure-stage1-binutils
5571 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5572 @r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 TFLAGS="$(STAGE1_TFLAGS)"; \
5575 $(HOST_EXPORTS) \
5576 cd $(HOST_SUBDIR)/binutils && \
5578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5579 CFLAGS="$(STAGE1_CFLAGS)" \
5580 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5581 LIBCFLAGS="$(LIBCFLAGS)" \
5582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5585 $(EXTRA_HOST_FLAGS) \
5586 $(STAGE1_FLAGS_TO_PASS) \
5587 TFLAGS="$(STAGE1_TFLAGS)" \
5588 $(TARGET-stage1-binutils)
5590 maybe-clean-stage1-binutils: clean-stage1-binutils
5591 clean-stage1: clean-stage1-binutils
5592 clean-stage1-binutils:
5593 @if [ $(current_stage) = stage1 ]; then \
5594 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5595 else \
5596 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5597 $(MAKE) stage1-start; \
5598 fi; \
5599 cd $(HOST_SUBDIR)/binutils && \
5600 $(MAKE) $(EXTRA_HOST_FLAGS) \
5601 $(STAGE1_FLAGS_TO_PASS) clean
5602 @endif binutils-bootstrap
5605 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5606 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5607 maybe-all-stage2-binutils:
5608 maybe-clean-stage2-binutils:
5609 @if binutils-bootstrap
5610 maybe-all-stage2-binutils: all-stage2-binutils
5611 all-stage2: all-stage2-binutils
5612 TARGET-stage2-binutils = $(TARGET-binutils)
5613 all-stage2-binutils: configure-stage2-binutils
5614 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5615 @r=`${PWD_COMMAND}`; export r; \
5616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617 TFLAGS="$(STAGE2_TFLAGS)"; \
5618 $(HOST_EXPORTS) \
5619 $(POSTSTAGE1_HOST_EXPORTS) \
5620 cd $(HOST_SUBDIR)/binutils && \
5622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5623 CFLAGS="$(STAGE2_CFLAGS)" \
5624 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5625 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5630 TFLAGS="$(STAGE2_TFLAGS)" \
5631 $(TARGET-stage2-binutils)
5633 maybe-clean-stage2-binutils: clean-stage2-binutils
5634 clean-stage2: clean-stage2-binutils
5635 clean-stage2-binutils:
5636 @if [ $(current_stage) = stage2 ]; then \
5637 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5638 else \
5639 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5640 $(MAKE) stage2-start; \
5641 fi; \
5642 cd $(HOST_SUBDIR)/binutils && \
5643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5644 @endif binutils-bootstrap
5647 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5648 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5649 maybe-all-stage3-binutils:
5650 maybe-clean-stage3-binutils:
5651 @if binutils-bootstrap
5652 maybe-all-stage3-binutils: all-stage3-binutils
5653 all-stage3: all-stage3-binutils
5654 TARGET-stage3-binutils = $(TARGET-binutils)
5655 all-stage3-binutils: configure-stage3-binutils
5656 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5657 @r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 TFLAGS="$(STAGE3_TFLAGS)"; \
5660 $(HOST_EXPORTS) \
5661 $(POSTSTAGE1_HOST_EXPORTS) \
5662 cd $(HOST_SUBDIR)/binutils && \
5664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5665 CFLAGS="$(STAGE3_CFLAGS)" \
5666 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5667 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5672 TFLAGS="$(STAGE3_TFLAGS)" \
5673 $(TARGET-stage3-binutils)
5675 maybe-clean-stage3-binutils: clean-stage3-binutils
5676 clean-stage3: clean-stage3-binutils
5677 clean-stage3-binutils:
5678 @if [ $(current_stage) = stage3 ]; then \
5679 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5680 else \
5681 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5682 $(MAKE) stage3-start; \
5683 fi; \
5684 cd $(HOST_SUBDIR)/binutils && \
5685 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5686 @endif binutils-bootstrap
5689 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5690 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5691 maybe-all-stage4-binutils:
5692 maybe-clean-stage4-binutils:
5693 @if binutils-bootstrap
5694 maybe-all-stage4-binutils: all-stage4-binutils
5695 all-stage4: all-stage4-binutils
5696 TARGET-stage4-binutils = $(TARGET-binutils)
5697 all-stage4-binutils: configure-stage4-binutils
5698 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5699 @r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 TFLAGS="$(STAGE4_TFLAGS)"; \
5702 $(HOST_EXPORTS) \
5703 $(POSTSTAGE1_HOST_EXPORTS) \
5704 cd $(HOST_SUBDIR)/binutils && \
5706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5707 CFLAGS="$(STAGE4_CFLAGS)" \
5708 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5709 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5714 TFLAGS="$(STAGE4_TFLAGS)" \
5715 $(TARGET-stage4-binutils)
5717 maybe-clean-stage4-binutils: clean-stage4-binutils
5718 clean-stage4: clean-stage4-binutils
5719 clean-stage4-binutils:
5720 @if [ $(current_stage) = stage4 ]; then \
5721 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5722 else \
5723 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5724 $(MAKE) stage4-start; \
5725 fi; \
5726 cd $(HOST_SUBDIR)/binutils && \
5727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5728 @endif binutils-bootstrap
5731 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5732 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5733 maybe-all-stageprofile-binutils:
5734 maybe-clean-stageprofile-binutils:
5735 @if binutils-bootstrap
5736 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5737 all-stageprofile: all-stageprofile-binutils
5738 TARGET-stageprofile-binutils = $(TARGET-binutils)
5739 all-stageprofile-binutils: configure-stageprofile-binutils
5740 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5741 @r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5744 $(HOST_EXPORTS) \
5745 $(POSTSTAGE1_HOST_EXPORTS) \
5746 cd $(HOST_SUBDIR)/binutils && \
5748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5749 CFLAGS="$(STAGEprofile_CFLAGS)" \
5750 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5751 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5756 TFLAGS="$(STAGEprofile_TFLAGS)" \
5757 $(TARGET-stageprofile-binutils)
5759 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5760 clean-stageprofile: clean-stageprofile-binutils
5761 clean-stageprofile-binutils:
5762 @if [ $(current_stage) = stageprofile ]; then \
5763 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5764 else \
5765 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5766 $(MAKE) stageprofile-start; \
5767 fi; \
5768 cd $(HOST_SUBDIR)/binutils && \
5769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5770 @endif binutils-bootstrap
5773 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5774 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5775 maybe-all-stagefeedback-binutils:
5776 maybe-clean-stagefeedback-binutils:
5777 @if binutils-bootstrap
5778 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5779 all-stagefeedback: all-stagefeedback-binutils
5780 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5781 all-stagefeedback-binutils: configure-stagefeedback-binutils
5782 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5783 @r=`${PWD_COMMAND}`; export r; \
5784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5786 $(HOST_EXPORTS) \
5787 $(POSTSTAGE1_HOST_EXPORTS) \
5788 cd $(HOST_SUBDIR)/binutils && \
5790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5791 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5792 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5793 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5797 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5798 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5799 $(TARGET-stagefeedback-binutils)
5801 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5802 clean-stagefeedback: clean-stagefeedback-binutils
5803 clean-stagefeedback-binutils:
5804 @if [ $(current_stage) = stagefeedback ]; then \
5805 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5806 else \
5807 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5808 $(MAKE) stagefeedback-start; \
5809 fi; \
5810 cd $(HOST_SUBDIR)/binutils && \
5811 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5812 @endif binutils-bootstrap
5815 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
5816 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
5817 maybe-all-stageautoprofile-binutils:
5818 maybe-clean-stageautoprofile-binutils:
5819 @if binutils-bootstrap
5820 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
5821 all-stageautoprofile: all-stageautoprofile-binutils
5822 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
5823 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
5824 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5825 @r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5828 $(HOST_EXPORTS) \
5829 $(POSTSTAGE1_HOST_EXPORTS) \
5830 cd $(HOST_SUBDIR)/binutils && \
5831 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5833 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5834 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5835 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5840 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5841 $(TARGET-stageautoprofile-binutils)
5843 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
5844 clean-stageautoprofile: clean-stageautoprofile-binutils
5845 clean-stageautoprofile-binutils:
5846 @if [ $(current_stage) = stageautoprofile ]; then \
5847 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5848 else \
5849 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
5850 $(MAKE) stageautoprofile-start; \
5851 fi; \
5852 cd $(HOST_SUBDIR)/binutils && \
5853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5854 @endif binutils-bootstrap
5857 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
5858 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
5859 maybe-all-stageautofeedback-binutils:
5860 maybe-clean-stageautofeedback-binutils:
5861 @if binutils-bootstrap
5862 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
5863 all-stageautofeedback: all-stageautofeedback-binutils
5864 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
5865 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
5866 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5867 @r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5870 $(HOST_EXPORTS) \
5871 $(POSTSTAGE1_HOST_EXPORTS) \
5872 cd $(HOST_SUBDIR)/binutils && \
5874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5875 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5876 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5877 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5882 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5883 $(TARGET-stageautofeedback-binutils)
5885 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
5886 clean-stageautofeedback: clean-stageautofeedback-binutils
5887 clean-stageautofeedback-binutils:
5888 @if [ $(current_stage) = stageautofeedback ]; then \
5889 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5890 else \
5891 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
5892 $(MAKE) stageautofeedback-start; \
5893 fi; \
5894 cd $(HOST_SUBDIR)/binutils && \
5895 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5896 @endif binutils-bootstrap
5902 .PHONY: check-binutils maybe-check-binutils
5903 maybe-check-binutils:
5904 @if binutils
5905 maybe-check-binutils: check-binutils
5907 check-binutils:
5908 @: $(MAKE); $(unstage)
5909 @r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5912 (cd $(HOST_SUBDIR)/binutils && \
5913 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5915 @endif binutils
5917 .PHONY: install-binutils maybe-install-binutils
5918 maybe-install-binutils:
5919 @if binutils
5920 maybe-install-binutils: install-binutils
5922 install-binutils: installdirs
5923 @: $(MAKE); $(unstage)
5924 @r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 $(HOST_EXPORTS) \
5927 (cd $(HOST_SUBDIR)/binutils && \
5928 $(MAKE) $(FLAGS_TO_PASS) install)
5930 @endif binutils
5932 .PHONY: install-strip-binutils maybe-install-strip-binutils
5933 maybe-install-strip-binutils:
5934 @if binutils
5935 maybe-install-strip-binutils: install-strip-binutils
5937 install-strip-binutils: installdirs
5938 @: $(MAKE); $(unstage)
5939 @r=`${PWD_COMMAND}`; export r; \
5940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5941 $(HOST_EXPORTS) \
5942 (cd $(HOST_SUBDIR)/binutils && \
5943 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5945 @endif binutils
5947 # Other targets (info, dvi, pdf, etc.)
5949 .PHONY: maybe-info-binutils info-binutils
5950 maybe-info-binutils:
5951 @if binutils
5952 maybe-info-binutils: info-binutils
5954 info-binutils: \
5955 configure-binutils
5956 @[ -f ./binutils/Makefile ] || exit 0; \
5957 r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 $(HOST_EXPORTS) \
5960 for flag in $(EXTRA_HOST_FLAGS) ; do \
5961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5962 done; \
5963 echo "Doing info in binutils"; \
5964 (cd $(HOST_SUBDIR)/binutils && \
5965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5967 "RANLIB=$${RANLIB}" \
5968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5969 info) \
5970 || exit 1
5972 @endif binutils
5974 .PHONY: maybe-dvi-binutils dvi-binutils
5975 maybe-dvi-binutils:
5976 @if binutils
5977 maybe-dvi-binutils: dvi-binutils
5979 dvi-binutils: \
5980 configure-binutils
5981 @[ -f ./binutils/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5984 $(HOST_EXPORTS) \
5985 for flag in $(EXTRA_HOST_FLAGS) ; do \
5986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5987 done; \
5988 echo "Doing dvi in binutils"; \
5989 (cd $(HOST_SUBDIR)/binutils && \
5990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5992 "RANLIB=$${RANLIB}" \
5993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5994 dvi) \
5995 || exit 1
5997 @endif binutils
5999 .PHONY: maybe-pdf-binutils pdf-binutils
6000 maybe-pdf-binutils:
6001 @if binutils
6002 maybe-pdf-binutils: pdf-binutils
6004 pdf-binutils: \
6005 configure-binutils
6006 @[ -f ./binutils/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing pdf in binutils"; \
6014 (cd $(HOST_SUBDIR)/binutils && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6019 pdf) \
6020 || exit 1
6022 @endif binutils
6024 .PHONY: maybe-html-binutils html-binutils
6025 maybe-html-binutils:
6026 @if binutils
6027 maybe-html-binutils: html-binutils
6029 html-binutils: \
6030 configure-binutils
6031 @[ -f ./binutils/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(HOST_EXPORTS) \
6035 for flag in $(EXTRA_HOST_FLAGS) ; do \
6036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6037 done; \
6038 echo "Doing html in binutils"; \
6039 (cd $(HOST_SUBDIR)/binutils && \
6040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6042 "RANLIB=$${RANLIB}" \
6043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6044 html) \
6045 || exit 1
6047 @endif binutils
6049 .PHONY: maybe-TAGS-binutils TAGS-binutils
6050 maybe-TAGS-binutils:
6051 @if binutils
6052 maybe-TAGS-binutils: TAGS-binutils
6054 TAGS-binutils: \
6055 configure-binutils
6056 @[ -f ./binutils/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 $(HOST_EXPORTS) \
6060 for flag in $(EXTRA_HOST_FLAGS) ; do \
6061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6062 done; \
6063 echo "Doing TAGS in binutils"; \
6064 (cd $(HOST_SUBDIR)/binutils && \
6065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6067 "RANLIB=$${RANLIB}" \
6068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6069 TAGS) \
6070 || exit 1
6072 @endif binutils
6074 .PHONY: maybe-install-info-binutils install-info-binutils
6075 maybe-install-info-binutils:
6076 @if binutils
6077 maybe-install-info-binutils: install-info-binutils
6079 install-info-binutils: \
6080 configure-binutils \
6081 info-binutils
6082 @[ -f ./binutils/Makefile ] || exit 0; \
6083 r=`${PWD_COMMAND}`; export r; \
6084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6085 $(HOST_EXPORTS) \
6086 for flag in $(EXTRA_HOST_FLAGS) ; do \
6087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6088 done; \
6089 echo "Doing install-info in binutils"; \
6090 (cd $(HOST_SUBDIR)/binutils && \
6091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6093 "RANLIB=$${RANLIB}" \
6094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6095 install-info) \
6096 || exit 1
6098 @endif binutils
6100 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6101 maybe-install-pdf-binutils:
6102 @if binutils
6103 maybe-install-pdf-binutils: install-pdf-binutils
6105 install-pdf-binutils: \
6106 configure-binutils \
6107 pdf-binutils
6108 @[ -f ./binutils/Makefile ] || exit 0; \
6109 r=`${PWD_COMMAND}`; export r; \
6110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6111 $(HOST_EXPORTS) \
6112 for flag in $(EXTRA_HOST_FLAGS) ; do \
6113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6114 done; \
6115 echo "Doing install-pdf in binutils"; \
6116 (cd $(HOST_SUBDIR)/binutils && \
6117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6119 "RANLIB=$${RANLIB}" \
6120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6121 install-pdf) \
6122 || exit 1
6124 @endif binutils
6126 .PHONY: maybe-install-html-binutils install-html-binutils
6127 maybe-install-html-binutils:
6128 @if binutils
6129 maybe-install-html-binutils: install-html-binutils
6131 install-html-binutils: \
6132 configure-binutils \
6133 html-binutils
6134 @[ -f ./binutils/Makefile ] || exit 0; \
6135 r=`${PWD_COMMAND}`; export r; \
6136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6137 $(HOST_EXPORTS) \
6138 for flag in $(EXTRA_HOST_FLAGS) ; do \
6139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6140 done; \
6141 echo "Doing install-html in binutils"; \
6142 (cd $(HOST_SUBDIR)/binutils && \
6143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6145 "RANLIB=$${RANLIB}" \
6146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6147 install-html) \
6148 || exit 1
6150 @endif binutils
6152 .PHONY: maybe-installcheck-binutils installcheck-binutils
6153 maybe-installcheck-binutils:
6154 @if binutils
6155 maybe-installcheck-binutils: installcheck-binutils
6157 installcheck-binutils: \
6158 configure-binutils
6159 @[ -f ./binutils/Makefile ] || exit 0; \
6160 r=`${PWD_COMMAND}`; export r; \
6161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6162 $(HOST_EXPORTS) \
6163 for flag in $(EXTRA_HOST_FLAGS) ; do \
6164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6165 done; \
6166 echo "Doing installcheck in binutils"; \
6167 (cd $(HOST_SUBDIR)/binutils && \
6168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6170 "RANLIB=$${RANLIB}" \
6171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6172 installcheck) \
6173 || exit 1
6175 @endif binutils
6177 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6178 maybe-mostlyclean-binutils:
6179 @if binutils
6180 maybe-mostlyclean-binutils: mostlyclean-binutils
6182 mostlyclean-binutils:
6183 @[ -f ./binutils/Makefile ] || exit 0; \
6184 r=`${PWD_COMMAND}`; export r; \
6185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6186 $(HOST_EXPORTS) \
6187 for flag in $(EXTRA_HOST_FLAGS) ; do \
6188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6189 done; \
6190 echo "Doing mostlyclean in binutils"; \
6191 (cd $(HOST_SUBDIR)/binutils && \
6192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6194 "RANLIB=$${RANLIB}" \
6195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6196 mostlyclean) \
6197 || exit 1
6199 @endif binutils
6201 .PHONY: maybe-clean-binutils clean-binutils
6202 maybe-clean-binutils:
6203 @if binutils
6204 maybe-clean-binutils: clean-binutils
6206 clean-binutils:
6207 @[ -f ./binutils/Makefile ] || exit 0; \
6208 r=`${PWD_COMMAND}`; export r; \
6209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6210 $(HOST_EXPORTS) \
6211 for flag in $(EXTRA_HOST_FLAGS) ; do \
6212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6213 done; \
6214 echo "Doing clean in binutils"; \
6215 (cd $(HOST_SUBDIR)/binutils && \
6216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6218 "RANLIB=$${RANLIB}" \
6219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6220 clean) \
6221 || exit 1
6223 @endif binutils
6225 .PHONY: maybe-distclean-binutils distclean-binutils
6226 maybe-distclean-binutils:
6227 @if binutils
6228 maybe-distclean-binutils: distclean-binutils
6230 distclean-binutils:
6231 @[ -f ./binutils/Makefile ] || exit 0; \
6232 r=`${PWD_COMMAND}`; export r; \
6233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6234 $(HOST_EXPORTS) \
6235 for flag in $(EXTRA_HOST_FLAGS) ; do \
6236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6237 done; \
6238 echo "Doing distclean in binutils"; \
6239 (cd $(HOST_SUBDIR)/binutils && \
6240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6242 "RANLIB=$${RANLIB}" \
6243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6244 distclean) \
6245 || exit 1
6247 @endif binutils
6249 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6250 maybe-maintainer-clean-binutils:
6251 @if binutils
6252 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6254 maintainer-clean-binutils:
6255 @[ -f ./binutils/Makefile ] || exit 0; \
6256 r=`${PWD_COMMAND}`; export r; \
6257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6258 $(HOST_EXPORTS) \
6259 for flag in $(EXTRA_HOST_FLAGS) ; do \
6260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6261 done; \
6262 echo "Doing maintainer-clean in binutils"; \
6263 (cd $(HOST_SUBDIR)/binutils && \
6264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6266 "RANLIB=$${RANLIB}" \
6267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6268 maintainer-clean) \
6269 || exit 1
6271 @endif binutils
6275 .PHONY: configure-bison maybe-configure-bison
6276 maybe-configure-bison:
6277 @if gcc-bootstrap
6278 configure-bison: stage_current
6279 @endif gcc-bootstrap
6280 @if bison
6281 maybe-configure-bison: configure-bison
6282 configure-bison:
6283 @: $(MAKE); $(unstage)
6284 @r=`${PWD_COMMAND}`; export r; \
6285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6286 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6288 $(HOST_EXPORTS) \
6289 echo Configuring in $(HOST_SUBDIR)/bison; \
6290 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6291 case $(srcdir) in \
6292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6293 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6295 esac; \
6296 module_srcdir=bison; \
6297 $(SHELL) \
6298 $$s/$$module_srcdir/configure \
6299 --srcdir=$${topdir}/$$module_srcdir \
6300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6301 --target=${target_alias} \
6302 || exit 1
6303 @endif bison
6309 .PHONY: all-bison maybe-all-bison
6310 maybe-all-bison:
6311 @if gcc-bootstrap
6312 all-bison: stage_current
6313 @endif gcc-bootstrap
6314 @if bison
6315 TARGET-bison=all
6316 maybe-all-bison: all-bison
6317 all-bison: configure-bison
6318 @: $(MAKE); $(unstage)
6319 @r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6321 $(HOST_EXPORTS) \
6322 (cd $(HOST_SUBDIR)/bison && \
6323 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6324 $(TARGET-bison))
6325 @endif bison
6330 .PHONY: check-bison maybe-check-bison
6331 maybe-check-bison:
6332 @if bison
6333 maybe-check-bison: check-bison
6335 # This module is only tested in a native toolchain.
6336 check-bison:
6337 @: $(MAKE); $(unstage)
6338 @if [ '$(host)' = '$(target)' ]; then \
6339 r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 $(HOST_EXPORTS) \
6342 (cd $(HOST_SUBDIR)/bison && \
6343 $(MAKE) $(FLAGS_TO_PASS) check)
6346 @endif bison
6348 .PHONY: install-bison maybe-install-bison
6349 maybe-install-bison:
6350 @if bison
6351 maybe-install-bison: install-bison
6353 install-bison: installdirs
6354 @: $(MAKE); $(unstage)
6355 @r=`${PWD_COMMAND}`; export r; \
6356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6357 $(HOST_EXPORTS) \
6358 (cd $(HOST_SUBDIR)/bison && \
6359 $(MAKE) $(FLAGS_TO_PASS) install)
6361 @endif bison
6363 .PHONY: install-strip-bison maybe-install-strip-bison
6364 maybe-install-strip-bison:
6365 @if bison
6366 maybe-install-strip-bison: install-strip-bison
6368 install-strip-bison: installdirs
6369 @: $(MAKE); $(unstage)
6370 @r=`${PWD_COMMAND}`; export r; \
6371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 $(HOST_EXPORTS) \
6373 (cd $(HOST_SUBDIR)/bison && \
6374 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6376 @endif bison
6378 # Other targets (info, dvi, pdf, etc.)
6380 .PHONY: maybe-info-bison info-bison
6381 maybe-info-bison:
6382 @if bison
6383 maybe-info-bison: info-bison
6385 info-bison: \
6386 configure-bison
6387 @: $(MAKE); $(unstage)
6388 @[ -f ./bison/Makefile ] || exit 0; \
6389 r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 $(HOST_EXPORTS) \
6392 for flag in $(EXTRA_HOST_FLAGS) ; do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6394 done; \
6395 echo "Doing info in bison"; \
6396 (cd $(HOST_SUBDIR)/bison && \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6401 info) \
6402 || exit 1
6404 @endif bison
6406 .PHONY: maybe-dvi-bison dvi-bison
6407 maybe-dvi-bison:
6408 @if bison
6409 maybe-dvi-bison: dvi-bison
6411 dvi-bison: \
6412 configure-bison
6413 @: $(MAKE); $(unstage)
6414 @[ -f ./bison/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing dvi in bison"; \
6422 (cd $(HOST_SUBDIR)/bison && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6427 dvi) \
6428 || exit 1
6430 @endif bison
6432 .PHONY: maybe-pdf-bison pdf-bison
6433 maybe-pdf-bison:
6434 @if bison
6435 maybe-pdf-bison: pdf-bison
6437 pdf-bison: \
6438 configure-bison
6439 @: $(MAKE); $(unstage)
6440 @[ -f ./bison/Makefile ] || exit 0; \
6441 r=`${PWD_COMMAND}`; export r; \
6442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6443 $(HOST_EXPORTS) \
6444 for flag in $(EXTRA_HOST_FLAGS) ; do \
6445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6446 done; \
6447 echo "Doing pdf in bison"; \
6448 (cd $(HOST_SUBDIR)/bison && \
6449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6451 "RANLIB=$${RANLIB}" \
6452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6453 pdf) \
6454 || exit 1
6456 @endif bison
6458 .PHONY: maybe-html-bison html-bison
6459 maybe-html-bison:
6460 @if bison
6461 maybe-html-bison: html-bison
6463 html-bison: \
6464 configure-bison
6465 @: $(MAKE); $(unstage)
6466 @[ -f ./bison/Makefile ] || exit 0; \
6467 r=`${PWD_COMMAND}`; export r; \
6468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6469 $(HOST_EXPORTS) \
6470 for flag in $(EXTRA_HOST_FLAGS) ; do \
6471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6472 done; \
6473 echo "Doing html in bison"; \
6474 (cd $(HOST_SUBDIR)/bison && \
6475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6477 "RANLIB=$${RANLIB}" \
6478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6479 html) \
6480 || exit 1
6482 @endif bison
6484 .PHONY: maybe-TAGS-bison TAGS-bison
6485 maybe-TAGS-bison:
6486 @if bison
6487 maybe-TAGS-bison: TAGS-bison
6489 TAGS-bison: \
6490 configure-bison
6491 @: $(MAKE); $(unstage)
6492 @[ -f ./bison/Makefile ] || exit 0; \
6493 r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(HOST_EXPORTS) \
6496 for flag in $(EXTRA_HOST_FLAGS) ; do \
6497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6498 done; \
6499 echo "Doing TAGS in bison"; \
6500 (cd $(HOST_SUBDIR)/bison && \
6501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6503 "RANLIB=$${RANLIB}" \
6504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6505 TAGS) \
6506 || exit 1
6508 @endif bison
6510 .PHONY: maybe-install-info-bison install-info-bison
6511 maybe-install-info-bison:
6512 @if bison
6513 maybe-install-info-bison: install-info-bison
6515 install-info-bison: \
6516 configure-bison \
6517 info-bison
6518 @: $(MAKE); $(unstage)
6519 @[ -f ./bison/Makefile ] || exit 0; \
6520 r=`${PWD_COMMAND}`; export r; \
6521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6522 $(HOST_EXPORTS) \
6523 for flag in $(EXTRA_HOST_FLAGS) ; do \
6524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6525 done; \
6526 echo "Doing install-info in bison"; \
6527 (cd $(HOST_SUBDIR)/bison && \
6528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6530 "RANLIB=$${RANLIB}" \
6531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6532 install-info) \
6533 || exit 1
6535 @endif bison
6537 .PHONY: maybe-install-pdf-bison install-pdf-bison
6538 maybe-install-pdf-bison:
6539 @if bison
6540 maybe-install-pdf-bison: install-pdf-bison
6542 install-pdf-bison: \
6543 configure-bison \
6544 pdf-bison
6545 @: $(MAKE); $(unstage)
6546 @[ -f ./bison/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 for flag in $(EXTRA_HOST_FLAGS) ; do \
6551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6552 done; \
6553 echo "Doing install-pdf in bison"; \
6554 (cd $(HOST_SUBDIR)/bison && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6557 "RANLIB=$${RANLIB}" \
6558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6559 install-pdf) \
6560 || exit 1
6562 @endif bison
6564 .PHONY: maybe-install-html-bison install-html-bison
6565 maybe-install-html-bison:
6566 @if bison
6567 maybe-install-html-bison: install-html-bison
6569 install-html-bison: \
6570 configure-bison \
6571 html-bison
6572 @: $(MAKE); $(unstage)
6573 @[ -f ./bison/Makefile ] || exit 0; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 for flag in $(EXTRA_HOST_FLAGS) ; do \
6578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579 done; \
6580 echo "Doing install-html in bison"; \
6581 (cd $(HOST_SUBDIR)/bison && \
6582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584 "RANLIB=$${RANLIB}" \
6585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6586 install-html) \
6587 || exit 1
6589 @endif bison
6591 .PHONY: maybe-installcheck-bison installcheck-bison
6592 maybe-installcheck-bison:
6593 @if bison
6594 maybe-installcheck-bison: installcheck-bison
6596 installcheck-bison: \
6597 configure-bison
6598 @: $(MAKE); $(unstage)
6599 @[ -f ./bison/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602 $(HOST_EXPORTS) \
6603 for flag in $(EXTRA_HOST_FLAGS) ; do \
6604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6605 done; \
6606 echo "Doing installcheck in bison"; \
6607 (cd $(HOST_SUBDIR)/bison && \
6608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6610 "RANLIB=$${RANLIB}" \
6611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6612 installcheck) \
6613 || exit 1
6615 @endif bison
6617 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6618 maybe-mostlyclean-bison:
6619 @if bison
6620 maybe-mostlyclean-bison: mostlyclean-bison
6622 mostlyclean-bison:
6623 @: $(MAKE); $(unstage)
6624 @[ -f ./bison/Makefile ] || exit 0; \
6625 r=`${PWD_COMMAND}`; export r; \
6626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6627 $(HOST_EXPORTS) \
6628 for flag in $(EXTRA_HOST_FLAGS) ; do \
6629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6630 done; \
6631 echo "Doing mostlyclean in bison"; \
6632 (cd $(HOST_SUBDIR)/bison && \
6633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6635 "RANLIB=$${RANLIB}" \
6636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6637 mostlyclean) \
6638 || exit 1
6640 @endif bison
6642 .PHONY: maybe-clean-bison clean-bison
6643 maybe-clean-bison:
6644 @if bison
6645 maybe-clean-bison: clean-bison
6647 clean-bison:
6648 @: $(MAKE); $(unstage)
6649 @[ -f ./bison/Makefile ] || exit 0; \
6650 r=`${PWD_COMMAND}`; export r; \
6651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6652 $(HOST_EXPORTS) \
6653 for flag in $(EXTRA_HOST_FLAGS) ; do \
6654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6655 done; \
6656 echo "Doing clean in bison"; \
6657 (cd $(HOST_SUBDIR)/bison && \
6658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6660 "RANLIB=$${RANLIB}" \
6661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6662 clean) \
6663 || exit 1
6665 @endif bison
6667 .PHONY: maybe-distclean-bison distclean-bison
6668 maybe-distclean-bison:
6669 @if bison
6670 maybe-distclean-bison: distclean-bison
6672 distclean-bison:
6673 @: $(MAKE); $(unstage)
6674 @[ -f ./bison/Makefile ] || exit 0; \
6675 r=`${PWD_COMMAND}`; export r; \
6676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6677 $(HOST_EXPORTS) \
6678 for flag in $(EXTRA_HOST_FLAGS) ; do \
6679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6680 done; \
6681 echo "Doing distclean in bison"; \
6682 (cd $(HOST_SUBDIR)/bison && \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6685 "RANLIB=$${RANLIB}" \
6686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6687 distclean) \
6688 || exit 1
6690 @endif bison
6692 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6693 maybe-maintainer-clean-bison:
6694 @if bison
6695 maybe-maintainer-clean-bison: maintainer-clean-bison
6697 maintainer-clean-bison:
6698 @: $(MAKE); $(unstage)
6699 @[ -f ./bison/Makefile ] || exit 0; \
6700 r=`${PWD_COMMAND}`; export r; \
6701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 $(HOST_EXPORTS) \
6703 for flag in $(EXTRA_HOST_FLAGS) ; do \
6704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6705 done; \
6706 echo "Doing maintainer-clean in bison"; \
6707 (cd $(HOST_SUBDIR)/bison && \
6708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6710 "RANLIB=$${RANLIB}" \
6711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6712 maintainer-clean) \
6713 || exit 1
6715 @endif bison
6719 .PHONY: configure-cgen maybe-configure-cgen
6720 maybe-configure-cgen:
6721 @if gcc-bootstrap
6722 configure-cgen: stage_current
6723 @endif gcc-bootstrap
6724 @if cgen
6725 maybe-configure-cgen: configure-cgen
6726 configure-cgen:
6727 @: $(MAKE); $(unstage)
6728 @r=`${PWD_COMMAND}`; export r; \
6729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6730 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6732 $(HOST_EXPORTS) \
6733 echo Configuring in $(HOST_SUBDIR)/cgen; \
6734 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6735 case $(srcdir) in \
6736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6737 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6739 esac; \
6740 module_srcdir=cgen; \
6741 $(SHELL) \
6742 $$s/$$module_srcdir/configure \
6743 --srcdir=$${topdir}/$$module_srcdir \
6744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6745 --target=${target_alias} \
6746 || exit 1
6747 @endif cgen
6753 .PHONY: all-cgen maybe-all-cgen
6754 maybe-all-cgen:
6755 @if gcc-bootstrap
6756 all-cgen: stage_current
6757 @endif gcc-bootstrap
6758 @if cgen
6759 TARGET-cgen=all
6760 maybe-all-cgen: all-cgen
6761 all-cgen: configure-cgen
6762 @: $(MAKE); $(unstage)
6763 @r=`${PWD_COMMAND}`; export r; \
6764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6765 $(HOST_EXPORTS) \
6766 (cd $(HOST_SUBDIR)/cgen && \
6767 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6768 $(TARGET-cgen))
6769 @endif cgen
6774 .PHONY: check-cgen maybe-check-cgen
6775 maybe-check-cgen:
6776 @if cgen
6777 maybe-check-cgen: check-cgen
6779 check-cgen:
6780 @: $(MAKE); $(unstage)
6781 @r=`${PWD_COMMAND}`; export r; \
6782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6783 $(HOST_EXPORTS) \
6784 (cd $(HOST_SUBDIR)/cgen && \
6785 $(MAKE) $(FLAGS_TO_PASS) check)
6787 @endif cgen
6789 .PHONY: install-cgen maybe-install-cgen
6790 maybe-install-cgen:
6791 @if cgen
6792 maybe-install-cgen: install-cgen
6794 install-cgen: installdirs
6795 @: $(MAKE); $(unstage)
6796 @r=`${PWD_COMMAND}`; export r; \
6797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6798 $(HOST_EXPORTS) \
6799 (cd $(HOST_SUBDIR)/cgen && \
6800 $(MAKE) $(FLAGS_TO_PASS) install)
6802 @endif cgen
6804 .PHONY: install-strip-cgen maybe-install-strip-cgen
6805 maybe-install-strip-cgen:
6806 @if cgen
6807 maybe-install-strip-cgen: install-strip-cgen
6809 install-strip-cgen: installdirs
6810 @: $(MAKE); $(unstage)
6811 @r=`${PWD_COMMAND}`; export r; \
6812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6813 $(HOST_EXPORTS) \
6814 (cd $(HOST_SUBDIR)/cgen && \
6815 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6817 @endif cgen
6819 # Other targets (info, dvi, pdf, etc.)
6821 .PHONY: maybe-info-cgen info-cgen
6822 maybe-info-cgen:
6823 @if cgen
6824 maybe-info-cgen: info-cgen
6826 info-cgen: \
6827 configure-cgen
6828 @: $(MAKE); $(unstage)
6829 @[ -f ./cgen/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(HOST_EXPORTS) \
6833 for flag in $(EXTRA_HOST_FLAGS) ; do \
6834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6835 done; \
6836 echo "Doing info in cgen"; \
6837 (cd $(HOST_SUBDIR)/cgen && \
6838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6840 "RANLIB=$${RANLIB}" \
6841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6842 info) \
6843 || exit 1
6845 @endif cgen
6847 .PHONY: maybe-dvi-cgen dvi-cgen
6848 maybe-dvi-cgen:
6849 @if cgen
6850 maybe-dvi-cgen: dvi-cgen
6852 dvi-cgen: \
6853 configure-cgen
6854 @: $(MAKE); $(unstage)
6855 @[ -f ./cgen/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing dvi in cgen"; \
6863 (cd $(HOST_SUBDIR)/cgen && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6868 dvi) \
6869 || exit 1
6871 @endif cgen
6873 .PHONY: maybe-pdf-cgen pdf-cgen
6874 maybe-pdf-cgen:
6875 @if cgen
6876 maybe-pdf-cgen: pdf-cgen
6878 pdf-cgen: \
6879 configure-cgen
6880 @: $(MAKE); $(unstage)
6881 @[ -f ./cgen/Makefile ] || exit 0; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884 $(HOST_EXPORTS) \
6885 for flag in $(EXTRA_HOST_FLAGS) ; do \
6886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6887 done; \
6888 echo "Doing pdf in cgen"; \
6889 (cd $(HOST_SUBDIR)/cgen && \
6890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6892 "RANLIB=$${RANLIB}" \
6893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6894 pdf) \
6895 || exit 1
6897 @endif cgen
6899 .PHONY: maybe-html-cgen html-cgen
6900 maybe-html-cgen:
6901 @if cgen
6902 maybe-html-cgen: html-cgen
6904 html-cgen: \
6905 configure-cgen
6906 @: $(MAKE); $(unstage)
6907 @[ -f ./cgen/Makefile ] || exit 0; \
6908 r=`${PWD_COMMAND}`; export r; \
6909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6910 $(HOST_EXPORTS) \
6911 for flag in $(EXTRA_HOST_FLAGS) ; do \
6912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6913 done; \
6914 echo "Doing html in cgen"; \
6915 (cd $(HOST_SUBDIR)/cgen && \
6916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6918 "RANLIB=$${RANLIB}" \
6919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6920 html) \
6921 || exit 1
6923 @endif cgen
6925 .PHONY: maybe-TAGS-cgen TAGS-cgen
6926 maybe-TAGS-cgen:
6927 @if cgen
6928 maybe-TAGS-cgen: TAGS-cgen
6930 TAGS-cgen: \
6931 configure-cgen
6932 @: $(MAKE); $(unstage)
6933 @[ -f ./cgen/Makefile ] || exit 0; \
6934 r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(HOST_EXPORTS) \
6937 for flag in $(EXTRA_HOST_FLAGS) ; do \
6938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6939 done; \
6940 echo "Doing TAGS in cgen"; \
6941 (cd $(HOST_SUBDIR)/cgen && \
6942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6944 "RANLIB=$${RANLIB}" \
6945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6946 TAGS) \
6947 || exit 1
6949 @endif cgen
6951 .PHONY: maybe-install-info-cgen install-info-cgen
6952 maybe-install-info-cgen:
6953 @if cgen
6954 maybe-install-info-cgen: install-info-cgen
6956 install-info-cgen: \
6957 configure-cgen \
6958 info-cgen
6959 @: $(MAKE); $(unstage)
6960 @[ -f ./cgen/Makefile ] || exit 0; \
6961 r=`${PWD_COMMAND}`; export r; \
6962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 $(HOST_EXPORTS) \
6964 for flag in $(EXTRA_HOST_FLAGS) ; do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6966 done; \
6967 echo "Doing install-info in cgen"; \
6968 (cd $(HOST_SUBDIR)/cgen && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6973 install-info) \
6974 || exit 1
6976 @endif cgen
6978 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6979 maybe-install-pdf-cgen:
6980 @if cgen
6981 maybe-install-pdf-cgen: install-pdf-cgen
6983 install-pdf-cgen: \
6984 configure-cgen \
6985 pdf-cgen
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./cgen/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing install-pdf in cgen"; \
6995 (cd $(HOST_SUBDIR)/cgen && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7000 install-pdf) \
7001 || exit 1
7003 @endif cgen
7005 .PHONY: maybe-install-html-cgen install-html-cgen
7006 maybe-install-html-cgen:
7007 @if cgen
7008 maybe-install-html-cgen: install-html-cgen
7010 install-html-cgen: \
7011 configure-cgen \
7012 html-cgen
7013 @: $(MAKE); $(unstage)
7014 @[ -f ./cgen/Makefile ] || exit 0; \
7015 r=`${PWD_COMMAND}`; export r; \
7016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7017 $(HOST_EXPORTS) \
7018 for flag in $(EXTRA_HOST_FLAGS) ; do \
7019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7020 done; \
7021 echo "Doing install-html in cgen"; \
7022 (cd $(HOST_SUBDIR)/cgen && \
7023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7025 "RANLIB=$${RANLIB}" \
7026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7027 install-html) \
7028 || exit 1
7030 @endif cgen
7032 .PHONY: maybe-installcheck-cgen installcheck-cgen
7033 maybe-installcheck-cgen:
7034 @if cgen
7035 maybe-installcheck-cgen: installcheck-cgen
7037 installcheck-cgen: \
7038 configure-cgen
7039 @: $(MAKE); $(unstage)
7040 @[ -f ./cgen/Makefile ] || exit 0; \
7041 r=`${PWD_COMMAND}`; export r; \
7042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7043 $(HOST_EXPORTS) \
7044 for flag in $(EXTRA_HOST_FLAGS) ; do \
7045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7046 done; \
7047 echo "Doing installcheck in cgen"; \
7048 (cd $(HOST_SUBDIR)/cgen && \
7049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7051 "RANLIB=$${RANLIB}" \
7052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7053 installcheck) \
7054 || exit 1
7056 @endif cgen
7058 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7059 maybe-mostlyclean-cgen:
7060 @if cgen
7061 maybe-mostlyclean-cgen: mostlyclean-cgen
7063 mostlyclean-cgen:
7064 @: $(MAKE); $(unstage)
7065 @[ -f ./cgen/Makefile ] || exit 0; \
7066 r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068 $(HOST_EXPORTS) \
7069 for flag in $(EXTRA_HOST_FLAGS) ; do \
7070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7071 done; \
7072 echo "Doing mostlyclean in cgen"; \
7073 (cd $(HOST_SUBDIR)/cgen && \
7074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076 "RANLIB=$${RANLIB}" \
7077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7078 mostlyclean) \
7079 || exit 1
7081 @endif cgen
7083 .PHONY: maybe-clean-cgen clean-cgen
7084 maybe-clean-cgen:
7085 @if cgen
7086 maybe-clean-cgen: clean-cgen
7088 clean-cgen:
7089 @: $(MAKE); $(unstage)
7090 @[ -f ./cgen/Makefile ] || exit 0; \
7091 r=`${PWD_COMMAND}`; export r; \
7092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7093 $(HOST_EXPORTS) \
7094 for flag in $(EXTRA_HOST_FLAGS) ; do \
7095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7096 done; \
7097 echo "Doing clean in cgen"; \
7098 (cd $(HOST_SUBDIR)/cgen && \
7099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7101 "RANLIB=$${RANLIB}" \
7102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7103 clean) \
7104 || exit 1
7106 @endif cgen
7108 .PHONY: maybe-distclean-cgen distclean-cgen
7109 maybe-distclean-cgen:
7110 @if cgen
7111 maybe-distclean-cgen: distclean-cgen
7113 distclean-cgen:
7114 @: $(MAKE); $(unstage)
7115 @[ -f ./cgen/Makefile ] || exit 0; \
7116 r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 for flag in $(EXTRA_HOST_FLAGS) ; do \
7120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7121 done; \
7122 echo "Doing distclean in cgen"; \
7123 (cd $(HOST_SUBDIR)/cgen && \
7124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7126 "RANLIB=$${RANLIB}" \
7127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7128 distclean) \
7129 || exit 1
7131 @endif cgen
7133 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7134 maybe-maintainer-clean-cgen:
7135 @if cgen
7136 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7138 maintainer-clean-cgen:
7139 @: $(MAKE); $(unstage)
7140 @[ -f ./cgen/Makefile ] || exit 0; \
7141 r=`${PWD_COMMAND}`; export r; \
7142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7143 $(HOST_EXPORTS) \
7144 for flag in $(EXTRA_HOST_FLAGS) ; do \
7145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7146 done; \
7147 echo "Doing maintainer-clean in cgen"; \
7148 (cd $(HOST_SUBDIR)/cgen && \
7149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7151 "RANLIB=$${RANLIB}" \
7152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7153 maintainer-clean) \
7154 || exit 1
7156 @endif cgen
7160 .PHONY: configure-dejagnu maybe-configure-dejagnu
7161 maybe-configure-dejagnu:
7162 @if gcc-bootstrap
7163 configure-dejagnu: stage_current
7164 @endif gcc-bootstrap
7165 @if dejagnu
7166 maybe-configure-dejagnu: configure-dejagnu
7167 configure-dejagnu:
7168 @: $(MAKE); $(unstage)
7169 @r=`${PWD_COMMAND}`; export r; \
7170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7171 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7173 $(HOST_EXPORTS) \
7174 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7175 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7176 case $(srcdir) in \
7177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7178 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7180 esac; \
7181 module_srcdir=dejagnu; \
7182 $(SHELL) \
7183 $$s/$$module_srcdir/configure \
7184 --srcdir=$${topdir}/$$module_srcdir \
7185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7186 --target=${target_alias} \
7187 || exit 1
7188 @endif dejagnu
7194 .PHONY: all-dejagnu maybe-all-dejagnu
7195 maybe-all-dejagnu:
7196 @if gcc-bootstrap
7197 all-dejagnu: stage_current
7198 @endif gcc-bootstrap
7199 @if dejagnu
7200 TARGET-dejagnu=all
7201 maybe-all-dejagnu: all-dejagnu
7202 all-dejagnu: configure-dejagnu
7203 @: $(MAKE); $(unstage)
7204 @r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 (cd $(HOST_SUBDIR)/dejagnu && \
7208 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7209 $(TARGET-dejagnu))
7210 @endif dejagnu
7215 .PHONY: check-dejagnu maybe-check-dejagnu
7216 maybe-check-dejagnu:
7217 @if dejagnu
7218 maybe-check-dejagnu: check-dejagnu
7220 check-dejagnu:
7221 @: $(MAKE); $(unstage)
7222 @r=`${PWD_COMMAND}`; export r; \
7223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224 $(HOST_EXPORTS) \
7225 (cd $(HOST_SUBDIR)/dejagnu && \
7226 $(MAKE) $(FLAGS_TO_PASS) check)
7228 @endif dejagnu
7230 .PHONY: install-dejagnu maybe-install-dejagnu
7231 maybe-install-dejagnu:
7232 @if dejagnu
7233 maybe-install-dejagnu: install-dejagnu
7235 install-dejagnu: installdirs
7236 @: $(MAKE); $(unstage)
7237 @r=`${PWD_COMMAND}`; export r; \
7238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7239 $(HOST_EXPORTS) \
7240 (cd $(HOST_SUBDIR)/dejagnu && \
7241 $(MAKE) $(FLAGS_TO_PASS) install)
7243 @endif dejagnu
7245 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7246 maybe-install-strip-dejagnu:
7247 @if dejagnu
7248 maybe-install-strip-dejagnu: install-strip-dejagnu
7250 install-strip-dejagnu: installdirs
7251 @: $(MAKE); $(unstage)
7252 @r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(HOST_EXPORTS) \
7255 (cd $(HOST_SUBDIR)/dejagnu && \
7256 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7258 @endif dejagnu
7260 # Other targets (info, dvi, pdf, etc.)
7262 .PHONY: maybe-info-dejagnu info-dejagnu
7263 maybe-info-dejagnu:
7264 @if dejagnu
7265 maybe-info-dejagnu: info-dejagnu
7267 info-dejagnu: \
7268 configure-dejagnu
7269 @: $(MAKE); $(unstage)
7270 @[ -f ./dejagnu/Makefile ] || exit 0; \
7271 r=`${PWD_COMMAND}`; export r; \
7272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7273 $(HOST_EXPORTS) \
7274 for flag in $(EXTRA_HOST_FLAGS) ; do \
7275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7276 done; \
7277 echo "Doing info in dejagnu"; \
7278 (cd $(HOST_SUBDIR)/dejagnu && \
7279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7281 "RANLIB=$${RANLIB}" \
7282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7283 info) \
7284 || exit 1
7286 @endif dejagnu
7288 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7289 maybe-dvi-dejagnu:
7290 @if dejagnu
7291 maybe-dvi-dejagnu: dvi-dejagnu
7293 dvi-dejagnu: \
7294 configure-dejagnu
7295 @: $(MAKE); $(unstage)
7296 @[ -f ./dejagnu/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing dvi in dejagnu"; \
7304 (cd $(HOST_SUBDIR)/dejagnu && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7309 dvi) \
7310 || exit 1
7312 @endif dejagnu
7314 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7315 maybe-pdf-dejagnu:
7316 @if dejagnu
7317 maybe-pdf-dejagnu: pdf-dejagnu
7319 pdf-dejagnu: \
7320 configure-dejagnu
7321 @: $(MAKE); $(unstage)
7322 @[ -f ./dejagnu/Makefile ] || exit 0; \
7323 r=`${PWD_COMMAND}`; export r; \
7324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7325 $(HOST_EXPORTS) \
7326 for flag in $(EXTRA_HOST_FLAGS) ; do \
7327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7328 done; \
7329 echo "Doing pdf in dejagnu"; \
7330 (cd $(HOST_SUBDIR)/dejagnu && \
7331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7333 "RANLIB=$${RANLIB}" \
7334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7335 pdf) \
7336 || exit 1
7338 @endif dejagnu
7340 .PHONY: maybe-html-dejagnu html-dejagnu
7341 maybe-html-dejagnu:
7342 @if dejagnu
7343 maybe-html-dejagnu: html-dejagnu
7345 html-dejagnu: \
7346 configure-dejagnu
7347 @: $(MAKE); $(unstage)
7348 @[ -f ./dejagnu/Makefile ] || exit 0; \
7349 r=`${PWD_COMMAND}`; export r; \
7350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7351 $(HOST_EXPORTS) \
7352 for flag in $(EXTRA_HOST_FLAGS) ; do \
7353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7354 done; \
7355 echo "Doing html in dejagnu"; \
7356 (cd $(HOST_SUBDIR)/dejagnu && \
7357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7359 "RANLIB=$${RANLIB}" \
7360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7361 html) \
7362 || exit 1
7364 @endif dejagnu
7366 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7367 maybe-TAGS-dejagnu:
7368 @if dejagnu
7369 maybe-TAGS-dejagnu: TAGS-dejagnu
7371 TAGS-dejagnu: \
7372 configure-dejagnu
7373 @: $(MAKE); $(unstage)
7374 @[ -f ./dejagnu/Makefile ] || exit 0; \
7375 r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 $(HOST_EXPORTS) \
7378 for flag in $(EXTRA_HOST_FLAGS) ; do \
7379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7380 done; \
7381 echo "Doing TAGS in dejagnu"; \
7382 (cd $(HOST_SUBDIR)/dejagnu && \
7383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7385 "RANLIB=$${RANLIB}" \
7386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7387 TAGS) \
7388 || exit 1
7390 @endif dejagnu
7392 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7393 maybe-install-info-dejagnu:
7394 @if dejagnu
7395 maybe-install-info-dejagnu: install-info-dejagnu
7397 install-info-dejagnu: \
7398 configure-dejagnu \
7399 info-dejagnu
7400 @: $(MAKE); $(unstage)
7401 @[ -f ./dejagnu/Makefile ] || exit 0; \
7402 r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(HOST_EXPORTS) \
7405 for flag in $(EXTRA_HOST_FLAGS) ; do \
7406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7407 done; \
7408 echo "Doing install-info in dejagnu"; \
7409 (cd $(HOST_SUBDIR)/dejagnu && \
7410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7412 "RANLIB=$${RANLIB}" \
7413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7414 install-info) \
7415 || exit 1
7417 @endif dejagnu
7419 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7420 maybe-install-pdf-dejagnu:
7421 @if dejagnu
7422 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7424 install-pdf-dejagnu: \
7425 configure-dejagnu \
7426 pdf-dejagnu
7427 @: $(MAKE); $(unstage)
7428 @[ -f ./dejagnu/Makefile ] || exit 0; \
7429 r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 $(HOST_EXPORTS) \
7432 for flag in $(EXTRA_HOST_FLAGS) ; do \
7433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7434 done; \
7435 echo "Doing install-pdf in dejagnu"; \
7436 (cd $(HOST_SUBDIR)/dejagnu && \
7437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7439 "RANLIB=$${RANLIB}" \
7440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7441 install-pdf) \
7442 || exit 1
7444 @endif dejagnu
7446 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7447 maybe-install-html-dejagnu:
7448 @if dejagnu
7449 maybe-install-html-dejagnu: install-html-dejagnu
7451 install-html-dejagnu: \
7452 configure-dejagnu \
7453 html-dejagnu
7454 @: $(MAKE); $(unstage)
7455 @[ -f ./dejagnu/Makefile ] || exit 0; \
7456 r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 $(HOST_EXPORTS) \
7459 for flag in $(EXTRA_HOST_FLAGS) ; do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing install-html in dejagnu"; \
7463 (cd $(HOST_SUBDIR)/dejagnu && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7468 install-html) \
7469 || exit 1
7471 @endif dejagnu
7473 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7474 maybe-installcheck-dejagnu:
7475 @if dejagnu
7476 maybe-installcheck-dejagnu: installcheck-dejagnu
7478 installcheck-dejagnu: \
7479 configure-dejagnu
7480 @: $(MAKE); $(unstage)
7481 @[ -f ./dejagnu/Makefile ] || exit 0; \
7482 r=`${PWD_COMMAND}`; export r; \
7483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7484 $(HOST_EXPORTS) \
7485 for flag in $(EXTRA_HOST_FLAGS) ; do \
7486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7487 done; \
7488 echo "Doing installcheck in dejagnu"; \
7489 (cd $(HOST_SUBDIR)/dejagnu && \
7490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7492 "RANLIB=$${RANLIB}" \
7493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7494 installcheck) \
7495 || exit 1
7497 @endif dejagnu
7499 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7500 maybe-mostlyclean-dejagnu:
7501 @if dejagnu
7502 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7504 mostlyclean-dejagnu:
7505 @: $(MAKE); $(unstage)
7506 @[ -f ./dejagnu/Makefile ] || exit 0; \
7507 r=`${PWD_COMMAND}`; export r; \
7508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7509 $(HOST_EXPORTS) \
7510 for flag in $(EXTRA_HOST_FLAGS) ; do \
7511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7512 done; \
7513 echo "Doing mostlyclean in dejagnu"; \
7514 (cd $(HOST_SUBDIR)/dejagnu && \
7515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7517 "RANLIB=$${RANLIB}" \
7518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7519 mostlyclean) \
7520 || exit 1
7522 @endif dejagnu
7524 .PHONY: maybe-clean-dejagnu clean-dejagnu
7525 maybe-clean-dejagnu:
7526 @if dejagnu
7527 maybe-clean-dejagnu: clean-dejagnu
7529 clean-dejagnu:
7530 @: $(MAKE); $(unstage)
7531 @[ -f ./dejagnu/Makefile ] || exit 0; \
7532 r=`${PWD_COMMAND}`; export r; \
7533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7534 $(HOST_EXPORTS) \
7535 for flag in $(EXTRA_HOST_FLAGS) ; do \
7536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7537 done; \
7538 echo "Doing clean in dejagnu"; \
7539 (cd $(HOST_SUBDIR)/dejagnu && \
7540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7542 "RANLIB=$${RANLIB}" \
7543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7544 clean) \
7545 || exit 1
7547 @endif dejagnu
7549 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7550 maybe-distclean-dejagnu:
7551 @if dejagnu
7552 maybe-distclean-dejagnu: distclean-dejagnu
7554 distclean-dejagnu:
7555 @: $(MAKE); $(unstage)
7556 @[ -f ./dejagnu/Makefile ] || exit 0; \
7557 r=`${PWD_COMMAND}`; export r; \
7558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7559 $(HOST_EXPORTS) \
7560 for flag in $(EXTRA_HOST_FLAGS) ; do \
7561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7562 done; \
7563 echo "Doing distclean in dejagnu"; \
7564 (cd $(HOST_SUBDIR)/dejagnu && \
7565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7567 "RANLIB=$${RANLIB}" \
7568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7569 distclean) \
7570 || exit 1
7572 @endif dejagnu
7574 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7575 maybe-maintainer-clean-dejagnu:
7576 @if dejagnu
7577 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7579 maintainer-clean-dejagnu:
7580 @: $(MAKE); $(unstage)
7581 @[ -f ./dejagnu/Makefile ] || exit 0; \
7582 r=`${PWD_COMMAND}`; export r; \
7583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7584 $(HOST_EXPORTS) \
7585 for flag in $(EXTRA_HOST_FLAGS) ; do \
7586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7587 done; \
7588 echo "Doing maintainer-clean in dejagnu"; \
7589 (cd $(HOST_SUBDIR)/dejagnu && \
7590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7592 "RANLIB=$${RANLIB}" \
7593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7594 maintainer-clean) \
7595 || exit 1
7597 @endif dejagnu
7601 .PHONY: configure-etc maybe-configure-etc
7602 maybe-configure-etc:
7603 @if gcc-bootstrap
7604 configure-etc: stage_current
7605 @endif gcc-bootstrap
7606 @if etc
7607 maybe-configure-etc: configure-etc
7608 configure-etc:
7609 @: $(MAKE); $(unstage)
7610 @r=`${PWD_COMMAND}`; export r; \
7611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7612 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7614 $(HOST_EXPORTS) \
7615 echo Configuring in $(HOST_SUBDIR)/etc; \
7616 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7617 case $(srcdir) in \
7618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7619 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7621 esac; \
7622 module_srcdir=etc; \
7623 $(SHELL) \
7624 $$s/$$module_srcdir/configure \
7625 --srcdir=$${topdir}/$$module_srcdir \
7626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7627 --target=${target_alias} \
7628 || exit 1
7629 @endif etc
7635 .PHONY: all-etc maybe-all-etc
7636 maybe-all-etc:
7637 @if gcc-bootstrap
7638 all-etc: stage_current
7639 @endif gcc-bootstrap
7640 @if etc
7641 TARGET-etc=all
7642 maybe-all-etc: all-etc
7643 all-etc: configure-etc
7644 @: $(MAKE); $(unstage)
7645 @r=`${PWD_COMMAND}`; export r; \
7646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7647 $(HOST_EXPORTS) \
7648 (cd $(HOST_SUBDIR)/etc && \
7649 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7650 $(TARGET-etc))
7651 @endif etc
7656 .PHONY: check-etc maybe-check-etc
7657 maybe-check-etc:
7658 @if etc
7659 maybe-check-etc: check-etc
7661 check-etc:
7662 @: $(MAKE); $(unstage)
7663 @r=`${PWD_COMMAND}`; export r; \
7664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7665 $(HOST_EXPORTS) \
7666 (cd $(HOST_SUBDIR)/etc && \
7667 $(MAKE) $(FLAGS_TO_PASS) check)
7669 @endif etc
7671 .PHONY: install-etc maybe-install-etc
7672 maybe-install-etc:
7673 @if etc
7674 maybe-install-etc: install-etc
7676 install-etc: installdirs
7677 @: $(MAKE); $(unstage)
7678 @r=`${PWD_COMMAND}`; export r; \
7679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7680 $(HOST_EXPORTS) \
7681 (cd $(HOST_SUBDIR)/etc && \
7682 $(MAKE) $(FLAGS_TO_PASS) install)
7684 @endif etc
7686 .PHONY: install-strip-etc maybe-install-strip-etc
7687 maybe-install-strip-etc:
7688 @if etc
7689 maybe-install-strip-etc: install-strip-etc
7691 install-strip-etc: installdirs
7692 @: $(MAKE); $(unstage)
7693 @r=`${PWD_COMMAND}`; export r; \
7694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7695 $(HOST_EXPORTS) \
7696 (cd $(HOST_SUBDIR)/etc && \
7697 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7699 @endif etc
7701 # Other targets (info, dvi, pdf, etc.)
7703 .PHONY: maybe-info-etc info-etc
7704 maybe-info-etc:
7705 @if etc
7706 maybe-info-etc: info-etc
7708 info-etc: \
7709 configure-etc
7710 @: $(MAKE); $(unstage)
7711 @[ -f ./etc/Makefile ] || exit 0; \
7712 r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 $(HOST_EXPORTS) \
7715 for flag in $(EXTRA_HOST_FLAGS) ; do \
7716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7717 done; \
7718 echo "Doing info in etc"; \
7719 (cd $(HOST_SUBDIR)/etc && \
7720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7722 "RANLIB=$${RANLIB}" \
7723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7724 info) \
7725 || exit 1
7727 @endif etc
7729 .PHONY: maybe-dvi-etc dvi-etc
7730 maybe-dvi-etc:
7731 @if etc
7732 maybe-dvi-etc: dvi-etc
7734 dvi-etc: \
7735 configure-etc
7736 @: $(MAKE); $(unstage)
7737 @[ -f ./etc/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing dvi in etc"; \
7745 (cd $(HOST_SUBDIR)/etc && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7750 dvi) \
7751 || exit 1
7753 @endif etc
7755 .PHONY: maybe-pdf-etc pdf-etc
7756 maybe-pdf-etc:
7757 @if etc
7758 maybe-pdf-etc: pdf-etc
7760 pdf-etc: \
7761 configure-etc
7762 @: $(MAKE); $(unstage)
7763 @[ -f ./etc/Makefile ] || exit 0; \
7764 r=`${PWD_COMMAND}`; export r; \
7765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7766 $(HOST_EXPORTS) \
7767 for flag in $(EXTRA_HOST_FLAGS) ; do \
7768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7769 done; \
7770 echo "Doing pdf in etc"; \
7771 (cd $(HOST_SUBDIR)/etc && \
7772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7774 "RANLIB=$${RANLIB}" \
7775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7776 pdf) \
7777 || exit 1
7779 @endif etc
7781 .PHONY: maybe-html-etc html-etc
7782 maybe-html-etc:
7783 @if etc
7784 maybe-html-etc: html-etc
7786 html-etc: \
7787 configure-etc
7788 @: $(MAKE); $(unstage)
7789 @[ -f ./etc/Makefile ] || exit 0; \
7790 r=`${PWD_COMMAND}`; export r; \
7791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7792 $(HOST_EXPORTS) \
7793 for flag in $(EXTRA_HOST_FLAGS) ; do \
7794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7795 done; \
7796 echo "Doing html in etc"; \
7797 (cd $(HOST_SUBDIR)/etc && \
7798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7800 "RANLIB=$${RANLIB}" \
7801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7802 html) \
7803 || exit 1
7805 @endif etc
7807 .PHONY: maybe-TAGS-etc TAGS-etc
7808 maybe-TAGS-etc:
7809 @if etc
7810 maybe-TAGS-etc: TAGS-etc
7812 TAGS-etc: \
7813 configure-etc
7814 @: $(MAKE); $(unstage)
7815 @[ -f ./etc/Makefile ] || exit 0; \
7816 r=`${PWD_COMMAND}`; export r; \
7817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7818 $(HOST_EXPORTS) \
7819 for flag in $(EXTRA_HOST_FLAGS) ; do \
7820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7821 done; \
7822 echo "Doing TAGS in etc"; \
7823 (cd $(HOST_SUBDIR)/etc && \
7824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7826 "RANLIB=$${RANLIB}" \
7827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7828 TAGS) \
7829 || exit 1
7831 @endif etc
7833 .PHONY: maybe-install-info-etc install-info-etc
7834 maybe-install-info-etc:
7835 @if etc
7836 maybe-install-info-etc: install-info-etc
7838 install-info-etc: \
7839 configure-etc \
7840 info-etc
7841 @: $(MAKE); $(unstage)
7842 @[ -f ./etc/Makefile ] || exit 0; \
7843 r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 $(HOST_EXPORTS) \
7846 for flag in $(EXTRA_HOST_FLAGS) ; do \
7847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7848 done; \
7849 echo "Doing install-info in etc"; \
7850 (cd $(HOST_SUBDIR)/etc && \
7851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7853 "RANLIB=$${RANLIB}" \
7854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7855 install-info) \
7856 || exit 1
7858 @endif etc
7860 .PHONY: maybe-install-pdf-etc install-pdf-etc
7861 maybe-install-pdf-etc:
7862 @if etc
7863 maybe-install-pdf-etc: install-pdf-etc
7865 install-pdf-etc: \
7866 configure-etc \
7867 pdf-etc
7868 @: $(MAKE); $(unstage)
7869 @[ -f ./etc/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing install-pdf in etc"; \
7877 (cd $(HOST_SUBDIR)/etc && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7882 install-pdf) \
7883 || exit 1
7885 @endif etc
7887 .PHONY: maybe-install-html-etc install-html-etc
7888 maybe-install-html-etc:
7889 @if etc
7890 maybe-install-html-etc: install-html-etc
7892 install-html-etc: \
7893 configure-etc \
7894 html-etc
7895 @: $(MAKE); $(unstage)
7896 @[ -f ./etc/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing install-html in etc"; \
7904 (cd $(HOST_SUBDIR)/etc && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7909 install-html) \
7910 || exit 1
7912 @endif etc
7914 .PHONY: maybe-installcheck-etc installcheck-etc
7915 maybe-installcheck-etc:
7916 @if etc
7917 maybe-installcheck-etc: installcheck-etc
7919 installcheck-etc: \
7920 configure-etc
7921 @: $(MAKE); $(unstage)
7922 @[ -f ./etc/Makefile ] || exit 0; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 $(HOST_EXPORTS) \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7928 done; \
7929 echo "Doing installcheck in etc"; \
7930 (cd $(HOST_SUBDIR)/etc && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7935 installcheck) \
7936 || exit 1
7938 @endif etc
7940 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7941 maybe-mostlyclean-etc:
7942 @if etc
7943 maybe-mostlyclean-etc: mostlyclean-etc
7945 mostlyclean-etc:
7946 @: $(MAKE); $(unstage)
7947 @[ -f ./etc/Makefile ] || exit 0; \
7948 r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing mostlyclean in etc"; \
7955 (cd $(HOST_SUBDIR)/etc && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7960 mostlyclean) \
7961 || exit 1
7963 @endif etc
7965 .PHONY: maybe-clean-etc clean-etc
7966 maybe-clean-etc:
7967 @if etc
7968 maybe-clean-etc: clean-etc
7970 clean-etc:
7971 @: $(MAKE); $(unstage)
7972 @[ -f ./etc/Makefile ] || exit 0; \
7973 r=`${PWD_COMMAND}`; export r; \
7974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 $(HOST_EXPORTS) \
7976 for flag in $(EXTRA_HOST_FLAGS) ; do \
7977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7978 done; \
7979 echo "Doing clean in etc"; \
7980 (cd $(HOST_SUBDIR)/etc && \
7981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7983 "RANLIB=$${RANLIB}" \
7984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7985 clean) \
7986 || exit 1
7988 @endif etc
7990 .PHONY: maybe-distclean-etc distclean-etc
7991 maybe-distclean-etc:
7992 @if etc
7993 maybe-distclean-etc: distclean-etc
7995 distclean-etc:
7996 @: $(MAKE); $(unstage)
7997 @[ -f ./etc/Makefile ] || exit 0; \
7998 r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8000 $(HOST_EXPORTS) \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8003 done; \
8004 echo "Doing distclean in etc"; \
8005 (cd $(HOST_SUBDIR)/etc && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8010 distclean) \
8011 || exit 1
8013 @endif etc
8015 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8016 maybe-maintainer-clean-etc:
8017 @if etc
8018 maybe-maintainer-clean-etc: maintainer-clean-etc
8020 maintainer-clean-etc:
8021 @: $(MAKE); $(unstage)
8022 @[ -f ./etc/Makefile ] || exit 0; \
8023 r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 $(HOST_EXPORTS) \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 done; \
8029 echo "Doing maintainer-clean in etc"; \
8030 (cd $(HOST_SUBDIR)/etc && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8035 maintainer-clean) \
8036 || exit 1
8038 @endif etc
8042 .PHONY: configure-fastjar maybe-configure-fastjar
8043 maybe-configure-fastjar:
8044 @if gcc-bootstrap
8045 configure-fastjar: stage_current
8046 @endif gcc-bootstrap
8047 @if fastjar
8048 maybe-configure-fastjar: configure-fastjar
8049 configure-fastjar:
8050 @: $(MAKE); $(unstage)
8051 @r=`${PWD_COMMAND}`; export r; \
8052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8053 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8055 $(HOST_EXPORTS) \
8056 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8057 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8058 case $(srcdir) in \
8059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8060 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8062 esac; \
8063 module_srcdir=fastjar; \
8064 $(SHELL) \
8065 $$s/$$module_srcdir/configure \
8066 --srcdir=$${topdir}/$$module_srcdir \
8067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8068 --target=${target_alias} \
8069 || exit 1
8070 @endif fastjar
8076 .PHONY: all-fastjar maybe-all-fastjar
8077 maybe-all-fastjar:
8078 @if gcc-bootstrap
8079 all-fastjar: stage_current
8080 @endif gcc-bootstrap
8081 @if fastjar
8082 TARGET-fastjar=all
8083 maybe-all-fastjar: all-fastjar
8084 all-fastjar: configure-fastjar
8085 @: $(MAKE); $(unstage)
8086 @r=`${PWD_COMMAND}`; export r; \
8087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8088 $(HOST_EXPORTS) \
8089 (cd $(HOST_SUBDIR)/fastjar && \
8090 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8091 $(TARGET-fastjar))
8092 @endif fastjar
8097 .PHONY: check-fastjar maybe-check-fastjar
8098 maybe-check-fastjar:
8099 @if fastjar
8100 maybe-check-fastjar: check-fastjar
8102 # This module is only tested in a native toolchain.
8103 check-fastjar:
8104 @: $(MAKE); $(unstage)
8105 @if [ '$(host)' = '$(target)' ]; then \
8106 r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108 $(HOST_EXPORTS) \
8109 (cd $(HOST_SUBDIR)/fastjar && \
8110 $(MAKE) $(FLAGS_TO_PASS) check)
8113 @endif fastjar
8115 .PHONY: install-fastjar maybe-install-fastjar
8116 maybe-install-fastjar:
8117 @if fastjar
8118 maybe-install-fastjar: install-fastjar
8120 install-fastjar: installdirs
8121 @: $(MAKE); $(unstage)
8122 @r=`${PWD_COMMAND}`; export r; \
8123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8124 $(HOST_EXPORTS) \
8125 (cd $(HOST_SUBDIR)/fastjar && \
8126 $(MAKE) $(FLAGS_TO_PASS) install)
8128 @endif fastjar
8130 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8131 maybe-install-strip-fastjar:
8132 @if fastjar
8133 maybe-install-strip-fastjar: install-strip-fastjar
8135 install-strip-fastjar: installdirs
8136 @: $(MAKE); $(unstage)
8137 @r=`${PWD_COMMAND}`; export r; \
8138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8139 $(HOST_EXPORTS) \
8140 (cd $(HOST_SUBDIR)/fastjar && \
8141 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8143 @endif fastjar
8145 # Other targets (info, dvi, pdf, etc.)
8147 .PHONY: maybe-info-fastjar info-fastjar
8148 maybe-info-fastjar:
8149 @if fastjar
8150 maybe-info-fastjar: info-fastjar
8152 info-fastjar: \
8153 configure-fastjar
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./fastjar/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8161 done; \
8162 echo "Doing info in fastjar"; \
8163 (cd $(HOST_SUBDIR)/fastjar && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8168 info) \
8169 || exit 1
8171 @endif fastjar
8173 .PHONY: maybe-dvi-fastjar dvi-fastjar
8174 maybe-dvi-fastjar:
8175 @if fastjar
8176 maybe-dvi-fastjar: dvi-fastjar
8178 dvi-fastjar: \
8179 configure-fastjar
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./fastjar/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing dvi in fastjar"; \
8189 (cd $(HOST_SUBDIR)/fastjar && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8194 dvi) \
8195 || exit 1
8197 @endif fastjar
8199 .PHONY: maybe-pdf-fastjar pdf-fastjar
8200 maybe-pdf-fastjar:
8201 @if fastjar
8202 maybe-pdf-fastjar: pdf-fastjar
8204 pdf-fastjar: \
8205 configure-fastjar
8206 @: $(MAKE); $(unstage)
8207 @[ -f ./fastjar/Makefile ] || exit 0; \
8208 r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 $(HOST_EXPORTS) \
8211 for flag in $(EXTRA_HOST_FLAGS) ; do \
8212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8213 done; \
8214 echo "Doing pdf in fastjar"; \
8215 (cd $(HOST_SUBDIR)/fastjar && \
8216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8218 "RANLIB=$${RANLIB}" \
8219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8220 pdf) \
8221 || exit 1
8223 @endif fastjar
8225 .PHONY: maybe-html-fastjar html-fastjar
8226 maybe-html-fastjar:
8227 @if fastjar
8228 maybe-html-fastjar: html-fastjar
8230 html-fastjar: \
8231 configure-fastjar
8232 @: $(MAKE); $(unstage)
8233 @[ -f ./fastjar/Makefile ] || exit 0; \
8234 r=`${PWD_COMMAND}`; export r; \
8235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8236 $(HOST_EXPORTS) \
8237 for flag in $(EXTRA_HOST_FLAGS) ; do \
8238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8239 done; \
8240 echo "Doing html in fastjar"; \
8241 (cd $(HOST_SUBDIR)/fastjar && \
8242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8244 "RANLIB=$${RANLIB}" \
8245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8246 html) \
8247 || exit 1
8249 @endif fastjar
8251 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8252 maybe-TAGS-fastjar:
8253 @if fastjar
8254 maybe-TAGS-fastjar: TAGS-fastjar
8256 TAGS-fastjar: \
8257 configure-fastjar
8258 @: $(MAKE); $(unstage)
8259 @[ -f ./fastjar/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing TAGS in fastjar"; \
8267 (cd $(HOST_SUBDIR)/fastjar && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8272 TAGS) \
8273 || exit 1
8275 @endif fastjar
8277 .PHONY: maybe-install-info-fastjar install-info-fastjar
8278 maybe-install-info-fastjar:
8279 @if fastjar
8280 maybe-install-info-fastjar: install-info-fastjar
8282 install-info-fastjar: \
8283 configure-fastjar \
8284 info-fastjar
8285 @: $(MAKE); $(unstage)
8286 @[ -f ./fastjar/Makefile ] || exit 0; \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 $(HOST_EXPORTS) \
8290 for flag in $(EXTRA_HOST_FLAGS) ; do \
8291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 done; \
8293 echo "Doing install-info in fastjar"; \
8294 (cd $(HOST_SUBDIR)/fastjar && \
8295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8297 "RANLIB=$${RANLIB}" \
8298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8299 install-info) \
8300 || exit 1
8302 @endif fastjar
8304 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8305 maybe-install-pdf-fastjar:
8306 @if fastjar
8307 maybe-install-pdf-fastjar: install-pdf-fastjar
8309 install-pdf-fastjar: \
8310 configure-fastjar \
8311 pdf-fastjar
8312 @: $(MAKE); $(unstage)
8313 @[ -f ./fastjar/Makefile ] || exit 0; \
8314 r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 $(HOST_EXPORTS) \
8317 for flag in $(EXTRA_HOST_FLAGS) ; do \
8318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8319 done; \
8320 echo "Doing install-pdf in fastjar"; \
8321 (cd $(HOST_SUBDIR)/fastjar && \
8322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8324 "RANLIB=$${RANLIB}" \
8325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8326 install-pdf) \
8327 || exit 1
8329 @endif fastjar
8331 .PHONY: maybe-install-html-fastjar install-html-fastjar
8332 maybe-install-html-fastjar:
8333 @if fastjar
8334 maybe-install-html-fastjar: install-html-fastjar
8336 install-html-fastjar: \
8337 configure-fastjar \
8338 html-fastjar
8339 @: $(MAKE); $(unstage)
8340 @[ -f ./fastjar/Makefile ] || exit 0; \
8341 r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343 $(HOST_EXPORTS) \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8346 done; \
8347 echo "Doing install-html in fastjar"; \
8348 (cd $(HOST_SUBDIR)/fastjar && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8353 install-html) \
8354 || exit 1
8356 @endif fastjar
8358 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8359 maybe-installcheck-fastjar:
8360 @if fastjar
8361 maybe-installcheck-fastjar: installcheck-fastjar
8363 installcheck-fastjar: \
8364 configure-fastjar
8365 @: $(MAKE); $(unstage)
8366 @[ -f ./fastjar/Makefile ] || exit 0; \
8367 r=`${PWD_COMMAND}`; export r; \
8368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8369 $(HOST_EXPORTS) \
8370 for flag in $(EXTRA_HOST_FLAGS) ; do \
8371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8372 done; \
8373 echo "Doing installcheck in fastjar"; \
8374 (cd $(HOST_SUBDIR)/fastjar && \
8375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8377 "RANLIB=$${RANLIB}" \
8378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8379 installcheck) \
8380 || exit 1
8382 @endif fastjar
8384 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8385 maybe-mostlyclean-fastjar:
8386 @if fastjar
8387 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8389 mostlyclean-fastjar:
8390 @: $(MAKE); $(unstage)
8391 @[ -f ./fastjar/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(HOST_EXPORTS) \
8395 for flag in $(EXTRA_HOST_FLAGS) ; do \
8396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8397 done; \
8398 echo "Doing mostlyclean in fastjar"; \
8399 (cd $(HOST_SUBDIR)/fastjar && \
8400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8402 "RANLIB=$${RANLIB}" \
8403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8404 mostlyclean) \
8405 || exit 1
8407 @endif fastjar
8409 .PHONY: maybe-clean-fastjar clean-fastjar
8410 maybe-clean-fastjar:
8411 @if fastjar
8412 maybe-clean-fastjar: clean-fastjar
8414 clean-fastjar:
8415 @: $(MAKE); $(unstage)
8416 @[ -f ./fastjar/Makefile ] || exit 0; \
8417 r=`${PWD_COMMAND}`; export r; \
8418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8419 $(HOST_EXPORTS) \
8420 for flag in $(EXTRA_HOST_FLAGS) ; do \
8421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8422 done; \
8423 echo "Doing clean in fastjar"; \
8424 (cd $(HOST_SUBDIR)/fastjar && \
8425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427 "RANLIB=$${RANLIB}" \
8428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8429 clean) \
8430 || exit 1
8432 @endif fastjar
8434 .PHONY: maybe-distclean-fastjar distclean-fastjar
8435 maybe-distclean-fastjar:
8436 @if fastjar
8437 maybe-distclean-fastjar: distclean-fastjar
8439 distclean-fastjar:
8440 @: $(MAKE); $(unstage)
8441 @[ -f ./fastjar/Makefile ] || exit 0; \
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 for flag in $(EXTRA_HOST_FLAGS) ; do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing distclean in fastjar"; \
8449 (cd $(HOST_SUBDIR)/fastjar && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8454 distclean) \
8455 || exit 1
8457 @endif fastjar
8459 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8460 maybe-maintainer-clean-fastjar:
8461 @if fastjar
8462 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8464 maintainer-clean-fastjar:
8465 @: $(MAKE); $(unstage)
8466 @[ -f ./fastjar/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(HOST_EXPORTS) \
8470 for flag in $(EXTRA_HOST_FLAGS) ; do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472 done; \
8473 echo "Doing maintainer-clean in fastjar"; \
8474 (cd $(HOST_SUBDIR)/fastjar && \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8479 maintainer-clean) \
8480 || exit 1
8482 @endif fastjar
8486 .PHONY: configure-fixincludes maybe-configure-fixincludes
8487 maybe-configure-fixincludes:
8488 @if gcc-bootstrap
8489 configure-fixincludes: stage_current
8490 @endif gcc-bootstrap
8491 @if fixincludes
8492 maybe-configure-fixincludes: configure-fixincludes
8493 configure-fixincludes:
8494 @r=`${PWD_COMMAND}`; export r; \
8495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8496 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8498 $(HOST_EXPORTS) \
8499 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8500 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8501 case $(srcdir) in \
8502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8503 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8505 esac; \
8506 module_srcdir=fixincludes; \
8507 $(SHELL) \
8508 $$s/$$module_srcdir/configure \
8509 --srcdir=$${topdir}/$$module_srcdir \
8510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8511 --target=${target_alias} \
8512 || exit 1
8513 @endif fixincludes
8517 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8518 maybe-configure-stage1-fixincludes:
8519 @if fixincludes-bootstrap
8520 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8521 configure-stage1-fixincludes:
8522 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8524 @r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 TFLAGS="$(STAGE1_TFLAGS)"; \
8527 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8528 $(HOST_EXPORTS) \
8529 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8530 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8531 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8532 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8534 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8535 case $(srcdir) in \
8536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8537 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8539 esac; \
8540 module_srcdir=fixincludes; \
8541 $(SHELL) $$s/$$module_srcdir/configure \
8542 --srcdir=$${topdir}/$$module_srcdir \
8543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8544 --target=${target_alias} \
8546 $(STAGE1_CONFIGURE_FLAGS)
8547 @endif fixincludes-bootstrap
8549 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8550 maybe-configure-stage2-fixincludes:
8551 @if fixincludes-bootstrap
8552 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8553 configure-stage2-fixincludes:
8554 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8556 @r=`${PWD_COMMAND}`; export r; \
8557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8558 TFLAGS="$(STAGE2_TFLAGS)"; \
8559 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8560 $(HOST_EXPORTS) \
8561 $(POSTSTAGE1_HOST_EXPORTS) \
8562 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8563 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8564 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8565 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8567 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8568 case $(srcdir) in \
8569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8570 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8572 esac; \
8573 module_srcdir=fixincludes; \
8574 $(SHELL) $$s/$$module_srcdir/configure \
8575 --srcdir=$${topdir}/$$module_srcdir \
8576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8577 --target=${target_alias} \
8578 --with-build-libsubdir=$(HOST_SUBDIR) \
8579 $(STAGE2_CONFIGURE_FLAGS)
8580 @endif fixincludes-bootstrap
8582 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8583 maybe-configure-stage3-fixincludes:
8584 @if fixincludes-bootstrap
8585 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8586 configure-stage3-fixincludes:
8587 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8589 @r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 TFLAGS="$(STAGE3_TFLAGS)"; \
8592 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8593 $(HOST_EXPORTS) \
8594 $(POSTSTAGE1_HOST_EXPORTS) \
8595 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8596 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8597 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8598 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8600 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8601 case $(srcdir) in \
8602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8603 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8605 esac; \
8606 module_srcdir=fixincludes; \
8607 $(SHELL) $$s/$$module_srcdir/configure \
8608 --srcdir=$${topdir}/$$module_srcdir \
8609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8610 --target=${target_alias} \
8611 --with-build-libsubdir=$(HOST_SUBDIR) \
8612 $(STAGE3_CONFIGURE_FLAGS)
8613 @endif fixincludes-bootstrap
8615 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8616 maybe-configure-stage4-fixincludes:
8617 @if fixincludes-bootstrap
8618 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8619 configure-stage4-fixincludes:
8620 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8622 @r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 TFLAGS="$(STAGE4_TFLAGS)"; \
8625 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8626 $(HOST_EXPORTS) \
8627 $(POSTSTAGE1_HOST_EXPORTS) \
8628 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8629 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8630 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8631 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8633 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8634 case $(srcdir) in \
8635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8636 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8638 esac; \
8639 module_srcdir=fixincludes; \
8640 $(SHELL) $$s/$$module_srcdir/configure \
8641 --srcdir=$${topdir}/$$module_srcdir \
8642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8643 --target=${target_alias} \
8644 --with-build-libsubdir=$(HOST_SUBDIR) \
8645 $(STAGE4_CONFIGURE_FLAGS)
8646 @endif fixincludes-bootstrap
8648 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8649 maybe-configure-stageprofile-fixincludes:
8650 @if fixincludes-bootstrap
8651 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8652 configure-stageprofile-fixincludes:
8653 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8655 @r=`${PWD_COMMAND}`; export r; \
8656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8657 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8658 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8659 $(HOST_EXPORTS) \
8660 $(POSTSTAGE1_HOST_EXPORTS) \
8661 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8662 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8663 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8664 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8666 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8667 case $(srcdir) in \
8668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8669 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8671 esac; \
8672 module_srcdir=fixincludes; \
8673 $(SHELL) $$s/$$module_srcdir/configure \
8674 --srcdir=$${topdir}/$$module_srcdir \
8675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8676 --target=${target_alias} \
8677 --with-build-libsubdir=$(HOST_SUBDIR) \
8678 $(STAGEprofile_CONFIGURE_FLAGS)
8679 @endif fixincludes-bootstrap
8681 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8682 maybe-configure-stagefeedback-fixincludes:
8683 @if fixincludes-bootstrap
8684 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8685 configure-stagefeedback-fixincludes:
8686 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8687 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8688 @r=`${PWD_COMMAND}`; export r; \
8689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8690 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8691 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8692 $(HOST_EXPORTS) \
8693 $(POSTSTAGE1_HOST_EXPORTS) \
8694 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8695 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8696 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8697 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8699 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8700 case $(srcdir) in \
8701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8702 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8704 esac; \
8705 module_srcdir=fixincludes; \
8706 $(SHELL) $$s/$$module_srcdir/configure \
8707 --srcdir=$${topdir}/$$module_srcdir \
8708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8709 --target=${target_alias} \
8710 --with-build-libsubdir=$(HOST_SUBDIR) \
8711 $(STAGEfeedback_CONFIGURE_FLAGS)
8712 @endif fixincludes-bootstrap
8714 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8715 maybe-configure-stageautoprofile-fixincludes:
8716 @if fixincludes-bootstrap
8717 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8718 configure-stageautoprofile-fixincludes:
8719 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8721 @r=`${PWD_COMMAND}`; export r; \
8722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8723 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8724 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8725 $(HOST_EXPORTS) \
8726 $(POSTSTAGE1_HOST_EXPORTS) \
8727 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8728 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8729 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8730 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8732 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8733 case $(srcdir) in \
8734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8735 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8737 esac; \
8738 module_srcdir=fixincludes; \
8739 $(SHELL) $$s/$$module_srcdir/configure \
8740 --srcdir=$${topdir}/$$module_srcdir \
8741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8742 --target=${target_alias} \
8743 --with-build-libsubdir=$(HOST_SUBDIR) \
8744 $(STAGEautoprofile_CONFIGURE_FLAGS)
8745 @endif fixincludes-bootstrap
8747 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
8748 maybe-configure-stageautofeedback-fixincludes:
8749 @if fixincludes-bootstrap
8750 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
8751 configure-stageautofeedback-fixincludes:
8752 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
8753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8754 @r=`${PWD_COMMAND}`; export r; \
8755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8756 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
8757 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8758 $(HOST_EXPORTS) \
8759 $(POSTSTAGE1_HOST_EXPORTS) \
8760 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
8761 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
8762 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
8763 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
8764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8765 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8766 case $(srcdir) in \
8767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8768 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8770 esac; \
8771 module_srcdir=fixincludes; \
8772 $(SHELL) $$s/$$module_srcdir/configure \
8773 --srcdir=$${topdir}/$$module_srcdir \
8774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8775 --target=${target_alias} \
8776 --with-build-libsubdir=$(HOST_SUBDIR) \
8777 $(STAGEautofeedback_CONFIGURE_FLAGS)
8778 @endif fixincludes-bootstrap
8784 .PHONY: all-fixincludes maybe-all-fixincludes
8785 maybe-all-fixincludes:
8786 @if gcc-bootstrap
8787 all-fixincludes: stage_current
8788 @endif gcc-bootstrap
8789 @if fixincludes
8790 TARGET-fixincludes=all
8791 maybe-all-fixincludes: all-fixincludes
8792 all-fixincludes: configure-fixincludes
8793 @r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 $(HOST_EXPORTS) \
8796 (cd $(HOST_SUBDIR)/fixincludes && \
8797 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8798 $(TARGET-fixincludes))
8799 @endif fixincludes
8803 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8804 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8805 maybe-all-stage1-fixincludes:
8806 maybe-clean-stage1-fixincludes:
8807 @if fixincludes-bootstrap
8808 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8809 all-stage1: all-stage1-fixincludes
8810 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8811 all-stage1-fixincludes: configure-stage1-fixincludes
8812 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8813 @r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 TFLAGS="$(STAGE1_TFLAGS)"; \
8816 $(HOST_EXPORTS) \
8817 cd $(HOST_SUBDIR)/fixincludes && \
8819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8820 CFLAGS="$(STAGE1_CFLAGS)" \
8821 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8822 LIBCFLAGS="$(LIBCFLAGS)" \
8823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8826 $(EXTRA_HOST_FLAGS) \
8827 $(STAGE1_FLAGS_TO_PASS) \
8828 TFLAGS="$(STAGE1_TFLAGS)" \
8829 $(TARGET-stage1-fixincludes)
8831 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8832 clean-stage1: clean-stage1-fixincludes
8833 clean-stage1-fixincludes:
8834 @if [ $(current_stage) = stage1 ]; then \
8835 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8836 else \
8837 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8838 $(MAKE) stage1-start; \
8839 fi; \
8840 cd $(HOST_SUBDIR)/fixincludes && \
8841 $(MAKE) $(EXTRA_HOST_FLAGS) \
8842 $(STAGE1_FLAGS_TO_PASS) clean
8843 @endif fixincludes-bootstrap
8846 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8847 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8848 maybe-all-stage2-fixincludes:
8849 maybe-clean-stage2-fixincludes:
8850 @if fixincludes-bootstrap
8851 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8852 all-stage2: all-stage2-fixincludes
8853 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8854 all-stage2-fixincludes: configure-stage2-fixincludes
8855 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8856 @r=`${PWD_COMMAND}`; export r; \
8857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8858 TFLAGS="$(STAGE2_TFLAGS)"; \
8859 $(HOST_EXPORTS) \
8860 $(POSTSTAGE1_HOST_EXPORTS) \
8861 cd $(HOST_SUBDIR)/fixincludes && \
8863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8864 CFLAGS="$(STAGE2_CFLAGS)" \
8865 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8866 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8871 TFLAGS="$(STAGE2_TFLAGS)" \
8872 $(TARGET-stage2-fixincludes)
8874 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8875 clean-stage2: clean-stage2-fixincludes
8876 clean-stage2-fixincludes:
8877 @if [ $(current_stage) = stage2 ]; then \
8878 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8879 else \
8880 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8881 $(MAKE) stage2-start; \
8882 fi; \
8883 cd $(HOST_SUBDIR)/fixincludes && \
8884 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8885 @endif fixincludes-bootstrap
8888 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8889 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8890 maybe-all-stage3-fixincludes:
8891 maybe-clean-stage3-fixincludes:
8892 @if fixincludes-bootstrap
8893 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8894 all-stage3: all-stage3-fixincludes
8895 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8896 all-stage3-fixincludes: configure-stage3-fixincludes
8897 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8898 @r=`${PWD_COMMAND}`; export r; \
8899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8900 TFLAGS="$(STAGE3_TFLAGS)"; \
8901 $(HOST_EXPORTS) \
8902 $(POSTSTAGE1_HOST_EXPORTS) \
8903 cd $(HOST_SUBDIR)/fixincludes && \
8905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8906 CFLAGS="$(STAGE3_CFLAGS)" \
8907 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8908 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8912 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8913 TFLAGS="$(STAGE3_TFLAGS)" \
8914 $(TARGET-stage3-fixincludes)
8916 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8917 clean-stage3: clean-stage3-fixincludes
8918 clean-stage3-fixincludes:
8919 @if [ $(current_stage) = stage3 ]; then \
8920 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8921 else \
8922 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8923 $(MAKE) stage3-start; \
8924 fi; \
8925 cd $(HOST_SUBDIR)/fixincludes && \
8926 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8927 @endif fixincludes-bootstrap
8930 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8931 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8932 maybe-all-stage4-fixincludes:
8933 maybe-clean-stage4-fixincludes:
8934 @if fixincludes-bootstrap
8935 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8936 all-stage4: all-stage4-fixincludes
8937 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8938 all-stage4-fixincludes: configure-stage4-fixincludes
8939 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8940 @r=`${PWD_COMMAND}`; export r; \
8941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 TFLAGS="$(STAGE4_TFLAGS)"; \
8943 $(HOST_EXPORTS) \
8944 $(POSTSTAGE1_HOST_EXPORTS) \
8945 cd $(HOST_SUBDIR)/fixincludes && \
8947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8948 CFLAGS="$(STAGE4_CFLAGS)" \
8949 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8950 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8954 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8955 TFLAGS="$(STAGE4_TFLAGS)" \
8956 $(TARGET-stage4-fixincludes)
8958 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8959 clean-stage4: clean-stage4-fixincludes
8960 clean-stage4-fixincludes:
8961 @if [ $(current_stage) = stage4 ]; then \
8962 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8963 else \
8964 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8965 $(MAKE) stage4-start; \
8966 fi; \
8967 cd $(HOST_SUBDIR)/fixincludes && \
8968 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8969 @endif fixincludes-bootstrap
8972 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8973 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8974 maybe-all-stageprofile-fixincludes:
8975 maybe-clean-stageprofile-fixincludes:
8976 @if fixincludes-bootstrap
8977 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8978 all-stageprofile: all-stageprofile-fixincludes
8979 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8980 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8981 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8982 @r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8985 $(HOST_EXPORTS) \
8986 $(POSTSTAGE1_HOST_EXPORTS) \
8987 cd $(HOST_SUBDIR)/fixincludes && \
8989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8990 CFLAGS="$(STAGEprofile_CFLAGS)" \
8991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8992 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8997 TFLAGS="$(STAGEprofile_TFLAGS)" \
8998 $(TARGET-stageprofile-fixincludes)
9000 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9001 clean-stageprofile: clean-stageprofile-fixincludes
9002 clean-stageprofile-fixincludes:
9003 @if [ $(current_stage) = stageprofile ]; then \
9004 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9005 else \
9006 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9007 $(MAKE) stageprofile-start; \
9008 fi; \
9009 cd $(HOST_SUBDIR)/fixincludes && \
9010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9011 @endif fixincludes-bootstrap
9014 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9015 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9016 maybe-all-stagefeedback-fixincludes:
9017 maybe-clean-stagefeedback-fixincludes:
9018 @if fixincludes-bootstrap
9019 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9020 all-stagefeedback: all-stagefeedback-fixincludes
9021 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9022 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9024 @r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9027 $(HOST_EXPORTS) \
9028 $(POSTSTAGE1_HOST_EXPORTS) \
9029 cd $(HOST_SUBDIR)/fixincludes && \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9032 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9033 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9034 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9039 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9040 $(TARGET-stagefeedback-fixincludes)
9042 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9043 clean-stagefeedback: clean-stagefeedback-fixincludes
9044 clean-stagefeedback-fixincludes:
9045 @if [ $(current_stage) = stagefeedback ]; then \
9046 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9047 else \
9048 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9049 $(MAKE) stagefeedback-start; \
9050 fi; \
9051 cd $(HOST_SUBDIR)/fixincludes && \
9052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9053 @endif fixincludes-bootstrap
9056 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9057 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9058 maybe-all-stageautoprofile-fixincludes:
9059 maybe-clean-stageautoprofile-fixincludes:
9060 @if fixincludes-bootstrap
9061 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9062 all-stageautoprofile: all-stageautoprofile-fixincludes
9063 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9064 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9065 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9066 @r=`${PWD_COMMAND}`; export r; \
9067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9069 $(HOST_EXPORTS) \
9070 $(POSTSTAGE1_HOST_EXPORTS) \
9071 cd $(HOST_SUBDIR)/fixincludes && \
9072 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9074 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9075 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9076 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9081 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9082 $(TARGET-stageautoprofile-fixincludes)
9084 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9085 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9086 clean-stageautoprofile-fixincludes:
9087 @if [ $(current_stage) = stageautoprofile ]; then \
9088 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9089 else \
9090 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9091 $(MAKE) stageautoprofile-start; \
9092 fi; \
9093 cd $(HOST_SUBDIR)/fixincludes && \
9094 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9095 @endif fixincludes-bootstrap
9098 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9099 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9100 maybe-all-stageautofeedback-fixincludes:
9101 maybe-clean-stageautofeedback-fixincludes:
9102 @if fixincludes-bootstrap
9103 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9104 all-stageautofeedback: all-stageautofeedback-fixincludes
9105 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9106 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9107 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9108 @r=`${PWD_COMMAND}`; export r; \
9109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9110 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9111 $(HOST_EXPORTS) \
9112 $(POSTSTAGE1_HOST_EXPORTS) \
9113 cd $(HOST_SUBDIR)/fixincludes && \
9115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9116 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9117 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9118 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9123 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9124 $(TARGET-stageautofeedback-fixincludes)
9126 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9127 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9128 clean-stageautofeedback-fixincludes:
9129 @if [ $(current_stage) = stageautofeedback ]; then \
9130 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9131 else \
9132 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9133 $(MAKE) stageautofeedback-start; \
9134 fi; \
9135 cd $(HOST_SUBDIR)/fixincludes && \
9136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9137 @endif fixincludes-bootstrap
9143 .PHONY: check-fixincludes maybe-check-fixincludes
9144 maybe-check-fixincludes:
9145 @if fixincludes
9146 maybe-check-fixincludes: check-fixincludes
9148 check-fixincludes:
9149 @: $(MAKE); $(unstage)
9150 @r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9153 (cd $(HOST_SUBDIR)/fixincludes && \
9154 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9156 @endif fixincludes
9158 .PHONY: install-fixincludes maybe-install-fixincludes
9159 maybe-install-fixincludes:
9160 @if fixincludes
9161 maybe-install-fixincludes: install-fixincludes
9163 install-fixincludes: installdirs
9164 @: $(MAKE); $(unstage)
9165 @r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 (cd $(HOST_SUBDIR)/fixincludes && \
9169 $(MAKE) $(FLAGS_TO_PASS) install)
9171 @endif fixincludes
9173 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9174 maybe-install-strip-fixincludes:
9175 @if fixincludes
9176 maybe-install-strip-fixincludes: install-strip-fixincludes
9178 install-strip-fixincludes: installdirs
9179 @: $(MAKE); $(unstage)
9180 @r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 (cd $(HOST_SUBDIR)/fixincludes && \
9184 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9186 @endif fixincludes
9188 # Other targets (info, dvi, pdf, etc.)
9190 .PHONY: maybe-info-fixincludes info-fixincludes
9191 maybe-info-fixincludes:
9192 @if fixincludes
9193 maybe-info-fixincludes: info-fixincludes
9195 info-fixincludes: \
9196 configure-fixincludes
9197 @[ -f ./fixincludes/Makefile ] || exit 0; \
9198 r=`${PWD_COMMAND}`; export r; \
9199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9200 $(HOST_EXPORTS) \
9201 for flag in $(EXTRA_HOST_FLAGS) ; do \
9202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9203 done; \
9204 echo "Doing info in fixincludes"; \
9205 (cd $(HOST_SUBDIR)/fixincludes && \
9206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9208 "RANLIB=$${RANLIB}" \
9209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9210 info) \
9211 || exit 1
9213 @endif fixincludes
9215 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9216 maybe-dvi-fixincludes:
9217 @if fixincludes
9218 maybe-dvi-fixincludes: dvi-fixincludes
9220 dvi-fixincludes: \
9221 configure-fixincludes
9222 @[ -f ./fixincludes/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing dvi in fixincludes"; \
9230 (cd $(HOST_SUBDIR)/fixincludes && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9235 dvi) \
9236 || exit 1
9238 @endif fixincludes
9240 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9241 maybe-pdf-fixincludes:
9242 @if fixincludes
9243 maybe-pdf-fixincludes: pdf-fixincludes
9245 pdf-fixincludes: \
9246 configure-fixincludes
9247 @[ -f ./fixincludes/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing pdf in fixincludes"; \
9255 (cd $(HOST_SUBDIR)/fixincludes && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9260 pdf) \
9261 || exit 1
9263 @endif fixincludes
9265 .PHONY: maybe-html-fixincludes html-fixincludes
9266 maybe-html-fixincludes:
9267 @if fixincludes
9268 maybe-html-fixincludes: html-fixincludes
9270 html-fixincludes: \
9271 configure-fixincludes
9272 @[ -f ./fixincludes/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(HOST_EXPORTS) \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 done; \
9279 echo "Doing html in fixincludes"; \
9280 (cd $(HOST_SUBDIR)/fixincludes && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9285 html) \
9286 || exit 1
9288 @endif fixincludes
9290 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9291 maybe-TAGS-fixincludes:
9292 @if fixincludes
9293 maybe-TAGS-fixincludes: TAGS-fixincludes
9295 # fixincludes doesn't support TAGS.
9296 TAGS-fixincludes:
9298 @endif fixincludes
9300 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9301 maybe-install-info-fixincludes:
9302 @if fixincludes
9303 maybe-install-info-fixincludes: install-info-fixincludes
9305 install-info-fixincludes: \
9306 configure-fixincludes \
9307 info-fixincludes
9308 @[ -f ./fixincludes/Makefile ] || exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9311 $(HOST_EXPORTS) \
9312 for flag in $(EXTRA_HOST_FLAGS) ; do \
9313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9314 done; \
9315 echo "Doing install-info in fixincludes"; \
9316 (cd $(HOST_SUBDIR)/fixincludes && \
9317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9319 "RANLIB=$${RANLIB}" \
9320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9321 install-info) \
9322 || exit 1
9324 @endif fixincludes
9326 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9327 maybe-install-pdf-fixincludes:
9328 @if fixincludes
9329 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9331 install-pdf-fixincludes: \
9332 configure-fixincludes \
9333 pdf-fixincludes
9334 @[ -f ./fixincludes/Makefile ] || exit 0; \
9335 r=`${PWD_COMMAND}`; export r; \
9336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337 $(HOST_EXPORTS) \
9338 for flag in $(EXTRA_HOST_FLAGS) ; do \
9339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9340 done; \
9341 echo "Doing install-pdf in fixincludes"; \
9342 (cd $(HOST_SUBDIR)/fixincludes && \
9343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9345 "RANLIB=$${RANLIB}" \
9346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9347 install-pdf) \
9348 || exit 1
9350 @endif fixincludes
9352 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9353 maybe-install-html-fixincludes:
9354 @if fixincludes
9355 maybe-install-html-fixincludes: install-html-fixincludes
9357 install-html-fixincludes: \
9358 configure-fixincludes \
9359 html-fixincludes
9360 @[ -f ./fixincludes/Makefile ] || exit 0; \
9361 r=`${PWD_COMMAND}`; export r; \
9362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9363 $(HOST_EXPORTS) \
9364 for flag in $(EXTRA_HOST_FLAGS) ; do \
9365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9366 done; \
9367 echo "Doing install-html in fixincludes"; \
9368 (cd $(HOST_SUBDIR)/fixincludes && \
9369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9371 "RANLIB=$${RANLIB}" \
9372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9373 install-html) \
9374 || exit 1
9376 @endif fixincludes
9378 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9379 maybe-installcheck-fixincludes:
9380 @if fixincludes
9381 maybe-installcheck-fixincludes: installcheck-fixincludes
9383 installcheck-fixincludes: \
9384 configure-fixincludes
9385 @[ -f ./fixincludes/Makefile ] || exit 0; \
9386 r=`${PWD_COMMAND}`; export r; \
9387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9388 $(HOST_EXPORTS) \
9389 for flag in $(EXTRA_HOST_FLAGS) ; do \
9390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9391 done; \
9392 echo "Doing installcheck in fixincludes"; \
9393 (cd $(HOST_SUBDIR)/fixincludes && \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9396 "RANLIB=$${RANLIB}" \
9397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9398 installcheck) \
9399 || exit 1
9401 @endif fixincludes
9403 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9404 maybe-mostlyclean-fixincludes:
9405 @if fixincludes
9406 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9408 mostlyclean-fixincludes:
9409 @[ -f ./fixincludes/Makefile ] || exit 0; \
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 $(HOST_EXPORTS) \
9413 for flag in $(EXTRA_HOST_FLAGS) ; do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9415 done; \
9416 echo "Doing mostlyclean in fixincludes"; \
9417 (cd $(HOST_SUBDIR)/fixincludes && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9422 mostlyclean) \
9423 || exit 1
9425 @endif fixincludes
9427 .PHONY: maybe-clean-fixincludes clean-fixincludes
9428 maybe-clean-fixincludes:
9429 @if fixincludes
9430 maybe-clean-fixincludes: clean-fixincludes
9432 clean-fixincludes:
9433 @[ -f ./fixincludes/Makefile ] || exit 0; \
9434 r=`${PWD_COMMAND}`; export r; \
9435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9436 $(HOST_EXPORTS) \
9437 for flag in $(EXTRA_HOST_FLAGS) ; do \
9438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9439 done; \
9440 echo "Doing clean in fixincludes"; \
9441 (cd $(HOST_SUBDIR)/fixincludes && \
9442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9444 "RANLIB=$${RANLIB}" \
9445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9446 clean) \
9447 || exit 1
9449 @endif fixincludes
9451 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9452 maybe-distclean-fixincludes:
9453 @if fixincludes
9454 maybe-distclean-fixincludes: distclean-fixincludes
9456 distclean-fixincludes:
9457 @[ -f ./fixincludes/Makefile ] || exit 0; \
9458 r=`${PWD_COMMAND}`; export r; \
9459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9460 $(HOST_EXPORTS) \
9461 for flag in $(EXTRA_HOST_FLAGS) ; do \
9462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9463 done; \
9464 echo "Doing distclean in fixincludes"; \
9465 (cd $(HOST_SUBDIR)/fixincludes && \
9466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9468 "RANLIB=$${RANLIB}" \
9469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9470 distclean) \
9471 || exit 1
9473 @endif fixincludes
9475 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9476 maybe-maintainer-clean-fixincludes:
9477 @if fixincludes
9478 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9480 maintainer-clean-fixincludes:
9481 @[ -f ./fixincludes/Makefile ] || exit 0; \
9482 r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 for flag in $(EXTRA_HOST_FLAGS) ; do \
9486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 done; \
9488 echo "Doing maintainer-clean in fixincludes"; \
9489 (cd $(HOST_SUBDIR)/fixincludes && \
9490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9492 "RANLIB=$${RANLIB}" \
9493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9494 maintainer-clean) \
9495 || exit 1
9497 @endif fixincludes
9501 .PHONY: configure-flex maybe-configure-flex
9502 maybe-configure-flex:
9503 @if gcc-bootstrap
9504 configure-flex: stage_current
9505 @endif gcc-bootstrap
9506 @if flex
9507 maybe-configure-flex: configure-flex
9508 configure-flex:
9509 @: $(MAKE); $(unstage)
9510 @r=`${PWD_COMMAND}`; export r; \
9511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9512 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9514 $(HOST_EXPORTS) \
9515 echo Configuring in $(HOST_SUBDIR)/flex; \
9516 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9517 case $(srcdir) in \
9518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9519 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9521 esac; \
9522 module_srcdir=flex; \
9523 $(SHELL) \
9524 $$s/$$module_srcdir/configure \
9525 --srcdir=$${topdir}/$$module_srcdir \
9526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9527 --target=${target_alias} \
9528 || exit 1
9529 @endif flex
9535 .PHONY: all-flex maybe-all-flex
9536 maybe-all-flex:
9537 @if gcc-bootstrap
9538 all-flex: stage_current
9539 @endif gcc-bootstrap
9540 @if flex
9541 TARGET-flex=all
9542 maybe-all-flex: all-flex
9543 all-flex: configure-flex
9544 @: $(MAKE); $(unstage)
9545 @r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547 $(HOST_EXPORTS) \
9548 (cd $(HOST_SUBDIR)/flex && \
9549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9550 $(TARGET-flex))
9551 @endif flex
9556 .PHONY: check-flex maybe-check-flex
9557 maybe-check-flex:
9558 @if flex
9559 maybe-check-flex: check-flex
9561 # This module is only tested in a native toolchain.
9562 check-flex:
9563 @: $(MAKE); $(unstage)
9564 @if [ '$(host)' = '$(target)' ]; then \
9565 r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 (cd $(HOST_SUBDIR)/flex && \
9569 $(MAKE) $(FLAGS_TO_PASS) check)
9572 @endif flex
9574 .PHONY: install-flex maybe-install-flex
9575 maybe-install-flex:
9576 @if flex
9577 maybe-install-flex: install-flex
9579 install-flex: installdirs
9580 @: $(MAKE); $(unstage)
9581 @r=`${PWD_COMMAND}`; export r; \
9582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9583 $(HOST_EXPORTS) \
9584 (cd $(HOST_SUBDIR)/flex && \
9585 $(MAKE) $(FLAGS_TO_PASS) install)
9587 @endif flex
9589 .PHONY: install-strip-flex maybe-install-strip-flex
9590 maybe-install-strip-flex:
9591 @if flex
9592 maybe-install-strip-flex: install-strip-flex
9594 install-strip-flex: installdirs
9595 @: $(MAKE); $(unstage)
9596 @r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9598 $(HOST_EXPORTS) \
9599 (cd $(HOST_SUBDIR)/flex && \
9600 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9602 @endif flex
9604 # Other targets (info, dvi, pdf, etc.)
9606 .PHONY: maybe-info-flex info-flex
9607 maybe-info-flex:
9608 @if flex
9609 maybe-info-flex: info-flex
9611 info-flex: \
9612 configure-flex
9613 @: $(MAKE); $(unstage)
9614 @[ -f ./flex/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 $(HOST_EXPORTS) \
9618 for flag in $(EXTRA_HOST_FLAGS) ; do \
9619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620 done; \
9621 echo "Doing info in flex"; \
9622 (cd $(HOST_SUBDIR)/flex && \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625 "RANLIB=$${RANLIB}" \
9626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9627 info) \
9628 || exit 1
9630 @endif flex
9632 .PHONY: maybe-dvi-flex dvi-flex
9633 maybe-dvi-flex:
9634 @if flex
9635 maybe-dvi-flex: dvi-flex
9637 dvi-flex: \
9638 configure-flex
9639 @: $(MAKE); $(unstage)
9640 @[ -f ./flex/Makefile ] || exit 0; \
9641 r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(HOST_EXPORTS) \
9644 for flag in $(EXTRA_HOST_FLAGS) ; do \
9645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9646 done; \
9647 echo "Doing dvi in flex"; \
9648 (cd $(HOST_SUBDIR)/flex && \
9649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9651 "RANLIB=$${RANLIB}" \
9652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9653 dvi) \
9654 || exit 1
9656 @endif flex
9658 .PHONY: maybe-pdf-flex pdf-flex
9659 maybe-pdf-flex:
9660 @if flex
9661 maybe-pdf-flex: pdf-flex
9663 pdf-flex: \
9664 configure-flex
9665 @: $(MAKE); $(unstage)
9666 @[ -f ./flex/Makefile ] || exit 0; \
9667 r=`${PWD_COMMAND}`; export r; \
9668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9669 $(HOST_EXPORTS) \
9670 for flag in $(EXTRA_HOST_FLAGS) ; do \
9671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9672 done; \
9673 echo "Doing pdf in flex"; \
9674 (cd $(HOST_SUBDIR)/flex && \
9675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9677 "RANLIB=$${RANLIB}" \
9678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9679 pdf) \
9680 || exit 1
9682 @endif flex
9684 .PHONY: maybe-html-flex html-flex
9685 maybe-html-flex:
9686 @if flex
9687 maybe-html-flex: html-flex
9689 html-flex: \
9690 configure-flex
9691 @: $(MAKE); $(unstage)
9692 @[ -f ./flex/Makefile ] || exit 0; \
9693 r=`${PWD_COMMAND}`; export r; \
9694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9695 $(HOST_EXPORTS) \
9696 for flag in $(EXTRA_HOST_FLAGS) ; do \
9697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9698 done; \
9699 echo "Doing html in flex"; \
9700 (cd $(HOST_SUBDIR)/flex && \
9701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9703 "RANLIB=$${RANLIB}" \
9704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9705 html) \
9706 || exit 1
9708 @endif flex
9710 .PHONY: maybe-TAGS-flex TAGS-flex
9711 maybe-TAGS-flex:
9712 @if flex
9713 maybe-TAGS-flex: TAGS-flex
9715 TAGS-flex: \
9716 configure-flex
9717 @: $(MAKE); $(unstage)
9718 @[ -f ./flex/Makefile ] || exit 0; \
9719 r=`${PWD_COMMAND}`; export r; \
9720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9721 $(HOST_EXPORTS) \
9722 for flag in $(EXTRA_HOST_FLAGS) ; do \
9723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9724 done; \
9725 echo "Doing TAGS in flex"; \
9726 (cd $(HOST_SUBDIR)/flex && \
9727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9729 "RANLIB=$${RANLIB}" \
9730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9731 TAGS) \
9732 || exit 1
9734 @endif flex
9736 .PHONY: maybe-install-info-flex install-info-flex
9737 maybe-install-info-flex:
9738 @if flex
9739 maybe-install-info-flex: install-info-flex
9741 install-info-flex: \
9742 configure-flex \
9743 info-flex
9744 @: $(MAKE); $(unstage)
9745 @[ -f ./flex/Makefile ] || exit 0; \
9746 r=`${PWD_COMMAND}`; export r; \
9747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9748 $(HOST_EXPORTS) \
9749 for flag in $(EXTRA_HOST_FLAGS) ; do \
9750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9751 done; \
9752 echo "Doing install-info in flex"; \
9753 (cd $(HOST_SUBDIR)/flex && \
9754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9756 "RANLIB=$${RANLIB}" \
9757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9758 install-info) \
9759 || exit 1
9761 @endif flex
9763 .PHONY: maybe-install-pdf-flex install-pdf-flex
9764 maybe-install-pdf-flex:
9765 @if flex
9766 maybe-install-pdf-flex: install-pdf-flex
9768 install-pdf-flex: \
9769 configure-flex \
9770 pdf-flex
9771 @: $(MAKE); $(unstage)
9772 @[ -f ./flex/Makefile ] || exit 0; \
9773 r=`${PWD_COMMAND}`; export r; \
9774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9775 $(HOST_EXPORTS) \
9776 for flag in $(EXTRA_HOST_FLAGS) ; do \
9777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9778 done; \
9779 echo "Doing install-pdf in flex"; \
9780 (cd $(HOST_SUBDIR)/flex && \
9781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9783 "RANLIB=$${RANLIB}" \
9784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9785 install-pdf) \
9786 || exit 1
9788 @endif flex
9790 .PHONY: maybe-install-html-flex install-html-flex
9791 maybe-install-html-flex:
9792 @if flex
9793 maybe-install-html-flex: install-html-flex
9795 install-html-flex: \
9796 configure-flex \
9797 html-flex
9798 @: $(MAKE); $(unstage)
9799 @[ -f ./flex/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(HOST_EXPORTS) \
9803 for flag in $(EXTRA_HOST_FLAGS) ; do \
9804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 done; \
9806 echo "Doing install-html in flex"; \
9807 (cd $(HOST_SUBDIR)/flex && \
9808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9810 "RANLIB=$${RANLIB}" \
9811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9812 install-html) \
9813 || exit 1
9815 @endif flex
9817 .PHONY: maybe-installcheck-flex installcheck-flex
9818 maybe-installcheck-flex:
9819 @if flex
9820 maybe-installcheck-flex: installcheck-flex
9822 installcheck-flex: \
9823 configure-flex
9824 @: $(MAKE); $(unstage)
9825 @[ -f ./flex/Makefile ] || exit 0; \
9826 r=`${PWD_COMMAND}`; export r; \
9827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9828 $(HOST_EXPORTS) \
9829 for flag in $(EXTRA_HOST_FLAGS) ; do \
9830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9831 done; \
9832 echo "Doing installcheck in flex"; \
9833 (cd $(HOST_SUBDIR)/flex && \
9834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9836 "RANLIB=$${RANLIB}" \
9837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9838 installcheck) \
9839 || exit 1
9841 @endif flex
9843 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9844 maybe-mostlyclean-flex:
9845 @if flex
9846 maybe-mostlyclean-flex: mostlyclean-flex
9848 mostlyclean-flex:
9849 @: $(MAKE); $(unstage)
9850 @[ -f ./flex/Makefile ] || exit 0; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 for flag in $(EXTRA_HOST_FLAGS) ; do \
9855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9856 done; \
9857 echo "Doing mostlyclean in flex"; \
9858 (cd $(HOST_SUBDIR)/flex && \
9859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9861 "RANLIB=$${RANLIB}" \
9862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9863 mostlyclean) \
9864 || exit 1
9866 @endif flex
9868 .PHONY: maybe-clean-flex clean-flex
9869 maybe-clean-flex:
9870 @if flex
9871 maybe-clean-flex: clean-flex
9873 clean-flex:
9874 @: $(MAKE); $(unstage)
9875 @[ -f ./flex/Makefile ] || exit 0; \
9876 r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878 $(HOST_EXPORTS) \
9879 for flag in $(EXTRA_HOST_FLAGS) ; do \
9880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9881 done; \
9882 echo "Doing clean in flex"; \
9883 (cd $(HOST_SUBDIR)/flex && \
9884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9886 "RANLIB=$${RANLIB}" \
9887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9888 clean) \
9889 || exit 1
9891 @endif flex
9893 .PHONY: maybe-distclean-flex distclean-flex
9894 maybe-distclean-flex:
9895 @if flex
9896 maybe-distclean-flex: distclean-flex
9898 distclean-flex:
9899 @: $(MAKE); $(unstage)
9900 @[ -f ./flex/Makefile ] || exit 0; \
9901 r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9903 $(HOST_EXPORTS) \
9904 for flag in $(EXTRA_HOST_FLAGS) ; do \
9905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9906 done; \
9907 echo "Doing distclean in flex"; \
9908 (cd $(HOST_SUBDIR)/flex && \
9909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9911 "RANLIB=$${RANLIB}" \
9912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9913 distclean) \
9914 || exit 1
9916 @endif flex
9918 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9919 maybe-maintainer-clean-flex:
9920 @if flex
9921 maybe-maintainer-clean-flex: maintainer-clean-flex
9923 maintainer-clean-flex:
9924 @: $(MAKE); $(unstage)
9925 @[ -f ./flex/Makefile ] || exit 0; \
9926 r=`${PWD_COMMAND}`; export r; \
9927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9928 $(HOST_EXPORTS) \
9929 for flag in $(EXTRA_HOST_FLAGS) ; do \
9930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9931 done; \
9932 echo "Doing maintainer-clean in flex"; \
9933 (cd $(HOST_SUBDIR)/flex && \
9934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9936 "RANLIB=$${RANLIB}" \
9937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9938 maintainer-clean) \
9939 || exit 1
9941 @endif flex
9945 .PHONY: configure-gas maybe-configure-gas
9946 maybe-configure-gas:
9947 @if gcc-bootstrap
9948 configure-gas: stage_current
9949 @endif gcc-bootstrap
9950 @if gas
9951 maybe-configure-gas: configure-gas
9952 configure-gas:
9953 @r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9955 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9957 $(HOST_EXPORTS) \
9958 echo Configuring in $(HOST_SUBDIR)/gas; \
9959 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9960 case $(srcdir) in \
9961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9962 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9964 esac; \
9965 module_srcdir=gas; \
9966 $(SHELL) \
9967 $$s/$$module_srcdir/configure \
9968 --srcdir=$${topdir}/$$module_srcdir \
9969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9970 --target=${target_alias} \
9971 || exit 1
9972 @endif gas
9976 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9977 maybe-configure-stage1-gas:
9978 @if gas-bootstrap
9979 maybe-configure-stage1-gas: configure-stage1-gas
9980 configure-stage1-gas:
9981 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9983 @r=`${PWD_COMMAND}`; export r; \
9984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9985 TFLAGS="$(STAGE1_TFLAGS)"; \
9986 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9987 $(HOST_EXPORTS) \
9988 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9989 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9990 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9991 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
9992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9993 cd $(HOST_SUBDIR)/gas || exit 1; \
9994 case $(srcdir) in \
9995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9996 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9998 esac; \
9999 module_srcdir=gas; \
10000 $(SHELL) $$s/$$module_srcdir/configure \
10001 --srcdir=$${topdir}/$$module_srcdir \
10002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10003 --target=${target_alias} \
10005 $(STAGE1_CONFIGURE_FLAGS)
10006 @endif gas-bootstrap
10008 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10009 maybe-configure-stage2-gas:
10010 @if gas-bootstrap
10011 maybe-configure-stage2-gas: configure-stage2-gas
10012 configure-stage2-gas:
10013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10015 @r=`${PWD_COMMAND}`; export r; \
10016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 TFLAGS="$(STAGE2_TFLAGS)"; \
10018 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10019 $(HOST_EXPORTS) \
10020 $(POSTSTAGE1_HOST_EXPORTS) \
10021 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10022 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10023 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10024 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10026 cd $(HOST_SUBDIR)/gas || exit 1; \
10027 case $(srcdir) in \
10028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10029 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10031 esac; \
10032 module_srcdir=gas; \
10033 $(SHELL) $$s/$$module_srcdir/configure \
10034 --srcdir=$${topdir}/$$module_srcdir \
10035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10036 --target=${target_alias} \
10037 --with-build-libsubdir=$(HOST_SUBDIR) \
10038 $(STAGE2_CONFIGURE_FLAGS)
10039 @endif gas-bootstrap
10041 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10042 maybe-configure-stage3-gas:
10043 @if gas-bootstrap
10044 maybe-configure-stage3-gas: configure-stage3-gas
10045 configure-stage3-gas:
10046 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10048 @r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10050 TFLAGS="$(STAGE3_TFLAGS)"; \
10051 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10052 $(HOST_EXPORTS) \
10053 $(POSTSTAGE1_HOST_EXPORTS) \
10054 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10055 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10056 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10057 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10059 cd $(HOST_SUBDIR)/gas || exit 1; \
10060 case $(srcdir) in \
10061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10062 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10064 esac; \
10065 module_srcdir=gas; \
10066 $(SHELL) $$s/$$module_srcdir/configure \
10067 --srcdir=$${topdir}/$$module_srcdir \
10068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10069 --target=${target_alias} \
10070 --with-build-libsubdir=$(HOST_SUBDIR) \
10071 $(STAGE3_CONFIGURE_FLAGS)
10072 @endif gas-bootstrap
10074 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10075 maybe-configure-stage4-gas:
10076 @if gas-bootstrap
10077 maybe-configure-stage4-gas: configure-stage4-gas
10078 configure-stage4-gas:
10079 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10081 @r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10083 TFLAGS="$(STAGE4_TFLAGS)"; \
10084 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10085 $(HOST_EXPORTS) \
10086 $(POSTSTAGE1_HOST_EXPORTS) \
10087 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10088 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10089 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10090 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10092 cd $(HOST_SUBDIR)/gas || exit 1; \
10093 case $(srcdir) in \
10094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10095 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10097 esac; \
10098 module_srcdir=gas; \
10099 $(SHELL) $$s/$$module_srcdir/configure \
10100 --srcdir=$${topdir}/$$module_srcdir \
10101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10102 --target=${target_alias} \
10103 --with-build-libsubdir=$(HOST_SUBDIR) \
10104 $(STAGE4_CONFIGURE_FLAGS)
10105 @endif gas-bootstrap
10107 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10108 maybe-configure-stageprofile-gas:
10109 @if gas-bootstrap
10110 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10111 configure-stageprofile-gas:
10112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10114 @r=`${PWD_COMMAND}`; export r; \
10115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10116 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10117 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10118 $(HOST_EXPORTS) \
10119 $(POSTSTAGE1_HOST_EXPORTS) \
10120 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10121 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10122 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10123 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10125 cd $(HOST_SUBDIR)/gas || exit 1; \
10126 case $(srcdir) in \
10127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10128 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10130 esac; \
10131 module_srcdir=gas; \
10132 $(SHELL) $$s/$$module_srcdir/configure \
10133 --srcdir=$${topdir}/$$module_srcdir \
10134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10135 --target=${target_alias} \
10136 --with-build-libsubdir=$(HOST_SUBDIR) \
10137 $(STAGEprofile_CONFIGURE_FLAGS)
10138 @endif gas-bootstrap
10140 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10141 maybe-configure-stagefeedback-gas:
10142 @if gas-bootstrap
10143 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10144 configure-stagefeedback-gas:
10145 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10147 @r=`${PWD_COMMAND}`; export r; \
10148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10149 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10150 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10151 $(HOST_EXPORTS) \
10152 $(POSTSTAGE1_HOST_EXPORTS) \
10153 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10154 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10155 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10156 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10158 cd $(HOST_SUBDIR)/gas || exit 1; \
10159 case $(srcdir) in \
10160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10161 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10163 esac; \
10164 module_srcdir=gas; \
10165 $(SHELL) $$s/$$module_srcdir/configure \
10166 --srcdir=$${topdir}/$$module_srcdir \
10167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10168 --target=${target_alias} \
10169 --with-build-libsubdir=$(HOST_SUBDIR) \
10170 $(STAGEfeedback_CONFIGURE_FLAGS)
10171 @endif gas-bootstrap
10173 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10174 maybe-configure-stageautoprofile-gas:
10175 @if gas-bootstrap
10176 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10177 configure-stageautoprofile-gas:
10178 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10180 @r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10182 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10183 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10184 $(HOST_EXPORTS) \
10185 $(POSTSTAGE1_HOST_EXPORTS) \
10186 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10187 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10188 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10189 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10191 cd $(HOST_SUBDIR)/gas || exit 1; \
10192 case $(srcdir) in \
10193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10194 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10196 esac; \
10197 module_srcdir=gas; \
10198 $(SHELL) $$s/$$module_srcdir/configure \
10199 --srcdir=$${topdir}/$$module_srcdir \
10200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10201 --target=${target_alias} \
10202 --with-build-libsubdir=$(HOST_SUBDIR) \
10203 $(STAGEautoprofile_CONFIGURE_FLAGS)
10204 @endif gas-bootstrap
10206 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10207 maybe-configure-stageautofeedback-gas:
10208 @if gas-bootstrap
10209 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10210 configure-stageautofeedback-gas:
10211 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10213 @r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10216 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10217 $(HOST_EXPORTS) \
10218 $(POSTSTAGE1_HOST_EXPORTS) \
10219 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10220 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10221 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10222 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10224 cd $(HOST_SUBDIR)/gas || exit 1; \
10225 case $(srcdir) in \
10226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10227 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10229 esac; \
10230 module_srcdir=gas; \
10231 $(SHELL) $$s/$$module_srcdir/configure \
10232 --srcdir=$${topdir}/$$module_srcdir \
10233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10234 --target=${target_alias} \
10235 --with-build-libsubdir=$(HOST_SUBDIR) \
10236 $(STAGEautofeedback_CONFIGURE_FLAGS)
10237 @endif gas-bootstrap
10243 .PHONY: all-gas maybe-all-gas
10244 maybe-all-gas:
10245 @if gcc-bootstrap
10246 all-gas: stage_current
10247 @endif gcc-bootstrap
10248 @if gas
10249 TARGET-gas=all
10250 maybe-all-gas: all-gas
10251 all-gas: configure-gas
10252 @r=`${PWD_COMMAND}`; export r; \
10253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10254 $(HOST_EXPORTS) \
10255 (cd $(HOST_SUBDIR)/gas && \
10256 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10257 $(TARGET-gas))
10258 @endif gas
10262 .PHONY: all-stage1-gas maybe-all-stage1-gas
10263 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10264 maybe-all-stage1-gas:
10265 maybe-clean-stage1-gas:
10266 @if gas-bootstrap
10267 maybe-all-stage1-gas: all-stage1-gas
10268 all-stage1: all-stage1-gas
10269 TARGET-stage1-gas = $(TARGET-gas)
10270 all-stage1-gas: configure-stage1-gas
10271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10272 @r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 TFLAGS="$(STAGE1_TFLAGS)"; \
10275 $(HOST_EXPORTS) \
10276 cd $(HOST_SUBDIR)/gas && \
10278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10279 CFLAGS="$(STAGE1_CFLAGS)" \
10280 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10281 LIBCFLAGS="$(LIBCFLAGS)" \
10282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10285 $(EXTRA_HOST_FLAGS) \
10286 $(STAGE1_FLAGS_TO_PASS) \
10287 TFLAGS="$(STAGE1_TFLAGS)" \
10288 $(TARGET-stage1-gas)
10290 maybe-clean-stage1-gas: clean-stage1-gas
10291 clean-stage1: clean-stage1-gas
10292 clean-stage1-gas:
10293 @if [ $(current_stage) = stage1 ]; then \
10294 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10295 else \
10296 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10297 $(MAKE) stage1-start; \
10298 fi; \
10299 cd $(HOST_SUBDIR)/gas && \
10300 $(MAKE) $(EXTRA_HOST_FLAGS) \
10301 $(STAGE1_FLAGS_TO_PASS) clean
10302 @endif gas-bootstrap
10305 .PHONY: all-stage2-gas maybe-all-stage2-gas
10306 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10307 maybe-all-stage2-gas:
10308 maybe-clean-stage2-gas:
10309 @if gas-bootstrap
10310 maybe-all-stage2-gas: all-stage2-gas
10311 all-stage2: all-stage2-gas
10312 TARGET-stage2-gas = $(TARGET-gas)
10313 all-stage2-gas: configure-stage2-gas
10314 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10315 @r=`${PWD_COMMAND}`; export r; \
10316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10317 TFLAGS="$(STAGE2_TFLAGS)"; \
10318 $(HOST_EXPORTS) \
10319 $(POSTSTAGE1_HOST_EXPORTS) \
10320 cd $(HOST_SUBDIR)/gas && \
10322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10323 CFLAGS="$(STAGE2_CFLAGS)" \
10324 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10325 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10329 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10330 TFLAGS="$(STAGE2_TFLAGS)" \
10331 $(TARGET-stage2-gas)
10333 maybe-clean-stage2-gas: clean-stage2-gas
10334 clean-stage2: clean-stage2-gas
10335 clean-stage2-gas:
10336 @if [ $(current_stage) = stage2 ]; then \
10337 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10338 else \
10339 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10340 $(MAKE) stage2-start; \
10341 fi; \
10342 cd $(HOST_SUBDIR)/gas && \
10343 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10344 @endif gas-bootstrap
10347 .PHONY: all-stage3-gas maybe-all-stage3-gas
10348 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10349 maybe-all-stage3-gas:
10350 maybe-clean-stage3-gas:
10351 @if gas-bootstrap
10352 maybe-all-stage3-gas: all-stage3-gas
10353 all-stage3: all-stage3-gas
10354 TARGET-stage3-gas = $(TARGET-gas)
10355 all-stage3-gas: configure-stage3-gas
10356 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10357 @r=`${PWD_COMMAND}`; export r; \
10358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10359 TFLAGS="$(STAGE3_TFLAGS)"; \
10360 $(HOST_EXPORTS) \
10361 $(POSTSTAGE1_HOST_EXPORTS) \
10362 cd $(HOST_SUBDIR)/gas && \
10364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10365 CFLAGS="$(STAGE3_CFLAGS)" \
10366 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10367 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10371 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10372 TFLAGS="$(STAGE3_TFLAGS)" \
10373 $(TARGET-stage3-gas)
10375 maybe-clean-stage3-gas: clean-stage3-gas
10376 clean-stage3: clean-stage3-gas
10377 clean-stage3-gas:
10378 @if [ $(current_stage) = stage3 ]; then \
10379 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10380 else \
10381 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10382 $(MAKE) stage3-start; \
10383 fi; \
10384 cd $(HOST_SUBDIR)/gas && \
10385 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10386 @endif gas-bootstrap
10389 .PHONY: all-stage4-gas maybe-all-stage4-gas
10390 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10391 maybe-all-stage4-gas:
10392 maybe-clean-stage4-gas:
10393 @if gas-bootstrap
10394 maybe-all-stage4-gas: all-stage4-gas
10395 all-stage4: all-stage4-gas
10396 TARGET-stage4-gas = $(TARGET-gas)
10397 all-stage4-gas: configure-stage4-gas
10398 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10399 @r=`${PWD_COMMAND}`; export r; \
10400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10401 TFLAGS="$(STAGE4_TFLAGS)"; \
10402 $(HOST_EXPORTS) \
10403 $(POSTSTAGE1_HOST_EXPORTS) \
10404 cd $(HOST_SUBDIR)/gas && \
10406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10407 CFLAGS="$(STAGE4_CFLAGS)" \
10408 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10409 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10414 TFLAGS="$(STAGE4_TFLAGS)" \
10415 $(TARGET-stage4-gas)
10417 maybe-clean-stage4-gas: clean-stage4-gas
10418 clean-stage4: clean-stage4-gas
10419 clean-stage4-gas:
10420 @if [ $(current_stage) = stage4 ]; then \
10421 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10422 else \
10423 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10424 $(MAKE) stage4-start; \
10425 fi; \
10426 cd $(HOST_SUBDIR)/gas && \
10427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10428 @endif gas-bootstrap
10431 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10432 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10433 maybe-all-stageprofile-gas:
10434 maybe-clean-stageprofile-gas:
10435 @if gas-bootstrap
10436 maybe-all-stageprofile-gas: all-stageprofile-gas
10437 all-stageprofile: all-stageprofile-gas
10438 TARGET-stageprofile-gas = $(TARGET-gas)
10439 all-stageprofile-gas: configure-stageprofile-gas
10440 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10441 @r=`${PWD_COMMAND}`; export r; \
10442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10443 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10444 $(HOST_EXPORTS) \
10445 $(POSTSTAGE1_HOST_EXPORTS) \
10446 cd $(HOST_SUBDIR)/gas && \
10448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10449 CFLAGS="$(STAGEprofile_CFLAGS)" \
10450 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10451 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10456 TFLAGS="$(STAGEprofile_TFLAGS)" \
10457 $(TARGET-stageprofile-gas)
10459 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10460 clean-stageprofile: clean-stageprofile-gas
10461 clean-stageprofile-gas:
10462 @if [ $(current_stage) = stageprofile ]; then \
10463 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10464 else \
10465 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10466 $(MAKE) stageprofile-start; \
10467 fi; \
10468 cd $(HOST_SUBDIR)/gas && \
10469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10470 @endif gas-bootstrap
10473 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10474 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10475 maybe-all-stagefeedback-gas:
10476 maybe-clean-stagefeedback-gas:
10477 @if gas-bootstrap
10478 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10479 all-stagefeedback: all-stagefeedback-gas
10480 TARGET-stagefeedback-gas = $(TARGET-gas)
10481 all-stagefeedback-gas: configure-stagefeedback-gas
10482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10483 @r=`${PWD_COMMAND}`; export r; \
10484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10485 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10486 $(HOST_EXPORTS) \
10487 $(POSTSTAGE1_HOST_EXPORTS) \
10488 cd $(HOST_SUBDIR)/gas && \
10490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10491 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10492 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10493 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10498 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10499 $(TARGET-stagefeedback-gas)
10501 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10502 clean-stagefeedback: clean-stagefeedback-gas
10503 clean-stagefeedback-gas:
10504 @if [ $(current_stage) = stagefeedback ]; then \
10505 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10506 else \
10507 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10508 $(MAKE) stagefeedback-start; \
10509 fi; \
10510 cd $(HOST_SUBDIR)/gas && \
10511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10512 @endif gas-bootstrap
10515 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10516 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10517 maybe-all-stageautoprofile-gas:
10518 maybe-clean-stageautoprofile-gas:
10519 @if gas-bootstrap
10520 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10521 all-stageautoprofile: all-stageautoprofile-gas
10522 TARGET-stageautoprofile-gas = $(TARGET-gas)
10523 all-stageautoprofile-gas: configure-stageautoprofile-gas
10524 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10525 @r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10527 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10528 $(HOST_EXPORTS) \
10529 $(POSTSTAGE1_HOST_EXPORTS) \
10530 cd $(HOST_SUBDIR)/gas && \
10531 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10533 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10534 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10535 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10540 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10541 $(TARGET-stageautoprofile-gas)
10543 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10544 clean-stageautoprofile: clean-stageautoprofile-gas
10545 clean-stageautoprofile-gas:
10546 @if [ $(current_stage) = stageautoprofile ]; then \
10547 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10548 else \
10549 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10550 $(MAKE) stageautoprofile-start; \
10551 fi; \
10552 cd $(HOST_SUBDIR)/gas && \
10553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10554 @endif gas-bootstrap
10557 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10558 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10559 maybe-all-stageautofeedback-gas:
10560 maybe-clean-stageautofeedback-gas:
10561 @if gas-bootstrap
10562 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10563 all-stageautofeedback: all-stageautofeedback-gas
10564 TARGET-stageautofeedback-gas = $(TARGET-gas)
10565 all-stageautofeedback-gas: configure-stageautofeedback-gas
10566 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10567 @r=`${PWD_COMMAND}`; export r; \
10568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10569 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10570 $(HOST_EXPORTS) \
10571 $(POSTSTAGE1_HOST_EXPORTS) \
10572 cd $(HOST_SUBDIR)/gas && \
10574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10575 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10576 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10577 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10582 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10583 $(TARGET-stageautofeedback-gas)
10585 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10586 clean-stageautofeedback: clean-stageautofeedback-gas
10587 clean-stageautofeedback-gas:
10588 @if [ $(current_stage) = stageautofeedback ]; then \
10589 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10590 else \
10591 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10592 $(MAKE) stageautofeedback-start; \
10593 fi; \
10594 cd $(HOST_SUBDIR)/gas && \
10595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10596 @endif gas-bootstrap
10602 .PHONY: check-gas maybe-check-gas
10603 maybe-check-gas:
10604 @if gas
10605 maybe-check-gas: check-gas
10607 check-gas:
10608 @: $(MAKE); $(unstage)
10609 @r=`${PWD_COMMAND}`; export r; \
10610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10611 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10612 (cd $(HOST_SUBDIR)/gas && \
10613 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10615 @endif gas
10617 .PHONY: install-gas maybe-install-gas
10618 maybe-install-gas:
10619 @if gas
10620 maybe-install-gas: install-gas
10622 install-gas: installdirs
10623 @: $(MAKE); $(unstage)
10624 @r=`${PWD_COMMAND}`; export r; \
10625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10626 $(HOST_EXPORTS) \
10627 (cd $(HOST_SUBDIR)/gas && \
10628 $(MAKE) $(FLAGS_TO_PASS) install)
10630 @endif gas
10632 .PHONY: install-strip-gas maybe-install-strip-gas
10633 maybe-install-strip-gas:
10634 @if gas
10635 maybe-install-strip-gas: install-strip-gas
10637 install-strip-gas: installdirs
10638 @: $(MAKE); $(unstage)
10639 @r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(HOST_EXPORTS) \
10642 (cd $(HOST_SUBDIR)/gas && \
10643 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10645 @endif gas
10647 # Other targets (info, dvi, pdf, etc.)
10649 .PHONY: maybe-info-gas info-gas
10650 maybe-info-gas:
10651 @if gas
10652 maybe-info-gas: info-gas
10654 info-gas: \
10655 configure-gas
10656 @[ -f ./gas/Makefile ] || exit 0; \
10657 r=`${PWD_COMMAND}`; export r; \
10658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10659 $(HOST_EXPORTS) \
10660 for flag in $(EXTRA_HOST_FLAGS) ; do \
10661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10662 done; \
10663 echo "Doing info in gas"; \
10664 (cd $(HOST_SUBDIR)/gas && \
10665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10667 "RANLIB=$${RANLIB}" \
10668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10669 info) \
10670 || exit 1
10672 @endif gas
10674 .PHONY: maybe-dvi-gas dvi-gas
10675 maybe-dvi-gas:
10676 @if gas
10677 maybe-dvi-gas: dvi-gas
10679 dvi-gas: \
10680 configure-gas
10681 @[ -f ./gas/Makefile ] || exit 0; \
10682 r=`${PWD_COMMAND}`; export r; \
10683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10684 $(HOST_EXPORTS) \
10685 for flag in $(EXTRA_HOST_FLAGS) ; do \
10686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10687 done; \
10688 echo "Doing dvi in gas"; \
10689 (cd $(HOST_SUBDIR)/gas && \
10690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10692 "RANLIB=$${RANLIB}" \
10693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10694 dvi) \
10695 || exit 1
10697 @endif gas
10699 .PHONY: maybe-pdf-gas pdf-gas
10700 maybe-pdf-gas:
10701 @if gas
10702 maybe-pdf-gas: pdf-gas
10704 pdf-gas: \
10705 configure-gas
10706 @[ -f ./gas/Makefile ] || exit 0; \
10707 r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(HOST_EXPORTS) \
10710 for flag in $(EXTRA_HOST_FLAGS) ; do \
10711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10712 done; \
10713 echo "Doing pdf in gas"; \
10714 (cd $(HOST_SUBDIR)/gas && \
10715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10717 "RANLIB=$${RANLIB}" \
10718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10719 pdf) \
10720 || exit 1
10722 @endif gas
10724 .PHONY: maybe-html-gas html-gas
10725 maybe-html-gas:
10726 @if gas
10727 maybe-html-gas: html-gas
10729 html-gas: \
10730 configure-gas
10731 @[ -f ./gas/Makefile ] || exit 0; \
10732 r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 for flag in $(EXTRA_HOST_FLAGS) ; do \
10736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10737 done; \
10738 echo "Doing html in gas"; \
10739 (cd $(HOST_SUBDIR)/gas && \
10740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10742 "RANLIB=$${RANLIB}" \
10743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10744 html) \
10745 || exit 1
10747 @endif gas
10749 .PHONY: maybe-TAGS-gas TAGS-gas
10750 maybe-TAGS-gas:
10751 @if gas
10752 maybe-TAGS-gas: TAGS-gas
10754 TAGS-gas: \
10755 configure-gas
10756 @[ -f ./gas/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 for flag in $(EXTRA_HOST_FLAGS) ; do \
10761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10762 done; \
10763 echo "Doing TAGS in gas"; \
10764 (cd $(HOST_SUBDIR)/gas && \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10767 "RANLIB=$${RANLIB}" \
10768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10769 TAGS) \
10770 || exit 1
10772 @endif gas
10774 .PHONY: maybe-install-info-gas install-info-gas
10775 maybe-install-info-gas:
10776 @if gas
10777 maybe-install-info-gas: install-info-gas
10779 install-info-gas: \
10780 configure-gas \
10781 info-gas
10782 @[ -f ./gas/Makefile ] || exit 0; \
10783 r=`${PWD_COMMAND}`; export r; \
10784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10785 $(HOST_EXPORTS) \
10786 for flag in $(EXTRA_HOST_FLAGS) ; do \
10787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10788 done; \
10789 echo "Doing install-info in gas"; \
10790 (cd $(HOST_SUBDIR)/gas && \
10791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10793 "RANLIB=$${RANLIB}" \
10794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10795 install-info) \
10796 || exit 1
10798 @endif gas
10800 .PHONY: maybe-install-pdf-gas install-pdf-gas
10801 maybe-install-pdf-gas:
10802 @if gas
10803 maybe-install-pdf-gas: install-pdf-gas
10805 install-pdf-gas: \
10806 configure-gas \
10807 pdf-gas
10808 @[ -f ./gas/Makefile ] || exit 0; \
10809 r=`${PWD_COMMAND}`; export r; \
10810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10811 $(HOST_EXPORTS) \
10812 for flag in $(EXTRA_HOST_FLAGS) ; do \
10813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10814 done; \
10815 echo "Doing install-pdf in gas"; \
10816 (cd $(HOST_SUBDIR)/gas && \
10817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10819 "RANLIB=$${RANLIB}" \
10820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10821 install-pdf) \
10822 || exit 1
10824 @endif gas
10826 .PHONY: maybe-install-html-gas install-html-gas
10827 maybe-install-html-gas:
10828 @if gas
10829 maybe-install-html-gas: install-html-gas
10831 install-html-gas: \
10832 configure-gas \
10833 html-gas
10834 @[ -f ./gas/Makefile ] || exit 0; \
10835 r=`${PWD_COMMAND}`; export r; \
10836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10837 $(HOST_EXPORTS) \
10838 for flag in $(EXTRA_HOST_FLAGS) ; do \
10839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10840 done; \
10841 echo "Doing install-html in gas"; \
10842 (cd $(HOST_SUBDIR)/gas && \
10843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845 "RANLIB=$${RANLIB}" \
10846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10847 install-html) \
10848 || exit 1
10850 @endif gas
10852 .PHONY: maybe-installcheck-gas installcheck-gas
10853 maybe-installcheck-gas:
10854 @if gas
10855 maybe-installcheck-gas: installcheck-gas
10857 installcheck-gas: \
10858 configure-gas
10859 @[ -f ./gas/Makefile ] || exit 0; \
10860 r=`${PWD_COMMAND}`; export r; \
10861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10862 $(HOST_EXPORTS) \
10863 for flag in $(EXTRA_HOST_FLAGS) ; do \
10864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10865 done; \
10866 echo "Doing installcheck in gas"; \
10867 (cd $(HOST_SUBDIR)/gas && \
10868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10870 "RANLIB=$${RANLIB}" \
10871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10872 installcheck) \
10873 || exit 1
10875 @endif gas
10877 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10878 maybe-mostlyclean-gas:
10879 @if gas
10880 maybe-mostlyclean-gas: mostlyclean-gas
10882 mostlyclean-gas:
10883 @[ -f ./gas/Makefile ] || exit 0; \
10884 r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 $(HOST_EXPORTS) \
10887 for flag in $(EXTRA_HOST_FLAGS) ; do \
10888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 done; \
10890 echo "Doing mostlyclean in gas"; \
10891 (cd $(HOST_SUBDIR)/gas && \
10892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10894 "RANLIB=$${RANLIB}" \
10895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10896 mostlyclean) \
10897 || exit 1
10899 @endif gas
10901 .PHONY: maybe-clean-gas clean-gas
10902 maybe-clean-gas:
10903 @if gas
10904 maybe-clean-gas: clean-gas
10906 clean-gas:
10907 @[ -f ./gas/Makefile ] || exit 0; \
10908 r=`${PWD_COMMAND}`; export r; \
10909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10910 $(HOST_EXPORTS) \
10911 for flag in $(EXTRA_HOST_FLAGS) ; do \
10912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10913 done; \
10914 echo "Doing clean in gas"; \
10915 (cd $(HOST_SUBDIR)/gas && \
10916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10918 "RANLIB=$${RANLIB}" \
10919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10920 clean) \
10921 || exit 1
10923 @endif gas
10925 .PHONY: maybe-distclean-gas distclean-gas
10926 maybe-distclean-gas:
10927 @if gas
10928 maybe-distclean-gas: distclean-gas
10930 distclean-gas:
10931 @[ -f ./gas/Makefile ] || exit 0; \
10932 r=`${PWD_COMMAND}`; export r; \
10933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10934 $(HOST_EXPORTS) \
10935 for flag in $(EXTRA_HOST_FLAGS) ; do \
10936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10937 done; \
10938 echo "Doing distclean in gas"; \
10939 (cd $(HOST_SUBDIR)/gas && \
10940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10942 "RANLIB=$${RANLIB}" \
10943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10944 distclean) \
10945 || exit 1
10947 @endif gas
10949 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10950 maybe-maintainer-clean-gas:
10951 @if gas
10952 maybe-maintainer-clean-gas: maintainer-clean-gas
10954 maintainer-clean-gas:
10955 @[ -f ./gas/Makefile ] || exit 0; \
10956 r=`${PWD_COMMAND}`; export r; \
10957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10958 $(HOST_EXPORTS) \
10959 for flag in $(EXTRA_HOST_FLAGS) ; do \
10960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10961 done; \
10962 echo "Doing maintainer-clean in gas"; \
10963 (cd $(HOST_SUBDIR)/gas && \
10964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10966 "RANLIB=$${RANLIB}" \
10967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10968 maintainer-clean) \
10969 || exit 1
10971 @endif gas
10975 .PHONY: configure-gcc maybe-configure-gcc
10976 maybe-configure-gcc:
10977 @if gcc-bootstrap
10978 configure-gcc: stage_current
10979 @endif gcc-bootstrap
10980 @if gcc
10981 maybe-configure-gcc: configure-gcc
10982 configure-gcc:
10983 @r=`${PWD_COMMAND}`; export r; \
10984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10985 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
10987 $(HOST_EXPORTS) \
10988 echo Configuring in $(HOST_SUBDIR)/gcc; \
10989 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10990 case $(srcdir) in \
10991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10992 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10994 esac; \
10995 module_srcdir=gcc; \
10996 $(SHELL) \
10997 $$s/$$module_srcdir/configure \
10998 --srcdir=$${topdir}/$$module_srcdir \
10999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11000 --target=${target_alias} \
11001 || exit 1
11002 @endif gcc
11006 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11007 maybe-configure-stage1-gcc:
11008 @if gcc-bootstrap
11009 maybe-configure-stage1-gcc: configure-stage1-gcc
11010 configure-stage1-gcc:
11011 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11013 @r=`${PWD_COMMAND}`; export r; \
11014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11015 TFLAGS="$(STAGE1_TFLAGS)"; \
11016 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11017 $(HOST_EXPORTS) \
11018 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11019 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11020 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11021 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11023 cd $(HOST_SUBDIR)/gcc || exit 1; \
11024 case $(srcdir) in \
11025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11026 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11028 esac; \
11029 module_srcdir=gcc; \
11030 $(SHELL) $$s/$$module_srcdir/configure \
11031 --srcdir=$${topdir}/$$module_srcdir \
11032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11033 --target=${target_alias} \
11035 $(STAGE1_CONFIGURE_FLAGS)
11036 @endif gcc-bootstrap
11038 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11039 maybe-configure-stage2-gcc:
11040 @if gcc-bootstrap
11041 maybe-configure-stage2-gcc: configure-stage2-gcc
11042 configure-stage2-gcc:
11043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11045 @r=`${PWD_COMMAND}`; export r; \
11046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11047 TFLAGS="$(STAGE2_TFLAGS)"; \
11048 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11049 $(HOST_EXPORTS) \
11050 $(POSTSTAGE1_HOST_EXPORTS) \
11051 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11052 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11053 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11054 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11056 cd $(HOST_SUBDIR)/gcc || exit 1; \
11057 case $(srcdir) in \
11058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11059 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11061 esac; \
11062 module_srcdir=gcc; \
11063 $(SHELL) $$s/$$module_srcdir/configure \
11064 --srcdir=$${topdir}/$$module_srcdir \
11065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11066 --target=${target_alias} \
11067 --with-build-libsubdir=$(HOST_SUBDIR) \
11068 $(STAGE2_CONFIGURE_FLAGS)
11069 @endif gcc-bootstrap
11071 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11072 maybe-configure-stage3-gcc:
11073 @if gcc-bootstrap
11074 maybe-configure-stage3-gcc: configure-stage3-gcc
11075 configure-stage3-gcc:
11076 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11078 @r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11080 TFLAGS="$(STAGE3_TFLAGS)"; \
11081 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11082 $(HOST_EXPORTS) \
11083 $(POSTSTAGE1_HOST_EXPORTS) \
11084 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11085 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11086 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11087 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11089 cd $(HOST_SUBDIR)/gcc || exit 1; \
11090 case $(srcdir) in \
11091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11092 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11094 esac; \
11095 module_srcdir=gcc; \
11096 $(SHELL) $$s/$$module_srcdir/configure \
11097 --srcdir=$${topdir}/$$module_srcdir \
11098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11099 --target=${target_alias} \
11100 --with-build-libsubdir=$(HOST_SUBDIR) \
11101 $(STAGE3_CONFIGURE_FLAGS)
11102 @endif gcc-bootstrap
11104 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11105 maybe-configure-stage4-gcc:
11106 @if gcc-bootstrap
11107 maybe-configure-stage4-gcc: configure-stage4-gcc
11108 configure-stage4-gcc:
11109 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11111 @r=`${PWD_COMMAND}`; export r; \
11112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11113 TFLAGS="$(STAGE4_TFLAGS)"; \
11114 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11115 $(HOST_EXPORTS) \
11116 $(POSTSTAGE1_HOST_EXPORTS) \
11117 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11118 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11119 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11120 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11122 cd $(HOST_SUBDIR)/gcc || exit 1; \
11123 case $(srcdir) in \
11124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11125 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11127 esac; \
11128 module_srcdir=gcc; \
11129 $(SHELL) $$s/$$module_srcdir/configure \
11130 --srcdir=$${topdir}/$$module_srcdir \
11131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11132 --target=${target_alias} \
11133 --with-build-libsubdir=$(HOST_SUBDIR) \
11134 $(STAGE4_CONFIGURE_FLAGS)
11135 @endif gcc-bootstrap
11137 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11138 maybe-configure-stageprofile-gcc:
11139 @if gcc-bootstrap
11140 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11141 configure-stageprofile-gcc:
11142 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11144 @r=`${PWD_COMMAND}`; export r; \
11145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11146 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11147 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11148 $(HOST_EXPORTS) \
11149 $(POSTSTAGE1_HOST_EXPORTS) \
11150 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11151 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11152 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11153 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11155 cd $(HOST_SUBDIR)/gcc || exit 1; \
11156 case $(srcdir) in \
11157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11158 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11160 esac; \
11161 module_srcdir=gcc; \
11162 $(SHELL) $$s/$$module_srcdir/configure \
11163 --srcdir=$${topdir}/$$module_srcdir \
11164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11165 --target=${target_alias} \
11166 --with-build-libsubdir=$(HOST_SUBDIR) \
11167 $(STAGEprofile_CONFIGURE_FLAGS)
11168 @endif gcc-bootstrap
11170 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11171 maybe-configure-stagefeedback-gcc:
11172 @if gcc-bootstrap
11173 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11174 configure-stagefeedback-gcc:
11175 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11177 @r=`${PWD_COMMAND}`; export r; \
11178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11180 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11181 $(HOST_EXPORTS) \
11182 $(POSTSTAGE1_HOST_EXPORTS) \
11183 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11184 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11185 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11186 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11188 cd $(HOST_SUBDIR)/gcc || exit 1; \
11189 case $(srcdir) in \
11190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11191 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11193 esac; \
11194 module_srcdir=gcc; \
11195 $(SHELL) $$s/$$module_srcdir/configure \
11196 --srcdir=$${topdir}/$$module_srcdir \
11197 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11198 --target=${target_alias} \
11199 --with-build-libsubdir=$(HOST_SUBDIR) \
11200 $(STAGEfeedback_CONFIGURE_FLAGS)
11201 @endif gcc-bootstrap
11203 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11204 maybe-configure-stageautoprofile-gcc:
11205 @if gcc-bootstrap
11206 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11207 configure-stageautoprofile-gcc:
11208 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11209 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11210 @r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11212 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11213 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11214 $(HOST_EXPORTS) \
11215 $(POSTSTAGE1_HOST_EXPORTS) \
11216 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11217 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11218 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11219 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11221 cd $(HOST_SUBDIR)/gcc || exit 1; \
11222 case $(srcdir) in \
11223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11224 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11226 esac; \
11227 module_srcdir=gcc; \
11228 $(SHELL) $$s/$$module_srcdir/configure \
11229 --srcdir=$${topdir}/$$module_srcdir \
11230 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11231 --target=${target_alias} \
11232 --with-build-libsubdir=$(HOST_SUBDIR) \
11233 $(STAGEautoprofile_CONFIGURE_FLAGS)
11234 @endif gcc-bootstrap
11236 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11237 maybe-configure-stageautofeedback-gcc:
11238 @if gcc-bootstrap
11239 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11240 configure-stageautofeedback-gcc:
11241 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11243 @r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11246 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11247 $(HOST_EXPORTS) \
11248 $(POSTSTAGE1_HOST_EXPORTS) \
11249 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11250 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11251 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11252 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11254 cd $(HOST_SUBDIR)/gcc || exit 1; \
11255 case $(srcdir) in \
11256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11257 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11259 esac; \
11260 module_srcdir=gcc; \
11261 $(SHELL) $$s/$$module_srcdir/configure \
11262 --srcdir=$${topdir}/$$module_srcdir \
11263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11264 --target=${target_alias} \
11265 --with-build-libsubdir=$(HOST_SUBDIR) \
11266 $(STAGEautofeedback_CONFIGURE_FLAGS)
11267 @endif gcc-bootstrap
11273 .PHONY: all-gcc maybe-all-gcc
11274 maybe-all-gcc:
11275 @if gcc-bootstrap
11276 all-gcc: stage_current
11277 @endif gcc-bootstrap
11278 @if gcc
11279 TARGET-gcc=all
11280 maybe-all-gcc: all-gcc
11281 all-gcc: configure-gcc
11282 @r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 $(HOST_EXPORTS) \
11285 (cd $(HOST_SUBDIR)/gcc && \
11286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11287 $(TARGET-gcc))
11288 @endif gcc
11292 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11293 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11294 maybe-all-stage1-gcc:
11295 maybe-clean-stage1-gcc:
11296 @if gcc-bootstrap
11297 maybe-all-stage1-gcc: all-stage1-gcc
11298 all-stage1: all-stage1-gcc
11299 TARGET-stage1-gcc = $(TARGET-gcc)
11300 all-stage1-gcc: configure-stage1-gcc
11301 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11302 @r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 TFLAGS="$(STAGE1_TFLAGS)"; \
11305 $(HOST_EXPORTS) \
11306 cd $(HOST_SUBDIR)/gcc && \
11308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11309 CFLAGS="$(STAGE1_CFLAGS)" \
11310 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11311 LIBCFLAGS="$(LIBCFLAGS)" \
11312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11315 $(EXTRA_HOST_FLAGS) \
11316 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11317 TFLAGS="$(STAGE1_TFLAGS)" \
11318 $(TARGET-stage1-gcc)
11320 maybe-clean-stage1-gcc: clean-stage1-gcc
11321 clean-stage1: clean-stage1-gcc
11322 clean-stage1-gcc:
11323 @if [ $(current_stage) = stage1 ]; then \
11324 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11325 else \
11326 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11327 $(MAKE) stage1-start; \
11328 fi; \
11329 cd $(HOST_SUBDIR)/gcc && \
11330 $(MAKE) $(EXTRA_HOST_FLAGS) \
11331 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11332 @endif gcc-bootstrap
11335 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11336 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11337 maybe-all-stage2-gcc:
11338 maybe-clean-stage2-gcc:
11339 @if gcc-bootstrap
11340 maybe-all-stage2-gcc: all-stage2-gcc
11341 all-stage2: all-stage2-gcc
11342 TARGET-stage2-gcc = $(TARGET-gcc)
11343 all-stage2-gcc: configure-stage2-gcc
11344 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11345 @r=`${PWD_COMMAND}`; export r; \
11346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11347 TFLAGS="$(STAGE2_TFLAGS)"; \
11348 $(HOST_EXPORTS) \
11349 $(POSTSTAGE1_HOST_EXPORTS) \
11350 cd $(HOST_SUBDIR)/gcc && \
11352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11353 CFLAGS="$(STAGE2_CFLAGS)" \
11354 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11355 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11360 TFLAGS="$(STAGE2_TFLAGS)" \
11361 $(TARGET-stage2-gcc)
11363 maybe-clean-stage2-gcc: clean-stage2-gcc
11364 clean-stage2: clean-stage2-gcc
11365 clean-stage2-gcc:
11366 @if [ $(current_stage) = stage2 ]; then \
11367 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11368 else \
11369 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11370 $(MAKE) stage2-start; \
11371 fi; \
11372 cd $(HOST_SUBDIR)/gcc && \
11373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11374 @endif gcc-bootstrap
11377 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11378 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11379 maybe-all-stage3-gcc:
11380 maybe-clean-stage3-gcc:
11381 @if gcc-bootstrap
11382 maybe-all-stage3-gcc: all-stage3-gcc
11383 all-stage3: all-stage3-gcc
11384 TARGET-stage3-gcc = $(TARGET-gcc)
11385 all-stage3-gcc: configure-stage3-gcc
11386 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11387 @r=`${PWD_COMMAND}`; export r; \
11388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11389 TFLAGS="$(STAGE3_TFLAGS)"; \
11390 $(HOST_EXPORTS) \
11391 $(POSTSTAGE1_HOST_EXPORTS) \
11392 cd $(HOST_SUBDIR)/gcc && \
11394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11395 CFLAGS="$(STAGE3_CFLAGS)" \
11396 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11397 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11402 TFLAGS="$(STAGE3_TFLAGS)" \
11403 $(TARGET-stage3-gcc)
11405 maybe-clean-stage3-gcc: clean-stage3-gcc
11406 clean-stage3: clean-stage3-gcc
11407 clean-stage3-gcc:
11408 @if [ $(current_stage) = stage3 ]; then \
11409 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11410 else \
11411 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11412 $(MAKE) stage3-start; \
11413 fi; \
11414 cd $(HOST_SUBDIR)/gcc && \
11415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11416 @endif gcc-bootstrap
11419 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11420 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11421 maybe-all-stage4-gcc:
11422 maybe-clean-stage4-gcc:
11423 @if gcc-bootstrap
11424 maybe-all-stage4-gcc: all-stage4-gcc
11425 all-stage4: all-stage4-gcc
11426 TARGET-stage4-gcc = $(TARGET-gcc)
11427 all-stage4-gcc: configure-stage4-gcc
11428 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11429 @r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 TFLAGS="$(STAGE4_TFLAGS)"; \
11432 $(HOST_EXPORTS) \
11433 $(POSTSTAGE1_HOST_EXPORTS) \
11434 cd $(HOST_SUBDIR)/gcc && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11437 CFLAGS="$(STAGE4_CFLAGS)" \
11438 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11439 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11444 TFLAGS="$(STAGE4_TFLAGS)" \
11445 $(TARGET-stage4-gcc)
11447 maybe-clean-stage4-gcc: clean-stage4-gcc
11448 clean-stage4: clean-stage4-gcc
11449 clean-stage4-gcc:
11450 @if [ $(current_stage) = stage4 ]; then \
11451 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11452 else \
11453 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11454 $(MAKE) stage4-start; \
11455 fi; \
11456 cd $(HOST_SUBDIR)/gcc && \
11457 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11458 @endif gcc-bootstrap
11461 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11462 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11463 maybe-all-stageprofile-gcc:
11464 maybe-clean-stageprofile-gcc:
11465 @if gcc-bootstrap
11466 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11467 all-stageprofile: all-stageprofile-gcc
11468 TARGET-stageprofile-gcc = $(TARGET-gcc)
11469 all-stageprofile-gcc: configure-stageprofile-gcc
11470 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11471 @r=`${PWD_COMMAND}`; export r; \
11472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11473 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11474 $(HOST_EXPORTS) \
11475 $(POSTSTAGE1_HOST_EXPORTS) \
11476 cd $(HOST_SUBDIR)/gcc && \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11479 CFLAGS="$(STAGEprofile_CFLAGS)" \
11480 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11481 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11486 TFLAGS="$(STAGEprofile_TFLAGS)" \
11487 $(TARGET-stageprofile-gcc)
11489 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11490 clean-stageprofile: clean-stageprofile-gcc
11491 clean-stageprofile-gcc:
11492 @if [ $(current_stage) = stageprofile ]; then \
11493 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11494 else \
11495 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11496 $(MAKE) stageprofile-start; \
11497 fi; \
11498 cd $(HOST_SUBDIR)/gcc && \
11499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11500 @endif gcc-bootstrap
11503 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11504 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11505 maybe-all-stagefeedback-gcc:
11506 maybe-clean-stagefeedback-gcc:
11507 @if gcc-bootstrap
11508 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11509 all-stagefeedback: all-stagefeedback-gcc
11510 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11511 all-stagefeedback-gcc: configure-stagefeedback-gcc
11512 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11513 @r=`${PWD_COMMAND}`; export r; \
11514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11516 $(HOST_EXPORTS) \
11517 $(POSTSTAGE1_HOST_EXPORTS) \
11518 cd $(HOST_SUBDIR)/gcc && \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11521 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11522 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11523 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11524 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11528 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11529 $(TARGET-stagefeedback-gcc)
11531 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11532 clean-stagefeedback: clean-stagefeedback-gcc
11533 clean-stagefeedback-gcc:
11534 @if [ $(current_stage) = stagefeedback ]; then \
11535 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11536 else \
11537 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11538 $(MAKE) stagefeedback-start; \
11539 fi; \
11540 cd $(HOST_SUBDIR)/gcc && \
11541 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11542 @endif gcc-bootstrap
11545 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11546 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11547 maybe-all-stageautoprofile-gcc:
11548 maybe-clean-stageautoprofile-gcc:
11549 @if gcc-bootstrap
11550 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11551 all-stageautoprofile: all-stageautoprofile-gcc
11552 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11553 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11554 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11555 @r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11558 $(HOST_EXPORTS) \
11559 $(POSTSTAGE1_HOST_EXPORTS) \
11560 cd $(HOST_SUBDIR)/gcc && \
11561 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11563 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11564 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11565 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11570 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11571 $(TARGET-stageautoprofile-gcc)
11573 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
11574 clean-stageautoprofile: clean-stageautoprofile-gcc
11575 clean-stageautoprofile-gcc:
11576 @if [ $(current_stage) = stageautoprofile ]; then \
11577 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11578 else \
11579 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
11580 $(MAKE) stageautoprofile-start; \
11581 fi; \
11582 cd $(HOST_SUBDIR)/gcc && \
11583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11584 @endif gcc-bootstrap
11587 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
11588 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
11589 maybe-all-stageautofeedback-gcc:
11590 maybe-clean-stageautofeedback-gcc:
11591 @if gcc-bootstrap
11592 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
11593 all-stageautofeedback: all-stageautofeedback-gcc
11594 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
11595 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
11596 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11597 @r=`${PWD_COMMAND}`; export r; \
11598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11600 $(HOST_EXPORTS) \
11601 $(POSTSTAGE1_HOST_EXPORTS) \
11602 cd $(HOST_SUBDIR)/gcc && \
11604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11605 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11606 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11607 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11612 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11613 $(TARGET-stageautofeedback-gcc)
11615 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
11616 clean-stageautofeedback: clean-stageautofeedback-gcc
11617 clean-stageautofeedback-gcc:
11618 @if [ $(current_stage) = stageautofeedback ]; then \
11619 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11620 else \
11621 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
11622 $(MAKE) stageautofeedback-start; \
11623 fi; \
11624 cd $(HOST_SUBDIR)/gcc && \
11625 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11626 @endif gcc-bootstrap
11632 .PHONY: check-gcc maybe-check-gcc
11633 maybe-check-gcc:
11634 @if gcc
11635 maybe-check-gcc: check-gcc
11637 check-gcc:
11638 @: $(MAKE); $(unstage)
11639 @r=`${PWD_COMMAND}`; export r; \
11640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11641 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11642 (cd $(HOST_SUBDIR)/gcc && \
11643 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11645 @endif gcc
11647 .PHONY: install-gcc maybe-install-gcc
11648 maybe-install-gcc:
11649 @if gcc
11650 maybe-install-gcc: install-gcc
11652 install-gcc: installdirs
11653 @: $(MAKE); $(unstage)
11654 @r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(HOST_EXPORTS) \
11657 (cd $(HOST_SUBDIR)/gcc && \
11658 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11660 @endif gcc
11662 .PHONY: install-strip-gcc maybe-install-strip-gcc
11663 maybe-install-strip-gcc:
11664 @if gcc
11665 maybe-install-strip-gcc: install-strip-gcc
11667 install-strip-gcc: installdirs
11668 @: $(MAKE); $(unstage)
11669 @r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 $(HOST_EXPORTS) \
11672 (cd $(HOST_SUBDIR)/gcc && \
11673 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
11675 @endif gcc
11677 # Other targets (info, dvi, pdf, etc.)
11679 .PHONY: maybe-info-gcc info-gcc
11680 maybe-info-gcc:
11681 @if gcc
11682 maybe-info-gcc: info-gcc
11684 info-gcc: \
11685 configure-gcc
11686 @[ -f ./gcc/Makefile ] || exit 0; \
11687 r=`${PWD_COMMAND}`; export r; \
11688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11689 $(HOST_EXPORTS) \
11690 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11692 done; \
11693 echo "Doing info in gcc"; \
11694 (cd $(HOST_SUBDIR)/gcc && \
11695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11697 "RANLIB=$${RANLIB}" \
11698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11699 info) \
11700 || exit 1
11702 @endif gcc
11704 .PHONY: maybe-dvi-gcc dvi-gcc
11705 maybe-dvi-gcc:
11706 @if gcc
11707 maybe-dvi-gcc: dvi-gcc
11709 dvi-gcc: \
11710 configure-gcc
11711 @[ -f ./gcc/Makefile ] || exit 0; \
11712 r=`${PWD_COMMAND}`; export r; \
11713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714 $(HOST_EXPORTS) \
11715 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11717 done; \
11718 echo "Doing dvi in gcc"; \
11719 (cd $(HOST_SUBDIR)/gcc && \
11720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11722 "RANLIB=$${RANLIB}" \
11723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11724 dvi) \
11725 || exit 1
11727 @endif gcc
11729 .PHONY: maybe-pdf-gcc pdf-gcc
11730 maybe-pdf-gcc:
11731 @if gcc
11732 maybe-pdf-gcc: pdf-gcc
11734 pdf-gcc: \
11735 configure-gcc
11736 @[ -f ./gcc/Makefile ] || exit 0; \
11737 r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 $(HOST_EXPORTS) \
11740 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11742 done; \
11743 echo "Doing pdf in gcc"; \
11744 (cd $(HOST_SUBDIR)/gcc && \
11745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11747 "RANLIB=$${RANLIB}" \
11748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11749 pdf) \
11750 || exit 1
11752 @endif gcc
11754 .PHONY: maybe-html-gcc html-gcc
11755 maybe-html-gcc:
11756 @if gcc
11757 maybe-html-gcc: html-gcc
11759 html-gcc: \
11760 configure-gcc
11761 @[ -f ./gcc/Makefile ] || exit 0; \
11762 r=`${PWD_COMMAND}`; export r; \
11763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11764 $(HOST_EXPORTS) \
11765 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11767 done; \
11768 echo "Doing html in gcc"; \
11769 (cd $(HOST_SUBDIR)/gcc && \
11770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11772 "RANLIB=$${RANLIB}" \
11773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11774 html) \
11775 || exit 1
11777 @endif gcc
11779 .PHONY: maybe-TAGS-gcc TAGS-gcc
11780 maybe-TAGS-gcc:
11781 @if gcc
11782 maybe-TAGS-gcc: TAGS-gcc
11784 TAGS-gcc: \
11785 configure-gcc
11786 @[ -f ./gcc/Makefile ] || exit 0; \
11787 r=`${PWD_COMMAND}`; export r; \
11788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11789 $(HOST_EXPORTS) \
11790 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11792 done; \
11793 echo "Doing TAGS in gcc"; \
11794 (cd $(HOST_SUBDIR)/gcc && \
11795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11797 "RANLIB=$${RANLIB}" \
11798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11799 TAGS) \
11800 || exit 1
11802 @endif gcc
11804 .PHONY: maybe-install-info-gcc install-info-gcc
11805 maybe-install-info-gcc:
11806 @if gcc
11807 maybe-install-info-gcc: install-info-gcc
11809 install-info-gcc: \
11810 configure-gcc \
11811 info-gcc
11812 @[ -f ./gcc/Makefile ] || exit 0; \
11813 r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 $(HOST_EXPORTS) \
11816 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11818 done; \
11819 echo "Doing install-info in gcc"; \
11820 (cd $(HOST_SUBDIR)/gcc && \
11821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11823 "RANLIB=$${RANLIB}" \
11824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11825 install-info) \
11826 || exit 1
11828 @endif gcc
11830 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
11831 maybe-install-pdf-gcc:
11832 @if gcc
11833 maybe-install-pdf-gcc: install-pdf-gcc
11835 install-pdf-gcc: \
11836 configure-gcc \
11837 pdf-gcc
11838 @[ -f ./gcc/Makefile ] || exit 0; \
11839 r=`${PWD_COMMAND}`; export r; \
11840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing install-pdf in gcc"; \
11846 (cd $(HOST_SUBDIR)/gcc && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11851 install-pdf) \
11852 || exit 1
11854 @endif gcc
11856 .PHONY: maybe-install-html-gcc install-html-gcc
11857 maybe-install-html-gcc:
11858 @if gcc
11859 maybe-install-html-gcc: install-html-gcc
11861 install-html-gcc: \
11862 configure-gcc \
11863 html-gcc
11864 @[ -f ./gcc/Makefile ] || exit 0; \
11865 r=`${PWD_COMMAND}`; export r; \
11866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 $(HOST_EXPORTS) \
11868 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11870 done; \
11871 echo "Doing install-html in gcc"; \
11872 (cd $(HOST_SUBDIR)/gcc && \
11873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11875 "RANLIB=$${RANLIB}" \
11876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11877 install-html) \
11878 || exit 1
11880 @endif gcc
11882 .PHONY: maybe-installcheck-gcc installcheck-gcc
11883 maybe-installcheck-gcc:
11884 @if gcc
11885 maybe-installcheck-gcc: installcheck-gcc
11887 installcheck-gcc: \
11888 configure-gcc
11889 @[ -f ./gcc/Makefile ] || exit 0; \
11890 r=`${PWD_COMMAND}`; export r; \
11891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11892 $(HOST_EXPORTS) \
11893 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11895 done; \
11896 echo "Doing installcheck in gcc"; \
11897 (cd $(HOST_SUBDIR)/gcc && \
11898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11900 "RANLIB=$${RANLIB}" \
11901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11902 installcheck) \
11903 || exit 1
11905 @endif gcc
11907 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11908 maybe-mostlyclean-gcc:
11909 @if gcc
11910 maybe-mostlyclean-gcc: mostlyclean-gcc
11912 mostlyclean-gcc:
11913 @[ -f ./gcc/Makefile ] || exit 0; \
11914 r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 $(HOST_EXPORTS) \
11917 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11919 done; \
11920 echo "Doing mostlyclean in gcc"; \
11921 (cd $(HOST_SUBDIR)/gcc && \
11922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11924 "RANLIB=$${RANLIB}" \
11925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11926 mostlyclean) \
11927 || exit 1
11929 @endif gcc
11931 .PHONY: maybe-clean-gcc clean-gcc
11932 maybe-clean-gcc:
11933 @if gcc
11934 maybe-clean-gcc: clean-gcc
11936 clean-gcc:
11937 @[ -f ./gcc/Makefile ] || exit 0; \
11938 r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 $(HOST_EXPORTS) \
11941 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11943 done; \
11944 echo "Doing clean in gcc"; \
11945 (cd $(HOST_SUBDIR)/gcc && \
11946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11948 "RANLIB=$${RANLIB}" \
11949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11950 clean) \
11951 || exit 1
11953 @endif gcc
11955 .PHONY: maybe-distclean-gcc distclean-gcc
11956 maybe-distclean-gcc:
11957 @if gcc
11958 maybe-distclean-gcc: distclean-gcc
11960 distclean-gcc:
11961 @[ -f ./gcc/Makefile ] || exit 0; \
11962 r=`${PWD_COMMAND}`; export r; \
11963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing distclean in gcc"; \
11969 (cd $(HOST_SUBDIR)/gcc && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11974 distclean) \
11975 || exit 1
11977 @endif gcc
11979 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11980 maybe-maintainer-clean-gcc:
11981 @if gcc
11982 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11984 maintainer-clean-gcc:
11985 @[ -f ./gcc/Makefile ] || exit 0; \
11986 r=`${PWD_COMMAND}`; export r; \
11987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11988 $(HOST_EXPORTS) \
11989 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11991 done; \
11992 echo "Doing maintainer-clean in gcc"; \
11993 (cd $(HOST_SUBDIR)/gcc && \
11994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11996 "RANLIB=$${RANLIB}" \
11997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11998 maintainer-clean) \
11999 || exit 1
12001 @endif gcc
12005 .PHONY: configure-gmp maybe-configure-gmp
12006 maybe-configure-gmp:
12007 @if gcc-bootstrap
12008 configure-gmp: stage_current
12009 @endif gcc-bootstrap
12010 @if gmp
12011 maybe-configure-gmp: configure-gmp
12012 configure-gmp:
12013 @r=`${PWD_COMMAND}`; export r; \
12014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12015 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12017 $(HOST_EXPORTS) \
12018 echo Configuring in $(HOST_SUBDIR)/gmp; \
12019 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12020 case $(srcdir) in \
12021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12022 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12024 esac; \
12025 module_srcdir=gmp; \
12026 $(SHELL) \
12027 $$s/$$module_srcdir/configure \
12028 --srcdir=$${topdir}/$$module_srcdir \
12029 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12030 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12031 || exit 1
12032 @endif gmp
12036 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12037 maybe-configure-stage1-gmp:
12038 @if gmp-bootstrap
12039 maybe-configure-stage1-gmp: configure-stage1-gmp
12040 configure-stage1-gmp:
12041 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12043 @r=`${PWD_COMMAND}`; export r; \
12044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12045 TFLAGS="$(STAGE1_TFLAGS)"; \
12046 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12047 $(HOST_EXPORTS) \
12048 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12049 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12050 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12051 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12053 cd $(HOST_SUBDIR)/gmp || exit 1; \
12054 case $(srcdir) in \
12055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12056 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12058 esac; \
12059 module_srcdir=gmp; \
12060 $(SHELL) $$s/$$module_srcdir/configure \
12061 --srcdir=$${topdir}/$$module_srcdir \
12062 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12063 --target=none-${host_vendor}-${host_os} \
12065 $(STAGE1_CONFIGURE_FLAGS) \
12066 --disable-shared LEX="touch lex.yy.c"
12067 @endif gmp-bootstrap
12069 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12070 maybe-configure-stage2-gmp:
12071 @if gmp-bootstrap
12072 maybe-configure-stage2-gmp: configure-stage2-gmp
12073 configure-stage2-gmp:
12074 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12076 @r=`${PWD_COMMAND}`; export r; \
12077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12078 TFLAGS="$(STAGE2_TFLAGS)"; \
12079 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12080 $(HOST_EXPORTS) \
12081 $(POSTSTAGE1_HOST_EXPORTS) \
12082 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12083 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12084 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12085 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12087 cd $(HOST_SUBDIR)/gmp || exit 1; \
12088 case $(srcdir) in \
12089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12090 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12092 esac; \
12093 module_srcdir=gmp; \
12094 $(SHELL) $$s/$$module_srcdir/configure \
12095 --srcdir=$${topdir}/$$module_srcdir \
12096 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12097 --target=none-${host_vendor}-${host_os} \
12098 --with-build-libsubdir=$(HOST_SUBDIR) \
12099 $(STAGE2_CONFIGURE_FLAGS) \
12100 --disable-shared LEX="touch lex.yy.c"
12101 @endif gmp-bootstrap
12103 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12104 maybe-configure-stage3-gmp:
12105 @if gmp-bootstrap
12106 maybe-configure-stage3-gmp: configure-stage3-gmp
12107 configure-stage3-gmp:
12108 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12109 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12110 @r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 TFLAGS="$(STAGE3_TFLAGS)"; \
12113 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12114 $(HOST_EXPORTS) \
12115 $(POSTSTAGE1_HOST_EXPORTS) \
12116 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12117 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12118 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12119 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12121 cd $(HOST_SUBDIR)/gmp || exit 1; \
12122 case $(srcdir) in \
12123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12124 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12126 esac; \
12127 module_srcdir=gmp; \
12128 $(SHELL) $$s/$$module_srcdir/configure \
12129 --srcdir=$${topdir}/$$module_srcdir \
12130 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12131 --target=none-${host_vendor}-${host_os} \
12132 --with-build-libsubdir=$(HOST_SUBDIR) \
12133 $(STAGE3_CONFIGURE_FLAGS) \
12134 --disable-shared LEX="touch lex.yy.c"
12135 @endif gmp-bootstrap
12137 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12138 maybe-configure-stage4-gmp:
12139 @if gmp-bootstrap
12140 maybe-configure-stage4-gmp: configure-stage4-gmp
12141 configure-stage4-gmp:
12142 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12144 @r=`${PWD_COMMAND}`; export r; \
12145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12146 TFLAGS="$(STAGE4_TFLAGS)"; \
12147 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12148 $(HOST_EXPORTS) \
12149 $(POSTSTAGE1_HOST_EXPORTS) \
12150 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12151 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12152 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12153 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12155 cd $(HOST_SUBDIR)/gmp || exit 1; \
12156 case $(srcdir) in \
12157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12158 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12160 esac; \
12161 module_srcdir=gmp; \
12162 $(SHELL) $$s/$$module_srcdir/configure \
12163 --srcdir=$${topdir}/$$module_srcdir \
12164 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12165 --target=none-${host_vendor}-${host_os} \
12166 --with-build-libsubdir=$(HOST_SUBDIR) \
12167 $(STAGE4_CONFIGURE_FLAGS) \
12168 --disable-shared LEX="touch lex.yy.c"
12169 @endif gmp-bootstrap
12171 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12172 maybe-configure-stageprofile-gmp:
12173 @if gmp-bootstrap
12174 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12175 configure-stageprofile-gmp:
12176 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12178 @r=`${PWD_COMMAND}`; export r; \
12179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12180 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12181 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12182 $(HOST_EXPORTS) \
12183 $(POSTSTAGE1_HOST_EXPORTS) \
12184 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12185 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12186 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12187 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12189 cd $(HOST_SUBDIR)/gmp || exit 1; \
12190 case $(srcdir) in \
12191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12192 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12194 esac; \
12195 module_srcdir=gmp; \
12196 $(SHELL) $$s/$$module_srcdir/configure \
12197 --srcdir=$${topdir}/$$module_srcdir \
12198 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12199 --target=none-${host_vendor}-${host_os} \
12200 --with-build-libsubdir=$(HOST_SUBDIR) \
12201 $(STAGEprofile_CONFIGURE_FLAGS) \
12202 --disable-shared LEX="touch lex.yy.c"
12203 @endif gmp-bootstrap
12205 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12206 maybe-configure-stagefeedback-gmp:
12207 @if gmp-bootstrap
12208 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12209 configure-stagefeedback-gmp:
12210 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12212 @r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12215 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12216 $(HOST_EXPORTS) \
12217 $(POSTSTAGE1_HOST_EXPORTS) \
12218 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12219 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12220 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12221 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12223 cd $(HOST_SUBDIR)/gmp || exit 1; \
12224 case $(srcdir) in \
12225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12226 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12228 esac; \
12229 module_srcdir=gmp; \
12230 $(SHELL) $$s/$$module_srcdir/configure \
12231 --srcdir=$${topdir}/$$module_srcdir \
12232 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12233 --target=none-${host_vendor}-${host_os} \
12234 --with-build-libsubdir=$(HOST_SUBDIR) \
12235 $(STAGEfeedback_CONFIGURE_FLAGS) \
12236 --disable-shared LEX="touch lex.yy.c"
12237 @endif gmp-bootstrap
12239 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12240 maybe-configure-stageautoprofile-gmp:
12241 @if gmp-bootstrap
12242 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12243 configure-stageautoprofile-gmp:
12244 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12246 @r=`${PWD_COMMAND}`; export r; \
12247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12248 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12249 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12250 $(HOST_EXPORTS) \
12251 $(POSTSTAGE1_HOST_EXPORTS) \
12252 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12253 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12254 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12255 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12257 cd $(HOST_SUBDIR)/gmp || exit 1; \
12258 case $(srcdir) in \
12259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12260 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12262 esac; \
12263 module_srcdir=gmp; \
12264 $(SHELL) $$s/$$module_srcdir/configure \
12265 --srcdir=$${topdir}/$$module_srcdir \
12266 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12267 --target=none-${host_vendor}-${host_os} \
12268 --with-build-libsubdir=$(HOST_SUBDIR) \
12269 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12270 --disable-shared LEX="touch lex.yy.c"
12271 @endif gmp-bootstrap
12273 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12274 maybe-configure-stageautofeedback-gmp:
12275 @if gmp-bootstrap
12276 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12277 configure-stageautofeedback-gmp:
12278 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12280 @r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12283 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12284 $(HOST_EXPORTS) \
12285 $(POSTSTAGE1_HOST_EXPORTS) \
12286 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12287 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12288 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12289 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12291 cd $(HOST_SUBDIR)/gmp || exit 1; \
12292 case $(srcdir) in \
12293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12294 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12296 esac; \
12297 module_srcdir=gmp; \
12298 $(SHELL) $$s/$$module_srcdir/configure \
12299 --srcdir=$${topdir}/$$module_srcdir \
12300 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12301 --target=none-${host_vendor}-${host_os} \
12302 --with-build-libsubdir=$(HOST_SUBDIR) \
12303 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12304 --disable-shared LEX="touch lex.yy.c"
12305 @endif gmp-bootstrap
12311 .PHONY: all-gmp maybe-all-gmp
12312 maybe-all-gmp:
12313 @if gcc-bootstrap
12314 all-gmp: stage_current
12315 @endif gcc-bootstrap
12316 @if gmp
12317 TARGET-gmp=all
12318 maybe-all-gmp: all-gmp
12319 all-gmp: configure-gmp
12320 @r=`${PWD_COMMAND}`; export r; \
12321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12322 $(HOST_EXPORTS) \
12323 (cd $(HOST_SUBDIR)/gmp && \
12324 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12325 $(TARGET-gmp))
12326 @endif gmp
12330 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12331 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12332 maybe-all-stage1-gmp:
12333 maybe-clean-stage1-gmp:
12334 @if gmp-bootstrap
12335 maybe-all-stage1-gmp: all-stage1-gmp
12336 all-stage1: all-stage1-gmp
12337 TARGET-stage1-gmp = $(TARGET-gmp)
12338 all-stage1-gmp: configure-stage1-gmp
12339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12340 @r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342 TFLAGS="$(STAGE1_TFLAGS)"; \
12343 $(HOST_EXPORTS) \
12344 cd $(HOST_SUBDIR)/gmp && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12347 CFLAGS="$(STAGE1_CFLAGS)" \
12348 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12349 LIBCFLAGS="$(LIBCFLAGS)" \
12350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12353 $(EXTRA_HOST_FLAGS) \
12354 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12355 TFLAGS="$(STAGE1_TFLAGS)" \
12356 $(TARGET-stage1-gmp)
12358 maybe-clean-stage1-gmp: clean-stage1-gmp
12359 clean-stage1: clean-stage1-gmp
12360 clean-stage1-gmp:
12361 @if [ $(current_stage) = stage1 ]; then \
12362 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12363 else \
12364 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12365 $(MAKE) stage1-start; \
12366 fi; \
12367 cd $(HOST_SUBDIR)/gmp && \
12368 $(MAKE) $(EXTRA_HOST_FLAGS) \
12369 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12370 @endif gmp-bootstrap
12373 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12374 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12375 maybe-all-stage2-gmp:
12376 maybe-clean-stage2-gmp:
12377 @if gmp-bootstrap
12378 maybe-all-stage2-gmp: all-stage2-gmp
12379 all-stage2: all-stage2-gmp
12380 TARGET-stage2-gmp = $(TARGET-gmp)
12381 all-stage2-gmp: configure-stage2-gmp
12382 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12383 @r=`${PWD_COMMAND}`; export r; \
12384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12385 TFLAGS="$(STAGE2_TFLAGS)"; \
12386 $(HOST_EXPORTS) \
12387 $(POSTSTAGE1_HOST_EXPORTS) \
12388 cd $(HOST_SUBDIR)/gmp && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12391 CFLAGS="$(STAGE2_CFLAGS)" \
12392 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12393 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12398 TFLAGS="$(STAGE2_TFLAGS)" \
12399 $(TARGET-stage2-gmp)
12401 maybe-clean-stage2-gmp: clean-stage2-gmp
12402 clean-stage2: clean-stage2-gmp
12403 clean-stage2-gmp:
12404 @if [ $(current_stage) = stage2 ]; then \
12405 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12406 else \
12407 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12408 $(MAKE) stage2-start; \
12409 fi; \
12410 cd $(HOST_SUBDIR)/gmp && \
12411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12412 @endif gmp-bootstrap
12415 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12416 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12417 maybe-all-stage3-gmp:
12418 maybe-clean-stage3-gmp:
12419 @if gmp-bootstrap
12420 maybe-all-stage3-gmp: all-stage3-gmp
12421 all-stage3: all-stage3-gmp
12422 TARGET-stage3-gmp = $(TARGET-gmp)
12423 all-stage3-gmp: configure-stage3-gmp
12424 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12425 @r=`${PWD_COMMAND}`; export r; \
12426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12427 TFLAGS="$(STAGE3_TFLAGS)"; \
12428 $(HOST_EXPORTS) \
12429 $(POSTSTAGE1_HOST_EXPORTS) \
12430 cd $(HOST_SUBDIR)/gmp && \
12432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12433 CFLAGS="$(STAGE3_CFLAGS)" \
12434 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12435 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12440 TFLAGS="$(STAGE3_TFLAGS)" \
12441 $(TARGET-stage3-gmp)
12443 maybe-clean-stage3-gmp: clean-stage3-gmp
12444 clean-stage3: clean-stage3-gmp
12445 clean-stage3-gmp:
12446 @if [ $(current_stage) = stage3 ]; then \
12447 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12448 else \
12449 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12450 $(MAKE) stage3-start; \
12451 fi; \
12452 cd $(HOST_SUBDIR)/gmp && \
12453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12454 @endif gmp-bootstrap
12457 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12458 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12459 maybe-all-stage4-gmp:
12460 maybe-clean-stage4-gmp:
12461 @if gmp-bootstrap
12462 maybe-all-stage4-gmp: all-stage4-gmp
12463 all-stage4: all-stage4-gmp
12464 TARGET-stage4-gmp = $(TARGET-gmp)
12465 all-stage4-gmp: configure-stage4-gmp
12466 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12467 @r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 TFLAGS="$(STAGE4_TFLAGS)"; \
12470 $(HOST_EXPORTS) \
12471 $(POSTSTAGE1_HOST_EXPORTS) \
12472 cd $(HOST_SUBDIR)/gmp && \
12474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12475 CFLAGS="$(STAGE4_CFLAGS)" \
12476 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12477 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12482 TFLAGS="$(STAGE4_TFLAGS)" \
12483 $(TARGET-stage4-gmp)
12485 maybe-clean-stage4-gmp: clean-stage4-gmp
12486 clean-stage4: clean-stage4-gmp
12487 clean-stage4-gmp:
12488 @if [ $(current_stage) = stage4 ]; then \
12489 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12490 else \
12491 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12492 $(MAKE) stage4-start; \
12493 fi; \
12494 cd $(HOST_SUBDIR)/gmp && \
12495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12496 @endif gmp-bootstrap
12499 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12500 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12501 maybe-all-stageprofile-gmp:
12502 maybe-clean-stageprofile-gmp:
12503 @if gmp-bootstrap
12504 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12505 all-stageprofile: all-stageprofile-gmp
12506 TARGET-stageprofile-gmp = $(TARGET-gmp)
12507 all-stageprofile-gmp: configure-stageprofile-gmp
12508 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12509 @r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12512 $(HOST_EXPORTS) \
12513 $(POSTSTAGE1_HOST_EXPORTS) \
12514 cd $(HOST_SUBDIR)/gmp && \
12516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12517 CFLAGS="$(STAGEprofile_CFLAGS)" \
12518 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12519 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12523 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12524 TFLAGS="$(STAGEprofile_TFLAGS)" \
12525 $(TARGET-stageprofile-gmp)
12527 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
12528 clean-stageprofile: clean-stageprofile-gmp
12529 clean-stageprofile-gmp:
12530 @if [ $(current_stage) = stageprofile ]; then \
12531 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12532 else \
12533 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
12534 $(MAKE) stageprofile-start; \
12535 fi; \
12536 cd $(HOST_SUBDIR)/gmp && \
12537 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12538 @endif gmp-bootstrap
12541 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
12542 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
12543 maybe-all-stagefeedback-gmp:
12544 maybe-clean-stagefeedback-gmp:
12545 @if gmp-bootstrap
12546 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
12547 all-stagefeedback: all-stagefeedback-gmp
12548 TARGET-stagefeedback-gmp = $(TARGET-gmp)
12549 all-stagefeedback-gmp: configure-stagefeedback-gmp
12550 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12551 @r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12553 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12554 $(HOST_EXPORTS) \
12555 $(POSTSTAGE1_HOST_EXPORTS) \
12556 cd $(HOST_SUBDIR)/gmp && \
12558 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12559 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12560 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12561 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12565 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12566 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12567 $(TARGET-stagefeedback-gmp)
12569 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
12570 clean-stagefeedback: clean-stagefeedback-gmp
12571 clean-stagefeedback-gmp:
12572 @if [ $(current_stage) = stagefeedback ]; then \
12573 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12574 else \
12575 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
12576 $(MAKE) stagefeedback-start; \
12577 fi; \
12578 cd $(HOST_SUBDIR)/gmp && \
12579 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12580 @endif gmp-bootstrap
12583 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
12584 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
12585 maybe-all-stageautoprofile-gmp:
12586 maybe-clean-stageautoprofile-gmp:
12587 @if gmp-bootstrap
12588 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
12589 all-stageautoprofile: all-stageautoprofile-gmp
12590 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
12591 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
12592 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12593 @r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12595 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12596 $(HOST_EXPORTS) \
12597 $(POSTSTAGE1_HOST_EXPORTS) \
12598 cd $(HOST_SUBDIR)/gmp && \
12599 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12601 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12602 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12603 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12608 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12609 $(TARGET-stageautoprofile-gmp)
12611 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
12612 clean-stageautoprofile: clean-stageautoprofile-gmp
12613 clean-stageautoprofile-gmp:
12614 @if [ $(current_stage) = stageautoprofile ]; then \
12615 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12616 else \
12617 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
12618 $(MAKE) stageautoprofile-start; \
12619 fi; \
12620 cd $(HOST_SUBDIR)/gmp && \
12621 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12622 @endif gmp-bootstrap
12625 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
12626 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
12627 maybe-all-stageautofeedback-gmp:
12628 maybe-clean-stageautofeedback-gmp:
12629 @if gmp-bootstrap
12630 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
12631 all-stageautofeedback: all-stageautofeedback-gmp
12632 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
12633 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
12634 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12635 @r=`${PWD_COMMAND}`; export r; \
12636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12637 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12638 $(HOST_EXPORTS) \
12639 $(POSTSTAGE1_HOST_EXPORTS) \
12640 cd $(HOST_SUBDIR)/gmp && \
12642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12643 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12644 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12645 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12650 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12651 $(TARGET-stageautofeedback-gmp)
12653 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
12654 clean-stageautofeedback: clean-stageautofeedback-gmp
12655 clean-stageautofeedback-gmp:
12656 @if [ $(current_stage) = stageautofeedback ]; then \
12657 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12658 else \
12659 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
12660 $(MAKE) stageautofeedback-start; \
12661 fi; \
12662 cd $(HOST_SUBDIR)/gmp && \
12663 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12664 @endif gmp-bootstrap
12670 .PHONY: check-gmp maybe-check-gmp
12671 maybe-check-gmp:
12672 @if gmp
12673 maybe-check-gmp: check-gmp
12675 check-gmp:
12676 @: $(MAKE); $(unstage)
12677 @r=`${PWD_COMMAND}`; export r; \
12678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12679 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12680 (cd $(HOST_SUBDIR)/gmp && \
12681 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
12683 @endif gmp
12685 .PHONY: install-gmp maybe-install-gmp
12686 maybe-install-gmp:
12687 @if gmp
12688 maybe-install-gmp: install-gmp
12690 install-gmp:
12692 @endif gmp
12694 .PHONY: install-strip-gmp maybe-install-strip-gmp
12695 maybe-install-strip-gmp:
12696 @if gmp
12697 maybe-install-strip-gmp: install-strip-gmp
12699 install-strip-gmp:
12701 @endif gmp
12703 # Other targets (info, dvi, pdf, etc.)
12705 .PHONY: maybe-info-gmp info-gmp
12706 maybe-info-gmp:
12707 @if gmp
12708 maybe-info-gmp: info-gmp
12710 info-gmp: \
12711 configure-gmp
12712 @[ -f ./gmp/Makefile ] || exit 0; \
12713 r=`${PWD_COMMAND}`; export r; \
12714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12715 $(HOST_EXPORTS) \
12716 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12718 done; \
12719 echo "Doing info in gmp"; \
12720 (cd $(HOST_SUBDIR)/gmp && \
12721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12723 "RANLIB=$${RANLIB}" \
12724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12725 info) \
12726 || exit 1
12728 @endif gmp
12730 .PHONY: maybe-dvi-gmp dvi-gmp
12731 maybe-dvi-gmp:
12732 @if gmp
12733 maybe-dvi-gmp: dvi-gmp
12735 dvi-gmp: \
12736 configure-gmp
12737 @[ -f ./gmp/Makefile ] || exit 0; \
12738 r=`${PWD_COMMAND}`; export r; \
12739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12740 $(HOST_EXPORTS) \
12741 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12743 done; \
12744 echo "Doing dvi in gmp"; \
12745 (cd $(HOST_SUBDIR)/gmp && \
12746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12748 "RANLIB=$${RANLIB}" \
12749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12750 dvi) \
12751 || exit 1
12753 @endif gmp
12755 .PHONY: maybe-pdf-gmp pdf-gmp
12756 maybe-pdf-gmp:
12757 @if gmp
12758 maybe-pdf-gmp: pdf-gmp
12760 pdf-gmp: \
12761 configure-gmp
12762 @[ -f ./gmp/Makefile ] || exit 0; \
12763 r=`${PWD_COMMAND}`; export r; \
12764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12765 $(HOST_EXPORTS) \
12766 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12768 done; \
12769 echo "Doing pdf in gmp"; \
12770 (cd $(HOST_SUBDIR)/gmp && \
12771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12773 "RANLIB=$${RANLIB}" \
12774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12775 pdf) \
12776 || exit 1
12778 @endif gmp
12780 .PHONY: maybe-html-gmp html-gmp
12781 maybe-html-gmp:
12782 @if gmp
12783 maybe-html-gmp: html-gmp
12785 html-gmp: \
12786 configure-gmp
12787 @[ -f ./gmp/Makefile ] || exit 0; \
12788 r=`${PWD_COMMAND}`; export r; \
12789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12790 $(HOST_EXPORTS) \
12791 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12793 done; \
12794 echo "Doing html in gmp"; \
12795 (cd $(HOST_SUBDIR)/gmp && \
12796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12798 "RANLIB=$${RANLIB}" \
12799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12800 html) \
12801 || exit 1
12803 @endif gmp
12805 .PHONY: maybe-TAGS-gmp TAGS-gmp
12806 maybe-TAGS-gmp:
12807 @if gmp
12808 maybe-TAGS-gmp: TAGS-gmp
12810 TAGS-gmp: \
12811 configure-gmp
12812 @[ -f ./gmp/Makefile ] || exit 0; \
12813 r=`${PWD_COMMAND}`; export r; \
12814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12815 $(HOST_EXPORTS) \
12816 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12818 done; \
12819 echo "Doing TAGS in gmp"; \
12820 (cd $(HOST_SUBDIR)/gmp && \
12821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12823 "RANLIB=$${RANLIB}" \
12824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12825 TAGS) \
12826 || exit 1
12828 @endif gmp
12830 .PHONY: maybe-install-info-gmp install-info-gmp
12831 maybe-install-info-gmp:
12832 @if gmp
12833 maybe-install-info-gmp: install-info-gmp
12835 install-info-gmp: \
12836 configure-gmp \
12837 info-gmp
12838 @[ -f ./gmp/Makefile ] || exit 0; \
12839 r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 $(HOST_EXPORTS) \
12842 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12844 done; \
12845 echo "Doing install-info in gmp"; \
12846 (cd $(HOST_SUBDIR)/gmp && \
12847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12849 "RANLIB=$${RANLIB}" \
12850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12851 install-info) \
12852 || exit 1
12854 @endif gmp
12856 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
12857 maybe-install-pdf-gmp:
12858 @if gmp
12859 maybe-install-pdf-gmp: install-pdf-gmp
12861 install-pdf-gmp: \
12862 configure-gmp \
12863 pdf-gmp
12864 @[ -f ./gmp/Makefile ] || exit 0; \
12865 r=`${PWD_COMMAND}`; export r; \
12866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12867 $(HOST_EXPORTS) \
12868 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12870 done; \
12871 echo "Doing install-pdf in gmp"; \
12872 (cd $(HOST_SUBDIR)/gmp && \
12873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12875 "RANLIB=$${RANLIB}" \
12876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12877 install-pdf) \
12878 || exit 1
12880 @endif gmp
12882 .PHONY: maybe-install-html-gmp install-html-gmp
12883 maybe-install-html-gmp:
12884 @if gmp
12885 maybe-install-html-gmp: install-html-gmp
12887 install-html-gmp: \
12888 configure-gmp \
12889 html-gmp
12890 @[ -f ./gmp/Makefile ] || exit 0; \
12891 r=`${PWD_COMMAND}`; export r; \
12892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12893 $(HOST_EXPORTS) \
12894 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12896 done; \
12897 echo "Doing install-html in gmp"; \
12898 (cd $(HOST_SUBDIR)/gmp && \
12899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12901 "RANLIB=$${RANLIB}" \
12902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12903 install-html) \
12904 || exit 1
12906 @endif gmp
12908 .PHONY: maybe-installcheck-gmp installcheck-gmp
12909 maybe-installcheck-gmp:
12910 @if gmp
12911 maybe-installcheck-gmp: installcheck-gmp
12913 installcheck-gmp: \
12914 configure-gmp
12915 @[ -f ./gmp/Makefile ] || exit 0; \
12916 r=`${PWD_COMMAND}`; export r; \
12917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12918 $(HOST_EXPORTS) \
12919 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12921 done; \
12922 echo "Doing installcheck in gmp"; \
12923 (cd $(HOST_SUBDIR)/gmp && \
12924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12926 "RANLIB=$${RANLIB}" \
12927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12928 installcheck) \
12929 || exit 1
12931 @endif gmp
12933 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
12934 maybe-mostlyclean-gmp:
12935 @if gmp
12936 maybe-mostlyclean-gmp: mostlyclean-gmp
12938 mostlyclean-gmp:
12939 @[ -f ./gmp/Makefile ] || exit 0; \
12940 r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 $(HOST_EXPORTS) \
12943 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12945 done; \
12946 echo "Doing mostlyclean in gmp"; \
12947 (cd $(HOST_SUBDIR)/gmp && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12950 "RANLIB=$${RANLIB}" \
12951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12952 mostlyclean) \
12953 || exit 1
12955 @endif gmp
12957 .PHONY: maybe-clean-gmp clean-gmp
12958 maybe-clean-gmp:
12959 @if gmp
12960 maybe-clean-gmp: clean-gmp
12962 clean-gmp:
12963 @[ -f ./gmp/Makefile ] || exit 0; \
12964 r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing clean in gmp"; \
12971 (cd $(HOST_SUBDIR)/gmp && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12976 clean) \
12977 || exit 1
12979 @endif gmp
12981 .PHONY: maybe-distclean-gmp distclean-gmp
12982 maybe-distclean-gmp:
12983 @if gmp
12984 maybe-distclean-gmp: distclean-gmp
12986 distclean-gmp:
12987 @[ -f ./gmp/Makefile ] || exit 0; \
12988 r=`${PWD_COMMAND}`; export r; \
12989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12990 $(HOST_EXPORTS) \
12991 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12993 done; \
12994 echo "Doing distclean in gmp"; \
12995 (cd $(HOST_SUBDIR)/gmp && \
12996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12998 "RANLIB=$${RANLIB}" \
12999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13000 distclean) \
13001 || exit 1
13003 @endif gmp
13005 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13006 maybe-maintainer-clean-gmp:
13007 @if gmp
13008 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13010 maintainer-clean-gmp:
13011 @[ -f ./gmp/Makefile ] || exit 0; \
13012 r=`${PWD_COMMAND}`; export r; \
13013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13014 $(HOST_EXPORTS) \
13015 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13017 done; \
13018 echo "Doing maintainer-clean in gmp"; \
13019 (cd $(HOST_SUBDIR)/gmp && \
13020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13022 "RANLIB=$${RANLIB}" \
13023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13024 maintainer-clean) \
13025 || exit 1
13027 @endif gmp
13031 .PHONY: configure-mpfr maybe-configure-mpfr
13032 maybe-configure-mpfr:
13033 @if gcc-bootstrap
13034 configure-mpfr: stage_current
13035 @endif gcc-bootstrap
13036 @if mpfr
13037 maybe-configure-mpfr: configure-mpfr
13038 configure-mpfr:
13039 @r=`${PWD_COMMAND}`; export r; \
13040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13041 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13043 $(HOST_EXPORTS) \
13044 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13045 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13046 case $(srcdir) in \
13047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13048 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13050 esac; \
13051 module_srcdir=mpfr; \
13052 $(SHELL) \
13053 $$s/$$module_srcdir/configure \
13054 --srcdir=$${topdir}/$$module_srcdir \
13055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13056 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13057 || exit 1
13058 @endif mpfr
13062 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13063 maybe-configure-stage1-mpfr:
13064 @if mpfr-bootstrap
13065 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13066 configure-stage1-mpfr:
13067 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13069 @r=`${PWD_COMMAND}`; export r; \
13070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13071 TFLAGS="$(STAGE1_TFLAGS)"; \
13072 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13073 $(HOST_EXPORTS) \
13074 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13075 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13076 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13077 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13079 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13080 case $(srcdir) in \
13081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13082 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13084 esac; \
13085 module_srcdir=mpfr; \
13086 $(SHELL) $$s/$$module_srcdir/configure \
13087 --srcdir=$${topdir}/$$module_srcdir \
13088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13089 --target=${target_alias} \
13091 $(STAGE1_CONFIGURE_FLAGS) \
13092 --disable-shared @extra_mpfr_configure_flags@
13093 @endif mpfr-bootstrap
13095 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13096 maybe-configure-stage2-mpfr:
13097 @if mpfr-bootstrap
13098 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13099 configure-stage2-mpfr:
13100 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13102 @r=`${PWD_COMMAND}`; export r; \
13103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13104 TFLAGS="$(STAGE2_TFLAGS)"; \
13105 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13106 $(HOST_EXPORTS) \
13107 $(POSTSTAGE1_HOST_EXPORTS) \
13108 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13109 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13110 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13111 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13113 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13114 case $(srcdir) in \
13115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13116 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13118 esac; \
13119 module_srcdir=mpfr; \
13120 $(SHELL) $$s/$$module_srcdir/configure \
13121 --srcdir=$${topdir}/$$module_srcdir \
13122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13123 --target=${target_alias} \
13124 --with-build-libsubdir=$(HOST_SUBDIR) \
13125 $(STAGE2_CONFIGURE_FLAGS) \
13126 --disable-shared @extra_mpfr_configure_flags@
13127 @endif mpfr-bootstrap
13129 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13130 maybe-configure-stage3-mpfr:
13131 @if mpfr-bootstrap
13132 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13133 configure-stage3-mpfr:
13134 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13136 @r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 TFLAGS="$(STAGE3_TFLAGS)"; \
13139 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13140 $(HOST_EXPORTS) \
13141 $(POSTSTAGE1_HOST_EXPORTS) \
13142 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13143 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13144 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13145 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13147 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13148 case $(srcdir) in \
13149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13150 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13152 esac; \
13153 module_srcdir=mpfr; \
13154 $(SHELL) $$s/$$module_srcdir/configure \
13155 --srcdir=$${topdir}/$$module_srcdir \
13156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13157 --target=${target_alias} \
13158 --with-build-libsubdir=$(HOST_SUBDIR) \
13159 $(STAGE3_CONFIGURE_FLAGS) \
13160 --disable-shared @extra_mpfr_configure_flags@
13161 @endif mpfr-bootstrap
13163 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13164 maybe-configure-stage4-mpfr:
13165 @if mpfr-bootstrap
13166 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13167 configure-stage4-mpfr:
13168 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13170 @r=`${PWD_COMMAND}`; export r; \
13171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13172 TFLAGS="$(STAGE4_TFLAGS)"; \
13173 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13174 $(HOST_EXPORTS) \
13175 $(POSTSTAGE1_HOST_EXPORTS) \
13176 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13177 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13178 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13179 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13181 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13182 case $(srcdir) in \
13183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13184 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13186 esac; \
13187 module_srcdir=mpfr; \
13188 $(SHELL) $$s/$$module_srcdir/configure \
13189 --srcdir=$${topdir}/$$module_srcdir \
13190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13191 --target=${target_alias} \
13192 --with-build-libsubdir=$(HOST_SUBDIR) \
13193 $(STAGE4_CONFIGURE_FLAGS) \
13194 --disable-shared @extra_mpfr_configure_flags@
13195 @endif mpfr-bootstrap
13197 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13198 maybe-configure-stageprofile-mpfr:
13199 @if mpfr-bootstrap
13200 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13201 configure-stageprofile-mpfr:
13202 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13204 @r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13207 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13208 $(HOST_EXPORTS) \
13209 $(POSTSTAGE1_HOST_EXPORTS) \
13210 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13211 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13212 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13213 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13215 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13216 case $(srcdir) in \
13217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13218 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13220 esac; \
13221 module_srcdir=mpfr; \
13222 $(SHELL) $$s/$$module_srcdir/configure \
13223 --srcdir=$${topdir}/$$module_srcdir \
13224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13225 --target=${target_alias} \
13226 --with-build-libsubdir=$(HOST_SUBDIR) \
13227 $(STAGEprofile_CONFIGURE_FLAGS) \
13228 --disable-shared @extra_mpfr_configure_flags@
13229 @endif mpfr-bootstrap
13231 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13232 maybe-configure-stagefeedback-mpfr:
13233 @if mpfr-bootstrap
13234 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13235 configure-stagefeedback-mpfr:
13236 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13238 @r=`${PWD_COMMAND}`; export r; \
13239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13240 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13241 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13242 $(HOST_EXPORTS) \
13243 $(POSTSTAGE1_HOST_EXPORTS) \
13244 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13245 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13246 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13247 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13249 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13250 case $(srcdir) in \
13251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13252 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13254 esac; \
13255 module_srcdir=mpfr; \
13256 $(SHELL) $$s/$$module_srcdir/configure \
13257 --srcdir=$${topdir}/$$module_srcdir \
13258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13259 --target=${target_alias} \
13260 --with-build-libsubdir=$(HOST_SUBDIR) \
13261 $(STAGEfeedback_CONFIGURE_FLAGS) \
13262 --disable-shared @extra_mpfr_configure_flags@
13263 @endif mpfr-bootstrap
13265 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13266 maybe-configure-stageautoprofile-mpfr:
13267 @if mpfr-bootstrap
13268 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13269 configure-stageautoprofile-mpfr:
13270 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13272 @r=`${PWD_COMMAND}`; export r; \
13273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13274 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13275 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13276 $(HOST_EXPORTS) \
13277 $(POSTSTAGE1_HOST_EXPORTS) \
13278 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13279 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13280 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13281 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13283 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13284 case $(srcdir) in \
13285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13286 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13288 esac; \
13289 module_srcdir=mpfr; \
13290 $(SHELL) $$s/$$module_srcdir/configure \
13291 --srcdir=$${topdir}/$$module_srcdir \
13292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13293 --target=${target_alias} \
13294 --with-build-libsubdir=$(HOST_SUBDIR) \
13295 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13296 --disable-shared @extra_mpfr_configure_flags@
13297 @endif mpfr-bootstrap
13299 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13300 maybe-configure-stageautofeedback-mpfr:
13301 @if mpfr-bootstrap
13302 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13303 configure-stageautofeedback-mpfr:
13304 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13306 @r=`${PWD_COMMAND}`; export r; \
13307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13308 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13309 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13310 $(HOST_EXPORTS) \
13311 $(POSTSTAGE1_HOST_EXPORTS) \
13312 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13313 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13314 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13315 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13317 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13318 case $(srcdir) in \
13319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13320 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13322 esac; \
13323 module_srcdir=mpfr; \
13324 $(SHELL) $$s/$$module_srcdir/configure \
13325 --srcdir=$${topdir}/$$module_srcdir \
13326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13327 --target=${target_alias} \
13328 --with-build-libsubdir=$(HOST_SUBDIR) \
13329 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13330 --disable-shared @extra_mpfr_configure_flags@
13331 @endif mpfr-bootstrap
13337 .PHONY: all-mpfr maybe-all-mpfr
13338 maybe-all-mpfr:
13339 @if gcc-bootstrap
13340 all-mpfr: stage_current
13341 @endif gcc-bootstrap
13342 @if mpfr
13343 TARGET-mpfr=all
13344 maybe-all-mpfr: all-mpfr
13345 all-mpfr: configure-mpfr
13346 @r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13348 $(HOST_EXPORTS) \
13349 (cd $(HOST_SUBDIR)/mpfr && \
13350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13351 $(TARGET-mpfr))
13352 @endif mpfr
13356 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13357 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13358 maybe-all-stage1-mpfr:
13359 maybe-clean-stage1-mpfr:
13360 @if mpfr-bootstrap
13361 maybe-all-stage1-mpfr: all-stage1-mpfr
13362 all-stage1: all-stage1-mpfr
13363 TARGET-stage1-mpfr = $(TARGET-mpfr)
13364 all-stage1-mpfr: configure-stage1-mpfr
13365 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13366 @r=`${PWD_COMMAND}`; export r; \
13367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 TFLAGS="$(STAGE1_TFLAGS)"; \
13369 $(HOST_EXPORTS) \
13370 cd $(HOST_SUBDIR)/mpfr && \
13372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13373 CFLAGS="$(STAGE1_CFLAGS)" \
13374 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13375 LIBCFLAGS="$(LIBCFLAGS)" \
13376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13379 $(EXTRA_HOST_FLAGS) \
13380 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13381 TFLAGS="$(STAGE1_TFLAGS)" \
13382 $(TARGET-stage1-mpfr)
13384 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13385 clean-stage1: clean-stage1-mpfr
13386 clean-stage1-mpfr:
13387 @if [ $(current_stage) = stage1 ]; then \
13388 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13389 else \
13390 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13391 $(MAKE) stage1-start; \
13392 fi; \
13393 cd $(HOST_SUBDIR)/mpfr && \
13394 $(MAKE) $(EXTRA_HOST_FLAGS) \
13395 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13396 @endif mpfr-bootstrap
13399 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13400 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13401 maybe-all-stage2-mpfr:
13402 maybe-clean-stage2-mpfr:
13403 @if mpfr-bootstrap
13404 maybe-all-stage2-mpfr: all-stage2-mpfr
13405 all-stage2: all-stage2-mpfr
13406 TARGET-stage2-mpfr = $(TARGET-mpfr)
13407 all-stage2-mpfr: configure-stage2-mpfr
13408 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13409 @r=`${PWD_COMMAND}`; export r; \
13410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13411 TFLAGS="$(STAGE2_TFLAGS)"; \
13412 $(HOST_EXPORTS) \
13413 $(POSTSTAGE1_HOST_EXPORTS) \
13414 cd $(HOST_SUBDIR)/mpfr && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13417 CFLAGS="$(STAGE2_CFLAGS)" \
13418 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13419 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13420 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13421 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13422 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13423 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13424 TFLAGS="$(STAGE2_TFLAGS)" \
13425 $(TARGET-stage2-mpfr)
13427 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13428 clean-stage2: clean-stage2-mpfr
13429 clean-stage2-mpfr:
13430 @if [ $(current_stage) = stage2 ]; then \
13431 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13432 else \
13433 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
13434 $(MAKE) stage2-start; \
13435 fi; \
13436 cd $(HOST_SUBDIR)/mpfr && \
13437 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13438 @endif mpfr-bootstrap
13441 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
13442 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
13443 maybe-all-stage3-mpfr:
13444 maybe-clean-stage3-mpfr:
13445 @if mpfr-bootstrap
13446 maybe-all-stage3-mpfr: all-stage3-mpfr
13447 all-stage3: all-stage3-mpfr
13448 TARGET-stage3-mpfr = $(TARGET-mpfr)
13449 all-stage3-mpfr: configure-stage3-mpfr
13450 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13451 @r=`${PWD_COMMAND}`; export r; \
13452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13453 TFLAGS="$(STAGE3_TFLAGS)"; \
13454 $(HOST_EXPORTS) \
13455 $(POSTSTAGE1_HOST_EXPORTS) \
13456 cd $(HOST_SUBDIR)/mpfr && \
13458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13459 CFLAGS="$(STAGE3_CFLAGS)" \
13460 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13461 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13466 TFLAGS="$(STAGE3_TFLAGS)" \
13467 $(TARGET-stage3-mpfr)
13469 maybe-clean-stage3-mpfr: clean-stage3-mpfr
13470 clean-stage3: clean-stage3-mpfr
13471 clean-stage3-mpfr:
13472 @if [ $(current_stage) = stage3 ]; then \
13473 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13474 else \
13475 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
13476 $(MAKE) stage3-start; \
13477 fi; \
13478 cd $(HOST_SUBDIR)/mpfr && \
13479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13480 @endif mpfr-bootstrap
13483 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
13484 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
13485 maybe-all-stage4-mpfr:
13486 maybe-clean-stage4-mpfr:
13487 @if mpfr-bootstrap
13488 maybe-all-stage4-mpfr: all-stage4-mpfr
13489 all-stage4: all-stage4-mpfr
13490 TARGET-stage4-mpfr = $(TARGET-mpfr)
13491 all-stage4-mpfr: configure-stage4-mpfr
13492 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13493 @r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 TFLAGS="$(STAGE4_TFLAGS)"; \
13496 $(HOST_EXPORTS) \
13497 $(POSTSTAGE1_HOST_EXPORTS) \
13498 cd $(HOST_SUBDIR)/mpfr && \
13500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13501 CFLAGS="$(STAGE4_CFLAGS)" \
13502 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13503 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13508 TFLAGS="$(STAGE4_TFLAGS)" \
13509 $(TARGET-stage4-mpfr)
13511 maybe-clean-stage4-mpfr: clean-stage4-mpfr
13512 clean-stage4: clean-stage4-mpfr
13513 clean-stage4-mpfr:
13514 @if [ $(current_stage) = stage4 ]; then \
13515 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13516 else \
13517 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
13518 $(MAKE) stage4-start; \
13519 fi; \
13520 cd $(HOST_SUBDIR)/mpfr && \
13521 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13522 @endif mpfr-bootstrap
13525 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
13526 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
13527 maybe-all-stageprofile-mpfr:
13528 maybe-clean-stageprofile-mpfr:
13529 @if mpfr-bootstrap
13530 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
13531 all-stageprofile: all-stageprofile-mpfr
13532 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
13533 all-stageprofile-mpfr: configure-stageprofile-mpfr
13534 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13535 @r=`${PWD_COMMAND}`; export r; \
13536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13537 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13538 $(HOST_EXPORTS) \
13539 $(POSTSTAGE1_HOST_EXPORTS) \
13540 cd $(HOST_SUBDIR)/mpfr && \
13542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13543 CFLAGS="$(STAGEprofile_CFLAGS)" \
13544 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13545 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13549 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13550 TFLAGS="$(STAGEprofile_TFLAGS)" \
13551 $(TARGET-stageprofile-mpfr)
13553 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
13554 clean-stageprofile: clean-stageprofile-mpfr
13555 clean-stageprofile-mpfr:
13556 @if [ $(current_stage) = stageprofile ]; then \
13557 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13558 else \
13559 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
13560 $(MAKE) stageprofile-start; \
13561 fi; \
13562 cd $(HOST_SUBDIR)/mpfr && \
13563 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13564 @endif mpfr-bootstrap
13567 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
13568 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
13569 maybe-all-stagefeedback-mpfr:
13570 maybe-clean-stagefeedback-mpfr:
13571 @if mpfr-bootstrap
13572 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
13573 all-stagefeedback: all-stagefeedback-mpfr
13574 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
13575 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
13576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13577 @r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13580 $(HOST_EXPORTS) \
13581 $(POSTSTAGE1_HOST_EXPORTS) \
13582 cd $(HOST_SUBDIR)/mpfr && \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13585 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13586 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13587 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13588 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13589 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13590 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13591 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13592 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13593 $(TARGET-stagefeedback-mpfr)
13595 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
13596 clean-stagefeedback: clean-stagefeedback-mpfr
13597 clean-stagefeedback-mpfr:
13598 @if [ $(current_stage) = stagefeedback ]; then \
13599 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13600 else \
13601 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
13602 $(MAKE) stagefeedback-start; \
13603 fi; \
13604 cd $(HOST_SUBDIR)/mpfr && \
13605 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13606 @endif mpfr-bootstrap
13609 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
13610 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
13611 maybe-all-stageautoprofile-mpfr:
13612 maybe-clean-stageautoprofile-mpfr:
13613 @if mpfr-bootstrap
13614 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
13615 all-stageautoprofile: all-stageautoprofile-mpfr
13616 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
13617 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13618 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13619 @r=`${PWD_COMMAND}`; export r; \
13620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13621 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13622 $(HOST_EXPORTS) \
13623 $(POSTSTAGE1_HOST_EXPORTS) \
13624 cd $(HOST_SUBDIR)/mpfr && \
13625 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13627 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13628 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13629 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13633 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13634 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13635 $(TARGET-stageautoprofile-mpfr)
13637 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
13638 clean-stageautoprofile: clean-stageautoprofile-mpfr
13639 clean-stageautoprofile-mpfr:
13640 @if [ $(current_stage) = stageautoprofile ]; then \
13641 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13642 else \
13643 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
13644 $(MAKE) stageautoprofile-start; \
13645 fi; \
13646 cd $(HOST_SUBDIR)/mpfr && \
13647 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13648 @endif mpfr-bootstrap
13651 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
13652 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
13653 maybe-all-stageautofeedback-mpfr:
13654 maybe-clean-stageautofeedback-mpfr:
13655 @if mpfr-bootstrap
13656 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
13657 all-stageautofeedback: all-stageautofeedback-mpfr
13658 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
13659 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13660 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13661 @r=`${PWD_COMMAND}`; export r; \
13662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13663 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13664 $(HOST_EXPORTS) \
13665 $(POSTSTAGE1_HOST_EXPORTS) \
13666 cd $(HOST_SUBDIR)/mpfr && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13669 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13670 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13671 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13676 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13677 $(TARGET-stageautofeedback-mpfr)
13679 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
13680 clean-stageautofeedback: clean-stageautofeedback-mpfr
13681 clean-stageautofeedback-mpfr:
13682 @if [ $(current_stage) = stageautofeedback ]; then \
13683 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13684 else \
13685 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
13686 $(MAKE) stageautofeedback-start; \
13687 fi; \
13688 cd $(HOST_SUBDIR)/mpfr && \
13689 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13690 @endif mpfr-bootstrap
13696 .PHONY: check-mpfr maybe-check-mpfr
13697 maybe-check-mpfr:
13698 @if mpfr
13699 maybe-check-mpfr: check-mpfr
13701 check-mpfr:
13702 @: $(MAKE); $(unstage)
13703 @r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13706 (cd $(HOST_SUBDIR)/mpfr && \
13707 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13709 @endif mpfr
13711 .PHONY: install-mpfr maybe-install-mpfr
13712 maybe-install-mpfr:
13713 @if mpfr
13714 maybe-install-mpfr: install-mpfr
13716 install-mpfr:
13718 @endif mpfr
13720 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
13721 maybe-install-strip-mpfr:
13722 @if mpfr
13723 maybe-install-strip-mpfr: install-strip-mpfr
13725 install-strip-mpfr:
13727 @endif mpfr
13729 # Other targets (info, dvi, pdf, etc.)
13731 .PHONY: maybe-info-mpfr info-mpfr
13732 maybe-info-mpfr:
13733 @if mpfr
13734 maybe-info-mpfr: info-mpfr
13736 info-mpfr: \
13737 configure-mpfr
13738 @[ -f ./mpfr/Makefile ] || exit 0; \
13739 r=`${PWD_COMMAND}`; export r; \
13740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741 $(HOST_EXPORTS) \
13742 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13744 done; \
13745 echo "Doing info in mpfr"; \
13746 (cd $(HOST_SUBDIR)/mpfr && \
13747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13749 "RANLIB=$${RANLIB}" \
13750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13751 info) \
13752 || exit 1
13754 @endif mpfr
13756 .PHONY: maybe-dvi-mpfr dvi-mpfr
13757 maybe-dvi-mpfr:
13758 @if mpfr
13759 maybe-dvi-mpfr: dvi-mpfr
13761 dvi-mpfr: \
13762 configure-mpfr
13763 @[ -f ./mpfr/Makefile ] || exit 0; \
13764 r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 $(HOST_EXPORTS) \
13767 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13769 done; \
13770 echo "Doing dvi in mpfr"; \
13771 (cd $(HOST_SUBDIR)/mpfr && \
13772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13774 "RANLIB=$${RANLIB}" \
13775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13776 dvi) \
13777 || exit 1
13779 @endif mpfr
13781 .PHONY: maybe-pdf-mpfr pdf-mpfr
13782 maybe-pdf-mpfr:
13783 @if mpfr
13784 maybe-pdf-mpfr: pdf-mpfr
13786 pdf-mpfr: \
13787 configure-mpfr
13788 @[ -f ./mpfr/Makefile ] || exit 0; \
13789 r=`${PWD_COMMAND}`; export r; \
13790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13791 $(HOST_EXPORTS) \
13792 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13794 done; \
13795 echo "Doing pdf in mpfr"; \
13796 (cd $(HOST_SUBDIR)/mpfr && \
13797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13799 "RANLIB=$${RANLIB}" \
13800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13801 pdf) \
13802 || exit 1
13804 @endif mpfr
13806 .PHONY: maybe-html-mpfr html-mpfr
13807 maybe-html-mpfr:
13808 @if mpfr
13809 maybe-html-mpfr: html-mpfr
13811 html-mpfr: \
13812 configure-mpfr
13813 @[ -f ./mpfr/Makefile ] || exit 0; \
13814 r=`${PWD_COMMAND}`; export r; \
13815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13816 $(HOST_EXPORTS) \
13817 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13819 done; \
13820 echo "Doing html in mpfr"; \
13821 (cd $(HOST_SUBDIR)/mpfr && \
13822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13824 "RANLIB=$${RANLIB}" \
13825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13826 html) \
13827 || exit 1
13829 @endif mpfr
13831 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
13832 maybe-TAGS-mpfr:
13833 @if mpfr
13834 maybe-TAGS-mpfr: TAGS-mpfr
13836 TAGS-mpfr: \
13837 configure-mpfr
13838 @[ -f ./mpfr/Makefile ] || exit 0; \
13839 r=`${PWD_COMMAND}`; export r; \
13840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13841 $(HOST_EXPORTS) \
13842 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13844 done; \
13845 echo "Doing TAGS in mpfr"; \
13846 (cd $(HOST_SUBDIR)/mpfr && \
13847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13849 "RANLIB=$${RANLIB}" \
13850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13851 TAGS) \
13852 || exit 1
13854 @endif mpfr
13856 .PHONY: maybe-install-info-mpfr install-info-mpfr
13857 maybe-install-info-mpfr:
13858 @if mpfr
13859 maybe-install-info-mpfr: install-info-mpfr
13861 install-info-mpfr: \
13862 configure-mpfr \
13863 info-mpfr
13864 @[ -f ./mpfr/Makefile ] || exit 0; \
13865 r=`${PWD_COMMAND}`; export r; \
13866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13867 $(HOST_EXPORTS) \
13868 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13870 done; \
13871 echo "Doing install-info in mpfr"; \
13872 (cd $(HOST_SUBDIR)/mpfr && \
13873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13875 "RANLIB=$${RANLIB}" \
13876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13877 install-info) \
13878 || exit 1
13880 @endif mpfr
13882 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
13883 maybe-install-pdf-mpfr:
13884 @if mpfr
13885 maybe-install-pdf-mpfr: install-pdf-mpfr
13887 install-pdf-mpfr: \
13888 configure-mpfr \
13889 pdf-mpfr
13890 @[ -f ./mpfr/Makefile ] || exit 0; \
13891 r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 $(HOST_EXPORTS) \
13894 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13896 done; \
13897 echo "Doing install-pdf in mpfr"; \
13898 (cd $(HOST_SUBDIR)/mpfr && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13901 "RANLIB=$${RANLIB}" \
13902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13903 install-pdf) \
13904 || exit 1
13906 @endif mpfr
13908 .PHONY: maybe-install-html-mpfr install-html-mpfr
13909 maybe-install-html-mpfr:
13910 @if mpfr
13911 maybe-install-html-mpfr: install-html-mpfr
13913 install-html-mpfr: \
13914 configure-mpfr \
13915 html-mpfr
13916 @[ -f ./mpfr/Makefile ] || exit 0; \
13917 r=`${PWD_COMMAND}`; export r; \
13918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13919 $(HOST_EXPORTS) \
13920 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13922 done; \
13923 echo "Doing install-html in mpfr"; \
13924 (cd $(HOST_SUBDIR)/mpfr && \
13925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13927 "RANLIB=$${RANLIB}" \
13928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13929 install-html) \
13930 || exit 1
13932 @endif mpfr
13934 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
13935 maybe-installcheck-mpfr:
13936 @if mpfr
13937 maybe-installcheck-mpfr: installcheck-mpfr
13939 installcheck-mpfr: \
13940 configure-mpfr
13941 @[ -f ./mpfr/Makefile ] || exit 0; \
13942 r=`${PWD_COMMAND}`; export r; \
13943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13944 $(HOST_EXPORTS) \
13945 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13947 done; \
13948 echo "Doing installcheck in mpfr"; \
13949 (cd $(HOST_SUBDIR)/mpfr && \
13950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13952 "RANLIB=$${RANLIB}" \
13953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13954 installcheck) \
13955 || exit 1
13957 @endif mpfr
13959 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
13960 maybe-mostlyclean-mpfr:
13961 @if mpfr
13962 maybe-mostlyclean-mpfr: mostlyclean-mpfr
13964 mostlyclean-mpfr:
13965 @[ -f ./mpfr/Makefile ] || exit 0; \
13966 r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 $(HOST_EXPORTS) \
13969 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13971 done; \
13972 echo "Doing mostlyclean in mpfr"; \
13973 (cd $(HOST_SUBDIR)/mpfr && \
13974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13976 "RANLIB=$${RANLIB}" \
13977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13978 mostlyclean) \
13979 || exit 1
13981 @endif mpfr
13983 .PHONY: maybe-clean-mpfr clean-mpfr
13984 maybe-clean-mpfr:
13985 @if mpfr
13986 maybe-clean-mpfr: clean-mpfr
13988 clean-mpfr:
13989 @[ -f ./mpfr/Makefile ] || exit 0; \
13990 r=`${PWD_COMMAND}`; export r; \
13991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13992 $(HOST_EXPORTS) \
13993 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13995 done; \
13996 echo "Doing clean in mpfr"; \
13997 (cd $(HOST_SUBDIR)/mpfr && \
13998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14000 "RANLIB=$${RANLIB}" \
14001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14002 clean) \
14003 || exit 1
14005 @endif mpfr
14007 .PHONY: maybe-distclean-mpfr distclean-mpfr
14008 maybe-distclean-mpfr:
14009 @if mpfr
14010 maybe-distclean-mpfr: distclean-mpfr
14012 distclean-mpfr:
14013 @[ -f ./mpfr/Makefile ] || exit 0; \
14014 r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(HOST_EXPORTS) \
14017 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14019 done; \
14020 echo "Doing distclean in mpfr"; \
14021 (cd $(HOST_SUBDIR)/mpfr && \
14022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14024 "RANLIB=$${RANLIB}" \
14025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14026 distclean) \
14027 || exit 1
14029 @endif mpfr
14031 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14032 maybe-maintainer-clean-mpfr:
14033 @if mpfr
14034 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14036 maintainer-clean-mpfr:
14037 @[ -f ./mpfr/Makefile ] || exit 0; \
14038 r=`${PWD_COMMAND}`; export r; \
14039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14040 $(HOST_EXPORTS) \
14041 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14043 done; \
14044 echo "Doing maintainer-clean in mpfr"; \
14045 (cd $(HOST_SUBDIR)/mpfr && \
14046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14048 "RANLIB=$${RANLIB}" \
14049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14050 maintainer-clean) \
14051 || exit 1
14053 @endif mpfr
14057 .PHONY: configure-mpc maybe-configure-mpc
14058 maybe-configure-mpc:
14059 @if gcc-bootstrap
14060 configure-mpc: stage_current
14061 @endif gcc-bootstrap
14062 @if mpc
14063 maybe-configure-mpc: configure-mpc
14064 configure-mpc:
14065 @r=`${PWD_COMMAND}`; export r; \
14066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14067 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14069 $(HOST_EXPORTS) \
14070 echo Configuring in $(HOST_SUBDIR)/mpc; \
14071 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14072 case $(srcdir) in \
14073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14074 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14076 esac; \
14077 module_srcdir=mpc; \
14078 $(SHELL) \
14079 $$s/$$module_srcdir/configure \
14080 --srcdir=$${topdir}/$$module_srcdir \
14081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14082 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
14083 || exit 1
14084 @endif mpc
14088 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14089 maybe-configure-stage1-mpc:
14090 @if mpc-bootstrap
14091 maybe-configure-stage1-mpc: configure-stage1-mpc
14092 configure-stage1-mpc:
14093 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14095 @r=`${PWD_COMMAND}`; export r; \
14096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14097 TFLAGS="$(STAGE1_TFLAGS)"; \
14098 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14099 $(HOST_EXPORTS) \
14100 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14101 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14102 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14103 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14105 cd $(HOST_SUBDIR)/mpc || exit 1; \
14106 case $(srcdir) in \
14107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14108 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14110 esac; \
14111 module_srcdir=mpc; \
14112 $(SHELL) $$s/$$module_srcdir/configure \
14113 --srcdir=$${topdir}/$$module_srcdir \
14114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14115 --target=${target_alias} \
14117 $(STAGE1_CONFIGURE_FLAGS) \
14118 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14119 @endif mpc-bootstrap
14121 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14122 maybe-configure-stage2-mpc:
14123 @if mpc-bootstrap
14124 maybe-configure-stage2-mpc: configure-stage2-mpc
14125 configure-stage2-mpc:
14126 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14128 @r=`${PWD_COMMAND}`; export r; \
14129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14130 TFLAGS="$(STAGE2_TFLAGS)"; \
14131 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14132 $(HOST_EXPORTS) \
14133 $(POSTSTAGE1_HOST_EXPORTS) \
14134 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14135 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14136 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14137 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14139 cd $(HOST_SUBDIR)/mpc || exit 1; \
14140 case $(srcdir) in \
14141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14142 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14144 esac; \
14145 module_srcdir=mpc; \
14146 $(SHELL) $$s/$$module_srcdir/configure \
14147 --srcdir=$${topdir}/$$module_srcdir \
14148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14149 --target=${target_alias} \
14150 --with-build-libsubdir=$(HOST_SUBDIR) \
14151 $(STAGE2_CONFIGURE_FLAGS) \
14152 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14153 @endif mpc-bootstrap
14155 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14156 maybe-configure-stage3-mpc:
14157 @if mpc-bootstrap
14158 maybe-configure-stage3-mpc: configure-stage3-mpc
14159 configure-stage3-mpc:
14160 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14162 @r=`${PWD_COMMAND}`; export r; \
14163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14164 TFLAGS="$(STAGE3_TFLAGS)"; \
14165 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14166 $(HOST_EXPORTS) \
14167 $(POSTSTAGE1_HOST_EXPORTS) \
14168 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14169 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14170 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14171 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14173 cd $(HOST_SUBDIR)/mpc || exit 1; \
14174 case $(srcdir) in \
14175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14176 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14178 esac; \
14179 module_srcdir=mpc; \
14180 $(SHELL) $$s/$$module_srcdir/configure \
14181 --srcdir=$${topdir}/$$module_srcdir \
14182 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14183 --target=${target_alias} \
14184 --with-build-libsubdir=$(HOST_SUBDIR) \
14185 $(STAGE3_CONFIGURE_FLAGS) \
14186 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14187 @endif mpc-bootstrap
14189 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14190 maybe-configure-stage4-mpc:
14191 @if mpc-bootstrap
14192 maybe-configure-stage4-mpc: configure-stage4-mpc
14193 configure-stage4-mpc:
14194 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 TFLAGS="$(STAGE4_TFLAGS)"; \
14199 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14200 $(HOST_EXPORTS) \
14201 $(POSTSTAGE1_HOST_EXPORTS) \
14202 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14203 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14204 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14205 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14207 cd $(HOST_SUBDIR)/mpc || exit 1; \
14208 case $(srcdir) in \
14209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14210 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14212 esac; \
14213 module_srcdir=mpc; \
14214 $(SHELL) $$s/$$module_srcdir/configure \
14215 --srcdir=$${topdir}/$$module_srcdir \
14216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14217 --target=${target_alias} \
14218 --with-build-libsubdir=$(HOST_SUBDIR) \
14219 $(STAGE4_CONFIGURE_FLAGS) \
14220 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14221 @endif mpc-bootstrap
14223 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14224 maybe-configure-stageprofile-mpc:
14225 @if mpc-bootstrap
14226 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14227 configure-stageprofile-mpc:
14228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14230 @r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14233 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14234 $(HOST_EXPORTS) \
14235 $(POSTSTAGE1_HOST_EXPORTS) \
14236 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14237 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14238 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14239 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14241 cd $(HOST_SUBDIR)/mpc || exit 1; \
14242 case $(srcdir) in \
14243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14244 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14246 esac; \
14247 module_srcdir=mpc; \
14248 $(SHELL) $$s/$$module_srcdir/configure \
14249 --srcdir=$${topdir}/$$module_srcdir \
14250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14251 --target=${target_alias} \
14252 --with-build-libsubdir=$(HOST_SUBDIR) \
14253 $(STAGEprofile_CONFIGURE_FLAGS) \
14254 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14255 @endif mpc-bootstrap
14257 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14258 maybe-configure-stagefeedback-mpc:
14259 @if mpc-bootstrap
14260 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14261 configure-stagefeedback-mpc:
14262 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14264 @r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14267 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14268 $(HOST_EXPORTS) \
14269 $(POSTSTAGE1_HOST_EXPORTS) \
14270 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14271 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14272 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14273 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14275 cd $(HOST_SUBDIR)/mpc || exit 1; \
14276 case $(srcdir) in \
14277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14278 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14280 esac; \
14281 module_srcdir=mpc; \
14282 $(SHELL) $$s/$$module_srcdir/configure \
14283 --srcdir=$${topdir}/$$module_srcdir \
14284 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14285 --target=${target_alias} \
14286 --with-build-libsubdir=$(HOST_SUBDIR) \
14287 $(STAGEfeedback_CONFIGURE_FLAGS) \
14288 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14289 @endif mpc-bootstrap
14291 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14292 maybe-configure-stageautoprofile-mpc:
14293 @if mpc-bootstrap
14294 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14295 configure-stageautoprofile-mpc:
14296 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14298 @r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14301 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14302 $(HOST_EXPORTS) \
14303 $(POSTSTAGE1_HOST_EXPORTS) \
14304 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14305 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14306 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14307 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14309 cd $(HOST_SUBDIR)/mpc || exit 1; \
14310 case $(srcdir) in \
14311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14312 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14314 esac; \
14315 module_srcdir=mpc; \
14316 $(SHELL) $$s/$$module_srcdir/configure \
14317 --srcdir=$${topdir}/$$module_srcdir \
14318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14319 --target=${target_alias} \
14320 --with-build-libsubdir=$(HOST_SUBDIR) \
14321 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14322 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14323 @endif mpc-bootstrap
14325 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14326 maybe-configure-stageautofeedback-mpc:
14327 @if mpc-bootstrap
14328 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14329 configure-stageautofeedback-mpc:
14330 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14332 @r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14335 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14336 $(HOST_EXPORTS) \
14337 $(POSTSTAGE1_HOST_EXPORTS) \
14338 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14339 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14340 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14341 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14343 cd $(HOST_SUBDIR)/mpc || exit 1; \
14344 case $(srcdir) in \
14345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14346 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14348 esac; \
14349 module_srcdir=mpc; \
14350 $(SHELL) $$s/$$module_srcdir/configure \
14351 --srcdir=$${topdir}/$$module_srcdir \
14352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14353 --target=${target_alias} \
14354 --with-build-libsubdir=$(HOST_SUBDIR) \
14355 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14356 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14357 @endif mpc-bootstrap
14363 .PHONY: all-mpc maybe-all-mpc
14364 maybe-all-mpc:
14365 @if gcc-bootstrap
14366 all-mpc: stage_current
14367 @endif gcc-bootstrap
14368 @if mpc
14369 TARGET-mpc=all
14370 maybe-all-mpc: all-mpc
14371 all-mpc: configure-mpc
14372 @r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374 $(HOST_EXPORTS) \
14375 (cd $(HOST_SUBDIR)/mpc && \
14376 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14377 $(TARGET-mpc))
14378 @endif mpc
14382 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
14383 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
14384 maybe-all-stage1-mpc:
14385 maybe-clean-stage1-mpc:
14386 @if mpc-bootstrap
14387 maybe-all-stage1-mpc: all-stage1-mpc
14388 all-stage1: all-stage1-mpc
14389 TARGET-stage1-mpc = $(TARGET-mpc)
14390 all-stage1-mpc: configure-stage1-mpc
14391 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14392 @r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 TFLAGS="$(STAGE1_TFLAGS)"; \
14395 $(HOST_EXPORTS) \
14396 cd $(HOST_SUBDIR)/mpc && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14399 CFLAGS="$(STAGE1_CFLAGS)" \
14400 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14401 LIBCFLAGS="$(LIBCFLAGS)" \
14402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14405 $(EXTRA_HOST_FLAGS) \
14406 $(STAGE1_FLAGS_TO_PASS) \
14407 TFLAGS="$(STAGE1_TFLAGS)" \
14408 $(TARGET-stage1-mpc)
14410 maybe-clean-stage1-mpc: clean-stage1-mpc
14411 clean-stage1: clean-stage1-mpc
14412 clean-stage1-mpc:
14413 @if [ $(current_stage) = stage1 ]; then \
14414 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14415 else \
14416 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
14417 $(MAKE) stage1-start; \
14418 fi; \
14419 cd $(HOST_SUBDIR)/mpc && \
14420 $(MAKE) $(EXTRA_HOST_FLAGS) \
14421 $(STAGE1_FLAGS_TO_PASS) clean
14422 @endif mpc-bootstrap
14425 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
14426 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
14427 maybe-all-stage2-mpc:
14428 maybe-clean-stage2-mpc:
14429 @if mpc-bootstrap
14430 maybe-all-stage2-mpc: all-stage2-mpc
14431 all-stage2: all-stage2-mpc
14432 TARGET-stage2-mpc = $(TARGET-mpc)
14433 all-stage2-mpc: configure-stage2-mpc
14434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14435 @r=`${PWD_COMMAND}`; export r; \
14436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14437 TFLAGS="$(STAGE2_TFLAGS)"; \
14438 $(HOST_EXPORTS) \
14439 $(POSTSTAGE1_HOST_EXPORTS) \
14440 cd $(HOST_SUBDIR)/mpc && \
14442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14443 CFLAGS="$(STAGE2_CFLAGS)" \
14444 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14445 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14450 TFLAGS="$(STAGE2_TFLAGS)" \
14451 $(TARGET-stage2-mpc)
14453 maybe-clean-stage2-mpc: clean-stage2-mpc
14454 clean-stage2: clean-stage2-mpc
14455 clean-stage2-mpc:
14456 @if [ $(current_stage) = stage2 ]; then \
14457 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14458 else \
14459 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
14460 $(MAKE) stage2-start; \
14461 fi; \
14462 cd $(HOST_SUBDIR)/mpc && \
14463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14464 @endif mpc-bootstrap
14467 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
14468 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
14469 maybe-all-stage3-mpc:
14470 maybe-clean-stage3-mpc:
14471 @if mpc-bootstrap
14472 maybe-all-stage3-mpc: all-stage3-mpc
14473 all-stage3: all-stage3-mpc
14474 TARGET-stage3-mpc = $(TARGET-mpc)
14475 all-stage3-mpc: configure-stage3-mpc
14476 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14477 @r=`${PWD_COMMAND}`; export r; \
14478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14479 TFLAGS="$(STAGE3_TFLAGS)"; \
14480 $(HOST_EXPORTS) \
14481 $(POSTSTAGE1_HOST_EXPORTS) \
14482 cd $(HOST_SUBDIR)/mpc && \
14484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14485 CFLAGS="$(STAGE3_CFLAGS)" \
14486 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14487 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14492 TFLAGS="$(STAGE3_TFLAGS)" \
14493 $(TARGET-stage3-mpc)
14495 maybe-clean-stage3-mpc: clean-stage3-mpc
14496 clean-stage3: clean-stage3-mpc
14497 clean-stage3-mpc:
14498 @if [ $(current_stage) = stage3 ]; then \
14499 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14500 else \
14501 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
14502 $(MAKE) stage3-start; \
14503 fi; \
14504 cd $(HOST_SUBDIR)/mpc && \
14505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14506 @endif mpc-bootstrap
14509 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
14510 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
14511 maybe-all-stage4-mpc:
14512 maybe-clean-stage4-mpc:
14513 @if mpc-bootstrap
14514 maybe-all-stage4-mpc: all-stage4-mpc
14515 all-stage4: all-stage4-mpc
14516 TARGET-stage4-mpc = $(TARGET-mpc)
14517 all-stage4-mpc: configure-stage4-mpc
14518 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14519 @r=`${PWD_COMMAND}`; export r; \
14520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14521 TFLAGS="$(STAGE4_TFLAGS)"; \
14522 $(HOST_EXPORTS) \
14523 $(POSTSTAGE1_HOST_EXPORTS) \
14524 cd $(HOST_SUBDIR)/mpc && \
14526 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14527 CFLAGS="$(STAGE4_CFLAGS)" \
14528 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14529 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14530 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14531 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14532 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14533 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14534 TFLAGS="$(STAGE4_TFLAGS)" \
14535 $(TARGET-stage4-mpc)
14537 maybe-clean-stage4-mpc: clean-stage4-mpc
14538 clean-stage4: clean-stage4-mpc
14539 clean-stage4-mpc:
14540 @if [ $(current_stage) = stage4 ]; then \
14541 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14542 else \
14543 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
14544 $(MAKE) stage4-start; \
14545 fi; \
14546 cd $(HOST_SUBDIR)/mpc && \
14547 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14548 @endif mpc-bootstrap
14551 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
14552 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
14553 maybe-all-stageprofile-mpc:
14554 maybe-clean-stageprofile-mpc:
14555 @if mpc-bootstrap
14556 maybe-all-stageprofile-mpc: all-stageprofile-mpc
14557 all-stageprofile: all-stageprofile-mpc
14558 TARGET-stageprofile-mpc = $(TARGET-mpc)
14559 all-stageprofile-mpc: configure-stageprofile-mpc
14560 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14561 @r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14564 $(HOST_EXPORTS) \
14565 $(POSTSTAGE1_HOST_EXPORTS) \
14566 cd $(HOST_SUBDIR)/mpc && \
14568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14569 CFLAGS="$(STAGEprofile_CFLAGS)" \
14570 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14571 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14576 TFLAGS="$(STAGEprofile_TFLAGS)" \
14577 $(TARGET-stageprofile-mpc)
14579 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
14580 clean-stageprofile: clean-stageprofile-mpc
14581 clean-stageprofile-mpc:
14582 @if [ $(current_stage) = stageprofile ]; then \
14583 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14584 else \
14585 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
14586 $(MAKE) stageprofile-start; \
14587 fi; \
14588 cd $(HOST_SUBDIR)/mpc && \
14589 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14590 @endif mpc-bootstrap
14593 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
14594 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
14595 maybe-all-stagefeedback-mpc:
14596 maybe-clean-stagefeedback-mpc:
14597 @if mpc-bootstrap
14598 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
14599 all-stagefeedback: all-stagefeedback-mpc
14600 TARGET-stagefeedback-mpc = $(TARGET-mpc)
14601 all-stagefeedback-mpc: configure-stagefeedback-mpc
14602 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14603 @r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14606 $(HOST_EXPORTS) \
14607 $(POSTSTAGE1_HOST_EXPORTS) \
14608 cd $(HOST_SUBDIR)/mpc && \
14610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14611 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14612 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14613 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14618 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14619 $(TARGET-stagefeedback-mpc)
14621 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
14622 clean-stagefeedback: clean-stagefeedback-mpc
14623 clean-stagefeedback-mpc:
14624 @if [ $(current_stage) = stagefeedback ]; then \
14625 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14626 else \
14627 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
14628 $(MAKE) stagefeedback-start; \
14629 fi; \
14630 cd $(HOST_SUBDIR)/mpc && \
14631 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14632 @endif mpc-bootstrap
14635 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
14636 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
14637 maybe-all-stageautoprofile-mpc:
14638 maybe-clean-stageautoprofile-mpc:
14639 @if mpc-bootstrap
14640 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
14641 all-stageautoprofile: all-stageautoprofile-mpc
14642 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
14643 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
14644 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14645 @r=`${PWD_COMMAND}`; export r; \
14646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14647 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14648 $(HOST_EXPORTS) \
14649 $(POSTSTAGE1_HOST_EXPORTS) \
14650 cd $(HOST_SUBDIR)/mpc && \
14651 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14653 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14654 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14655 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14660 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14661 $(TARGET-stageautoprofile-mpc)
14663 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
14664 clean-stageautoprofile: clean-stageautoprofile-mpc
14665 clean-stageautoprofile-mpc:
14666 @if [ $(current_stage) = stageautoprofile ]; then \
14667 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14668 else \
14669 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
14670 $(MAKE) stageautoprofile-start; \
14671 fi; \
14672 cd $(HOST_SUBDIR)/mpc && \
14673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14674 @endif mpc-bootstrap
14677 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
14678 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
14679 maybe-all-stageautofeedback-mpc:
14680 maybe-clean-stageautofeedback-mpc:
14681 @if mpc-bootstrap
14682 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
14683 all-stageautofeedback: all-stageautofeedback-mpc
14684 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
14685 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
14686 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14687 @r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14690 $(HOST_EXPORTS) \
14691 $(POSTSTAGE1_HOST_EXPORTS) \
14692 cd $(HOST_SUBDIR)/mpc && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14695 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14696 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14697 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14702 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14703 $(TARGET-stageautofeedback-mpc)
14705 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
14706 clean-stageautofeedback: clean-stageautofeedback-mpc
14707 clean-stageautofeedback-mpc:
14708 @if [ $(current_stage) = stageautofeedback ]; then \
14709 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14710 else \
14711 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
14712 $(MAKE) stageautofeedback-start; \
14713 fi; \
14714 cd $(HOST_SUBDIR)/mpc && \
14715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14716 @endif mpc-bootstrap
14722 .PHONY: check-mpc maybe-check-mpc
14723 maybe-check-mpc:
14724 @if mpc
14725 maybe-check-mpc: check-mpc
14727 check-mpc:
14728 @: $(MAKE); $(unstage)
14729 @r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14732 (cd $(HOST_SUBDIR)/mpc && \
14733 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
14735 @endif mpc
14737 .PHONY: install-mpc maybe-install-mpc
14738 maybe-install-mpc:
14739 @if mpc
14740 maybe-install-mpc: install-mpc
14742 install-mpc:
14744 @endif mpc
14746 .PHONY: install-strip-mpc maybe-install-strip-mpc
14747 maybe-install-strip-mpc:
14748 @if mpc
14749 maybe-install-strip-mpc: install-strip-mpc
14751 install-strip-mpc:
14753 @endif mpc
14755 # Other targets (info, dvi, pdf, etc.)
14757 .PHONY: maybe-info-mpc info-mpc
14758 maybe-info-mpc:
14759 @if mpc
14760 maybe-info-mpc: info-mpc
14762 info-mpc: \
14763 configure-mpc
14764 @[ -f ./mpc/Makefile ] || exit 0; \
14765 r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(HOST_EXPORTS) \
14768 for flag in $(EXTRA_HOST_FLAGS) ; do \
14769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14770 done; \
14771 echo "Doing info in mpc"; \
14772 (cd $(HOST_SUBDIR)/mpc && \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14775 "RANLIB=$${RANLIB}" \
14776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14777 info) \
14778 || exit 1
14780 @endif mpc
14782 .PHONY: maybe-dvi-mpc dvi-mpc
14783 maybe-dvi-mpc:
14784 @if mpc
14785 maybe-dvi-mpc: dvi-mpc
14787 dvi-mpc: \
14788 configure-mpc
14789 @[ -f ./mpc/Makefile ] || exit 0; \
14790 r=`${PWD_COMMAND}`; export r; \
14791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14792 $(HOST_EXPORTS) \
14793 for flag in $(EXTRA_HOST_FLAGS) ; do \
14794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14795 done; \
14796 echo "Doing dvi in mpc"; \
14797 (cd $(HOST_SUBDIR)/mpc && \
14798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14800 "RANLIB=$${RANLIB}" \
14801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14802 dvi) \
14803 || exit 1
14805 @endif mpc
14807 .PHONY: maybe-pdf-mpc pdf-mpc
14808 maybe-pdf-mpc:
14809 @if mpc
14810 maybe-pdf-mpc: pdf-mpc
14812 pdf-mpc: \
14813 configure-mpc
14814 @[ -f ./mpc/Makefile ] || exit 0; \
14815 r=`${PWD_COMMAND}`; export r; \
14816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14817 $(HOST_EXPORTS) \
14818 for flag in $(EXTRA_HOST_FLAGS) ; do \
14819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14820 done; \
14821 echo "Doing pdf in mpc"; \
14822 (cd $(HOST_SUBDIR)/mpc && \
14823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14825 "RANLIB=$${RANLIB}" \
14826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14827 pdf) \
14828 || exit 1
14830 @endif mpc
14832 .PHONY: maybe-html-mpc html-mpc
14833 maybe-html-mpc:
14834 @if mpc
14835 maybe-html-mpc: html-mpc
14837 html-mpc: \
14838 configure-mpc
14839 @[ -f ./mpc/Makefile ] || exit 0; \
14840 r=`${PWD_COMMAND}`; export r; \
14841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14842 $(HOST_EXPORTS) \
14843 for flag in $(EXTRA_HOST_FLAGS) ; do \
14844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14845 done; \
14846 echo "Doing html in mpc"; \
14847 (cd $(HOST_SUBDIR)/mpc && \
14848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14850 "RANLIB=$${RANLIB}" \
14851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14852 html) \
14853 || exit 1
14855 @endif mpc
14857 .PHONY: maybe-TAGS-mpc TAGS-mpc
14858 maybe-TAGS-mpc:
14859 @if mpc
14860 maybe-TAGS-mpc: TAGS-mpc
14862 TAGS-mpc: \
14863 configure-mpc
14864 @[ -f ./mpc/Makefile ] || exit 0; \
14865 r=`${PWD_COMMAND}`; export r; \
14866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14867 $(HOST_EXPORTS) \
14868 for flag in $(EXTRA_HOST_FLAGS) ; do \
14869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14870 done; \
14871 echo "Doing TAGS in mpc"; \
14872 (cd $(HOST_SUBDIR)/mpc && \
14873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14875 "RANLIB=$${RANLIB}" \
14876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14877 TAGS) \
14878 || exit 1
14880 @endif mpc
14882 .PHONY: maybe-install-info-mpc install-info-mpc
14883 maybe-install-info-mpc:
14884 @if mpc
14885 maybe-install-info-mpc: install-info-mpc
14887 install-info-mpc: \
14888 configure-mpc \
14889 info-mpc
14890 @[ -f ./mpc/Makefile ] || exit 0; \
14891 r=`${PWD_COMMAND}`; export r; \
14892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14893 $(HOST_EXPORTS) \
14894 for flag in $(EXTRA_HOST_FLAGS) ; do \
14895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14896 done; \
14897 echo "Doing install-info in mpc"; \
14898 (cd $(HOST_SUBDIR)/mpc && \
14899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14901 "RANLIB=$${RANLIB}" \
14902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14903 install-info) \
14904 || exit 1
14906 @endif mpc
14908 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
14909 maybe-install-pdf-mpc:
14910 @if mpc
14911 maybe-install-pdf-mpc: install-pdf-mpc
14913 install-pdf-mpc: \
14914 configure-mpc \
14915 pdf-mpc
14916 @[ -f ./mpc/Makefile ] || exit 0; \
14917 r=`${PWD_COMMAND}`; export r; \
14918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 $(HOST_EXPORTS) \
14920 for flag in $(EXTRA_HOST_FLAGS) ; do \
14921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14922 done; \
14923 echo "Doing install-pdf in mpc"; \
14924 (cd $(HOST_SUBDIR)/mpc && \
14925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14927 "RANLIB=$${RANLIB}" \
14928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14929 install-pdf) \
14930 || exit 1
14932 @endif mpc
14934 .PHONY: maybe-install-html-mpc install-html-mpc
14935 maybe-install-html-mpc:
14936 @if mpc
14937 maybe-install-html-mpc: install-html-mpc
14939 install-html-mpc: \
14940 configure-mpc \
14941 html-mpc
14942 @[ -f ./mpc/Makefile ] || exit 0; \
14943 r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 $(HOST_EXPORTS) \
14946 for flag in $(EXTRA_HOST_FLAGS) ; do \
14947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14948 done; \
14949 echo "Doing install-html in mpc"; \
14950 (cd $(HOST_SUBDIR)/mpc && \
14951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14953 "RANLIB=$${RANLIB}" \
14954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14955 install-html) \
14956 || exit 1
14958 @endif mpc
14960 .PHONY: maybe-installcheck-mpc installcheck-mpc
14961 maybe-installcheck-mpc:
14962 @if mpc
14963 maybe-installcheck-mpc: installcheck-mpc
14965 installcheck-mpc: \
14966 configure-mpc
14967 @[ -f ./mpc/Makefile ] || exit 0; \
14968 r=`${PWD_COMMAND}`; export r; \
14969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14970 $(HOST_EXPORTS) \
14971 for flag in $(EXTRA_HOST_FLAGS) ; do \
14972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14973 done; \
14974 echo "Doing installcheck in mpc"; \
14975 (cd $(HOST_SUBDIR)/mpc && \
14976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14978 "RANLIB=$${RANLIB}" \
14979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14980 installcheck) \
14981 || exit 1
14983 @endif mpc
14985 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
14986 maybe-mostlyclean-mpc:
14987 @if mpc
14988 maybe-mostlyclean-mpc: mostlyclean-mpc
14990 mostlyclean-mpc:
14991 @[ -f ./mpc/Makefile ] || exit 0; \
14992 r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 $(HOST_EXPORTS) \
14995 for flag in $(EXTRA_HOST_FLAGS) ; do \
14996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14997 done; \
14998 echo "Doing mostlyclean in mpc"; \
14999 (cd $(HOST_SUBDIR)/mpc && \
15000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15002 "RANLIB=$${RANLIB}" \
15003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15004 mostlyclean) \
15005 || exit 1
15007 @endif mpc
15009 .PHONY: maybe-clean-mpc clean-mpc
15010 maybe-clean-mpc:
15011 @if mpc
15012 maybe-clean-mpc: clean-mpc
15014 clean-mpc:
15015 @[ -f ./mpc/Makefile ] || exit 0; \
15016 r=`${PWD_COMMAND}`; export r; \
15017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15018 $(HOST_EXPORTS) \
15019 for flag in $(EXTRA_HOST_FLAGS) ; do \
15020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15021 done; \
15022 echo "Doing clean in mpc"; \
15023 (cd $(HOST_SUBDIR)/mpc && \
15024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15026 "RANLIB=$${RANLIB}" \
15027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15028 clean) \
15029 || exit 1
15031 @endif mpc
15033 .PHONY: maybe-distclean-mpc distclean-mpc
15034 maybe-distclean-mpc:
15035 @if mpc
15036 maybe-distclean-mpc: distclean-mpc
15038 distclean-mpc:
15039 @[ -f ./mpc/Makefile ] || exit 0; \
15040 r=`${PWD_COMMAND}`; export r; \
15041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15042 $(HOST_EXPORTS) \
15043 for flag in $(EXTRA_HOST_FLAGS) ; do \
15044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15045 done; \
15046 echo "Doing distclean in mpc"; \
15047 (cd $(HOST_SUBDIR)/mpc && \
15048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15050 "RANLIB=$${RANLIB}" \
15051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15052 distclean) \
15053 || exit 1
15055 @endif mpc
15057 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15058 maybe-maintainer-clean-mpc:
15059 @if mpc
15060 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15062 maintainer-clean-mpc:
15063 @[ -f ./mpc/Makefile ] || exit 0; \
15064 r=`${PWD_COMMAND}`; export r; \
15065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15066 $(HOST_EXPORTS) \
15067 for flag in $(EXTRA_HOST_FLAGS) ; do \
15068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15069 done; \
15070 echo "Doing maintainer-clean in mpc"; \
15071 (cd $(HOST_SUBDIR)/mpc && \
15072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15074 "RANLIB=$${RANLIB}" \
15075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15076 maintainer-clean) \
15077 || exit 1
15079 @endif mpc
15083 .PHONY: configure-isl maybe-configure-isl
15084 maybe-configure-isl:
15085 @if gcc-bootstrap
15086 configure-isl: stage_current
15087 @endif gcc-bootstrap
15088 @if isl
15089 maybe-configure-isl: configure-isl
15090 configure-isl:
15091 @r=`${PWD_COMMAND}`; export r; \
15092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15093 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15095 $(HOST_EXPORTS) \
15096 echo Configuring in $(HOST_SUBDIR)/isl; \
15097 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15098 case $(srcdir) in \
15099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15100 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15102 esac; \
15103 module_srcdir=isl; \
15104 $(SHELL) \
15105 $$s/$$module_srcdir/configure \
15106 --srcdir=$${topdir}/$$module_srcdir \
15107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15108 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15109 || exit 1
15110 @endif isl
15114 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15115 maybe-configure-stage1-isl:
15116 @if isl-bootstrap
15117 maybe-configure-stage1-isl: configure-stage1-isl
15118 configure-stage1-isl:
15119 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15121 @r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 TFLAGS="$(STAGE1_TFLAGS)"; \
15124 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15125 $(HOST_EXPORTS) \
15126 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15127 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15128 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15129 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15131 cd $(HOST_SUBDIR)/isl || exit 1; \
15132 case $(srcdir) in \
15133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15134 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15136 esac; \
15137 module_srcdir=isl; \
15138 $(SHELL) $$s/$$module_srcdir/configure \
15139 --srcdir=$${topdir}/$$module_srcdir \
15140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15141 --target=${target_alias} \
15143 $(STAGE1_CONFIGURE_FLAGS) \
15144 --disable-shared @extra_isl_gmp_configure_flags@
15145 @endif isl-bootstrap
15147 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15148 maybe-configure-stage2-isl:
15149 @if isl-bootstrap
15150 maybe-configure-stage2-isl: configure-stage2-isl
15151 configure-stage2-isl:
15152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 TFLAGS="$(STAGE2_TFLAGS)"; \
15157 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15158 $(HOST_EXPORTS) \
15159 $(POSTSTAGE1_HOST_EXPORTS) \
15160 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15161 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15162 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15163 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15165 cd $(HOST_SUBDIR)/isl || exit 1; \
15166 case $(srcdir) in \
15167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15168 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15170 esac; \
15171 module_srcdir=isl; \
15172 $(SHELL) $$s/$$module_srcdir/configure \
15173 --srcdir=$${topdir}/$$module_srcdir \
15174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15175 --target=${target_alias} \
15176 --with-build-libsubdir=$(HOST_SUBDIR) \
15177 $(STAGE2_CONFIGURE_FLAGS) \
15178 --disable-shared @extra_isl_gmp_configure_flags@
15179 @endif isl-bootstrap
15181 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15182 maybe-configure-stage3-isl:
15183 @if isl-bootstrap
15184 maybe-configure-stage3-isl: configure-stage3-isl
15185 configure-stage3-isl:
15186 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15188 @r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 TFLAGS="$(STAGE3_TFLAGS)"; \
15191 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15192 $(HOST_EXPORTS) \
15193 $(POSTSTAGE1_HOST_EXPORTS) \
15194 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15195 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15196 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15197 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15199 cd $(HOST_SUBDIR)/isl || exit 1; \
15200 case $(srcdir) in \
15201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15202 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15204 esac; \
15205 module_srcdir=isl; \
15206 $(SHELL) $$s/$$module_srcdir/configure \
15207 --srcdir=$${topdir}/$$module_srcdir \
15208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15209 --target=${target_alias} \
15210 --with-build-libsubdir=$(HOST_SUBDIR) \
15211 $(STAGE3_CONFIGURE_FLAGS) \
15212 --disable-shared @extra_isl_gmp_configure_flags@
15213 @endif isl-bootstrap
15215 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15216 maybe-configure-stage4-isl:
15217 @if isl-bootstrap
15218 maybe-configure-stage4-isl: configure-stage4-isl
15219 configure-stage4-isl:
15220 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15222 @r=`${PWD_COMMAND}`; export r; \
15223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15224 TFLAGS="$(STAGE4_TFLAGS)"; \
15225 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15226 $(HOST_EXPORTS) \
15227 $(POSTSTAGE1_HOST_EXPORTS) \
15228 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15229 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15230 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15231 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15233 cd $(HOST_SUBDIR)/isl || exit 1; \
15234 case $(srcdir) in \
15235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15236 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15238 esac; \
15239 module_srcdir=isl; \
15240 $(SHELL) $$s/$$module_srcdir/configure \
15241 --srcdir=$${topdir}/$$module_srcdir \
15242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15243 --target=${target_alias} \
15244 --with-build-libsubdir=$(HOST_SUBDIR) \
15245 $(STAGE4_CONFIGURE_FLAGS) \
15246 --disable-shared @extra_isl_gmp_configure_flags@
15247 @endif isl-bootstrap
15249 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15250 maybe-configure-stageprofile-isl:
15251 @if isl-bootstrap
15252 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15253 configure-stageprofile-isl:
15254 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15256 @r=`${PWD_COMMAND}`; export r; \
15257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15258 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15259 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15260 $(HOST_EXPORTS) \
15261 $(POSTSTAGE1_HOST_EXPORTS) \
15262 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15263 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15264 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15265 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15267 cd $(HOST_SUBDIR)/isl || exit 1; \
15268 case $(srcdir) in \
15269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15270 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15272 esac; \
15273 module_srcdir=isl; \
15274 $(SHELL) $$s/$$module_srcdir/configure \
15275 --srcdir=$${topdir}/$$module_srcdir \
15276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15277 --target=${target_alias} \
15278 --with-build-libsubdir=$(HOST_SUBDIR) \
15279 $(STAGEprofile_CONFIGURE_FLAGS) \
15280 --disable-shared @extra_isl_gmp_configure_flags@
15281 @endif isl-bootstrap
15283 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
15284 maybe-configure-stagefeedback-isl:
15285 @if isl-bootstrap
15286 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
15287 configure-stagefeedback-isl:
15288 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15290 @r=`${PWD_COMMAND}`; export r; \
15291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15292 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15293 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15294 $(HOST_EXPORTS) \
15295 $(POSTSTAGE1_HOST_EXPORTS) \
15296 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15297 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15298 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15299 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
15300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15301 cd $(HOST_SUBDIR)/isl || exit 1; \
15302 case $(srcdir) in \
15303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15304 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15306 esac; \
15307 module_srcdir=isl; \
15308 $(SHELL) $$s/$$module_srcdir/configure \
15309 --srcdir=$${topdir}/$$module_srcdir \
15310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15311 --target=${target_alias} \
15312 --with-build-libsubdir=$(HOST_SUBDIR) \
15313 $(STAGEfeedback_CONFIGURE_FLAGS) \
15314 --disable-shared @extra_isl_gmp_configure_flags@
15315 @endif isl-bootstrap
15317 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
15318 maybe-configure-stageautoprofile-isl:
15319 @if isl-bootstrap
15320 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
15321 configure-stageautoprofile-isl:
15322 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15324 @r=`${PWD_COMMAND}`; export r; \
15325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15326 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15327 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15328 $(HOST_EXPORTS) \
15329 $(POSTSTAGE1_HOST_EXPORTS) \
15330 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15331 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15332 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15333 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
15334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15335 cd $(HOST_SUBDIR)/isl || exit 1; \
15336 case $(srcdir) in \
15337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15338 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15340 esac; \
15341 module_srcdir=isl; \
15342 $(SHELL) $$s/$$module_srcdir/configure \
15343 --srcdir=$${topdir}/$$module_srcdir \
15344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15345 --target=${target_alias} \
15346 --with-build-libsubdir=$(HOST_SUBDIR) \
15347 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15348 --disable-shared @extra_isl_gmp_configure_flags@
15349 @endif isl-bootstrap
15351 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
15352 maybe-configure-stageautofeedback-isl:
15353 @if isl-bootstrap
15354 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
15355 configure-stageautofeedback-isl:
15356 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15358 @r=`${PWD_COMMAND}`; export r; \
15359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15360 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15361 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15362 $(HOST_EXPORTS) \
15363 $(POSTSTAGE1_HOST_EXPORTS) \
15364 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15365 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15366 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15367 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
15368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15369 cd $(HOST_SUBDIR)/isl || exit 1; \
15370 case $(srcdir) in \
15371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15372 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15374 esac; \
15375 module_srcdir=isl; \
15376 $(SHELL) $$s/$$module_srcdir/configure \
15377 --srcdir=$${topdir}/$$module_srcdir \
15378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15379 --target=${target_alias} \
15380 --with-build-libsubdir=$(HOST_SUBDIR) \
15381 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15382 --disable-shared @extra_isl_gmp_configure_flags@
15383 @endif isl-bootstrap
15389 .PHONY: all-isl maybe-all-isl
15390 maybe-all-isl:
15391 @if gcc-bootstrap
15392 all-isl: stage_current
15393 @endif gcc-bootstrap
15394 @if isl
15395 TARGET-isl=all
15396 maybe-all-isl: all-isl
15397 all-isl: configure-isl
15398 @r=`${PWD_COMMAND}`; export r; \
15399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15400 $(HOST_EXPORTS) \
15401 (cd $(HOST_SUBDIR)/isl && \
15402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
15403 $(TARGET-isl))
15404 @endif isl
15408 .PHONY: all-stage1-isl maybe-all-stage1-isl
15409 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
15410 maybe-all-stage1-isl:
15411 maybe-clean-stage1-isl:
15412 @if isl-bootstrap
15413 maybe-all-stage1-isl: all-stage1-isl
15414 all-stage1: all-stage1-isl
15415 TARGET-stage1-isl = $(TARGET-isl)
15416 all-stage1-isl: configure-stage1-isl
15417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15418 @r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 TFLAGS="$(STAGE1_TFLAGS)"; \
15421 $(HOST_EXPORTS) \
15422 cd $(HOST_SUBDIR)/isl && \
15424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15425 CFLAGS="$(STAGE1_CFLAGS)" \
15426 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15427 LIBCFLAGS="$(LIBCFLAGS)" \
15428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15431 $(EXTRA_HOST_FLAGS) \
15432 $(STAGE1_FLAGS_TO_PASS) V=1 \
15433 TFLAGS="$(STAGE1_TFLAGS)" \
15434 $(TARGET-stage1-isl)
15436 maybe-clean-stage1-isl: clean-stage1-isl
15437 clean-stage1: clean-stage1-isl
15438 clean-stage1-isl:
15439 @if [ $(current_stage) = stage1 ]; then \
15440 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15441 else \
15442 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
15443 $(MAKE) stage1-start; \
15444 fi; \
15445 cd $(HOST_SUBDIR)/isl && \
15446 $(MAKE) $(EXTRA_HOST_FLAGS) \
15447 $(STAGE1_FLAGS_TO_PASS) V=1 clean
15448 @endif isl-bootstrap
15451 .PHONY: all-stage2-isl maybe-all-stage2-isl
15452 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
15453 maybe-all-stage2-isl:
15454 maybe-clean-stage2-isl:
15455 @if isl-bootstrap
15456 maybe-all-stage2-isl: all-stage2-isl
15457 all-stage2: all-stage2-isl
15458 TARGET-stage2-isl = $(TARGET-isl)
15459 all-stage2-isl: configure-stage2-isl
15460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15461 @r=`${PWD_COMMAND}`; export r; \
15462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15463 TFLAGS="$(STAGE2_TFLAGS)"; \
15464 $(HOST_EXPORTS) \
15465 $(POSTSTAGE1_HOST_EXPORTS) \
15466 cd $(HOST_SUBDIR)/isl && \
15468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15469 CFLAGS="$(STAGE2_CFLAGS)" \
15470 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15471 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15476 TFLAGS="$(STAGE2_TFLAGS)" \
15477 $(TARGET-stage2-isl)
15479 maybe-clean-stage2-isl: clean-stage2-isl
15480 clean-stage2: clean-stage2-isl
15481 clean-stage2-isl:
15482 @if [ $(current_stage) = stage2 ]; then \
15483 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15484 else \
15485 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
15486 $(MAKE) stage2-start; \
15487 fi; \
15488 cd $(HOST_SUBDIR)/isl && \
15489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15490 @endif isl-bootstrap
15493 .PHONY: all-stage3-isl maybe-all-stage3-isl
15494 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
15495 maybe-all-stage3-isl:
15496 maybe-clean-stage3-isl:
15497 @if isl-bootstrap
15498 maybe-all-stage3-isl: all-stage3-isl
15499 all-stage3: all-stage3-isl
15500 TARGET-stage3-isl = $(TARGET-isl)
15501 all-stage3-isl: configure-stage3-isl
15502 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15503 @r=`${PWD_COMMAND}`; export r; \
15504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15505 TFLAGS="$(STAGE3_TFLAGS)"; \
15506 $(HOST_EXPORTS) \
15507 $(POSTSTAGE1_HOST_EXPORTS) \
15508 cd $(HOST_SUBDIR)/isl && \
15510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15511 CFLAGS="$(STAGE3_CFLAGS)" \
15512 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15513 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15518 TFLAGS="$(STAGE3_TFLAGS)" \
15519 $(TARGET-stage3-isl)
15521 maybe-clean-stage3-isl: clean-stage3-isl
15522 clean-stage3: clean-stage3-isl
15523 clean-stage3-isl:
15524 @if [ $(current_stage) = stage3 ]; then \
15525 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15526 else \
15527 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
15528 $(MAKE) stage3-start; \
15529 fi; \
15530 cd $(HOST_SUBDIR)/isl && \
15531 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15532 @endif isl-bootstrap
15535 .PHONY: all-stage4-isl maybe-all-stage4-isl
15536 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
15537 maybe-all-stage4-isl:
15538 maybe-clean-stage4-isl:
15539 @if isl-bootstrap
15540 maybe-all-stage4-isl: all-stage4-isl
15541 all-stage4: all-stage4-isl
15542 TARGET-stage4-isl = $(TARGET-isl)
15543 all-stage4-isl: configure-stage4-isl
15544 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15545 @r=`${PWD_COMMAND}`; export r; \
15546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15547 TFLAGS="$(STAGE4_TFLAGS)"; \
15548 $(HOST_EXPORTS) \
15549 $(POSTSTAGE1_HOST_EXPORTS) \
15550 cd $(HOST_SUBDIR)/isl && \
15552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15553 CFLAGS="$(STAGE4_CFLAGS)" \
15554 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15555 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15560 TFLAGS="$(STAGE4_TFLAGS)" \
15561 $(TARGET-stage4-isl)
15563 maybe-clean-stage4-isl: clean-stage4-isl
15564 clean-stage4: clean-stage4-isl
15565 clean-stage4-isl:
15566 @if [ $(current_stage) = stage4 ]; then \
15567 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15568 else \
15569 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
15570 $(MAKE) stage4-start; \
15571 fi; \
15572 cd $(HOST_SUBDIR)/isl && \
15573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15574 @endif isl-bootstrap
15577 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
15578 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
15579 maybe-all-stageprofile-isl:
15580 maybe-clean-stageprofile-isl:
15581 @if isl-bootstrap
15582 maybe-all-stageprofile-isl: all-stageprofile-isl
15583 all-stageprofile: all-stageprofile-isl
15584 TARGET-stageprofile-isl = $(TARGET-isl)
15585 all-stageprofile-isl: configure-stageprofile-isl
15586 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15587 @r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15590 $(HOST_EXPORTS) \
15591 $(POSTSTAGE1_HOST_EXPORTS) \
15592 cd $(HOST_SUBDIR)/isl && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15595 CFLAGS="$(STAGEprofile_CFLAGS)" \
15596 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15597 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15602 TFLAGS="$(STAGEprofile_TFLAGS)" \
15603 $(TARGET-stageprofile-isl)
15605 maybe-clean-stageprofile-isl: clean-stageprofile-isl
15606 clean-stageprofile: clean-stageprofile-isl
15607 clean-stageprofile-isl:
15608 @if [ $(current_stage) = stageprofile ]; then \
15609 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15610 else \
15611 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
15612 $(MAKE) stageprofile-start; \
15613 fi; \
15614 cd $(HOST_SUBDIR)/isl && \
15615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15616 @endif isl-bootstrap
15619 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
15620 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
15621 maybe-all-stagefeedback-isl:
15622 maybe-clean-stagefeedback-isl:
15623 @if isl-bootstrap
15624 maybe-all-stagefeedback-isl: all-stagefeedback-isl
15625 all-stagefeedback: all-stagefeedback-isl
15626 TARGET-stagefeedback-isl = $(TARGET-isl)
15627 all-stagefeedback-isl: configure-stagefeedback-isl
15628 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15629 @r=`${PWD_COMMAND}`; export r; \
15630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15631 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15632 $(HOST_EXPORTS) \
15633 $(POSTSTAGE1_HOST_EXPORTS) \
15634 cd $(HOST_SUBDIR)/isl && \
15636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15637 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15638 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15639 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15643 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15644 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15645 $(TARGET-stagefeedback-isl)
15647 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
15648 clean-stagefeedback: clean-stagefeedback-isl
15649 clean-stagefeedback-isl:
15650 @if [ $(current_stage) = stagefeedback ]; then \
15651 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15652 else \
15653 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
15654 $(MAKE) stagefeedback-start; \
15655 fi; \
15656 cd $(HOST_SUBDIR)/isl && \
15657 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15658 @endif isl-bootstrap
15661 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
15662 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
15663 maybe-all-stageautoprofile-isl:
15664 maybe-clean-stageautoprofile-isl:
15665 @if isl-bootstrap
15666 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
15667 all-stageautoprofile: all-stageautoprofile-isl
15668 TARGET-stageautoprofile-isl = $(TARGET-isl)
15669 all-stageautoprofile-isl: configure-stageautoprofile-isl
15670 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15671 @r=`${PWD_COMMAND}`; export r; \
15672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15673 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15674 $(HOST_EXPORTS) \
15675 $(POSTSTAGE1_HOST_EXPORTS) \
15676 cd $(HOST_SUBDIR)/isl && \
15677 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15679 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15680 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15681 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15686 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15687 $(TARGET-stageautoprofile-isl)
15689 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
15690 clean-stageautoprofile: clean-stageautoprofile-isl
15691 clean-stageautoprofile-isl:
15692 @if [ $(current_stage) = stageautoprofile ]; then \
15693 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15694 else \
15695 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
15696 $(MAKE) stageautoprofile-start; \
15697 fi; \
15698 cd $(HOST_SUBDIR)/isl && \
15699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15700 @endif isl-bootstrap
15703 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
15704 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
15705 maybe-all-stageautofeedback-isl:
15706 maybe-clean-stageautofeedback-isl:
15707 @if isl-bootstrap
15708 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
15709 all-stageautofeedback: all-stageautofeedback-isl
15710 TARGET-stageautofeedback-isl = $(TARGET-isl)
15711 all-stageautofeedback-isl: configure-stageautofeedback-isl
15712 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15713 @r=`${PWD_COMMAND}`; export r; \
15714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15716 $(HOST_EXPORTS) \
15717 $(POSTSTAGE1_HOST_EXPORTS) \
15718 cd $(HOST_SUBDIR)/isl && \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15721 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15722 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15723 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15727 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15728 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15729 $(TARGET-stageautofeedback-isl)
15731 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
15732 clean-stageautofeedback: clean-stageautofeedback-isl
15733 clean-stageautofeedback-isl:
15734 @if [ $(current_stage) = stageautofeedback ]; then \
15735 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15736 else \
15737 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
15738 $(MAKE) stageautofeedback-start; \
15739 fi; \
15740 cd $(HOST_SUBDIR)/isl && \
15741 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15742 @endif isl-bootstrap
15748 .PHONY: check-isl maybe-check-isl
15749 maybe-check-isl:
15750 @if isl
15751 maybe-check-isl: check-isl
15753 check-isl:
15754 @: $(MAKE); $(unstage)
15755 @r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15758 (cd $(HOST_SUBDIR)/isl && \
15759 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
15761 @endif isl
15763 .PHONY: install-isl maybe-install-isl
15764 maybe-install-isl:
15765 @if isl
15766 maybe-install-isl: install-isl
15768 install-isl:
15770 @endif isl
15772 .PHONY: install-strip-isl maybe-install-strip-isl
15773 maybe-install-strip-isl:
15774 @if isl
15775 maybe-install-strip-isl: install-strip-isl
15777 install-strip-isl:
15779 @endif isl
15781 # Other targets (info, dvi, pdf, etc.)
15783 .PHONY: maybe-info-isl info-isl
15784 maybe-info-isl:
15785 @if isl
15786 maybe-info-isl: info-isl
15788 info-isl: \
15789 configure-isl
15790 @[ -f ./isl/Makefile ] || exit 0; \
15791 r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 $(HOST_EXPORTS) \
15794 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15796 done; \
15797 echo "Doing info in isl"; \
15798 (cd $(HOST_SUBDIR)/isl && \
15799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15801 "RANLIB=$${RANLIB}" \
15802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15803 info) \
15804 || exit 1
15806 @endif isl
15808 .PHONY: maybe-dvi-isl dvi-isl
15809 maybe-dvi-isl:
15810 @if isl
15811 maybe-dvi-isl: dvi-isl
15813 dvi-isl: \
15814 configure-isl
15815 @[ -f ./isl/Makefile ] || exit 0; \
15816 r=`${PWD_COMMAND}`; export r; \
15817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15818 $(HOST_EXPORTS) \
15819 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15821 done; \
15822 echo "Doing dvi in isl"; \
15823 (cd $(HOST_SUBDIR)/isl && \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15826 "RANLIB=$${RANLIB}" \
15827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15828 dvi) \
15829 || exit 1
15831 @endif isl
15833 .PHONY: maybe-pdf-isl pdf-isl
15834 maybe-pdf-isl:
15835 @if isl
15836 maybe-pdf-isl: pdf-isl
15838 pdf-isl: \
15839 configure-isl
15840 @[ -f ./isl/Makefile ] || exit 0; \
15841 r=`${PWD_COMMAND}`; export r; \
15842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15843 $(HOST_EXPORTS) \
15844 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15846 done; \
15847 echo "Doing pdf in isl"; \
15848 (cd $(HOST_SUBDIR)/isl && \
15849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15851 "RANLIB=$${RANLIB}" \
15852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15853 pdf) \
15854 || exit 1
15856 @endif isl
15858 .PHONY: maybe-html-isl html-isl
15859 maybe-html-isl:
15860 @if isl
15861 maybe-html-isl: html-isl
15863 html-isl: \
15864 configure-isl
15865 @[ -f ./isl/Makefile ] || exit 0; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868 $(HOST_EXPORTS) \
15869 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15871 done; \
15872 echo "Doing html in isl"; \
15873 (cd $(HOST_SUBDIR)/isl && \
15874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15876 "RANLIB=$${RANLIB}" \
15877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15878 html) \
15879 || exit 1
15881 @endif isl
15883 .PHONY: maybe-TAGS-isl TAGS-isl
15884 maybe-TAGS-isl:
15885 @if isl
15886 maybe-TAGS-isl: TAGS-isl
15888 TAGS-isl: \
15889 configure-isl
15890 @[ -f ./isl/Makefile ] || exit 0; \
15891 r=`${PWD_COMMAND}`; export r; \
15892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15893 $(HOST_EXPORTS) \
15894 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15896 done; \
15897 echo "Doing TAGS in isl"; \
15898 (cd $(HOST_SUBDIR)/isl && \
15899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15901 "RANLIB=$${RANLIB}" \
15902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15903 TAGS) \
15904 || exit 1
15906 @endif isl
15908 .PHONY: maybe-install-info-isl install-info-isl
15909 maybe-install-info-isl:
15910 @if isl
15911 maybe-install-info-isl: install-info-isl
15913 install-info-isl: \
15914 configure-isl \
15915 info-isl
15916 @[ -f ./isl/Makefile ] || exit 0; \
15917 r=`${PWD_COMMAND}`; export r; \
15918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15919 $(HOST_EXPORTS) \
15920 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15922 done; \
15923 echo "Doing install-info in isl"; \
15924 (cd $(HOST_SUBDIR)/isl && \
15925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15927 "RANLIB=$${RANLIB}" \
15928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15929 install-info) \
15930 || exit 1
15932 @endif isl
15934 .PHONY: maybe-install-pdf-isl install-pdf-isl
15935 maybe-install-pdf-isl:
15936 @if isl
15937 maybe-install-pdf-isl: install-pdf-isl
15939 install-pdf-isl: \
15940 configure-isl \
15941 pdf-isl
15942 @[ -f ./isl/Makefile ] || exit 0; \
15943 r=`${PWD_COMMAND}`; export r; \
15944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15945 $(HOST_EXPORTS) \
15946 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15948 done; \
15949 echo "Doing install-pdf in isl"; \
15950 (cd $(HOST_SUBDIR)/isl && \
15951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15953 "RANLIB=$${RANLIB}" \
15954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15955 install-pdf) \
15956 || exit 1
15958 @endif isl
15960 .PHONY: maybe-install-html-isl install-html-isl
15961 maybe-install-html-isl:
15962 @if isl
15963 maybe-install-html-isl: install-html-isl
15965 install-html-isl: \
15966 configure-isl \
15967 html-isl
15968 @[ -f ./isl/Makefile ] || exit 0; \
15969 r=`${PWD_COMMAND}`; export r; \
15970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15971 $(HOST_EXPORTS) \
15972 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15974 done; \
15975 echo "Doing install-html in isl"; \
15976 (cd $(HOST_SUBDIR)/isl && \
15977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15979 "RANLIB=$${RANLIB}" \
15980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15981 install-html) \
15982 || exit 1
15984 @endif isl
15986 .PHONY: maybe-installcheck-isl installcheck-isl
15987 maybe-installcheck-isl:
15988 @if isl
15989 maybe-installcheck-isl: installcheck-isl
15991 installcheck-isl: \
15992 configure-isl
15993 @[ -f ./isl/Makefile ] || exit 0; \
15994 r=`${PWD_COMMAND}`; export r; \
15995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15996 $(HOST_EXPORTS) \
15997 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15999 done; \
16000 echo "Doing installcheck in isl"; \
16001 (cd $(HOST_SUBDIR)/isl && \
16002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16004 "RANLIB=$${RANLIB}" \
16005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16006 installcheck) \
16007 || exit 1
16009 @endif isl
16011 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16012 maybe-mostlyclean-isl:
16013 @if isl
16014 maybe-mostlyclean-isl: mostlyclean-isl
16016 mostlyclean-isl:
16017 @[ -f ./isl/Makefile ] || exit 0; \
16018 r=`${PWD_COMMAND}`; export r; \
16019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16020 $(HOST_EXPORTS) \
16021 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16023 done; \
16024 echo "Doing mostlyclean in isl"; \
16025 (cd $(HOST_SUBDIR)/isl && \
16026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16028 "RANLIB=$${RANLIB}" \
16029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16030 mostlyclean) \
16031 || exit 1
16033 @endif isl
16035 .PHONY: maybe-clean-isl clean-isl
16036 maybe-clean-isl:
16037 @if isl
16038 maybe-clean-isl: clean-isl
16040 clean-isl:
16041 @[ -f ./isl/Makefile ] || exit 0; \
16042 r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 $(HOST_EXPORTS) \
16045 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16047 done; \
16048 echo "Doing clean in isl"; \
16049 (cd $(HOST_SUBDIR)/isl && \
16050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16052 "RANLIB=$${RANLIB}" \
16053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16054 clean) \
16055 || exit 1
16057 @endif isl
16059 .PHONY: maybe-distclean-isl distclean-isl
16060 maybe-distclean-isl:
16061 @if isl
16062 maybe-distclean-isl: distclean-isl
16064 distclean-isl:
16065 @[ -f ./isl/Makefile ] || exit 0; \
16066 r=`${PWD_COMMAND}`; export r; \
16067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16068 $(HOST_EXPORTS) \
16069 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16071 done; \
16072 echo "Doing distclean in isl"; \
16073 (cd $(HOST_SUBDIR)/isl && \
16074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16076 "RANLIB=$${RANLIB}" \
16077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16078 distclean) \
16079 || exit 1
16081 @endif isl
16083 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16084 maybe-maintainer-clean-isl:
16085 @if isl
16086 maybe-maintainer-clean-isl: maintainer-clean-isl
16088 maintainer-clean-isl:
16089 @[ -f ./isl/Makefile ] || exit 0; \
16090 r=`${PWD_COMMAND}`; export r; \
16091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16092 $(HOST_EXPORTS) \
16093 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16095 done; \
16096 echo "Doing maintainer-clean in isl"; \
16097 (cd $(HOST_SUBDIR)/isl && \
16098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16100 "RANLIB=$${RANLIB}" \
16101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16102 maintainer-clean) \
16103 || exit 1
16105 @endif isl
16109 .PHONY: configure-libelf maybe-configure-libelf
16110 maybe-configure-libelf:
16111 @if gcc-bootstrap
16112 configure-libelf: stage_current
16113 @endif gcc-bootstrap
16114 @if libelf
16115 maybe-configure-libelf: configure-libelf
16116 configure-libelf:
16117 @r=`${PWD_COMMAND}`; export r; \
16118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16119 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16121 $(HOST_EXPORTS) \
16122 echo Configuring in $(HOST_SUBDIR)/libelf; \
16123 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16124 case $(srcdir) in \
16125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16126 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16128 esac; \
16129 module_srcdir=libelf; \
16130 $(SHELL) \
16131 $$s/$$module_srcdir/configure \
16132 --srcdir=$${topdir}/$$module_srcdir \
16133 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16134 --target=${target_alias} --disable-shared \
16135 || exit 1
16136 @endif libelf
16140 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16141 maybe-configure-stage1-libelf:
16142 @if libelf-bootstrap
16143 maybe-configure-stage1-libelf: configure-stage1-libelf
16144 configure-stage1-libelf:
16145 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16147 @r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 TFLAGS="$(STAGE1_TFLAGS)"; \
16150 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16151 $(HOST_EXPORTS) \
16152 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16153 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16154 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16155 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16157 cd $(HOST_SUBDIR)/libelf || exit 1; \
16158 case $(srcdir) in \
16159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16160 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16162 esac; \
16163 module_srcdir=libelf; \
16164 $(SHELL) $$s/$$module_srcdir/configure \
16165 --srcdir=$${topdir}/$$module_srcdir \
16166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16167 --target=${target_alias} \
16169 $(STAGE1_CONFIGURE_FLAGS) \
16170 --disable-shared
16171 @endif libelf-bootstrap
16173 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16174 maybe-configure-stage2-libelf:
16175 @if libelf-bootstrap
16176 maybe-configure-stage2-libelf: configure-stage2-libelf
16177 configure-stage2-libelf:
16178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16180 @r=`${PWD_COMMAND}`; export r; \
16181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16182 TFLAGS="$(STAGE2_TFLAGS)"; \
16183 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16184 $(HOST_EXPORTS) \
16185 $(POSTSTAGE1_HOST_EXPORTS) \
16186 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16187 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16188 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16189 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16191 cd $(HOST_SUBDIR)/libelf || exit 1; \
16192 case $(srcdir) in \
16193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16194 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16196 esac; \
16197 module_srcdir=libelf; \
16198 $(SHELL) $$s/$$module_srcdir/configure \
16199 --srcdir=$${topdir}/$$module_srcdir \
16200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16201 --target=${target_alias} \
16202 --with-build-libsubdir=$(HOST_SUBDIR) \
16203 $(STAGE2_CONFIGURE_FLAGS) \
16204 --disable-shared
16205 @endif libelf-bootstrap
16207 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16208 maybe-configure-stage3-libelf:
16209 @if libelf-bootstrap
16210 maybe-configure-stage3-libelf: configure-stage3-libelf
16211 configure-stage3-libelf:
16212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16214 @r=`${PWD_COMMAND}`; export r; \
16215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16216 TFLAGS="$(STAGE3_TFLAGS)"; \
16217 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16218 $(HOST_EXPORTS) \
16219 $(POSTSTAGE1_HOST_EXPORTS) \
16220 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16221 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16222 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16223 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16225 cd $(HOST_SUBDIR)/libelf || exit 1; \
16226 case $(srcdir) in \
16227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16228 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16230 esac; \
16231 module_srcdir=libelf; \
16232 $(SHELL) $$s/$$module_srcdir/configure \
16233 --srcdir=$${topdir}/$$module_srcdir \
16234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16235 --target=${target_alias} \
16236 --with-build-libsubdir=$(HOST_SUBDIR) \
16237 $(STAGE3_CONFIGURE_FLAGS) \
16238 --disable-shared
16239 @endif libelf-bootstrap
16241 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
16242 maybe-configure-stage4-libelf:
16243 @if libelf-bootstrap
16244 maybe-configure-stage4-libelf: configure-stage4-libelf
16245 configure-stage4-libelf:
16246 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16248 @r=`${PWD_COMMAND}`; export r; \
16249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16250 TFLAGS="$(STAGE4_TFLAGS)"; \
16251 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16252 $(HOST_EXPORTS) \
16253 $(POSTSTAGE1_HOST_EXPORTS) \
16254 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16255 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16256 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16257 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
16258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16259 cd $(HOST_SUBDIR)/libelf || exit 1; \
16260 case $(srcdir) in \
16261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16262 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16264 esac; \
16265 module_srcdir=libelf; \
16266 $(SHELL) $$s/$$module_srcdir/configure \
16267 --srcdir=$${topdir}/$$module_srcdir \
16268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16269 --target=${target_alias} \
16270 --with-build-libsubdir=$(HOST_SUBDIR) \
16271 $(STAGE4_CONFIGURE_FLAGS) \
16272 --disable-shared
16273 @endif libelf-bootstrap
16275 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
16276 maybe-configure-stageprofile-libelf:
16277 @if libelf-bootstrap
16278 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
16279 configure-stageprofile-libelf:
16280 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16282 @r=`${PWD_COMMAND}`; export r; \
16283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16285 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16286 $(HOST_EXPORTS) \
16287 $(POSTSTAGE1_HOST_EXPORTS) \
16288 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16289 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16290 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16291 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
16292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16293 cd $(HOST_SUBDIR)/libelf || exit 1; \
16294 case $(srcdir) in \
16295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16296 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16298 esac; \
16299 module_srcdir=libelf; \
16300 $(SHELL) $$s/$$module_srcdir/configure \
16301 --srcdir=$${topdir}/$$module_srcdir \
16302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16303 --target=${target_alias} \
16304 --with-build-libsubdir=$(HOST_SUBDIR) \
16305 $(STAGEprofile_CONFIGURE_FLAGS) \
16306 --disable-shared
16307 @endif libelf-bootstrap
16309 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
16310 maybe-configure-stagefeedback-libelf:
16311 @if libelf-bootstrap
16312 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
16313 configure-stagefeedback-libelf:
16314 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16316 @r=`${PWD_COMMAND}`; export r; \
16317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16318 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16319 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16320 $(HOST_EXPORTS) \
16321 $(POSTSTAGE1_HOST_EXPORTS) \
16322 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16323 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16324 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16325 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
16326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16327 cd $(HOST_SUBDIR)/libelf || exit 1; \
16328 case $(srcdir) in \
16329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16330 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16332 esac; \
16333 module_srcdir=libelf; \
16334 $(SHELL) $$s/$$module_srcdir/configure \
16335 --srcdir=$${topdir}/$$module_srcdir \
16336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16337 --target=${target_alias} \
16338 --with-build-libsubdir=$(HOST_SUBDIR) \
16339 $(STAGEfeedback_CONFIGURE_FLAGS) \
16340 --disable-shared
16341 @endif libelf-bootstrap
16343 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
16344 maybe-configure-stageautoprofile-libelf:
16345 @if libelf-bootstrap
16346 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
16347 configure-stageautoprofile-libelf:
16348 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16350 @r=`${PWD_COMMAND}`; export r; \
16351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16352 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16353 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16354 $(HOST_EXPORTS) \
16355 $(POSTSTAGE1_HOST_EXPORTS) \
16356 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16357 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16358 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16359 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
16360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16361 cd $(HOST_SUBDIR)/libelf || exit 1; \
16362 case $(srcdir) in \
16363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16364 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16366 esac; \
16367 module_srcdir=libelf; \
16368 $(SHELL) $$s/$$module_srcdir/configure \
16369 --srcdir=$${topdir}/$$module_srcdir \
16370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16371 --target=${target_alias} \
16372 --with-build-libsubdir=$(HOST_SUBDIR) \
16373 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16374 --disable-shared
16375 @endif libelf-bootstrap
16377 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
16378 maybe-configure-stageautofeedback-libelf:
16379 @if libelf-bootstrap
16380 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
16381 configure-stageautofeedback-libelf:
16382 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16384 @r=`${PWD_COMMAND}`; export r; \
16385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16386 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16387 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16388 $(HOST_EXPORTS) \
16389 $(POSTSTAGE1_HOST_EXPORTS) \
16390 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16391 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16392 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16393 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
16394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16395 cd $(HOST_SUBDIR)/libelf || exit 1; \
16396 case $(srcdir) in \
16397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16398 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16400 esac; \
16401 module_srcdir=libelf; \
16402 $(SHELL) $$s/$$module_srcdir/configure \
16403 --srcdir=$${topdir}/$$module_srcdir \
16404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16405 --target=${target_alias} \
16406 --with-build-libsubdir=$(HOST_SUBDIR) \
16407 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16408 --disable-shared
16409 @endif libelf-bootstrap
16415 .PHONY: all-libelf maybe-all-libelf
16416 maybe-all-libelf:
16417 @if gcc-bootstrap
16418 all-libelf: stage_current
16419 @endif gcc-bootstrap
16420 @if libelf
16421 TARGET-libelf=all
16422 maybe-all-libelf: all-libelf
16423 all-libelf: configure-libelf
16424 @r=`${PWD_COMMAND}`; export r; \
16425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16426 $(HOST_EXPORTS) \
16427 (cd $(HOST_SUBDIR)/libelf && \
16428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16429 $(TARGET-libelf))
16430 @endif libelf
16434 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
16435 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
16436 maybe-all-stage1-libelf:
16437 maybe-clean-stage1-libelf:
16438 @if libelf-bootstrap
16439 maybe-all-stage1-libelf: all-stage1-libelf
16440 all-stage1: all-stage1-libelf
16441 TARGET-stage1-libelf = $(TARGET-libelf)
16442 all-stage1-libelf: configure-stage1-libelf
16443 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16444 @r=`${PWD_COMMAND}`; export r; \
16445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446 TFLAGS="$(STAGE1_TFLAGS)"; \
16447 $(HOST_EXPORTS) \
16448 cd $(HOST_SUBDIR)/libelf && \
16450 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16451 CFLAGS="$(STAGE1_CFLAGS)" \
16452 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16453 LIBCFLAGS="$(LIBCFLAGS)" \
16454 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16455 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16456 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16457 $(EXTRA_HOST_FLAGS) \
16458 $(STAGE1_FLAGS_TO_PASS) \
16459 TFLAGS="$(STAGE1_TFLAGS)" \
16460 $(TARGET-stage1-libelf)
16462 maybe-clean-stage1-libelf: clean-stage1-libelf
16463 clean-stage1: clean-stage1-libelf
16464 clean-stage1-libelf:
16465 @if [ $(current_stage) = stage1 ]; then \
16466 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16467 else \
16468 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
16469 $(MAKE) stage1-start; \
16470 fi; \
16471 cd $(HOST_SUBDIR)/libelf && \
16472 $(MAKE) $(EXTRA_HOST_FLAGS) \
16473 $(STAGE1_FLAGS_TO_PASS) clean
16474 @endif libelf-bootstrap
16477 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
16478 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
16479 maybe-all-stage2-libelf:
16480 maybe-clean-stage2-libelf:
16481 @if libelf-bootstrap
16482 maybe-all-stage2-libelf: all-stage2-libelf
16483 all-stage2: all-stage2-libelf
16484 TARGET-stage2-libelf = $(TARGET-libelf)
16485 all-stage2-libelf: configure-stage2-libelf
16486 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16487 @r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 TFLAGS="$(STAGE2_TFLAGS)"; \
16490 $(HOST_EXPORTS) \
16491 $(POSTSTAGE1_HOST_EXPORTS) \
16492 cd $(HOST_SUBDIR)/libelf && \
16494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16495 CFLAGS="$(STAGE2_CFLAGS)" \
16496 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16497 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16502 TFLAGS="$(STAGE2_TFLAGS)" \
16503 $(TARGET-stage2-libelf)
16505 maybe-clean-stage2-libelf: clean-stage2-libelf
16506 clean-stage2: clean-stage2-libelf
16507 clean-stage2-libelf:
16508 @if [ $(current_stage) = stage2 ]; then \
16509 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16510 else \
16511 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
16512 $(MAKE) stage2-start; \
16513 fi; \
16514 cd $(HOST_SUBDIR)/libelf && \
16515 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16516 @endif libelf-bootstrap
16519 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
16520 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
16521 maybe-all-stage3-libelf:
16522 maybe-clean-stage3-libelf:
16523 @if libelf-bootstrap
16524 maybe-all-stage3-libelf: all-stage3-libelf
16525 all-stage3: all-stage3-libelf
16526 TARGET-stage3-libelf = $(TARGET-libelf)
16527 all-stage3-libelf: configure-stage3-libelf
16528 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16529 @r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531 TFLAGS="$(STAGE3_TFLAGS)"; \
16532 $(HOST_EXPORTS) \
16533 $(POSTSTAGE1_HOST_EXPORTS) \
16534 cd $(HOST_SUBDIR)/libelf && \
16536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16537 CFLAGS="$(STAGE3_CFLAGS)" \
16538 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16539 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16544 TFLAGS="$(STAGE3_TFLAGS)" \
16545 $(TARGET-stage3-libelf)
16547 maybe-clean-stage3-libelf: clean-stage3-libelf
16548 clean-stage3: clean-stage3-libelf
16549 clean-stage3-libelf:
16550 @if [ $(current_stage) = stage3 ]; then \
16551 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16552 else \
16553 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
16554 $(MAKE) stage3-start; \
16555 fi; \
16556 cd $(HOST_SUBDIR)/libelf && \
16557 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16558 @endif libelf-bootstrap
16561 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
16562 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
16563 maybe-all-stage4-libelf:
16564 maybe-clean-stage4-libelf:
16565 @if libelf-bootstrap
16566 maybe-all-stage4-libelf: all-stage4-libelf
16567 all-stage4: all-stage4-libelf
16568 TARGET-stage4-libelf = $(TARGET-libelf)
16569 all-stage4-libelf: configure-stage4-libelf
16570 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16571 @r=`${PWD_COMMAND}`; export r; \
16572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16573 TFLAGS="$(STAGE4_TFLAGS)"; \
16574 $(HOST_EXPORTS) \
16575 $(POSTSTAGE1_HOST_EXPORTS) \
16576 cd $(HOST_SUBDIR)/libelf && \
16578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16579 CFLAGS="$(STAGE4_CFLAGS)" \
16580 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16581 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16586 TFLAGS="$(STAGE4_TFLAGS)" \
16587 $(TARGET-stage4-libelf)
16589 maybe-clean-stage4-libelf: clean-stage4-libelf
16590 clean-stage4: clean-stage4-libelf
16591 clean-stage4-libelf:
16592 @if [ $(current_stage) = stage4 ]; then \
16593 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16594 else \
16595 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
16596 $(MAKE) stage4-start; \
16597 fi; \
16598 cd $(HOST_SUBDIR)/libelf && \
16599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16600 @endif libelf-bootstrap
16603 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
16604 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
16605 maybe-all-stageprofile-libelf:
16606 maybe-clean-stageprofile-libelf:
16607 @if libelf-bootstrap
16608 maybe-all-stageprofile-libelf: all-stageprofile-libelf
16609 all-stageprofile: all-stageprofile-libelf
16610 TARGET-stageprofile-libelf = $(TARGET-libelf)
16611 all-stageprofile-libelf: configure-stageprofile-libelf
16612 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16613 @r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16616 $(HOST_EXPORTS) \
16617 $(POSTSTAGE1_HOST_EXPORTS) \
16618 cd $(HOST_SUBDIR)/libelf && \
16620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16621 CFLAGS="$(STAGEprofile_CFLAGS)" \
16622 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16623 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16628 TFLAGS="$(STAGEprofile_TFLAGS)" \
16629 $(TARGET-stageprofile-libelf)
16631 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
16632 clean-stageprofile: clean-stageprofile-libelf
16633 clean-stageprofile-libelf:
16634 @if [ $(current_stage) = stageprofile ]; then \
16635 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16636 else \
16637 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
16638 $(MAKE) stageprofile-start; \
16639 fi; \
16640 cd $(HOST_SUBDIR)/libelf && \
16641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16642 @endif libelf-bootstrap
16645 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
16646 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
16647 maybe-all-stagefeedback-libelf:
16648 maybe-clean-stagefeedback-libelf:
16649 @if libelf-bootstrap
16650 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
16651 all-stagefeedback: all-stagefeedback-libelf
16652 TARGET-stagefeedback-libelf = $(TARGET-libelf)
16653 all-stagefeedback-libelf: configure-stagefeedback-libelf
16654 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16655 @r=`${PWD_COMMAND}`; export r; \
16656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16657 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16658 $(HOST_EXPORTS) \
16659 $(POSTSTAGE1_HOST_EXPORTS) \
16660 cd $(HOST_SUBDIR)/libelf && \
16662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16663 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16664 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16665 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16670 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16671 $(TARGET-stagefeedback-libelf)
16673 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
16674 clean-stagefeedback: clean-stagefeedback-libelf
16675 clean-stagefeedback-libelf:
16676 @if [ $(current_stage) = stagefeedback ]; then \
16677 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16678 else \
16679 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
16680 $(MAKE) stagefeedback-start; \
16681 fi; \
16682 cd $(HOST_SUBDIR)/libelf && \
16683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16684 @endif libelf-bootstrap
16687 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
16688 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
16689 maybe-all-stageautoprofile-libelf:
16690 maybe-clean-stageautoprofile-libelf:
16691 @if libelf-bootstrap
16692 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
16693 all-stageautoprofile: all-stageautoprofile-libelf
16694 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
16695 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
16696 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16697 @r=`${PWD_COMMAND}`; export r; \
16698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16700 $(HOST_EXPORTS) \
16701 $(POSTSTAGE1_HOST_EXPORTS) \
16702 cd $(HOST_SUBDIR)/libelf && \
16703 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16705 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16706 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16707 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16712 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16713 $(TARGET-stageautoprofile-libelf)
16715 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
16716 clean-stageautoprofile: clean-stageautoprofile-libelf
16717 clean-stageautoprofile-libelf:
16718 @if [ $(current_stage) = stageautoprofile ]; then \
16719 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16720 else \
16721 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
16722 $(MAKE) stageautoprofile-start; \
16723 fi; \
16724 cd $(HOST_SUBDIR)/libelf && \
16725 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16726 @endif libelf-bootstrap
16729 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
16730 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
16731 maybe-all-stageautofeedback-libelf:
16732 maybe-clean-stageautofeedback-libelf:
16733 @if libelf-bootstrap
16734 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
16735 all-stageautofeedback: all-stageautofeedback-libelf
16736 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
16737 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
16738 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16739 @r=`${PWD_COMMAND}`; export r; \
16740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16741 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16742 $(HOST_EXPORTS) \
16743 $(POSTSTAGE1_HOST_EXPORTS) \
16744 cd $(HOST_SUBDIR)/libelf && \
16746 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16747 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16748 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16749 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16753 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16754 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16755 $(TARGET-stageautofeedback-libelf)
16757 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
16758 clean-stageautofeedback: clean-stageautofeedback-libelf
16759 clean-stageautofeedback-libelf:
16760 @if [ $(current_stage) = stageautofeedback ]; then \
16761 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16762 else \
16763 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
16764 $(MAKE) stageautofeedback-start; \
16765 fi; \
16766 cd $(HOST_SUBDIR)/libelf && \
16767 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16768 @endif libelf-bootstrap
16774 .PHONY: check-libelf maybe-check-libelf
16775 maybe-check-libelf:
16776 @if libelf
16777 maybe-check-libelf: check-libelf
16779 check-libelf:
16780 @: $(MAKE); $(unstage)
16781 @r=`${PWD_COMMAND}`; export r; \
16782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16783 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16784 (cd $(HOST_SUBDIR)/libelf && \
16785 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16787 @endif libelf
16789 .PHONY: install-libelf maybe-install-libelf
16790 maybe-install-libelf:
16791 @if libelf
16792 maybe-install-libelf: install-libelf
16794 install-libelf:
16796 @endif libelf
16798 .PHONY: install-strip-libelf maybe-install-strip-libelf
16799 maybe-install-strip-libelf:
16800 @if libelf
16801 maybe-install-strip-libelf: install-strip-libelf
16803 install-strip-libelf:
16805 @endif libelf
16807 # Other targets (info, dvi, pdf, etc.)
16809 .PHONY: maybe-info-libelf info-libelf
16810 maybe-info-libelf:
16811 @if libelf
16812 maybe-info-libelf: info-libelf
16814 info-libelf: \
16815 configure-libelf
16816 @[ -f ./libelf/Makefile ] || exit 0; \
16817 r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(HOST_EXPORTS) \
16820 for flag in $(EXTRA_HOST_FLAGS) ; do \
16821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16822 done; \
16823 echo "Doing info in libelf"; \
16824 (cd $(HOST_SUBDIR)/libelf && \
16825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16827 "RANLIB=$${RANLIB}" \
16828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16829 info) \
16830 || exit 1
16832 @endif libelf
16834 .PHONY: maybe-dvi-libelf dvi-libelf
16835 maybe-dvi-libelf:
16836 @if libelf
16837 maybe-dvi-libelf: dvi-libelf
16839 dvi-libelf: \
16840 configure-libelf
16841 @[ -f ./libelf/Makefile ] || exit 0; \
16842 r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing dvi in libelf"; \
16849 (cd $(HOST_SUBDIR)/libelf && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16854 dvi) \
16855 || exit 1
16857 @endif libelf
16859 .PHONY: maybe-pdf-libelf pdf-libelf
16860 maybe-pdf-libelf:
16861 @if libelf
16862 maybe-pdf-libelf: pdf-libelf
16864 pdf-libelf: \
16865 configure-libelf
16866 @[ -f ./libelf/Makefile ] || exit 0; \
16867 r=`${PWD_COMMAND}`; export r; \
16868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16869 $(HOST_EXPORTS) \
16870 for flag in $(EXTRA_HOST_FLAGS) ; do \
16871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16872 done; \
16873 echo "Doing pdf in libelf"; \
16874 (cd $(HOST_SUBDIR)/libelf && \
16875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16877 "RANLIB=$${RANLIB}" \
16878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16879 pdf) \
16880 || exit 1
16882 @endif libelf
16884 .PHONY: maybe-html-libelf html-libelf
16885 maybe-html-libelf:
16886 @if libelf
16887 maybe-html-libelf: html-libelf
16889 html-libelf: \
16890 configure-libelf
16891 @[ -f ./libelf/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 $(HOST_EXPORTS) \
16895 for flag in $(EXTRA_HOST_FLAGS) ; do \
16896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16897 done; \
16898 echo "Doing html in libelf"; \
16899 (cd $(HOST_SUBDIR)/libelf && \
16900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16902 "RANLIB=$${RANLIB}" \
16903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16904 html) \
16905 || exit 1
16907 @endif libelf
16909 .PHONY: maybe-TAGS-libelf TAGS-libelf
16910 maybe-TAGS-libelf:
16911 @if libelf
16912 maybe-TAGS-libelf: TAGS-libelf
16914 TAGS-libelf: \
16915 configure-libelf
16916 @[ -f ./libelf/Makefile ] || exit 0; \
16917 r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 $(HOST_EXPORTS) \
16920 for flag in $(EXTRA_HOST_FLAGS) ; do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 echo "Doing TAGS in libelf"; \
16924 (cd $(HOST_SUBDIR)/libelf && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16929 TAGS) \
16930 || exit 1
16932 @endif libelf
16934 .PHONY: maybe-install-info-libelf install-info-libelf
16935 maybe-install-info-libelf:
16936 @if libelf
16937 maybe-install-info-libelf: install-info-libelf
16939 install-info-libelf: \
16940 configure-libelf \
16941 info-libelf
16942 @[ -f ./libelf/Makefile ] || exit 0; \
16943 r=`${PWD_COMMAND}`; export r; \
16944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16945 $(HOST_EXPORTS) \
16946 for flag in $(EXTRA_HOST_FLAGS) ; do \
16947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16948 done; \
16949 echo "Doing install-info in libelf"; \
16950 (cd $(HOST_SUBDIR)/libelf && \
16951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16953 "RANLIB=$${RANLIB}" \
16954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16955 install-info) \
16956 || exit 1
16958 @endif libelf
16960 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
16961 maybe-install-pdf-libelf:
16962 @if libelf
16963 maybe-install-pdf-libelf: install-pdf-libelf
16965 install-pdf-libelf: \
16966 configure-libelf \
16967 pdf-libelf
16968 @[ -f ./libelf/Makefile ] || exit 0; \
16969 r=`${PWD_COMMAND}`; export r; \
16970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16971 $(HOST_EXPORTS) \
16972 for flag in $(EXTRA_HOST_FLAGS) ; do \
16973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16974 done; \
16975 echo "Doing install-pdf in libelf"; \
16976 (cd $(HOST_SUBDIR)/libelf && \
16977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16979 "RANLIB=$${RANLIB}" \
16980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16981 install-pdf) \
16982 || exit 1
16984 @endif libelf
16986 .PHONY: maybe-install-html-libelf install-html-libelf
16987 maybe-install-html-libelf:
16988 @if libelf
16989 maybe-install-html-libelf: install-html-libelf
16991 install-html-libelf: \
16992 configure-libelf \
16993 html-libelf
16994 @[ -f ./libelf/Makefile ] || exit 0; \
16995 r=`${PWD_COMMAND}`; export r; \
16996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16997 $(HOST_EXPORTS) \
16998 for flag in $(EXTRA_HOST_FLAGS) ; do \
16999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17000 done; \
17001 echo "Doing install-html in libelf"; \
17002 (cd $(HOST_SUBDIR)/libelf && \
17003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17005 "RANLIB=$${RANLIB}" \
17006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17007 install-html) \
17008 || exit 1
17010 @endif libelf
17012 .PHONY: maybe-installcheck-libelf installcheck-libelf
17013 maybe-installcheck-libelf:
17014 @if libelf
17015 maybe-installcheck-libelf: installcheck-libelf
17017 installcheck-libelf: \
17018 configure-libelf
17019 @[ -f ./libelf/Makefile ] || exit 0; \
17020 r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 $(HOST_EXPORTS) \
17023 for flag in $(EXTRA_HOST_FLAGS) ; do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 echo "Doing installcheck in libelf"; \
17027 (cd $(HOST_SUBDIR)/libelf && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17032 installcheck) \
17033 || exit 1
17035 @endif libelf
17037 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17038 maybe-mostlyclean-libelf:
17039 @if libelf
17040 maybe-mostlyclean-libelf: mostlyclean-libelf
17042 mostlyclean-libelf:
17043 @[ -f ./libelf/Makefile ] || exit 0; \
17044 r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 $(HOST_EXPORTS) \
17047 for flag in $(EXTRA_HOST_FLAGS) ; do \
17048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17049 done; \
17050 echo "Doing mostlyclean in libelf"; \
17051 (cd $(HOST_SUBDIR)/libelf && \
17052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17054 "RANLIB=$${RANLIB}" \
17055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17056 mostlyclean) \
17057 || exit 1
17059 @endif libelf
17061 .PHONY: maybe-clean-libelf clean-libelf
17062 maybe-clean-libelf:
17063 @if libelf
17064 maybe-clean-libelf: clean-libelf
17066 clean-libelf:
17067 @[ -f ./libelf/Makefile ] || exit 0; \
17068 r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 $(HOST_EXPORTS) \
17071 for flag in $(EXTRA_HOST_FLAGS) ; do \
17072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17073 done; \
17074 echo "Doing clean in libelf"; \
17075 (cd $(HOST_SUBDIR)/libelf && \
17076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17078 "RANLIB=$${RANLIB}" \
17079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17080 clean) \
17081 || exit 1
17083 @endif libelf
17085 .PHONY: maybe-distclean-libelf distclean-libelf
17086 maybe-distclean-libelf:
17087 @if libelf
17088 maybe-distclean-libelf: distclean-libelf
17090 distclean-libelf:
17091 @[ -f ./libelf/Makefile ] || exit 0; \
17092 r=`${PWD_COMMAND}`; export r; \
17093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17094 $(HOST_EXPORTS) \
17095 for flag in $(EXTRA_HOST_FLAGS) ; do \
17096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17097 done; \
17098 echo "Doing distclean in libelf"; \
17099 (cd $(HOST_SUBDIR)/libelf && \
17100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17102 "RANLIB=$${RANLIB}" \
17103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17104 distclean) \
17105 || exit 1
17107 @endif libelf
17109 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17110 maybe-maintainer-clean-libelf:
17111 @if libelf
17112 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17114 maintainer-clean-libelf:
17115 @[ -f ./libelf/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing maintainer-clean in libelf"; \
17123 (cd $(HOST_SUBDIR)/libelf && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17128 maintainer-clean) \
17129 || exit 1
17131 @endif libelf
17135 .PHONY: configure-gold maybe-configure-gold
17136 maybe-configure-gold:
17137 @if gcc-bootstrap
17138 configure-gold: stage_current
17139 @endif gcc-bootstrap
17140 @if gold
17141 maybe-configure-gold: configure-gold
17142 configure-gold:
17143 @r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17147 $(HOST_EXPORTS) \
17148 echo Configuring in $(HOST_SUBDIR)/gold; \
17149 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17150 case $(srcdir) in \
17151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17152 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17154 esac; \
17155 module_srcdir=gold; \
17156 $(SHELL) \
17157 $$s/$$module_srcdir/configure \
17158 --srcdir=$${topdir}/$$module_srcdir \
17159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17160 --target=${target_alias} \
17161 || exit 1
17162 @endif gold
17166 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17167 maybe-configure-stage1-gold:
17168 @if gold-bootstrap
17169 maybe-configure-stage1-gold: configure-stage1-gold
17170 configure-stage1-gold:
17171 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17173 @r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 TFLAGS="$(STAGE1_TFLAGS)"; \
17176 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17177 $(HOST_EXPORTS) \
17178 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17179 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17180 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17181 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
17182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17183 cd $(HOST_SUBDIR)/gold || exit 1; \
17184 case $(srcdir) in \
17185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17186 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17188 esac; \
17189 module_srcdir=gold; \
17190 $(SHELL) $$s/$$module_srcdir/configure \
17191 --srcdir=$${topdir}/$$module_srcdir \
17192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17193 --target=${target_alias} \
17195 $(STAGE1_CONFIGURE_FLAGS)
17196 @endif gold-bootstrap
17198 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
17199 maybe-configure-stage2-gold:
17200 @if gold-bootstrap
17201 maybe-configure-stage2-gold: configure-stage2-gold
17202 configure-stage2-gold:
17203 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17205 @r=`${PWD_COMMAND}`; export r; \
17206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17207 TFLAGS="$(STAGE2_TFLAGS)"; \
17208 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17209 $(HOST_EXPORTS) \
17210 $(POSTSTAGE1_HOST_EXPORTS) \
17211 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17212 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17213 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17214 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
17215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17216 cd $(HOST_SUBDIR)/gold || exit 1; \
17217 case $(srcdir) in \
17218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17219 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17221 esac; \
17222 module_srcdir=gold; \
17223 $(SHELL) $$s/$$module_srcdir/configure \
17224 --srcdir=$${topdir}/$$module_srcdir \
17225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17226 --target=${target_alias} \
17227 --with-build-libsubdir=$(HOST_SUBDIR) \
17228 $(STAGE2_CONFIGURE_FLAGS)
17229 @endif gold-bootstrap
17231 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
17232 maybe-configure-stage3-gold:
17233 @if gold-bootstrap
17234 maybe-configure-stage3-gold: configure-stage3-gold
17235 configure-stage3-gold:
17236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17238 @r=`${PWD_COMMAND}`; export r; \
17239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17240 TFLAGS="$(STAGE3_TFLAGS)"; \
17241 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17242 $(HOST_EXPORTS) \
17243 $(POSTSTAGE1_HOST_EXPORTS) \
17244 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17245 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17246 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17247 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
17248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17249 cd $(HOST_SUBDIR)/gold || exit 1; \
17250 case $(srcdir) in \
17251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17252 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17254 esac; \
17255 module_srcdir=gold; \
17256 $(SHELL) $$s/$$module_srcdir/configure \
17257 --srcdir=$${topdir}/$$module_srcdir \
17258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17259 --target=${target_alias} \
17260 --with-build-libsubdir=$(HOST_SUBDIR) \
17261 $(STAGE3_CONFIGURE_FLAGS)
17262 @endif gold-bootstrap
17264 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
17265 maybe-configure-stage4-gold:
17266 @if gold-bootstrap
17267 maybe-configure-stage4-gold: configure-stage4-gold
17268 configure-stage4-gold:
17269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17271 @r=`${PWD_COMMAND}`; export r; \
17272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 TFLAGS="$(STAGE4_TFLAGS)"; \
17274 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17275 $(HOST_EXPORTS) \
17276 $(POSTSTAGE1_HOST_EXPORTS) \
17277 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17278 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17279 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17280 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
17281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17282 cd $(HOST_SUBDIR)/gold || exit 1; \
17283 case $(srcdir) in \
17284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17285 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17287 esac; \
17288 module_srcdir=gold; \
17289 $(SHELL) $$s/$$module_srcdir/configure \
17290 --srcdir=$${topdir}/$$module_srcdir \
17291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17292 --target=${target_alias} \
17293 --with-build-libsubdir=$(HOST_SUBDIR) \
17294 $(STAGE4_CONFIGURE_FLAGS)
17295 @endif gold-bootstrap
17297 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
17298 maybe-configure-stageprofile-gold:
17299 @if gold-bootstrap
17300 maybe-configure-stageprofile-gold: configure-stageprofile-gold
17301 configure-stageprofile-gold:
17302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17304 @r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17306 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17307 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17308 $(HOST_EXPORTS) \
17309 $(POSTSTAGE1_HOST_EXPORTS) \
17310 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17311 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17312 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17313 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
17314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17315 cd $(HOST_SUBDIR)/gold || exit 1; \
17316 case $(srcdir) in \
17317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17318 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17320 esac; \
17321 module_srcdir=gold; \
17322 $(SHELL) $$s/$$module_srcdir/configure \
17323 --srcdir=$${topdir}/$$module_srcdir \
17324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17325 --target=${target_alias} \
17326 --with-build-libsubdir=$(HOST_SUBDIR) \
17327 $(STAGEprofile_CONFIGURE_FLAGS)
17328 @endif gold-bootstrap
17330 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
17331 maybe-configure-stagefeedback-gold:
17332 @if gold-bootstrap
17333 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
17334 configure-stagefeedback-gold:
17335 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17337 @r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17340 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17341 $(HOST_EXPORTS) \
17342 $(POSTSTAGE1_HOST_EXPORTS) \
17343 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17344 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17345 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17346 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
17347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17348 cd $(HOST_SUBDIR)/gold || exit 1; \
17349 case $(srcdir) in \
17350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17351 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17353 esac; \
17354 module_srcdir=gold; \
17355 $(SHELL) $$s/$$module_srcdir/configure \
17356 --srcdir=$${topdir}/$$module_srcdir \
17357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17358 --target=${target_alias} \
17359 --with-build-libsubdir=$(HOST_SUBDIR) \
17360 $(STAGEfeedback_CONFIGURE_FLAGS)
17361 @endif gold-bootstrap
17363 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
17364 maybe-configure-stageautoprofile-gold:
17365 @if gold-bootstrap
17366 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
17367 configure-stageautoprofile-gold:
17368 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17370 @r=`${PWD_COMMAND}`; export r; \
17371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17372 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17373 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17374 $(HOST_EXPORTS) \
17375 $(POSTSTAGE1_HOST_EXPORTS) \
17376 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17377 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17378 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17379 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
17380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17381 cd $(HOST_SUBDIR)/gold || exit 1; \
17382 case $(srcdir) in \
17383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17384 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17386 esac; \
17387 module_srcdir=gold; \
17388 $(SHELL) $$s/$$module_srcdir/configure \
17389 --srcdir=$${topdir}/$$module_srcdir \
17390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17391 --target=${target_alias} \
17392 --with-build-libsubdir=$(HOST_SUBDIR) \
17393 $(STAGEautoprofile_CONFIGURE_FLAGS)
17394 @endif gold-bootstrap
17396 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
17397 maybe-configure-stageautofeedback-gold:
17398 @if gold-bootstrap
17399 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
17400 configure-stageautofeedback-gold:
17401 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17403 @r=`${PWD_COMMAND}`; export r; \
17404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17405 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17406 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17407 $(HOST_EXPORTS) \
17408 $(POSTSTAGE1_HOST_EXPORTS) \
17409 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17410 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17411 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17412 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
17413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17414 cd $(HOST_SUBDIR)/gold || exit 1; \
17415 case $(srcdir) in \
17416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17417 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17419 esac; \
17420 module_srcdir=gold; \
17421 $(SHELL) $$s/$$module_srcdir/configure \
17422 --srcdir=$${topdir}/$$module_srcdir \
17423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17424 --target=${target_alias} \
17425 --with-build-libsubdir=$(HOST_SUBDIR) \
17426 $(STAGEautofeedback_CONFIGURE_FLAGS)
17427 @endif gold-bootstrap
17433 .PHONY: all-gold maybe-all-gold
17434 maybe-all-gold:
17435 @if gcc-bootstrap
17436 all-gold: stage_current
17437 @endif gcc-bootstrap
17438 @if gold
17439 TARGET-gold=all
17440 maybe-all-gold: all-gold
17441 all-gold: configure-gold
17442 @r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 (cd $(HOST_SUBDIR)/gold && \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17447 $(TARGET-gold))
17448 @endif gold
17452 .PHONY: all-stage1-gold maybe-all-stage1-gold
17453 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
17454 maybe-all-stage1-gold:
17455 maybe-clean-stage1-gold:
17456 @if gold-bootstrap
17457 maybe-all-stage1-gold: all-stage1-gold
17458 all-stage1: all-stage1-gold
17459 TARGET-stage1-gold = $(TARGET-gold)
17460 all-stage1-gold: configure-stage1-gold
17461 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17462 @r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 TFLAGS="$(STAGE1_TFLAGS)"; \
17465 $(HOST_EXPORTS) \
17466 cd $(HOST_SUBDIR)/gold && \
17468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17469 CFLAGS="$(STAGE1_CFLAGS)" \
17470 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17471 LIBCFLAGS="$(LIBCFLAGS)" \
17472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17475 $(EXTRA_HOST_FLAGS) \
17476 $(STAGE1_FLAGS_TO_PASS) \
17477 TFLAGS="$(STAGE1_TFLAGS)" \
17478 $(TARGET-stage1-gold)
17480 maybe-clean-stage1-gold: clean-stage1-gold
17481 clean-stage1: clean-stage1-gold
17482 clean-stage1-gold:
17483 @if [ $(current_stage) = stage1 ]; then \
17484 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17485 else \
17486 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
17487 $(MAKE) stage1-start; \
17488 fi; \
17489 cd $(HOST_SUBDIR)/gold && \
17490 $(MAKE) $(EXTRA_HOST_FLAGS) \
17491 $(STAGE1_FLAGS_TO_PASS) clean
17492 @endif gold-bootstrap
17495 .PHONY: all-stage2-gold maybe-all-stage2-gold
17496 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
17497 maybe-all-stage2-gold:
17498 maybe-clean-stage2-gold:
17499 @if gold-bootstrap
17500 maybe-all-stage2-gold: all-stage2-gold
17501 all-stage2: all-stage2-gold
17502 TARGET-stage2-gold = $(TARGET-gold)
17503 all-stage2-gold: configure-stage2-gold
17504 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17505 @r=`${PWD_COMMAND}`; export r; \
17506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17507 TFLAGS="$(STAGE2_TFLAGS)"; \
17508 $(HOST_EXPORTS) \
17509 $(POSTSTAGE1_HOST_EXPORTS) \
17510 cd $(HOST_SUBDIR)/gold && \
17512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17513 CFLAGS="$(STAGE2_CFLAGS)" \
17514 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17515 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17519 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17520 TFLAGS="$(STAGE2_TFLAGS)" \
17521 $(TARGET-stage2-gold)
17523 maybe-clean-stage2-gold: clean-stage2-gold
17524 clean-stage2: clean-stage2-gold
17525 clean-stage2-gold:
17526 @if [ $(current_stage) = stage2 ]; then \
17527 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17528 else \
17529 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
17530 $(MAKE) stage2-start; \
17531 fi; \
17532 cd $(HOST_SUBDIR)/gold && \
17533 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17534 @endif gold-bootstrap
17537 .PHONY: all-stage3-gold maybe-all-stage3-gold
17538 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
17539 maybe-all-stage3-gold:
17540 maybe-clean-stage3-gold:
17541 @if gold-bootstrap
17542 maybe-all-stage3-gold: all-stage3-gold
17543 all-stage3: all-stage3-gold
17544 TARGET-stage3-gold = $(TARGET-gold)
17545 all-stage3-gold: configure-stage3-gold
17546 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17547 @r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 TFLAGS="$(STAGE3_TFLAGS)"; \
17550 $(HOST_EXPORTS) \
17551 $(POSTSTAGE1_HOST_EXPORTS) \
17552 cd $(HOST_SUBDIR)/gold && \
17554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17555 CFLAGS="$(STAGE3_CFLAGS)" \
17556 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17557 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17562 TFLAGS="$(STAGE3_TFLAGS)" \
17563 $(TARGET-stage3-gold)
17565 maybe-clean-stage3-gold: clean-stage3-gold
17566 clean-stage3: clean-stage3-gold
17567 clean-stage3-gold:
17568 @if [ $(current_stage) = stage3 ]; then \
17569 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17570 else \
17571 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
17572 $(MAKE) stage3-start; \
17573 fi; \
17574 cd $(HOST_SUBDIR)/gold && \
17575 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17576 @endif gold-bootstrap
17579 .PHONY: all-stage4-gold maybe-all-stage4-gold
17580 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
17581 maybe-all-stage4-gold:
17582 maybe-clean-stage4-gold:
17583 @if gold-bootstrap
17584 maybe-all-stage4-gold: all-stage4-gold
17585 all-stage4: all-stage4-gold
17586 TARGET-stage4-gold = $(TARGET-gold)
17587 all-stage4-gold: configure-stage4-gold
17588 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17589 @r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 TFLAGS="$(STAGE4_TFLAGS)"; \
17592 $(HOST_EXPORTS) \
17593 $(POSTSTAGE1_HOST_EXPORTS) \
17594 cd $(HOST_SUBDIR)/gold && \
17596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17597 CFLAGS="$(STAGE4_CFLAGS)" \
17598 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17599 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17604 TFLAGS="$(STAGE4_TFLAGS)" \
17605 $(TARGET-stage4-gold)
17607 maybe-clean-stage4-gold: clean-stage4-gold
17608 clean-stage4: clean-stage4-gold
17609 clean-stage4-gold:
17610 @if [ $(current_stage) = stage4 ]; then \
17611 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17612 else \
17613 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
17614 $(MAKE) stage4-start; \
17615 fi; \
17616 cd $(HOST_SUBDIR)/gold && \
17617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17618 @endif gold-bootstrap
17621 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
17622 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
17623 maybe-all-stageprofile-gold:
17624 maybe-clean-stageprofile-gold:
17625 @if gold-bootstrap
17626 maybe-all-stageprofile-gold: all-stageprofile-gold
17627 all-stageprofile: all-stageprofile-gold
17628 TARGET-stageprofile-gold = $(TARGET-gold)
17629 all-stageprofile-gold: configure-stageprofile-gold
17630 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17631 @r=`${PWD_COMMAND}`; export r; \
17632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17633 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17634 $(HOST_EXPORTS) \
17635 $(POSTSTAGE1_HOST_EXPORTS) \
17636 cd $(HOST_SUBDIR)/gold && \
17638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17639 CFLAGS="$(STAGEprofile_CFLAGS)" \
17640 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17641 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17645 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17646 TFLAGS="$(STAGEprofile_TFLAGS)" \
17647 $(TARGET-stageprofile-gold)
17649 maybe-clean-stageprofile-gold: clean-stageprofile-gold
17650 clean-stageprofile: clean-stageprofile-gold
17651 clean-stageprofile-gold:
17652 @if [ $(current_stage) = stageprofile ]; then \
17653 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17654 else \
17655 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
17656 $(MAKE) stageprofile-start; \
17657 fi; \
17658 cd $(HOST_SUBDIR)/gold && \
17659 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17660 @endif gold-bootstrap
17663 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
17664 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
17665 maybe-all-stagefeedback-gold:
17666 maybe-clean-stagefeedback-gold:
17667 @if gold-bootstrap
17668 maybe-all-stagefeedback-gold: all-stagefeedback-gold
17669 all-stagefeedback: all-stagefeedback-gold
17670 TARGET-stagefeedback-gold = $(TARGET-gold)
17671 all-stagefeedback-gold: configure-stagefeedback-gold
17672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17673 @r=`${PWD_COMMAND}`; export r; \
17674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17675 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17676 $(HOST_EXPORTS) \
17677 $(POSTSTAGE1_HOST_EXPORTS) \
17678 cd $(HOST_SUBDIR)/gold && \
17680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17681 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17682 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17683 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17688 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17689 $(TARGET-stagefeedback-gold)
17691 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
17692 clean-stagefeedback: clean-stagefeedback-gold
17693 clean-stagefeedback-gold:
17694 @if [ $(current_stage) = stagefeedback ]; then \
17695 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17696 else \
17697 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
17698 $(MAKE) stagefeedback-start; \
17699 fi; \
17700 cd $(HOST_SUBDIR)/gold && \
17701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17702 @endif gold-bootstrap
17705 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
17706 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
17707 maybe-all-stageautoprofile-gold:
17708 maybe-clean-stageautoprofile-gold:
17709 @if gold-bootstrap
17710 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
17711 all-stageautoprofile: all-stageautoprofile-gold
17712 TARGET-stageautoprofile-gold = $(TARGET-gold)
17713 all-stageautoprofile-gold: configure-stageautoprofile-gold
17714 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17715 @r=`${PWD_COMMAND}`; export r; \
17716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17718 $(HOST_EXPORTS) \
17719 $(POSTSTAGE1_HOST_EXPORTS) \
17720 cd $(HOST_SUBDIR)/gold && \
17721 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17723 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17724 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17725 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17730 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17731 $(TARGET-stageautoprofile-gold)
17733 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
17734 clean-stageautoprofile: clean-stageautoprofile-gold
17735 clean-stageautoprofile-gold:
17736 @if [ $(current_stage) = stageautoprofile ]; then \
17737 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17738 else \
17739 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
17740 $(MAKE) stageautoprofile-start; \
17741 fi; \
17742 cd $(HOST_SUBDIR)/gold && \
17743 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17744 @endif gold-bootstrap
17747 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
17748 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
17749 maybe-all-stageautofeedback-gold:
17750 maybe-clean-stageautofeedback-gold:
17751 @if gold-bootstrap
17752 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
17753 all-stageautofeedback: all-stageautofeedback-gold
17754 TARGET-stageautofeedback-gold = $(TARGET-gold)
17755 all-stageautofeedback-gold: configure-stageautofeedback-gold
17756 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17757 @r=`${PWD_COMMAND}`; export r; \
17758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17759 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17760 $(HOST_EXPORTS) \
17761 $(POSTSTAGE1_HOST_EXPORTS) \
17762 cd $(HOST_SUBDIR)/gold && \
17764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17765 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17766 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17767 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17771 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17772 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17773 $(TARGET-stageautofeedback-gold)
17775 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
17776 clean-stageautofeedback: clean-stageautofeedback-gold
17777 clean-stageautofeedback-gold:
17778 @if [ $(current_stage) = stageautofeedback ]; then \
17779 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17780 else \
17781 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
17782 $(MAKE) stageautofeedback-start; \
17783 fi; \
17784 cd $(HOST_SUBDIR)/gold && \
17785 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17786 @endif gold-bootstrap
17792 .PHONY: check-gold maybe-check-gold
17793 maybe-check-gold:
17794 @if gold
17795 maybe-check-gold: check-gold
17797 check-gold:
17798 @: $(MAKE); $(unstage)
17799 @r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17802 (cd $(HOST_SUBDIR)/gold && \
17803 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17805 @endif gold
17807 .PHONY: install-gold maybe-install-gold
17808 maybe-install-gold:
17809 @if gold
17810 maybe-install-gold: install-gold
17812 install-gold: installdirs
17813 @: $(MAKE); $(unstage)
17814 @r=`${PWD_COMMAND}`; export r; \
17815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17816 $(HOST_EXPORTS) \
17817 (cd $(HOST_SUBDIR)/gold && \
17818 $(MAKE) $(FLAGS_TO_PASS) install)
17820 @endif gold
17822 .PHONY: install-strip-gold maybe-install-strip-gold
17823 maybe-install-strip-gold:
17824 @if gold
17825 maybe-install-strip-gold: install-strip-gold
17827 install-strip-gold: installdirs
17828 @: $(MAKE); $(unstage)
17829 @r=`${PWD_COMMAND}`; export r; \
17830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17831 $(HOST_EXPORTS) \
17832 (cd $(HOST_SUBDIR)/gold && \
17833 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17835 @endif gold
17837 # Other targets (info, dvi, pdf, etc.)
17839 .PHONY: maybe-info-gold info-gold
17840 maybe-info-gold:
17841 @if gold
17842 maybe-info-gold: info-gold
17844 info-gold: \
17845 configure-gold
17846 @[ -f ./gold/Makefile ] || exit 0; \
17847 r=`${PWD_COMMAND}`; export r; \
17848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17849 $(HOST_EXPORTS) \
17850 for flag in $(EXTRA_HOST_FLAGS) ; do \
17851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17852 done; \
17853 echo "Doing info in gold"; \
17854 (cd $(HOST_SUBDIR)/gold && \
17855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17857 "RANLIB=$${RANLIB}" \
17858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17859 info) \
17860 || exit 1
17862 @endif gold
17864 .PHONY: maybe-dvi-gold dvi-gold
17865 maybe-dvi-gold:
17866 @if gold
17867 maybe-dvi-gold: dvi-gold
17869 dvi-gold: \
17870 configure-gold
17871 @[ -f ./gold/Makefile ] || exit 0; \
17872 r=`${PWD_COMMAND}`; export r; \
17873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17874 $(HOST_EXPORTS) \
17875 for flag in $(EXTRA_HOST_FLAGS) ; do \
17876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17877 done; \
17878 echo "Doing dvi in gold"; \
17879 (cd $(HOST_SUBDIR)/gold && \
17880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17882 "RANLIB=$${RANLIB}" \
17883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17884 dvi) \
17885 || exit 1
17887 @endif gold
17889 .PHONY: maybe-pdf-gold pdf-gold
17890 maybe-pdf-gold:
17891 @if gold
17892 maybe-pdf-gold: pdf-gold
17894 pdf-gold: \
17895 configure-gold
17896 @[ -f ./gold/Makefile ] || exit 0; \
17897 r=`${PWD_COMMAND}`; export r; \
17898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17899 $(HOST_EXPORTS) \
17900 for flag in $(EXTRA_HOST_FLAGS) ; do \
17901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17902 done; \
17903 echo "Doing pdf in gold"; \
17904 (cd $(HOST_SUBDIR)/gold && \
17905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17907 "RANLIB=$${RANLIB}" \
17908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17909 pdf) \
17910 || exit 1
17912 @endif gold
17914 .PHONY: maybe-html-gold html-gold
17915 maybe-html-gold:
17916 @if gold
17917 maybe-html-gold: html-gold
17919 html-gold: \
17920 configure-gold
17921 @[ -f ./gold/Makefile ] || exit 0; \
17922 r=`${PWD_COMMAND}`; export r; \
17923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17924 $(HOST_EXPORTS) \
17925 for flag in $(EXTRA_HOST_FLAGS) ; do \
17926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17927 done; \
17928 echo "Doing html in gold"; \
17929 (cd $(HOST_SUBDIR)/gold && \
17930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17932 "RANLIB=$${RANLIB}" \
17933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17934 html) \
17935 || exit 1
17937 @endif gold
17939 .PHONY: maybe-TAGS-gold TAGS-gold
17940 maybe-TAGS-gold:
17941 @if gold
17942 maybe-TAGS-gold: TAGS-gold
17944 TAGS-gold: \
17945 configure-gold
17946 @[ -f ./gold/Makefile ] || exit 0; \
17947 r=`${PWD_COMMAND}`; export r; \
17948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17949 $(HOST_EXPORTS) \
17950 for flag in $(EXTRA_HOST_FLAGS) ; do \
17951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17952 done; \
17953 echo "Doing TAGS in gold"; \
17954 (cd $(HOST_SUBDIR)/gold && \
17955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17957 "RANLIB=$${RANLIB}" \
17958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17959 TAGS) \
17960 || exit 1
17962 @endif gold
17964 .PHONY: maybe-install-info-gold install-info-gold
17965 maybe-install-info-gold:
17966 @if gold
17967 maybe-install-info-gold: install-info-gold
17969 install-info-gold: \
17970 configure-gold \
17971 info-gold
17972 @[ -f ./gold/Makefile ] || exit 0; \
17973 r=`${PWD_COMMAND}`; export r; \
17974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17975 $(HOST_EXPORTS) \
17976 for flag in $(EXTRA_HOST_FLAGS) ; do \
17977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17978 done; \
17979 echo "Doing install-info in gold"; \
17980 (cd $(HOST_SUBDIR)/gold && \
17981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17983 "RANLIB=$${RANLIB}" \
17984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17985 install-info) \
17986 || exit 1
17988 @endif gold
17990 .PHONY: maybe-install-pdf-gold install-pdf-gold
17991 maybe-install-pdf-gold:
17992 @if gold
17993 maybe-install-pdf-gold: install-pdf-gold
17995 install-pdf-gold: \
17996 configure-gold \
17997 pdf-gold
17998 @[ -f ./gold/Makefile ] || exit 0; \
17999 r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(HOST_EXPORTS) \
18002 for flag in $(EXTRA_HOST_FLAGS) ; do \
18003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18004 done; \
18005 echo "Doing install-pdf in gold"; \
18006 (cd $(HOST_SUBDIR)/gold && \
18007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18009 "RANLIB=$${RANLIB}" \
18010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18011 install-pdf) \
18012 || exit 1
18014 @endif gold
18016 .PHONY: maybe-install-html-gold install-html-gold
18017 maybe-install-html-gold:
18018 @if gold
18019 maybe-install-html-gold: install-html-gold
18021 install-html-gold: \
18022 configure-gold \
18023 html-gold
18024 @[ -f ./gold/Makefile ] || exit 0; \
18025 r=`${PWD_COMMAND}`; export r; \
18026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18027 $(HOST_EXPORTS) \
18028 for flag in $(EXTRA_HOST_FLAGS) ; do \
18029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18030 done; \
18031 echo "Doing install-html in gold"; \
18032 (cd $(HOST_SUBDIR)/gold && \
18033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18035 "RANLIB=$${RANLIB}" \
18036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18037 install-html) \
18038 || exit 1
18040 @endif gold
18042 .PHONY: maybe-installcheck-gold installcheck-gold
18043 maybe-installcheck-gold:
18044 @if gold
18045 maybe-installcheck-gold: installcheck-gold
18047 installcheck-gold: \
18048 configure-gold
18049 @[ -f ./gold/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing installcheck in gold"; \
18057 (cd $(HOST_SUBDIR)/gold && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18062 installcheck) \
18063 || exit 1
18065 @endif gold
18067 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18068 maybe-mostlyclean-gold:
18069 @if gold
18070 maybe-mostlyclean-gold: mostlyclean-gold
18072 mostlyclean-gold:
18073 @[ -f ./gold/Makefile ] || exit 0; \
18074 r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076 $(HOST_EXPORTS) \
18077 for flag in $(EXTRA_HOST_FLAGS) ; do \
18078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18079 done; \
18080 echo "Doing mostlyclean in gold"; \
18081 (cd $(HOST_SUBDIR)/gold && \
18082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084 "RANLIB=$${RANLIB}" \
18085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18086 mostlyclean) \
18087 || exit 1
18089 @endif gold
18091 .PHONY: maybe-clean-gold clean-gold
18092 maybe-clean-gold:
18093 @if gold
18094 maybe-clean-gold: clean-gold
18096 clean-gold:
18097 @[ -f ./gold/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing clean in gold"; \
18105 (cd $(HOST_SUBDIR)/gold && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18110 clean) \
18111 || exit 1
18113 @endif gold
18115 .PHONY: maybe-distclean-gold distclean-gold
18116 maybe-distclean-gold:
18117 @if gold
18118 maybe-distclean-gold: distclean-gold
18120 distclean-gold:
18121 @[ -f ./gold/Makefile ] || exit 0; \
18122 r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing distclean in gold"; \
18129 (cd $(HOST_SUBDIR)/gold && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18134 distclean) \
18135 || exit 1
18137 @endif gold
18139 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
18140 maybe-maintainer-clean-gold:
18141 @if gold
18142 maybe-maintainer-clean-gold: maintainer-clean-gold
18144 maintainer-clean-gold:
18145 @[ -f ./gold/Makefile ] || exit 0; \
18146 r=`${PWD_COMMAND}`; export r; \
18147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148 $(HOST_EXPORTS) \
18149 for flag in $(EXTRA_HOST_FLAGS) ; do \
18150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18151 done; \
18152 echo "Doing maintainer-clean in gold"; \
18153 (cd $(HOST_SUBDIR)/gold && \
18154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18156 "RANLIB=$${RANLIB}" \
18157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18158 maintainer-clean) \
18159 || exit 1
18161 @endif gold
18165 .PHONY: configure-gprof maybe-configure-gprof
18166 maybe-configure-gprof:
18167 @if gcc-bootstrap
18168 configure-gprof: stage_current
18169 @endif gcc-bootstrap
18170 @if gprof
18171 maybe-configure-gprof: configure-gprof
18172 configure-gprof:
18173 @: $(MAKE); $(unstage)
18174 @r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
18177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
18178 $(HOST_EXPORTS) \
18179 echo Configuring in $(HOST_SUBDIR)/gprof; \
18180 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
18181 case $(srcdir) in \
18182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18183 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
18184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18185 esac; \
18186 module_srcdir=gprof; \
18187 $(SHELL) \
18188 $$s/$$module_srcdir/configure \
18189 --srcdir=$${topdir}/$$module_srcdir \
18190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18191 --target=${target_alias} \
18192 || exit 1
18193 @endif gprof
18199 .PHONY: all-gprof maybe-all-gprof
18200 maybe-all-gprof:
18201 @if gcc-bootstrap
18202 all-gprof: stage_current
18203 @endif gcc-bootstrap
18204 @if gprof
18205 TARGET-gprof=all
18206 maybe-all-gprof: all-gprof
18207 all-gprof: configure-gprof
18208 @: $(MAKE); $(unstage)
18209 @r=`${PWD_COMMAND}`; export r; \
18210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18211 $(HOST_EXPORTS) \
18212 (cd $(HOST_SUBDIR)/gprof && \
18213 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18214 $(TARGET-gprof))
18215 @endif gprof
18220 .PHONY: check-gprof maybe-check-gprof
18221 maybe-check-gprof:
18222 @if gprof
18223 maybe-check-gprof: check-gprof
18225 check-gprof:
18226 @: $(MAKE); $(unstage)
18227 @r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 $(HOST_EXPORTS) \
18230 (cd $(HOST_SUBDIR)/gprof && \
18231 $(MAKE) $(FLAGS_TO_PASS) check)
18233 @endif gprof
18235 .PHONY: install-gprof maybe-install-gprof
18236 maybe-install-gprof:
18237 @if gprof
18238 maybe-install-gprof: install-gprof
18240 install-gprof: installdirs
18241 @: $(MAKE); $(unstage)
18242 @r=`${PWD_COMMAND}`; export r; \
18243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 $(HOST_EXPORTS) \
18245 (cd $(HOST_SUBDIR)/gprof && \
18246 $(MAKE) $(FLAGS_TO_PASS) install)
18248 @endif gprof
18250 .PHONY: install-strip-gprof maybe-install-strip-gprof
18251 maybe-install-strip-gprof:
18252 @if gprof
18253 maybe-install-strip-gprof: install-strip-gprof
18255 install-strip-gprof: installdirs
18256 @: $(MAKE); $(unstage)
18257 @r=`${PWD_COMMAND}`; export r; \
18258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18259 $(HOST_EXPORTS) \
18260 (cd $(HOST_SUBDIR)/gprof && \
18261 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18263 @endif gprof
18265 # Other targets (info, dvi, pdf, etc.)
18267 .PHONY: maybe-info-gprof info-gprof
18268 maybe-info-gprof:
18269 @if gprof
18270 maybe-info-gprof: info-gprof
18272 info-gprof: \
18273 configure-gprof
18274 @: $(MAKE); $(unstage)
18275 @[ -f ./gprof/Makefile ] || exit 0; \
18276 r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 $(HOST_EXPORTS) \
18279 for flag in $(EXTRA_HOST_FLAGS) ; do \
18280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18281 done; \
18282 echo "Doing info in gprof"; \
18283 (cd $(HOST_SUBDIR)/gprof && \
18284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18286 "RANLIB=$${RANLIB}" \
18287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18288 info) \
18289 || exit 1
18291 @endif gprof
18293 .PHONY: maybe-dvi-gprof dvi-gprof
18294 maybe-dvi-gprof:
18295 @if gprof
18296 maybe-dvi-gprof: dvi-gprof
18298 dvi-gprof: \
18299 configure-gprof
18300 @: $(MAKE); $(unstage)
18301 @[ -f ./gprof/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing dvi in gprof"; \
18309 (cd $(HOST_SUBDIR)/gprof && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18314 dvi) \
18315 || exit 1
18317 @endif gprof
18319 .PHONY: maybe-pdf-gprof pdf-gprof
18320 maybe-pdf-gprof:
18321 @if gprof
18322 maybe-pdf-gprof: pdf-gprof
18324 pdf-gprof: \
18325 configure-gprof
18326 @: $(MAKE); $(unstage)
18327 @[ -f ./gprof/Makefile ] || exit 0; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing pdf in gprof"; \
18335 (cd $(HOST_SUBDIR)/gprof && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18340 pdf) \
18341 || exit 1
18343 @endif gprof
18345 .PHONY: maybe-html-gprof html-gprof
18346 maybe-html-gprof:
18347 @if gprof
18348 maybe-html-gprof: html-gprof
18350 html-gprof: \
18351 configure-gprof
18352 @: $(MAKE); $(unstage)
18353 @[ -f ./gprof/Makefile ] || exit 0; \
18354 r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 $(HOST_EXPORTS) \
18357 for flag in $(EXTRA_HOST_FLAGS) ; do \
18358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18359 done; \
18360 echo "Doing html in gprof"; \
18361 (cd $(HOST_SUBDIR)/gprof && \
18362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18364 "RANLIB=$${RANLIB}" \
18365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18366 html) \
18367 || exit 1
18369 @endif gprof
18371 .PHONY: maybe-TAGS-gprof TAGS-gprof
18372 maybe-TAGS-gprof:
18373 @if gprof
18374 maybe-TAGS-gprof: TAGS-gprof
18376 TAGS-gprof: \
18377 configure-gprof
18378 @: $(MAKE); $(unstage)
18379 @[ -f ./gprof/Makefile ] || exit 0; \
18380 r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 $(HOST_EXPORTS) \
18383 for flag in $(EXTRA_HOST_FLAGS) ; do \
18384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18385 done; \
18386 echo "Doing TAGS in gprof"; \
18387 (cd $(HOST_SUBDIR)/gprof && \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18390 "RANLIB=$${RANLIB}" \
18391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18392 TAGS) \
18393 || exit 1
18395 @endif gprof
18397 .PHONY: maybe-install-info-gprof install-info-gprof
18398 maybe-install-info-gprof:
18399 @if gprof
18400 maybe-install-info-gprof: install-info-gprof
18402 install-info-gprof: \
18403 configure-gprof \
18404 info-gprof
18405 @: $(MAKE); $(unstage)
18406 @[ -f ./gprof/Makefile ] || exit 0; \
18407 r=`${PWD_COMMAND}`; export r; \
18408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18409 $(HOST_EXPORTS) \
18410 for flag in $(EXTRA_HOST_FLAGS) ; do \
18411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18412 done; \
18413 echo "Doing install-info in gprof"; \
18414 (cd $(HOST_SUBDIR)/gprof && \
18415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18417 "RANLIB=$${RANLIB}" \
18418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18419 install-info) \
18420 || exit 1
18422 @endif gprof
18424 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
18425 maybe-install-pdf-gprof:
18426 @if gprof
18427 maybe-install-pdf-gprof: install-pdf-gprof
18429 install-pdf-gprof: \
18430 configure-gprof \
18431 pdf-gprof
18432 @: $(MAKE); $(unstage)
18433 @[ -f ./gprof/Makefile ] || exit 0; \
18434 r=`${PWD_COMMAND}`; export r; \
18435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18436 $(HOST_EXPORTS) \
18437 for flag in $(EXTRA_HOST_FLAGS) ; do \
18438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18439 done; \
18440 echo "Doing install-pdf in gprof"; \
18441 (cd $(HOST_SUBDIR)/gprof && \
18442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18444 "RANLIB=$${RANLIB}" \
18445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18446 install-pdf) \
18447 || exit 1
18449 @endif gprof
18451 .PHONY: maybe-install-html-gprof install-html-gprof
18452 maybe-install-html-gprof:
18453 @if gprof
18454 maybe-install-html-gprof: install-html-gprof
18456 install-html-gprof: \
18457 configure-gprof \
18458 html-gprof
18459 @: $(MAKE); $(unstage)
18460 @[ -f ./gprof/Makefile ] || exit 0; \
18461 r=`${PWD_COMMAND}`; export r; \
18462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 $(HOST_EXPORTS) \
18464 for flag in $(EXTRA_HOST_FLAGS) ; do \
18465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18466 done; \
18467 echo "Doing install-html in gprof"; \
18468 (cd $(HOST_SUBDIR)/gprof && \
18469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18471 "RANLIB=$${RANLIB}" \
18472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18473 install-html) \
18474 || exit 1
18476 @endif gprof
18478 .PHONY: maybe-installcheck-gprof installcheck-gprof
18479 maybe-installcheck-gprof:
18480 @if gprof
18481 maybe-installcheck-gprof: installcheck-gprof
18483 installcheck-gprof: \
18484 configure-gprof
18485 @: $(MAKE); $(unstage)
18486 @[ -f ./gprof/Makefile ] || exit 0; \
18487 r=`${PWD_COMMAND}`; export r; \
18488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18489 $(HOST_EXPORTS) \
18490 for flag in $(EXTRA_HOST_FLAGS) ; do \
18491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18492 done; \
18493 echo "Doing installcheck in gprof"; \
18494 (cd $(HOST_SUBDIR)/gprof && \
18495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18497 "RANLIB=$${RANLIB}" \
18498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18499 installcheck) \
18500 || exit 1
18502 @endif gprof
18504 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
18505 maybe-mostlyclean-gprof:
18506 @if gprof
18507 maybe-mostlyclean-gprof: mostlyclean-gprof
18509 mostlyclean-gprof:
18510 @: $(MAKE); $(unstage)
18511 @[ -f ./gprof/Makefile ] || exit 0; \
18512 r=`${PWD_COMMAND}`; export r; \
18513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18514 $(HOST_EXPORTS) \
18515 for flag in $(EXTRA_HOST_FLAGS) ; do \
18516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18517 done; \
18518 echo "Doing mostlyclean in gprof"; \
18519 (cd $(HOST_SUBDIR)/gprof && \
18520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18522 "RANLIB=$${RANLIB}" \
18523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18524 mostlyclean) \
18525 || exit 1
18527 @endif gprof
18529 .PHONY: maybe-clean-gprof clean-gprof
18530 maybe-clean-gprof:
18531 @if gprof
18532 maybe-clean-gprof: clean-gprof
18534 clean-gprof:
18535 @: $(MAKE); $(unstage)
18536 @[ -f ./gprof/Makefile ] || exit 0; \
18537 r=`${PWD_COMMAND}`; export r; \
18538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18539 $(HOST_EXPORTS) \
18540 for flag in $(EXTRA_HOST_FLAGS) ; do \
18541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18542 done; \
18543 echo "Doing clean in gprof"; \
18544 (cd $(HOST_SUBDIR)/gprof && \
18545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18547 "RANLIB=$${RANLIB}" \
18548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18549 clean) \
18550 || exit 1
18552 @endif gprof
18554 .PHONY: maybe-distclean-gprof distclean-gprof
18555 maybe-distclean-gprof:
18556 @if gprof
18557 maybe-distclean-gprof: distclean-gprof
18559 distclean-gprof:
18560 @: $(MAKE); $(unstage)
18561 @[ -f ./gprof/Makefile ] || exit 0; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(HOST_EXPORTS) \
18565 for flag in $(EXTRA_HOST_FLAGS) ; do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 done; \
18568 echo "Doing distclean in gprof"; \
18569 (cd $(HOST_SUBDIR)/gprof && \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18574 distclean) \
18575 || exit 1
18577 @endif gprof
18579 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
18580 maybe-maintainer-clean-gprof:
18581 @if gprof
18582 maybe-maintainer-clean-gprof: maintainer-clean-gprof
18584 maintainer-clean-gprof:
18585 @: $(MAKE); $(unstage)
18586 @[ -f ./gprof/Makefile ] || exit 0; \
18587 r=`${PWD_COMMAND}`; export r; \
18588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18589 $(HOST_EXPORTS) \
18590 for flag in $(EXTRA_HOST_FLAGS) ; do \
18591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18592 done; \
18593 echo "Doing maintainer-clean in gprof"; \
18594 (cd $(HOST_SUBDIR)/gprof && \
18595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18597 "RANLIB=$${RANLIB}" \
18598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18599 maintainer-clean) \
18600 || exit 1
18602 @endif gprof
18606 .PHONY: configure-intl maybe-configure-intl
18607 maybe-configure-intl:
18608 @if gcc-bootstrap
18609 configure-intl: stage_current
18610 @endif gcc-bootstrap
18611 @if intl
18612 maybe-configure-intl: configure-intl
18613 configure-intl:
18614 @r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18618 $(HOST_EXPORTS) \
18619 echo Configuring in $(HOST_SUBDIR)/intl; \
18620 cd "$(HOST_SUBDIR)/intl" || exit 1; \
18621 case $(srcdir) in \
18622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18623 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18625 esac; \
18626 module_srcdir=intl; \
18627 $(SHELL) \
18628 $$s/$$module_srcdir/configure \
18629 --srcdir=$${topdir}/$$module_srcdir \
18630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18631 --target=${target_alias} \
18632 || exit 1
18633 @endif intl
18637 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
18638 maybe-configure-stage1-intl:
18639 @if intl-bootstrap
18640 maybe-configure-stage1-intl: configure-stage1-intl
18641 configure-stage1-intl:
18642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18644 @r=`${PWD_COMMAND}`; export r; \
18645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18646 TFLAGS="$(STAGE1_TFLAGS)"; \
18647 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18648 $(HOST_EXPORTS) \
18649 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18650 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18651 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18652 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
18653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18654 cd $(HOST_SUBDIR)/intl || exit 1; \
18655 case $(srcdir) in \
18656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18657 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18659 esac; \
18660 module_srcdir=intl; \
18661 $(SHELL) $$s/$$module_srcdir/configure \
18662 --srcdir=$${topdir}/$$module_srcdir \
18663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18664 --target=${target_alias} \
18666 $(STAGE1_CONFIGURE_FLAGS)
18667 @endif intl-bootstrap
18669 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
18670 maybe-configure-stage2-intl:
18671 @if intl-bootstrap
18672 maybe-configure-stage2-intl: configure-stage2-intl
18673 configure-stage2-intl:
18674 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18676 @r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 TFLAGS="$(STAGE2_TFLAGS)"; \
18679 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18680 $(HOST_EXPORTS) \
18681 $(POSTSTAGE1_HOST_EXPORTS) \
18682 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18683 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18684 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18685 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
18686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18687 cd $(HOST_SUBDIR)/intl || exit 1; \
18688 case $(srcdir) in \
18689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18690 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18692 esac; \
18693 module_srcdir=intl; \
18694 $(SHELL) $$s/$$module_srcdir/configure \
18695 --srcdir=$${topdir}/$$module_srcdir \
18696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18697 --target=${target_alias} \
18698 --with-build-libsubdir=$(HOST_SUBDIR) \
18699 $(STAGE2_CONFIGURE_FLAGS)
18700 @endif intl-bootstrap
18702 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
18703 maybe-configure-stage3-intl:
18704 @if intl-bootstrap
18705 maybe-configure-stage3-intl: configure-stage3-intl
18706 configure-stage3-intl:
18707 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18709 @r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 TFLAGS="$(STAGE3_TFLAGS)"; \
18712 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18713 $(HOST_EXPORTS) \
18714 $(POSTSTAGE1_HOST_EXPORTS) \
18715 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18716 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18717 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18718 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
18719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18720 cd $(HOST_SUBDIR)/intl || exit 1; \
18721 case $(srcdir) in \
18722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18723 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18725 esac; \
18726 module_srcdir=intl; \
18727 $(SHELL) $$s/$$module_srcdir/configure \
18728 --srcdir=$${topdir}/$$module_srcdir \
18729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18730 --target=${target_alias} \
18731 --with-build-libsubdir=$(HOST_SUBDIR) \
18732 $(STAGE3_CONFIGURE_FLAGS)
18733 @endif intl-bootstrap
18735 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
18736 maybe-configure-stage4-intl:
18737 @if intl-bootstrap
18738 maybe-configure-stage4-intl: configure-stage4-intl
18739 configure-stage4-intl:
18740 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18742 @r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 TFLAGS="$(STAGE4_TFLAGS)"; \
18745 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18746 $(HOST_EXPORTS) \
18747 $(POSTSTAGE1_HOST_EXPORTS) \
18748 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18749 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18750 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18751 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
18752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18753 cd $(HOST_SUBDIR)/intl || exit 1; \
18754 case $(srcdir) in \
18755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18756 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18758 esac; \
18759 module_srcdir=intl; \
18760 $(SHELL) $$s/$$module_srcdir/configure \
18761 --srcdir=$${topdir}/$$module_srcdir \
18762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18763 --target=${target_alias} \
18764 --with-build-libsubdir=$(HOST_SUBDIR) \
18765 $(STAGE4_CONFIGURE_FLAGS)
18766 @endif intl-bootstrap
18768 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
18769 maybe-configure-stageprofile-intl:
18770 @if intl-bootstrap
18771 maybe-configure-stageprofile-intl: configure-stageprofile-intl
18772 configure-stageprofile-intl:
18773 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18775 @r=`${PWD_COMMAND}`; export r; \
18776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18777 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18778 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18779 $(HOST_EXPORTS) \
18780 $(POSTSTAGE1_HOST_EXPORTS) \
18781 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18782 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18783 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18784 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
18785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18786 cd $(HOST_SUBDIR)/intl || exit 1; \
18787 case $(srcdir) in \
18788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18789 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18791 esac; \
18792 module_srcdir=intl; \
18793 $(SHELL) $$s/$$module_srcdir/configure \
18794 --srcdir=$${topdir}/$$module_srcdir \
18795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18796 --target=${target_alias} \
18797 --with-build-libsubdir=$(HOST_SUBDIR) \
18798 $(STAGEprofile_CONFIGURE_FLAGS)
18799 @endif intl-bootstrap
18801 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
18802 maybe-configure-stagefeedback-intl:
18803 @if intl-bootstrap
18804 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
18805 configure-stagefeedback-intl:
18806 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18808 @r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18811 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18812 $(HOST_EXPORTS) \
18813 $(POSTSTAGE1_HOST_EXPORTS) \
18814 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18815 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18816 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18817 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
18818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18819 cd $(HOST_SUBDIR)/intl || exit 1; \
18820 case $(srcdir) in \
18821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18822 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18824 esac; \
18825 module_srcdir=intl; \
18826 $(SHELL) $$s/$$module_srcdir/configure \
18827 --srcdir=$${topdir}/$$module_srcdir \
18828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18829 --target=${target_alias} \
18830 --with-build-libsubdir=$(HOST_SUBDIR) \
18831 $(STAGEfeedback_CONFIGURE_FLAGS)
18832 @endif intl-bootstrap
18834 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
18835 maybe-configure-stageautoprofile-intl:
18836 @if intl-bootstrap
18837 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
18838 configure-stageautoprofile-intl:
18839 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18841 @r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18844 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18845 $(HOST_EXPORTS) \
18846 $(POSTSTAGE1_HOST_EXPORTS) \
18847 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18848 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18849 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18850 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
18851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18852 cd $(HOST_SUBDIR)/intl || exit 1; \
18853 case $(srcdir) in \
18854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18855 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18857 esac; \
18858 module_srcdir=intl; \
18859 $(SHELL) $$s/$$module_srcdir/configure \
18860 --srcdir=$${topdir}/$$module_srcdir \
18861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18862 --target=${target_alias} \
18863 --with-build-libsubdir=$(HOST_SUBDIR) \
18864 $(STAGEautoprofile_CONFIGURE_FLAGS)
18865 @endif intl-bootstrap
18867 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
18868 maybe-configure-stageautofeedback-intl:
18869 @if intl-bootstrap
18870 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
18871 configure-stageautofeedback-intl:
18872 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18874 @r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18877 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18878 $(HOST_EXPORTS) \
18879 $(POSTSTAGE1_HOST_EXPORTS) \
18880 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18881 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18882 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18883 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
18884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18885 cd $(HOST_SUBDIR)/intl || exit 1; \
18886 case $(srcdir) in \
18887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18888 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18890 esac; \
18891 module_srcdir=intl; \
18892 $(SHELL) $$s/$$module_srcdir/configure \
18893 --srcdir=$${topdir}/$$module_srcdir \
18894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18895 --target=${target_alias} \
18896 --with-build-libsubdir=$(HOST_SUBDIR) \
18897 $(STAGEautofeedback_CONFIGURE_FLAGS)
18898 @endif intl-bootstrap
18904 .PHONY: all-intl maybe-all-intl
18905 maybe-all-intl:
18906 @if gcc-bootstrap
18907 all-intl: stage_current
18908 @endif gcc-bootstrap
18909 @if intl
18910 TARGET-intl=all
18911 maybe-all-intl: all-intl
18912 all-intl: configure-intl
18913 @r=`${PWD_COMMAND}`; export r; \
18914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18915 $(HOST_EXPORTS) \
18916 (cd $(HOST_SUBDIR)/intl && \
18917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18918 $(TARGET-intl))
18919 @endif intl
18923 .PHONY: all-stage1-intl maybe-all-stage1-intl
18924 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
18925 maybe-all-stage1-intl:
18926 maybe-clean-stage1-intl:
18927 @if intl-bootstrap
18928 maybe-all-stage1-intl: all-stage1-intl
18929 all-stage1: all-stage1-intl
18930 TARGET-stage1-intl = $(TARGET-intl)
18931 all-stage1-intl: configure-stage1-intl
18932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18933 @r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 TFLAGS="$(STAGE1_TFLAGS)"; \
18936 $(HOST_EXPORTS) \
18937 cd $(HOST_SUBDIR)/intl && \
18939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18940 CFLAGS="$(STAGE1_CFLAGS)" \
18941 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18942 LIBCFLAGS="$(LIBCFLAGS)" \
18943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18946 $(EXTRA_HOST_FLAGS) \
18947 $(STAGE1_FLAGS_TO_PASS) \
18948 TFLAGS="$(STAGE1_TFLAGS)" \
18949 $(TARGET-stage1-intl)
18951 maybe-clean-stage1-intl: clean-stage1-intl
18952 clean-stage1: clean-stage1-intl
18953 clean-stage1-intl:
18954 @if [ $(current_stage) = stage1 ]; then \
18955 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18956 else \
18957 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
18958 $(MAKE) stage1-start; \
18959 fi; \
18960 cd $(HOST_SUBDIR)/intl && \
18961 $(MAKE) $(EXTRA_HOST_FLAGS) \
18962 $(STAGE1_FLAGS_TO_PASS) clean
18963 @endif intl-bootstrap
18966 .PHONY: all-stage2-intl maybe-all-stage2-intl
18967 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
18968 maybe-all-stage2-intl:
18969 maybe-clean-stage2-intl:
18970 @if intl-bootstrap
18971 maybe-all-stage2-intl: all-stage2-intl
18972 all-stage2: all-stage2-intl
18973 TARGET-stage2-intl = $(TARGET-intl)
18974 all-stage2-intl: configure-stage2-intl
18975 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18976 @r=`${PWD_COMMAND}`; export r; \
18977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18978 TFLAGS="$(STAGE2_TFLAGS)"; \
18979 $(HOST_EXPORTS) \
18980 $(POSTSTAGE1_HOST_EXPORTS) \
18981 cd $(HOST_SUBDIR)/intl && \
18983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18984 CFLAGS="$(STAGE2_CFLAGS)" \
18985 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18986 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18991 TFLAGS="$(STAGE2_TFLAGS)" \
18992 $(TARGET-stage2-intl)
18994 maybe-clean-stage2-intl: clean-stage2-intl
18995 clean-stage2: clean-stage2-intl
18996 clean-stage2-intl:
18997 @if [ $(current_stage) = stage2 ]; then \
18998 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18999 else \
19000 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19001 $(MAKE) stage2-start; \
19002 fi; \
19003 cd $(HOST_SUBDIR)/intl && \
19004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19005 @endif intl-bootstrap
19008 .PHONY: all-stage3-intl maybe-all-stage3-intl
19009 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19010 maybe-all-stage3-intl:
19011 maybe-clean-stage3-intl:
19012 @if intl-bootstrap
19013 maybe-all-stage3-intl: all-stage3-intl
19014 all-stage3: all-stage3-intl
19015 TARGET-stage3-intl = $(TARGET-intl)
19016 all-stage3-intl: configure-stage3-intl
19017 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19018 @r=`${PWD_COMMAND}`; export r; \
19019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19020 TFLAGS="$(STAGE3_TFLAGS)"; \
19021 $(HOST_EXPORTS) \
19022 $(POSTSTAGE1_HOST_EXPORTS) \
19023 cd $(HOST_SUBDIR)/intl && \
19025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19026 CFLAGS="$(STAGE3_CFLAGS)" \
19027 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19028 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19033 TFLAGS="$(STAGE3_TFLAGS)" \
19034 $(TARGET-stage3-intl)
19036 maybe-clean-stage3-intl: clean-stage3-intl
19037 clean-stage3: clean-stage3-intl
19038 clean-stage3-intl:
19039 @if [ $(current_stage) = stage3 ]; then \
19040 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19041 else \
19042 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19043 $(MAKE) stage3-start; \
19044 fi; \
19045 cd $(HOST_SUBDIR)/intl && \
19046 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19047 @endif intl-bootstrap
19050 .PHONY: all-stage4-intl maybe-all-stage4-intl
19051 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19052 maybe-all-stage4-intl:
19053 maybe-clean-stage4-intl:
19054 @if intl-bootstrap
19055 maybe-all-stage4-intl: all-stage4-intl
19056 all-stage4: all-stage4-intl
19057 TARGET-stage4-intl = $(TARGET-intl)
19058 all-stage4-intl: configure-stage4-intl
19059 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19060 @r=`${PWD_COMMAND}`; export r; \
19061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19062 TFLAGS="$(STAGE4_TFLAGS)"; \
19063 $(HOST_EXPORTS) \
19064 $(POSTSTAGE1_HOST_EXPORTS) \
19065 cd $(HOST_SUBDIR)/intl && \
19067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19068 CFLAGS="$(STAGE4_CFLAGS)" \
19069 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19070 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19074 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19075 TFLAGS="$(STAGE4_TFLAGS)" \
19076 $(TARGET-stage4-intl)
19078 maybe-clean-stage4-intl: clean-stage4-intl
19079 clean-stage4: clean-stage4-intl
19080 clean-stage4-intl:
19081 @if [ $(current_stage) = stage4 ]; then \
19082 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19083 else \
19084 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
19085 $(MAKE) stage4-start; \
19086 fi; \
19087 cd $(HOST_SUBDIR)/intl && \
19088 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19089 @endif intl-bootstrap
19092 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
19093 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
19094 maybe-all-stageprofile-intl:
19095 maybe-clean-stageprofile-intl:
19096 @if intl-bootstrap
19097 maybe-all-stageprofile-intl: all-stageprofile-intl
19098 all-stageprofile: all-stageprofile-intl
19099 TARGET-stageprofile-intl = $(TARGET-intl)
19100 all-stageprofile-intl: configure-stageprofile-intl
19101 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19105 $(HOST_EXPORTS) \
19106 $(POSTSTAGE1_HOST_EXPORTS) \
19107 cd $(HOST_SUBDIR)/intl && \
19109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19110 CFLAGS="$(STAGEprofile_CFLAGS)" \
19111 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19112 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19117 TFLAGS="$(STAGEprofile_TFLAGS)" \
19118 $(TARGET-stageprofile-intl)
19120 maybe-clean-stageprofile-intl: clean-stageprofile-intl
19121 clean-stageprofile: clean-stageprofile-intl
19122 clean-stageprofile-intl:
19123 @if [ $(current_stage) = stageprofile ]; then \
19124 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19125 else \
19126 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
19127 $(MAKE) stageprofile-start; \
19128 fi; \
19129 cd $(HOST_SUBDIR)/intl && \
19130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19131 @endif intl-bootstrap
19134 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
19135 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
19136 maybe-all-stagefeedback-intl:
19137 maybe-clean-stagefeedback-intl:
19138 @if intl-bootstrap
19139 maybe-all-stagefeedback-intl: all-stagefeedback-intl
19140 all-stagefeedback: all-stagefeedback-intl
19141 TARGET-stagefeedback-intl = $(TARGET-intl)
19142 all-stagefeedback-intl: configure-stagefeedback-intl
19143 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19144 @r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19146 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19147 $(HOST_EXPORTS) \
19148 $(POSTSTAGE1_HOST_EXPORTS) \
19149 cd $(HOST_SUBDIR)/intl && \
19151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19152 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19153 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19154 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19159 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19160 $(TARGET-stagefeedback-intl)
19162 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
19163 clean-stagefeedback: clean-stagefeedback-intl
19164 clean-stagefeedback-intl:
19165 @if [ $(current_stage) = stagefeedback ]; then \
19166 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19167 else \
19168 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
19169 $(MAKE) stagefeedback-start; \
19170 fi; \
19171 cd $(HOST_SUBDIR)/intl && \
19172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19173 @endif intl-bootstrap
19176 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
19177 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
19178 maybe-all-stageautoprofile-intl:
19179 maybe-clean-stageautoprofile-intl:
19180 @if intl-bootstrap
19181 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
19182 all-stageautoprofile: all-stageautoprofile-intl
19183 TARGET-stageautoprofile-intl = $(TARGET-intl)
19184 all-stageautoprofile-intl: configure-stageautoprofile-intl
19185 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19186 @r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19189 $(HOST_EXPORTS) \
19190 $(POSTSTAGE1_HOST_EXPORTS) \
19191 cd $(HOST_SUBDIR)/intl && \
19192 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19194 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19195 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19196 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19201 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19202 $(TARGET-stageautoprofile-intl)
19204 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
19205 clean-stageautoprofile: clean-stageautoprofile-intl
19206 clean-stageautoprofile-intl:
19207 @if [ $(current_stage) = stageautoprofile ]; then \
19208 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19209 else \
19210 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
19211 $(MAKE) stageautoprofile-start; \
19212 fi; \
19213 cd $(HOST_SUBDIR)/intl && \
19214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19215 @endif intl-bootstrap
19218 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
19219 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
19220 maybe-all-stageautofeedback-intl:
19221 maybe-clean-stageautofeedback-intl:
19222 @if intl-bootstrap
19223 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
19224 all-stageautofeedback: all-stageautofeedback-intl
19225 TARGET-stageautofeedback-intl = $(TARGET-intl)
19226 all-stageautofeedback-intl: configure-stageautofeedback-intl
19227 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19228 @r=`${PWD_COMMAND}`; export r; \
19229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19230 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19231 $(HOST_EXPORTS) \
19232 $(POSTSTAGE1_HOST_EXPORTS) \
19233 cd $(HOST_SUBDIR)/intl && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19236 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19237 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19238 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19243 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19244 $(TARGET-stageautofeedback-intl)
19246 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
19247 clean-stageautofeedback: clean-stageautofeedback-intl
19248 clean-stageautofeedback-intl:
19249 @if [ $(current_stage) = stageautofeedback ]; then \
19250 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19251 else \
19252 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
19253 $(MAKE) stageautofeedback-start; \
19254 fi; \
19255 cd $(HOST_SUBDIR)/intl && \
19256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19257 @endif intl-bootstrap
19263 .PHONY: check-intl maybe-check-intl
19264 maybe-check-intl:
19265 @if intl
19266 maybe-check-intl: check-intl
19268 check-intl:
19269 @: $(MAKE); $(unstage)
19270 @r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19273 (cd $(HOST_SUBDIR)/intl && \
19274 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19276 @endif intl
19278 .PHONY: install-intl maybe-install-intl
19279 maybe-install-intl:
19280 @if intl
19281 maybe-install-intl: install-intl
19283 install-intl: installdirs
19284 @: $(MAKE); $(unstage)
19285 @r=`${PWD_COMMAND}`; export r; \
19286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19287 $(HOST_EXPORTS) \
19288 (cd $(HOST_SUBDIR)/intl && \
19289 $(MAKE) $(FLAGS_TO_PASS) install)
19291 @endif intl
19293 .PHONY: install-strip-intl maybe-install-strip-intl
19294 maybe-install-strip-intl:
19295 @if intl
19296 maybe-install-strip-intl: install-strip-intl
19298 install-strip-intl: installdirs
19299 @: $(MAKE); $(unstage)
19300 @r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(HOST_EXPORTS) \
19303 (cd $(HOST_SUBDIR)/intl && \
19304 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19306 @endif intl
19308 # Other targets (info, dvi, pdf, etc.)
19310 .PHONY: maybe-info-intl info-intl
19311 maybe-info-intl:
19312 @if intl
19313 maybe-info-intl: info-intl
19315 info-intl: \
19316 configure-intl
19317 @[ -f ./intl/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing info in intl"; \
19325 (cd $(HOST_SUBDIR)/intl && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19330 info) \
19331 || exit 1
19333 @endif intl
19335 .PHONY: maybe-dvi-intl dvi-intl
19336 maybe-dvi-intl:
19337 @if intl
19338 maybe-dvi-intl: dvi-intl
19340 dvi-intl: \
19341 configure-intl
19342 @[ -f ./intl/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(HOST_EXPORTS) \
19346 for flag in $(EXTRA_HOST_FLAGS) ; do \
19347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348 done; \
19349 echo "Doing dvi in intl"; \
19350 (cd $(HOST_SUBDIR)/intl && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353 "RANLIB=$${RANLIB}" \
19354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19355 dvi) \
19356 || exit 1
19358 @endif intl
19360 .PHONY: maybe-pdf-intl pdf-intl
19361 maybe-pdf-intl:
19362 @if intl
19363 maybe-pdf-intl: pdf-intl
19365 pdf-intl: \
19366 configure-intl
19367 @[ -f ./intl/Makefile ] || exit 0; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370 $(HOST_EXPORTS) \
19371 for flag in $(EXTRA_HOST_FLAGS) ; do \
19372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19373 done; \
19374 echo "Doing pdf in intl"; \
19375 (cd $(HOST_SUBDIR)/intl && \
19376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378 "RANLIB=$${RANLIB}" \
19379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19380 pdf) \
19381 || exit 1
19383 @endif intl
19385 .PHONY: maybe-html-intl html-intl
19386 maybe-html-intl:
19387 @if intl
19388 maybe-html-intl: html-intl
19390 html-intl: \
19391 configure-intl
19392 @[ -f ./intl/Makefile ] || exit 0; \
19393 r=`${PWD_COMMAND}`; export r; \
19394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19395 $(HOST_EXPORTS) \
19396 for flag in $(EXTRA_HOST_FLAGS) ; do \
19397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19398 done; \
19399 echo "Doing html in intl"; \
19400 (cd $(HOST_SUBDIR)/intl && \
19401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19403 "RANLIB=$${RANLIB}" \
19404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19405 html) \
19406 || exit 1
19408 @endif intl
19410 .PHONY: maybe-TAGS-intl TAGS-intl
19411 maybe-TAGS-intl:
19412 @if intl
19413 maybe-TAGS-intl: TAGS-intl
19415 TAGS-intl: \
19416 configure-intl
19417 @[ -f ./intl/Makefile ] || exit 0; \
19418 r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 $(HOST_EXPORTS) \
19421 for flag in $(EXTRA_HOST_FLAGS) ; do \
19422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19423 done; \
19424 echo "Doing TAGS in intl"; \
19425 (cd $(HOST_SUBDIR)/intl && \
19426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19428 "RANLIB=$${RANLIB}" \
19429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19430 TAGS) \
19431 || exit 1
19433 @endif intl
19435 .PHONY: maybe-install-info-intl install-info-intl
19436 maybe-install-info-intl:
19437 @if intl
19438 maybe-install-info-intl: install-info-intl
19440 install-info-intl: \
19441 configure-intl \
19442 info-intl
19443 @[ -f ./intl/Makefile ] || exit 0; \
19444 r=`${PWD_COMMAND}`; export r; \
19445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19446 $(HOST_EXPORTS) \
19447 for flag in $(EXTRA_HOST_FLAGS) ; do \
19448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19449 done; \
19450 echo "Doing install-info in intl"; \
19451 (cd $(HOST_SUBDIR)/intl && \
19452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19454 "RANLIB=$${RANLIB}" \
19455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19456 install-info) \
19457 || exit 1
19459 @endif intl
19461 .PHONY: maybe-install-pdf-intl install-pdf-intl
19462 maybe-install-pdf-intl:
19463 @if intl
19464 maybe-install-pdf-intl: install-pdf-intl
19466 install-pdf-intl: \
19467 configure-intl \
19468 pdf-intl
19469 @[ -f ./intl/Makefile ] || exit 0; \
19470 r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472 $(HOST_EXPORTS) \
19473 for flag in $(EXTRA_HOST_FLAGS) ; do \
19474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19475 done; \
19476 echo "Doing install-pdf in intl"; \
19477 (cd $(HOST_SUBDIR)/intl && \
19478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19480 "RANLIB=$${RANLIB}" \
19481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19482 install-pdf) \
19483 || exit 1
19485 @endif intl
19487 .PHONY: maybe-install-html-intl install-html-intl
19488 maybe-install-html-intl:
19489 @if intl
19490 maybe-install-html-intl: install-html-intl
19492 install-html-intl: \
19493 configure-intl \
19494 html-intl
19495 @[ -f ./intl/Makefile ] || exit 0; \
19496 r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(HOST_EXPORTS) \
19499 for flag in $(EXTRA_HOST_FLAGS) ; do \
19500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19501 done; \
19502 echo "Doing install-html in intl"; \
19503 (cd $(HOST_SUBDIR)/intl && \
19504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19506 "RANLIB=$${RANLIB}" \
19507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19508 install-html) \
19509 || exit 1
19511 @endif intl
19513 .PHONY: maybe-installcheck-intl installcheck-intl
19514 maybe-installcheck-intl:
19515 @if intl
19516 maybe-installcheck-intl: installcheck-intl
19518 installcheck-intl: \
19519 configure-intl
19520 @[ -f ./intl/Makefile ] || exit 0; \
19521 r=`${PWD_COMMAND}`; export r; \
19522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19523 $(HOST_EXPORTS) \
19524 for flag in $(EXTRA_HOST_FLAGS) ; do \
19525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19526 done; \
19527 echo "Doing installcheck in intl"; \
19528 (cd $(HOST_SUBDIR)/intl && \
19529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19531 "RANLIB=$${RANLIB}" \
19532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19533 installcheck) \
19534 || exit 1
19536 @endif intl
19538 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
19539 maybe-mostlyclean-intl:
19540 @if intl
19541 maybe-mostlyclean-intl: mostlyclean-intl
19543 mostlyclean-intl:
19544 @[ -f ./intl/Makefile ] || exit 0; \
19545 r=`${PWD_COMMAND}`; export r; \
19546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547 $(HOST_EXPORTS) \
19548 for flag in $(EXTRA_HOST_FLAGS) ; do \
19549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19550 done; \
19551 echo "Doing mostlyclean in intl"; \
19552 (cd $(HOST_SUBDIR)/intl && \
19553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19555 "RANLIB=$${RANLIB}" \
19556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19557 mostlyclean) \
19558 || exit 1
19560 @endif intl
19562 .PHONY: maybe-clean-intl clean-intl
19563 maybe-clean-intl:
19564 @if intl
19565 maybe-clean-intl: clean-intl
19567 clean-intl:
19568 @[ -f ./intl/Makefile ] || exit 0; \
19569 r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(HOST_EXPORTS) \
19572 for flag in $(EXTRA_HOST_FLAGS) ; do \
19573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19574 done; \
19575 echo "Doing clean in intl"; \
19576 (cd $(HOST_SUBDIR)/intl && \
19577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19579 "RANLIB=$${RANLIB}" \
19580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19581 clean) \
19582 || exit 1
19584 @endif intl
19586 .PHONY: maybe-distclean-intl distclean-intl
19587 maybe-distclean-intl:
19588 @if intl
19589 maybe-distclean-intl: distclean-intl
19591 distclean-intl:
19592 @[ -f ./intl/Makefile ] || exit 0; \
19593 r=`${PWD_COMMAND}`; export r; \
19594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19595 $(HOST_EXPORTS) \
19596 for flag in $(EXTRA_HOST_FLAGS) ; do \
19597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19598 done; \
19599 echo "Doing distclean in intl"; \
19600 (cd $(HOST_SUBDIR)/intl && \
19601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19603 "RANLIB=$${RANLIB}" \
19604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19605 distclean) \
19606 || exit 1
19608 @endif intl
19610 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
19611 maybe-maintainer-clean-intl:
19612 @if intl
19613 maybe-maintainer-clean-intl: maintainer-clean-intl
19615 maintainer-clean-intl:
19616 @[ -f ./intl/Makefile ] || exit 0; \
19617 r=`${PWD_COMMAND}`; export r; \
19618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19619 $(HOST_EXPORTS) \
19620 for flag in $(EXTRA_HOST_FLAGS) ; do \
19621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19622 done; \
19623 echo "Doing maintainer-clean in intl"; \
19624 (cd $(HOST_SUBDIR)/intl && \
19625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19627 "RANLIB=$${RANLIB}" \
19628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19629 maintainer-clean) \
19630 || exit 1
19632 @endif intl
19636 .PHONY: configure-tcl maybe-configure-tcl
19637 maybe-configure-tcl:
19638 @if gcc-bootstrap
19639 configure-tcl: stage_current
19640 @endif gcc-bootstrap
19641 @if tcl
19642 maybe-configure-tcl: configure-tcl
19643 configure-tcl:
19644 @: $(MAKE); $(unstage)
19645 @r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
19648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
19649 $(HOST_EXPORTS) \
19650 echo Configuring in $(HOST_SUBDIR)/tcl; \
19651 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
19652 case $(srcdir) in \
19653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19654 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
19655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19656 esac; \
19657 module_srcdir=tcl; \
19658 $(SHELL) \
19659 $$s/$$module_srcdir/configure \
19660 --srcdir=$${topdir}/$$module_srcdir \
19661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19662 --target=${target_alias} \
19663 || exit 1
19664 @endif tcl
19670 .PHONY: all-tcl maybe-all-tcl
19671 maybe-all-tcl:
19672 @if gcc-bootstrap
19673 all-tcl: stage_current
19674 @endif gcc-bootstrap
19675 @if tcl
19676 TARGET-tcl=all
19677 maybe-all-tcl: all-tcl
19678 all-tcl: configure-tcl
19679 @: $(MAKE); $(unstage)
19680 @r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 $(HOST_EXPORTS) \
19683 (cd $(HOST_SUBDIR)/tcl && \
19684 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19685 $(TARGET-tcl))
19686 @endif tcl
19691 .PHONY: check-tcl maybe-check-tcl
19692 maybe-check-tcl:
19693 @if tcl
19694 maybe-check-tcl: check-tcl
19696 check-tcl:
19697 @: $(MAKE); $(unstage)
19698 @r=`${PWD_COMMAND}`; export r; \
19699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 $(HOST_EXPORTS) \
19701 (cd $(HOST_SUBDIR)/tcl && \
19702 $(MAKE) $(FLAGS_TO_PASS) check)
19704 @endif tcl
19706 .PHONY: install-tcl maybe-install-tcl
19707 maybe-install-tcl:
19708 @if tcl
19709 maybe-install-tcl: install-tcl
19711 install-tcl: installdirs
19712 @: $(MAKE); $(unstage)
19713 @r=`${PWD_COMMAND}`; export r; \
19714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19715 $(HOST_EXPORTS) \
19716 (cd $(HOST_SUBDIR)/tcl && \
19717 $(MAKE) $(FLAGS_TO_PASS) install)
19719 @endif tcl
19721 .PHONY: install-strip-tcl maybe-install-strip-tcl
19722 maybe-install-strip-tcl:
19723 @if tcl
19724 maybe-install-strip-tcl: install-strip-tcl
19726 install-strip-tcl: installdirs
19727 @: $(MAKE); $(unstage)
19728 @r=`${PWD_COMMAND}`; export r; \
19729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19730 $(HOST_EXPORTS) \
19731 (cd $(HOST_SUBDIR)/tcl && \
19732 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19734 @endif tcl
19736 # Other targets (info, dvi, pdf, etc.)
19738 .PHONY: maybe-info-tcl info-tcl
19739 maybe-info-tcl:
19740 @if tcl
19741 maybe-info-tcl: info-tcl
19743 info-tcl: \
19744 configure-tcl
19745 @: $(MAKE); $(unstage)
19746 @[ -f ./tcl/Makefile ] || exit 0; \
19747 r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(HOST_EXPORTS) \
19750 for flag in $(EXTRA_HOST_FLAGS) ; do \
19751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19752 done; \
19753 echo "Doing info in tcl"; \
19754 (cd $(HOST_SUBDIR)/tcl && \
19755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19757 "RANLIB=$${RANLIB}" \
19758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19759 info) \
19760 || exit 1
19762 @endif tcl
19764 .PHONY: maybe-dvi-tcl dvi-tcl
19765 maybe-dvi-tcl:
19766 @if tcl
19767 maybe-dvi-tcl: dvi-tcl
19769 dvi-tcl: \
19770 configure-tcl
19771 @: $(MAKE); $(unstage)
19772 @[ -f ./tcl/Makefile ] || exit 0; \
19773 r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 $(HOST_EXPORTS) \
19776 for flag in $(EXTRA_HOST_FLAGS) ; do \
19777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19778 done; \
19779 echo "Doing dvi in tcl"; \
19780 (cd $(HOST_SUBDIR)/tcl && \
19781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19783 "RANLIB=$${RANLIB}" \
19784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19785 dvi) \
19786 || exit 1
19788 @endif tcl
19790 .PHONY: maybe-pdf-tcl pdf-tcl
19791 maybe-pdf-tcl:
19792 @if tcl
19793 maybe-pdf-tcl: pdf-tcl
19795 pdf-tcl: \
19796 configure-tcl
19797 @: $(MAKE); $(unstage)
19798 @[ -f ./tcl/Makefile ] || exit 0; \
19799 r=`${PWD_COMMAND}`; export r; \
19800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19801 $(HOST_EXPORTS) \
19802 for flag in $(EXTRA_HOST_FLAGS) ; do \
19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19804 done; \
19805 echo "Doing pdf in tcl"; \
19806 (cd $(HOST_SUBDIR)/tcl && \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19811 pdf) \
19812 || exit 1
19814 @endif tcl
19816 .PHONY: maybe-html-tcl html-tcl
19817 maybe-html-tcl:
19818 @if tcl
19819 maybe-html-tcl: html-tcl
19821 html-tcl: \
19822 configure-tcl
19823 @: $(MAKE); $(unstage)
19824 @[ -f ./tcl/Makefile ] || exit 0; \
19825 r=`${PWD_COMMAND}`; export r; \
19826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19827 $(HOST_EXPORTS) \
19828 for flag in $(EXTRA_HOST_FLAGS) ; do \
19829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19830 done; \
19831 echo "Doing html in tcl"; \
19832 (cd $(HOST_SUBDIR)/tcl && \
19833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19835 "RANLIB=$${RANLIB}" \
19836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19837 html) \
19838 || exit 1
19840 @endif tcl
19842 .PHONY: maybe-TAGS-tcl TAGS-tcl
19843 maybe-TAGS-tcl:
19844 @if tcl
19845 maybe-TAGS-tcl: TAGS-tcl
19847 TAGS-tcl: \
19848 configure-tcl
19849 @: $(MAKE); $(unstage)
19850 @[ -f ./tcl/Makefile ] || exit 0; \
19851 r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 $(HOST_EXPORTS) \
19854 for flag in $(EXTRA_HOST_FLAGS) ; do \
19855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19856 done; \
19857 echo "Doing TAGS in tcl"; \
19858 (cd $(HOST_SUBDIR)/tcl && \
19859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19861 "RANLIB=$${RANLIB}" \
19862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19863 TAGS) \
19864 || exit 1
19866 @endif tcl
19868 .PHONY: maybe-install-info-tcl install-info-tcl
19869 maybe-install-info-tcl:
19870 @if tcl
19871 maybe-install-info-tcl: install-info-tcl
19873 install-info-tcl: \
19874 configure-tcl \
19875 info-tcl
19876 @: $(MAKE); $(unstage)
19877 @[ -f ./tcl/Makefile ] || exit 0; \
19878 r=`${PWD_COMMAND}`; export r; \
19879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19880 $(HOST_EXPORTS) \
19881 for flag in $(EXTRA_HOST_FLAGS) ; do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19883 done; \
19884 echo "Doing install-info in tcl"; \
19885 (cd $(HOST_SUBDIR)/tcl && \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19890 install-info) \
19891 || exit 1
19893 @endif tcl
19895 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
19896 maybe-install-pdf-tcl:
19897 @if tcl
19898 maybe-install-pdf-tcl: install-pdf-tcl
19900 install-pdf-tcl: \
19901 configure-tcl \
19902 pdf-tcl
19903 @: $(MAKE); $(unstage)
19904 @[ -f ./tcl/Makefile ] || exit 0; \
19905 r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 $(HOST_EXPORTS) \
19908 for flag in $(EXTRA_HOST_FLAGS) ; do \
19909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19910 done; \
19911 echo "Doing install-pdf in tcl"; \
19912 (cd $(HOST_SUBDIR)/tcl && \
19913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19915 "RANLIB=$${RANLIB}" \
19916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19917 install-pdf) \
19918 || exit 1
19920 @endif tcl
19922 .PHONY: maybe-install-html-tcl install-html-tcl
19923 maybe-install-html-tcl:
19924 @if tcl
19925 maybe-install-html-tcl: install-html-tcl
19927 install-html-tcl: \
19928 configure-tcl \
19929 html-tcl
19930 @: $(MAKE); $(unstage)
19931 @[ -f ./tcl/Makefile ] || exit 0; \
19932 r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934 $(HOST_EXPORTS) \
19935 for flag in $(EXTRA_HOST_FLAGS) ; do \
19936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19937 done; \
19938 echo "Doing install-html in tcl"; \
19939 (cd $(HOST_SUBDIR)/tcl && \
19940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19942 "RANLIB=$${RANLIB}" \
19943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19944 install-html) \
19945 || exit 1
19947 @endif tcl
19949 .PHONY: maybe-installcheck-tcl installcheck-tcl
19950 maybe-installcheck-tcl:
19951 @if tcl
19952 maybe-installcheck-tcl: installcheck-tcl
19954 installcheck-tcl: \
19955 configure-tcl
19956 @: $(MAKE); $(unstage)
19957 @[ -f ./tcl/Makefile ] || exit 0; \
19958 r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(HOST_EXPORTS) \
19961 for flag in $(EXTRA_HOST_FLAGS) ; do \
19962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19963 done; \
19964 echo "Doing installcheck in tcl"; \
19965 (cd $(HOST_SUBDIR)/tcl && \
19966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19968 "RANLIB=$${RANLIB}" \
19969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19970 installcheck) \
19971 || exit 1
19973 @endif tcl
19975 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
19976 maybe-mostlyclean-tcl:
19977 @if tcl
19978 maybe-mostlyclean-tcl: mostlyclean-tcl
19980 # tcl doesn't support mostlyclean.
19981 mostlyclean-tcl:
19983 @endif tcl
19985 .PHONY: maybe-clean-tcl clean-tcl
19986 maybe-clean-tcl:
19987 @if tcl
19988 maybe-clean-tcl: clean-tcl
19990 clean-tcl:
19991 @: $(MAKE); $(unstage)
19992 @[ -f ./tcl/Makefile ] || exit 0; \
19993 r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 $(HOST_EXPORTS) \
19996 for flag in $(EXTRA_HOST_FLAGS) ; do \
19997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19998 done; \
19999 echo "Doing clean in tcl"; \
20000 (cd $(HOST_SUBDIR)/tcl && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003 "RANLIB=$${RANLIB}" \
20004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20005 clean) \
20006 || exit 1
20008 @endif tcl
20010 .PHONY: maybe-distclean-tcl distclean-tcl
20011 maybe-distclean-tcl:
20012 @if tcl
20013 maybe-distclean-tcl: distclean-tcl
20015 distclean-tcl:
20016 @: $(MAKE); $(unstage)
20017 @[ -f ./tcl/Makefile ] || exit 0; \
20018 r=`${PWD_COMMAND}`; export r; \
20019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20020 $(HOST_EXPORTS) \
20021 for flag in $(EXTRA_HOST_FLAGS) ; do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023 done; \
20024 echo "Doing distclean in tcl"; \
20025 (cd $(HOST_SUBDIR)/tcl && \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20030 distclean) \
20031 || exit 1
20033 @endif tcl
20035 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
20036 maybe-maintainer-clean-tcl:
20037 @if tcl
20038 maybe-maintainer-clean-tcl: maintainer-clean-tcl
20040 maintainer-clean-tcl:
20041 @: $(MAKE); $(unstage)
20042 @[ -f ./tcl/Makefile ] || exit 0; \
20043 r=`${PWD_COMMAND}`; export r; \
20044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 $(HOST_EXPORTS) \
20046 for flag in $(EXTRA_HOST_FLAGS) ; do \
20047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20048 done; \
20049 echo "Doing maintainer-clean in tcl"; \
20050 (cd $(HOST_SUBDIR)/tcl && \
20051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20053 "RANLIB=$${RANLIB}" \
20054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20055 maintainer-clean) \
20056 || exit 1
20058 @endif tcl
20062 .PHONY: configure-itcl maybe-configure-itcl
20063 maybe-configure-itcl:
20064 @if gcc-bootstrap
20065 configure-itcl: stage_current
20066 @endif gcc-bootstrap
20067 @if itcl
20068 maybe-configure-itcl: configure-itcl
20069 configure-itcl:
20070 @: $(MAKE); $(unstage)
20071 @r=`${PWD_COMMAND}`; export r; \
20072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20073 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
20074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
20075 $(HOST_EXPORTS) \
20076 echo Configuring in $(HOST_SUBDIR)/itcl; \
20077 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
20078 case $(srcdir) in \
20079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20080 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
20081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20082 esac; \
20083 module_srcdir=itcl; \
20084 $(SHELL) \
20085 $$s/$$module_srcdir/configure \
20086 --srcdir=$${topdir}/$$module_srcdir \
20087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20088 --target=${target_alias} \
20089 || exit 1
20090 @endif itcl
20096 .PHONY: all-itcl maybe-all-itcl
20097 maybe-all-itcl:
20098 @if gcc-bootstrap
20099 all-itcl: stage_current
20100 @endif gcc-bootstrap
20101 @if itcl
20102 TARGET-itcl=all
20103 maybe-all-itcl: all-itcl
20104 all-itcl: configure-itcl
20105 @: $(MAKE); $(unstage)
20106 @r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(HOST_EXPORTS) \
20109 (cd $(HOST_SUBDIR)/itcl && \
20110 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20111 $(TARGET-itcl))
20112 @endif itcl
20117 .PHONY: check-itcl maybe-check-itcl
20118 maybe-check-itcl:
20119 @if itcl
20120 maybe-check-itcl: check-itcl
20122 check-itcl:
20123 @: $(MAKE); $(unstage)
20124 @r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 (cd $(HOST_SUBDIR)/itcl && \
20128 $(MAKE) $(FLAGS_TO_PASS) check)
20130 @endif itcl
20132 .PHONY: install-itcl maybe-install-itcl
20133 maybe-install-itcl:
20134 @if itcl
20135 maybe-install-itcl: install-itcl
20137 install-itcl: installdirs
20138 @: $(MAKE); $(unstage)
20139 @r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 $(HOST_EXPORTS) \
20142 (cd $(HOST_SUBDIR)/itcl && \
20143 $(MAKE) $(FLAGS_TO_PASS) install)
20145 @endif itcl
20147 .PHONY: install-strip-itcl maybe-install-strip-itcl
20148 maybe-install-strip-itcl:
20149 @if itcl
20150 maybe-install-strip-itcl: install-strip-itcl
20152 install-strip-itcl: installdirs
20153 @: $(MAKE); $(unstage)
20154 @r=`${PWD_COMMAND}`; export r; \
20155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20156 $(HOST_EXPORTS) \
20157 (cd $(HOST_SUBDIR)/itcl && \
20158 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20160 @endif itcl
20162 # Other targets (info, dvi, pdf, etc.)
20164 .PHONY: maybe-info-itcl info-itcl
20165 maybe-info-itcl:
20166 @if itcl
20167 maybe-info-itcl: info-itcl
20169 info-itcl: \
20170 configure-itcl
20171 @: $(MAKE); $(unstage)
20172 @[ -f ./itcl/Makefile ] || exit 0; \
20173 r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 for flag in $(EXTRA_HOST_FLAGS) ; do \
20177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20178 done; \
20179 echo "Doing info in itcl"; \
20180 (cd $(HOST_SUBDIR)/itcl && \
20181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20183 "RANLIB=$${RANLIB}" \
20184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20185 info) \
20186 || exit 1
20188 @endif itcl
20190 .PHONY: maybe-dvi-itcl dvi-itcl
20191 maybe-dvi-itcl:
20192 @if itcl
20193 maybe-dvi-itcl: dvi-itcl
20195 dvi-itcl: \
20196 configure-itcl
20197 @: $(MAKE); $(unstage)
20198 @[ -f ./itcl/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing dvi in itcl"; \
20206 (cd $(HOST_SUBDIR)/itcl && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20211 dvi) \
20212 || exit 1
20214 @endif itcl
20216 .PHONY: maybe-pdf-itcl pdf-itcl
20217 maybe-pdf-itcl:
20218 @if itcl
20219 maybe-pdf-itcl: pdf-itcl
20221 pdf-itcl: \
20222 configure-itcl
20223 @: $(MAKE); $(unstage)
20224 @[ -f ./itcl/Makefile ] || exit 0; \
20225 r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 $(HOST_EXPORTS) \
20228 for flag in $(EXTRA_HOST_FLAGS) ; do \
20229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20230 done; \
20231 echo "Doing pdf in itcl"; \
20232 (cd $(HOST_SUBDIR)/itcl && \
20233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20235 "RANLIB=$${RANLIB}" \
20236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20237 pdf) \
20238 || exit 1
20240 @endif itcl
20242 .PHONY: maybe-html-itcl html-itcl
20243 maybe-html-itcl:
20244 @if itcl
20245 maybe-html-itcl: html-itcl
20247 html-itcl: \
20248 configure-itcl
20249 @: $(MAKE); $(unstage)
20250 @[ -f ./itcl/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing html in itcl"; \
20258 (cd $(HOST_SUBDIR)/itcl && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20263 html) \
20264 || exit 1
20266 @endif itcl
20268 .PHONY: maybe-TAGS-itcl TAGS-itcl
20269 maybe-TAGS-itcl:
20270 @if itcl
20271 maybe-TAGS-itcl: TAGS-itcl
20273 TAGS-itcl: \
20274 configure-itcl
20275 @: $(MAKE); $(unstage)
20276 @[ -f ./itcl/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(HOST_EXPORTS) \
20280 for flag in $(EXTRA_HOST_FLAGS) ; do \
20281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20282 done; \
20283 echo "Doing TAGS in itcl"; \
20284 (cd $(HOST_SUBDIR)/itcl && \
20285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20287 "RANLIB=$${RANLIB}" \
20288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20289 TAGS) \
20290 || exit 1
20292 @endif itcl
20294 .PHONY: maybe-install-info-itcl install-info-itcl
20295 maybe-install-info-itcl:
20296 @if itcl
20297 maybe-install-info-itcl: install-info-itcl
20299 install-info-itcl: \
20300 configure-itcl \
20301 info-itcl
20302 @: $(MAKE); $(unstage)
20303 @[ -f ./itcl/Makefile ] || exit 0; \
20304 r=`${PWD_COMMAND}`; export r; \
20305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20306 $(HOST_EXPORTS) \
20307 for flag in $(EXTRA_HOST_FLAGS) ; do \
20308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20309 done; \
20310 echo "Doing install-info in itcl"; \
20311 (cd $(HOST_SUBDIR)/itcl && \
20312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20314 "RANLIB=$${RANLIB}" \
20315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20316 install-info) \
20317 || exit 1
20319 @endif itcl
20321 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
20322 maybe-install-pdf-itcl:
20323 @if itcl
20324 maybe-install-pdf-itcl: install-pdf-itcl
20326 install-pdf-itcl: \
20327 configure-itcl \
20328 pdf-itcl
20329 @: $(MAKE); $(unstage)
20330 @[ -f ./itcl/Makefile ] || exit 0; \
20331 r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20333 $(HOST_EXPORTS) \
20334 for flag in $(EXTRA_HOST_FLAGS) ; do \
20335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20336 done; \
20337 echo "Doing install-pdf in itcl"; \
20338 (cd $(HOST_SUBDIR)/itcl && \
20339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20341 "RANLIB=$${RANLIB}" \
20342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20343 install-pdf) \
20344 || exit 1
20346 @endif itcl
20348 .PHONY: maybe-install-html-itcl install-html-itcl
20349 maybe-install-html-itcl:
20350 @if itcl
20351 maybe-install-html-itcl: install-html-itcl
20353 install-html-itcl: \
20354 configure-itcl \
20355 html-itcl
20356 @: $(MAKE); $(unstage)
20357 @[ -f ./itcl/Makefile ] || exit 0; \
20358 r=`${PWD_COMMAND}`; export r; \
20359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20360 $(HOST_EXPORTS) \
20361 for flag in $(EXTRA_HOST_FLAGS) ; do \
20362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20363 done; \
20364 echo "Doing install-html in itcl"; \
20365 (cd $(HOST_SUBDIR)/itcl && \
20366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20368 "RANLIB=$${RANLIB}" \
20369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20370 install-html) \
20371 || exit 1
20373 @endif itcl
20375 .PHONY: maybe-installcheck-itcl installcheck-itcl
20376 maybe-installcheck-itcl:
20377 @if itcl
20378 maybe-installcheck-itcl: installcheck-itcl
20380 installcheck-itcl: \
20381 configure-itcl
20382 @: $(MAKE); $(unstage)
20383 @[ -f ./itcl/Makefile ] || exit 0; \
20384 r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 $(HOST_EXPORTS) \
20387 for flag in $(EXTRA_HOST_FLAGS) ; do \
20388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20389 done; \
20390 echo "Doing installcheck in itcl"; \
20391 (cd $(HOST_SUBDIR)/itcl && \
20392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20394 "RANLIB=$${RANLIB}" \
20395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20396 installcheck) \
20397 || exit 1
20399 @endif itcl
20401 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
20402 maybe-mostlyclean-itcl:
20403 @if itcl
20404 maybe-mostlyclean-itcl: mostlyclean-itcl
20406 mostlyclean-itcl:
20407 @: $(MAKE); $(unstage)
20408 @[ -f ./itcl/Makefile ] || exit 0; \
20409 r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 $(HOST_EXPORTS) \
20412 for flag in $(EXTRA_HOST_FLAGS) ; do \
20413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20414 done; \
20415 echo "Doing mostlyclean in itcl"; \
20416 (cd $(HOST_SUBDIR)/itcl && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20419 "RANLIB=$${RANLIB}" \
20420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20421 mostlyclean) \
20422 || exit 1
20424 @endif itcl
20426 .PHONY: maybe-clean-itcl clean-itcl
20427 maybe-clean-itcl:
20428 @if itcl
20429 maybe-clean-itcl: clean-itcl
20431 clean-itcl:
20432 @: $(MAKE); $(unstage)
20433 @[ -f ./itcl/Makefile ] || exit 0; \
20434 r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20436 $(HOST_EXPORTS) \
20437 for flag in $(EXTRA_HOST_FLAGS) ; do \
20438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20439 done; \
20440 echo "Doing clean in itcl"; \
20441 (cd $(HOST_SUBDIR)/itcl && \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20444 "RANLIB=$${RANLIB}" \
20445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20446 clean) \
20447 || exit 1
20449 @endif itcl
20451 .PHONY: maybe-distclean-itcl distclean-itcl
20452 maybe-distclean-itcl:
20453 @if itcl
20454 maybe-distclean-itcl: distclean-itcl
20456 distclean-itcl:
20457 @: $(MAKE); $(unstage)
20458 @[ -f ./itcl/Makefile ] || exit 0; \
20459 r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 $(HOST_EXPORTS) \
20462 for flag in $(EXTRA_HOST_FLAGS) ; do \
20463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20464 done; \
20465 echo "Doing distclean in itcl"; \
20466 (cd $(HOST_SUBDIR)/itcl && \
20467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20469 "RANLIB=$${RANLIB}" \
20470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20471 distclean) \
20472 || exit 1
20474 @endif itcl
20476 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
20477 maybe-maintainer-clean-itcl:
20478 @if itcl
20479 maybe-maintainer-clean-itcl: maintainer-clean-itcl
20481 maintainer-clean-itcl:
20482 @: $(MAKE); $(unstage)
20483 @[ -f ./itcl/Makefile ] || exit 0; \
20484 r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486 $(HOST_EXPORTS) \
20487 for flag in $(EXTRA_HOST_FLAGS) ; do \
20488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20489 done; \
20490 echo "Doing maintainer-clean in itcl"; \
20491 (cd $(HOST_SUBDIR)/itcl && \
20492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20494 "RANLIB=$${RANLIB}" \
20495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20496 maintainer-clean) \
20497 || exit 1
20499 @endif itcl
20503 .PHONY: configure-ld maybe-configure-ld
20504 maybe-configure-ld:
20505 @if gcc-bootstrap
20506 configure-ld: stage_current
20507 @endif gcc-bootstrap
20508 @if ld
20509 maybe-configure-ld: configure-ld
20510 configure-ld:
20511 @r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20515 $(HOST_EXPORTS) \
20516 echo Configuring in $(HOST_SUBDIR)/ld; \
20517 cd "$(HOST_SUBDIR)/ld" || exit 1; \
20518 case $(srcdir) in \
20519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20520 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20522 esac; \
20523 module_srcdir=ld; \
20524 $(SHELL) \
20525 $$s/$$module_srcdir/configure \
20526 --srcdir=$${topdir}/$$module_srcdir \
20527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20528 --target=${target_alias} \
20529 || exit 1
20530 @endif ld
20534 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
20535 maybe-configure-stage1-ld:
20536 @if ld-bootstrap
20537 maybe-configure-stage1-ld: configure-stage1-ld
20538 configure-stage1-ld:
20539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20541 @r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 TFLAGS="$(STAGE1_TFLAGS)"; \
20544 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20545 $(HOST_EXPORTS) \
20546 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20547 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20548 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20549 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
20550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20551 cd $(HOST_SUBDIR)/ld || exit 1; \
20552 case $(srcdir) in \
20553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20554 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20556 esac; \
20557 module_srcdir=ld; \
20558 $(SHELL) $$s/$$module_srcdir/configure \
20559 --srcdir=$${topdir}/$$module_srcdir \
20560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20561 --target=${target_alias} \
20563 $(STAGE1_CONFIGURE_FLAGS)
20564 @endif ld-bootstrap
20566 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
20567 maybe-configure-stage2-ld:
20568 @if ld-bootstrap
20569 maybe-configure-stage2-ld: configure-stage2-ld
20570 configure-stage2-ld:
20571 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20573 @r=`${PWD_COMMAND}`; export r; \
20574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20575 TFLAGS="$(STAGE2_TFLAGS)"; \
20576 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20577 $(HOST_EXPORTS) \
20578 $(POSTSTAGE1_HOST_EXPORTS) \
20579 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20580 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20581 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20582 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
20583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20584 cd $(HOST_SUBDIR)/ld || exit 1; \
20585 case $(srcdir) in \
20586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20587 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20589 esac; \
20590 module_srcdir=ld; \
20591 $(SHELL) $$s/$$module_srcdir/configure \
20592 --srcdir=$${topdir}/$$module_srcdir \
20593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20594 --target=${target_alias} \
20595 --with-build-libsubdir=$(HOST_SUBDIR) \
20596 $(STAGE2_CONFIGURE_FLAGS)
20597 @endif ld-bootstrap
20599 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
20600 maybe-configure-stage3-ld:
20601 @if ld-bootstrap
20602 maybe-configure-stage3-ld: configure-stage3-ld
20603 configure-stage3-ld:
20604 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20606 @r=`${PWD_COMMAND}`; export r; \
20607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20608 TFLAGS="$(STAGE3_TFLAGS)"; \
20609 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20610 $(HOST_EXPORTS) \
20611 $(POSTSTAGE1_HOST_EXPORTS) \
20612 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20613 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20614 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20615 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
20616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20617 cd $(HOST_SUBDIR)/ld || exit 1; \
20618 case $(srcdir) in \
20619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20620 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20622 esac; \
20623 module_srcdir=ld; \
20624 $(SHELL) $$s/$$module_srcdir/configure \
20625 --srcdir=$${topdir}/$$module_srcdir \
20626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20627 --target=${target_alias} \
20628 --with-build-libsubdir=$(HOST_SUBDIR) \
20629 $(STAGE3_CONFIGURE_FLAGS)
20630 @endif ld-bootstrap
20632 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
20633 maybe-configure-stage4-ld:
20634 @if ld-bootstrap
20635 maybe-configure-stage4-ld: configure-stage4-ld
20636 configure-stage4-ld:
20637 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20639 @r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 TFLAGS="$(STAGE4_TFLAGS)"; \
20642 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20643 $(HOST_EXPORTS) \
20644 $(POSTSTAGE1_HOST_EXPORTS) \
20645 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20646 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20647 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20648 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
20649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20650 cd $(HOST_SUBDIR)/ld || exit 1; \
20651 case $(srcdir) in \
20652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20653 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20655 esac; \
20656 module_srcdir=ld; \
20657 $(SHELL) $$s/$$module_srcdir/configure \
20658 --srcdir=$${topdir}/$$module_srcdir \
20659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20660 --target=${target_alias} \
20661 --with-build-libsubdir=$(HOST_SUBDIR) \
20662 $(STAGE4_CONFIGURE_FLAGS)
20663 @endif ld-bootstrap
20665 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
20666 maybe-configure-stageprofile-ld:
20667 @if ld-bootstrap
20668 maybe-configure-stageprofile-ld: configure-stageprofile-ld
20669 configure-stageprofile-ld:
20670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20672 @r=`${PWD_COMMAND}`; export r; \
20673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20675 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20676 $(HOST_EXPORTS) \
20677 $(POSTSTAGE1_HOST_EXPORTS) \
20678 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20680 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20681 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
20682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20683 cd $(HOST_SUBDIR)/ld || exit 1; \
20684 case $(srcdir) in \
20685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20686 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20688 esac; \
20689 module_srcdir=ld; \
20690 $(SHELL) $$s/$$module_srcdir/configure \
20691 --srcdir=$${topdir}/$$module_srcdir \
20692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20693 --target=${target_alias} \
20694 --with-build-libsubdir=$(HOST_SUBDIR) \
20695 $(STAGEprofile_CONFIGURE_FLAGS)
20696 @endif ld-bootstrap
20698 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
20699 maybe-configure-stagefeedback-ld:
20700 @if ld-bootstrap
20701 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
20702 configure-stagefeedback-ld:
20703 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20705 @r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20708 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20709 $(HOST_EXPORTS) \
20710 $(POSTSTAGE1_HOST_EXPORTS) \
20711 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20712 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20713 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20714 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
20715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20716 cd $(HOST_SUBDIR)/ld || exit 1; \
20717 case $(srcdir) in \
20718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20719 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20721 esac; \
20722 module_srcdir=ld; \
20723 $(SHELL) $$s/$$module_srcdir/configure \
20724 --srcdir=$${topdir}/$$module_srcdir \
20725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20726 --target=${target_alias} \
20727 --with-build-libsubdir=$(HOST_SUBDIR) \
20728 $(STAGEfeedback_CONFIGURE_FLAGS)
20729 @endif ld-bootstrap
20731 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
20732 maybe-configure-stageautoprofile-ld:
20733 @if ld-bootstrap
20734 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
20735 configure-stageautoprofile-ld:
20736 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20738 @r=`${PWD_COMMAND}`; export r; \
20739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20740 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20741 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20742 $(HOST_EXPORTS) \
20743 $(POSTSTAGE1_HOST_EXPORTS) \
20744 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20745 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20746 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20747 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
20748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20749 cd $(HOST_SUBDIR)/ld || exit 1; \
20750 case $(srcdir) in \
20751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20752 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20754 esac; \
20755 module_srcdir=ld; \
20756 $(SHELL) $$s/$$module_srcdir/configure \
20757 --srcdir=$${topdir}/$$module_srcdir \
20758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20759 --target=${target_alias} \
20760 --with-build-libsubdir=$(HOST_SUBDIR) \
20761 $(STAGEautoprofile_CONFIGURE_FLAGS)
20762 @endif ld-bootstrap
20764 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
20765 maybe-configure-stageautofeedback-ld:
20766 @if ld-bootstrap
20767 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
20768 configure-stageautofeedback-ld:
20769 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20771 @r=`${PWD_COMMAND}`; export r; \
20772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20773 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20774 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20775 $(HOST_EXPORTS) \
20776 $(POSTSTAGE1_HOST_EXPORTS) \
20777 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20778 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20779 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20780 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
20781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20782 cd $(HOST_SUBDIR)/ld || exit 1; \
20783 case $(srcdir) in \
20784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20785 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20787 esac; \
20788 module_srcdir=ld; \
20789 $(SHELL) $$s/$$module_srcdir/configure \
20790 --srcdir=$${topdir}/$$module_srcdir \
20791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20792 --target=${target_alias} \
20793 --with-build-libsubdir=$(HOST_SUBDIR) \
20794 $(STAGEautofeedback_CONFIGURE_FLAGS)
20795 @endif ld-bootstrap
20801 .PHONY: all-ld maybe-all-ld
20802 maybe-all-ld:
20803 @if gcc-bootstrap
20804 all-ld: stage_current
20805 @endif gcc-bootstrap
20806 @if ld
20807 TARGET-ld=all
20808 maybe-all-ld: all-ld
20809 all-ld: configure-ld
20810 @r=`${PWD_COMMAND}`; export r; \
20811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20812 $(HOST_EXPORTS) \
20813 (cd $(HOST_SUBDIR)/ld && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20815 $(TARGET-ld))
20816 @endif ld
20820 .PHONY: all-stage1-ld maybe-all-stage1-ld
20821 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
20822 maybe-all-stage1-ld:
20823 maybe-clean-stage1-ld:
20824 @if ld-bootstrap
20825 maybe-all-stage1-ld: all-stage1-ld
20826 all-stage1: all-stage1-ld
20827 TARGET-stage1-ld = $(TARGET-ld)
20828 all-stage1-ld: configure-stage1-ld
20829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20830 @r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 TFLAGS="$(STAGE1_TFLAGS)"; \
20833 $(HOST_EXPORTS) \
20834 cd $(HOST_SUBDIR)/ld && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20837 CFLAGS="$(STAGE1_CFLAGS)" \
20838 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20839 LIBCFLAGS="$(LIBCFLAGS)" \
20840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20843 $(EXTRA_HOST_FLAGS) \
20844 $(STAGE1_FLAGS_TO_PASS) \
20845 TFLAGS="$(STAGE1_TFLAGS)" \
20846 $(TARGET-stage1-ld)
20848 maybe-clean-stage1-ld: clean-stage1-ld
20849 clean-stage1: clean-stage1-ld
20850 clean-stage1-ld:
20851 @if [ $(current_stage) = stage1 ]; then \
20852 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20853 else \
20854 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
20855 $(MAKE) stage1-start; \
20856 fi; \
20857 cd $(HOST_SUBDIR)/ld && \
20858 $(MAKE) $(EXTRA_HOST_FLAGS) \
20859 $(STAGE1_FLAGS_TO_PASS) clean
20860 @endif ld-bootstrap
20863 .PHONY: all-stage2-ld maybe-all-stage2-ld
20864 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
20865 maybe-all-stage2-ld:
20866 maybe-clean-stage2-ld:
20867 @if ld-bootstrap
20868 maybe-all-stage2-ld: all-stage2-ld
20869 all-stage2: all-stage2-ld
20870 TARGET-stage2-ld = $(TARGET-ld)
20871 all-stage2-ld: configure-stage2-ld
20872 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20873 @r=`${PWD_COMMAND}`; export r; \
20874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20875 TFLAGS="$(STAGE2_TFLAGS)"; \
20876 $(HOST_EXPORTS) \
20877 $(POSTSTAGE1_HOST_EXPORTS) \
20878 cd $(HOST_SUBDIR)/ld && \
20880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20881 CFLAGS="$(STAGE2_CFLAGS)" \
20882 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20883 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20888 TFLAGS="$(STAGE2_TFLAGS)" \
20889 $(TARGET-stage2-ld)
20891 maybe-clean-stage2-ld: clean-stage2-ld
20892 clean-stage2: clean-stage2-ld
20893 clean-stage2-ld:
20894 @if [ $(current_stage) = stage2 ]; then \
20895 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20896 else \
20897 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
20898 $(MAKE) stage2-start; \
20899 fi; \
20900 cd $(HOST_SUBDIR)/ld && \
20901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20902 @endif ld-bootstrap
20905 .PHONY: all-stage3-ld maybe-all-stage3-ld
20906 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
20907 maybe-all-stage3-ld:
20908 maybe-clean-stage3-ld:
20909 @if ld-bootstrap
20910 maybe-all-stage3-ld: all-stage3-ld
20911 all-stage3: all-stage3-ld
20912 TARGET-stage3-ld = $(TARGET-ld)
20913 all-stage3-ld: configure-stage3-ld
20914 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20915 @r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 TFLAGS="$(STAGE3_TFLAGS)"; \
20918 $(HOST_EXPORTS) \
20919 $(POSTSTAGE1_HOST_EXPORTS) \
20920 cd $(HOST_SUBDIR)/ld && \
20922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20923 CFLAGS="$(STAGE3_CFLAGS)" \
20924 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20925 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20929 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20930 TFLAGS="$(STAGE3_TFLAGS)" \
20931 $(TARGET-stage3-ld)
20933 maybe-clean-stage3-ld: clean-stage3-ld
20934 clean-stage3: clean-stage3-ld
20935 clean-stage3-ld:
20936 @if [ $(current_stage) = stage3 ]; then \
20937 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20938 else \
20939 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
20940 $(MAKE) stage3-start; \
20941 fi; \
20942 cd $(HOST_SUBDIR)/ld && \
20943 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20944 @endif ld-bootstrap
20947 .PHONY: all-stage4-ld maybe-all-stage4-ld
20948 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
20949 maybe-all-stage4-ld:
20950 maybe-clean-stage4-ld:
20951 @if ld-bootstrap
20952 maybe-all-stage4-ld: all-stage4-ld
20953 all-stage4: all-stage4-ld
20954 TARGET-stage4-ld = $(TARGET-ld)
20955 all-stage4-ld: configure-stage4-ld
20956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20957 @r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20959 TFLAGS="$(STAGE4_TFLAGS)"; \
20960 $(HOST_EXPORTS) \
20961 $(POSTSTAGE1_HOST_EXPORTS) \
20962 cd $(HOST_SUBDIR)/ld && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20965 CFLAGS="$(STAGE4_CFLAGS)" \
20966 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20967 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20972 TFLAGS="$(STAGE4_TFLAGS)" \
20973 $(TARGET-stage4-ld)
20975 maybe-clean-stage4-ld: clean-stage4-ld
20976 clean-stage4: clean-stage4-ld
20977 clean-stage4-ld:
20978 @if [ $(current_stage) = stage4 ]; then \
20979 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20980 else \
20981 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
20982 $(MAKE) stage4-start; \
20983 fi; \
20984 cd $(HOST_SUBDIR)/ld && \
20985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20986 @endif ld-bootstrap
20989 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
20990 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
20991 maybe-all-stageprofile-ld:
20992 maybe-clean-stageprofile-ld:
20993 @if ld-bootstrap
20994 maybe-all-stageprofile-ld: all-stageprofile-ld
20995 all-stageprofile: all-stageprofile-ld
20996 TARGET-stageprofile-ld = $(TARGET-ld)
20997 all-stageprofile-ld: configure-stageprofile-ld
20998 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20999 @r=`${PWD_COMMAND}`; export r; \
21000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21001 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21002 $(HOST_EXPORTS) \
21003 $(POSTSTAGE1_HOST_EXPORTS) \
21004 cd $(HOST_SUBDIR)/ld && \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21007 CFLAGS="$(STAGEprofile_CFLAGS)" \
21008 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21009 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21014 TFLAGS="$(STAGEprofile_TFLAGS)" \
21015 $(TARGET-stageprofile-ld)
21017 maybe-clean-stageprofile-ld: clean-stageprofile-ld
21018 clean-stageprofile: clean-stageprofile-ld
21019 clean-stageprofile-ld:
21020 @if [ $(current_stage) = stageprofile ]; then \
21021 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21022 else \
21023 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
21024 $(MAKE) stageprofile-start; \
21025 fi; \
21026 cd $(HOST_SUBDIR)/ld && \
21027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21028 @endif ld-bootstrap
21031 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
21032 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
21033 maybe-all-stagefeedback-ld:
21034 maybe-clean-stagefeedback-ld:
21035 @if ld-bootstrap
21036 maybe-all-stagefeedback-ld: all-stagefeedback-ld
21037 all-stagefeedback: all-stagefeedback-ld
21038 TARGET-stagefeedback-ld = $(TARGET-ld)
21039 all-stagefeedback-ld: configure-stagefeedback-ld
21040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21041 @r=`${PWD_COMMAND}`; export r; \
21042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21043 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21044 $(HOST_EXPORTS) \
21045 $(POSTSTAGE1_HOST_EXPORTS) \
21046 cd $(HOST_SUBDIR)/ld && \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21049 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21050 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21051 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21056 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21057 $(TARGET-stagefeedback-ld)
21059 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
21060 clean-stagefeedback: clean-stagefeedback-ld
21061 clean-stagefeedback-ld:
21062 @if [ $(current_stage) = stagefeedback ]; then \
21063 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21064 else \
21065 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
21066 $(MAKE) stagefeedback-start; \
21067 fi; \
21068 cd $(HOST_SUBDIR)/ld && \
21069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21070 @endif ld-bootstrap
21073 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
21074 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
21075 maybe-all-stageautoprofile-ld:
21076 maybe-clean-stageautoprofile-ld:
21077 @if ld-bootstrap
21078 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
21079 all-stageautoprofile: all-stageautoprofile-ld
21080 TARGET-stageautoprofile-ld = $(TARGET-ld)
21081 all-stageautoprofile-ld: configure-stageautoprofile-ld
21082 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21083 @r=`${PWD_COMMAND}`; export r; \
21084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21086 $(HOST_EXPORTS) \
21087 $(POSTSTAGE1_HOST_EXPORTS) \
21088 cd $(HOST_SUBDIR)/ld && \
21089 $$s/gcc/config/i386/$(AUTO_PROFILE) \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21091 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
21092 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
21093 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
21094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21098 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
21099 $(TARGET-stageautoprofile-ld)
21101 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
21102 clean-stageautoprofile: clean-stageautoprofile-ld
21103 clean-stageautoprofile-ld:
21104 @if [ $(current_stage) = stageautoprofile ]; then \
21105 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21106 else \
21107 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
21108 $(MAKE) stageautoprofile-start; \
21109 fi; \
21110 cd $(HOST_SUBDIR)/ld && \
21111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21112 @endif ld-bootstrap
21115 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
21116 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
21117 maybe-all-stageautofeedback-ld:
21118 maybe-clean-stageautofeedback-ld:
21119 @if ld-bootstrap
21120 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
21121 all-stageautofeedback: all-stageautofeedback-ld
21122 TARGET-stageautofeedback-ld = $(TARGET-ld)
21123 all-stageautofeedback-ld: configure-stageautofeedback-ld
21124 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21125 @r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21128 $(HOST_EXPORTS) \
21129 $(POSTSTAGE1_HOST_EXPORTS) \
21130 cd $(HOST_SUBDIR)/ld && \
21132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21133 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
21134 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
21135 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
21136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21140 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
21141 $(TARGET-stageautofeedback-ld)
21143 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
21144 clean-stageautofeedback: clean-stageautofeedback-ld
21145 clean-stageautofeedback-ld:
21146 @if [ $(current_stage) = stageautofeedback ]; then \
21147 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21148 else \
21149 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
21150 $(MAKE) stageautofeedback-start; \
21151 fi; \
21152 cd $(HOST_SUBDIR)/ld && \
21153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21154 @endif ld-bootstrap
21160 .PHONY: check-ld maybe-check-ld
21161 maybe-check-ld:
21162 @if ld
21163 maybe-check-ld: check-ld
21165 check-ld:
21166 @: $(MAKE); $(unstage)
21167 @r=`${PWD_COMMAND}`; export r; \
21168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21170 (cd $(HOST_SUBDIR)/ld && \
21171 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21173 @endif ld
21175 .PHONY: install-ld maybe-install-ld
21176 maybe-install-ld:
21177 @if ld
21178 maybe-install-ld: install-ld
21180 install-ld: installdirs
21181 @: $(MAKE); $(unstage)
21182 @r=`${PWD_COMMAND}`; export r; \
21183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21184 $(HOST_EXPORTS) \
21185 (cd $(HOST_SUBDIR)/ld && \
21186 $(MAKE) $(FLAGS_TO_PASS) install)
21188 @endif ld
21190 .PHONY: install-strip-ld maybe-install-strip-ld
21191 maybe-install-strip-ld:
21192 @if ld
21193 maybe-install-strip-ld: install-strip-ld
21195 install-strip-ld: installdirs
21196 @: $(MAKE); $(unstage)
21197 @r=`${PWD_COMMAND}`; export r; \
21198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199 $(HOST_EXPORTS) \
21200 (cd $(HOST_SUBDIR)/ld && \
21201 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21203 @endif ld
21205 # Other targets (info, dvi, pdf, etc.)
21207 .PHONY: maybe-info-ld info-ld
21208 maybe-info-ld:
21209 @if ld
21210 maybe-info-ld: info-ld
21212 info-ld: \
21213 configure-ld
21214 @[ -f ./ld/Makefile ] || exit 0; \
21215 r=`${PWD_COMMAND}`; export r; \
21216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 $(HOST_EXPORTS) \
21218 for flag in $(EXTRA_HOST_FLAGS) ; do \
21219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 done; \
21221 echo "Doing info in ld"; \
21222 (cd $(HOST_SUBDIR)/ld && \
21223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21225 "RANLIB=$${RANLIB}" \
21226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21227 info) \
21228 || exit 1
21230 @endif ld
21232 .PHONY: maybe-dvi-ld dvi-ld
21233 maybe-dvi-ld:
21234 @if ld
21235 maybe-dvi-ld: dvi-ld
21237 dvi-ld: \
21238 configure-ld
21239 @[ -f ./ld/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing dvi in ld"; \
21247 (cd $(HOST_SUBDIR)/ld && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21252 dvi) \
21253 || exit 1
21255 @endif ld
21257 .PHONY: maybe-pdf-ld pdf-ld
21258 maybe-pdf-ld:
21259 @if ld
21260 maybe-pdf-ld: pdf-ld
21262 pdf-ld: \
21263 configure-ld
21264 @[ -f ./ld/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(HOST_EXPORTS) \
21268 for flag in $(EXTRA_HOST_FLAGS) ; do \
21269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21270 done; \
21271 echo "Doing pdf in ld"; \
21272 (cd $(HOST_SUBDIR)/ld && \
21273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21275 "RANLIB=$${RANLIB}" \
21276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21277 pdf) \
21278 || exit 1
21280 @endif ld
21282 .PHONY: maybe-html-ld html-ld
21283 maybe-html-ld:
21284 @if ld
21285 maybe-html-ld: html-ld
21287 html-ld: \
21288 configure-ld
21289 @[ -f ./ld/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 for flag in $(EXTRA_HOST_FLAGS) ; do \
21294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21295 done; \
21296 echo "Doing html in ld"; \
21297 (cd $(HOST_SUBDIR)/ld && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21300 "RANLIB=$${RANLIB}" \
21301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21302 html) \
21303 || exit 1
21305 @endif ld
21307 .PHONY: maybe-TAGS-ld TAGS-ld
21308 maybe-TAGS-ld:
21309 @if ld
21310 maybe-TAGS-ld: TAGS-ld
21312 TAGS-ld: \
21313 configure-ld
21314 @[ -f ./ld/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(HOST_EXPORTS) \
21318 for flag in $(EXTRA_HOST_FLAGS) ; do \
21319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21320 done; \
21321 echo "Doing TAGS in ld"; \
21322 (cd $(HOST_SUBDIR)/ld && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21325 "RANLIB=$${RANLIB}" \
21326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21327 TAGS) \
21328 || exit 1
21330 @endif ld
21332 .PHONY: maybe-install-info-ld install-info-ld
21333 maybe-install-info-ld:
21334 @if ld
21335 maybe-install-info-ld: install-info-ld
21337 install-info-ld: \
21338 configure-ld \
21339 info-ld
21340 @[ -f ./ld/Makefile ] || exit 0; \
21341 r=`${PWD_COMMAND}`; export r; \
21342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21343 $(HOST_EXPORTS) \
21344 for flag in $(EXTRA_HOST_FLAGS) ; do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21346 done; \
21347 echo "Doing install-info in ld"; \
21348 (cd $(HOST_SUBDIR)/ld && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21353 install-info) \
21354 || exit 1
21356 @endif ld
21358 .PHONY: maybe-install-pdf-ld install-pdf-ld
21359 maybe-install-pdf-ld:
21360 @if ld
21361 maybe-install-pdf-ld: install-pdf-ld
21363 install-pdf-ld: \
21364 configure-ld \
21365 pdf-ld
21366 @[ -f ./ld/Makefile ] || exit 0; \
21367 r=`${PWD_COMMAND}`; export r; \
21368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21369 $(HOST_EXPORTS) \
21370 for flag in $(EXTRA_HOST_FLAGS) ; do \
21371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21372 done; \
21373 echo "Doing install-pdf in ld"; \
21374 (cd $(HOST_SUBDIR)/ld && \
21375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21377 "RANLIB=$${RANLIB}" \
21378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21379 install-pdf) \
21380 || exit 1
21382 @endif ld
21384 .PHONY: maybe-install-html-ld install-html-ld
21385 maybe-install-html-ld:
21386 @if ld
21387 maybe-install-html-ld: install-html-ld
21389 install-html-ld: \
21390 configure-ld \
21391 html-ld
21392 @[ -f ./ld/Makefile ] || exit 0; \
21393 r=`${PWD_COMMAND}`; export r; \
21394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21395 $(HOST_EXPORTS) \
21396 for flag in $(EXTRA_HOST_FLAGS) ; do \
21397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21398 done; \
21399 echo "Doing install-html in ld"; \
21400 (cd $(HOST_SUBDIR)/ld && \
21401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21403 "RANLIB=$${RANLIB}" \
21404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21405 install-html) \
21406 || exit 1
21408 @endif ld
21410 .PHONY: maybe-installcheck-ld installcheck-ld
21411 maybe-installcheck-ld:
21412 @if ld
21413 maybe-installcheck-ld: installcheck-ld
21415 installcheck-ld: \
21416 configure-ld
21417 @[ -f ./ld/Makefile ] || exit 0; \
21418 r=`${PWD_COMMAND}`; export r; \
21419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21420 $(HOST_EXPORTS) \
21421 for flag in $(EXTRA_HOST_FLAGS) ; do \
21422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21423 done; \
21424 echo "Doing installcheck in ld"; \
21425 (cd $(HOST_SUBDIR)/ld && \
21426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21428 "RANLIB=$${RANLIB}" \
21429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21430 installcheck) \
21431 || exit 1
21433 @endif ld
21435 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
21436 maybe-mostlyclean-ld:
21437 @if ld
21438 maybe-mostlyclean-ld: mostlyclean-ld
21440 mostlyclean-ld:
21441 @[ -f ./ld/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444 $(HOST_EXPORTS) \
21445 for flag in $(EXTRA_HOST_FLAGS) ; do \
21446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21447 done; \
21448 echo "Doing mostlyclean in ld"; \
21449 (cd $(HOST_SUBDIR)/ld && \
21450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21452 "RANLIB=$${RANLIB}" \
21453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21454 mostlyclean) \
21455 || exit 1
21457 @endif ld
21459 .PHONY: maybe-clean-ld clean-ld
21460 maybe-clean-ld:
21461 @if ld
21462 maybe-clean-ld: clean-ld
21464 clean-ld:
21465 @[ -f ./ld/Makefile ] || exit 0; \
21466 r=`${PWD_COMMAND}`; export r; \
21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21468 $(HOST_EXPORTS) \
21469 for flag in $(EXTRA_HOST_FLAGS) ; do \
21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21471 done; \
21472 echo "Doing clean in ld"; \
21473 (cd $(HOST_SUBDIR)/ld && \
21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21476 "RANLIB=$${RANLIB}" \
21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21478 clean) \
21479 || exit 1
21481 @endif ld
21483 .PHONY: maybe-distclean-ld distclean-ld
21484 maybe-distclean-ld:
21485 @if ld
21486 maybe-distclean-ld: distclean-ld
21488 distclean-ld:
21489 @[ -f ./ld/Makefile ] || exit 0; \
21490 r=`${PWD_COMMAND}`; export r; \
21491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21492 $(HOST_EXPORTS) \
21493 for flag in $(EXTRA_HOST_FLAGS) ; do \
21494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21495 done; \
21496 echo "Doing distclean in ld"; \
21497 (cd $(HOST_SUBDIR)/ld && \
21498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21500 "RANLIB=$${RANLIB}" \
21501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21502 distclean) \
21503 || exit 1
21505 @endif ld
21507 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
21508 maybe-maintainer-clean-ld:
21509 @if ld
21510 maybe-maintainer-clean-ld: maintainer-clean-ld
21512 maintainer-clean-ld:
21513 @[ -f ./ld/Makefile ] || exit 0; \
21514 r=`${PWD_COMMAND}`; export r; \
21515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21516 $(HOST_EXPORTS) \
21517 for flag in $(EXTRA_HOST_FLAGS) ; do \
21518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21519 done; \
21520 echo "Doing maintainer-clean in ld"; \
21521 (cd $(HOST_SUBDIR)/ld && \
21522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21524 "RANLIB=$${RANLIB}" \
21525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21526 maintainer-clean) \
21527 || exit 1
21529 @endif ld
21533 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
21534 maybe-configure-libbacktrace:
21535 @if gcc-bootstrap
21536 configure-libbacktrace: stage_current
21537 @endif gcc-bootstrap
21538 @if libbacktrace
21539 maybe-configure-libbacktrace: configure-libbacktrace
21540 configure-libbacktrace:
21541 @r=`${PWD_COMMAND}`; export r; \
21542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21543 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21545 $(HOST_EXPORTS) \
21546 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
21547 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
21548 case $(srcdir) in \
21549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21550 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21552 esac; \
21553 module_srcdir=libbacktrace; \
21554 $(SHELL) \
21555 $$s/$$module_srcdir/configure \
21556 --srcdir=$${topdir}/$$module_srcdir \
21557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21558 --target=${target_alias} \
21559 || exit 1
21560 @endif libbacktrace
21564 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
21565 maybe-configure-stage1-libbacktrace:
21566 @if libbacktrace-bootstrap
21567 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
21568 configure-stage1-libbacktrace:
21569 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21570 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21571 @r=`${PWD_COMMAND}`; export r; \
21572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21573 TFLAGS="$(STAGE1_TFLAGS)"; \
21574 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21575 $(HOST_EXPORTS) \
21576 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21577 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21578 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21579 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
21580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21581 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21582 case $(srcdir) in \
21583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21584 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21586 esac; \
21587 module_srcdir=libbacktrace; \
21588 $(SHELL) $$s/$$module_srcdir/configure \
21589 --srcdir=$${topdir}/$$module_srcdir \
21590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21591 --target=${target_alias} \
21593 $(STAGE1_CONFIGURE_FLAGS)
21594 @endif libbacktrace-bootstrap
21596 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
21597 maybe-configure-stage2-libbacktrace:
21598 @if libbacktrace-bootstrap
21599 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
21600 configure-stage2-libbacktrace:
21601 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21603 @r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 TFLAGS="$(STAGE2_TFLAGS)"; \
21606 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21607 $(HOST_EXPORTS) \
21608 $(POSTSTAGE1_HOST_EXPORTS) \
21609 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21610 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21611 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21612 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
21613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21614 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21615 case $(srcdir) in \
21616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21617 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21619 esac; \
21620 module_srcdir=libbacktrace; \
21621 $(SHELL) $$s/$$module_srcdir/configure \
21622 --srcdir=$${topdir}/$$module_srcdir \
21623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21624 --target=${target_alias} \
21625 --with-build-libsubdir=$(HOST_SUBDIR) \
21626 $(STAGE2_CONFIGURE_FLAGS)
21627 @endif libbacktrace-bootstrap
21629 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
21630 maybe-configure-stage3-libbacktrace:
21631 @if libbacktrace-bootstrap
21632 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
21633 configure-stage3-libbacktrace:
21634 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21636 @r=`${PWD_COMMAND}`; export r; \
21637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21638 TFLAGS="$(STAGE3_TFLAGS)"; \
21639 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21640 $(HOST_EXPORTS) \
21641 $(POSTSTAGE1_HOST_EXPORTS) \
21642 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21643 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21644 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21645 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
21646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21647 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21648 case $(srcdir) in \
21649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21650 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21652 esac; \
21653 module_srcdir=libbacktrace; \
21654 $(SHELL) $$s/$$module_srcdir/configure \
21655 --srcdir=$${topdir}/$$module_srcdir \
21656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21657 --target=${target_alias} \
21658 --with-build-libsubdir=$(HOST_SUBDIR) \
21659 $(STAGE3_CONFIGURE_FLAGS)
21660 @endif libbacktrace-bootstrap
21662 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
21663 maybe-configure-stage4-libbacktrace:
21664 @if libbacktrace-bootstrap
21665 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
21666 configure-stage4-libbacktrace:
21667 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21669 @r=`${PWD_COMMAND}`; export r; \
21670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21671 TFLAGS="$(STAGE4_TFLAGS)"; \
21672 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21673 $(HOST_EXPORTS) \
21674 $(POSTSTAGE1_HOST_EXPORTS) \
21675 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21676 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21677 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21678 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
21679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21680 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21681 case $(srcdir) in \
21682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21683 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21685 esac; \
21686 module_srcdir=libbacktrace; \
21687 $(SHELL) $$s/$$module_srcdir/configure \
21688 --srcdir=$${topdir}/$$module_srcdir \
21689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21690 --target=${target_alias} \
21691 --with-build-libsubdir=$(HOST_SUBDIR) \
21692 $(STAGE4_CONFIGURE_FLAGS)
21693 @endif libbacktrace-bootstrap
21695 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
21696 maybe-configure-stageprofile-libbacktrace:
21697 @if libbacktrace-bootstrap
21698 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
21699 configure-stageprofile-libbacktrace:
21700 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21702 @r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21705 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21706 $(HOST_EXPORTS) \
21707 $(POSTSTAGE1_HOST_EXPORTS) \
21708 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21709 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21710 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21711 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
21712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21713 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21714 case $(srcdir) in \
21715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21716 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21718 esac; \
21719 module_srcdir=libbacktrace; \
21720 $(SHELL) $$s/$$module_srcdir/configure \
21721 --srcdir=$${topdir}/$$module_srcdir \
21722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21723 --target=${target_alias} \
21724 --with-build-libsubdir=$(HOST_SUBDIR) \
21725 $(STAGEprofile_CONFIGURE_FLAGS)
21726 @endif libbacktrace-bootstrap
21728 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
21729 maybe-configure-stagefeedback-libbacktrace:
21730 @if libbacktrace-bootstrap
21731 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
21732 configure-stagefeedback-libbacktrace:
21733 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21735 @r=`${PWD_COMMAND}`; export r; \
21736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21737 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21738 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21739 $(HOST_EXPORTS) \
21740 $(POSTSTAGE1_HOST_EXPORTS) \
21741 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21742 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21743 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21744 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
21745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21746 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21747 case $(srcdir) in \
21748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21749 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21751 esac; \
21752 module_srcdir=libbacktrace; \
21753 $(SHELL) $$s/$$module_srcdir/configure \
21754 --srcdir=$${topdir}/$$module_srcdir \
21755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21756 --target=${target_alias} \
21757 --with-build-libsubdir=$(HOST_SUBDIR) \
21758 $(STAGEfeedback_CONFIGURE_FLAGS)
21759 @endif libbacktrace-bootstrap
21761 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
21762 maybe-configure-stageautoprofile-libbacktrace:
21763 @if libbacktrace-bootstrap
21764 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
21765 configure-stageautoprofile-libbacktrace:
21766 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21768 @r=`${PWD_COMMAND}`; export r; \
21769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21770 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21771 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21772 $(HOST_EXPORTS) \
21773 $(POSTSTAGE1_HOST_EXPORTS) \
21774 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21775 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21776 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21777 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
21778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21779 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21780 case $(srcdir) in \
21781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21782 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21784 esac; \
21785 module_srcdir=libbacktrace; \
21786 $(SHELL) $$s/$$module_srcdir/configure \
21787 --srcdir=$${topdir}/$$module_srcdir \
21788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21789 --target=${target_alias} \
21790 --with-build-libsubdir=$(HOST_SUBDIR) \
21791 $(STAGEautoprofile_CONFIGURE_FLAGS)
21792 @endif libbacktrace-bootstrap
21794 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
21795 maybe-configure-stageautofeedback-libbacktrace:
21796 @if libbacktrace-bootstrap
21797 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
21798 configure-stageautofeedback-libbacktrace:
21799 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21801 @r=`${PWD_COMMAND}`; export r; \
21802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21804 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21805 $(HOST_EXPORTS) \
21806 $(POSTSTAGE1_HOST_EXPORTS) \
21807 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21808 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21809 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21810 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
21811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21812 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21813 case $(srcdir) in \
21814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21815 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21817 esac; \
21818 module_srcdir=libbacktrace; \
21819 $(SHELL) $$s/$$module_srcdir/configure \
21820 --srcdir=$${topdir}/$$module_srcdir \
21821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21822 --target=${target_alias} \
21823 --with-build-libsubdir=$(HOST_SUBDIR) \
21824 $(STAGEautofeedback_CONFIGURE_FLAGS)
21825 @endif libbacktrace-bootstrap
21831 .PHONY: all-libbacktrace maybe-all-libbacktrace
21832 maybe-all-libbacktrace:
21833 @if gcc-bootstrap
21834 all-libbacktrace: stage_current
21835 @endif gcc-bootstrap
21836 @if libbacktrace
21837 TARGET-libbacktrace=all
21838 maybe-all-libbacktrace: all-libbacktrace
21839 all-libbacktrace: configure-libbacktrace
21840 @r=`${PWD_COMMAND}`; export r; \
21841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21842 $(HOST_EXPORTS) \
21843 (cd $(HOST_SUBDIR)/libbacktrace && \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21845 $(TARGET-libbacktrace))
21846 @endif libbacktrace
21850 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
21851 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
21852 maybe-all-stage1-libbacktrace:
21853 maybe-clean-stage1-libbacktrace:
21854 @if libbacktrace-bootstrap
21855 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
21856 all-stage1: all-stage1-libbacktrace
21857 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
21858 all-stage1-libbacktrace: configure-stage1-libbacktrace
21859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21860 @r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 TFLAGS="$(STAGE1_TFLAGS)"; \
21863 $(HOST_EXPORTS) \
21864 cd $(HOST_SUBDIR)/libbacktrace && \
21866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21867 CFLAGS="$(STAGE1_CFLAGS)" \
21868 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21869 LIBCFLAGS="$(LIBCFLAGS)" \
21870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21873 $(EXTRA_HOST_FLAGS) \
21874 $(STAGE1_FLAGS_TO_PASS) \
21875 TFLAGS="$(STAGE1_TFLAGS)" \
21876 $(TARGET-stage1-libbacktrace)
21878 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
21879 clean-stage1: clean-stage1-libbacktrace
21880 clean-stage1-libbacktrace:
21881 @if [ $(current_stage) = stage1 ]; then \
21882 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21883 else \
21884 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
21885 $(MAKE) stage1-start; \
21886 fi; \
21887 cd $(HOST_SUBDIR)/libbacktrace && \
21888 $(MAKE) $(EXTRA_HOST_FLAGS) \
21889 $(STAGE1_FLAGS_TO_PASS) clean
21890 @endif libbacktrace-bootstrap
21893 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
21894 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
21895 maybe-all-stage2-libbacktrace:
21896 maybe-clean-stage2-libbacktrace:
21897 @if libbacktrace-bootstrap
21898 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
21899 all-stage2: all-stage2-libbacktrace
21900 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
21901 all-stage2-libbacktrace: configure-stage2-libbacktrace
21902 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21903 @r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 TFLAGS="$(STAGE2_TFLAGS)"; \
21906 $(HOST_EXPORTS) \
21907 $(POSTSTAGE1_HOST_EXPORTS) \
21908 cd $(HOST_SUBDIR)/libbacktrace && \
21910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21911 CFLAGS="$(STAGE2_CFLAGS)" \
21912 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21913 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21918 TFLAGS="$(STAGE2_TFLAGS)" \
21919 $(TARGET-stage2-libbacktrace)
21921 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
21922 clean-stage2: clean-stage2-libbacktrace
21923 clean-stage2-libbacktrace:
21924 @if [ $(current_stage) = stage2 ]; then \
21925 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21926 else \
21927 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
21928 $(MAKE) stage2-start; \
21929 fi; \
21930 cd $(HOST_SUBDIR)/libbacktrace && \
21931 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21932 @endif libbacktrace-bootstrap
21935 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
21936 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
21937 maybe-all-stage3-libbacktrace:
21938 maybe-clean-stage3-libbacktrace:
21939 @if libbacktrace-bootstrap
21940 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
21941 all-stage3: all-stage3-libbacktrace
21942 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
21943 all-stage3-libbacktrace: configure-stage3-libbacktrace
21944 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21945 @r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 TFLAGS="$(STAGE3_TFLAGS)"; \
21948 $(HOST_EXPORTS) \
21949 $(POSTSTAGE1_HOST_EXPORTS) \
21950 cd $(HOST_SUBDIR)/libbacktrace && \
21952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21953 CFLAGS="$(STAGE3_CFLAGS)" \
21954 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21955 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21960 TFLAGS="$(STAGE3_TFLAGS)" \
21961 $(TARGET-stage3-libbacktrace)
21963 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
21964 clean-stage3: clean-stage3-libbacktrace
21965 clean-stage3-libbacktrace:
21966 @if [ $(current_stage) = stage3 ]; then \
21967 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21968 else \
21969 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
21970 $(MAKE) stage3-start; \
21971 fi; \
21972 cd $(HOST_SUBDIR)/libbacktrace && \
21973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21974 @endif libbacktrace-bootstrap
21977 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
21978 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
21979 maybe-all-stage4-libbacktrace:
21980 maybe-clean-stage4-libbacktrace:
21981 @if libbacktrace-bootstrap
21982 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
21983 all-stage4: all-stage4-libbacktrace
21984 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
21985 all-stage4-libbacktrace: configure-stage4-libbacktrace
21986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21987 @r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 TFLAGS="$(STAGE4_TFLAGS)"; \
21990 $(HOST_EXPORTS) \
21991 $(POSTSTAGE1_HOST_EXPORTS) \
21992 cd $(HOST_SUBDIR)/libbacktrace && \
21994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21995 CFLAGS="$(STAGE4_CFLAGS)" \
21996 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21997 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22002 TFLAGS="$(STAGE4_TFLAGS)" \
22003 $(TARGET-stage4-libbacktrace)
22005 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
22006 clean-stage4: clean-stage4-libbacktrace
22007 clean-stage4-libbacktrace:
22008 @if [ $(current_stage) = stage4 ]; then \
22009 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22010 else \
22011 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
22012 $(MAKE) stage4-start; \
22013 fi; \
22014 cd $(HOST_SUBDIR)/libbacktrace && \
22015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22016 @endif libbacktrace-bootstrap
22019 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
22020 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
22021 maybe-all-stageprofile-libbacktrace:
22022 maybe-clean-stageprofile-libbacktrace:
22023 @if libbacktrace-bootstrap
22024 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
22025 all-stageprofile: all-stageprofile-libbacktrace
22026 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
22027 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22029 @r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22032 $(HOST_EXPORTS) \
22033 $(POSTSTAGE1_HOST_EXPORTS) \
22034 cd $(HOST_SUBDIR)/libbacktrace && \
22036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22037 CFLAGS="$(STAGEprofile_CFLAGS)" \
22038 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22039 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22044 TFLAGS="$(STAGEprofile_TFLAGS)" \
22045 $(TARGET-stageprofile-libbacktrace)
22047 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
22048 clean-stageprofile: clean-stageprofile-libbacktrace
22049 clean-stageprofile-libbacktrace:
22050 @if [ $(current_stage) = stageprofile ]; then \
22051 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22052 else \
22053 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
22054 $(MAKE) stageprofile-start; \
22055 fi; \
22056 cd $(HOST_SUBDIR)/libbacktrace && \
22057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22058 @endif libbacktrace-bootstrap
22061 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
22062 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
22063 maybe-all-stagefeedback-libbacktrace:
22064 maybe-clean-stagefeedback-libbacktrace:
22065 @if libbacktrace-bootstrap
22066 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
22067 all-stagefeedback: all-stagefeedback-libbacktrace
22068 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
22069 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22070 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22071 @r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22074 $(HOST_EXPORTS) \
22075 $(POSTSTAGE1_HOST_EXPORTS) \
22076 cd $(HOST_SUBDIR)/libbacktrace && \
22078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22079 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22080 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22081 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22086 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22087 $(TARGET-stagefeedback-libbacktrace)
22089 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
22090 clean-stagefeedback: clean-stagefeedback-libbacktrace
22091 clean-stagefeedback-libbacktrace:
22092 @if [ $(current_stage) = stagefeedback ]; then \
22093 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22094 else \
22095 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
22096 $(MAKE) stagefeedback-start; \
22097 fi; \
22098 cd $(HOST_SUBDIR)/libbacktrace && \
22099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22100 @endif libbacktrace-bootstrap
22103 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
22104 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
22105 maybe-all-stageautoprofile-libbacktrace:
22106 maybe-clean-stageautoprofile-libbacktrace:
22107 @if libbacktrace-bootstrap
22108 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
22109 all-stageautoprofile: all-stageautoprofile-libbacktrace
22110 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
22111 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22112 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22113 @r=`${PWD_COMMAND}`; export r; \
22114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22115 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22116 $(HOST_EXPORTS) \
22117 $(POSTSTAGE1_HOST_EXPORTS) \
22118 cd $(HOST_SUBDIR)/libbacktrace && \
22119 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22121 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22122 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22123 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22128 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22129 $(TARGET-stageautoprofile-libbacktrace)
22131 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
22132 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
22133 clean-stageautoprofile-libbacktrace:
22134 @if [ $(current_stage) = stageautoprofile ]; then \
22135 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22136 else \
22137 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
22138 $(MAKE) stageautoprofile-start; \
22139 fi; \
22140 cd $(HOST_SUBDIR)/libbacktrace && \
22141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22142 @endif libbacktrace-bootstrap
22145 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
22146 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
22147 maybe-all-stageautofeedback-libbacktrace:
22148 maybe-clean-stageautofeedback-libbacktrace:
22149 @if libbacktrace-bootstrap
22150 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
22151 all-stageautofeedback: all-stageautofeedback-libbacktrace
22152 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
22153 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22154 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22158 $(HOST_EXPORTS) \
22159 $(POSTSTAGE1_HOST_EXPORTS) \
22160 cd $(HOST_SUBDIR)/libbacktrace && \
22162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22163 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22164 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22165 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22170 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22171 $(TARGET-stageautofeedback-libbacktrace)
22173 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
22174 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
22175 clean-stageautofeedback-libbacktrace:
22176 @if [ $(current_stage) = stageautofeedback ]; then \
22177 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22178 else \
22179 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
22180 $(MAKE) stageautofeedback-start; \
22181 fi; \
22182 cd $(HOST_SUBDIR)/libbacktrace && \
22183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22184 @endif libbacktrace-bootstrap
22190 .PHONY: check-libbacktrace maybe-check-libbacktrace
22191 maybe-check-libbacktrace:
22192 @if libbacktrace
22193 maybe-check-libbacktrace: check-libbacktrace
22195 check-libbacktrace:
22196 @: $(MAKE); $(unstage)
22197 @r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22200 (cd $(HOST_SUBDIR)/libbacktrace && \
22201 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22203 @endif libbacktrace
22205 .PHONY: install-libbacktrace maybe-install-libbacktrace
22206 maybe-install-libbacktrace:
22207 @if libbacktrace
22208 maybe-install-libbacktrace: install-libbacktrace
22210 install-libbacktrace: installdirs
22211 @: $(MAKE); $(unstage)
22212 @r=`${PWD_COMMAND}`; export r; \
22213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 $(HOST_EXPORTS) \
22215 (cd $(HOST_SUBDIR)/libbacktrace && \
22216 $(MAKE) $(FLAGS_TO_PASS) install)
22218 @endif libbacktrace
22220 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
22221 maybe-install-strip-libbacktrace:
22222 @if libbacktrace
22223 maybe-install-strip-libbacktrace: install-strip-libbacktrace
22225 install-strip-libbacktrace: installdirs
22226 @: $(MAKE); $(unstage)
22227 @r=`${PWD_COMMAND}`; export r; \
22228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22229 $(HOST_EXPORTS) \
22230 (cd $(HOST_SUBDIR)/libbacktrace && \
22231 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22233 @endif libbacktrace
22235 # Other targets (info, dvi, pdf, etc.)
22237 .PHONY: maybe-info-libbacktrace info-libbacktrace
22238 maybe-info-libbacktrace:
22239 @if libbacktrace
22240 maybe-info-libbacktrace: info-libbacktrace
22242 info-libbacktrace: \
22243 configure-libbacktrace
22244 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22245 r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 $(HOST_EXPORTS) \
22248 for flag in $(EXTRA_HOST_FLAGS) ; do \
22249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22250 done; \
22251 echo "Doing info in libbacktrace"; \
22252 (cd $(HOST_SUBDIR)/libbacktrace && \
22253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255 "RANLIB=$${RANLIB}" \
22256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22257 info) \
22258 || exit 1
22260 @endif libbacktrace
22262 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
22263 maybe-dvi-libbacktrace:
22264 @if libbacktrace
22265 maybe-dvi-libbacktrace: dvi-libbacktrace
22267 dvi-libbacktrace: \
22268 configure-libbacktrace
22269 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22270 r=`${PWD_COMMAND}`; export r; \
22271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22272 $(HOST_EXPORTS) \
22273 for flag in $(EXTRA_HOST_FLAGS) ; do \
22274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22275 done; \
22276 echo "Doing dvi in libbacktrace"; \
22277 (cd $(HOST_SUBDIR)/libbacktrace && \
22278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22280 "RANLIB=$${RANLIB}" \
22281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22282 dvi) \
22283 || exit 1
22285 @endif libbacktrace
22287 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
22288 maybe-pdf-libbacktrace:
22289 @if libbacktrace
22290 maybe-pdf-libbacktrace: pdf-libbacktrace
22292 pdf-libbacktrace: \
22293 configure-libbacktrace
22294 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22295 r=`${PWD_COMMAND}`; export r; \
22296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22297 $(HOST_EXPORTS) \
22298 for flag in $(EXTRA_HOST_FLAGS) ; do \
22299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22300 done; \
22301 echo "Doing pdf in libbacktrace"; \
22302 (cd $(HOST_SUBDIR)/libbacktrace && \
22303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22305 "RANLIB=$${RANLIB}" \
22306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22307 pdf) \
22308 || exit 1
22310 @endif libbacktrace
22312 .PHONY: maybe-html-libbacktrace html-libbacktrace
22313 maybe-html-libbacktrace:
22314 @if libbacktrace
22315 maybe-html-libbacktrace: html-libbacktrace
22317 html-libbacktrace: \
22318 configure-libbacktrace
22319 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22320 r=`${PWD_COMMAND}`; export r; \
22321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22322 $(HOST_EXPORTS) \
22323 for flag in $(EXTRA_HOST_FLAGS) ; do \
22324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22325 done; \
22326 echo "Doing html in libbacktrace"; \
22327 (cd $(HOST_SUBDIR)/libbacktrace && \
22328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22330 "RANLIB=$${RANLIB}" \
22331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22332 html) \
22333 || exit 1
22335 @endif libbacktrace
22337 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
22338 maybe-TAGS-libbacktrace:
22339 @if libbacktrace
22340 maybe-TAGS-libbacktrace: TAGS-libbacktrace
22342 TAGS-libbacktrace: \
22343 configure-libbacktrace
22344 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22345 r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22347 $(HOST_EXPORTS) \
22348 for flag in $(EXTRA_HOST_FLAGS) ; do \
22349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22350 done; \
22351 echo "Doing TAGS in libbacktrace"; \
22352 (cd $(HOST_SUBDIR)/libbacktrace && \
22353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22355 "RANLIB=$${RANLIB}" \
22356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22357 TAGS) \
22358 || exit 1
22360 @endif libbacktrace
22362 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
22363 maybe-install-info-libbacktrace:
22364 @if libbacktrace
22365 maybe-install-info-libbacktrace: install-info-libbacktrace
22367 install-info-libbacktrace: \
22368 configure-libbacktrace \
22369 info-libbacktrace
22370 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22371 r=`${PWD_COMMAND}`; export r; \
22372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22373 $(HOST_EXPORTS) \
22374 for flag in $(EXTRA_HOST_FLAGS) ; do \
22375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22376 done; \
22377 echo "Doing install-info in libbacktrace"; \
22378 (cd $(HOST_SUBDIR)/libbacktrace && \
22379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22381 "RANLIB=$${RANLIB}" \
22382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22383 install-info) \
22384 || exit 1
22386 @endif libbacktrace
22388 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
22389 maybe-install-pdf-libbacktrace:
22390 @if libbacktrace
22391 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
22393 install-pdf-libbacktrace: \
22394 configure-libbacktrace \
22395 pdf-libbacktrace
22396 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22397 r=`${PWD_COMMAND}`; export r; \
22398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22399 $(HOST_EXPORTS) \
22400 for flag in $(EXTRA_HOST_FLAGS) ; do \
22401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22402 done; \
22403 echo "Doing install-pdf in libbacktrace"; \
22404 (cd $(HOST_SUBDIR)/libbacktrace && \
22405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22407 "RANLIB=$${RANLIB}" \
22408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22409 install-pdf) \
22410 || exit 1
22412 @endif libbacktrace
22414 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
22415 maybe-install-html-libbacktrace:
22416 @if libbacktrace
22417 maybe-install-html-libbacktrace: install-html-libbacktrace
22419 install-html-libbacktrace: \
22420 configure-libbacktrace \
22421 html-libbacktrace
22422 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22423 r=`${PWD_COMMAND}`; export r; \
22424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22425 $(HOST_EXPORTS) \
22426 for flag in $(EXTRA_HOST_FLAGS) ; do \
22427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22428 done; \
22429 echo "Doing install-html in libbacktrace"; \
22430 (cd $(HOST_SUBDIR)/libbacktrace && \
22431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22433 "RANLIB=$${RANLIB}" \
22434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22435 install-html) \
22436 || exit 1
22438 @endif libbacktrace
22440 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
22441 maybe-installcheck-libbacktrace:
22442 @if libbacktrace
22443 maybe-installcheck-libbacktrace: installcheck-libbacktrace
22445 installcheck-libbacktrace: \
22446 configure-libbacktrace
22447 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22448 r=`${PWD_COMMAND}`; export r; \
22449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22450 $(HOST_EXPORTS) \
22451 for flag in $(EXTRA_HOST_FLAGS) ; do \
22452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22453 done; \
22454 echo "Doing installcheck in libbacktrace"; \
22455 (cd $(HOST_SUBDIR)/libbacktrace && \
22456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22458 "RANLIB=$${RANLIB}" \
22459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22460 installcheck) \
22461 || exit 1
22463 @endif libbacktrace
22465 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
22466 maybe-mostlyclean-libbacktrace:
22467 @if libbacktrace
22468 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
22470 mostlyclean-libbacktrace:
22471 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22472 r=`${PWD_COMMAND}`; export r; \
22473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22474 $(HOST_EXPORTS) \
22475 for flag in $(EXTRA_HOST_FLAGS) ; do \
22476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22477 done; \
22478 echo "Doing mostlyclean in libbacktrace"; \
22479 (cd $(HOST_SUBDIR)/libbacktrace && \
22480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22482 "RANLIB=$${RANLIB}" \
22483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22484 mostlyclean) \
22485 || exit 1
22487 @endif libbacktrace
22489 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
22490 maybe-clean-libbacktrace:
22491 @if libbacktrace
22492 maybe-clean-libbacktrace: clean-libbacktrace
22494 clean-libbacktrace:
22495 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22496 r=`${PWD_COMMAND}`; export r; \
22497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22498 $(HOST_EXPORTS) \
22499 for flag in $(EXTRA_HOST_FLAGS) ; do \
22500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22501 done; \
22502 echo "Doing clean in libbacktrace"; \
22503 (cd $(HOST_SUBDIR)/libbacktrace && \
22504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22506 "RANLIB=$${RANLIB}" \
22507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22508 clean) \
22509 || exit 1
22511 @endif libbacktrace
22513 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
22514 maybe-distclean-libbacktrace:
22515 @if libbacktrace
22516 maybe-distclean-libbacktrace: distclean-libbacktrace
22518 distclean-libbacktrace:
22519 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22520 r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 for flag in $(EXTRA_HOST_FLAGS) ; do \
22524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22525 done; \
22526 echo "Doing distclean in libbacktrace"; \
22527 (cd $(HOST_SUBDIR)/libbacktrace && \
22528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22530 "RANLIB=$${RANLIB}" \
22531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22532 distclean) \
22533 || exit 1
22535 @endif libbacktrace
22537 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
22538 maybe-maintainer-clean-libbacktrace:
22539 @if libbacktrace
22540 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
22542 maintainer-clean-libbacktrace:
22543 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 for flag in $(EXTRA_HOST_FLAGS) ; do \
22548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22549 done; \
22550 echo "Doing maintainer-clean in libbacktrace"; \
22551 (cd $(HOST_SUBDIR)/libbacktrace && \
22552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22554 "RANLIB=$${RANLIB}" \
22555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22556 maintainer-clean) \
22557 || exit 1
22559 @endif libbacktrace
22563 .PHONY: configure-libcpp maybe-configure-libcpp
22564 maybe-configure-libcpp:
22565 @if gcc-bootstrap
22566 configure-libcpp: stage_current
22567 @endif gcc-bootstrap
22568 @if libcpp
22569 maybe-configure-libcpp: configure-libcpp
22570 configure-libcpp:
22571 @r=`${PWD_COMMAND}`; export r; \
22572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22573 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22575 $(HOST_EXPORTS) \
22576 echo Configuring in $(HOST_SUBDIR)/libcpp; \
22577 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
22578 case $(srcdir) in \
22579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22580 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22582 esac; \
22583 module_srcdir=libcpp; \
22584 $(SHELL) \
22585 $$s/$$module_srcdir/configure \
22586 --srcdir=$${topdir}/$$module_srcdir \
22587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22588 --target=${target_alias} \
22589 || exit 1
22590 @endif libcpp
22594 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
22595 maybe-configure-stage1-libcpp:
22596 @if libcpp-bootstrap
22597 maybe-configure-stage1-libcpp: configure-stage1-libcpp
22598 configure-stage1-libcpp:
22599 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22600 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22601 @r=`${PWD_COMMAND}`; export r; \
22602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22603 TFLAGS="$(STAGE1_TFLAGS)"; \
22604 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22605 $(HOST_EXPORTS) \
22606 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22607 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22608 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22609 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
22610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22611 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22612 case $(srcdir) in \
22613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22614 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22616 esac; \
22617 module_srcdir=libcpp; \
22618 $(SHELL) $$s/$$module_srcdir/configure \
22619 --srcdir=$${topdir}/$$module_srcdir \
22620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22621 --target=${target_alias} \
22623 $(STAGE1_CONFIGURE_FLAGS)
22624 @endif libcpp-bootstrap
22626 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
22627 maybe-configure-stage2-libcpp:
22628 @if libcpp-bootstrap
22629 maybe-configure-stage2-libcpp: configure-stage2-libcpp
22630 configure-stage2-libcpp:
22631 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22633 @r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22635 TFLAGS="$(STAGE2_TFLAGS)"; \
22636 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22637 $(HOST_EXPORTS) \
22638 $(POSTSTAGE1_HOST_EXPORTS) \
22639 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22640 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22641 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22642 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
22643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22644 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22645 case $(srcdir) in \
22646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22647 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22649 esac; \
22650 module_srcdir=libcpp; \
22651 $(SHELL) $$s/$$module_srcdir/configure \
22652 --srcdir=$${topdir}/$$module_srcdir \
22653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22654 --target=${target_alias} \
22655 --with-build-libsubdir=$(HOST_SUBDIR) \
22656 $(STAGE2_CONFIGURE_FLAGS)
22657 @endif libcpp-bootstrap
22659 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
22660 maybe-configure-stage3-libcpp:
22661 @if libcpp-bootstrap
22662 maybe-configure-stage3-libcpp: configure-stage3-libcpp
22663 configure-stage3-libcpp:
22664 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22666 @r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 TFLAGS="$(STAGE3_TFLAGS)"; \
22669 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22670 $(HOST_EXPORTS) \
22671 $(POSTSTAGE1_HOST_EXPORTS) \
22672 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22673 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22674 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22675 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
22676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22677 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22678 case $(srcdir) in \
22679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22680 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22682 esac; \
22683 module_srcdir=libcpp; \
22684 $(SHELL) $$s/$$module_srcdir/configure \
22685 --srcdir=$${topdir}/$$module_srcdir \
22686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22687 --target=${target_alias} \
22688 --with-build-libsubdir=$(HOST_SUBDIR) \
22689 $(STAGE3_CONFIGURE_FLAGS)
22690 @endif libcpp-bootstrap
22692 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
22693 maybe-configure-stage4-libcpp:
22694 @if libcpp-bootstrap
22695 maybe-configure-stage4-libcpp: configure-stage4-libcpp
22696 configure-stage4-libcpp:
22697 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22699 @r=`${PWD_COMMAND}`; export r; \
22700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22701 TFLAGS="$(STAGE4_TFLAGS)"; \
22702 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22703 $(HOST_EXPORTS) \
22704 $(POSTSTAGE1_HOST_EXPORTS) \
22705 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22706 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22707 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22708 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
22709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22710 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22711 case $(srcdir) in \
22712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22713 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22715 esac; \
22716 module_srcdir=libcpp; \
22717 $(SHELL) $$s/$$module_srcdir/configure \
22718 --srcdir=$${topdir}/$$module_srcdir \
22719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22720 --target=${target_alias} \
22721 --with-build-libsubdir=$(HOST_SUBDIR) \
22722 $(STAGE4_CONFIGURE_FLAGS)
22723 @endif libcpp-bootstrap
22725 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
22726 maybe-configure-stageprofile-libcpp:
22727 @if libcpp-bootstrap
22728 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
22729 configure-stageprofile-libcpp:
22730 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22732 @r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22735 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22736 $(HOST_EXPORTS) \
22737 $(POSTSTAGE1_HOST_EXPORTS) \
22738 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22739 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22740 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22741 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
22742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22743 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22744 case $(srcdir) in \
22745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22746 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22748 esac; \
22749 module_srcdir=libcpp; \
22750 $(SHELL) $$s/$$module_srcdir/configure \
22751 --srcdir=$${topdir}/$$module_srcdir \
22752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22753 --target=${target_alias} \
22754 --with-build-libsubdir=$(HOST_SUBDIR) \
22755 $(STAGEprofile_CONFIGURE_FLAGS)
22756 @endif libcpp-bootstrap
22758 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
22759 maybe-configure-stagefeedback-libcpp:
22760 @if libcpp-bootstrap
22761 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
22762 configure-stagefeedback-libcpp:
22763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22765 @r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22768 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22769 $(HOST_EXPORTS) \
22770 $(POSTSTAGE1_HOST_EXPORTS) \
22771 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22772 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22773 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22774 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
22775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22776 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22777 case $(srcdir) in \
22778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22779 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22781 esac; \
22782 module_srcdir=libcpp; \
22783 $(SHELL) $$s/$$module_srcdir/configure \
22784 --srcdir=$${topdir}/$$module_srcdir \
22785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22786 --target=${target_alias} \
22787 --with-build-libsubdir=$(HOST_SUBDIR) \
22788 $(STAGEfeedback_CONFIGURE_FLAGS)
22789 @endif libcpp-bootstrap
22791 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
22792 maybe-configure-stageautoprofile-libcpp:
22793 @if libcpp-bootstrap
22794 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
22795 configure-stageautoprofile-libcpp:
22796 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22798 @r=`${PWD_COMMAND}`; export r; \
22799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22800 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22801 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22802 $(HOST_EXPORTS) \
22803 $(POSTSTAGE1_HOST_EXPORTS) \
22804 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22805 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22806 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22807 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
22808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22809 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22810 case $(srcdir) in \
22811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22812 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22814 esac; \
22815 module_srcdir=libcpp; \
22816 $(SHELL) $$s/$$module_srcdir/configure \
22817 --srcdir=$${topdir}/$$module_srcdir \
22818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22819 --target=${target_alias} \
22820 --with-build-libsubdir=$(HOST_SUBDIR) \
22821 $(STAGEautoprofile_CONFIGURE_FLAGS)
22822 @endif libcpp-bootstrap
22824 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
22825 maybe-configure-stageautofeedback-libcpp:
22826 @if libcpp-bootstrap
22827 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
22828 configure-stageautofeedback-libcpp:
22829 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22831 @r=`${PWD_COMMAND}`; export r; \
22832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22833 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22834 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22835 $(HOST_EXPORTS) \
22836 $(POSTSTAGE1_HOST_EXPORTS) \
22837 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22838 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22839 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22840 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
22841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22842 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22843 case $(srcdir) in \
22844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22845 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22847 esac; \
22848 module_srcdir=libcpp; \
22849 $(SHELL) $$s/$$module_srcdir/configure \
22850 --srcdir=$${topdir}/$$module_srcdir \
22851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22852 --target=${target_alias} \
22853 --with-build-libsubdir=$(HOST_SUBDIR) \
22854 $(STAGEautofeedback_CONFIGURE_FLAGS)
22855 @endif libcpp-bootstrap
22861 .PHONY: all-libcpp maybe-all-libcpp
22862 maybe-all-libcpp:
22863 @if gcc-bootstrap
22864 all-libcpp: stage_current
22865 @endif gcc-bootstrap
22866 @if libcpp
22867 TARGET-libcpp=all
22868 maybe-all-libcpp: all-libcpp
22869 all-libcpp: configure-libcpp
22870 @r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22872 $(HOST_EXPORTS) \
22873 (cd $(HOST_SUBDIR)/libcpp && \
22874 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22875 $(TARGET-libcpp))
22876 @endif libcpp
22880 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
22881 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
22882 maybe-all-stage1-libcpp:
22883 maybe-clean-stage1-libcpp:
22884 @if libcpp-bootstrap
22885 maybe-all-stage1-libcpp: all-stage1-libcpp
22886 all-stage1: all-stage1-libcpp
22887 TARGET-stage1-libcpp = $(TARGET-libcpp)
22888 all-stage1-libcpp: configure-stage1-libcpp
22889 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22890 @r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 TFLAGS="$(STAGE1_TFLAGS)"; \
22893 $(HOST_EXPORTS) \
22894 cd $(HOST_SUBDIR)/libcpp && \
22896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22897 CFLAGS="$(STAGE1_CFLAGS)" \
22898 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22899 LIBCFLAGS="$(LIBCFLAGS)" \
22900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22903 $(EXTRA_HOST_FLAGS) \
22904 $(STAGE1_FLAGS_TO_PASS) \
22905 TFLAGS="$(STAGE1_TFLAGS)" \
22906 $(TARGET-stage1-libcpp)
22908 maybe-clean-stage1-libcpp: clean-stage1-libcpp
22909 clean-stage1: clean-stage1-libcpp
22910 clean-stage1-libcpp:
22911 @if [ $(current_stage) = stage1 ]; then \
22912 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22913 else \
22914 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
22915 $(MAKE) stage1-start; \
22916 fi; \
22917 cd $(HOST_SUBDIR)/libcpp && \
22918 $(MAKE) $(EXTRA_HOST_FLAGS) \
22919 $(STAGE1_FLAGS_TO_PASS) clean
22920 @endif libcpp-bootstrap
22923 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
22924 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
22925 maybe-all-stage2-libcpp:
22926 maybe-clean-stage2-libcpp:
22927 @if libcpp-bootstrap
22928 maybe-all-stage2-libcpp: all-stage2-libcpp
22929 all-stage2: all-stage2-libcpp
22930 TARGET-stage2-libcpp = $(TARGET-libcpp)
22931 all-stage2-libcpp: configure-stage2-libcpp
22932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22933 @r=`${PWD_COMMAND}`; export r; \
22934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22935 TFLAGS="$(STAGE2_TFLAGS)"; \
22936 $(HOST_EXPORTS) \
22937 $(POSTSTAGE1_HOST_EXPORTS) \
22938 cd $(HOST_SUBDIR)/libcpp && \
22940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22941 CFLAGS="$(STAGE2_CFLAGS)" \
22942 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22943 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22948 TFLAGS="$(STAGE2_TFLAGS)" \
22949 $(TARGET-stage2-libcpp)
22951 maybe-clean-stage2-libcpp: clean-stage2-libcpp
22952 clean-stage2: clean-stage2-libcpp
22953 clean-stage2-libcpp:
22954 @if [ $(current_stage) = stage2 ]; then \
22955 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22956 else \
22957 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
22958 $(MAKE) stage2-start; \
22959 fi; \
22960 cd $(HOST_SUBDIR)/libcpp && \
22961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22962 @endif libcpp-bootstrap
22965 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
22966 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
22967 maybe-all-stage3-libcpp:
22968 maybe-clean-stage3-libcpp:
22969 @if libcpp-bootstrap
22970 maybe-all-stage3-libcpp: all-stage3-libcpp
22971 all-stage3: all-stage3-libcpp
22972 TARGET-stage3-libcpp = $(TARGET-libcpp)
22973 all-stage3-libcpp: configure-stage3-libcpp
22974 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22975 @r=`${PWD_COMMAND}`; export r; \
22976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 TFLAGS="$(STAGE3_TFLAGS)"; \
22978 $(HOST_EXPORTS) \
22979 $(POSTSTAGE1_HOST_EXPORTS) \
22980 cd $(HOST_SUBDIR)/libcpp && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22983 CFLAGS="$(STAGE3_CFLAGS)" \
22984 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22985 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22990 TFLAGS="$(STAGE3_TFLAGS)" \
22991 $(TARGET-stage3-libcpp)
22993 maybe-clean-stage3-libcpp: clean-stage3-libcpp
22994 clean-stage3: clean-stage3-libcpp
22995 clean-stage3-libcpp:
22996 @if [ $(current_stage) = stage3 ]; then \
22997 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22998 else \
22999 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
23000 $(MAKE) stage3-start; \
23001 fi; \
23002 cd $(HOST_SUBDIR)/libcpp && \
23003 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23004 @endif libcpp-bootstrap
23007 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
23008 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
23009 maybe-all-stage4-libcpp:
23010 maybe-clean-stage4-libcpp:
23011 @if libcpp-bootstrap
23012 maybe-all-stage4-libcpp: all-stage4-libcpp
23013 all-stage4: all-stage4-libcpp
23014 TARGET-stage4-libcpp = $(TARGET-libcpp)
23015 all-stage4-libcpp: configure-stage4-libcpp
23016 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23017 @r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 TFLAGS="$(STAGE4_TFLAGS)"; \
23020 $(HOST_EXPORTS) \
23021 $(POSTSTAGE1_HOST_EXPORTS) \
23022 cd $(HOST_SUBDIR)/libcpp && \
23024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23025 CFLAGS="$(STAGE4_CFLAGS)" \
23026 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23027 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23031 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23032 TFLAGS="$(STAGE4_TFLAGS)" \
23033 $(TARGET-stage4-libcpp)
23035 maybe-clean-stage4-libcpp: clean-stage4-libcpp
23036 clean-stage4: clean-stage4-libcpp
23037 clean-stage4-libcpp:
23038 @if [ $(current_stage) = stage4 ]; then \
23039 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23040 else \
23041 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
23042 $(MAKE) stage4-start; \
23043 fi; \
23044 cd $(HOST_SUBDIR)/libcpp && \
23045 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23046 @endif libcpp-bootstrap
23049 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
23050 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
23051 maybe-all-stageprofile-libcpp:
23052 maybe-clean-stageprofile-libcpp:
23053 @if libcpp-bootstrap
23054 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
23055 all-stageprofile: all-stageprofile-libcpp
23056 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
23057 all-stageprofile-libcpp: configure-stageprofile-libcpp
23058 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23059 @r=`${PWD_COMMAND}`; export r; \
23060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23061 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23062 $(HOST_EXPORTS) \
23063 $(POSTSTAGE1_HOST_EXPORTS) \
23064 cd $(HOST_SUBDIR)/libcpp && \
23066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23067 CFLAGS="$(STAGEprofile_CFLAGS)" \
23068 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23069 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23074 TFLAGS="$(STAGEprofile_TFLAGS)" \
23075 $(TARGET-stageprofile-libcpp)
23077 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
23078 clean-stageprofile: clean-stageprofile-libcpp
23079 clean-stageprofile-libcpp:
23080 @if [ $(current_stage) = stageprofile ]; then \
23081 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23082 else \
23083 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
23084 $(MAKE) stageprofile-start; \
23085 fi; \
23086 cd $(HOST_SUBDIR)/libcpp && \
23087 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23088 @endif libcpp-bootstrap
23091 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
23092 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
23093 maybe-all-stagefeedback-libcpp:
23094 maybe-clean-stagefeedback-libcpp:
23095 @if libcpp-bootstrap
23096 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
23097 all-stagefeedback: all-stagefeedback-libcpp
23098 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
23099 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
23100 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23101 @r=`${PWD_COMMAND}`; export r; \
23102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23103 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23104 $(HOST_EXPORTS) \
23105 $(POSTSTAGE1_HOST_EXPORTS) \
23106 cd $(HOST_SUBDIR)/libcpp && \
23108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23109 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23110 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23111 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23116 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23117 $(TARGET-stagefeedback-libcpp)
23119 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
23120 clean-stagefeedback: clean-stagefeedback-libcpp
23121 clean-stagefeedback-libcpp:
23122 @if [ $(current_stage) = stagefeedback ]; then \
23123 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23124 else \
23125 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
23126 $(MAKE) stagefeedback-start; \
23127 fi; \
23128 cd $(HOST_SUBDIR)/libcpp && \
23129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23130 @endif libcpp-bootstrap
23133 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
23134 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
23135 maybe-all-stageautoprofile-libcpp:
23136 maybe-clean-stageautoprofile-libcpp:
23137 @if libcpp-bootstrap
23138 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
23139 all-stageautoprofile: all-stageautoprofile-libcpp
23140 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
23141 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23142 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23143 @r=`${PWD_COMMAND}`; export r; \
23144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23145 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23146 $(HOST_EXPORTS) \
23147 $(POSTSTAGE1_HOST_EXPORTS) \
23148 cd $(HOST_SUBDIR)/libcpp && \
23149 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23151 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23152 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23153 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23158 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23159 $(TARGET-stageautoprofile-libcpp)
23161 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
23162 clean-stageautoprofile: clean-stageautoprofile-libcpp
23163 clean-stageautoprofile-libcpp:
23164 @if [ $(current_stage) = stageautoprofile ]; then \
23165 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23166 else \
23167 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
23168 $(MAKE) stageautoprofile-start; \
23169 fi; \
23170 cd $(HOST_SUBDIR)/libcpp && \
23171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23172 @endif libcpp-bootstrap
23175 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
23176 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
23177 maybe-all-stageautofeedback-libcpp:
23178 maybe-clean-stageautofeedback-libcpp:
23179 @if libcpp-bootstrap
23180 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
23181 all-stageautofeedback: all-stageautofeedback-libcpp
23182 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
23183 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23184 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23188 $(HOST_EXPORTS) \
23189 $(POSTSTAGE1_HOST_EXPORTS) \
23190 cd $(HOST_SUBDIR)/libcpp && \
23192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23193 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23194 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23195 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23200 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23201 $(TARGET-stageautofeedback-libcpp)
23203 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
23204 clean-stageautofeedback: clean-stageautofeedback-libcpp
23205 clean-stageautofeedback-libcpp:
23206 @if [ $(current_stage) = stageautofeedback ]; then \
23207 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23208 else \
23209 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
23210 $(MAKE) stageautofeedback-start; \
23211 fi; \
23212 cd $(HOST_SUBDIR)/libcpp && \
23213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23214 @endif libcpp-bootstrap
23220 .PHONY: check-libcpp maybe-check-libcpp
23221 maybe-check-libcpp:
23222 @if libcpp
23223 maybe-check-libcpp: check-libcpp
23225 check-libcpp:
23226 @: $(MAKE); $(unstage)
23227 @r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23230 (cd $(HOST_SUBDIR)/libcpp && \
23231 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23233 @endif libcpp
23235 .PHONY: install-libcpp maybe-install-libcpp
23236 maybe-install-libcpp:
23237 @if libcpp
23238 maybe-install-libcpp: install-libcpp
23240 install-libcpp: installdirs
23241 @: $(MAKE); $(unstage)
23242 @r=`${PWD_COMMAND}`; export r; \
23243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23244 $(HOST_EXPORTS) \
23245 (cd $(HOST_SUBDIR)/libcpp && \
23246 $(MAKE) $(FLAGS_TO_PASS) install)
23248 @endif libcpp
23250 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
23251 maybe-install-strip-libcpp:
23252 @if libcpp
23253 maybe-install-strip-libcpp: install-strip-libcpp
23255 install-strip-libcpp: installdirs
23256 @: $(MAKE); $(unstage)
23257 @r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(HOST_EXPORTS) \
23260 (cd $(HOST_SUBDIR)/libcpp && \
23261 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23263 @endif libcpp
23265 # Other targets (info, dvi, pdf, etc.)
23267 .PHONY: maybe-info-libcpp info-libcpp
23268 maybe-info-libcpp:
23269 @if libcpp
23270 maybe-info-libcpp: info-libcpp
23272 info-libcpp: \
23273 configure-libcpp
23274 @[ -f ./libcpp/Makefile ] || exit 0; \
23275 r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 $(HOST_EXPORTS) \
23278 for flag in $(EXTRA_HOST_FLAGS) ; do \
23279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23280 done; \
23281 echo "Doing info in libcpp"; \
23282 (cd $(HOST_SUBDIR)/libcpp && \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285 "RANLIB=$${RANLIB}" \
23286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23287 info) \
23288 || exit 1
23290 @endif libcpp
23292 .PHONY: maybe-dvi-libcpp dvi-libcpp
23293 maybe-dvi-libcpp:
23294 @if libcpp
23295 maybe-dvi-libcpp: dvi-libcpp
23297 dvi-libcpp: \
23298 configure-libcpp
23299 @[ -f ./libcpp/Makefile ] || exit 0; \
23300 r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 $(HOST_EXPORTS) \
23303 for flag in $(EXTRA_HOST_FLAGS) ; do \
23304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23305 done; \
23306 echo "Doing dvi in libcpp"; \
23307 (cd $(HOST_SUBDIR)/libcpp && \
23308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23310 "RANLIB=$${RANLIB}" \
23311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23312 dvi) \
23313 || exit 1
23315 @endif libcpp
23317 .PHONY: maybe-pdf-libcpp pdf-libcpp
23318 maybe-pdf-libcpp:
23319 @if libcpp
23320 maybe-pdf-libcpp: pdf-libcpp
23322 pdf-libcpp: \
23323 configure-libcpp
23324 @[ -f ./libcpp/Makefile ] || exit 0; \
23325 r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23327 $(HOST_EXPORTS) \
23328 for flag in $(EXTRA_HOST_FLAGS) ; do \
23329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23330 done; \
23331 echo "Doing pdf in libcpp"; \
23332 (cd $(HOST_SUBDIR)/libcpp && \
23333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23335 "RANLIB=$${RANLIB}" \
23336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23337 pdf) \
23338 || exit 1
23340 @endif libcpp
23342 .PHONY: maybe-html-libcpp html-libcpp
23343 maybe-html-libcpp:
23344 @if libcpp
23345 maybe-html-libcpp: html-libcpp
23347 html-libcpp: \
23348 configure-libcpp
23349 @[ -f ./libcpp/Makefile ] || exit 0; \
23350 r=`${PWD_COMMAND}`; export r; \
23351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23352 $(HOST_EXPORTS) \
23353 for flag in $(EXTRA_HOST_FLAGS) ; do \
23354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23355 done; \
23356 echo "Doing html in libcpp"; \
23357 (cd $(HOST_SUBDIR)/libcpp && \
23358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23360 "RANLIB=$${RANLIB}" \
23361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23362 html) \
23363 || exit 1
23365 @endif libcpp
23367 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
23368 maybe-TAGS-libcpp:
23369 @if libcpp
23370 maybe-TAGS-libcpp: TAGS-libcpp
23372 TAGS-libcpp: \
23373 configure-libcpp
23374 @[ -f ./libcpp/Makefile ] || exit 0; \
23375 r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23377 $(HOST_EXPORTS) \
23378 for flag in $(EXTRA_HOST_FLAGS) ; do \
23379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23380 done; \
23381 echo "Doing TAGS in libcpp"; \
23382 (cd $(HOST_SUBDIR)/libcpp && \
23383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23385 "RANLIB=$${RANLIB}" \
23386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23387 TAGS) \
23388 || exit 1
23390 @endif libcpp
23392 .PHONY: maybe-install-info-libcpp install-info-libcpp
23393 maybe-install-info-libcpp:
23394 @if libcpp
23395 maybe-install-info-libcpp: install-info-libcpp
23397 install-info-libcpp: \
23398 configure-libcpp \
23399 info-libcpp
23400 @[ -f ./libcpp/Makefile ] || exit 0; \
23401 r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 $(HOST_EXPORTS) \
23404 for flag in $(EXTRA_HOST_FLAGS) ; do \
23405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23406 done; \
23407 echo "Doing install-info in libcpp"; \
23408 (cd $(HOST_SUBDIR)/libcpp && \
23409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23411 "RANLIB=$${RANLIB}" \
23412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23413 install-info) \
23414 || exit 1
23416 @endif libcpp
23418 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
23419 maybe-install-pdf-libcpp:
23420 @if libcpp
23421 maybe-install-pdf-libcpp: install-pdf-libcpp
23423 install-pdf-libcpp: \
23424 configure-libcpp \
23425 pdf-libcpp
23426 @[ -f ./libcpp/Makefile ] || exit 0; \
23427 r=`${PWD_COMMAND}`; export r; \
23428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 $(HOST_EXPORTS) \
23430 for flag in $(EXTRA_HOST_FLAGS) ; do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432 done; \
23433 echo "Doing install-pdf in libcpp"; \
23434 (cd $(HOST_SUBDIR)/libcpp && \
23435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23437 "RANLIB=$${RANLIB}" \
23438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23439 install-pdf) \
23440 || exit 1
23442 @endif libcpp
23444 .PHONY: maybe-install-html-libcpp install-html-libcpp
23445 maybe-install-html-libcpp:
23446 @if libcpp
23447 maybe-install-html-libcpp: install-html-libcpp
23449 install-html-libcpp: \
23450 configure-libcpp \
23451 html-libcpp
23452 @[ -f ./libcpp/Makefile ] || exit 0; \
23453 r=`${PWD_COMMAND}`; export r; \
23454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 $(HOST_EXPORTS) \
23456 for flag in $(EXTRA_HOST_FLAGS) ; do \
23457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23458 done; \
23459 echo "Doing install-html in libcpp"; \
23460 (cd $(HOST_SUBDIR)/libcpp && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23463 "RANLIB=$${RANLIB}" \
23464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23465 install-html) \
23466 || exit 1
23468 @endif libcpp
23470 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
23471 maybe-installcheck-libcpp:
23472 @if libcpp
23473 maybe-installcheck-libcpp: installcheck-libcpp
23475 installcheck-libcpp: \
23476 configure-libcpp
23477 @[ -f ./libcpp/Makefile ] || exit 0; \
23478 r=`${PWD_COMMAND}`; export r; \
23479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23480 $(HOST_EXPORTS) \
23481 for flag in $(EXTRA_HOST_FLAGS) ; do \
23482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23483 done; \
23484 echo "Doing installcheck in libcpp"; \
23485 (cd $(HOST_SUBDIR)/libcpp && \
23486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23488 "RANLIB=$${RANLIB}" \
23489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23490 installcheck) \
23491 || exit 1
23493 @endif libcpp
23495 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
23496 maybe-mostlyclean-libcpp:
23497 @if libcpp
23498 maybe-mostlyclean-libcpp: mostlyclean-libcpp
23500 mostlyclean-libcpp:
23501 @[ -f ./libcpp/Makefile ] || exit 0; \
23502 r=`${PWD_COMMAND}`; export r; \
23503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23504 $(HOST_EXPORTS) \
23505 for flag in $(EXTRA_HOST_FLAGS) ; do \
23506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23507 done; \
23508 echo "Doing mostlyclean in libcpp"; \
23509 (cd $(HOST_SUBDIR)/libcpp && \
23510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23512 "RANLIB=$${RANLIB}" \
23513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23514 mostlyclean) \
23515 || exit 1
23517 @endif libcpp
23519 .PHONY: maybe-clean-libcpp clean-libcpp
23520 maybe-clean-libcpp:
23521 @if libcpp
23522 maybe-clean-libcpp: clean-libcpp
23524 clean-libcpp:
23525 @[ -f ./libcpp/Makefile ] || exit 0; \
23526 r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 $(HOST_EXPORTS) \
23529 for flag in $(EXTRA_HOST_FLAGS) ; do \
23530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23531 done; \
23532 echo "Doing clean in libcpp"; \
23533 (cd $(HOST_SUBDIR)/libcpp && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23536 "RANLIB=$${RANLIB}" \
23537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23538 clean) \
23539 || exit 1
23541 @endif libcpp
23543 .PHONY: maybe-distclean-libcpp distclean-libcpp
23544 maybe-distclean-libcpp:
23545 @if libcpp
23546 maybe-distclean-libcpp: distclean-libcpp
23548 distclean-libcpp:
23549 @[ -f ./libcpp/Makefile ] || exit 0; \
23550 r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(HOST_EXPORTS) \
23553 for flag in $(EXTRA_HOST_FLAGS) ; do \
23554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 done; \
23556 echo "Doing distclean in libcpp"; \
23557 (cd $(HOST_SUBDIR)/libcpp && \
23558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23560 "RANLIB=$${RANLIB}" \
23561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23562 distclean) \
23563 || exit 1
23565 @endif libcpp
23567 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
23568 maybe-maintainer-clean-libcpp:
23569 @if libcpp
23570 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
23572 maintainer-clean-libcpp:
23573 @[ -f ./libcpp/Makefile ] || exit 0; \
23574 r=`${PWD_COMMAND}`; export r; \
23575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23576 $(HOST_EXPORTS) \
23577 for flag in $(EXTRA_HOST_FLAGS) ; do \
23578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23579 done; \
23580 echo "Doing maintainer-clean in libcpp"; \
23581 (cd $(HOST_SUBDIR)/libcpp && \
23582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23584 "RANLIB=$${RANLIB}" \
23585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23586 maintainer-clean) \
23587 || exit 1
23589 @endif libcpp
23593 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
23594 maybe-configure-libdecnumber:
23595 @if gcc-bootstrap
23596 configure-libdecnumber: stage_current
23597 @endif gcc-bootstrap
23598 @if libdecnumber
23599 maybe-configure-libdecnumber: configure-libdecnumber
23600 configure-libdecnumber:
23601 @r=`${PWD_COMMAND}`; export r; \
23602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23603 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23605 $(HOST_EXPORTS) \
23606 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
23607 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
23608 case $(srcdir) in \
23609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23610 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23612 esac; \
23613 module_srcdir=libdecnumber; \
23614 $(SHELL) \
23615 $$s/$$module_srcdir/configure \
23616 --srcdir=$${topdir}/$$module_srcdir \
23617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23618 --target=${target_alias} \
23619 || exit 1
23620 @endif libdecnumber
23624 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
23625 maybe-configure-stage1-libdecnumber:
23626 @if libdecnumber-bootstrap
23627 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
23628 configure-stage1-libdecnumber:
23629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23631 @r=`${PWD_COMMAND}`; export r; \
23632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23633 TFLAGS="$(STAGE1_TFLAGS)"; \
23634 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23635 $(HOST_EXPORTS) \
23636 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23637 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23638 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23639 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
23640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23641 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23642 case $(srcdir) in \
23643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23644 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23646 esac; \
23647 module_srcdir=libdecnumber; \
23648 $(SHELL) $$s/$$module_srcdir/configure \
23649 --srcdir=$${topdir}/$$module_srcdir \
23650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23651 --target=${target_alias} \
23653 $(STAGE1_CONFIGURE_FLAGS)
23654 @endif libdecnumber-bootstrap
23656 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
23657 maybe-configure-stage2-libdecnumber:
23658 @if libdecnumber-bootstrap
23659 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
23660 configure-stage2-libdecnumber:
23661 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23663 @r=`${PWD_COMMAND}`; export r; \
23664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23665 TFLAGS="$(STAGE2_TFLAGS)"; \
23666 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23667 $(HOST_EXPORTS) \
23668 $(POSTSTAGE1_HOST_EXPORTS) \
23669 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23670 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23671 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23672 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
23673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23674 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23675 case $(srcdir) in \
23676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23677 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23679 esac; \
23680 module_srcdir=libdecnumber; \
23681 $(SHELL) $$s/$$module_srcdir/configure \
23682 --srcdir=$${topdir}/$$module_srcdir \
23683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23684 --target=${target_alias} \
23685 --with-build-libsubdir=$(HOST_SUBDIR) \
23686 $(STAGE2_CONFIGURE_FLAGS)
23687 @endif libdecnumber-bootstrap
23689 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
23690 maybe-configure-stage3-libdecnumber:
23691 @if libdecnumber-bootstrap
23692 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
23693 configure-stage3-libdecnumber:
23694 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23696 @r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 TFLAGS="$(STAGE3_TFLAGS)"; \
23699 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23700 $(HOST_EXPORTS) \
23701 $(POSTSTAGE1_HOST_EXPORTS) \
23702 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23703 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23704 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23705 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
23706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23707 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23708 case $(srcdir) in \
23709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23710 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23712 esac; \
23713 module_srcdir=libdecnumber; \
23714 $(SHELL) $$s/$$module_srcdir/configure \
23715 --srcdir=$${topdir}/$$module_srcdir \
23716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23717 --target=${target_alias} \
23718 --with-build-libsubdir=$(HOST_SUBDIR) \
23719 $(STAGE3_CONFIGURE_FLAGS)
23720 @endif libdecnumber-bootstrap
23722 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
23723 maybe-configure-stage4-libdecnumber:
23724 @if libdecnumber-bootstrap
23725 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
23726 configure-stage4-libdecnumber:
23727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23729 @r=`${PWD_COMMAND}`; export r; \
23730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23731 TFLAGS="$(STAGE4_TFLAGS)"; \
23732 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23733 $(HOST_EXPORTS) \
23734 $(POSTSTAGE1_HOST_EXPORTS) \
23735 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23736 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23737 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23738 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
23739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23740 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23741 case $(srcdir) in \
23742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23743 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23745 esac; \
23746 module_srcdir=libdecnumber; \
23747 $(SHELL) $$s/$$module_srcdir/configure \
23748 --srcdir=$${topdir}/$$module_srcdir \
23749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23750 --target=${target_alias} \
23751 --with-build-libsubdir=$(HOST_SUBDIR) \
23752 $(STAGE4_CONFIGURE_FLAGS)
23753 @endif libdecnumber-bootstrap
23755 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
23756 maybe-configure-stageprofile-libdecnumber:
23757 @if libdecnumber-bootstrap
23758 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
23759 configure-stageprofile-libdecnumber:
23760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23762 @r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23765 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23766 $(HOST_EXPORTS) \
23767 $(POSTSTAGE1_HOST_EXPORTS) \
23768 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23769 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23770 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23771 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
23772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23773 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23774 case $(srcdir) in \
23775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23776 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23778 esac; \
23779 module_srcdir=libdecnumber; \
23780 $(SHELL) $$s/$$module_srcdir/configure \
23781 --srcdir=$${topdir}/$$module_srcdir \
23782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23783 --target=${target_alias} \
23784 --with-build-libsubdir=$(HOST_SUBDIR) \
23785 $(STAGEprofile_CONFIGURE_FLAGS)
23786 @endif libdecnumber-bootstrap
23788 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
23789 maybe-configure-stagefeedback-libdecnumber:
23790 @if libdecnumber-bootstrap
23791 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
23792 configure-stagefeedback-libdecnumber:
23793 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23795 @r=`${PWD_COMMAND}`; export r; \
23796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23797 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23798 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23799 $(HOST_EXPORTS) \
23800 $(POSTSTAGE1_HOST_EXPORTS) \
23801 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23802 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23803 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23804 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
23805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23806 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23807 case $(srcdir) in \
23808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23809 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23811 esac; \
23812 module_srcdir=libdecnumber; \
23813 $(SHELL) $$s/$$module_srcdir/configure \
23814 --srcdir=$${topdir}/$$module_srcdir \
23815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23816 --target=${target_alias} \
23817 --with-build-libsubdir=$(HOST_SUBDIR) \
23818 $(STAGEfeedback_CONFIGURE_FLAGS)
23819 @endif libdecnumber-bootstrap
23821 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
23822 maybe-configure-stageautoprofile-libdecnumber:
23823 @if libdecnumber-bootstrap
23824 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
23825 configure-stageautoprofile-libdecnumber:
23826 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23828 @r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23831 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23832 $(HOST_EXPORTS) \
23833 $(POSTSTAGE1_HOST_EXPORTS) \
23834 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23835 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23836 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23837 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
23838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23839 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23840 case $(srcdir) in \
23841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23842 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23844 esac; \
23845 module_srcdir=libdecnumber; \
23846 $(SHELL) $$s/$$module_srcdir/configure \
23847 --srcdir=$${topdir}/$$module_srcdir \
23848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23849 --target=${target_alias} \
23850 --with-build-libsubdir=$(HOST_SUBDIR) \
23851 $(STAGEautoprofile_CONFIGURE_FLAGS)
23852 @endif libdecnumber-bootstrap
23854 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
23855 maybe-configure-stageautofeedback-libdecnumber:
23856 @if libdecnumber-bootstrap
23857 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
23858 configure-stageautofeedback-libdecnumber:
23859 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23861 @r=`${PWD_COMMAND}`; export r; \
23862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23863 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23864 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23865 $(HOST_EXPORTS) \
23866 $(POSTSTAGE1_HOST_EXPORTS) \
23867 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23868 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23869 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23870 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
23871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23872 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23873 case $(srcdir) in \
23874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23875 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23877 esac; \
23878 module_srcdir=libdecnumber; \
23879 $(SHELL) $$s/$$module_srcdir/configure \
23880 --srcdir=$${topdir}/$$module_srcdir \
23881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23882 --target=${target_alias} \
23883 --with-build-libsubdir=$(HOST_SUBDIR) \
23884 $(STAGEautofeedback_CONFIGURE_FLAGS)
23885 @endif libdecnumber-bootstrap
23891 .PHONY: all-libdecnumber maybe-all-libdecnumber
23892 maybe-all-libdecnumber:
23893 @if gcc-bootstrap
23894 all-libdecnumber: stage_current
23895 @endif gcc-bootstrap
23896 @if libdecnumber
23897 TARGET-libdecnumber=all
23898 maybe-all-libdecnumber: all-libdecnumber
23899 all-libdecnumber: configure-libdecnumber
23900 @r=`${PWD_COMMAND}`; export r; \
23901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902 $(HOST_EXPORTS) \
23903 (cd $(HOST_SUBDIR)/libdecnumber && \
23904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23905 $(TARGET-libdecnumber))
23906 @endif libdecnumber
23910 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
23911 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
23912 maybe-all-stage1-libdecnumber:
23913 maybe-clean-stage1-libdecnumber:
23914 @if libdecnumber-bootstrap
23915 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
23916 all-stage1: all-stage1-libdecnumber
23917 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
23918 all-stage1-libdecnumber: configure-stage1-libdecnumber
23919 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23920 @r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 TFLAGS="$(STAGE1_TFLAGS)"; \
23923 $(HOST_EXPORTS) \
23924 cd $(HOST_SUBDIR)/libdecnumber && \
23926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23927 CFLAGS="$(STAGE1_CFLAGS)" \
23928 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23929 LIBCFLAGS="$(LIBCFLAGS)" \
23930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23933 $(EXTRA_HOST_FLAGS) \
23934 $(STAGE1_FLAGS_TO_PASS) \
23935 TFLAGS="$(STAGE1_TFLAGS)" \
23936 $(TARGET-stage1-libdecnumber)
23938 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
23939 clean-stage1: clean-stage1-libdecnumber
23940 clean-stage1-libdecnumber:
23941 @if [ $(current_stage) = stage1 ]; then \
23942 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
23943 else \
23944 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
23945 $(MAKE) stage1-start; \
23946 fi; \
23947 cd $(HOST_SUBDIR)/libdecnumber && \
23948 $(MAKE) $(EXTRA_HOST_FLAGS) \
23949 $(STAGE1_FLAGS_TO_PASS) clean
23950 @endif libdecnumber-bootstrap
23953 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
23954 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
23955 maybe-all-stage2-libdecnumber:
23956 maybe-clean-stage2-libdecnumber:
23957 @if libdecnumber-bootstrap
23958 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
23959 all-stage2: all-stage2-libdecnumber
23960 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
23961 all-stage2-libdecnumber: configure-stage2-libdecnumber
23962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 TFLAGS="$(STAGE2_TFLAGS)"; \
23966 $(HOST_EXPORTS) \
23967 $(POSTSTAGE1_HOST_EXPORTS) \
23968 cd $(HOST_SUBDIR)/libdecnumber && \
23970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23971 CFLAGS="$(STAGE2_CFLAGS)" \
23972 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23973 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23978 TFLAGS="$(STAGE2_TFLAGS)" \
23979 $(TARGET-stage2-libdecnumber)
23981 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
23982 clean-stage2: clean-stage2-libdecnumber
23983 clean-stage2-libdecnumber:
23984 @if [ $(current_stage) = stage2 ]; then \
23985 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
23986 else \
23987 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
23988 $(MAKE) stage2-start; \
23989 fi; \
23990 cd $(HOST_SUBDIR)/libdecnumber && \
23991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23992 @endif libdecnumber-bootstrap
23995 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
23996 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
23997 maybe-all-stage3-libdecnumber:
23998 maybe-clean-stage3-libdecnumber:
23999 @if libdecnumber-bootstrap
24000 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
24001 all-stage3: all-stage3-libdecnumber
24002 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
24003 all-stage3-libdecnumber: configure-stage3-libdecnumber
24004 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24005 @r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24007 TFLAGS="$(STAGE3_TFLAGS)"; \
24008 $(HOST_EXPORTS) \
24009 $(POSTSTAGE1_HOST_EXPORTS) \
24010 cd $(HOST_SUBDIR)/libdecnumber && \
24012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24013 CFLAGS="$(STAGE3_CFLAGS)" \
24014 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24015 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24020 TFLAGS="$(STAGE3_TFLAGS)" \
24021 $(TARGET-stage3-libdecnumber)
24023 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
24024 clean-stage3: clean-stage3-libdecnumber
24025 clean-stage3-libdecnumber:
24026 @if [ $(current_stage) = stage3 ]; then \
24027 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24028 else \
24029 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
24030 $(MAKE) stage3-start; \
24031 fi; \
24032 cd $(HOST_SUBDIR)/libdecnumber && \
24033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24034 @endif libdecnumber-bootstrap
24037 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
24038 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
24039 maybe-all-stage4-libdecnumber:
24040 maybe-clean-stage4-libdecnumber:
24041 @if libdecnumber-bootstrap
24042 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
24043 all-stage4: all-stage4-libdecnumber
24044 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
24045 all-stage4-libdecnumber: configure-stage4-libdecnumber
24046 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24047 @r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 TFLAGS="$(STAGE4_TFLAGS)"; \
24050 $(HOST_EXPORTS) \
24051 $(POSTSTAGE1_HOST_EXPORTS) \
24052 cd $(HOST_SUBDIR)/libdecnumber && \
24054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24055 CFLAGS="$(STAGE4_CFLAGS)" \
24056 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24057 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24062 TFLAGS="$(STAGE4_TFLAGS)" \
24063 $(TARGET-stage4-libdecnumber)
24065 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
24066 clean-stage4: clean-stage4-libdecnumber
24067 clean-stage4-libdecnumber:
24068 @if [ $(current_stage) = stage4 ]; then \
24069 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24070 else \
24071 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
24072 $(MAKE) stage4-start; \
24073 fi; \
24074 cd $(HOST_SUBDIR)/libdecnumber && \
24075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24076 @endif libdecnumber-bootstrap
24079 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
24080 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
24081 maybe-all-stageprofile-libdecnumber:
24082 maybe-clean-stageprofile-libdecnumber:
24083 @if libdecnumber-bootstrap
24084 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
24085 all-stageprofile: all-stageprofile-libdecnumber
24086 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
24087 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24089 @r=`${PWD_COMMAND}`; export r; \
24090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24091 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24092 $(HOST_EXPORTS) \
24093 $(POSTSTAGE1_HOST_EXPORTS) \
24094 cd $(HOST_SUBDIR)/libdecnumber && \
24096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24097 CFLAGS="$(STAGEprofile_CFLAGS)" \
24098 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24099 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24100 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24101 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24102 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24103 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24104 TFLAGS="$(STAGEprofile_TFLAGS)" \
24105 $(TARGET-stageprofile-libdecnumber)
24107 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
24108 clean-stageprofile: clean-stageprofile-libdecnumber
24109 clean-stageprofile-libdecnumber:
24110 @if [ $(current_stage) = stageprofile ]; then \
24111 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24112 else \
24113 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
24114 $(MAKE) stageprofile-start; \
24115 fi; \
24116 cd $(HOST_SUBDIR)/libdecnumber && \
24117 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24118 @endif libdecnumber-bootstrap
24121 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
24122 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
24123 maybe-all-stagefeedback-libdecnumber:
24124 maybe-clean-stagefeedback-libdecnumber:
24125 @if libdecnumber-bootstrap
24126 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
24127 all-stagefeedback: all-stagefeedback-libdecnumber
24128 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
24129 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
24130 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24131 @r=`${PWD_COMMAND}`; export r; \
24132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24133 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24134 $(HOST_EXPORTS) \
24135 $(POSTSTAGE1_HOST_EXPORTS) \
24136 cd $(HOST_SUBDIR)/libdecnumber && \
24138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24139 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24140 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24141 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24146 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24147 $(TARGET-stagefeedback-libdecnumber)
24149 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
24150 clean-stagefeedback: clean-stagefeedback-libdecnumber
24151 clean-stagefeedback-libdecnumber:
24152 @if [ $(current_stage) = stagefeedback ]; then \
24153 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24154 else \
24155 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
24156 $(MAKE) stagefeedback-start; \
24157 fi; \
24158 cd $(HOST_SUBDIR)/libdecnumber && \
24159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24160 @endif libdecnumber-bootstrap
24163 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
24164 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
24165 maybe-all-stageautoprofile-libdecnumber:
24166 maybe-clean-stageautoprofile-libdecnumber:
24167 @if libdecnumber-bootstrap
24168 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
24169 all-stageautoprofile: all-stageautoprofile-libdecnumber
24170 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
24171 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
24172 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24173 @r=`${PWD_COMMAND}`; export r; \
24174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24175 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24176 $(HOST_EXPORTS) \
24177 $(POSTSTAGE1_HOST_EXPORTS) \
24178 cd $(HOST_SUBDIR)/libdecnumber && \
24179 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24181 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24182 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24183 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24188 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24189 $(TARGET-stageautoprofile-libdecnumber)
24191 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
24192 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
24193 clean-stageautoprofile-libdecnumber:
24194 @if [ $(current_stage) = stageautoprofile ]; then \
24195 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24196 else \
24197 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
24198 $(MAKE) stageautoprofile-start; \
24199 fi; \
24200 cd $(HOST_SUBDIR)/libdecnumber && \
24201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24202 @endif libdecnumber-bootstrap
24205 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
24206 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
24207 maybe-all-stageautofeedback-libdecnumber:
24208 maybe-clean-stageautofeedback-libdecnumber:
24209 @if libdecnumber-bootstrap
24210 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
24211 all-stageautofeedback: all-stageautofeedback-libdecnumber
24212 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
24213 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
24214 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24215 @r=`${PWD_COMMAND}`; export r; \
24216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24217 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24218 $(HOST_EXPORTS) \
24219 $(POSTSTAGE1_HOST_EXPORTS) \
24220 cd $(HOST_SUBDIR)/libdecnumber && \
24222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24223 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24224 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24225 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24230 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24231 $(TARGET-stageautofeedback-libdecnumber)
24233 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
24234 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
24235 clean-stageautofeedback-libdecnumber:
24236 @if [ $(current_stage) = stageautofeedback ]; then \
24237 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24238 else \
24239 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
24240 $(MAKE) stageautofeedback-start; \
24241 fi; \
24242 cd $(HOST_SUBDIR)/libdecnumber && \
24243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24244 @endif libdecnumber-bootstrap
24250 .PHONY: check-libdecnumber maybe-check-libdecnumber
24251 maybe-check-libdecnumber:
24252 @if libdecnumber
24253 maybe-check-libdecnumber: check-libdecnumber
24255 check-libdecnumber:
24256 @: $(MAKE); $(unstage)
24257 @r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24260 (cd $(HOST_SUBDIR)/libdecnumber && \
24261 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24263 @endif libdecnumber
24265 .PHONY: install-libdecnumber maybe-install-libdecnumber
24266 maybe-install-libdecnumber:
24267 @if libdecnumber
24268 maybe-install-libdecnumber: install-libdecnumber
24270 install-libdecnumber: installdirs
24271 @: $(MAKE); $(unstage)
24272 @r=`${PWD_COMMAND}`; export r; \
24273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24274 $(HOST_EXPORTS) \
24275 (cd $(HOST_SUBDIR)/libdecnumber && \
24276 $(MAKE) $(FLAGS_TO_PASS) install)
24278 @endif libdecnumber
24280 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
24281 maybe-install-strip-libdecnumber:
24282 @if libdecnumber
24283 maybe-install-strip-libdecnumber: install-strip-libdecnumber
24285 install-strip-libdecnumber: installdirs
24286 @: $(MAKE); $(unstage)
24287 @r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 $(HOST_EXPORTS) \
24290 (cd $(HOST_SUBDIR)/libdecnumber && \
24291 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24293 @endif libdecnumber
24295 # Other targets (info, dvi, pdf, etc.)
24297 .PHONY: maybe-info-libdecnumber info-libdecnumber
24298 maybe-info-libdecnumber:
24299 @if libdecnumber
24300 maybe-info-libdecnumber: info-libdecnumber
24302 info-libdecnumber: \
24303 configure-libdecnumber
24304 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24305 r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 $(HOST_EXPORTS) \
24308 for flag in $(EXTRA_HOST_FLAGS) ; do \
24309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24310 done; \
24311 echo "Doing info in libdecnumber"; \
24312 (cd $(HOST_SUBDIR)/libdecnumber && \
24313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24315 "RANLIB=$${RANLIB}" \
24316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24317 info) \
24318 || exit 1
24320 @endif libdecnumber
24322 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
24323 maybe-dvi-libdecnumber:
24324 @if libdecnumber
24325 maybe-dvi-libdecnumber: dvi-libdecnumber
24327 dvi-libdecnumber: \
24328 configure-libdecnumber
24329 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24330 r=`${PWD_COMMAND}`; export r; \
24331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332 $(HOST_EXPORTS) \
24333 for flag in $(EXTRA_HOST_FLAGS) ; do \
24334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24335 done; \
24336 echo "Doing dvi in libdecnumber"; \
24337 (cd $(HOST_SUBDIR)/libdecnumber && \
24338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24340 "RANLIB=$${RANLIB}" \
24341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24342 dvi) \
24343 || exit 1
24345 @endif libdecnumber
24347 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
24348 maybe-pdf-libdecnumber:
24349 @if libdecnumber
24350 maybe-pdf-libdecnumber: pdf-libdecnumber
24352 pdf-libdecnumber: \
24353 configure-libdecnumber
24354 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing pdf in libdecnumber"; \
24362 (cd $(HOST_SUBDIR)/libdecnumber && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24367 pdf) \
24368 || exit 1
24370 @endif libdecnumber
24372 .PHONY: maybe-html-libdecnumber html-libdecnumber
24373 maybe-html-libdecnumber:
24374 @if libdecnumber
24375 maybe-html-libdecnumber: html-libdecnumber
24377 html-libdecnumber: \
24378 configure-libdecnumber
24379 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(HOST_EXPORTS) \
24383 for flag in $(EXTRA_HOST_FLAGS) ; do \
24384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24385 done; \
24386 echo "Doing html in libdecnumber"; \
24387 (cd $(HOST_SUBDIR)/libdecnumber && \
24388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24390 "RANLIB=$${RANLIB}" \
24391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24392 html) \
24393 || exit 1
24395 @endif libdecnumber
24397 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
24398 maybe-TAGS-libdecnumber:
24399 @if libdecnumber
24400 maybe-TAGS-libdecnumber: TAGS-libdecnumber
24402 TAGS-libdecnumber: \
24403 configure-libdecnumber
24404 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24405 r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24407 $(HOST_EXPORTS) \
24408 for flag in $(EXTRA_HOST_FLAGS) ; do \
24409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24410 done; \
24411 echo "Doing TAGS in libdecnumber"; \
24412 (cd $(HOST_SUBDIR)/libdecnumber && \
24413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24415 "RANLIB=$${RANLIB}" \
24416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24417 TAGS) \
24418 || exit 1
24420 @endif libdecnumber
24422 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
24423 maybe-install-info-libdecnumber:
24424 @if libdecnumber
24425 maybe-install-info-libdecnumber: install-info-libdecnumber
24427 install-info-libdecnumber: \
24428 configure-libdecnumber \
24429 info-libdecnumber
24430 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24431 r=`${PWD_COMMAND}`; export r; \
24432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24433 $(HOST_EXPORTS) \
24434 for flag in $(EXTRA_HOST_FLAGS) ; do \
24435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 done; \
24437 echo "Doing install-info in libdecnumber"; \
24438 (cd $(HOST_SUBDIR)/libdecnumber && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24443 install-info) \
24444 || exit 1
24446 @endif libdecnumber
24448 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
24449 maybe-install-pdf-libdecnumber:
24450 @if libdecnumber
24451 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
24453 install-pdf-libdecnumber: \
24454 configure-libdecnumber \
24455 pdf-libdecnumber
24456 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 for flag in $(EXTRA_HOST_FLAGS) ; do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 echo "Doing install-pdf in libdecnumber"; \
24464 (cd $(HOST_SUBDIR)/libdecnumber && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24469 install-pdf) \
24470 || exit 1
24472 @endif libdecnumber
24474 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
24475 maybe-install-html-libdecnumber:
24476 @if libdecnumber
24477 maybe-install-html-libdecnumber: install-html-libdecnumber
24479 install-html-libdecnumber: \
24480 configure-libdecnumber \
24481 html-libdecnumber
24482 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24483 r=`${PWD_COMMAND}`; export r; \
24484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24485 $(HOST_EXPORTS) \
24486 for flag in $(EXTRA_HOST_FLAGS) ; do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 done; \
24489 echo "Doing install-html in libdecnumber"; \
24490 (cd $(HOST_SUBDIR)/libdecnumber && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24493 "RANLIB=$${RANLIB}" \
24494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24495 install-html) \
24496 || exit 1
24498 @endif libdecnumber
24500 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
24501 maybe-installcheck-libdecnumber:
24502 @if libdecnumber
24503 maybe-installcheck-libdecnumber: installcheck-libdecnumber
24505 installcheck-libdecnumber: \
24506 configure-libdecnumber
24507 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24508 r=`${PWD_COMMAND}`; export r; \
24509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24510 $(HOST_EXPORTS) \
24511 for flag in $(EXTRA_HOST_FLAGS) ; do \
24512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24513 done; \
24514 echo "Doing installcheck in libdecnumber"; \
24515 (cd $(HOST_SUBDIR)/libdecnumber && \
24516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24518 "RANLIB=$${RANLIB}" \
24519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24520 installcheck) \
24521 || exit 1
24523 @endif libdecnumber
24525 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
24526 maybe-mostlyclean-libdecnumber:
24527 @if libdecnumber
24528 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
24530 mostlyclean-libdecnumber:
24531 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(HOST_EXPORTS) \
24535 for flag in $(EXTRA_HOST_FLAGS) ; do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 done; \
24538 echo "Doing mostlyclean in libdecnumber"; \
24539 (cd $(HOST_SUBDIR)/libdecnumber && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24544 mostlyclean) \
24545 || exit 1
24547 @endif libdecnumber
24549 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
24550 maybe-clean-libdecnumber:
24551 @if libdecnumber
24552 maybe-clean-libdecnumber: clean-libdecnumber
24554 clean-libdecnumber:
24555 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24556 r=`${PWD_COMMAND}`; export r; \
24557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24558 $(HOST_EXPORTS) \
24559 for flag in $(EXTRA_HOST_FLAGS) ; do \
24560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24561 done; \
24562 echo "Doing clean in libdecnumber"; \
24563 (cd $(HOST_SUBDIR)/libdecnumber && \
24564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24566 "RANLIB=$${RANLIB}" \
24567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24568 clean) \
24569 || exit 1
24571 @endif libdecnumber
24573 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
24574 maybe-distclean-libdecnumber:
24575 @if libdecnumber
24576 maybe-distclean-libdecnumber: distclean-libdecnumber
24578 distclean-libdecnumber:
24579 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24580 r=`${PWD_COMMAND}`; export r; \
24581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24582 $(HOST_EXPORTS) \
24583 for flag in $(EXTRA_HOST_FLAGS) ; do \
24584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24585 done; \
24586 echo "Doing distclean in libdecnumber"; \
24587 (cd $(HOST_SUBDIR)/libdecnumber && \
24588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24590 "RANLIB=$${RANLIB}" \
24591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24592 distclean) \
24593 || exit 1
24595 @endif libdecnumber
24597 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
24598 maybe-maintainer-clean-libdecnumber:
24599 @if libdecnumber
24600 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
24602 maintainer-clean-libdecnumber:
24603 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 for flag in $(EXTRA_HOST_FLAGS) ; do \
24608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24609 done; \
24610 echo "Doing maintainer-clean in libdecnumber"; \
24611 (cd $(HOST_SUBDIR)/libdecnumber && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24614 "RANLIB=$${RANLIB}" \
24615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24616 maintainer-clean) \
24617 || exit 1
24619 @endif libdecnumber
24623 .PHONY: configure-libgui maybe-configure-libgui
24624 maybe-configure-libgui:
24625 @if gcc-bootstrap
24626 configure-libgui: stage_current
24627 @endif gcc-bootstrap
24628 @if libgui
24629 maybe-configure-libgui: configure-libgui
24630 configure-libgui:
24631 @: $(MAKE); $(unstage)
24632 @r=`${PWD_COMMAND}`; export r; \
24633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24634 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
24635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
24636 $(HOST_EXPORTS) \
24637 echo Configuring in $(HOST_SUBDIR)/libgui; \
24638 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
24639 case $(srcdir) in \
24640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24641 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
24642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24643 esac; \
24644 module_srcdir=libgui; \
24645 $(SHELL) \
24646 $$s/$$module_srcdir/configure \
24647 --srcdir=$${topdir}/$$module_srcdir \
24648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24649 --target=${target_alias} \
24650 || exit 1
24651 @endif libgui
24657 .PHONY: all-libgui maybe-all-libgui
24658 maybe-all-libgui:
24659 @if gcc-bootstrap
24660 all-libgui: stage_current
24661 @endif gcc-bootstrap
24662 @if libgui
24663 TARGET-libgui=all
24664 maybe-all-libgui: all-libgui
24665 all-libgui: configure-libgui
24666 @: $(MAKE); $(unstage)
24667 @r=`${PWD_COMMAND}`; export r; \
24668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 $(HOST_EXPORTS) \
24670 (cd $(HOST_SUBDIR)/libgui && \
24671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24672 $(TARGET-libgui))
24673 @endif libgui
24678 .PHONY: check-libgui maybe-check-libgui
24679 maybe-check-libgui:
24680 @if libgui
24681 maybe-check-libgui: check-libgui
24683 check-libgui:
24684 @: $(MAKE); $(unstage)
24685 @r=`${PWD_COMMAND}`; export r; \
24686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24687 $(HOST_EXPORTS) \
24688 (cd $(HOST_SUBDIR)/libgui && \
24689 $(MAKE) $(FLAGS_TO_PASS) check)
24691 @endif libgui
24693 .PHONY: install-libgui maybe-install-libgui
24694 maybe-install-libgui:
24695 @if libgui
24696 maybe-install-libgui: install-libgui
24698 install-libgui: installdirs
24699 @: $(MAKE); $(unstage)
24700 @r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 (cd $(HOST_SUBDIR)/libgui && \
24704 $(MAKE) $(FLAGS_TO_PASS) install)
24706 @endif libgui
24708 .PHONY: install-strip-libgui maybe-install-strip-libgui
24709 maybe-install-strip-libgui:
24710 @if libgui
24711 maybe-install-strip-libgui: install-strip-libgui
24713 install-strip-libgui: installdirs
24714 @: $(MAKE); $(unstage)
24715 @r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(HOST_EXPORTS) \
24718 (cd $(HOST_SUBDIR)/libgui && \
24719 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24721 @endif libgui
24723 # Other targets (info, dvi, pdf, etc.)
24725 .PHONY: maybe-info-libgui info-libgui
24726 maybe-info-libgui:
24727 @if libgui
24728 maybe-info-libgui: info-libgui
24730 info-libgui: \
24731 configure-libgui
24732 @: $(MAKE); $(unstage)
24733 @[ -f ./libgui/Makefile ] || exit 0; \
24734 r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(HOST_EXPORTS) \
24737 for flag in $(EXTRA_HOST_FLAGS) ; do \
24738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24739 done; \
24740 echo "Doing info in libgui"; \
24741 (cd $(HOST_SUBDIR)/libgui && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24744 "RANLIB=$${RANLIB}" \
24745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24746 info) \
24747 || exit 1
24749 @endif libgui
24751 .PHONY: maybe-dvi-libgui dvi-libgui
24752 maybe-dvi-libgui:
24753 @if libgui
24754 maybe-dvi-libgui: dvi-libgui
24756 dvi-libgui: \
24757 configure-libgui
24758 @: $(MAKE); $(unstage)
24759 @[ -f ./libgui/Makefile ] || exit 0; \
24760 r=`${PWD_COMMAND}`; export r; \
24761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24762 $(HOST_EXPORTS) \
24763 for flag in $(EXTRA_HOST_FLAGS) ; do \
24764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24765 done; \
24766 echo "Doing dvi in libgui"; \
24767 (cd $(HOST_SUBDIR)/libgui && \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24770 "RANLIB=$${RANLIB}" \
24771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24772 dvi) \
24773 || exit 1
24775 @endif libgui
24777 .PHONY: maybe-pdf-libgui pdf-libgui
24778 maybe-pdf-libgui:
24779 @if libgui
24780 maybe-pdf-libgui: pdf-libgui
24782 pdf-libgui: \
24783 configure-libgui
24784 @: $(MAKE); $(unstage)
24785 @[ -f ./libgui/Makefile ] || exit 0; \
24786 r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788 $(HOST_EXPORTS) \
24789 for flag in $(EXTRA_HOST_FLAGS) ; do \
24790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24791 done; \
24792 echo "Doing pdf in libgui"; \
24793 (cd $(HOST_SUBDIR)/libgui && \
24794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24796 "RANLIB=$${RANLIB}" \
24797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24798 pdf) \
24799 || exit 1
24801 @endif libgui
24803 .PHONY: maybe-html-libgui html-libgui
24804 maybe-html-libgui:
24805 @if libgui
24806 maybe-html-libgui: html-libgui
24808 html-libgui: \
24809 configure-libgui
24810 @: $(MAKE); $(unstage)
24811 @[ -f ./libgui/Makefile ] || exit 0; \
24812 r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 $(HOST_EXPORTS) \
24815 for flag in $(EXTRA_HOST_FLAGS) ; do \
24816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24817 done; \
24818 echo "Doing html in libgui"; \
24819 (cd $(HOST_SUBDIR)/libgui && \
24820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24822 "RANLIB=$${RANLIB}" \
24823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24824 html) \
24825 || exit 1
24827 @endif libgui
24829 .PHONY: maybe-TAGS-libgui TAGS-libgui
24830 maybe-TAGS-libgui:
24831 @if libgui
24832 maybe-TAGS-libgui: TAGS-libgui
24834 TAGS-libgui: \
24835 configure-libgui
24836 @: $(MAKE); $(unstage)
24837 @[ -f ./libgui/Makefile ] || exit 0; \
24838 r=`${PWD_COMMAND}`; export r; \
24839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24840 $(HOST_EXPORTS) \
24841 for flag in $(EXTRA_HOST_FLAGS) ; do \
24842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24843 done; \
24844 echo "Doing TAGS in libgui"; \
24845 (cd $(HOST_SUBDIR)/libgui && \
24846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24848 "RANLIB=$${RANLIB}" \
24849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24850 TAGS) \
24851 || exit 1
24853 @endif libgui
24855 .PHONY: maybe-install-info-libgui install-info-libgui
24856 maybe-install-info-libgui:
24857 @if libgui
24858 maybe-install-info-libgui: install-info-libgui
24860 install-info-libgui: \
24861 configure-libgui \
24862 info-libgui
24863 @: $(MAKE); $(unstage)
24864 @[ -f ./libgui/Makefile ] || exit 0; \
24865 r=`${PWD_COMMAND}`; export r; \
24866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24867 $(HOST_EXPORTS) \
24868 for flag in $(EXTRA_HOST_FLAGS) ; do \
24869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24870 done; \
24871 echo "Doing install-info in libgui"; \
24872 (cd $(HOST_SUBDIR)/libgui && \
24873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24875 "RANLIB=$${RANLIB}" \
24876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24877 install-info) \
24878 || exit 1
24880 @endif libgui
24882 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
24883 maybe-install-pdf-libgui:
24884 @if libgui
24885 maybe-install-pdf-libgui: install-pdf-libgui
24887 install-pdf-libgui: \
24888 configure-libgui \
24889 pdf-libgui
24890 @: $(MAKE); $(unstage)
24891 @[ -f ./libgui/Makefile ] || exit 0; \
24892 r=`${PWD_COMMAND}`; export r; \
24893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24894 $(HOST_EXPORTS) \
24895 for flag in $(EXTRA_HOST_FLAGS) ; do \
24896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24897 done; \
24898 echo "Doing install-pdf in libgui"; \
24899 (cd $(HOST_SUBDIR)/libgui && \
24900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24902 "RANLIB=$${RANLIB}" \
24903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24904 install-pdf) \
24905 || exit 1
24907 @endif libgui
24909 .PHONY: maybe-install-html-libgui install-html-libgui
24910 maybe-install-html-libgui:
24911 @if libgui
24912 maybe-install-html-libgui: install-html-libgui
24914 install-html-libgui: \
24915 configure-libgui \
24916 html-libgui
24917 @: $(MAKE); $(unstage)
24918 @[ -f ./libgui/Makefile ] || exit 0; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 for flag in $(EXTRA_HOST_FLAGS) ; do \
24923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24924 done; \
24925 echo "Doing install-html in libgui"; \
24926 (cd $(HOST_SUBDIR)/libgui && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24931 install-html) \
24932 || exit 1
24934 @endif libgui
24936 .PHONY: maybe-installcheck-libgui installcheck-libgui
24937 maybe-installcheck-libgui:
24938 @if libgui
24939 maybe-installcheck-libgui: installcheck-libgui
24941 installcheck-libgui: \
24942 configure-libgui
24943 @: $(MAKE); $(unstage)
24944 @[ -f ./libgui/Makefile ] || exit 0; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(HOST_EXPORTS) \
24948 for flag in $(EXTRA_HOST_FLAGS) ; do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 echo "Doing installcheck in libgui"; \
24952 (cd $(HOST_SUBDIR)/libgui && \
24953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24955 "RANLIB=$${RANLIB}" \
24956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24957 installcheck) \
24958 || exit 1
24960 @endif libgui
24962 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
24963 maybe-mostlyclean-libgui:
24964 @if libgui
24965 maybe-mostlyclean-libgui: mostlyclean-libgui
24967 mostlyclean-libgui:
24968 @: $(MAKE); $(unstage)
24969 @[ -f ./libgui/Makefile ] || exit 0; \
24970 r=`${PWD_COMMAND}`; export r; \
24971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24972 $(HOST_EXPORTS) \
24973 for flag in $(EXTRA_HOST_FLAGS) ; do \
24974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24975 done; \
24976 echo "Doing mostlyclean in libgui"; \
24977 (cd $(HOST_SUBDIR)/libgui && \
24978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24980 "RANLIB=$${RANLIB}" \
24981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24982 mostlyclean) \
24983 || exit 1
24985 @endif libgui
24987 .PHONY: maybe-clean-libgui clean-libgui
24988 maybe-clean-libgui:
24989 @if libgui
24990 maybe-clean-libgui: clean-libgui
24992 clean-libgui:
24993 @: $(MAKE); $(unstage)
24994 @[ -f ./libgui/Makefile ] || exit 0; \
24995 r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 for flag in $(EXTRA_HOST_FLAGS) ; do \
24999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25000 done; \
25001 echo "Doing clean in libgui"; \
25002 (cd $(HOST_SUBDIR)/libgui && \
25003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25005 "RANLIB=$${RANLIB}" \
25006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25007 clean) \
25008 || exit 1
25010 @endif libgui
25012 .PHONY: maybe-distclean-libgui distclean-libgui
25013 maybe-distclean-libgui:
25014 @if libgui
25015 maybe-distclean-libgui: distclean-libgui
25017 distclean-libgui:
25018 @: $(MAKE); $(unstage)
25019 @[ -f ./libgui/Makefile ] || exit 0; \
25020 r=`${PWD_COMMAND}`; export r; \
25021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25022 $(HOST_EXPORTS) \
25023 for flag in $(EXTRA_HOST_FLAGS) ; do \
25024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25025 done; \
25026 echo "Doing distclean in libgui"; \
25027 (cd $(HOST_SUBDIR)/libgui && \
25028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25030 "RANLIB=$${RANLIB}" \
25031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25032 distclean) \
25033 || exit 1
25035 @endif libgui
25037 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
25038 maybe-maintainer-clean-libgui:
25039 @if libgui
25040 maybe-maintainer-clean-libgui: maintainer-clean-libgui
25042 maintainer-clean-libgui:
25043 @: $(MAKE); $(unstage)
25044 @[ -f ./libgui/Makefile ] || exit 0; \
25045 r=`${PWD_COMMAND}`; export r; \
25046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25047 $(HOST_EXPORTS) \
25048 for flag in $(EXTRA_HOST_FLAGS) ; do \
25049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25050 done; \
25051 echo "Doing maintainer-clean in libgui"; \
25052 (cd $(HOST_SUBDIR)/libgui && \
25053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25055 "RANLIB=$${RANLIB}" \
25056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25057 maintainer-clean) \
25058 || exit 1
25060 @endif libgui
25064 .PHONY: configure-libiberty maybe-configure-libiberty
25065 maybe-configure-libiberty:
25066 @if gcc-bootstrap
25067 configure-libiberty: stage_current
25068 @endif gcc-bootstrap
25069 @if libiberty
25070 maybe-configure-libiberty: configure-libiberty
25071 configure-libiberty:
25072 @r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25076 $(HOST_EXPORTS) \
25077 echo Configuring in $(HOST_SUBDIR)/libiberty; \
25078 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
25079 case $(srcdir) in \
25080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25081 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25083 esac; \
25084 module_srcdir=libiberty; \
25085 $(SHELL) \
25086 $$s/$$module_srcdir/configure \
25087 --srcdir=$${topdir}/$$module_srcdir \
25088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25089 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
25090 || exit 1
25091 @endif libiberty
25095 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
25096 maybe-configure-stage1-libiberty:
25097 @if libiberty-bootstrap
25098 maybe-configure-stage1-libiberty: configure-stage1-libiberty
25099 configure-stage1-libiberty:
25100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25102 @r=`${PWD_COMMAND}`; export r; \
25103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25104 TFLAGS="$(STAGE1_TFLAGS)"; \
25105 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25106 $(HOST_EXPORTS) \
25107 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25108 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25109 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25110 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
25111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25112 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25113 case $(srcdir) in \
25114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25115 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25117 esac; \
25118 module_srcdir=libiberty; \
25119 $(SHELL) $$s/$$module_srcdir/configure \
25120 --srcdir=$${topdir}/$$module_srcdir \
25121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25122 --target=${target_alias} \
25124 $(STAGE1_CONFIGURE_FLAGS) \
25125 @extra_host_libiberty_configure_flags@
25126 @endif libiberty-bootstrap
25128 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
25129 maybe-configure-stage2-libiberty:
25130 @if libiberty-bootstrap
25131 maybe-configure-stage2-libiberty: configure-stage2-libiberty
25132 configure-stage2-libiberty:
25133 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25135 @r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137 TFLAGS="$(STAGE2_TFLAGS)"; \
25138 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25139 $(HOST_EXPORTS) \
25140 $(POSTSTAGE1_HOST_EXPORTS) \
25141 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25142 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25143 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25144 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
25145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25146 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25147 case $(srcdir) in \
25148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25149 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25151 esac; \
25152 module_srcdir=libiberty; \
25153 $(SHELL) $$s/$$module_srcdir/configure \
25154 --srcdir=$${topdir}/$$module_srcdir \
25155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25156 --target=${target_alias} \
25157 --with-build-libsubdir=$(HOST_SUBDIR) \
25158 $(STAGE2_CONFIGURE_FLAGS) \
25159 @extra_host_libiberty_configure_flags@
25160 @endif libiberty-bootstrap
25162 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
25163 maybe-configure-stage3-libiberty:
25164 @if libiberty-bootstrap
25165 maybe-configure-stage3-libiberty: configure-stage3-libiberty
25166 configure-stage3-libiberty:
25167 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25169 @r=`${PWD_COMMAND}`; export r; \
25170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25171 TFLAGS="$(STAGE3_TFLAGS)"; \
25172 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25173 $(HOST_EXPORTS) \
25174 $(POSTSTAGE1_HOST_EXPORTS) \
25175 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25176 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25177 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25178 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
25179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25180 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25181 case $(srcdir) in \
25182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25183 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25185 esac; \
25186 module_srcdir=libiberty; \
25187 $(SHELL) $$s/$$module_srcdir/configure \
25188 --srcdir=$${topdir}/$$module_srcdir \
25189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25190 --target=${target_alias} \
25191 --with-build-libsubdir=$(HOST_SUBDIR) \
25192 $(STAGE3_CONFIGURE_FLAGS) \
25193 @extra_host_libiberty_configure_flags@
25194 @endif libiberty-bootstrap
25196 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
25197 maybe-configure-stage4-libiberty:
25198 @if libiberty-bootstrap
25199 maybe-configure-stage4-libiberty: configure-stage4-libiberty
25200 configure-stage4-libiberty:
25201 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25203 @r=`${PWD_COMMAND}`; export r; \
25204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 TFLAGS="$(STAGE4_TFLAGS)"; \
25206 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25207 $(HOST_EXPORTS) \
25208 $(POSTSTAGE1_HOST_EXPORTS) \
25209 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25210 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25211 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25212 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
25213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25214 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25215 case $(srcdir) in \
25216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25217 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25219 esac; \
25220 module_srcdir=libiberty; \
25221 $(SHELL) $$s/$$module_srcdir/configure \
25222 --srcdir=$${topdir}/$$module_srcdir \
25223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25224 --target=${target_alias} \
25225 --with-build-libsubdir=$(HOST_SUBDIR) \
25226 $(STAGE4_CONFIGURE_FLAGS) \
25227 @extra_host_libiberty_configure_flags@
25228 @endif libiberty-bootstrap
25230 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
25231 maybe-configure-stageprofile-libiberty:
25232 @if libiberty-bootstrap
25233 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
25234 configure-stageprofile-libiberty:
25235 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25237 @r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25240 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25241 $(HOST_EXPORTS) \
25242 $(POSTSTAGE1_HOST_EXPORTS) \
25243 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25244 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25245 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25246 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
25247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25248 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25249 case $(srcdir) in \
25250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25251 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25253 esac; \
25254 module_srcdir=libiberty; \
25255 $(SHELL) $$s/$$module_srcdir/configure \
25256 --srcdir=$${topdir}/$$module_srcdir \
25257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25258 --target=${target_alias} \
25259 --with-build-libsubdir=$(HOST_SUBDIR) \
25260 $(STAGEprofile_CONFIGURE_FLAGS) \
25261 @extra_host_libiberty_configure_flags@
25262 @endif libiberty-bootstrap
25264 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
25265 maybe-configure-stagefeedback-libiberty:
25266 @if libiberty-bootstrap
25267 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
25268 configure-stagefeedback-libiberty:
25269 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25271 @r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25273 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25274 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25275 $(HOST_EXPORTS) \
25276 $(POSTSTAGE1_HOST_EXPORTS) \
25277 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25278 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25279 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25280 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
25281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25282 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25283 case $(srcdir) in \
25284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25285 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25287 esac; \
25288 module_srcdir=libiberty; \
25289 $(SHELL) $$s/$$module_srcdir/configure \
25290 --srcdir=$${topdir}/$$module_srcdir \
25291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25292 --target=${target_alias} \
25293 --with-build-libsubdir=$(HOST_SUBDIR) \
25294 $(STAGEfeedback_CONFIGURE_FLAGS) \
25295 @extra_host_libiberty_configure_flags@
25296 @endif libiberty-bootstrap
25298 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
25299 maybe-configure-stageautoprofile-libiberty:
25300 @if libiberty-bootstrap
25301 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25302 configure-stageautoprofile-libiberty:
25303 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25305 @r=`${PWD_COMMAND}`; export r; \
25306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25307 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25308 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25309 $(HOST_EXPORTS) \
25310 $(POSTSTAGE1_HOST_EXPORTS) \
25311 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25312 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25313 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25314 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
25315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25316 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25317 case $(srcdir) in \
25318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25319 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25321 esac; \
25322 module_srcdir=libiberty; \
25323 $(SHELL) $$s/$$module_srcdir/configure \
25324 --srcdir=$${topdir}/$$module_srcdir \
25325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25326 --target=${target_alias} \
25327 --with-build-libsubdir=$(HOST_SUBDIR) \
25328 $(STAGEautoprofile_CONFIGURE_FLAGS) \
25329 @extra_host_libiberty_configure_flags@
25330 @endif libiberty-bootstrap
25332 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
25333 maybe-configure-stageautofeedback-libiberty:
25334 @if libiberty-bootstrap
25335 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25336 configure-stageautofeedback-libiberty:
25337 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25339 @r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25342 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25343 $(HOST_EXPORTS) \
25344 $(POSTSTAGE1_HOST_EXPORTS) \
25345 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25346 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25347 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25348 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
25349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25350 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25351 case $(srcdir) in \
25352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25353 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25355 esac; \
25356 module_srcdir=libiberty; \
25357 $(SHELL) $$s/$$module_srcdir/configure \
25358 --srcdir=$${topdir}/$$module_srcdir \
25359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25360 --target=${target_alias} \
25361 --with-build-libsubdir=$(HOST_SUBDIR) \
25362 $(STAGEautofeedback_CONFIGURE_FLAGS) \
25363 @extra_host_libiberty_configure_flags@
25364 @endif libiberty-bootstrap
25370 .PHONY: all-libiberty maybe-all-libiberty
25371 maybe-all-libiberty:
25372 @if gcc-bootstrap
25373 all-libiberty: stage_current
25374 @endif gcc-bootstrap
25375 @if libiberty
25376 TARGET-libiberty=all
25377 maybe-all-libiberty: all-libiberty
25378 all-libiberty: configure-libiberty
25379 @r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381 $(HOST_EXPORTS) \
25382 (cd $(HOST_SUBDIR)/libiberty && \
25383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25384 $(TARGET-libiberty))
25385 @endif libiberty
25389 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
25390 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
25391 maybe-all-stage1-libiberty:
25392 maybe-clean-stage1-libiberty:
25393 @if libiberty-bootstrap
25394 maybe-all-stage1-libiberty: all-stage1-libiberty
25395 all-stage1: all-stage1-libiberty
25396 TARGET-stage1-libiberty = $(TARGET-libiberty)
25397 all-stage1-libiberty: configure-stage1-libiberty
25398 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25399 @r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 TFLAGS="$(STAGE1_TFLAGS)"; \
25402 $(HOST_EXPORTS) \
25403 cd $(HOST_SUBDIR)/libiberty && \
25405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25406 CFLAGS="$(STAGE1_CFLAGS)" \
25407 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25408 LIBCFLAGS="$(LIBCFLAGS)" \
25409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25412 $(EXTRA_HOST_FLAGS) \
25413 $(STAGE1_FLAGS_TO_PASS) \
25414 TFLAGS="$(STAGE1_TFLAGS)" \
25415 $(TARGET-stage1-libiberty)
25417 maybe-clean-stage1-libiberty: clean-stage1-libiberty
25418 clean-stage1: clean-stage1-libiberty
25419 clean-stage1-libiberty:
25420 @if [ $(current_stage) = stage1 ]; then \
25421 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25422 else \
25423 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
25424 $(MAKE) stage1-start; \
25425 fi; \
25426 cd $(HOST_SUBDIR)/libiberty && \
25427 $(MAKE) $(EXTRA_HOST_FLAGS) \
25428 $(STAGE1_FLAGS_TO_PASS) clean
25429 @endif libiberty-bootstrap
25432 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
25433 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
25434 maybe-all-stage2-libiberty:
25435 maybe-clean-stage2-libiberty:
25436 @if libiberty-bootstrap
25437 maybe-all-stage2-libiberty: all-stage2-libiberty
25438 all-stage2: all-stage2-libiberty
25439 TARGET-stage2-libiberty = $(TARGET-libiberty)
25440 all-stage2-libiberty: configure-stage2-libiberty
25441 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25442 @r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 TFLAGS="$(STAGE2_TFLAGS)"; \
25445 $(HOST_EXPORTS) \
25446 $(POSTSTAGE1_HOST_EXPORTS) \
25447 cd $(HOST_SUBDIR)/libiberty && \
25449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25450 CFLAGS="$(STAGE2_CFLAGS)" \
25451 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25452 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25457 TFLAGS="$(STAGE2_TFLAGS)" \
25458 $(TARGET-stage2-libiberty)
25460 maybe-clean-stage2-libiberty: clean-stage2-libiberty
25461 clean-stage2: clean-stage2-libiberty
25462 clean-stage2-libiberty:
25463 @if [ $(current_stage) = stage2 ]; then \
25464 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25465 else \
25466 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
25467 $(MAKE) stage2-start; \
25468 fi; \
25469 cd $(HOST_SUBDIR)/libiberty && \
25470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25471 @endif libiberty-bootstrap
25474 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
25475 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
25476 maybe-all-stage3-libiberty:
25477 maybe-clean-stage3-libiberty:
25478 @if libiberty-bootstrap
25479 maybe-all-stage3-libiberty: all-stage3-libiberty
25480 all-stage3: all-stage3-libiberty
25481 TARGET-stage3-libiberty = $(TARGET-libiberty)
25482 all-stage3-libiberty: configure-stage3-libiberty
25483 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25484 @r=`${PWD_COMMAND}`; export r; \
25485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25486 TFLAGS="$(STAGE3_TFLAGS)"; \
25487 $(HOST_EXPORTS) \
25488 $(POSTSTAGE1_HOST_EXPORTS) \
25489 cd $(HOST_SUBDIR)/libiberty && \
25491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25492 CFLAGS="$(STAGE3_CFLAGS)" \
25493 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25494 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25499 TFLAGS="$(STAGE3_TFLAGS)" \
25500 $(TARGET-stage3-libiberty)
25502 maybe-clean-stage3-libiberty: clean-stage3-libiberty
25503 clean-stage3: clean-stage3-libiberty
25504 clean-stage3-libiberty:
25505 @if [ $(current_stage) = stage3 ]; then \
25506 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25507 else \
25508 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
25509 $(MAKE) stage3-start; \
25510 fi; \
25511 cd $(HOST_SUBDIR)/libiberty && \
25512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25513 @endif libiberty-bootstrap
25516 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
25517 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
25518 maybe-all-stage4-libiberty:
25519 maybe-clean-stage4-libiberty:
25520 @if libiberty-bootstrap
25521 maybe-all-stage4-libiberty: all-stage4-libiberty
25522 all-stage4: all-stage4-libiberty
25523 TARGET-stage4-libiberty = $(TARGET-libiberty)
25524 all-stage4-libiberty: configure-stage4-libiberty
25525 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25526 @r=`${PWD_COMMAND}`; export r; \
25527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25528 TFLAGS="$(STAGE4_TFLAGS)"; \
25529 $(HOST_EXPORTS) \
25530 $(POSTSTAGE1_HOST_EXPORTS) \
25531 cd $(HOST_SUBDIR)/libiberty && \
25533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25534 CFLAGS="$(STAGE4_CFLAGS)" \
25535 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25536 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25541 TFLAGS="$(STAGE4_TFLAGS)" \
25542 $(TARGET-stage4-libiberty)
25544 maybe-clean-stage4-libiberty: clean-stage4-libiberty
25545 clean-stage4: clean-stage4-libiberty
25546 clean-stage4-libiberty:
25547 @if [ $(current_stage) = stage4 ]; then \
25548 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25549 else \
25550 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
25551 $(MAKE) stage4-start; \
25552 fi; \
25553 cd $(HOST_SUBDIR)/libiberty && \
25554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25555 @endif libiberty-bootstrap
25558 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
25559 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
25560 maybe-all-stageprofile-libiberty:
25561 maybe-clean-stageprofile-libiberty:
25562 @if libiberty-bootstrap
25563 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
25564 all-stageprofile: all-stageprofile-libiberty
25565 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
25566 all-stageprofile-libiberty: configure-stageprofile-libiberty
25567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25568 @r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25571 $(HOST_EXPORTS) \
25572 $(POSTSTAGE1_HOST_EXPORTS) \
25573 cd $(HOST_SUBDIR)/libiberty && \
25575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25576 CFLAGS="$(STAGEprofile_CFLAGS)" \
25577 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25578 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25583 TFLAGS="$(STAGEprofile_TFLAGS)" \
25584 $(TARGET-stageprofile-libiberty)
25586 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
25587 clean-stageprofile: clean-stageprofile-libiberty
25588 clean-stageprofile-libiberty:
25589 @if [ $(current_stage) = stageprofile ]; then \
25590 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25591 else \
25592 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
25593 $(MAKE) stageprofile-start; \
25594 fi; \
25595 cd $(HOST_SUBDIR)/libiberty && \
25596 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25597 @endif libiberty-bootstrap
25600 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
25601 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
25602 maybe-all-stagefeedback-libiberty:
25603 maybe-clean-stagefeedback-libiberty:
25604 @if libiberty-bootstrap
25605 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
25606 all-stagefeedback: all-stagefeedback-libiberty
25607 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
25608 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
25609 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25610 @r=`${PWD_COMMAND}`; export r; \
25611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25612 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25613 $(HOST_EXPORTS) \
25614 $(POSTSTAGE1_HOST_EXPORTS) \
25615 cd $(HOST_SUBDIR)/libiberty && \
25617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25618 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25619 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25620 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25625 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25626 $(TARGET-stagefeedback-libiberty)
25628 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
25629 clean-stagefeedback: clean-stagefeedback-libiberty
25630 clean-stagefeedback-libiberty:
25631 @if [ $(current_stage) = stagefeedback ]; then \
25632 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25633 else \
25634 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
25635 $(MAKE) stagefeedback-start; \
25636 fi; \
25637 cd $(HOST_SUBDIR)/libiberty && \
25638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25639 @endif libiberty-bootstrap
25642 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
25643 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
25644 maybe-all-stageautoprofile-libiberty:
25645 maybe-clean-stageautoprofile-libiberty:
25646 @if libiberty-bootstrap
25647 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
25648 all-stageautoprofile: all-stageautoprofile-libiberty
25649 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
25650 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25651 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25652 @r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25655 $(HOST_EXPORTS) \
25656 $(POSTSTAGE1_HOST_EXPORTS) \
25657 cd $(HOST_SUBDIR)/libiberty && \
25658 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25660 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25661 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25662 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25663 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25664 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25665 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25666 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25667 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25668 $(TARGET-stageautoprofile-libiberty)
25670 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
25671 clean-stageautoprofile: clean-stageautoprofile-libiberty
25672 clean-stageautoprofile-libiberty:
25673 @if [ $(current_stage) = stageautoprofile ]; then \
25674 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25675 else \
25676 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
25677 $(MAKE) stageautoprofile-start; \
25678 fi; \
25679 cd $(HOST_SUBDIR)/libiberty && \
25680 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25681 @endif libiberty-bootstrap
25684 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
25685 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
25686 maybe-all-stageautofeedback-libiberty:
25687 maybe-clean-stageautofeedback-libiberty:
25688 @if libiberty-bootstrap
25689 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
25690 all-stageautofeedback: all-stageautofeedback-libiberty
25691 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
25692 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25693 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25694 @r=`${PWD_COMMAND}`; export r; \
25695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25697 $(HOST_EXPORTS) \
25698 $(POSTSTAGE1_HOST_EXPORTS) \
25699 cd $(HOST_SUBDIR)/libiberty && \
25701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25702 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25703 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25704 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25709 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25710 $(TARGET-stageautofeedback-libiberty)
25712 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
25713 clean-stageautofeedback: clean-stageautofeedback-libiberty
25714 clean-stageautofeedback-libiberty:
25715 @if [ $(current_stage) = stageautofeedback ]; then \
25716 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25717 else \
25718 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
25719 $(MAKE) stageautofeedback-start; \
25720 fi; \
25721 cd $(HOST_SUBDIR)/libiberty && \
25722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25723 @endif libiberty-bootstrap
25729 .PHONY: check-libiberty maybe-check-libiberty
25730 maybe-check-libiberty:
25731 @if libiberty
25732 maybe-check-libiberty: check-libiberty
25734 check-libiberty:
25735 @: $(MAKE); $(unstage)
25736 @r=`${PWD_COMMAND}`; export r; \
25737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25738 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25739 (cd $(HOST_SUBDIR)/libiberty && \
25740 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25742 @endif libiberty
25744 .PHONY: install-libiberty maybe-install-libiberty
25745 maybe-install-libiberty:
25746 @if libiberty
25747 maybe-install-libiberty: install-libiberty
25749 install-libiberty: installdirs
25750 @: $(MAKE); $(unstage)
25751 @r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 (cd $(HOST_SUBDIR)/libiberty && \
25755 $(MAKE) $(FLAGS_TO_PASS) install)
25757 @endif libiberty
25759 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
25760 maybe-install-strip-libiberty:
25761 @if libiberty
25762 maybe-install-strip-libiberty: install-strip-libiberty
25764 install-strip-libiberty: installdirs
25765 @: $(MAKE); $(unstage)
25766 @r=`${PWD_COMMAND}`; export r; \
25767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25768 $(HOST_EXPORTS) \
25769 (cd $(HOST_SUBDIR)/libiberty && \
25770 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25772 @endif libiberty
25774 # Other targets (info, dvi, pdf, etc.)
25776 .PHONY: maybe-info-libiberty info-libiberty
25777 maybe-info-libiberty:
25778 @if libiberty
25779 maybe-info-libiberty: info-libiberty
25781 info-libiberty: \
25782 configure-libiberty
25783 @[ -f ./libiberty/Makefile ] || exit 0; \
25784 r=`${PWD_COMMAND}`; export r; \
25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25786 $(HOST_EXPORTS) \
25787 for flag in $(EXTRA_HOST_FLAGS) ; do \
25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25789 done; \
25790 echo "Doing info in libiberty"; \
25791 (cd $(HOST_SUBDIR)/libiberty && \
25792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25794 "RANLIB=$${RANLIB}" \
25795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25796 info) \
25797 || exit 1
25799 @endif libiberty
25801 .PHONY: maybe-dvi-libiberty dvi-libiberty
25802 maybe-dvi-libiberty:
25803 @if libiberty
25804 maybe-dvi-libiberty: dvi-libiberty
25806 dvi-libiberty: \
25807 configure-libiberty
25808 @[ -f ./libiberty/Makefile ] || exit 0; \
25809 r=`${PWD_COMMAND}`; export r; \
25810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25811 $(HOST_EXPORTS) \
25812 for flag in $(EXTRA_HOST_FLAGS) ; do \
25813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25814 done; \
25815 echo "Doing dvi in libiberty"; \
25816 (cd $(HOST_SUBDIR)/libiberty && \
25817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25819 "RANLIB=$${RANLIB}" \
25820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25821 dvi) \
25822 || exit 1
25824 @endif libiberty
25826 .PHONY: maybe-pdf-libiberty pdf-libiberty
25827 maybe-pdf-libiberty:
25828 @if libiberty
25829 maybe-pdf-libiberty: pdf-libiberty
25831 pdf-libiberty: \
25832 configure-libiberty
25833 @[ -f ./libiberty/Makefile ] || exit 0; \
25834 r=`${PWD_COMMAND}`; export r; \
25835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25836 $(HOST_EXPORTS) \
25837 for flag in $(EXTRA_HOST_FLAGS) ; do \
25838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25839 done; \
25840 echo "Doing pdf in libiberty"; \
25841 (cd $(HOST_SUBDIR)/libiberty && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25846 pdf) \
25847 || exit 1
25849 @endif libiberty
25851 .PHONY: maybe-html-libiberty html-libiberty
25852 maybe-html-libiberty:
25853 @if libiberty
25854 maybe-html-libiberty: html-libiberty
25856 html-libiberty: \
25857 configure-libiberty
25858 @[ -f ./libiberty/Makefile ] || exit 0; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(HOST_EXPORTS) \
25862 for flag in $(EXTRA_HOST_FLAGS) ; do \
25863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25864 done; \
25865 echo "Doing html in libiberty"; \
25866 (cd $(HOST_SUBDIR)/libiberty && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25871 html) \
25872 || exit 1
25874 @endif libiberty
25876 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
25877 maybe-TAGS-libiberty:
25878 @if libiberty
25879 maybe-TAGS-libiberty: TAGS-libiberty
25881 TAGS-libiberty: \
25882 configure-libiberty
25883 @[ -f ./libiberty/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(HOST_EXPORTS) \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25889 done; \
25890 echo "Doing TAGS in libiberty"; \
25891 (cd $(HOST_SUBDIR)/libiberty && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25896 TAGS) \
25897 || exit 1
25899 @endif libiberty
25901 .PHONY: maybe-install-info-libiberty install-info-libiberty
25902 maybe-install-info-libiberty:
25903 @if libiberty
25904 maybe-install-info-libiberty: install-info-libiberty
25906 install-info-libiberty: \
25907 configure-libiberty \
25908 info-libiberty
25909 @[ -f ./libiberty/Makefile ] || exit 0; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(HOST_EXPORTS) \
25913 for flag in $(EXTRA_HOST_FLAGS) ; do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25915 done; \
25916 echo "Doing install-info in libiberty"; \
25917 (cd $(HOST_SUBDIR)/libiberty && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25922 install-info) \
25923 || exit 1
25925 @endif libiberty
25927 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
25928 maybe-install-pdf-libiberty:
25929 @if libiberty
25930 maybe-install-pdf-libiberty: install-pdf-libiberty
25932 install-pdf-libiberty: \
25933 configure-libiberty \
25934 pdf-libiberty
25935 @[ -f ./libiberty/Makefile ] || exit 0; \
25936 r=`${PWD_COMMAND}`; export r; \
25937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 $(HOST_EXPORTS) \
25939 for flag in $(EXTRA_HOST_FLAGS) ; do \
25940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 done; \
25942 echo "Doing install-pdf in libiberty"; \
25943 (cd $(HOST_SUBDIR)/libiberty && \
25944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25946 "RANLIB=$${RANLIB}" \
25947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25948 install-pdf) \
25949 || exit 1
25951 @endif libiberty
25953 .PHONY: maybe-install-html-libiberty install-html-libiberty
25954 maybe-install-html-libiberty:
25955 @if libiberty
25956 maybe-install-html-libiberty: install-html-libiberty
25958 install-html-libiberty: \
25959 configure-libiberty \
25960 html-libiberty
25961 @[ -f ./libiberty/Makefile ] || exit 0; \
25962 r=`${PWD_COMMAND}`; export r; \
25963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25964 $(HOST_EXPORTS) \
25965 for flag in $(EXTRA_HOST_FLAGS) ; do \
25966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25967 done; \
25968 echo "Doing install-html in libiberty"; \
25969 (cd $(HOST_SUBDIR)/libiberty && \
25970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25972 "RANLIB=$${RANLIB}" \
25973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25974 install-html) \
25975 || exit 1
25977 @endif libiberty
25979 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
25980 maybe-installcheck-libiberty:
25981 @if libiberty
25982 maybe-installcheck-libiberty: installcheck-libiberty
25984 installcheck-libiberty: \
25985 configure-libiberty
25986 @[ -f ./libiberty/Makefile ] || exit 0; \
25987 r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 $(HOST_EXPORTS) \
25990 for flag in $(EXTRA_HOST_FLAGS) ; do \
25991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25992 done; \
25993 echo "Doing installcheck in libiberty"; \
25994 (cd $(HOST_SUBDIR)/libiberty && \
25995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25997 "RANLIB=$${RANLIB}" \
25998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25999 installcheck) \
26000 || exit 1
26002 @endif libiberty
26004 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
26005 maybe-mostlyclean-libiberty:
26006 @if libiberty
26007 maybe-mostlyclean-libiberty: mostlyclean-libiberty
26009 mostlyclean-libiberty:
26010 @[ -f ./libiberty/Makefile ] || exit 0; \
26011 r=`${PWD_COMMAND}`; export r; \
26012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 $(HOST_EXPORTS) \
26014 for flag in $(EXTRA_HOST_FLAGS) ; do \
26015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26016 done; \
26017 echo "Doing mostlyclean in libiberty"; \
26018 (cd $(HOST_SUBDIR)/libiberty && \
26019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26021 "RANLIB=$${RANLIB}" \
26022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26023 mostlyclean) \
26024 || exit 1
26026 @endif libiberty
26028 .PHONY: maybe-clean-libiberty clean-libiberty
26029 maybe-clean-libiberty:
26030 @if libiberty
26031 maybe-clean-libiberty: clean-libiberty
26033 clean-libiberty:
26034 @[ -f ./libiberty/Makefile ] || exit 0; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 $(HOST_EXPORTS) \
26038 for flag in $(EXTRA_HOST_FLAGS) ; do \
26039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26040 done; \
26041 echo "Doing clean in libiberty"; \
26042 (cd $(HOST_SUBDIR)/libiberty && \
26043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26045 "RANLIB=$${RANLIB}" \
26046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26047 clean) \
26048 || exit 1
26050 @endif libiberty
26052 .PHONY: maybe-distclean-libiberty distclean-libiberty
26053 maybe-distclean-libiberty:
26054 @if libiberty
26055 maybe-distclean-libiberty: distclean-libiberty
26057 distclean-libiberty:
26058 @[ -f ./libiberty/Makefile ] || exit 0; \
26059 r=`${PWD_COMMAND}`; export r; \
26060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26061 $(HOST_EXPORTS) \
26062 for flag in $(EXTRA_HOST_FLAGS) ; do \
26063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26064 done; \
26065 echo "Doing distclean in libiberty"; \
26066 (cd $(HOST_SUBDIR)/libiberty && \
26067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26069 "RANLIB=$${RANLIB}" \
26070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26071 distclean) \
26072 || exit 1
26074 @endif libiberty
26076 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
26077 maybe-maintainer-clean-libiberty:
26078 @if libiberty
26079 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
26081 maintainer-clean-libiberty:
26082 @[ -f ./libiberty/Makefile ] || exit 0; \
26083 r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(HOST_EXPORTS) \
26086 for flag in $(EXTRA_HOST_FLAGS) ; do \
26087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26088 done; \
26089 echo "Doing maintainer-clean in libiberty"; \
26090 (cd $(HOST_SUBDIR)/libiberty && \
26091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26093 "RANLIB=$${RANLIB}" \
26094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26095 maintainer-clean) \
26096 || exit 1
26098 @endif libiberty
26102 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
26103 maybe-configure-libiberty-linker-plugin:
26104 @if gcc-bootstrap
26105 configure-libiberty-linker-plugin: stage_current
26106 @endif gcc-bootstrap
26107 @if libiberty-linker-plugin
26108 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
26109 configure-libiberty-linker-plugin:
26110 @r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26114 $(HOST_EXPORTS) \
26115 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26116 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
26117 case $(srcdir) in \
26118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26119 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26121 esac; \
26122 module_srcdir=libiberty; \
26123 $(SHELL) \
26124 $$s/$$module_srcdir/configure \
26125 --srcdir=$${topdir}/$$module_srcdir \
26126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26127 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
26128 || exit 1
26129 @endif libiberty-linker-plugin
26133 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
26134 maybe-configure-stage1-libiberty-linker-plugin:
26135 @if libiberty-linker-plugin-bootstrap
26136 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26137 configure-stage1-libiberty-linker-plugin:
26138 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26140 @r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 TFLAGS="$(STAGE1_TFLAGS)"; \
26143 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26144 $(HOST_EXPORTS) \
26145 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26146 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26147 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26148 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26150 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26151 case $(srcdir) in \
26152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26153 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26155 esac; \
26156 module_srcdir=libiberty; \
26157 $(SHELL) $$s/$$module_srcdir/configure \
26158 --srcdir=$${topdir}/$$module_srcdir \
26159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26160 --target=${target_alias} \
26162 $(STAGE1_CONFIGURE_FLAGS) \
26163 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26164 @endif libiberty-linker-plugin-bootstrap
26166 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
26167 maybe-configure-stage2-libiberty-linker-plugin:
26168 @if libiberty-linker-plugin-bootstrap
26169 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26170 configure-stage2-libiberty-linker-plugin:
26171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26173 @r=`${PWD_COMMAND}`; export r; \
26174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26175 TFLAGS="$(STAGE2_TFLAGS)"; \
26176 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26177 $(HOST_EXPORTS) \
26178 $(POSTSTAGE1_HOST_EXPORTS) \
26179 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26180 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26181 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26182 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26184 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26185 case $(srcdir) in \
26186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26187 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26189 esac; \
26190 module_srcdir=libiberty; \
26191 $(SHELL) $$s/$$module_srcdir/configure \
26192 --srcdir=$${topdir}/$$module_srcdir \
26193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26194 --target=${target_alias} \
26195 --with-build-libsubdir=$(HOST_SUBDIR) \
26196 $(STAGE2_CONFIGURE_FLAGS) \
26197 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26198 @endif libiberty-linker-plugin-bootstrap
26200 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
26201 maybe-configure-stage3-libiberty-linker-plugin:
26202 @if libiberty-linker-plugin-bootstrap
26203 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26204 configure-stage3-libiberty-linker-plugin:
26205 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26207 @r=`${PWD_COMMAND}`; export r; \
26208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26209 TFLAGS="$(STAGE3_TFLAGS)"; \
26210 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26211 $(HOST_EXPORTS) \
26212 $(POSTSTAGE1_HOST_EXPORTS) \
26213 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26214 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26215 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26216 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26218 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26219 case $(srcdir) in \
26220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26221 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26223 esac; \
26224 module_srcdir=libiberty; \
26225 $(SHELL) $$s/$$module_srcdir/configure \
26226 --srcdir=$${topdir}/$$module_srcdir \
26227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26228 --target=${target_alias} \
26229 --with-build-libsubdir=$(HOST_SUBDIR) \
26230 $(STAGE3_CONFIGURE_FLAGS) \
26231 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26232 @endif libiberty-linker-plugin-bootstrap
26234 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
26235 maybe-configure-stage4-libiberty-linker-plugin:
26236 @if libiberty-linker-plugin-bootstrap
26237 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26238 configure-stage4-libiberty-linker-plugin:
26239 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26241 @r=`${PWD_COMMAND}`; export r; \
26242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26243 TFLAGS="$(STAGE4_TFLAGS)"; \
26244 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26245 $(HOST_EXPORTS) \
26246 $(POSTSTAGE1_HOST_EXPORTS) \
26247 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26248 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26249 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26250 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26252 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26253 case $(srcdir) in \
26254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26255 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26257 esac; \
26258 module_srcdir=libiberty; \
26259 $(SHELL) $$s/$$module_srcdir/configure \
26260 --srcdir=$${topdir}/$$module_srcdir \
26261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26262 --target=${target_alias} \
26263 --with-build-libsubdir=$(HOST_SUBDIR) \
26264 $(STAGE4_CONFIGURE_FLAGS) \
26265 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26266 @endif libiberty-linker-plugin-bootstrap
26268 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
26269 maybe-configure-stageprofile-libiberty-linker-plugin:
26270 @if libiberty-linker-plugin-bootstrap
26271 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26272 configure-stageprofile-libiberty-linker-plugin:
26273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26275 @r=`${PWD_COMMAND}`; export r; \
26276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26277 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26278 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26279 $(HOST_EXPORTS) \
26280 $(POSTSTAGE1_HOST_EXPORTS) \
26281 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26282 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26283 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26284 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26286 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26287 case $(srcdir) in \
26288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26289 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26291 esac; \
26292 module_srcdir=libiberty; \
26293 $(SHELL) $$s/$$module_srcdir/configure \
26294 --srcdir=$${topdir}/$$module_srcdir \
26295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26296 --target=${target_alias} \
26297 --with-build-libsubdir=$(HOST_SUBDIR) \
26298 $(STAGEprofile_CONFIGURE_FLAGS) \
26299 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26300 @endif libiberty-linker-plugin-bootstrap
26302 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
26303 maybe-configure-stagefeedback-libiberty-linker-plugin:
26304 @if libiberty-linker-plugin-bootstrap
26305 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26306 configure-stagefeedback-libiberty-linker-plugin:
26307 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26309 @r=`${PWD_COMMAND}`; export r; \
26310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26311 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26312 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26313 $(HOST_EXPORTS) \
26314 $(POSTSTAGE1_HOST_EXPORTS) \
26315 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26316 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26317 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26318 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26320 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26321 case $(srcdir) in \
26322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26323 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26325 esac; \
26326 module_srcdir=libiberty; \
26327 $(SHELL) $$s/$$module_srcdir/configure \
26328 --srcdir=$${topdir}/$$module_srcdir \
26329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26330 --target=${target_alias} \
26331 --with-build-libsubdir=$(HOST_SUBDIR) \
26332 $(STAGEfeedback_CONFIGURE_FLAGS) \
26333 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26334 @endif libiberty-linker-plugin-bootstrap
26336 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
26337 maybe-configure-stageautoprofile-libiberty-linker-plugin:
26338 @if libiberty-linker-plugin-bootstrap
26339 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26340 configure-stageautoprofile-libiberty-linker-plugin:
26341 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26343 @r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26346 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26347 $(HOST_EXPORTS) \
26348 $(POSTSTAGE1_HOST_EXPORTS) \
26349 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26350 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26351 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26352 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26354 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26355 case $(srcdir) in \
26356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26357 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26359 esac; \
26360 module_srcdir=libiberty; \
26361 $(SHELL) $$s/$$module_srcdir/configure \
26362 --srcdir=$${topdir}/$$module_srcdir \
26363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26364 --target=${target_alias} \
26365 --with-build-libsubdir=$(HOST_SUBDIR) \
26366 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26367 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26368 @endif libiberty-linker-plugin-bootstrap
26370 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
26371 maybe-configure-stageautofeedback-libiberty-linker-plugin:
26372 @if libiberty-linker-plugin-bootstrap
26373 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26374 configure-stageautofeedback-libiberty-linker-plugin:
26375 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26377 @r=`${PWD_COMMAND}`; export r; \
26378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26379 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26380 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26381 $(HOST_EXPORTS) \
26382 $(POSTSTAGE1_HOST_EXPORTS) \
26383 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26384 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26385 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26386 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26388 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26389 case $(srcdir) in \
26390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26391 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26393 esac; \
26394 module_srcdir=libiberty; \
26395 $(SHELL) $$s/$$module_srcdir/configure \
26396 --srcdir=$${topdir}/$$module_srcdir \
26397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26398 --target=${target_alias} \
26399 --with-build-libsubdir=$(HOST_SUBDIR) \
26400 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26401 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26402 @endif libiberty-linker-plugin-bootstrap
26408 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
26409 maybe-all-libiberty-linker-plugin:
26410 @if gcc-bootstrap
26411 all-libiberty-linker-plugin: stage_current
26412 @endif gcc-bootstrap
26413 @if libiberty-linker-plugin
26414 TARGET-libiberty-linker-plugin=all
26415 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
26416 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
26417 @r=`${PWD_COMMAND}`; export r; \
26418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26419 $(HOST_EXPORTS) \
26420 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26421 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26422 $(TARGET-libiberty-linker-plugin))
26423 @endif libiberty-linker-plugin
26427 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
26428 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
26429 maybe-all-stage1-libiberty-linker-plugin:
26430 maybe-clean-stage1-libiberty-linker-plugin:
26431 @if libiberty-linker-plugin-bootstrap
26432 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
26433 all-stage1: all-stage1-libiberty-linker-plugin
26434 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26435 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26436 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26437 @r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 TFLAGS="$(STAGE1_TFLAGS)"; \
26440 $(HOST_EXPORTS) \
26441 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26444 CFLAGS="$(STAGE1_CFLAGS)" \
26445 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26446 LIBCFLAGS="$(LIBCFLAGS)" \
26447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26450 $(EXTRA_HOST_FLAGS) \
26451 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26452 TFLAGS="$(STAGE1_TFLAGS)" \
26453 $(TARGET-stage1-libiberty-linker-plugin)
26455 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
26456 clean-stage1: clean-stage1-libiberty-linker-plugin
26457 clean-stage1-libiberty-linker-plugin:
26458 @if [ $(current_stage) = stage1 ]; then \
26459 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26460 else \
26461 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
26462 $(MAKE) stage1-start; \
26463 fi; \
26464 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26465 $(MAKE) $(EXTRA_HOST_FLAGS) \
26466 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26467 @endif libiberty-linker-plugin-bootstrap
26470 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
26471 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
26472 maybe-all-stage2-libiberty-linker-plugin:
26473 maybe-clean-stage2-libiberty-linker-plugin:
26474 @if libiberty-linker-plugin-bootstrap
26475 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
26476 all-stage2: all-stage2-libiberty-linker-plugin
26477 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26478 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26479 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26480 @r=`${PWD_COMMAND}`; export r; \
26481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26482 TFLAGS="$(STAGE2_TFLAGS)"; \
26483 $(HOST_EXPORTS) \
26484 $(POSTSTAGE1_HOST_EXPORTS) \
26485 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26488 CFLAGS="$(STAGE2_CFLAGS)" \
26489 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26490 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26494 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26495 TFLAGS="$(STAGE2_TFLAGS)" \
26496 $(TARGET-stage2-libiberty-linker-plugin)
26498 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
26499 clean-stage2: clean-stage2-libiberty-linker-plugin
26500 clean-stage2-libiberty-linker-plugin:
26501 @if [ $(current_stage) = stage2 ]; then \
26502 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26503 else \
26504 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
26505 $(MAKE) stage2-start; \
26506 fi; \
26507 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26508 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26509 @endif libiberty-linker-plugin-bootstrap
26512 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
26513 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
26514 maybe-all-stage3-libiberty-linker-plugin:
26515 maybe-clean-stage3-libiberty-linker-plugin:
26516 @if libiberty-linker-plugin-bootstrap
26517 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
26518 all-stage3: all-stage3-libiberty-linker-plugin
26519 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26520 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26521 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26522 @r=`${PWD_COMMAND}`; export r; \
26523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26524 TFLAGS="$(STAGE3_TFLAGS)"; \
26525 $(HOST_EXPORTS) \
26526 $(POSTSTAGE1_HOST_EXPORTS) \
26527 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26530 CFLAGS="$(STAGE3_CFLAGS)" \
26531 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26532 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26537 TFLAGS="$(STAGE3_TFLAGS)" \
26538 $(TARGET-stage3-libiberty-linker-plugin)
26540 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
26541 clean-stage3: clean-stage3-libiberty-linker-plugin
26542 clean-stage3-libiberty-linker-plugin:
26543 @if [ $(current_stage) = stage3 ]; then \
26544 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26545 else \
26546 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
26547 $(MAKE) stage3-start; \
26548 fi; \
26549 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26551 @endif libiberty-linker-plugin-bootstrap
26554 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
26555 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
26556 maybe-all-stage4-libiberty-linker-plugin:
26557 maybe-clean-stage4-libiberty-linker-plugin:
26558 @if libiberty-linker-plugin-bootstrap
26559 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
26560 all-stage4: all-stage4-libiberty-linker-plugin
26561 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26562 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26563 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26564 @r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 TFLAGS="$(STAGE4_TFLAGS)"; \
26567 $(HOST_EXPORTS) \
26568 $(POSTSTAGE1_HOST_EXPORTS) \
26569 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26572 CFLAGS="$(STAGE4_CFLAGS)" \
26573 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26574 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26578 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26579 TFLAGS="$(STAGE4_TFLAGS)" \
26580 $(TARGET-stage4-libiberty-linker-plugin)
26582 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
26583 clean-stage4: clean-stage4-libiberty-linker-plugin
26584 clean-stage4-libiberty-linker-plugin:
26585 @if [ $(current_stage) = stage4 ]; then \
26586 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26587 else \
26588 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
26589 $(MAKE) stage4-start; \
26590 fi; \
26591 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26592 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26593 @endif libiberty-linker-plugin-bootstrap
26596 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
26597 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
26598 maybe-all-stageprofile-libiberty-linker-plugin:
26599 maybe-clean-stageprofile-libiberty-linker-plugin:
26600 @if libiberty-linker-plugin-bootstrap
26601 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
26602 all-stageprofile: all-stageprofile-libiberty-linker-plugin
26603 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26604 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26605 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26606 @r=`${PWD_COMMAND}`; export r; \
26607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26608 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26609 $(HOST_EXPORTS) \
26610 $(POSTSTAGE1_HOST_EXPORTS) \
26611 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26614 CFLAGS="$(STAGEprofile_CFLAGS)" \
26615 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26616 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26621 TFLAGS="$(STAGEprofile_TFLAGS)" \
26622 $(TARGET-stageprofile-libiberty-linker-plugin)
26624 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
26625 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
26626 clean-stageprofile-libiberty-linker-plugin:
26627 @if [ $(current_stage) = stageprofile ]; then \
26628 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26629 else \
26630 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26631 $(MAKE) stageprofile-start; \
26632 fi; \
26633 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26635 @endif libiberty-linker-plugin-bootstrap
26638 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
26639 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
26640 maybe-all-stagefeedback-libiberty-linker-plugin:
26641 maybe-clean-stagefeedback-libiberty-linker-plugin:
26642 @if libiberty-linker-plugin-bootstrap
26643 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
26644 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
26645 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26646 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26647 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26648 @r=`${PWD_COMMAND}`; export r; \
26649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26650 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26651 $(HOST_EXPORTS) \
26652 $(POSTSTAGE1_HOST_EXPORTS) \
26653 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26656 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26657 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26658 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26662 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26663 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26664 $(TARGET-stagefeedback-libiberty-linker-plugin)
26666 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
26667 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
26668 clean-stagefeedback-libiberty-linker-plugin:
26669 @if [ $(current_stage) = stagefeedback ]; then \
26670 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26671 else \
26672 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26673 $(MAKE) stagefeedback-start; \
26674 fi; \
26675 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26676 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26677 @endif libiberty-linker-plugin-bootstrap
26680 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
26681 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
26682 maybe-all-stageautoprofile-libiberty-linker-plugin:
26683 maybe-clean-stageautoprofile-libiberty-linker-plugin:
26684 @if libiberty-linker-plugin-bootstrap
26685 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
26686 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
26687 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26688 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26689 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26690 @r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26693 $(HOST_EXPORTS) \
26694 $(POSTSTAGE1_HOST_EXPORTS) \
26695 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26696 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26697 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26698 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26699 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26700 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26701 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26702 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26703 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26704 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26705 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26706 $(TARGET-stageautoprofile-libiberty-linker-plugin)
26708 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
26709 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
26710 clean-stageautoprofile-libiberty-linker-plugin:
26711 @if [ $(current_stage) = stageautoprofile ]; then \
26712 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26713 else \
26714 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26715 $(MAKE) stageautoprofile-start; \
26716 fi; \
26717 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26718 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26719 @endif libiberty-linker-plugin-bootstrap
26722 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
26723 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
26724 maybe-all-stageautofeedback-libiberty-linker-plugin:
26725 maybe-clean-stageautofeedback-libiberty-linker-plugin:
26726 @if libiberty-linker-plugin-bootstrap
26727 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
26728 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
26729 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26730 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26731 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26732 @r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26735 $(HOST_EXPORTS) \
26736 $(POSTSTAGE1_HOST_EXPORTS) \
26737 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26739 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26740 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
26741 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
26742 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
26743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26746 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26747 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
26748 $(TARGET-stageautofeedback-libiberty-linker-plugin)
26750 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
26751 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
26752 clean-stageautofeedback-libiberty-linker-plugin:
26753 @if [ $(current_stage) = stageautofeedback ]; then \
26754 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26755 else \
26756 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26757 $(MAKE) stageautofeedback-start; \
26758 fi; \
26759 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26760 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26761 @endif libiberty-linker-plugin-bootstrap
26767 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
26768 maybe-check-libiberty-linker-plugin:
26769 @if libiberty-linker-plugin
26770 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
26772 check-libiberty-linker-plugin:
26773 @: $(MAKE); $(unstage)
26774 @r=`${PWD_COMMAND}`; export r; \
26775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26776 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
26777 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26778 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
26780 @endif libiberty-linker-plugin
26782 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
26783 maybe-install-libiberty-linker-plugin:
26784 @if libiberty-linker-plugin
26785 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
26787 install-libiberty-linker-plugin: installdirs
26788 @: $(MAKE); $(unstage)
26789 @r=`${PWD_COMMAND}`; export r; \
26790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26791 $(HOST_EXPORTS) \
26792 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26793 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
26795 @endif libiberty-linker-plugin
26797 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
26798 maybe-install-strip-libiberty-linker-plugin:
26799 @if libiberty-linker-plugin
26800 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
26802 install-strip-libiberty-linker-plugin: installdirs
26803 @: $(MAKE); $(unstage)
26804 @r=`${PWD_COMMAND}`; export r; \
26805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 $(HOST_EXPORTS) \
26807 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26808 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
26810 @endif libiberty-linker-plugin
26812 # Other targets (info, dvi, pdf, etc.)
26814 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
26815 maybe-info-libiberty-linker-plugin:
26816 @if libiberty-linker-plugin
26817 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
26819 info-libiberty-linker-plugin: \
26820 configure-libiberty-linker-plugin
26821 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26822 r=`${PWD_COMMAND}`; export r; \
26823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26824 $(HOST_EXPORTS) \
26825 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26827 done; \
26828 echo "Doing info in libiberty-linker-plugin"; \
26829 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26832 "RANLIB=$${RANLIB}" \
26833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26834 info) \
26835 || exit 1
26837 @endif libiberty-linker-plugin
26839 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
26840 maybe-dvi-libiberty-linker-plugin:
26841 @if libiberty-linker-plugin
26842 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
26844 dvi-libiberty-linker-plugin: \
26845 configure-libiberty-linker-plugin
26846 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26847 r=`${PWD_COMMAND}`; export r; \
26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26849 $(HOST_EXPORTS) \
26850 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26852 done; \
26853 echo "Doing dvi in libiberty-linker-plugin"; \
26854 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26859 dvi) \
26860 || exit 1
26862 @endif libiberty-linker-plugin
26864 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
26865 maybe-pdf-libiberty-linker-plugin:
26866 @if libiberty-linker-plugin
26867 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
26869 pdf-libiberty-linker-plugin: \
26870 configure-libiberty-linker-plugin
26871 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26872 r=`${PWD_COMMAND}`; export r; \
26873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26874 $(HOST_EXPORTS) \
26875 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26877 done; \
26878 echo "Doing pdf in libiberty-linker-plugin"; \
26879 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26882 "RANLIB=$${RANLIB}" \
26883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26884 pdf) \
26885 || exit 1
26887 @endif libiberty-linker-plugin
26889 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
26890 maybe-html-libiberty-linker-plugin:
26891 @if libiberty-linker-plugin
26892 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
26894 html-libiberty-linker-plugin: \
26895 configure-libiberty-linker-plugin
26896 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26897 r=`${PWD_COMMAND}`; export r; \
26898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26899 $(HOST_EXPORTS) \
26900 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26902 done; \
26903 echo "Doing html in libiberty-linker-plugin"; \
26904 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26907 "RANLIB=$${RANLIB}" \
26908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26909 html) \
26910 || exit 1
26912 @endif libiberty-linker-plugin
26914 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
26915 maybe-TAGS-libiberty-linker-plugin:
26916 @if libiberty-linker-plugin
26917 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
26919 TAGS-libiberty-linker-plugin: \
26920 configure-libiberty-linker-plugin
26921 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26922 r=`${PWD_COMMAND}`; export r; \
26923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26924 $(HOST_EXPORTS) \
26925 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26927 done; \
26928 echo "Doing TAGS in libiberty-linker-plugin"; \
26929 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26932 "RANLIB=$${RANLIB}" \
26933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26934 TAGS) \
26935 || exit 1
26937 @endif libiberty-linker-plugin
26939 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
26940 maybe-install-info-libiberty-linker-plugin:
26941 @if libiberty-linker-plugin
26942 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
26944 install-info-libiberty-linker-plugin: \
26945 configure-libiberty-linker-plugin \
26946 info-libiberty-linker-plugin
26947 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26948 r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26950 $(HOST_EXPORTS) \
26951 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26953 done; \
26954 echo "Doing install-info in libiberty-linker-plugin"; \
26955 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26958 "RANLIB=$${RANLIB}" \
26959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26960 install-info) \
26961 || exit 1
26963 @endif libiberty-linker-plugin
26965 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
26966 maybe-install-pdf-libiberty-linker-plugin:
26967 @if libiberty-linker-plugin
26968 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
26970 install-pdf-libiberty-linker-plugin: \
26971 configure-libiberty-linker-plugin \
26972 pdf-libiberty-linker-plugin
26973 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26974 r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 echo "Doing install-pdf in libiberty-linker-plugin"; \
26981 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26984 "RANLIB=$${RANLIB}" \
26985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26986 install-pdf) \
26987 || exit 1
26989 @endif libiberty-linker-plugin
26991 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
26992 maybe-install-html-libiberty-linker-plugin:
26993 @if libiberty-linker-plugin
26994 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
26996 install-html-libiberty-linker-plugin: \
26997 configure-libiberty-linker-plugin \
26998 html-libiberty-linker-plugin
26999 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27000 r=`${PWD_COMMAND}`; export r; \
27001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27002 $(HOST_EXPORTS) \
27003 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27005 done; \
27006 echo "Doing install-html in libiberty-linker-plugin"; \
27007 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27010 "RANLIB=$${RANLIB}" \
27011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27012 install-html) \
27013 || exit 1
27015 @endif libiberty-linker-plugin
27017 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
27018 maybe-installcheck-libiberty-linker-plugin:
27019 @if libiberty-linker-plugin
27020 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
27022 installcheck-libiberty-linker-plugin: \
27023 configure-libiberty-linker-plugin
27024 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27025 r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 $(HOST_EXPORTS) \
27028 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27030 done; \
27031 echo "Doing installcheck in libiberty-linker-plugin"; \
27032 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27037 installcheck) \
27038 || exit 1
27040 @endif libiberty-linker-plugin
27042 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
27043 maybe-mostlyclean-libiberty-linker-plugin:
27044 @if libiberty-linker-plugin
27045 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
27047 mostlyclean-libiberty-linker-plugin:
27048 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27049 r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 $(HOST_EXPORTS) \
27052 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27054 done; \
27055 echo "Doing mostlyclean in libiberty-linker-plugin"; \
27056 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27059 "RANLIB=$${RANLIB}" \
27060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27061 mostlyclean) \
27062 || exit 1
27064 @endif libiberty-linker-plugin
27066 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
27067 maybe-clean-libiberty-linker-plugin:
27068 @if libiberty-linker-plugin
27069 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
27071 clean-libiberty-linker-plugin:
27072 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27073 r=`${PWD_COMMAND}`; export r; \
27074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27075 $(HOST_EXPORTS) \
27076 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27078 done; \
27079 echo "Doing clean in libiberty-linker-plugin"; \
27080 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27083 "RANLIB=$${RANLIB}" \
27084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27085 clean) \
27086 || exit 1
27088 @endif libiberty-linker-plugin
27090 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
27091 maybe-distclean-libiberty-linker-plugin:
27092 @if libiberty-linker-plugin
27093 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
27095 distclean-libiberty-linker-plugin:
27096 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27097 r=`${PWD_COMMAND}`; export r; \
27098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099 $(HOST_EXPORTS) \
27100 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27102 done; \
27103 echo "Doing distclean in libiberty-linker-plugin"; \
27104 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27109 distclean) \
27110 || exit 1
27112 @endif libiberty-linker-plugin
27114 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
27115 maybe-maintainer-clean-libiberty-linker-plugin:
27116 @if libiberty-linker-plugin
27117 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
27119 maintainer-clean-libiberty-linker-plugin:
27120 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
27128 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27133 maintainer-clean) \
27134 || exit 1
27136 @endif libiberty-linker-plugin
27140 .PHONY: configure-libiconv maybe-configure-libiconv
27141 maybe-configure-libiconv:
27142 @if gcc-bootstrap
27143 configure-libiconv: stage_current
27144 @endif gcc-bootstrap
27145 @if libiconv
27146 maybe-configure-libiconv: configure-libiconv
27147 configure-libiconv:
27148 @r=`${PWD_COMMAND}`; export r; \
27149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27150 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27152 $(HOST_EXPORTS) \
27153 echo Configuring in $(HOST_SUBDIR)/libiconv; \
27154 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
27155 case $(srcdir) in \
27156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27157 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27159 esac; \
27160 module_srcdir=libiconv; \
27161 $(SHELL) \
27162 $$s/$$module_srcdir/configure \
27163 --srcdir=$${topdir}/$$module_srcdir \
27164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27165 --target=${target_alias} --disable-shared \
27166 || exit 1
27167 @endif libiconv
27171 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
27172 maybe-configure-stage1-libiconv:
27173 @if libiconv-bootstrap
27174 maybe-configure-stage1-libiconv: configure-stage1-libiconv
27175 configure-stage1-libiconv:
27176 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27178 @r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 TFLAGS="$(STAGE1_TFLAGS)"; \
27181 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27182 $(HOST_EXPORTS) \
27183 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27184 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27185 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27186 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
27187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27188 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27189 case $(srcdir) in \
27190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27191 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27193 esac; \
27194 module_srcdir=libiconv; \
27195 $(SHELL) $$s/$$module_srcdir/configure \
27196 --srcdir=$${topdir}/$$module_srcdir \
27197 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27198 --target=${target_alias} \
27200 $(STAGE1_CONFIGURE_FLAGS) \
27201 --disable-shared
27202 @endif libiconv-bootstrap
27204 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
27205 maybe-configure-stage2-libiconv:
27206 @if libiconv-bootstrap
27207 maybe-configure-stage2-libiconv: configure-stage2-libiconv
27208 configure-stage2-libiconv:
27209 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27211 @r=`${PWD_COMMAND}`; export r; \
27212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27213 TFLAGS="$(STAGE2_TFLAGS)"; \
27214 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27215 $(HOST_EXPORTS) \
27216 $(POSTSTAGE1_HOST_EXPORTS) \
27217 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27218 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27219 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27220 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
27221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27222 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27223 case $(srcdir) in \
27224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27225 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27227 esac; \
27228 module_srcdir=libiconv; \
27229 $(SHELL) $$s/$$module_srcdir/configure \
27230 --srcdir=$${topdir}/$$module_srcdir \
27231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27232 --target=${target_alias} \
27233 --with-build-libsubdir=$(HOST_SUBDIR) \
27234 $(STAGE2_CONFIGURE_FLAGS) \
27235 --disable-shared
27236 @endif libiconv-bootstrap
27238 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
27239 maybe-configure-stage3-libiconv:
27240 @if libiconv-bootstrap
27241 maybe-configure-stage3-libiconv: configure-stage3-libiconv
27242 configure-stage3-libiconv:
27243 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27244 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27245 @r=`${PWD_COMMAND}`; export r; \
27246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27247 TFLAGS="$(STAGE3_TFLAGS)"; \
27248 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27249 $(HOST_EXPORTS) \
27250 $(POSTSTAGE1_HOST_EXPORTS) \
27251 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27252 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27253 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27254 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
27255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27256 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27257 case $(srcdir) in \
27258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27259 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27261 esac; \
27262 module_srcdir=libiconv; \
27263 $(SHELL) $$s/$$module_srcdir/configure \
27264 --srcdir=$${topdir}/$$module_srcdir \
27265 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27266 --target=${target_alias} \
27267 --with-build-libsubdir=$(HOST_SUBDIR) \
27268 $(STAGE3_CONFIGURE_FLAGS) \
27269 --disable-shared
27270 @endif libiconv-bootstrap
27272 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
27273 maybe-configure-stage4-libiconv:
27274 @if libiconv-bootstrap
27275 maybe-configure-stage4-libiconv: configure-stage4-libiconv
27276 configure-stage4-libiconv:
27277 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27278 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27279 @r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 TFLAGS="$(STAGE4_TFLAGS)"; \
27282 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27283 $(HOST_EXPORTS) \
27284 $(POSTSTAGE1_HOST_EXPORTS) \
27285 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27286 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27287 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27288 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
27289 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27290 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27291 case $(srcdir) in \
27292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27293 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27295 esac; \
27296 module_srcdir=libiconv; \
27297 $(SHELL) $$s/$$module_srcdir/configure \
27298 --srcdir=$${topdir}/$$module_srcdir \
27299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27300 --target=${target_alias} \
27301 --with-build-libsubdir=$(HOST_SUBDIR) \
27302 $(STAGE4_CONFIGURE_FLAGS) \
27303 --disable-shared
27304 @endif libiconv-bootstrap
27306 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
27307 maybe-configure-stageprofile-libiconv:
27308 @if libiconv-bootstrap
27309 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
27310 configure-stageprofile-libiconv:
27311 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27312 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27313 @r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27316 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27317 $(HOST_EXPORTS) \
27318 $(POSTSTAGE1_HOST_EXPORTS) \
27319 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27320 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27321 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27322 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
27323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27324 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27325 case $(srcdir) in \
27326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27327 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27329 esac; \
27330 module_srcdir=libiconv; \
27331 $(SHELL) $$s/$$module_srcdir/configure \
27332 --srcdir=$${topdir}/$$module_srcdir \
27333 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27334 --target=${target_alias} \
27335 --with-build-libsubdir=$(HOST_SUBDIR) \
27336 $(STAGEprofile_CONFIGURE_FLAGS) \
27337 --disable-shared
27338 @endif libiconv-bootstrap
27340 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
27341 maybe-configure-stagefeedback-libiconv:
27342 @if libiconv-bootstrap
27343 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
27344 configure-stagefeedback-libiconv:
27345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27347 @r=`${PWD_COMMAND}`; export r; \
27348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27349 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27350 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27351 $(HOST_EXPORTS) \
27352 $(POSTSTAGE1_HOST_EXPORTS) \
27353 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27354 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27356 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
27357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27358 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27359 case $(srcdir) in \
27360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27361 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27363 esac; \
27364 module_srcdir=libiconv; \
27365 $(SHELL) $$s/$$module_srcdir/configure \
27366 --srcdir=$${topdir}/$$module_srcdir \
27367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27368 --target=${target_alias} \
27369 --with-build-libsubdir=$(HOST_SUBDIR) \
27370 $(STAGEfeedback_CONFIGURE_FLAGS) \
27371 --disable-shared
27372 @endif libiconv-bootstrap
27374 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
27375 maybe-configure-stageautoprofile-libiconv:
27376 @if libiconv-bootstrap
27377 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27378 configure-stageautoprofile-libiconv:
27379 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27381 @r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27384 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27385 $(HOST_EXPORTS) \
27386 $(POSTSTAGE1_HOST_EXPORTS) \
27387 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27388 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27389 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27390 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
27391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27392 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27393 case $(srcdir) in \
27394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27395 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27397 esac; \
27398 module_srcdir=libiconv; \
27399 $(SHELL) $$s/$$module_srcdir/configure \
27400 --srcdir=$${topdir}/$$module_srcdir \
27401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27402 --target=${target_alias} \
27403 --with-build-libsubdir=$(HOST_SUBDIR) \
27404 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27405 --disable-shared
27406 @endif libiconv-bootstrap
27408 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
27409 maybe-configure-stageautofeedback-libiconv:
27410 @if libiconv-bootstrap
27411 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27412 configure-stageautofeedback-libiconv:
27413 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27415 @r=`${PWD_COMMAND}`; export r; \
27416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27417 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27418 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27419 $(HOST_EXPORTS) \
27420 $(POSTSTAGE1_HOST_EXPORTS) \
27421 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27422 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27423 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27424 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
27425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27426 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27427 case $(srcdir) in \
27428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27429 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27431 esac; \
27432 module_srcdir=libiconv; \
27433 $(SHELL) $$s/$$module_srcdir/configure \
27434 --srcdir=$${topdir}/$$module_srcdir \
27435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27436 --target=${target_alias} \
27437 --with-build-libsubdir=$(HOST_SUBDIR) \
27438 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27439 --disable-shared
27440 @endif libiconv-bootstrap
27446 .PHONY: all-libiconv maybe-all-libiconv
27447 maybe-all-libiconv:
27448 @if gcc-bootstrap
27449 all-libiconv: stage_current
27450 @endif gcc-bootstrap
27451 @if libiconv
27452 TARGET-libiconv=all
27453 maybe-all-libiconv: all-libiconv
27454 all-libiconv: configure-libiconv
27455 @r=`${PWD_COMMAND}`; export r; \
27456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27457 $(HOST_EXPORTS) \
27458 (cd $(HOST_SUBDIR)/libiconv && \
27459 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27460 $(TARGET-libiconv))
27461 @endif libiconv
27465 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
27466 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
27467 maybe-all-stage1-libiconv:
27468 maybe-clean-stage1-libiconv:
27469 @if libiconv-bootstrap
27470 maybe-all-stage1-libiconv: all-stage1-libiconv
27471 all-stage1: all-stage1-libiconv
27472 TARGET-stage1-libiconv = $(TARGET-libiconv)
27473 all-stage1-libiconv: configure-stage1-libiconv
27474 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27475 @r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 TFLAGS="$(STAGE1_TFLAGS)"; \
27478 $(HOST_EXPORTS) \
27479 cd $(HOST_SUBDIR)/libiconv && \
27481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27482 CFLAGS="$(STAGE1_CFLAGS)" \
27483 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27484 LIBCFLAGS="$(LIBCFLAGS)" \
27485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27488 $(EXTRA_HOST_FLAGS) \
27489 $(STAGE1_FLAGS_TO_PASS) \
27490 TFLAGS="$(STAGE1_TFLAGS)" \
27491 $(TARGET-stage1-libiconv)
27493 maybe-clean-stage1-libiconv: clean-stage1-libiconv
27494 clean-stage1: clean-stage1-libiconv
27495 clean-stage1-libiconv:
27496 @if [ $(current_stage) = stage1 ]; then \
27497 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27498 else \
27499 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
27500 $(MAKE) stage1-start; \
27501 fi; \
27502 cd $(HOST_SUBDIR)/libiconv && \
27503 $(MAKE) $(EXTRA_HOST_FLAGS) \
27504 $(STAGE1_FLAGS_TO_PASS) clean
27505 @endif libiconv-bootstrap
27508 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
27509 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
27510 maybe-all-stage2-libiconv:
27511 maybe-clean-stage2-libiconv:
27512 @if libiconv-bootstrap
27513 maybe-all-stage2-libiconv: all-stage2-libiconv
27514 all-stage2: all-stage2-libiconv
27515 TARGET-stage2-libiconv = $(TARGET-libiconv)
27516 all-stage2-libiconv: configure-stage2-libiconv
27517 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27518 @r=`${PWD_COMMAND}`; export r; \
27519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27520 TFLAGS="$(STAGE2_TFLAGS)"; \
27521 $(HOST_EXPORTS) \
27522 $(POSTSTAGE1_HOST_EXPORTS) \
27523 cd $(HOST_SUBDIR)/libiconv && \
27525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27526 CFLAGS="$(STAGE2_CFLAGS)" \
27527 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27528 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27533 TFLAGS="$(STAGE2_TFLAGS)" \
27534 $(TARGET-stage2-libiconv)
27536 maybe-clean-stage2-libiconv: clean-stage2-libiconv
27537 clean-stage2: clean-stage2-libiconv
27538 clean-stage2-libiconv:
27539 @if [ $(current_stage) = stage2 ]; then \
27540 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27541 else \
27542 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
27543 $(MAKE) stage2-start; \
27544 fi; \
27545 cd $(HOST_SUBDIR)/libiconv && \
27546 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27547 @endif libiconv-bootstrap
27550 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
27551 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
27552 maybe-all-stage3-libiconv:
27553 maybe-clean-stage3-libiconv:
27554 @if libiconv-bootstrap
27555 maybe-all-stage3-libiconv: all-stage3-libiconv
27556 all-stage3: all-stage3-libiconv
27557 TARGET-stage3-libiconv = $(TARGET-libiconv)
27558 all-stage3-libiconv: configure-stage3-libiconv
27559 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27560 @r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 TFLAGS="$(STAGE3_TFLAGS)"; \
27563 $(HOST_EXPORTS) \
27564 $(POSTSTAGE1_HOST_EXPORTS) \
27565 cd $(HOST_SUBDIR)/libiconv && \
27567 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27568 CFLAGS="$(STAGE3_CFLAGS)" \
27569 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27570 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27571 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27572 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27573 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27574 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27575 TFLAGS="$(STAGE3_TFLAGS)" \
27576 $(TARGET-stage3-libiconv)
27578 maybe-clean-stage3-libiconv: clean-stage3-libiconv
27579 clean-stage3: clean-stage3-libiconv
27580 clean-stage3-libiconv:
27581 @if [ $(current_stage) = stage3 ]; then \
27582 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27583 else \
27584 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
27585 $(MAKE) stage3-start; \
27586 fi; \
27587 cd $(HOST_SUBDIR)/libiconv && \
27588 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27589 @endif libiconv-bootstrap
27592 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
27593 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
27594 maybe-all-stage4-libiconv:
27595 maybe-clean-stage4-libiconv:
27596 @if libiconv-bootstrap
27597 maybe-all-stage4-libiconv: all-stage4-libiconv
27598 all-stage4: all-stage4-libiconv
27599 TARGET-stage4-libiconv = $(TARGET-libiconv)
27600 all-stage4-libiconv: configure-stage4-libiconv
27601 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27602 @r=`${PWD_COMMAND}`; export r; \
27603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27604 TFLAGS="$(STAGE4_TFLAGS)"; \
27605 $(HOST_EXPORTS) \
27606 $(POSTSTAGE1_HOST_EXPORTS) \
27607 cd $(HOST_SUBDIR)/libiconv && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27610 CFLAGS="$(STAGE4_CFLAGS)" \
27611 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27612 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27616 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27617 TFLAGS="$(STAGE4_TFLAGS)" \
27618 $(TARGET-stage4-libiconv)
27620 maybe-clean-stage4-libiconv: clean-stage4-libiconv
27621 clean-stage4: clean-stage4-libiconv
27622 clean-stage4-libiconv:
27623 @if [ $(current_stage) = stage4 ]; then \
27624 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27625 else \
27626 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
27627 $(MAKE) stage4-start; \
27628 fi; \
27629 cd $(HOST_SUBDIR)/libiconv && \
27630 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27631 @endif libiconv-bootstrap
27634 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
27635 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
27636 maybe-all-stageprofile-libiconv:
27637 maybe-clean-stageprofile-libiconv:
27638 @if libiconv-bootstrap
27639 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
27640 all-stageprofile: all-stageprofile-libiconv
27641 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
27642 all-stageprofile-libiconv: configure-stageprofile-libiconv
27643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27644 @r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27647 $(HOST_EXPORTS) \
27648 $(POSTSTAGE1_HOST_EXPORTS) \
27649 cd $(HOST_SUBDIR)/libiconv && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27652 CFLAGS="$(STAGEprofile_CFLAGS)" \
27653 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27654 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27658 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27659 TFLAGS="$(STAGEprofile_TFLAGS)" \
27660 $(TARGET-stageprofile-libiconv)
27662 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
27663 clean-stageprofile: clean-stageprofile-libiconv
27664 clean-stageprofile-libiconv:
27665 @if [ $(current_stage) = stageprofile ]; then \
27666 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27667 else \
27668 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
27669 $(MAKE) stageprofile-start; \
27670 fi; \
27671 cd $(HOST_SUBDIR)/libiconv && \
27672 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27673 @endif libiconv-bootstrap
27676 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
27677 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
27678 maybe-all-stagefeedback-libiconv:
27679 maybe-clean-stagefeedback-libiconv:
27680 @if libiconv-bootstrap
27681 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
27682 all-stagefeedback: all-stagefeedback-libiconv
27683 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
27684 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
27685 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27686 @r=`${PWD_COMMAND}`; export r; \
27687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27688 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27689 $(HOST_EXPORTS) \
27690 $(POSTSTAGE1_HOST_EXPORTS) \
27691 cd $(HOST_SUBDIR)/libiconv && \
27693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27694 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27695 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27696 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27701 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27702 $(TARGET-stagefeedback-libiconv)
27704 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
27705 clean-stagefeedback: clean-stagefeedback-libiconv
27706 clean-stagefeedback-libiconv:
27707 @if [ $(current_stage) = stagefeedback ]; then \
27708 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27709 else \
27710 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
27711 $(MAKE) stagefeedback-start; \
27712 fi; \
27713 cd $(HOST_SUBDIR)/libiconv && \
27714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27715 @endif libiconv-bootstrap
27718 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
27719 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
27720 maybe-all-stageautoprofile-libiconv:
27721 maybe-clean-stageautoprofile-libiconv:
27722 @if libiconv-bootstrap
27723 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
27724 all-stageautoprofile: all-stageautoprofile-libiconv
27725 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
27726 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27727 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27731 $(HOST_EXPORTS) \
27732 $(POSTSTAGE1_HOST_EXPORTS) \
27733 cd $(HOST_SUBDIR)/libiconv && \
27734 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27736 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27737 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27738 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27742 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27743 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27744 $(TARGET-stageautoprofile-libiconv)
27746 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
27747 clean-stageautoprofile: clean-stageautoprofile-libiconv
27748 clean-stageautoprofile-libiconv:
27749 @if [ $(current_stage) = stageautoprofile ]; then \
27750 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27751 else \
27752 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
27753 $(MAKE) stageautoprofile-start; \
27754 fi; \
27755 cd $(HOST_SUBDIR)/libiconv && \
27756 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27757 @endif libiconv-bootstrap
27760 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
27761 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
27762 maybe-all-stageautofeedback-libiconv:
27763 maybe-clean-stageautofeedback-libiconv:
27764 @if libiconv-bootstrap
27765 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
27766 all-stageautofeedback: all-stageautofeedback-libiconv
27767 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
27768 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27769 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27770 @r=`${PWD_COMMAND}`; export r; \
27771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27772 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27773 $(HOST_EXPORTS) \
27774 $(POSTSTAGE1_HOST_EXPORTS) \
27775 cd $(HOST_SUBDIR)/libiconv && \
27777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27778 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27779 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27780 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27785 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27786 $(TARGET-stageautofeedback-libiconv)
27788 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
27789 clean-stageautofeedback: clean-stageautofeedback-libiconv
27790 clean-stageautofeedback-libiconv:
27791 @if [ $(current_stage) = stageautofeedback ]; then \
27792 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27793 else \
27794 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
27795 $(MAKE) stageautofeedback-start; \
27796 fi; \
27797 cd $(HOST_SUBDIR)/libiconv && \
27798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27799 @endif libiconv-bootstrap
27805 .PHONY: check-libiconv maybe-check-libiconv
27806 maybe-check-libiconv:
27807 @if libiconv
27808 maybe-check-libiconv: check-libiconv
27810 check-libiconv:
27811 @: $(MAKE); $(unstage)
27812 @r=`${PWD_COMMAND}`; export r; \
27813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27814 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27815 (cd $(HOST_SUBDIR)/libiconv && \
27816 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27818 @endif libiconv
27820 .PHONY: install-libiconv maybe-install-libiconv
27821 maybe-install-libiconv:
27822 @if libiconv
27823 maybe-install-libiconv: install-libiconv
27825 install-libiconv:
27827 @endif libiconv
27829 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
27830 maybe-install-strip-libiconv:
27831 @if libiconv
27832 maybe-install-strip-libiconv: install-strip-libiconv
27834 install-strip-libiconv:
27836 @endif libiconv
27838 # Other targets (info, dvi, pdf, etc.)
27840 .PHONY: maybe-info-libiconv info-libiconv
27841 maybe-info-libiconv:
27842 @if libiconv
27843 maybe-info-libiconv: info-libiconv
27845 # libiconv doesn't support info.
27846 info-libiconv:
27848 @endif libiconv
27850 .PHONY: maybe-dvi-libiconv dvi-libiconv
27851 maybe-dvi-libiconv:
27852 @if libiconv
27853 maybe-dvi-libiconv: dvi-libiconv
27855 dvi-libiconv: \
27856 configure-libiconv
27857 @[ -f ./libiconv/Makefile ] || exit 0; \
27858 r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 $(HOST_EXPORTS) \
27861 for flag in $(EXTRA_HOST_FLAGS) ; do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 echo "Doing dvi in libiconv"; \
27865 (cd $(HOST_SUBDIR)/libiconv && \
27866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27868 "RANLIB=$${RANLIB}" \
27869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27870 dvi) \
27871 || exit 1
27873 @endif libiconv
27875 .PHONY: maybe-pdf-libiconv pdf-libiconv
27876 maybe-pdf-libiconv:
27877 @if libiconv
27878 maybe-pdf-libiconv: pdf-libiconv
27880 # libiconv doesn't support pdf.
27881 pdf-libiconv:
27883 @endif libiconv
27885 .PHONY: maybe-html-libiconv html-libiconv
27886 maybe-html-libiconv:
27887 @if libiconv
27888 maybe-html-libiconv: html-libiconv
27890 # libiconv doesn't support html.
27891 html-libiconv:
27893 @endif libiconv
27895 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
27896 maybe-TAGS-libiconv:
27897 @if libiconv
27898 maybe-TAGS-libiconv: TAGS-libiconv
27900 TAGS-libiconv: \
27901 configure-libiconv
27902 @[ -f ./libiconv/Makefile ] || exit 0; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(HOST_EXPORTS) \
27906 for flag in $(EXTRA_HOST_FLAGS) ; do \
27907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27908 done; \
27909 echo "Doing TAGS in libiconv"; \
27910 (cd $(HOST_SUBDIR)/libiconv && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27915 TAGS) \
27916 || exit 1
27918 @endif libiconv
27920 .PHONY: maybe-install-info-libiconv install-info-libiconv
27921 maybe-install-info-libiconv:
27922 @if libiconv
27923 maybe-install-info-libiconv: install-info-libiconv
27925 # libiconv doesn't support install-info.
27926 install-info-libiconv:
27928 @endif libiconv
27930 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
27931 maybe-install-pdf-libiconv:
27932 @if libiconv
27933 maybe-install-pdf-libiconv: install-pdf-libiconv
27935 # libiconv doesn't support install-pdf.
27936 install-pdf-libiconv:
27938 @endif libiconv
27940 .PHONY: maybe-install-html-libiconv install-html-libiconv
27941 maybe-install-html-libiconv:
27942 @if libiconv
27943 maybe-install-html-libiconv: install-html-libiconv
27945 # libiconv doesn't support install-html.
27946 install-html-libiconv:
27948 @endif libiconv
27950 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
27951 maybe-installcheck-libiconv:
27952 @if libiconv
27953 maybe-installcheck-libiconv: installcheck-libiconv
27955 installcheck-libiconv: \
27956 configure-libiconv
27957 @[ -f ./libiconv/Makefile ] || exit 0; \
27958 r=`${PWD_COMMAND}`; export r; \
27959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27960 $(HOST_EXPORTS) \
27961 for flag in $(EXTRA_HOST_FLAGS) ; do \
27962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27963 done; \
27964 echo "Doing installcheck in libiconv"; \
27965 (cd $(HOST_SUBDIR)/libiconv && \
27966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27968 "RANLIB=$${RANLIB}" \
27969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27970 installcheck) \
27971 || exit 1
27973 @endif libiconv
27975 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
27976 maybe-mostlyclean-libiconv:
27977 @if libiconv
27978 maybe-mostlyclean-libiconv: mostlyclean-libiconv
27980 mostlyclean-libiconv:
27981 @[ -f ./libiconv/Makefile ] || exit 0; \
27982 r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(HOST_EXPORTS) \
27985 for flag in $(EXTRA_HOST_FLAGS) ; do \
27986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27987 done; \
27988 echo "Doing mostlyclean in libiconv"; \
27989 (cd $(HOST_SUBDIR)/libiconv && \
27990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27992 "RANLIB=$${RANLIB}" \
27993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27994 mostlyclean) \
27995 || exit 1
27997 @endif libiconv
27999 .PHONY: maybe-clean-libiconv clean-libiconv
28000 maybe-clean-libiconv:
28001 @if libiconv
28002 maybe-clean-libiconv: clean-libiconv
28004 clean-libiconv:
28005 @[ -f ./libiconv/Makefile ] || exit 0; \
28006 r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(HOST_EXPORTS) \
28009 for flag in $(EXTRA_HOST_FLAGS) ; do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 done; \
28012 echo "Doing clean in libiconv"; \
28013 (cd $(HOST_SUBDIR)/libiconv && \
28014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28016 "RANLIB=$${RANLIB}" \
28017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28018 clean) \
28019 || exit 1
28021 @endif libiconv
28023 .PHONY: maybe-distclean-libiconv distclean-libiconv
28024 maybe-distclean-libiconv:
28025 @if libiconv
28026 maybe-distclean-libiconv: distclean-libiconv
28028 distclean-libiconv:
28029 @[ -f ./libiconv/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing distclean in libiconv"; \
28037 (cd $(HOST_SUBDIR)/libiconv && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 distclean) \
28043 || exit 1
28045 @endif libiconv
28047 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
28048 maybe-maintainer-clean-libiconv:
28049 @if libiconv
28050 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
28052 maintainer-clean-libiconv:
28053 @[ -f ./libiconv/Makefile ] || exit 0; \
28054 r=`${PWD_COMMAND}`; export r; \
28055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28056 $(HOST_EXPORTS) \
28057 for flag in $(EXTRA_HOST_FLAGS) ; do \
28058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28059 done; \
28060 echo "Doing maintainer-clean in libiconv"; \
28061 (cd $(HOST_SUBDIR)/libiconv && \
28062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28064 "RANLIB=$${RANLIB}" \
28065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28066 maintainer-clean) \
28067 || exit 1
28069 @endif libiconv
28073 .PHONY: configure-m4 maybe-configure-m4
28074 maybe-configure-m4:
28075 @if gcc-bootstrap
28076 configure-m4: stage_current
28077 @endif gcc-bootstrap
28078 @if m4
28079 maybe-configure-m4: configure-m4
28080 configure-m4:
28081 @: $(MAKE); $(unstage)
28082 @r=`${PWD_COMMAND}`; export r; \
28083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28084 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
28085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
28086 $(HOST_EXPORTS) \
28087 echo Configuring in $(HOST_SUBDIR)/m4; \
28088 cd "$(HOST_SUBDIR)/m4" || exit 1; \
28089 case $(srcdir) in \
28090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28091 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
28092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28093 esac; \
28094 module_srcdir=m4; \
28095 $(SHELL) \
28096 $$s/$$module_srcdir/configure \
28097 --srcdir=$${topdir}/$$module_srcdir \
28098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28099 --target=${target_alias} \
28100 || exit 1
28101 @endif m4
28107 .PHONY: all-m4 maybe-all-m4
28108 maybe-all-m4:
28109 @if gcc-bootstrap
28110 all-m4: stage_current
28111 @endif gcc-bootstrap
28112 @if m4
28113 TARGET-m4=all
28114 maybe-all-m4: all-m4
28115 all-m4: configure-m4
28116 @: $(MAKE); $(unstage)
28117 @r=`${PWD_COMMAND}`; export r; \
28118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28119 $(HOST_EXPORTS) \
28120 (cd $(HOST_SUBDIR)/m4 && \
28121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28122 $(TARGET-m4))
28123 @endif m4
28128 .PHONY: check-m4 maybe-check-m4
28129 maybe-check-m4:
28130 @if m4
28131 maybe-check-m4: check-m4
28133 check-m4:
28134 @: $(MAKE); $(unstage)
28135 @r=`${PWD_COMMAND}`; export r; \
28136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 $(HOST_EXPORTS) \
28138 (cd $(HOST_SUBDIR)/m4 && \
28139 $(MAKE) $(FLAGS_TO_PASS) check)
28141 @endif m4
28143 .PHONY: install-m4 maybe-install-m4
28144 maybe-install-m4:
28145 @if m4
28146 maybe-install-m4: install-m4
28148 install-m4: installdirs
28149 @: $(MAKE); $(unstage)
28150 @r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(HOST_EXPORTS) \
28153 (cd $(HOST_SUBDIR)/m4 && \
28154 $(MAKE) $(FLAGS_TO_PASS) install)
28156 @endif m4
28158 .PHONY: install-strip-m4 maybe-install-strip-m4
28159 maybe-install-strip-m4:
28160 @if m4
28161 maybe-install-strip-m4: install-strip-m4
28163 install-strip-m4: installdirs
28164 @: $(MAKE); $(unstage)
28165 @r=`${PWD_COMMAND}`; export r; \
28166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28167 $(HOST_EXPORTS) \
28168 (cd $(HOST_SUBDIR)/m4 && \
28169 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28171 @endif m4
28173 # Other targets (info, dvi, pdf, etc.)
28175 .PHONY: maybe-info-m4 info-m4
28176 maybe-info-m4:
28177 @if m4
28178 maybe-info-m4: info-m4
28180 info-m4: \
28181 configure-m4
28182 @: $(MAKE); $(unstage)
28183 @[ -f ./m4/Makefile ] || exit 0; \
28184 r=`${PWD_COMMAND}`; export r; \
28185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28186 $(HOST_EXPORTS) \
28187 for flag in $(EXTRA_HOST_FLAGS) ; do \
28188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28189 done; \
28190 echo "Doing info in m4"; \
28191 (cd $(HOST_SUBDIR)/m4 && \
28192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28194 "RANLIB=$${RANLIB}" \
28195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28196 info) \
28197 || exit 1
28199 @endif m4
28201 .PHONY: maybe-dvi-m4 dvi-m4
28202 maybe-dvi-m4:
28203 @if m4
28204 maybe-dvi-m4: dvi-m4
28206 dvi-m4: \
28207 configure-m4
28208 @: $(MAKE); $(unstage)
28209 @[ -f ./m4/Makefile ] || exit 0; \
28210 r=`${PWD_COMMAND}`; export r; \
28211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28212 $(HOST_EXPORTS) \
28213 for flag in $(EXTRA_HOST_FLAGS) ; do \
28214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28215 done; \
28216 echo "Doing dvi in m4"; \
28217 (cd $(HOST_SUBDIR)/m4 && \
28218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28220 "RANLIB=$${RANLIB}" \
28221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28222 dvi) \
28223 || exit 1
28225 @endif m4
28227 .PHONY: maybe-pdf-m4 pdf-m4
28228 maybe-pdf-m4:
28229 @if m4
28230 maybe-pdf-m4: pdf-m4
28232 pdf-m4: \
28233 configure-m4
28234 @: $(MAKE); $(unstage)
28235 @[ -f ./m4/Makefile ] || exit 0; \
28236 r=`${PWD_COMMAND}`; export r; \
28237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28238 $(HOST_EXPORTS) \
28239 for flag in $(EXTRA_HOST_FLAGS) ; do \
28240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28241 done; \
28242 echo "Doing pdf in m4"; \
28243 (cd $(HOST_SUBDIR)/m4 && \
28244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28246 "RANLIB=$${RANLIB}" \
28247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28248 pdf) \
28249 || exit 1
28251 @endif m4
28253 .PHONY: maybe-html-m4 html-m4
28254 maybe-html-m4:
28255 @if m4
28256 maybe-html-m4: html-m4
28258 html-m4: \
28259 configure-m4
28260 @: $(MAKE); $(unstage)
28261 @[ -f ./m4/Makefile ] || exit 0; \
28262 r=`${PWD_COMMAND}`; export r; \
28263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28264 $(HOST_EXPORTS) \
28265 for flag in $(EXTRA_HOST_FLAGS) ; do \
28266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28267 done; \
28268 echo "Doing html in m4"; \
28269 (cd $(HOST_SUBDIR)/m4 && \
28270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28272 "RANLIB=$${RANLIB}" \
28273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28274 html) \
28275 || exit 1
28277 @endif m4
28279 .PHONY: maybe-TAGS-m4 TAGS-m4
28280 maybe-TAGS-m4:
28281 @if m4
28282 maybe-TAGS-m4: TAGS-m4
28284 TAGS-m4: \
28285 configure-m4
28286 @: $(MAKE); $(unstage)
28287 @[ -f ./m4/Makefile ] || exit 0; \
28288 r=`${PWD_COMMAND}`; export r; \
28289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28290 $(HOST_EXPORTS) \
28291 for flag in $(EXTRA_HOST_FLAGS) ; do \
28292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28293 done; \
28294 echo "Doing TAGS in m4"; \
28295 (cd $(HOST_SUBDIR)/m4 && \
28296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28298 "RANLIB=$${RANLIB}" \
28299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28300 TAGS) \
28301 || exit 1
28303 @endif m4
28305 .PHONY: maybe-install-info-m4 install-info-m4
28306 maybe-install-info-m4:
28307 @if m4
28308 maybe-install-info-m4: install-info-m4
28310 install-info-m4: \
28311 configure-m4 \
28312 info-m4
28313 @: $(MAKE); $(unstage)
28314 @[ -f ./m4/Makefile ] || exit 0; \
28315 r=`${PWD_COMMAND}`; export r; \
28316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28317 $(HOST_EXPORTS) \
28318 for flag in $(EXTRA_HOST_FLAGS) ; do \
28319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28320 done; \
28321 echo "Doing install-info in m4"; \
28322 (cd $(HOST_SUBDIR)/m4 && \
28323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28325 "RANLIB=$${RANLIB}" \
28326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28327 install-info) \
28328 || exit 1
28330 @endif m4
28332 .PHONY: maybe-install-pdf-m4 install-pdf-m4
28333 maybe-install-pdf-m4:
28334 @if m4
28335 maybe-install-pdf-m4: install-pdf-m4
28337 install-pdf-m4: \
28338 configure-m4 \
28339 pdf-m4
28340 @: $(MAKE); $(unstage)
28341 @[ -f ./m4/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(HOST_EXPORTS) \
28345 for flag in $(EXTRA_HOST_FLAGS) ; do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 echo "Doing install-pdf in m4"; \
28349 (cd $(HOST_SUBDIR)/m4 && \
28350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28352 "RANLIB=$${RANLIB}" \
28353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28354 install-pdf) \
28355 || exit 1
28357 @endif m4
28359 .PHONY: maybe-install-html-m4 install-html-m4
28360 maybe-install-html-m4:
28361 @if m4
28362 maybe-install-html-m4: install-html-m4
28364 install-html-m4: \
28365 configure-m4 \
28366 html-m4
28367 @: $(MAKE); $(unstage)
28368 @[ -f ./m4/Makefile ] || exit 0; \
28369 r=`${PWD_COMMAND}`; export r; \
28370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28371 $(HOST_EXPORTS) \
28372 for flag in $(EXTRA_HOST_FLAGS) ; do \
28373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28374 done; \
28375 echo "Doing install-html in m4"; \
28376 (cd $(HOST_SUBDIR)/m4 && \
28377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28379 "RANLIB=$${RANLIB}" \
28380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28381 install-html) \
28382 || exit 1
28384 @endif m4
28386 .PHONY: maybe-installcheck-m4 installcheck-m4
28387 maybe-installcheck-m4:
28388 @if m4
28389 maybe-installcheck-m4: installcheck-m4
28391 installcheck-m4: \
28392 configure-m4
28393 @: $(MAKE); $(unstage)
28394 @[ -f ./m4/Makefile ] || exit 0; \
28395 r=`${PWD_COMMAND}`; export r; \
28396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28397 $(HOST_EXPORTS) \
28398 for flag in $(EXTRA_HOST_FLAGS) ; do \
28399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 done; \
28401 echo "Doing installcheck in m4"; \
28402 (cd $(HOST_SUBDIR)/m4 && \
28403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28405 "RANLIB=$${RANLIB}" \
28406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28407 installcheck) \
28408 || exit 1
28410 @endif m4
28412 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
28413 maybe-mostlyclean-m4:
28414 @if m4
28415 maybe-mostlyclean-m4: mostlyclean-m4
28417 mostlyclean-m4:
28418 @: $(MAKE); $(unstage)
28419 @[ -f ./m4/Makefile ] || exit 0; \
28420 r=`${PWD_COMMAND}`; export r; \
28421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28422 $(HOST_EXPORTS) \
28423 for flag in $(EXTRA_HOST_FLAGS) ; do \
28424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28425 done; \
28426 echo "Doing mostlyclean in m4"; \
28427 (cd $(HOST_SUBDIR)/m4 && \
28428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28430 "RANLIB=$${RANLIB}" \
28431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28432 mostlyclean) \
28433 || exit 1
28435 @endif m4
28437 .PHONY: maybe-clean-m4 clean-m4
28438 maybe-clean-m4:
28439 @if m4
28440 maybe-clean-m4: clean-m4
28442 clean-m4:
28443 @: $(MAKE); $(unstage)
28444 @[ -f ./m4/Makefile ] || exit 0; \
28445 r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 $(HOST_EXPORTS) \
28448 for flag in $(EXTRA_HOST_FLAGS) ; do \
28449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28450 done; \
28451 echo "Doing clean in m4"; \
28452 (cd $(HOST_SUBDIR)/m4 && \
28453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28455 "RANLIB=$${RANLIB}" \
28456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28457 clean) \
28458 || exit 1
28460 @endif m4
28462 .PHONY: maybe-distclean-m4 distclean-m4
28463 maybe-distclean-m4:
28464 @if m4
28465 maybe-distclean-m4: distclean-m4
28467 distclean-m4:
28468 @: $(MAKE); $(unstage)
28469 @[ -f ./m4/Makefile ] || exit 0; \
28470 r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472 $(HOST_EXPORTS) \
28473 for flag in $(EXTRA_HOST_FLAGS) ; do \
28474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28475 done; \
28476 echo "Doing distclean in m4"; \
28477 (cd $(HOST_SUBDIR)/m4 && \
28478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28480 "RANLIB=$${RANLIB}" \
28481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28482 distclean) \
28483 || exit 1
28485 @endif m4
28487 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
28488 maybe-maintainer-clean-m4:
28489 @if m4
28490 maybe-maintainer-clean-m4: maintainer-clean-m4
28492 maintainer-clean-m4:
28493 @: $(MAKE); $(unstage)
28494 @[ -f ./m4/Makefile ] || exit 0; \
28495 r=`${PWD_COMMAND}`; export r; \
28496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28497 $(HOST_EXPORTS) \
28498 for flag in $(EXTRA_HOST_FLAGS) ; do \
28499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28500 done; \
28501 echo "Doing maintainer-clean in m4"; \
28502 (cd $(HOST_SUBDIR)/m4 && \
28503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28505 "RANLIB=$${RANLIB}" \
28506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28507 maintainer-clean) \
28508 || exit 1
28510 @endif m4
28514 .PHONY: configure-readline maybe-configure-readline
28515 maybe-configure-readline:
28516 @if gcc-bootstrap
28517 configure-readline: stage_current
28518 @endif gcc-bootstrap
28519 @if readline
28520 maybe-configure-readline: configure-readline
28521 configure-readline:
28522 @: $(MAKE); $(unstage)
28523 @r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
28526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
28527 $(HOST_EXPORTS) \
28528 echo Configuring in $(HOST_SUBDIR)/readline; \
28529 cd "$(HOST_SUBDIR)/readline" || exit 1; \
28530 case $(srcdir) in \
28531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28532 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
28533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28534 esac; \
28535 module_srcdir=readline; \
28536 $(SHELL) \
28537 $$s/$$module_srcdir/configure \
28538 --srcdir=$${topdir}/$$module_srcdir \
28539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28540 --target=${target_alias} \
28541 || exit 1
28542 @endif readline
28548 .PHONY: all-readline maybe-all-readline
28549 maybe-all-readline:
28550 @if gcc-bootstrap
28551 all-readline: stage_current
28552 @endif gcc-bootstrap
28553 @if readline
28554 TARGET-readline=all
28555 maybe-all-readline: all-readline
28556 all-readline: configure-readline
28557 @: $(MAKE); $(unstage)
28558 @r=`${PWD_COMMAND}`; export r; \
28559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28560 $(HOST_EXPORTS) \
28561 (cd $(HOST_SUBDIR)/readline && \
28562 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28563 $(TARGET-readline))
28564 @endif readline
28569 .PHONY: check-readline maybe-check-readline
28570 maybe-check-readline:
28571 @if readline
28572 maybe-check-readline: check-readline
28574 check-readline:
28575 @: $(MAKE); $(unstage)
28576 @r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(HOST_EXPORTS) \
28579 (cd $(HOST_SUBDIR)/readline && \
28580 $(MAKE) $(FLAGS_TO_PASS) check)
28582 @endif readline
28584 .PHONY: install-readline maybe-install-readline
28585 maybe-install-readline:
28586 @if readline
28587 maybe-install-readline: install-readline
28589 install-readline: installdirs
28590 @: $(MAKE); $(unstage)
28591 @r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(HOST_EXPORTS) \
28594 (cd $(HOST_SUBDIR)/readline && \
28595 $(MAKE) $(FLAGS_TO_PASS) install)
28597 @endif readline
28599 .PHONY: install-strip-readline maybe-install-strip-readline
28600 maybe-install-strip-readline:
28601 @if readline
28602 maybe-install-strip-readline: install-strip-readline
28604 install-strip-readline: installdirs
28605 @: $(MAKE); $(unstage)
28606 @r=`${PWD_COMMAND}`; export r; \
28607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28608 $(HOST_EXPORTS) \
28609 (cd $(HOST_SUBDIR)/readline && \
28610 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28612 @endif readline
28614 # Other targets (info, dvi, pdf, etc.)
28616 .PHONY: maybe-info-readline info-readline
28617 maybe-info-readline:
28618 @if readline
28619 maybe-info-readline: info-readline
28621 info-readline: \
28622 configure-readline
28623 @: $(MAKE); $(unstage)
28624 @[ -f ./readline/Makefile ] || exit 0; \
28625 r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 $(HOST_EXPORTS) \
28628 for flag in $(EXTRA_HOST_FLAGS) ; do \
28629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28630 done; \
28631 echo "Doing info in readline"; \
28632 (cd $(HOST_SUBDIR)/readline && \
28633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28635 "RANLIB=$${RANLIB}" \
28636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28637 info) \
28638 || exit 1
28640 @endif readline
28642 .PHONY: maybe-dvi-readline dvi-readline
28643 maybe-dvi-readline:
28644 @if readline
28645 maybe-dvi-readline: dvi-readline
28647 dvi-readline: \
28648 configure-readline
28649 @: $(MAKE); $(unstage)
28650 @[ -f ./readline/Makefile ] || exit 0; \
28651 r=`${PWD_COMMAND}`; export r; \
28652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28653 $(HOST_EXPORTS) \
28654 for flag in $(EXTRA_HOST_FLAGS) ; do \
28655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28656 done; \
28657 echo "Doing dvi in readline"; \
28658 (cd $(HOST_SUBDIR)/readline && \
28659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28661 "RANLIB=$${RANLIB}" \
28662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28663 dvi) \
28664 || exit 1
28666 @endif readline
28668 .PHONY: maybe-pdf-readline pdf-readline
28669 maybe-pdf-readline:
28670 @if readline
28671 maybe-pdf-readline: pdf-readline
28673 pdf-readline: \
28674 configure-readline
28675 @: $(MAKE); $(unstage)
28676 @[ -f ./readline/Makefile ] || exit 0; \
28677 r=`${PWD_COMMAND}`; export r; \
28678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28679 $(HOST_EXPORTS) \
28680 for flag in $(EXTRA_HOST_FLAGS) ; do \
28681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28682 done; \
28683 echo "Doing pdf in readline"; \
28684 (cd $(HOST_SUBDIR)/readline && \
28685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28687 "RANLIB=$${RANLIB}" \
28688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28689 pdf) \
28690 || exit 1
28692 @endif readline
28694 .PHONY: maybe-html-readline html-readline
28695 maybe-html-readline:
28696 @if readline
28697 maybe-html-readline: html-readline
28699 html-readline: \
28700 configure-readline
28701 @: $(MAKE); $(unstage)
28702 @[ -f ./readline/Makefile ] || exit 0; \
28703 r=`${PWD_COMMAND}`; export r; \
28704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28705 $(HOST_EXPORTS) \
28706 for flag in $(EXTRA_HOST_FLAGS) ; do \
28707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28708 done; \
28709 echo "Doing html in readline"; \
28710 (cd $(HOST_SUBDIR)/readline && \
28711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28713 "RANLIB=$${RANLIB}" \
28714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28715 html) \
28716 || exit 1
28718 @endif readline
28720 .PHONY: maybe-TAGS-readline TAGS-readline
28721 maybe-TAGS-readline:
28722 @if readline
28723 maybe-TAGS-readline: TAGS-readline
28725 TAGS-readline: \
28726 configure-readline
28727 @: $(MAKE); $(unstage)
28728 @[ -f ./readline/Makefile ] || exit 0; \
28729 r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(HOST_EXPORTS) \
28732 for flag in $(EXTRA_HOST_FLAGS) ; do \
28733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28734 done; \
28735 echo "Doing TAGS in readline"; \
28736 (cd $(HOST_SUBDIR)/readline && \
28737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28739 "RANLIB=$${RANLIB}" \
28740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28741 TAGS) \
28742 || exit 1
28744 @endif readline
28746 .PHONY: maybe-install-info-readline install-info-readline
28747 maybe-install-info-readline:
28748 @if readline
28749 maybe-install-info-readline: install-info-readline
28751 install-info-readline: \
28752 configure-readline \
28753 info-readline
28754 @: $(MAKE); $(unstage)
28755 @[ -f ./readline/Makefile ] || exit 0; \
28756 r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(HOST_EXPORTS) \
28759 for flag in $(EXTRA_HOST_FLAGS) ; do \
28760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28761 done; \
28762 echo "Doing install-info in readline"; \
28763 (cd $(HOST_SUBDIR)/readline && \
28764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28766 "RANLIB=$${RANLIB}" \
28767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28768 install-info) \
28769 || exit 1
28771 @endif readline
28773 .PHONY: maybe-install-pdf-readline install-pdf-readline
28774 maybe-install-pdf-readline:
28775 @if readline
28776 maybe-install-pdf-readline: install-pdf-readline
28778 install-pdf-readline: \
28779 configure-readline \
28780 pdf-readline
28781 @: $(MAKE); $(unstage)
28782 @[ -f ./readline/Makefile ] || exit 0; \
28783 r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 $(HOST_EXPORTS) \
28786 for flag in $(EXTRA_HOST_FLAGS) ; do \
28787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28788 done; \
28789 echo "Doing install-pdf in readline"; \
28790 (cd $(HOST_SUBDIR)/readline && \
28791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28793 "RANLIB=$${RANLIB}" \
28794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28795 install-pdf) \
28796 || exit 1
28798 @endif readline
28800 .PHONY: maybe-install-html-readline install-html-readline
28801 maybe-install-html-readline:
28802 @if readline
28803 maybe-install-html-readline: install-html-readline
28805 install-html-readline: \
28806 configure-readline \
28807 html-readline
28808 @: $(MAKE); $(unstage)
28809 @[ -f ./readline/Makefile ] || exit 0; \
28810 r=`${PWD_COMMAND}`; export r; \
28811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28812 $(HOST_EXPORTS) \
28813 for flag in $(EXTRA_HOST_FLAGS) ; do \
28814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28815 done; \
28816 echo "Doing install-html in readline"; \
28817 (cd $(HOST_SUBDIR)/readline && \
28818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28820 "RANLIB=$${RANLIB}" \
28821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28822 install-html) \
28823 || exit 1
28825 @endif readline
28827 .PHONY: maybe-installcheck-readline installcheck-readline
28828 maybe-installcheck-readline:
28829 @if readline
28830 maybe-installcheck-readline: installcheck-readline
28832 installcheck-readline: \
28833 configure-readline
28834 @: $(MAKE); $(unstage)
28835 @[ -f ./readline/Makefile ] || exit 0; \
28836 r=`${PWD_COMMAND}`; export r; \
28837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28838 $(HOST_EXPORTS) \
28839 for flag in $(EXTRA_HOST_FLAGS) ; do \
28840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28841 done; \
28842 echo "Doing installcheck in readline"; \
28843 (cd $(HOST_SUBDIR)/readline && \
28844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28846 "RANLIB=$${RANLIB}" \
28847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28848 installcheck) \
28849 || exit 1
28851 @endif readline
28853 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
28854 maybe-mostlyclean-readline:
28855 @if readline
28856 maybe-mostlyclean-readline: mostlyclean-readline
28858 mostlyclean-readline:
28859 @: $(MAKE); $(unstage)
28860 @[ -f ./readline/Makefile ] || exit 0; \
28861 r=`${PWD_COMMAND}`; export r; \
28862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28863 $(HOST_EXPORTS) \
28864 for flag in $(EXTRA_HOST_FLAGS) ; do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 echo "Doing mostlyclean in readline"; \
28868 (cd $(HOST_SUBDIR)/readline && \
28869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28871 "RANLIB=$${RANLIB}" \
28872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28873 mostlyclean) \
28874 || exit 1
28876 @endif readline
28878 .PHONY: maybe-clean-readline clean-readline
28879 maybe-clean-readline:
28880 @if readline
28881 maybe-clean-readline: clean-readline
28883 clean-readline:
28884 @: $(MAKE); $(unstage)
28885 @[ -f ./readline/Makefile ] || exit 0; \
28886 r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 $(HOST_EXPORTS) \
28889 for flag in $(EXTRA_HOST_FLAGS) ; do \
28890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28891 done; \
28892 echo "Doing clean in readline"; \
28893 (cd $(HOST_SUBDIR)/readline && \
28894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28896 "RANLIB=$${RANLIB}" \
28897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28898 clean) \
28899 || exit 1
28901 @endif readline
28903 .PHONY: maybe-distclean-readline distclean-readline
28904 maybe-distclean-readline:
28905 @if readline
28906 maybe-distclean-readline: distclean-readline
28908 distclean-readline:
28909 @: $(MAKE); $(unstage)
28910 @[ -f ./readline/Makefile ] || exit 0; \
28911 r=`${PWD_COMMAND}`; export r; \
28912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28913 $(HOST_EXPORTS) \
28914 for flag in $(EXTRA_HOST_FLAGS) ; do \
28915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28916 done; \
28917 echo "Doing distclean in readline"; \
28918 (cd $(HOST_SUBDIR)/readline && \
28919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28921 "RANLIB=$${RANLIB}" \
28922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28923 distclean) \
28924 || exit 1
28926 @endif readline
28928 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
28929 maybe-maintainer-clean-readline:
28930 @if readline
28931 maybe-maintainer-clean-readline: maintainer-clean-readline
28933 maintainer-clean-readline:
28934 @: $(MAKE); $(unstage)
28935 @[ -f ./readline/Makefile ] || exit 0; \
28936 r=`${PWD_COMMAND}`; export r; \
28937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28938 $(HOST_EXPORTS) \
28939 for flag in $(EXTRA_HOST_FLAGS) ; do \
28940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28941 done; \
28942 echo "Doing maintainer-clean in readline"; \
28943 (cd $(HOST_SUBDIR)/readline && \
28944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28946 "RANLIB=$${RANLIB}" \
28947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28948 maintainer-clean) \
28949 || exit 1
28951 @endif readline
28955 .PHONY: configure-sid maybe-configure-sid
28956 maybe-configure-sid:
28957 @if gcc-bootstrap
28958 configure-sid: stage_current
28959 @endif gcc-bootstrap
28960 @if sid
28961 maybe-configure-sid: configure-sid
28962 configure-sid:
28963 @: $(MAKE); $(unstage)
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
28967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
28968 $(HOST_EXPORTS) \
28969 echo Configuring in $(HOST_SUBDIR)/sid; \
28970 cd "$(HOST_SUBDIR)/sid" || exit 1; \
28971 case $(srcdir) in \
28972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28973 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
28974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28975 esac; \
28976 module_srcdir=sid; \
28977 $(SHELL) \
28978 $$s/$$module_srcdir/configure \
28979 --srcdir=$${topdir}/$$module_srcdir \
28980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28981 --target=${target_alias} \
28982 || exit 1
28983 @endif sid
28989 .PHONY: all-sid maybe-all-sid
28990 maybe-all-sid:
28991 @if gcc-bootstrap
28992 all-sid: stage_current
28993 @endif gcc-bootstrap
28994 @if sid
28995 TARGET-sid=all
28996 maybe-all-sid: all-sid
28997 all-sid: configure-sid
28998 @: $(MAKE); $(unstage)
28999 @r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 (cd $(HOST_SUBDIR)/sid && \
29003 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29004 $(TARGET-sid))
29005 @endif sid
29010 .PHONY: check-sid maybe-check-sid
29011 maybe-check-sid:
29012 @if sid
29013 maybe-check-sid: check-sid
29015 check-sid:
29016 @: $(MAKE); $(unstage)
29017 @r=`${PWD_COMMAND}`; export r; \
29018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29019 $(HOST_EXPORTS) \
29020 (cd $(HOST_SUBDIR)/sid && \
29021 $(MAKE) $(FLAGS_TO_PASS) check)
29023 @endif sid
29025 .PHONY: install-sid maybe-install-sid
29026 maybe-install-sid:
29027 @if sid
29028 maybe-install-sid: install-sid
29030 install-sid: installdirs
29031 @: $(MAKE); $(unstage)
29032 @r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 $(HOST_EXPORTS) \
29035 (cd $(HOST_SUBDIR)/sid && \
29036 $(MAKE) $(FLAGS_TO_PASS) install)
29038 @endif sid
29040 .PHONY: install-strip-sid maybe-install-strip-sid
29041 maybe-install-strip-sid:
29042 @if sid
29043 maybe-install-strip-sid: install-strip-sid
29045 install-strip-sid: installdirs
29046 @: $(MAKE); $(unstage)
29047 @r=`${PWD_COMMAND}`; export r; \
29048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29049 $(HOST_EXPORTS) \
29050 (cd $(HOST_SUBDIR)/sid && \
29051 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29053 @endif sid
29055 # Other targets (info, dvi, pdf, etc.)
29057 .PHONY: maybe-info-sid info-sid
29058 maybe-info-sid:
29059 @if sid
29060 maybe-info-sid: info-sid
29062 info-sid: \
29063 configure-sid
29064 @: $(MAKE); $(unstage)
29065 @[ -f ./sid/Makefile ] || exit 0; \
29066 r=`${PWD_COMMAND}`; export r; \
29067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29068 $(HOST_EXPORTS) \
29069 for flag in $(EXTRA_HOST_FLAGS) ; do \
29070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29071 done; \
29072 echo "Doing info in sid"; \
29073 (cd $(HOST_SUBDIR)/sid && \
29074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29076 "RANLIB=$${RANLIB}" \
29077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29078 info) \
29079 || exit 1
29081 @endif sid
29083 .PHONY: maybe-dvi-sid dvi-sid
29084 maybe-dvi-sid:
29085 @if sid
29086 maybe-dvi-sid: dvi-sid
29088 dvi-sid: \
29089 configure-sid
29090 @: $(MAKE); $(unstage)
29091 @[ -f ./sid/Makefile ] || exit 0; \
29092 r=`${PWD_COMMAND}`; export r; \
29093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29094 $(HOST_EXPORTS) \
29095 for flag in $(EXTRA_HOST_FLAGS) ; do \
29096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29097 done; \
29098 echo "Doing dvi in sid"; \
29099 (cd $(HOST_SUBDIR)/sid && \
29100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29102 "RANLIB=$${RANLIB}" \
29103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29104 dvi) \
29105 || exit 1
29107 @endif sid
29109 .PHONY: maybe-pdf-sid pdf-sid
29110 maybe-pdf-sid:
29111 @if sid
29112 maybe-pdf-sid: pdf-sid
29114 pdf-sid: \
29115 configure-sid
29116 @: $(MAKE); $(unstage)
29117 @[ -f ./sid/Makefile ] || exit 0; \
29118 r=`${PWD_COMMAND}`; export r; \
29119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29120 $(HOST_EXPORTS) \
29121 for flag in $(EXTRA_HOST_FLAGS) ; do \
29122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29123 done; \
29124 echo "Doing pdf in sid"; \
29125 (cd $(HOST_SUBDIR)/sid && \
29126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29128 "RANLIB=$${RANLIB}" \
29129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29130 pdf) \
29131 || exit 1
29133 @endif sid
29135 .PHONY: maybe-html-sid html-sid
29136 maybe-html-sid:
29137 @if sid
29138 maybe-html-sid: html-sid
29140 html-sid: \
29141 configure-sid
29142 @: $(MAKE); $(unstage)
29143 @[ -f ./sid/Makefile ] || exit 0; \
29144 r=`${PWD_COMMAND}`; export r; \
29145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29146 $(HOST_EXPORTS) \
29147 for flag in $(EXTRA_HOST_FLAGS) ; do \
29148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29149 done; \
29150 echo "Doing html in sid"; \
29151 (cd $(HOST_SUBDIR)/sid && \
29152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29154 "RANLIB=$${RANLIB}" \
29155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29156 html) \
29157 || exit 1
29159 @endif sid
29161 .PHONY: maybe-TAGS-sid TAGS-sid
29162 maybe-TAGS-sid:
29163 @if sid
29164 maybe-TAGS-sid: TAGS-sid
29166 TAGS-sid: \
29167 configure-sid
29168 @: $(MAKE); $(unstage)
29169 @[ -f ./sid/Makefile ] || exit 0; \
29170 r=`${PWD_COMMAND}`; export r; \
29171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 $(HOST_EXPORTS) \
29173 for flag in $(EXTRA_HOST_FLAGS) ; do \
29174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29175 done; \
29176 echo "Doing TAGS in sid"; \
29177 (cd $(HOST_SUBDIR)/sid && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29182 TAGS) \
29183 || exit 1
29185 @endif sid
29187 .PHONY: maybe-install-info-sid install-info-sid
29188 maybe-install-info-sid:
29189 @if sid
29190 maybe-install-info-sid: install-info-sid
29192 install-info-sid: \
29193 configure-sid \
29194 info-sid
29195 @: $(MAKE); $(unstage)
29196 @[ -f ./sid/Makefile ] || exit 0; \
29197 r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199 $(HOST_EXPORTS) \
29200 for flag in $(EXTRA_HOST_FLAGS) ; do \
29201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29202 done; \
29203 echo "Doing install-info in sid"; \
29204 (cd $(HOST_SUBDIR)/sid && \
29205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29207 "RANLIB=$${RANLIB}" \
29208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29209 install-info) \
29210 || exit 1
29212 @endif sid
29214 .PHONY: maybe-install-pdf-sid install-pdf-sid
29215 maybe-install-pdf-sid:
29216 @if sid
29217 maybe-install-pdf-sid: install-pdf-sid
29219 install-pdf-sid: \
29220 configure-sid \
29221 pdf-sid
29222 @: $(MAKE); $(unstage)
29223 @[ -f ./sid/Makefile ] || exit 0; \
29224 r=`${PWD_COMMAND}`; export r; \
29225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29226 $(HOST_EXPORTS) \
29227 for flag in $(EXTRA_HOST_FLAGS) ; do \
29228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29229 done; \
29230 echo "Doing install-pdf in sid"; \
29231 (cd $(HOST_SUBDIR)/sid && \
29232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29234 "RANLIB=$${RANLIB}" \
29235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29236 install-pdf) \
29237 || exit 1
29239 @endif sid
29241 .PHONY: maybe-install-html-sid install-html-sid
29242 maybe-install-html-sid:
29243 @if sid
29244 maybe-install-html-sid: install-html-sid
29246 install-html-sid: \
29247 configure-sid \
29248 html-sid
29249 @: $(MAKE); $(unstage)
29250 @[ -f ./sid/Makefile ] || exit 0; \
29251 r=`${PWD_COMMAND}`; export r; \
29252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29253 $(HOST_EXPORTS) \
29254 for flag in $(EXTRA_HOST_FLAGS) ; do \
29255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29256 done; \
29257 echo "Doing install-html in sid"; \
29258 (cd $(HOST_SUBDIR)/sid && \
29259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29261 "RANLIB=$${RANLIB}" \
29262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29263 install-html) \
29264 || exit 1
29266 @endif sid
29268 .PHONY: maybe-installcheck-sid installcheck-sid
29269 maybe-installcheck-sid:
29270 @if sid
29271 maybe-installcheck-sid: installcheck-sid
29273 installcheck-sid: \
29274 configure-sid
29275 @: $(MAKE); $(unstage)
29276 @[ -f ./sid/Makefile ] || exit 0; \
29277 r=`${PWD_COMMAND}`; export r; \
29278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29279 $(HOST_EXPORTS) \
29280 for flag in $(EXTRA_HOST_FLAGS) ; do \
29281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29282 done; \
29283 echo "Doing installcheck in sid"; \
29284 (cd $(HOST_SUBDIR)/sid && \
29285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29287 "RANLIB=$${RANLIB}" \
29288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29289 installcheck) \
29290 || exit 1
29292 @endif sid
29294 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
29295 maybe-mostlyclean-sid:
29296 @if sid
29297 maybe-mostlyclean-sid: mostlyclean-sid
29299 mostlyclean-sid:
29300 @: $(MAKE); $(unstage)
29301 @[ -f ./sid/Makefile ] || exit 0; \
29302 r=`${PWD_COMMAND}`; export r; \
29303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29304 $(HOST_EXPORTS) \
29305 for flag in $(EXTRA_HOST_FLAGS) ; do \
29306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29307 done; \
29308 echo "Doing mostlyclean in sid"; \
29309 (cd $(HOST_SUBDIR)/sid && \
29310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29312 "RANLIB=$${RANLIB}" \
29313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29314 mostlyclean) \
29315 || exit 1
29317 @endif sid
29319 .PHONY: maybe-clean-sid clean-sid
29320 maybe-clean-sid:
29321 @if sid
29322 maybe-clean-sid: clean-sid
29324 clean-sid:
29325 @: $(MAKE); $(unstage)
29326 @[ -f ./sid/Makefile ] || exit 0; \
29327 r=`${PWD_COMMAND}`; export r; \
29328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29329 $(HOST_EXPORTS) \
29330 for flag in $(EXTRA_HOST_FLAGS) ; do \
29331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29332 done; \
29333 echo "Doing clean in sid"; \
29334 (cd $(HOST_SUBDIR)/sid && \
29335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29337 "RANLIB=$${RANLIB}" \
29338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29339 clean) \
29340 || exit 1
29342 @endif sid
29344 .PHONY: maybe-distclean-sid distclean-sid
29345 maybe-distclean-sid:
29346 @if sid
29347 maybe-distclean-sid: distclean-sid
29349 distclean-sid:
29350 @: $(MAKE); $(unstage)
29351 @[ -f ./sid/Makefile ] || exit 0; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(HOST_EXPORTS) \
29355 for flag in $(EXTRA_HOST_FLAGS) ; do \
29356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29357 done; \
29358 echo "Doing distclean in sid"; \
29359 (cd $(HOST_SUBDIR)/sid && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29362 "RANLIB=$${RANLIB}" \
29363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29364 distclean) \
29365 || exit 1
29367 @endif sid
29369 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
29370 maybe-maintainer-clean-sid:
29371 @if sid
29372 maybe-maintainer-clean-sid: maintainer-clean-sid
29374 maintainer-clean-sid:
29375 @: $(MAKE); $(unstage)
29376 @[ -f ./sid/Makefile ] || exit 0; \
29377 r=`${PWD_COMMAND}`; export r; \
29378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29379 $(HOST_EXPORTS) \
29380 for flag in $(EXTRA_HOST_FLAGS) ; do \
29381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29382 done; \
29383 echo "Doing maintainer-clean in sid"; \
29384 (cd $(HOST_SUBDIR)/sid && \
29385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29387 "RANLIB=$${RANLIB}" \
29388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29389 maintainer-clean) \
29390 || exit 1
29392 @endif sid
29396 .PHONY: configure-sim maybe-configure-sim
29397 maybe-configure-sim:
29398 @if gcc-bootstrap
29399 configure-sim: stage_current
29400 @endif gcc-bootstrap
29401 @if sim
29402 maybe-configure-sim: configure-sim
29403 configure-sim:
29404 @: $(MAKE); $(unstage)
29405 @r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
29408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
29409 $(HOST_EXPORTS) \
29410 echo Configuring in $(HOST_SUBDIR)/sim; \
29411 cd "$(HOST_SUBDIR)/sim" || exit 1; \
29412 case $(srcdir) in \
29413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29414 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
29415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29416 esac; \
29417 module_srcdir=sim; \
29418 $(SHELL) \
29419 $$s/$$module_srcdir/configure \
29420 --srcdir=$${topdir}/$$module_srcdir \
29421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29422 --target=${target_alias} \
29423 || exit 1
29424 @endif sim
29430 .PHONY: all-sim maybe-all-sim
29431 maybe-all-sim:
29432 @if gcc-bootstrap
29433 all-sim: stage_current
29434 @endif gcc-bootstrap
29435 @if sim
29436 TARGET-sim=all
29437 maybe-all-sim: all-sim
29438 all-sim: configure-sim
29439 @: $(MAKE); $(unstage)
29440 @r=`${PWD_COMMAND}`; export r; \
29441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29442 $(HOST_EXPORTS) \
29443 (cd $(HOST_SUBDIR)/sim && \
29444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29445 $(TARGET-sim))
29446 @endif sim
29451 .PHONY: check-sim maybe-check-sim
29452 maybe-check-sim:
29453 @if sim
29454 maybe-check-sim: check-sim
29456 check-sim:
29457 @: $(MAKE); $(unstage)
29458 @r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 $(HOST_EXPORTS) \
29461 (cd $(HOST_SUBDIR)/sim && \
29462 $(MAKE) $(FLAGS_TO_PASS) check)
29464 @endif sim
29466 .PHONY: install-sim maybe-install-sim
29467 maybe-install-sim:
29468 @if sim
29469 maybe-install-sim: install-sim
29471 install-sim: installdirs
29472 @: $(MAKE); $(unstage)
29473 @r=`${PWD_COMMAND}`; export r; \
29474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29475 $(HOST_EXPORTS) \
29476 (cd $(HOST_SUBDIR)/sim && \
29477 $(MAKE) $(FLAGS_TO_PASS) install)
29479 @endif sim
29481 .PHONY: install-strip-sim maybe-install-strip-sim
29482 maybe-install-strip-sim:
29483 @if sim
29484 maybe-install-strip-sim: install-strip-sim
29486 install-strip-sim: installdirs
29487 @: $(MAKE); $(unstage)
29488 @r=`${PWD_COMMAND}`; export r; \
29489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29490 $(HOST_EXPORTS) \
29491 (cd $(HOST_SUBDIR)/sim && \
29492 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29494 @endif sim
29496 # Other targets (info, dvi, pdf, etc.)
29498 .PHONY: maybe-info-sim info-sim
29499 maybe-info-sim:
29500 @if sim
29501 maybe-info-sim: info-sim
29503 info-sim: \
29504 configure-sim
29505 @: $(MAKE); $(unstage)
29506 @[ -f ./sim/Makefile ] || exit 0; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29509 $(HOST_EXPORTS) \
29510 for flag in $(EXTRA_HOST_FLAGS) ; do \
29511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29512 done; \
29513 echo "Doing info in sim"; \
29514 (cd $(HOST_SUBDIR)/sim && \
29515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29517 "RANLIB=$${RANLIB}" \
29518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29519 info) \
29520 || exit 1
29522 @endif sim
29524 .PHONY: maybe-dvi-sim dvi-sim
29525 maybe-dvi-sim:
29526 @if sim
29527 maybe-dvi-sim: dvi-sim
29529 dvi-sim: \
29530 configure-sim
29531 @: $(MAKE); $(unstage)
29532 @[ -f ./sim/Makefile ] || exit 0; \
29533 r=`${PWD_COMMAND}`; export r; \
29534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29535 $(HOST_EXPORTS) \
29536 for flag in $(EXTRA_HOST_FLAGS) ; do \
29537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29538 done; \
29539 echo "Doing dvi in sim"; \
29540 (cd $(HOST_SUBDIR)/sim && \
29541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29543 "RANLIB=$${RANLIB}" \
29544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29545 dvi) \
29546 || exit 1
29548 @endif sim
29550 .PHONY: maybe-pdf-sim pdf-sim
29551 maybe-pdf-sim:
29552 @if sim
29553 maybe-pdf-sim: pdf-sim
29555 pdf-sim: \
29556 configure-sim
29557 @: $(MAKE); $(unstage)
29558 @[ -f ./sim/Makefile ] || exit 0; \
29559 r=`${PWD_COMMAND}`; export r; \
29560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29561 $(HOST_EXPORTS) \
29562 for flag in $(EXTRA_HOST_FLAGS) ; do \
29563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29564 done; \
29565 echo "Doing pdf in sim"; \
29566 (cd $(HOST_SUBDIR)/sim && \
29567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29569 "RANLIB=$${RANLIB}" \
29570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29571 pdf) \
29572 || exit 1
29574 @endif sim
29576 .PHONY: maybe-html-sim html-sim
29577 maybe-html-sim:
29578 @if sim
29579 maybe-html-sim: html-sim
29581 html-sim: \
29582 configure-sim
29583 @: $(MAKE); $(unstage)
29584 @[ -f ./sim/Makefile ] || exit 0; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(HOST_EXPORTS) \
29588 for flag in $(EXTRA_HOST_FLAGS) ; do \
29589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29590 done; \
29591 echo "Doing html in sim"; \
29592 (cd $(HOST_SUBDIR)/sim && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29597 html) \
29598 || exit 1
29600 @endif sim
29602 .PHONY: maybe-TAGS-sim TAGS-sim
29603 maybe-TAGS-sim:
29604 @if sim
29605 maybe-TAGS-sim: TAGS-sim
29607 TAGS-sim: \
29608 configure-sim
29609 @: $(MAKE); $(unstage)
29610 @[ -f ./sim/Makefile ] || exit 0; \
29611 r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(HOST_EXPORTS) \
29614 for flag in $(EXTRA_HOST_FLAGS) ; do \
29615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29616 done; \
29617 echo "Doing TAGS in sim"; \
29618 (cd $(HOST_SUBDIR)/sim && \
29619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29621 "RANLIB=$${RANLIB}" \
29622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29623 TAGS) \
29624 || exit 1
29626 @endif sim
29628 .PHONY: maybe-install-info-sim install-info-sim
29629 maybe-install-info-sim:
29630 @if sim
29631 maybe-install-info-sim: install-info-sim
29633 install-info-sim: \
29634 configure-sim \
29635 info-sim
29636 @: $(MAKE); $(unstage)
29637 @[ -f ./sim/Makefile ] || exit 0; \
29638 r=`${PWD_COMMAND}`; export r; \
29639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29640 $(HOST_EXPORTS) \
29641 for flag in $(EXTRA_HOST_FLAGS) ; do \
29642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29643 done; \
29644 echo "Doing install-info in sim"; \
29645 (cd $(HOST_SUBDIR)/sim && \
29646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29648 "RANLIB=$${RANLIB}" \
29649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29650 install-info) \
29651 || exit 1
29653 @endif sim
29655 .PHONY: maybe-install-pdf-sim install-pdf-sim
29656 maybe-install-pdf-sim:
29657 @if sim
29658 maybe-install-pdf-sim: install-pdf-sim
29660 install-pdf-sim: \
29661 configure-sim \
29662 pdf-sim
29663 @: $(MAKE); $(unstage)
29664 @[ -f ./sim/Makefile ] || exit 0; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(HOST_EXPORTS) \
29668 for flag in $(EXTRA_HOST_FLAGS) ; do \
29669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29670 done; \
29671 echo "Doing install-pdf in sim"; \
29672 (cd $(HOST_SUBDIR)/sim && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29677 install-pdf) \
29678 || exit 1
29680 @endif sim
29682 .PHONY: maybe-install-html-sim install-html-sim
29683 maybe-install-html-sim:
29684 @if sim
29685 maybe-install-html-sim: install-html-sim
29687 install-html-sim: \
29688 configure-sim \
29689 html-sim
29690 @: $(MAKE); $(unstage)
29691 @[ -f ./sim/Makefile ] || exit 0; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(HOST_EXPORTS) \
29695 for flag in $(EXTRA_HOST_FLAGS) ; do \
29696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29697 done; \
29698 echo "Doing install-html in sim"; \
29699 (cd $(HOST_SUBDIR)/sim && \
29700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29702 "RANLIB=$${RANLIB}" \
29703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29704 install-html) \
29705 || exit 1
29707 @endif sim
29709 .PHONY: maybe-installcheck-sim installcheck-sim
29710 maybe-installcheck-sim:
29711 @if sim
29712 maybe-installcheck-sim: installcheck-sim
29714 installcheck-sim: \
29715 configure-sim
29716 @: $(MAKE); $(unstage)
29717 @[ -f ./sim/Makefile ] || exit 0; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(HOST_EXPORTS) \
29721 for flag in $(EXTRA_HOST_FLAGS) ; do \
29722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29723 done; \
29724 echo "Doing installcheck in sim"; \
29725 (cd $(HOST_SUBDIR)/sim && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29730 installcheck) \
29731 || exit 1
29733 @endif sim
29735 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
29736 maybe-mostlyclean-sim:
29737 @if sim
29738 maybe-mostlyclean-sim: mostlyclean-sim
29740 mostlyclean-sim:
29741 @: $(MAKE); $(unstage)
29742 @[ -f ./sim/Makefile ] || exit 0; \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(HOST_EXPORTS) \
29746 for flag in $(EXTRA_HOST_FLAGS) ; do \
29747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29748 done; \
29749 echo "Doing mostlyclean in sim"; \
29750 (cd $(HOST_SUBDIR)/sim && \
29751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29753 "RANLIB=$${RANLIB}" \
29754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29755 mostlyclean) \
29756 || exit 1
29758 @endif sim
29760 .PHONY: maybe-clean-sim clean-sim
29761 maybe-clean-sim:
29762 @if sim
29763 maybe-clean-sim: clean-sim
29765 clean-sim:
29766 @: $(MAKE); $(unstage)
29767 @[ -f ./sim/Makefile ] || exit 0; \
29768 r=`${PWD_COMMAND}`; export r; \
29769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29770 $(HOST_EXPORTS) \
29771 for flag in $(EXTRA_HOST_FLAGS) ; do \
29772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29773 done; \
29774 echo "Doing clean in sim"; \
29775 (cd $(HOST_SUBDIR)/sim && \
29776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29778 "RANLIB=$${RANLIB}" \
29779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29780 clean) \
29781 || exit 1
29783 @endif sim
29785 .PHONY: maybe-distclean-sim distclean-sim
29786 maybe-distclean-sim:
29787 @if sim
29788 maybe-distclean-sim: distclean-sim
29790 distclean-sim:
29791 @: $(MAKE); $(unstage)
29792 @[ -f ./sim/Makefile ] || exit 0; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(HOST_EXPORTS) \
29796 for flag in $(EXTRA_HOST_FLAGS) ; do \
29797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29798 done; \
29799 echo "Doing distclean in sim"; \
29800 (cd $(HOST_SUBDIR)/sim && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29805 distclean) \
29806 || exit 1
29808 @endif sim
29810 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
29811 maybe-maintainer-clean-sim:
29812 @if sim
29813 maybe-maintainer-clean-sim: maintainer-clean-sim
29815 maintainer-clean-sim:
29816 @: $(MAKE); $(unstage)
29817 @[ -f ./sim/Makefile ] || exit 0; \
29818 r=`${PWD_COMMAND}`; export r; \
29819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29820 $(HOST_EXPORTS) \
29821 for flag in $(EXTRA_HOST_FLAGS) ; do \
29822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29823 done; \
29824 echo "Doing maintainer-clean in sim"; \
29825 (cd $(HOST_SUBDIR)/sim && \
29826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29828 "RANLIB=$${RANLIB}" \
29829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29830 maintainer-clean) \
29831 || exit 1
29833 @endif sim
29837 .PHONY: configure-texinfo maybe-configure-texinfo
29838 maybe-configure-texinfo:
29839 @if gcc-bootstrap
29840 configure-texinfo: stage_current
29841 @endif gcc-bootstrap
29842 @if texinfo
29843 maybe-configure-texinfo: configure-texinfo
29844 configure-texinfo:
29845 @: $(MAKE); $(unstage)
29846 @r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29848 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
29849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
29850 $(HOST_EXPORTS) \
29851 echo Configuring in $(HOST_SUBDIR)/texinfo; \
29852 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
29853 case $(srcdir) in \
29854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29855 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
29856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29857 esac; \
29858 module_srcdir=texinfo; \
29859 $(SHELL) \
29860 $$s/$$module_srcdir/configure \
29861 --srcdir=$${topdir}/$$module_srcdir \
29862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29863 --target=${target_alias} \
29864 || exit 1
29865 @endif texinfo
29871 .PHONY: all-texinfo maybe-all-texinfo
29872 maybe-all-texinfo:
29873 @if gcc-bootstrap
29874 all-texinfo: stage_current
29875 @endif gcc-bootstrap
29876 @if texinfo
29877 TARGET-texinfo=all
29878 maybe-all-texinfo: all-texinfo
29879 all-texinfo: configure-texinfo
29880 @: $(MAKE); $(unstage)
29881 @r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(HOST_EXPORTS) \
29884 (cd $(HOST_SUBDIR)/texinfo && \
29885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29886 $(TARGET-texinfo))
29887 @endif texinfo
29892 .PHONY: check-texinfo maybe-check-texinfo
29893 maybe-check-texinfo:
29894 @if texinfo
29895 maybe-check-texinfo: check-texinfo
29897 check-texinfo:
29898 @: $(MAKE); $(unstage)
29899 @r=`${PWD_COMMAND}`; export r; \
29900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29901 $(HOST_EXPORTS) \
29902 (cd $(HOST_SUBDIR)/texinfo && \
29903 $(MAKE) $(FLAGS_TO_PASS) check)
29905 @endif texinfo
29907 .PHONY: install-texinfo maybe-install-texinfo
29908 maybe-install-texinfo:
29909 @if texinfo
29910 maybe-install-texinfo: install-texinfo
29912 install-texinfo:
29914 @endif texinfo
29916 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
29917 maybe-install-strip-texinfo:
29918 @if texinfo
29919 maybe-install-strip-texinfo: install-strip-texinfo
29921 install-strip-texinfo:
29923 @endif texinfo
29925 # Other targets (info, dvi, pdf, etc.)
29927 .PHONY: maybe-info-texinfo info-texinfo
29928 maybe-info-texinfo:
29929 @if texinfo
29930 maybe-info-texinfo: info-texinfo
29932 info-texinfo: \
29933 configure-texinfo
29934 @: $(MAKE); $(unstage)
29935 @[ -f ./texinfo/Makefile ] || exit 0; \
29936 r=`${PWD_COMMAND}`; export r; \
29937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29938 $(HOST_EXPORTS) \
29939 for flag in $(EXTRA_HOST_FLAGS) ; do \
29940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29941 done; \
29942 echo "Doing info in texinfo"; \
29943 (cd $(HOST_SUBDIR)/texinfo && \
29944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29946 "RANLIB=$${RANLIB}" \
29947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29948 info) \
29949 || exit 1
29951 @endif texinfo
29953 .PHONY: maybe-dvi-texinfo dvi-texinfo
29954 maybe-dvi-texinfo:
29955 @if texinfo
29956 maybe-dvi-texinfo: dvi-texinfo
29958 dvi-texinfo: \
29959 configure-texinfo
29960 @: $(MAKE); $(unstage)
29961 @[ -f ./texinfo/Makefile ] || exit 0; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 for flag in $(EXTRA_HOST_FLAGS) ; do \
29966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29967 done; \
29968 echo "Doing dvi in texinfo"; \
29969 (cd $(HOST_SUBDIR)/texinfo && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29974 dvi) \
29975 || exit 1
29977 @endif texinfo
29979 .PHONY: maybe-pdf-texinfo pdf-texinfo
29980 maybe-pdf-texinfo:
29981 @if texinfo
29982 maybe-pdf-texinfo: pdf-texinfo
29984 pdf-texinfo: \
29985 configure-texinfo
29986 @: $(MAKE); $(unstage)
29987 @[ -f ./texinfo/Makefile ] || exit 0; \
29988 r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 $(HOST_EXPORTS) \
29991 for flag in $(EXTRA_HOST_FLAGS) ; do \
29992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29993 done; \
29994 echo "Doing pdf in texinfo"; \
29995 (cd $(HOST_SUBDIR)/texinfo && \
29996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29998 "RANLIB=$${RANLIB}" \
29999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30000 pdf) \
30001 || exit 1
30003 @endif texinfo
30005 .PHONY: maybe-html-texinfo html-texinfo
30006 maybe-html-texinfo:
30007 @if texinfo
30008 maybe-html-texinfo: html-texinfo
30010 html-texinfo: \
30011 configure-texinfo
30012 @: $(MAKE); $(unstage)
30013 @[ -f ./texinfo/Makefile ] || exit 0; \
30014 r=`${PWD_COMMAND}`; export r; \
30015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016 $(HOST_EXPORTS) \
30017 for flag in $(EXTRA_HOST_FLAGS) ; do \
30018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30019 done; \
30020 echo "Doing html in texinfo"; \
30021 (cd $(HOST_SUBDIR)/texinfo && \
30022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30024 "RANLIB=$${RANLIB}" \
30025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30026 html) \
30027 || exit 1
30029 @endif texinfo
30031 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
30032 maybe-TAGS-texinfo:
30033 @if texinfo
30034 maybe-TAGS-texinfo: TAGS-texinfo
30036 TAGS-texinfo: \
30037 configure-texinfo
30038 @: $(MAKE); $(unstage)
30039 @[ -f ./texinfo/Makefile ] || exit 0; \
30040 r=`${PWD_COMMAND}`; export r; \
30041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30042 $(HOST_EXPORTS) \
30043 for flag in $(EXTRA_HOST_FLAGS) ; do \
30044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30045 done; \
30046 echo "Doing TAGS in texinfo"; \
30047 (cd $(HOST_SUBDIR)/texinfo && \
30048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30050 "RANLIB=$${RANLIB}" \
30051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30052 TAGS) \
30053 || exit 1
30055 @endif texinfo
30057 .PHONY: maybe-install-info-texinfo install-info-texinfo
30058 maybe-install-info-texinfo:
30059 @if texinfo
30060 maybe-install-info-texinfo: install-info-texinfo
30062 install-info-texinfo: \
30063 configure-texinfo \
30064 info-texinfo
30065 @: $(MAKE); $(unstage)
30066 @[ -f ./texinfo/Makefile ] || exit 0; \
30067 r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(HOST_EXPORTS) \
30070 for flag in $(EXTRA_HOST_FLAGS) ; do \
30071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30072 done; \
30073 echo "Doing install-info in texinfo"; \
30074 (cd $(HOST_SUBDIR)/texinfo && \
30075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30077 "RANLIB=$${RANLIB}" \
30078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30079 install-info) \
30080 || exit 1
30082 @endif texinfo
30084 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
30085 maybe-install-pdf-texinfo:
30086 @if texinfo
30087 maybe-install-pdf-texinfo: install-pdf-texinfo
30089 install-pdf-texinfo: \
30090 configure-texinfo \
30091 pdf-texinfo
30092 @: $(MAKE); $(unstage)
30093 @[ -f ./texinfo/Makefile ] || exit 0; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(HOST_EXPORTS) \
30097 for flag in $(EXTRA_HOST_FLAGS) ; do \
30098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30099 done; \
30100 echo "Doing install-pdf in texinfo"; \
30101 (cd $(HOST_SUBDIR)/texinfo && \
30102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30104 "RANLIB=$${RANLIB}" \
30105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30106 install-pdf) \
30107 || exit 1
30109 @endif texinfo
30111 .PHONY: maybe-install-html-texinfo install-html-texinfo
30112 maybe-install-html-texinfo:
30113 @if texinfo
30114 maybe-install-html-texinfo: install-html-texinfo
30116 install-html-texinfo: \
30117 configure-texinfo \
30118 html-texinfo
30119 @: $(MAKE); $(unstage)
30120 @[ -f ./texinfo/Makefile ] || exit 0; \
30121 r=`${PWD_COMMAND}`; export r; \
30122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30123 $(HOST_EXPORTS) \
30124 for flag in $(EXTRA_HOST_FLAGS) ; do \
30125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30126 done; \
30127 echo "Doing install-html in texinfo"; \
30128 (cd $(HOST_SUBDIR)/texinfo && \
30129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30131 "RANLIB=$${RANLIB}" \
30132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30133 install-html) \
30134 || exit 1
30136 @endif texinfo
30138 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
30139 maybe-installcheck-texinfo:
30140 @if texinfo
30141 maybe-installcheck-texinfo: installcheck-texinfo
30143 installcheck-texinfo: \
30144 configure-texinfo
30145 @: $(MAKE); $(unstage)
30146 @[ -f ./texinfo/Makefile ] || exit 0; \
30147 r=`${PWD_COMMAND}`; export r; \
30148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30149 $(HOST_EXPORTS) \
30150 for flag in $(EXTRA_HOST_FLAGS) ; do \
30151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30152 done; \
30153 echo "Doing installcheck in texinfo"; \
30154 (cd $(HOST_SUBDIR)/texinfo && \
30155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30157 "RANLIB=$${RANLIB}" \
30158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30159 installcheck) \
30160 || exit 1
30162 @endif texinfo
30164 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
30165 maybe-mostlyclean-texinfo:
30166 @if texinfo
30167 maybe-mostlyclean-texinfo: mostlyclean-texinfo
30169 mostlyclean-texinfo:
30170 @: $(MAKE); $(unstage)
30171 @[ -f ./texinfo/Makefile ] || exit 0; \
30172 r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30174 $(HOST_EXPORTS) \
30175 for flag in $(EXTRA_HOST_FLAGS) ; do \
30176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30177 done; \
30178 echo "Doing mostlyclean in texinfo"; \
30179 (cd $(HOST_SUBDIR)/texinfo && \
30180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30182 "RANLIB=$${RANLIB}" \
30183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30184 mostlyclean) \
30185 || exit 1
30187 @endif texinfo
30189 .PHONY: maybe-clean-texinfo clean-texinfo
30190 maybe-clean-texinfo:
30191 @if texinfo
30192 maybe-clean-texinfo: clean-texinfo
30194 clean-texinfo:
30195 @: $(MAKE); $(unstage)
30196 @[ -f ./texinfo/Makefile ] || exit 0; \
30197 r=`${PWD_COMMAND}`; export r; \
30198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30199 $(HOST_EXPORTS) \
30200 for flag in $(EXTRA_HOST_FLAGS) ; do \
30201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30202 done; \
30203 echo "Doing clean in texinfo"; \
30204 (cd $(HOST_SUBDIR)/texinfo && \
30205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30207 "RANLIB=$${RANLIB}" \
30208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30209 clean) \
30210 || exit 1
30212 @endif texinfo
30214 .PHONY: maybe-distclean-texinfo distclean-texinfo
30215 maybe-distclean-texinfo:
30216 @if texinfo
30217 maybe-distclean-texinfo: distclean-texinfo
30219 distclean-texinfo:
30220 @: $(MAKE); $(unstage)
30221 @[ -f ./texinfo/Makefile ] || exit 0; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30224 $(HOST_EXPORTS) \
30225 for flag in $(EXTRA_HOST_FLAGS) ; do \
30226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 done; \
30228 echo "Doing distclean in texinfo"; \
30229 (cd $(HOST_SUBDIR)/texinfo && \
30230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30232 "RANLIB=$${RANLIB}" \
30233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30234 distclean) \
30235 || exit 1
30237 @endif texinfo
30239 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
30240 maybe-maintainer-clean-texinfo:
30241 @if texinfo
30242 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
30244 maintainer-clean-texinfo:
30245 @: $(MAKE); $(unstage)
30246 @[ -f ./texinfo/Makefile ] || exit 0; \
30247 r=`${PWD_COMMAND}`; export r; \
30248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30249 $(HOST_EXPORTS) \
30250 for flag in $(EXTRA_HOST_FLAGS) ; do \
30251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30252 done; \
30253 echo "Doing maintainer-clean in texinfo"; \
30254 (cd $(HOST_SUBDIR)/texinfo && \
30255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30257 "RANLIB=$${RANLIB}" \
30258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30259 maintainer-clean) \
30260 || exit 1
30262 @endif texinfo
30266 .PHONY: configure-zlib maybe-configure-zlib
30267 maybe-configure-zlib:
30268 @if gcc-bootstrap
30269 configure-zlib: stage_current
30270 @endif gcc-bootstrap
30271 @if zlib
30272 maybe-configure-zlib: configure-zlib
30273 configure-zlib:
30274 @r=`${PWD_COMMAND}`; export r; \
30275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30276 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30278 $(HOST_EXPORTS) \
30279 echo Configuring in $(HOST_SUBDIR)/zlib; \
30280 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30281 case $(srcdir) in \
30282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30283 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30285 esac; \
30286 module_srcdir=zlib; \
30287 $(SHELL) \
30288 $$s/$$module_srcdir/configure \
30289 --srcdir=$${topdir}/$$module_srcdir \
30290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30291 --target=${target_alias} @extra_host_zlib_configure_flags@ \
30292 || exit 1
30293 @endif zlib
30297 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30298 maybe-configure-stage1-zlib:
30299 @if zlib-bootstrap
30300 maybe-configure-stage1-zlib: configure-stage1-zlib
30301 configure-stage1-zlib:
30302 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30304 @r=`${PWD_COMMAND}`; export r; \
30305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30306 TFLAGS="$(STAGE1_TFLAGS)"; \
30307 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30308 $(HOST_EXPORTS) \
30309 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30310 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30311 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30312 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
30313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30314 cd $(HOST_SUBDIR)/zlib || exit 1; \
30315 case $(srcdir) in \
30316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30317 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30319 esac; \
30320 module_srcdir=zlib; \
30321 $(SHELL) $$s/$$module_srcdir/configure \
30322 --srcdir=$${topdir}/$$module_srcdir \
30323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30324 --target=${target_alias} \
30326 $(STAGE1_CONFIGURE_FLAGS) \
30327 @extra_host_zlib_configure_flags@
30328 @endif zlib-bootstrap
30330 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30331 maybe-configure-stage2-zlib:
30332 @if zlib-bootstrap
30333 maybe-configure-stage2-zlib: configure-stage2-zlib
30334 configure-stage2-zlib:
30335 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30337 @r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 TFLAGS="$(STAGE2_TFLAGS)"; \
30340 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30341 $(HOST_EXPORTS) \
30342 $(POSTSTAGE1_HOST_EXPORTS) \
30343 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30344 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30345 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30346 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
30347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30348 cd $(HOST_SUBDIR)/zlib || exit 1; \
30349 case $(srcdir) in \
30350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30351 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30353 esac; \
30354 module_srcdir=zlib; \
30355 $(SHELL) $$s/$$module_srcdir/configure \
30356 --srcdir=$${topdir}/$$module_srcdir \
30357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30358 --target=${target_alias} \
30359 --with-build-libsubdir=$(HOST_SUBDIR) \
30360 $(STAGE2_CONFIGURE_FLAGS) \
30361 @extra_host_zlib_configure_flags@
30362 @endif zlib-bootstrap
30364 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30365 maybe-configure-stage3-zlib:
30366 @if zlib-bootstrap
30367 maybe-configure-stage3-zlib: configure-stage3-zlib
30368 configure-stage3-zlib:
30369 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30371 @r=`${PWD_COMMAND}`; export r; \
30372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30373 TFLAGS="$(STAGE3_TFLAGS)"; \
30374 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30375 $(HOST_EXPORTS) \
30376 $(POSTSTAGE1_HOST_EXPORTS) \
30377 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30378 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30379 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30380 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
30381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30382 cd $(HOST_SUBDIR)/zlib || exit 1; \
30383 case $(srcdir) in \
30384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30385 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30387 esac; \
30388 module_srcdir=zlib; \
30389 $(SHELL) $$s/$$module_srcdir/configure \
30390 --srcdir=$${topdir}/$$module_srcdir \
30391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30392 --target=${target_alias} \
30393 --with-build-libsubdir=$(HOST_SUBDIR) \
30394 $(STAGE3_CONFIGURE_FLAGS) \
30395 @extra_host_zlib_configure_flags@
30396 @endif zlib-bootstrap
30398 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30399 maybe-configure-stage4-zlib:
30400 @if zlib-bootstrap
30401 maybe-configure-stage4-zlib: configure-stage4-zlib
30402 configure-stage4-zlib:
30403 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30405 @r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 TFLAGS="$(STAGE4_TFLAGS)"; \
30408 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30409 $(HOST_EXPORTS) \
30410 $(POSTSTAGE1_HOST_EXPORTS) \
30411 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30412 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30413 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30414 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
30415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30416 cd $(HOST_SUBDIR)/zlib || exit 1; \
30417 case $(srcdir) in \
30418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30419 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30421 esac; \
30422 module_srcdir=zlib; \
30423 $(SHELL) $$s/$$module_srcdir/configure \
30424 --srcdir=$${topdir}/$$module_srcdir \
30425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30426 --target=${target_alias} \
30427 --with-build-libsubdir=$(HOST_SUBDIR) \
30428 $(STAGE4_CONFIGURE_FLAGS) \
30429 @extra_host_zlib_configure_flags@
30430 @endif zlib-bootstrap
30432 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30433 maybe-configure-stageprofile-zlib:
30434 @if zlib-bootstrap
30435 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30436 configure-stageprofile-zlib:
30437 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30439 @r=`${PWD_COMMAND}`; export r; \
30440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30442 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30443 $(HOST_EXPORTS) \
30444 $(POSTSTAGE1_HOST_EXPORTS) \
30445 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30446 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30447 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30448 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
30449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30450 cd $(HOST_SUBDIR)/zlib || exit 1; \
30451 case $(srcdir) in \
30452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30453 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30455 esac; \
30456 module_srcdir=zlib; \
30457 $(SHELL) $$s/$$module_srcdir/configure \
30458 --srcdir=$${topdir}/$$module_srcdir \
30459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30460 --target=${target_alias} \
30461 --with-build-libsubdir=$(HOST_SUBDIR) \
30462 $(STAGEprofile_CONFIGURE_FLAGS) \
30463 @extra_host_zlib_configure_flags@
30464 @endif zlib-bootstrap
30466 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30467 maybe-configure-stagefeedback-zlib:
30468 @if zlib-bootstrap
30469 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30470 configure-stagefeedback-zlib:
30471 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30473 @r=`${PWD_COMMAND}`; export r; \
30474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30475 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30476 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30477 $(HOST_EXPORTS) \
30478 $(POSTSTAGE1_HOST_EXPORTS) \
30479 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30480 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30481 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30482 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
30483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30484 cd $(HOST_SUBDIR)/zlib || exit 1; \
30485 case $(srcdir) in \
30486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30487 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30489 esac; \
30490 module_srcdir=zlib; \
30491 $(SHELL) $$s/$$module_srcdir/configure \
30492 --srcdir=$${topdir}/$$module_srcdir \
30493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30494 --target=${target_alias} \
30495 --with-build-libsubdir=$(HOST_SUBDIR) \
30496 $(STAGEfeedback_CONFIGURE_FLAGS) \
30497 @extra_host_zlib_configure_flags@
30498 @endif zlib-bootstrap
30500 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
30501 maybe-configure-stageautoprofile-zlib:
30502 @if zlib-bootstrap
30503 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
30504 configure-stageautoprofile-zlib:
30505 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30507 @r=`${PWD_COMMAND}`; export r; \
30508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30509 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30510 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30511 $(HOST_EXPORTS) \
30512 $(POSTSTAGE1_HOST_EXPORTS) \
30513 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
30514 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
30515 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
30516 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
30517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30518 cd $(HOST_SUBDIR)/zlib || exit 1; \
30519 case $(srcdir) in \
30520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30521 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30523 esac; \
30524 module_srcdir=zlib; \
30525 $(SHELL) $$s/$$module_srcdir/configure \
30526 --srcdir=$${topdir}/$$module_srcdir \
30527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30528 --target=${target_alias} \
30529 --with-build-libsubdir=$(HOST_SUBDIR) \
30530 $(STAGEautoprofile_CONFIGURE_FLAGS) \
30531 @extra_host_zlib_configure_flags@
30532 @endif zlib-bootstrap
30534 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
30535 maybe-configure-stageautofeedback-zlib:
30536 @if zlib-bootstrap
30537 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
30538 configure-stageautofeedback-zlib:
30539 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30541 @r=`${PWD_COMMAND}`; export r; \
30542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30543 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30544 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30545 $(HOST_EXPORTS) \
30546 $(POSTSTAGE1_HOST_EXPORTS) \
30547 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
30548 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
30549 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
30550 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
30551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30552 cd $(HOST_SUBDIR)/zlib || exit 1; \
30553 case $(srcdir) in \
30554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30555 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30557 esac; \
30558 module_srcdir=zlib; \
30559 $(SHELL) $$s/$$module_srcdir/configure \
30560 --srcdir=$${topdir}/$$module_srcdir \
30561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30562 --target=${target_alias} \
30563 --with-build-libsubdir=$(HOST_SUBDIR) \
30564 $(STAGEautofeedback_CONFIGURE_FLAGS) \
30565 @extra_host_zlib_configure_flags@
30566 @endif zlib-bootstrap
30572 .PHONY: all-zlib maybe-all-zlib
30573 maybe-all-zlib:
30574 @if gcc-bootstrap
30575 all-zlib: stage_current
30576 @endif gcc-bootstrap
30577 @if zlib
30578 TARGET-zlib=all
30579 maybe-all-zlib: all-zlib
30580 all-zlib: configure-zlib
30581 @r=`${PWD_COMMAND}`; export r; \
30582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30583 $(HOST_EXPORTS) \
30584 (cd $(HOST_SUBDIR)/zlib && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30586 $(TARGET-zlib))
30587 @endif zlib
30591 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30592 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30593 maybe-all-stage1-zlib:
30594 maybe-clean-stage1-zlib:
30595 @if zlib-bootstrap
30596 maybe-all-stage1-zlib: all-stage1-zlib
30597 all-stage1: all-stage1-zlib
30598 TARGET-stage1-zlib = $(TARGET-zlib)
30599 all-stage1-zlib: configure-stage1-zlib
30600 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30601 @r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 TFLAGS="$(STAGE1_TFLAGS)"; \
30604 $(HOST_EXPORTS) \
30605 cd $(HOST_SUBDIR)/zlib && \
30607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30608 CFLAGS="$(STAGE1_CFLAGS)" \
30609 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30610 LIBCFLAGS="$(LIBCFLAGS)" \
30611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30614 $(EXTRA_HOST_FLAGS) \
30615 $(STAGE1_FLAGS_TO_PASS) \
30616 TFLAGS="$(STAGE1_TFLAGS)" \
30617 $(TARGET-stage1-zlib)
30619 maybe-clean-stage1-zlib: clean-stage1-zlib
30620 clean-stage1: clean-stage1-zlib
30621 clean-stage1-zlib:
30622 @if [ $(current_stage) = stage1 ]; then \
30623 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30624 else \
30625 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30626 $(MAKE) stage1-start; \
30627 fi; \
30628 cd $(HOST_SUBDIR)/zlib && \
30629 $(MAKE) $(EXTRA_HOST_FLAGS) \
30630 $(STAGE1_FLAGS_TO_PASS) clean
30631 @endif zlib-bootstrap
30634 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30635 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30636 maybe-all-stage2-zlib:
30637 maybe-clean-stage2-zlib:
30638 @if zlib-bootstrap
30639 maybe-all-stage2-zlib: all-stage2-zlib
30640 all-stage2: all-stage2-zlib
30641 TARGET-stage2-zlib = $(TARGET-zlib)
30642 all-stage2-zlib: configure-stage2-zlib
30643 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 TFLAGS="$(STAGE2_TFLAGS)"; \
30647 $(HOST_EXPORTS) \
30648 $(POSTSTAGE1_HOST_EXPORTS) \
30649 cd $(HOST_SUBDIR)/zlib && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30652 CFLAGS="$(STAGE2_CFLAGS)" \
30653 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30654 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30658 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30659 TFLAGS="$(STAGE2_TFLAGS)" \
30660 $(TARGET-stage2-zlib)
30662 maybe-clean-stage2-zlib: clean-stage2-zlib
30663 clean-stage2: clean-stage2-zlib
30664 clean-stage2-zlib:
30665 @if [ $(current_stage) = stage2 ]; then \
30666 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30667 else \
30668 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30669 $(MAKE) stage2-start; \
30670 fi; \
30671 cd $(HOST_SUBDIR)/zlib && \
30672 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30673 @endif zlib-bootstrap
30676 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30677 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30678 maybe-all-stage3-zlib:
30679 maybe-clean-stage3-zlib:
30680 @if zlib-bootstrap
30681 maybe-all-stage3-zlib: all-stage3-zlib
30682 all-stage3: all-stage3-zlib
30683 TARGET-stage3-zlib = $(TARGET-zlib)
30684 all-stage3-zlib: configure-stage3-zlib
30685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30686 @r=`${PWD_COMMAND}`; export r; \
30687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30688 TFLAGS="$(STAGE3_TFLAGS)"; \
30689 $(HOST_EXPORTS) \
30690 $(POSTSTAGE1_HOST_EXPORTS) \
30691 cd $(HOST_SUBDIR)/zlib && \
30693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30694 CFLAGS="$(STAGE3_CFLAGS)" \
30695 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30696 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30701 TFLAGS="$(STAGE3_TFLAGS)" \
30702 $(TARGET-stage3-zlib)
30704 maybe-clean-stage3-zlib: clean-stage3-zlib
30705 clean-stage3: clean-stage3-zlib
30706 clean-stage3-zlib:
30707 @if [ $(current_stage) = stage3 ]; then \
30708 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30709 else \
30710 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30711 $(MAKE) stage3-start; \
30712 fi; \
30713 cd $(HOST_SUBDIR)/zlib && \
30714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30715 @endif zlib-bootstrap
30718 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30719 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30720 maybe-all-stage4-zlib:
30721 maybe-clean-stage4-zlib:
30722 @if zlib-bootstrap
30723 maybe-all-stage4-zlib: all-stage4-zlib
30724 all-stage4: all-stage4-zlib
30725 TARGET-stage4-zlib = $(TARGET-zlib)
30726 all-stage4-zlib: configure-stage4-zlib
30727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30728 @r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 TFLAGS="$(STAGE4_TFLAGS)"; \
30731 $(HOST_EXPORTS) \
30732 $(POSTSTAGE1_HOST_EXPORTS) \
30733 cd $(HOST_SUBDIR)/zlib && \
30735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30736 CFLAGS="$(STAGE4_CFLAGS)" \
30737 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30738 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30742 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30743 TFLAGS="$(STAGE4_TFLAGS)" \
30744 $(TARGET-stage4-zlib)
30746 maybe-clean-stage4-zlib: clean-stage4-zlib
30747 clean-stage4: clean-stage4-zlib
30748 clean-stage4-zlib:
30749 @if [ $(current_stage) = stage4 ]; then \
30750 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30751 else \
30752 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30753 $(MAKE) stage4-start; \
30754 fi; \
30755 cd $(HOST_SUBDIR)/zlib && \
30756 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30757 @endif zlib-bootstrap
30760 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30761 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30762 maybe-all-stageprofile-zlib:
30763 maybe-clean-stageprofile-zlib:
30764 @if zlib-bootstrap
30765 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30766 all-stageprofile: all-stageprofile-zlib
30767 TARGET-stageprofile-zlib = $(TARGET-zlib)
30768 all-stageprofile-zlib: configure-stageprofile-zlib
30769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30770 @r=`${PWD_COMMAND}`; export r; \
30771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30772 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30773 $(HOST_EXPORTS) \
30774 $(POSTSTAGE1_HOST_EXPORTS) \
30775 cd $(HOST_SUBDIR)/zlib && \
30777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30778 CFLAGS="$(STAGEprofile_CFLAGS)" \
30779 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30780 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30785 TFLAGS="$(STAGEprofile_TFLAGS)" \
30786 $(TARGET-stageprofile-zlib)
30788 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30789 clean-stageprofile: clean-stageprofile-zlib
30790 clean-stageprofile-zlib:
30791 @if [ $(current_stage) = stageprofile ]; then \
30792 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30793 else \
30794 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30795 $(MAKE) stageprofile-start; \
30796 fi; \
30797 cd $(HOST_SUBDIR)/zlib && \
30798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30799 @endif zlib-bootstrap
30802 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30803 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30804 maybe-all-stagefeedback-zlib:
30805 maybe-clean-stagefeedback-zlib:
30806 @if zlib-bootstrap
30807 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30808 all-stagefeedback: all-stagefeedback-zlib
30809 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30810 all-stagefeedback-zlib: configure-stagefeedback-zlib
30811 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30812 @r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30815 $(HOST_EXPORTS) \
30816 $(POSTSTAGE1_HOST_EXPORTS) \
30817 cd $(HOST_SUBDIR)/zlib && \
30819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30820 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30821 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30822 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30826 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30827 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30828 $(TARGET-stagefeedback-zlib)
30830 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30831 clean-stagefeedback: clean-stagefeedback-zlib
30832 clean-stagefeedback-zlib:
30833 @if [ $(current_stage) = stagefeedback ]; then \
30834 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30835 else \
30836 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30837 $(MAKE) stagefeedback-start; \
30838 fi; \
30839 cd $(HOST_SUBDIR)/zlib && \
30840 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30841 @endif zlib-bootstrap
30844 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
30845 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
30846 maybe-all-stageautoprofile-zlib:
30847 maybe-clean-stageautoprofile-zlib:
30848 @if zlib-bootstrap
30849 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
30850 all-stageautoprofile: all-stageautoprofile-zlib
30851 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
30852 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
30853 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30854 @r=`${PWD_COMMAND}`; export r; \
30855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30856 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30857 $(HOST_EXPORTS) \
30858 $(POSTSTAGE1_HOST_EXPORTS) \
30859 cd $(HOST_SUBDIR)/zlib && \
30860 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30862 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30863 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30864 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30869 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30870 $(TARGET-stageautoprofile-zlib)
30872 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
30873 clean-stageautoprofile: clean-stageautoprofile-zlib
30874 clean-stageautoprofile-zlib:
30875 @if [ $(current_stage) = stageautoprofile ]; then \
30876 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30877 else \
30878 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
30879 $(MAKE) stageautoprofile-start; \
30880 fi; \
30881 cd $(HOST_SUBDIR)/zlib && \
30882 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30883 @endif zlib-bootstrap
30886 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
30887 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
30888 maybe-all-stageautofeedback-zlib:
30889 maybe-clean-stageautofeedback-zlib:
30890 @if zlib-bootstrap
30891 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
30892 all-stageautofeedback: all-stageautofeedback-zlib
30893 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
30894 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
30895 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30896 @r=`${PWD_COMMAND}`; export r; \
30897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30898 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30899 $(HOST_EXPORTS) \
30900 $(POSTSTAGE1_HOST_EXPORTS) \
30901 cd $(HOST_SUBDIR)/zlib && \
30903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30904 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30905 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30906 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30910 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30911 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30912 $(TARGET-stageautofeedback-zlib)
30914 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
30915 clean-stageautofeedback: clean-stageautofeedback-zlib
30916 clean-stageautofeedback-zlib:
30917 @if [ $(current_stage) = stageautofeedback ]; then \
30918 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30919 else \
30920 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
30921 $(MAKE) stageautofeedback-start; \
30922 fi; \
30923 cd $(HOST_SUBDIR)/zlib && \
30924 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30925 @endif zlib-bootstrap
30931 .PHONY: check-zlib maybe-check-zlib
30932 maybe-check-zlib:
30933 @if zlib
30934 maybe-check-zlib: check-zlib
30936 check-zlib:
30938 @endif zlib
30940 .PHONY: install-zlib maybe-install-zlib
30941 maybe-install-zlib:
30942 @if zlib
30943 maybe-install-zlib: install-zlib
30945 install-zlib:
30947 @endif zlib
30949 .PHONY: install-strip-zlib maybe-install-strip-zlib
30950 maybe-install-strip-zlib:
30951 @if zlib
30952 maybe-install-strip-zlib: install-strip-zlib
30954 install-strip-zlib:
30956 @endif zlib
30958 # Other targets (info, dvi, pdf, etc.)
30960 .PHONY: maybe-info-zlib info-zlib
30961 maybe-info-zlib:
30962 @if zlib
30963 maybe-info-zlib: info-zlib
30965 info-zlib: \
30966 configure-zlib
30967 @[ -f ./zlib/Makefile ] || exit 0; \
30968 r=`${PWD_COMMAND}`; export r; \
30969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30970 $(HOST_EXPORTS) \
30971 for flag in $(EXTRA_HOST_FLAGS) ; do \
30972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30973 done; \
30974 echo "Doing info in zlib"; \
30975 (cd $(HOST_SUBDIR)/zlib && \
30976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30978 "RANLIB=$${RANLIB}" \
30979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30980 info) \
30981 || exit 1
30983 @endif zlib
30985 .PHONY: maybe-dvi-zlib dvi-zlib
30986 maybe-dvi-zlib:
30987 @if zlib
30988 maybe-dvi-zlib: dvi-zlib
30990 dvi-zlib: \
30991 configure-zlib
30992 @[ -f ./zlib/Makefile ] || exit 0; \
30993 r=`${PWD_COMMAND}`; export r; \
30994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30995 $(HOST_EXPORTS) \
30996 for flag in $(EXTRA_HOST_FLAGS) ; do \
30997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30998 done; \
30999 echo "Doing dvi in zlib"; \
31000 (cd $(HOST_SUBDIR)/zlib && \
31001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31003 "RANLIB=$${RANLIB}" \
31004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31005 dvi) \
31006 || exit 1
31008 @endif zlib
31010 .PHONY: maybe-pdf-zlib pdf-zlib
31011 maybe-pdf-zlib:
31012 @if zlib
31013 maybe-pdf-zlib: pdf-zlib
31015 pdf-zlib: \
31016 configure-zlib
31017 @[ -f ./zlib/Makefile ] || exit 0; \
31018 r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(HOST_EXPORTS) \
31021 for flag in $(EXTRA_HOST_FLAGS) ; do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 echo "Doing pdf in zlib"; \
31025 (cd $(HOST_SUBDIR)/zlib && \
31026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31028 "RANLIB=$${RANLIB}" \
31029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31030 pdf) \
31031 || exit 1
31033 @endif zlib
31035 .PHONY: maybe-html-zlib html-zlib
31036 maybe-html-zlib:
31037 @if zlib
31038 maybe-html-zlib: html-zlib
31040 html-zlib: \
31041 configure-zlib
31042 @[ -f ./zlib/Makefile ] || exit 0; \
31043 r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(HOST_EXPORTS) \
31046 for flag in $(EXTRA_HOST_FLAGS) ; do \
31047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31048 done; \
31049 echo "Doing html in zlib"; \
31050 (cd $(HOST_SUBDIR)/zlib && \
31051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31053 "RANLIB=$${RANLIB}" \
31054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31055 html) \
31056 || exit 1
31058 @endif zlib
31060 .PHONY: maybe-TAGS-zlib TAGS-zlib
31061 maybe-TAGS-zlib:
31062 @if zlib
31063 maybe-TAGS-zlib: TAGS-zlib
31065 TAGS-zlib: \
31066 configure-zlib
31067 @[ -f ./zlib/Makefile ] || exit 0; \
31068 r=`${PWD_COMMAND}`; export r; \
31069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 $(HOST_EXPORTS) \
31071 for flag in $(EXTRA_HOST_FLAGS) ; do \
31072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31073 done; \
31074 echo "Doing TAGS in zlib"; \
31075 (cd $(HOST_SUBDIR)/zlib && \
31076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31078 "RANLIB=$${RANLIB}" \
31079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31080 TAGS) \
31081 || exit 1
31083 @endif zlib
31085 .PHONY: maybe-install-info-zlib install-info-zlib
31086 maybe-install-info-zlib:
31087 @if zlib
31088 maybe-install-info-zlib: install-info-zlib
31090 install-info-zlib: \
31091 configure-zlib \
31092 info-zlib
31093 @[ -f ./zlib/Makefile ] || exit 0; \
31094 r=`${PWD_COMMAND}`; export r; \
31095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31096 $(HOST_EXPORTS) \
31097 for flag in $(EXTRA_HOST_FLAGS) ; do \
31098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31099 done; \
31100 echo "Doing install-info in zlib"; \
31101 (cd $(HOST_SUBDIR)/zlib && \
31102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31104 "RANLIB=$${RANLIB}" \
31105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31106 install-info) \
31107 || exit 1
31109 @endif zlib
31111 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
31112 maybe-install-pdf-zlib:
31113 @if zlib
31114 maybe-install-pdf-zlib: install-pdf-zlib
31116 install-pdf-zlib: \
31117 configure-zlib \
31118 pdf-zlib
31119 @[ -f ./zlib/Makefile ] || exit 0; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(HOST_EXPORTS) \
31123 for flag in $(EXTRA_HOST_FLAGS) ; do \
31124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31125 done; \
31126 echo "Doing install-pdf in zlib"; \
31127 (cd $(HOST_SUBDIR)/zlib && \
31128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31130 "RANLIB=$${RANLIB}" \
31131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31132 install-pdf) \
31133 || exit 1
31135 @endif zlib
31137 .PHONY: maybe-install-html-zlib install-html-zlib
31138 maybe-install-html-zlib:
31139 @if zlib
31140 maybe-install-html-zlib: install-html-zlib
31142 install-html-zlib: \
31143 configure-zlib \
31144 html-zlib
31145 @[ -f ./zlib/Makefile ] || exit 0; \
31146 r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(HOST_EXPORTS) \
31149 for flag in $(EXTRA_HOST_FLAGS) ; do \
31150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31151 done; \
31152 echo "Doing install-html in zlib"; \
31153 (cd $(HOST_SUBDIR)/zlib && \
31154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31156 "RANLIB=$${RANLIB}" \
31157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31158 install-html) \
31159 || exit 1
31161 @endif zlib
31163 .PHONY: maybe-installcheck-zlib installcheck-zlib
31164 maybe-installcheck-zlib:
31165 @if zlib
31166 maybe-installcheck-zlib: installcheck-zlib
31168 installcheck-zlib: \
31169 configure-zlib
31170 @[ -f ./zlib/Makefile ] || exit 0; \
31171 r=`${PWD_COMMAND}`; export r; \
31172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31173 $(HOST_EXPORTS) \
31174 for flag in $(EXTRA_HOST_FLAGS) ; do \
31175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31176 done; \
31177 echo "Doing installcheck in zlib"; \
31178 (cd $(HOST_SUBDIR)/zlib && \
31179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31181 "RANLIB=$${RANLIB}" \
31182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31183 installcheck) \
31184 || exit 1
31186 @endif zlib
31188 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
31189 maybe-mostlyclean-zlib:
31190 @if zlib
31191 maybe-mostlyclean-zlib: mostlyclean-zlib
31193 mostlyclean-zlib:
31194 @[ -f ./zlib/Makefile ] || exit 0; \
31195 r=`${PWD_COMMAND}`; export r; \
31196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31197 $(HOST_EXPORTS) \
31198 for flag in $(EXTRA_HOST_FLAGS) ; do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 echo "Doing mostlyclean in zlib"; \
31202 (cd $(HOST_SUBDIR)/zlib && \
31203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31205 "RANLIB=$${RANLIB}" \
31206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31207 mostlyclean) \
31208 || exit 1
31210 @endif zlib
31212 .PHONY: maybe-clean-zlib clean-zlib
31213 maybe-clean-zlib:
31214 @if zlib
31215 maybe-clean-zlib: clean-zlib
31217 clean-zlib:
31218 @[ -f ./zlib/Makefile ] || exit 0; \
31219 r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(HOST_EXPORTS) \
31222 for flag in $(EXTRA_HOST_FLAGS) ; do \
31223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31224 done; \
31225 echo "Doing clean in zlib"; \
31226 (cd $(HOST_SUBDIR)/zlib && \
31227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31229 "RANLIB=$${RANLIB}" \
31230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31231 clean) \
31232 || exit 1
31234 @endif zlib
31236 .PHONY: maybe-distclean-zlib distclean-zlib
31237 maybe-distclean-zlib:
31238 @if zlib
31239 maybe-distclean-zlib: distclean-zlib
31241 distclean-zlib:
31242 @[ -f ./zlib/Makefile ] || exit 0; \
31243 r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 $(HOST_EXPORTS) \
31246 for flag in $(EXTRA_HOST_FLAGS) ; do \
31247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31248 done; \
31249 echo "Doing distclean in zlib"; \
31250 (cd $(HOST_SUBDIR)/zlib && \
31251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31253 "RANLIB=$${RANLIB}" \
31254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31255 distclean) \
31256 || exit 1
31258 @endif zlib
31260 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
31261 maybe-maintainer-clean-zlib:
31262 @if zlib
31263 maybe-maintainer-clean-zlib: maintainer-clean-zlib
31265 maintainer-clean-zlib:
31266 @[ -f ./zlib/Makefile ] || exit 0; \
31267 r=`${PWD_COMMAND}`; export r; \
31268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31269 $(HOST_EXPORTS) \
31270 for flag in $(EXTRA_HOST_FLAGS) ; do \
31271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31272 done; \
31273 echo "Doing maintainer-clean in zlib"; \
31274 (cd $(HOST_SUBDIR)/zlib && \
31275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31277 "RANLIB=$${RANLIB}" \
31278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31279 maintainer-clean) \
31280 || exit 1
31282 @endif zlib
31286 .PHONY: configure-gdb maybe-configure-gdb
31287 maybe-configure-gdb:
31288 @if gcc-bootstrap
31289 configure-gdb: stage_current
31290 @endif gcc-bootstrap
31291 @if gdb
31292 maybe-configure-gdb: configure-gdb
31293 configure-gdb:
31294 @: $(MAKE); $(unstage)
31295 @r=`${PWD_COMMAND}`; export r; \
31296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31297 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
31298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
31299 $(HOST_EXPORTS) \
31300 echo Configuring in $(HOST_SUBDIR)/gdb; \
31301 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
31302 case $(srcdir) in \
31303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31304 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
31305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31306 esac; \
31307 module_srcdir=gdb; \
31308 $(SHELL) \
31309 $$s/$$module_srcdir/configure \
31310 --srcdir=$${topdir}/$$module_srcdir \
31311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31312 --target=${target_alias} \
31313 || exit 1
31314 @endif gdb
31320 .PHONY: all-gdb maybe-all-gdb
31321 maybe-all-gdb:
31322 @if gcc-bootstrap
31323 all-gdb: stage_current
31324 @endif gcc-bootstrap
31325 @if gdb
31326 TARGET-gdb=all
31327 maybe-all-gdb: all-gdb
31328 all-gdb: configure-gdb
31329 @: $(MAKE); $(unstage)
31330 @r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 $(HOST_EXPORTS) \
31333 (cd $(HOST_SUBDIR)/gdb && \
31334 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31335 $(TARGET-gdb))
31336 @endif gdb
31341 .PHONY: check-gdb maybe-check-gdb
31342 maybe-check-gdb:
31343 @if gdb
31344 maybe-check-gdb: check-gdb
31346 check-gdb:
31347 @: $(MAKE); $(unstage)
31348 @r=`${PWD_COMMAND}`; export r; \
31349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31350 $(HOST_EXPORTS) \
31351 (cd $(HOST_SUBDIR)/gdb && \
31352 $(MAKE) $(FLAGS_TO_PASS) check)
31354 @endif gdb
31356 .PHONY: install-gdb maybe-install-gdb
31357 maybe-install-gdb:
31358 @if gdb
31359 maybe-install-gdb: install-gdb
31361 install-gdb: installdirs
31362 @: $(MAKE); $(unstage)
31363 @r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(HOST_EXPORTS) \
31366 (cd $(HOST_SUBDIR)/gdb && \
31367 $(MAKE) $(FLAGS_TO_PASS) install)
31369 @endif gdb
31371 .PHONY: install-strip-gdb maybe-install-strip-gdb
31372 maybe-install-strip-gdb:
31373 @if gdb
31374 maybe-install-strip-gdb: install-strip-gdb
31376 install-strip-gdb: installdirs
31377 @: $(MAKE); $(unstage)
31378 @r=`${PWD_COMMAND}`; export r; \
31379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31380 $(HOST_EXPORTS) \
31381 (cd $(HOST_SUBDIR)/gdb && \
31382 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31384 @endif gdb
31386 # Other targets (info, dvi, pdf, etc.)
31388 .PHONY: maybe-info-gdb info-gdb
31389 maybe-info-gdb:
31390 @if gdb
31391 maybe-info-gdb: info-gdb
31393 info-gdb: \
31394 configure-gdb
31395 @: $(MAKE); $(unstage)
31396 @[ -f ./gdb/Makefile ] || exit 0; \
31397 r=`${PWD_COMMAND}`; export r; \
31398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31399 $(HOST_EXPORTS) \
31400 for flag in $(EXTRA_HOST_FLAGS) ; do \
31401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31402 done; \
31403 echo "Doing info in gdb"; \
31404 (cd $(HOST_SUBDIR)/gdb && \
31405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31407 "RANLIB=$${RANLIB}" \
31408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31409 info) \
31410 || exit 1
31412 @endif gdb
31414 .PHONY: maybe-dvi-gdb dvi-gdb
31415 maybe-dvi-gdb:
31416 @if gdb
31417 maybe-dvi-gdb: dvi-gdb
31419 dvi-gdb: \
31420 configure-gdb
31421 @: $(MAKE); $(unstage)
31422 @[ -f ./gdb/Makefile ] || exit 0; \
31423 r=`${PWD_COMMAND}`; export r; \
31424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31425 $(HOST_EXPORTS) \
31426 for flag in $(EXTRA_HOST_FLAGS) ; do \
31427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31428 done; \
31429 echo "Doing dvi in gdb"; \
31430 (cd $(HOST_SUBDIR)/gdb && \
31431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31433 "RANLIB=$${RANLIB}" \
31434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31435 dvi) \
31436 || exit 1
31438 @endif gdb
31440 .PHONY: maybe-pdf-gdb pdf-gdb
31441 maybe-pdf-gdb:
31442 @if gdb
31443 maybe-pdf-gdb: pdf-gdb
31445 pdf-gdb: \
31446 configure-gdb
31447 @: $(MAKE); $(unstage)
31448 @[ -f ./gdb/Makefile ] || exit 0; \
31449 r=`${PWD_COMMAND}`; export r; \
31450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31451 $(HOST_EXPORTS) \
31452 for flag in $(EXTRA_HOST_FLAGS) ; do \
31453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31454 done; \
31455 echo "Doing pdf in gdb"; \
31456 (cd $(HOST_SUBDIR)/gdb && \
31457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31459 "RANLIB=$${RANLIB}" \
31460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31461 pdf) \
31462 || exit 1
31464 @endif gdb
31466 .PHONY: maybe-html-gdb html-gdb
31467 maybe-html-gdb:
31468 @if gdb
31469 maybe-html-gdb: html-gdb
31471 html-gdb: \
31472 configure-gdb
31473 @: $(MAKE); $(unstage)
31474 @[ -f ./gdb/Makefile ] || exit 0; \
31475 r=`${PWD_COMMAND}`; export r; \
31476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31477 $(HOST_EXPORTS) \
31478 for flag in $(EXTRA_HOST_FLAGS) ; do \
31479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31480 done; \
31481 echo "Doing html in gdb"; \
31482 (cd $(HOST_SUBDIR)/gdb && \
31483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31485 "RANLIB=$${RANLIB}" \
31486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31487 html) \
31488 || exit 1
31490 @endif gdb
31492 .PHONY: maybe-TAGS-gdb TAGS-gdb
31493 maybe-TAGS-gdb:
31494 @if gdb
31495 maybe-TAGS-gdb: TAGS-gdb
31497 TAGS-gdb: \
31498 configure-gdb
31499 @: $(MAKE); $(unstage)
31500 @[ -f ./gdb/Makefile ] || exit 0; \
31501 r=`${PWD_COMMAND}`; export r; \
31502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31503 $(HOST_EXPORTS) \
31504 for flag in $(EXTRA_HOST_FLAGS) ; do \
31505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31506 done; \
31507 echo "Doing TAGS in gdb"; \
31508 (cd $(HOST_SUBDIR)/gdb && \
31509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31511 "RANLIB=$${RANLIB}" \
31512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31513 TAGS) \
31514 || exit 1
31516 @endif gdb
31518 .PHONY: maybe-install-info-gdb install-info-gdb
31519 maybe-install-info-gdb:
31520 @if gdb
31521 maybe-install-info-gdb: install-info-gdb
31523 install-info-gdb: \
31524 configure-gdb \
31525 info-gdb
31526 @: $(MAKE); $(unstage)
31527 @[ -f ./gdb/Makefile ] || exit 0; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(HOST_EXPORTS) \
31531 for flag in $(EXTRA_HOST_FLAGS) ; do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 echo "Doing install-info in gdb"; \
31535 (cd $(HOST_SUBDIR)/gdb && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31540 install-info) \
31541 || exit 1
31543 @endif gdb
31545 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
31546 maybe-install-pdf-gdb:
31547 @if gdb
31548 maybe-install-pdf-gdb: install-pdf-gdb
31550 install-pdf-gdb: \
31551 configure-gdb \
31552 pdf-gdb
31553 @: $(MAKE); $(unstage)
31554 @[ -f ./gdb/Makefile ] || exit 0; \
31555 r=`${PWD_COMMAND}`; export r; \
31556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31557 $(HOST_EXPORTS) \
31558 for flag in $(EXTRA_HOST_FLAGS) ; do \
31559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31560 done; \
31561 echo "Doing install-pdf in gdb"; \
31562 (cd $(HOST_SUBDIR)/gdb && \
31563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31565 "RANLIB=$${RANLIB}" \
31566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31567 install-pdf) \
31568 || exit 1
31570 @endif gdb
31572 .PHONY: maybe-install-html-gdb install-html-gdb
31573 maybe-install-html-gdb:
31574 @if gdb
31575 maybe-install-html-gdb: install-html-gdb
31577 install-html-gdb: \
31578 configure-gdb \
31579 html-gdb
31580 @: $(MAKE); $(unstage)
31581 @[ -f ./gdb/Makefile ] || exit 0; \
31582 r=`${PWD_COMMAND}`; export r; \
31583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31584 $(HOST_EXPORTS) \
31585 for flag in $(EXTRA_HOST_FLAGS) ; do \
31586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31587 done; \
31588 echo "Doing install-html in gdb"; \
31589 (cd $(HOST_SUBDIR)/gdb && \
31590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31592 "RANLIB=$${RANLIB}" \
31593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31594 install-html) \
31595 || exit 1
31597 @endif gdb
31599 .PHONY: maybe-installcheck-gdb installcheck-gdb
31600 maybe-installcheck-gdb:
31601 @if gdb
31602 maybe-installcheck-gdb: installcheck-gdb
31604 installcheck-gdb: \
31605 configure-gdb
31606 @: $(MAKE); $(unstage)
31607 @[ -f ./gdb/Makefile ] || exit 0; \
31608 r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(HOST_EXPORTS) \
31611 for flag in $(EXTRA_HOST_FLAGS) ; do \
31612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31613 done; \
31614 echo "Doing installcheck in gdb"; \
31615 (cd $(HOST_SUBDIR)/gdb && \
31616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31618 "RANLIB=$${RANLIB}" \
31619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31620 installcheck) \
31621 || exit 1
31623 @endif gdb
31625 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31626 maybe-mostlyclean-gdb:
31627 @if gdb
31628 maybe-mostlyclean-gdb: mostlyclean-gdb
31630 mostlyclean-gdb:
31631 @: $(MAKE); $(unstage)
31632 @[ -f ./gdb/Makefile ] || exit 0; \
31633 r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(HOST_EXPORTS) \
31636 for flag in $(EXTRA_HOST_FLAGS) ; do \
31637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31638 done; \
31639 echo "Doing mostlyclean in gdb"; \
31640 (cd $(HOST_SUBDIR)/gdb && \
31641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31643 "RANLIB=$${RANLIB}" \
31644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31645 mostlyclean) \
31646 || exit 1
31648 @endif gdb
31650 .PHONY: maybe-clean-gdb clean-gdb
31651 maybe-clean-gdb:
31652 @if gdb
31653 maybe-clean-gdb: clean-gdb
31655 clean-gdb:
31656 @: $(MAKE); $(unstage)
31657 @[ -f ./gdb/Makefile ] || exit 0; \
31658 r=`${PWD_COMMAND}`; export r; \
31659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31660 $(HOST_EXPORTS) \
31661 for flag in $(EXTRA_HOST_FLAGS) ; do \
31662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31663 done; \
31664 echo "Doing clean in gdb"; \
31665 (cd $(HOST_SUBDIR)/gdb && \
31666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31668 "RANLIB=$${RANLIB}" \
31669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31670 clean) \
31671 || exit 1
31673 @endif gdb
31675 .PHONY: maybe-distclean-gdb distclean-gdb
31676 maybe-distclean-gdb:
31677 @if gdb
31678 maybe-distclean-gdb: distclean-gdb
31680 distclean-gdb:
31681 @: $(MAKE); $(unstage)
31682 @[ -f ./gdb/Makefile ] || exit 0; \
31683 r=`${PWD_COMMAND}`; export r; \
31684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31685 $(HOST_EXPORTS) \
31686 for flag in $(EXTRA_HOST_FLAGS) ; do \
31687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31688 done; \
31689 echo "Doing distclean in gdb"; \
31690 (cd $(HOST_SUBDIR)/gdb && \
31691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31693 "RANLIB=$${RANLIB}" \
31694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31695 distclean) \
31696 || exit 1
31698 @endif gdb
31700 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31701 maybe-maintainer-clean-gdb:
31702 @if gdb
31703 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31705 maintainer-clean-gdb:
31706 @: $(MAKE); $(unstage)
31707 @[ -f ./gdb/Makefile ] || exit 0; \
31708 r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(HOST_EXPORTS) \
31711 for flag in $(EXTRA_HOST_FLAGS) ; do \
31712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31713 done; \
31714 echo "Doing maintainer-clean in gdb"; \
31715 (cd $(HOST_SUBDIR)/gdb && \
31716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31718 "RANLIB=$${RANLIB}" \
31719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31720 maintainer-clean) \
31721 || exit 1
31723 @endif gdb
31727 .PHONY: configure-expect maybe-configure-expect
31728 maybe-configure-expect:
31729 @if gcc-bootstrap
31730 configure-expect: stage_current
31731 @endif gcc-bootstrap
31732 @if expect
31733 maybe-configure-expect: configure-expect
31734 configure-expect:
31735 @: $(MAKE); $(unstage)
31736 @r=`${PWD_COMMAND}`; export r; \
31737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31738 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
31740 $(HOST_EXPORTS) \
31741 echo Configuring in $(HOST_SUBDIR)/expect; \
31742 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31743 case $(srcdir) in \
31744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31745 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31747 esac; \
31748 module_srcdir=expect; \
31749 $(SHELL) \
31750 $$s/$$module_srcdir/configure \
31751 --srcdir=$${topdir}/$$module_srcdir \
31752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31753 --target=${target_alias} \
31754 || exit 1
31755 @endif expect
31761 .PHONY: all-expect maybe-all-expect
31762 maybe-all-expect:
31763 @if gcc-bootstrap
31764 all-expect: stage_current
31765 @endif gcc-bootstrap
31766 @if expect
31767 TARGET-expect=all
31768 maybe-all-expect: all-expect
31769 all-expect: configure-expect
31770 @: $(MAKE); $(unstage)
31771 @r=`${PWD_COMMAND}`; export r; \
31772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31773 $(HOST_EXPORTS) \
31774 (cd $(HOST_SUBDIR)/expect && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31776 $(TARGET-expect))
31777 @endif expect
31782 .PHONY: check-expect maybe-check-expect
31783 maybe-check-expect:
31784 @if expect
31785 maybe-check-expect: check-expect
31787 check-expect:
31788 @: $(MAKE); $(unstage)
31789 @r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(HOST_EXPORTS) \
31792 (cd $(HOST_SUBDIR)/expect && \
31793 $(MAKE) $(FLAGS_TO_PASS) check)
31795 @endif expect
31797 .PHONY: install-expect maybe-install-expect
31798 maybe-install-expect:
31799 @if expect
31800 maybe-install-expect: install-expect
31802 install-expect: installdirs
31803 @: $(MAKE); $(unstage)
31804 @r=`${PWD_COMMAND}`; export r; \
31805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31806 $(HOST_EXPORTS) \
31807 (cd $(HOST_SUBDIR)/expect && \
31808 $(MAKE) $(FLAGS_TO_PASS) install)
31810 @endif expect
31812 .PHONY: install-strip-expect maybe-install-strip-expect
31813 maybe-install-strip-expect:
31814 @if expect
31815 maybe-install-strip-expect: install-strip-expect
31817 install-strip-expect: installdirs
31818 @: $(MAKE); $(unstage)
31819 @r=`${PWD_COMMAND}`; export r; \
31820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31821 $(HOST_EXPORTS) \
31822 (cd $(HOST_SUBDIR)/expect && \
31823 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31825 @endif expect
31827 # Other targets (info, dvi, pdf, etc.)
31829 .PHONY: maybe-info-expect info-expect
31830 maybe-info-expect:
31831 @if expect
31832 maybe-info-expect: info-expect
31834 info-expect: \
31835 configure-expect
31836 @: $(MAKE); $(unstage)
31837 @[ -f ./expect/Makefile ] || exit 0; \
31838 r=`${PWD_COMMAND}`; export r; \
31839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31840 $(HOST_EXPORTS) \
31841 for flag in $(EXTRA_HOST_FLAGS) ; do \
31842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31843 done; \
31844 echo "Doing info in expect"; \
31845 (cd $(HOST_SUBDIR)/expect && \
31846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31848 "RANLIB=$${RANLIB}" \
31849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31850 info) \
31851 || exit 1
31853 @endif expect
31855 .PHONY: maybe-dvi-expect dvi-expect
31856 maybe-dvi-expect:
31857 @if expect
31858 maybe-dvi-expect: dvi-expect
31860 dvi-expect: \
31861 configure-expect
31862 @: $(MAKE); $(unstage)
31863 @[ -f ./expect/Makefile ] || exit 0; \
31864 r=`${PWD_COMMAND}`; export r; \
31865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31866 $(HOST_EXPORTS) \
31867 for flag in $(EXTRA_HOST_FLAGS) ; do \
31868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31869 done; \
31870 echo "Doing dvi in expect"; \
31871 (cd $(HOST_SUBDIR)/expect && \
31872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31874 "RANLIB=$${RANLIB}" \
31875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31876 dvi) \
31877 || exit 1
31879 @endif expect
31881 .PHONY: maybe-pdf-expect pdf-expect
31882 maybe-pdf-expect:
31883 @if expect
31884 maybe-pdf-expect: pdf-expect
31886 pdf-expect: \
31887 configure-expect
31888 @: $(MAKE); $(unstage)
31889 @[ -f ./expect/Makefile ] || exit 0; \
31890 r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(HOST_EXPORTS) \
31893 for flag in $(EXTRA_HOST_FLAGS) ; do \
31894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31895 done; \
31896 echo "Doing pdf in expect"; \
31897 (cd $(HOST_SUBDIR)/expect && \
31898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31900 "RANLIB=$${RANLIB}" \
31901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31902 pdf) \
31903 || exit 1
31905 @endif expect
31907 .PHONY: maybe-html-expect html-expect
31908 maybe-html-expect:
31909 @if expect
31910 maybe-html-expect: html-expect
31912 html-expect: \
31913 configure-expect
31914 @: $(MAKE); $(unstage)
31915 @[ -f ./expect/Makefile ] || exit 0; \
31916 r=`${PWD_COMMAND}`; export r; \
31917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31918 $(HOST_EXPORTS) \
31919 for flag in $(EXTRA_HOST_FLAGS) ; do \
31920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31921 done; \
31922 echo "Doing html in expect"; \
31923 (cd $(HOST_SUBDIR)/expect && \
31924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31926 "RANLIB=$${RANLIB}" \
31927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31928 html) \
31929 || exit 1
31931 @endif expect
31933 .PHONY: maybe-TAGS-expect TAGS-expect
31934 maybe-TAGS-expect:
31935 @if expect
31936 maybe-TAGS-expect: TAGS-expect
31938 TAGS-expect: \
31939 configure-expect
31940 @: $(MAKE); $(unstage)
31941 @[ -f ./expect/Makefile ] || exit 0; \
31942 r=`${PWD_COMMAND}`; export r; \
31943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31944 $(HOST_EXPORTS) \
31945 for flag in $(EXTRA_HOST_FLAGS) ; do \
31946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31947 done; \
31948 echo "Doing TAGS in expect"; \
31949 (cd $(HOST_SUBDIR)/expect && \
31950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31952 "RANLIB=$${RANLIB}" \
31953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31954 TAGS) \
31955 || exit 1
31957 @endif expect
31959 .PHONY: maybe-install-info-expect install-info-expect
31960 maybe-install-info-expect:
31961 @if expect
31962 maybe-install-info-expect: install-info-expect
31964 install-info-expect: \
31965 configure-expect \
31966 info-expect
31967 @: $(MAKE); $(unstage)
31968 @[ -f ./expect/Makefile ] || exit 0; \
31969 r=`${PWD_COMMAND}`; export r; \
31970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31971 $(HOST_EXPORTS) \
31972 for flag in $(EXTRA_HOST_FLAGS) ; do \
31973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31974 done; \
31975 echo "Doing install-info in expect"; \
31976 (cd $(HOST_SUBDIR)/expect && \
31977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31979 "RANLIB=$${RANLIB}" \
31980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31981 install-info) \
31982 || exit 1
31984 @endif expect
31986 .PHONY: maybe-install-pdf-expect install-pdf-expect
31987 maybe-install-pdf-expect:
31988 @if expect
31989 maybe-install-pdf-expect: install-pdf-expect
31991 install-pdf-expect: \
31992 configure-expect \
31993 pdf-expect
31994 @: $(MAKE); $(unstage)
31995 @[ -f ./expect/Makefile ] || exit 0; \
31996 r=`${PWD_COMMAND}`; export r; \
31997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31998 $(HOST_EXPORTS) \
31999 for flag in $(EXTRA_HOST_FLAGS) ; do \
32000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32001 done; \
32002 echo "Doing install-pdf in expect"; \
32003 (cd $(HOST_SUBDIR)/expect && \
32004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32006 "RANLIB=$${RANLIB}" \
32007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32008 install-pdf) \
32009 || exit 1
32011 @endif expect
32013 .PHONY: maybe-install-html-expect install-html-expect
32014 maybe-install-html-expect:
32015 @if expect
32016 maybe-install-html-expect: install-html-expect
32018 install-html-expect: \
32019 configure-expect \
32020 html-expect
32021 @: $(MAKE); $(unstage)
32022 @[ -f ./expect/Makefile ] || exit 0; \
32023 r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 $(HOST_EXPORTS) \
32026 for flag in $(EXTRA_HOST_FLAGS) ; do \
32027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32028 done; \
32029 echo "Doing install-html in expect"; \
32030 (cd $(HOST_SUBDIR)/expect && \
32031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32033 "RANLIB=$${RANLIB}" \
32034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32035 install-html) \
32036 || exit 1
32038 @endif expect
32040 .PHONY: maybe-installcheck-expect installcheck-expect
32041 maybe-installcheck-expect:
32042 @if expect
32043 maybe-installcheck-expect: installcheck-expect
32045 installcheck-expect: \
32046 configure-expect
32047 @: $(MAKE); $(unstage)
32048 @[ -f ./expect/Makefile ] || exit 0; \
32049 r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 $(HOST_EXPORTS) \
32052 for flag in $(EXTRA_HOST_FLAGS) ; do \
32053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32054 done; \
32055 echo "Doing installcheck in expect"; \
32056 (cd $(HOST_SUBDIR)/expect && \
32057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32059 "RANLIB=$${RANLIB}" \
32060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32061 installcheck) \
32062 || exit 1
32064 @endif expect
32066 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
32067 maybe-mostlyclean-expect:
32068 @if expect
32069 maybe-mostlyclean-expect: mostlyclean-expect
32071 mostlyclean-expect:
32072 @: $(MAKE); $(unstage)
32073 @[ -f ./expect/Makefile ] || exit 0; \
32074 r=`${PWD_COMMAND}`; export r; \
32075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32076 $(HOST_EXPORTS) \
32077 for flag in $(EXTRA_HOST_FLAGS) ; do \
32078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32079 done; \
32080 echo "Doing mostlyclean in expect"; \
32081 (cd $(HOST_SUBDIR)/expect && \
32082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32084 "RANLIB=$${RANLIB}" \
32085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32086 mostlyclean) \
32087 || exit 1
32089 @endif expect
32091 .PHONY: maybe-clean-expect clean-expect
32092 maybe-clean-expect:
32093 @if expect
32094 maybe-clean-expect: clean-expect
32096 clean-expect:
32097 @: $(MAKE); $(unstage)
32098 @[ -f ./expect/Makefile ] || exit 0; \
32099 r=`${PWD_COMMAND}`; export r; \
32100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32101 $(HOST_EXPORTS) \
32102 for flag in $(EXTRA_HOST_FLAGS) ; do \
32103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32104 done; \
32105 echo "Doing clean in expect"; \
32106 (cd $(HOST_SUBDIR)/expect && \
32107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32109 "RANLIB=$${RANLIB}" \
32110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32111 clean) \
32112 || exit 1
32114 @endif expect
32116 .PHONY: maybe-distclean-expect distclean-expect
32117 maybe-distclean-expect:
32118 @if expect
32119 maybe-distclean-expect: distclean-expect
32121 distclean-expect:
32122 @: $(MAKE); $(unstage)
32123 @[ -f ./expect/Makefile ] || exit 0; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(HOST_EXPORTS) \
32127 for flag in $(EXTRA_HOST_FLAGS) ; do \
32128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32129 done; \
32130 echo "Doing distclean in expect"; \
32131 (cd $(HOST_SUBDIR)/expect && \
32132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32134 "RANLIB=$${RANLIB}" \
32135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32136 distclean) \
32137 || exit 1
32139 @endif expect
32141 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
32142 maybe-maintainer-clean-expect:
32143 @if expect
32144 maybe-maintainer-clean-expect: maintainer-clean-expect
32146 maintainer-clean-expect:
32147 @: $(MAKE); $(unstage)
32148 @[ -f ./expect/Makefile ] || exit 0; \
32149 r=`${PWD_COMMAND}`; export r; \
32150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32151 $(HOST_EXPORTS) \
32152 for flag in $(EXTRA_HOST_FLAGS) ; do \
32153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32154 done; \
32155 echo "Doing maintainer-clean in expect"; \
32156 (cd $(HOST_SUBDIR)/expect && \
32157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32159 "RANLIB=$${RANLIB}" \
32160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32161 maintainer-clean) \
32162 || exit 1
32164 @endif expect
32168 .PHONY: configure-guile maybe-configure-guile
32169 maybe-configure-guile:
32170 @if gcc-bootstrap
32171 configure-guile: stage_current
32172 @endif gcc-bootstrap
32173 @if guile
32174 maybe-configure-guile: configure-guile
32175 configure-guile:
32176 @: $(MAKE); $(unstage)
32177 @r=`${PWD_COMMAND}`; export r; \
32178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32179 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
32180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
32181 $(HOST_EXPORTS) \
32182 echo Configuring in $(HOST_SUBDIR)/guile; \
32183 cd "$(HOST_SUBDIR)/guile" || exit 1; \
32184 case $(srcdir) in \
32185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32186 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
32187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32188 esac; \
32189 module_srcdir=guile; \
32190 $(SHELL) \
32191 $$s/$$module_srcdir/configure \
32192 --srcdir=$${topdir}/$$module_srcdir \
32193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32194 --target=${target_alias} \
32195 || exit 1
32196 @endif guile
32202 .PHONY: all-guile maybe-all-guile
32203 maybe-all-guile:
32204 @if gcc-bootstrap
32205 all-guile: stage_current
32206 @endif gcc-bootstrap
32207 @if guile
32208 TARGET-guile=all
32209 maybe-all-guile: all-guile
32210 all-guile: configure-guile
32211 @: $(MAKE); $(unstage)
32212 @r=`${PWD_COMMAND}`; export r; \
32213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32214 $(HOST_EXPORTS) \
32215 (cd $(HOST_SUBDIR)/guile && \
32216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32217 $(TARGET-guile))
32218 @endif guile
32223 .PHONY: check-guile maybe-check-guile
32224 maybe-check-guile:
32225 @if guile
32226 maybe-check-guile: check-guile
32228 check-guile:
32229 @: $(MAKE); $(unstage)
32230 @r=`${PWD_COMMAND}`; export r; \
32231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32232 $(HOST_EXPORTS) \
32233 (cd $(HOST_SUBDIR)/guile && \
32234 $(MAKE) $(FLAGS_TO_PASS) check)
32236 @endif guile
32238 .PHONY: install-guile maybe-install-guile
32239 maybe-install-guile:
32240 @if guile
32241 maybe-install-guile: install-guile
32243 install-guile: installdirs
32244 @: $(MAKE); $(unstage)
32245 @r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(HOST_EXPORTS) \
32248 (cd $(HOST_SUBDIR)/guile && \
32249 $(MAKE) $(FLAGS_TO_PASS) install)
32251 @endif guile
32253 .PHONY: install-strip-guile maybe-install-strip-guile
32254 maybe-install-strip-guile:
32255 @if guile
32256 maybe-install-strip-guile: install-strip-guile
32258 install-strip-guile: installdirs
32259 @: $(MAKE); $(unstage)
32260 @r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262 $(HOST_EXPORTS) \
32263 (cd $(HOST_SUBDIR)/guile && \
32264 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32266 @endif guile
32268 # Other targets (info, dvi, pdf, etc.)
32270 .PHONY: maybe-info-guile info-guile
32271 maybe-info-guile:
32272 @if guile
32273 maybe-info-guile: info-guile
32275 info-guile: \
32276 configure-guile
32277 @: $(MAKE); $(unstage)
32278 @[ -f ./guile/Makefile ] || exit 0; \
32279 r=`${PWD_COMMAND}`; export r; \
32280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32281 $(HOST_EXPORTS) \
32282 for flag in $(EXTRA_HOST_FLAGS) ; do \
32283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32284 done; \
32285 echo "Doing info in guile"; \
32286 (cd $(HOST_SUBDIR)/guile && \
32287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32289 "RANLIB=$${RANLIB}" \
32290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32291 info) \
32292 || exit 1
32294 @endif guile
32296 .PHONY: maybe-dvi-guile dvi-guile
32297 maybe-dvi-guile:
32298 @if guile
32299 maybe-dvi-guile: dvi-guile
32301 dvi-guile: \
32302 configure-guile
32303 @: $(MAKE); $(unstage)
32304 @[ -f ./guile/Makefile ] || exit 0; \
32305 r=`${PWD_COMMAND}`; export r; \
32306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32307 $(HOST_EXPORTS) \
32308 for flag in $(EXTRA_HOST_FLAGS) ; do \
32309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32310 done; \
32311 echo "Doing dvi in guile"; \
32312 (cd $(HOST_SUBDIR)/guile && \
32313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32315 "RANLIB=$${RANLIB}" \
32316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32317 dvi) \
32318 || exit 1
32320 @endif guile
32322 .PHONY: maybe-pdf-guile pdf-guile
32323 maybe-pdf-guile:
32324 @if guile
32325 maybe-pdf-guile: pdf-guile
32327 pdf-guile: \
32328 configure-guile
32329 @: $(MAKE); $(unstage)
32330 @[ -f ./guile/Makefile ] || exit 0; \
32331 r=`${PWD_COMMAND}`; export r; \
32332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32333 $(HOST_EXPORTS) \
32334 for flag in $(EXTRA_HOST_FLAGS) ; do \
32335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32336 done; \
32337 echo "Doing pdf in guile"; \
32338 (cd $(HOST_SUBDIR)/guile && \
32339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32341 "RANLIB=$${RANLIB}" \
32342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32343 pdf) \
32344 || exit 1
32346 @endif guile
32348 .PHONY: maybe-html-guile html-guile
32349 maybe-html-guile:
32350 @if guile
32351 maybe-html-guile: html-guile
32353 html-guile: \
32354 configure-guile
32355 @: $(MAKE); $(unstage)
32356 @[ -f ./guile/Makefile ] || exit 0; \
32357 r=`${PWD_COMMAND}`; export r; \
32358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32359 $(HOST_EXPORTS) \
32360 for flag in $(EXTRA_HOST_FLAGS) ; do \
32361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32362 done; \
32363 echo "Doing html in guile"; \
32364 (cd $(HOST_SUBDIR)/guile && \
32365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32367 "RANLIB=$${RANLIB}" \
32368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32369 html) \
32370 || exit 1
32372 @endif guile
32374 .PHONY: maybe-TAGS-guile TAGS-guile
32375 maybe-TAGS-guile:
32376 @if guile
32377 maybe-TAGS-guile: TAGS-guile
32379 TAGS-guile: \
32380 configure-guile
32381 @: $(MAKE); $(unstage)
32382 @[ -f ./guile/Makefile ] || exit 0; \
32383 r=`${PWD_COMMAND}`; export r; \
32384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32385 $(HOST_EXPORTS) \
32386 for flag in $(EXTRA_HOST_FLAGS) ; do \
32387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32388 done; \
32389 echo "Doing TAGS in guile"; \
32390 (cd $(HOST_SUBDIR)/guile && \
32391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32393 "RANLIB=$${RANLIB}" \
32394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32395 TAGS) \
32396 || exit 1
32398 @endif guile
32400 .PHONY: maybe-install-info-guile install-info-guile
32401 maybe-install-info-guile:
32402 @if guile
32403 maybe-install-info-guile: install-info-guile
32405 install-info-guile: \
32406 configure-guile \
32407 info-guile
32408 @: $(MAKE); $(unstage)
32409 @[ -f ./guile/Makefile ] || exit 0; \
32410 r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 $(HOST_EXPORTS) \
32413 for flag in $(EXTRA_HOST_FLAGS) ; do \
32414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32415 done; \
32416 echo "Doing install-info in guile"; \
32417 (cd $(HOST_SUBDIR)/guile && \
32418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32420 "RANLIB=$${RANLIB}" \
32421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32422 install-info) \
32423 || exit 1
32425 @endif guile
32427 .PHONY: maybe-install-pdf-guile install-pdf-guile
32428 maybe-install-pdf-guile:
32429 @if guile
32430 maybe-install-pdf-guile: install-pdf-guile
32432 install-pdf-guile: \
32433 configure-guile \
32434 pdf-guile
32435 @: $(MAKE); $(unstage)
32436 @[ -f ./guile/Makefile ] || exit 0; \
32437 r=`${PWD_COMMAND}`; export r; \
32438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32439 $(HOST_EXPORTS) \
32440 for flag in $(EXTRA_HOST_FLAGS) ; do \
32441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32442 done; \
32443 echo "Doing install-pdf in guile"; \
32444 (cd $(HOST_SUBDIR)/guile && \
32445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32447 "RANLIB=$${RANLIB}" \
32448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32449 install-pdf) \
32450 || exit 1
32452 @endif guile
32454 .PHONY: maybe-install-html-guile install-html-guile
32455 maybe-install-html-guile:
32456 @if guile
32457 maybe-install-html-guile: install-html-guile
32459 install-html-guile: \
32460 configure-guile \
32461 html-guile
32462 @: $(MAKE); $(unstage)
32463 @[ -f ./guile/Makefile ] || exit 0; \
32464 r=`${PWD_COMMAND}`; export r; \
32465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32466 $(HOST_EXPORTS) \
32467 for flag in $(EXTRA_HOST_FLAGS) ; do \
32468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32469 done; \
32470 echo "Doing install-html in guile"; \
32471 (cd $(HOST_SUBDIR)/guile && \
32472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32474 "RANLIB=$${RANLIB}" \
32475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32476 install-html) \
32477 || exit 1
32479 @endif guile
32481 .PHONY: maybe-installcheck-guile installcheck-guile
32482 maybe-installcheck-guile:
32483 @if guile
32484 maybe-installcheck-guile: installcheck-guile
32486 installcheck-guile: \
32487 configure-guile
32488 @: $(MAKE); $(unstage)
32489 @[ -f ./guile/Makefile ] || exit 0; \
32490 r=`${PWD_COMMAND}`; export r; \
32491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32492 $(HOST_EXPORTS) \
32493 for flag in $(EXTRA_HOST_FLAGS) ; do \
32494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32495 done; \
32496 echo "Doing installcheck in guile"; \
32497 (cd $(HOST_SUBDIR)/guile && \
32498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32500 "RANLIB=$${RANLIB}" \
32501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32502 installcheck) \
32503 || exit 1
32505 @endif guile
32507 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
32508 maybe-mostlyclean-guile:
32509 @if guile
32510 maybe-mostlyclean-guile: mostlyclean-guile
32512 mostlyclean-guile:
32513 @: $(MAKE); $(unstage)
32514 @[ -f ./guile/Makefile ] || exit 0; \
32515 r=`${PWD_COMMAND}`; export r; \
32516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32517 $(HOST_EXPORTS) \
32518 for flag in $(EXTRA_HOST_FLAGS) ; do \
32519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32520 done; \
32521 echo "Doing mostlyclean in guile"; \
32522 (cd $(HOST_SUBDIR)/guile && \
32523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32525 "RANLIB=$${RANLIB}" \
32526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32527 mostlyclean) \
32528 || exit 1
32530 @endif guile
32532 .PHONY: maybe-clean-guile clean-guile
32533 maybe-clean-guile:
32534 @if guile
32535 maybe-clean-guile: clean-guile
32537 clean-guile:
32538 @: $(MAKE); $(unstage)
32539 @[ -f ./guile/Makefile ] || exit 0; \
32540 r=`${PWD_COMMAND}`; export r; \
32541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32542 $(HOST_EXPORTS) \
32543 for flag in $(EXTRA_HOST_FLAGS) ; do \
32544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32545 done; \
32546 echo "Doing clean in guile"; \
32547 (cd $(HOST_SUBDIR)/guile && \
32548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32550 "RANLIB=$${RANLIB}" \
32551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32552 clean) \
32553 || exit 1
32555 @endif guile
32557 .PHONY: maybe-distclean-guile distclean-guile
32558 maybe-distclean-guile:
32559 @if guile
32560 maybe-distclean-guile: distclean-guile
32562 distclean-guile:
32563 @: $(MAKE); $(unstage)
32564 @[ -f ./guile/Makefile ] || exit 0; \
32565 r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(HOST_EXPORTS) \
32568 for flag in $(EXTRA_HOST_FLAGS) ; do \
32569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32570 done; \
32571 echo "Doing distclean in guile"; \
32572 (cd $(HOST_SUBDIR)/guile && \
32573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32575 "RANLIB=$${RANLIB}" \
32576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32577 distclean) \
32578 || exit 1
32580 @endif guile
32582 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
32583 maybe-maintainer-clean-guile:
32584 @if guile
32585 maybe-maintainer-clean-guile: maintainer-clean-guile
32587 maintainer-clean-guile:
32588 @: $(MAKE); $(unstage)
32589 @[ -f ./guile/Makefile ] || exit 0; \
32590 r=`${PWD_COMMAND}`; export r; \
32591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32592 $(HOST_EXPORTS) \
32593 for flag in $(EXTRA_HOST_FLAGS) ; do \
32594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32595 done; \
32596 echo "Doing maintainer-clean in guile"; \
32597 (cd $(HOST_SUBDIR)/guile && \
32598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32600 "RANLIB=$${RANLIB}" \
32601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32602 maintainer-clean) \
32603 || exit 1
32605 @endif guile
32609 .PHONY: configure-tk maybe-configure-tk
32610 maybe-configure-tk:
32611 @if gcc-bootstrap
32612 configure-tk: stage_current
32613 @endif gcc-bootstrap
32614 @if tk
32615 maybe-configure-tk: configure-tk
32616 configure-tk:
32617 @: $(MAKE); $(unstage)
32618 @r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
32622 $(HOST_EXPORTS) \
32623 echo Configuring in $(HOST_SUBDIR)/tk; \
32624 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32625 case $(srcdir) in \
32626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32627 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32629 esac; \
32630 module_srcdir=tk; \
32631 $(SHELL) \
32632 $$s/$$module_srcdir/configure \
32633 --srcdir=$${topdir}/$$module_srcdir \
32634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32635 --target=${target_alias} \
32636 || exit 1
32637 @endif tk
32643 .PHONY: all-tk maybe-all-tk
32644 maybe-all-tk:
32645 @if gcc-bootstrap
32646 all-tk: stage_current
32647 @endif gcc-bootstrap
32648 @if tk
32649 TARGET-tk=all
32650 maybe-all-tk: all-tk
32651 all-tk: configure-tk
32652 @: $(MAKE); $(unstage)
32653 @r=`${PWD_COMMAND}`; export r; \
32654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32655 $(HOST_EXPORTS) \
32656 (cd $(HOST_SUBDIR)/tk && \
32657 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32658 $(TARGET-tk))
32659 @endif tk
32664 .PHONY: check-tk maybe-check-tk
32665 maybe-check-tk:
32666 @if tk
32667 maybe-check-tk: check-tk
32669 check-tk:
32670 @: $(MAKE); $(unstage)
32671 @r=`${PWD_COMMAND}`; export r; \
32672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32673 $(HOST_EXPORTS) \
32674 (cd $(HOST_SUBDIR)/tk && \
32675 $(MAKE) $(FLAGS_TO_PASS) check)
32677 @endif tk
32679 .PHONY: install-tk maybe-install-tk
32680 maybe-install-tk:
32681 @if tk
32682 maybe-install-tk: install-tk
32684 install-tk: installdirs
32685 @: $(MAKE); $(unstage)
32686 @r=`${PWD_COMMAND}`; export r; \
32687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32688 $(HOST_EXPORTS) \
32689 (cd $(HOST_SUBDIR)/tk && \
32690 $(MAKE) $(FLAGS_TO_PASS) install)
32692 @endif tk
32694 .PHONY: install-strip-tk maybe-install-strip-tk
32695 maybe-install-strip-tk:
32696 @if tk
32697 maybe-install-strip-tk: install-strip-tk
32699 install-strip-tk: installdirs
32700 @: $(MAKE); $(unstage)
32701 @r=`${PWD_COMMAND}`; export r; \
32702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32703 $(HOST_EXPORTS) \
32704 (cd $(HOST_SUBDIR)/tk && \
32705 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32707 @endif tk
32709 # Other targets (info, dvi, pdf, etc.)
32711 .PHONY: maybe-info-tk info-tk
32712 maybe-info-tk:
32713 @if tk
32714 maybe-info-tk: info-tk
32716 info-tk: \
32717 configure-tk
32718 @: $(MAKE); $(unstage)
32719 @[ -f ./tk/Makefile ] || exit 0; \
32720 r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 $(HOST_EXPORTS) \
32723 for flag in $(EXTRA_HOST_FLAGS) ; do \
32724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32725 done; \
32726 echo "Doing info in tk"; \
32727 (cd $(HOST_SUBDIR)/tk && \
32728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32730 "RANLIB=$${RANLIB}" \
32731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32732 info) \
32733 || exit 1
32735 @endif tk
32737 .PHONY: maybe-dvi-tk dvi-tk
32738 maybe-dvi-tk:
32739 @if tk
32740 maybe-dvi-tk: dvi-tk
32742 dvi-tk: \
32743 configure-tk
32744 @: $(MAKE); $(unstage)
32745 @[ -f ./tk/Makefile ] || exit 0; \
32746 r=`${PWD_COMMAND}`; export r; \
32747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32748 $(HOST_EXPORTS) \
32749 for flag in $(EXTRA_HOST_FLAGS) ; do \
32750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32751 done; \
32752 echo "Doing dvi in tk"; \
32753 (cd $(HOST_SUBDIR)/tk && \
32754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32756 "RANLIB=$${RANLIB}" \
32757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32758 dvi) \
32759 || exit 1
32761 @endif tk
32763 .PHONY: maybe-pdf-tk pdf-tk
32764 maybe-pdf-tk:
32765 @if tk
32766 maybe-pdf-tk: pdf-tk
32768 pdf-tk: \
32769 configure-tk
32770 @: $(MAKE); $(unstage)
32771 @[ -f ./tk/Makefile ] || exit 0; \
32772 r=`${PWD_COMMAND}`; export r; \
32773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32774 $(HOST_EXPORTS) \
32775 for flag in $(EXTRA_HOST_FLAGS) ; do \
32776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32777 done; \
32778 echo "Doing pdf in tk"; \
32779 (cd $(HOST_SUBDIR)/tk && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32782 "RANLIB=$${RANLIB}" \
32783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32784 pdf) \
32785 || exit 1
32787 @endif tk
32789 .PHONY: maybe-html-tk html-tk
32790 maybe-html-tk:
32791 @if tk
32792 maybe-html-tk: html-tk
32794 html-tk: \
32795 configure-tk
32796 @: $(MAKE); $(unstage)
32797 @[ -f ./tk/Makefile ] || exit 0; \
32798 r=`${PWD_COMMAND}`; export r; \
32799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32800 $(HOST_EXPORTS) \
32801 for flag in $(EXTRA_HOST_FLAGS) ; do \
32802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32803 done; \
32804 echo "Doing html in tk"; \
32805 (cd $(HOST_SUBDIR)/tk && \
32806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32808 "RANLIB=$${RANLIB}" \
32809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32810 html) \
32811 || exit 1
32813 @endif tk
32815 .PHONY: maybe-TAGS-tk TAGS-tk
32816 maybe-TAGS-tk:
32817 @if tk
32818 maybe-TAGS-tk: TAGS-tk
32820 TAGS-tk: \
32821 configure-tk
32822 @: $(MAKE); $(unstage)
32823 @[ -f ./tk/Makefile ] || exit 0; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(HOST_EXPORTS) \
32827 for flag in $(EXTRA_HOST_FLAGS) ; do \
32828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32829 done; \
32830 echo "Doing TAGS in tk"; \
32831 (cd $(HOST_SUBDIR)/tk && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32836 TAGS) \
32837 || exit 1
32839 @endif tk
32841 .PHONY: maybe-install-info-tk install-info-tk
32842 maybe-install-info-tk:
32843 @if tk
32844 maybe-install-info-tk: install-info-tk
32846 install-info-tk: \
32847 configure-tk \
32848 info-tk
32849 @: $(MAKE); $(unstage)
32850 @[ -f ./tk/Makefile ] || exit 0; \
32851 r=`${PWD_COMMAND}`; export r; \
32852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32853 $(HOST_EXPORTS) \
32854 for flag in $(EXTRA_HOST_FLAGS) ; do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 echo "Doing install-info in tk"; \
32858 (cd $(HOST_SUBDIR)/tk && \
32859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32861 "RANLIB=$${RANLIB}" \
32862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32863 install-info) \
32864 || exit 1
32866 @endif tk
32868 .PHONY: maybe-install-pdf-tk install-pdf-tk
32869 maybe-install-pdf-tk:
32870 @if tk
32871 maybe-install-pdf-tk: install-pdf-tk
32873 install-pdf-tk: \
32874 configure-tk \
32875 pdf-tk
32876 @: $(MAKE); $(unstage)
32877 @[ -f ./tk/Makefile ] || exit 0; \
32878 r=`${PWD_COMMAND}`; export r; \
32879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32880 $(HOST_EXPORTS) \
32881 for flag in $(EXTRA_HOST_FLAGS) ; do \
32882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32883 done; \
32884 echo "Doing install-pdf in tk"; \
32885 (cd $(HOST_SUBDIR)/tk && \
32886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32888 "RANLIB=$${RANLIB}" \
32889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32890 install-pdf) \
32891 || exit 1
32893 @endif tk
32895 .PHONY: maybe-install-html-tk install-html-tk
32896 maybe-install-html-tk:
32897 @if tk
32898 maybe-install-html-tk: install-html-tk
32900 install-html-tk: \
32901 configure-tk \
32902 html-tk
32903 @: $(MAKE); $(unstage)
32904 @[ -f ./tk/Makefile ] || exit 0; \
32905 r=`${PWD_COMMAND}`; export r; \
32906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32907 $(HOST_EXPORTS) \
32908 for flag in $(EXTRA_HOST_FLAGS) ; do \
32909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32910 done; \
32911 echo "Doing install-html in tk"; \
32912 (cd $(HOST_SUBDIR)/tk && \
32913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32915 "RANLIB=$${RANLIB}" \
32916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32917 install-html) \
32918 || exit 1
32920 @endif tk
32922 .PHONY: maybe-installcheck-tk installcheck-tk
32923 maybe-installcheck-tk:
32924 @if tk
32925 maybe-installcheck-tk: installcheck-tk
32927 installcheck-tk: \
32928 configure-tk
32929 @: $(MAKE); $(unstage)
32930 @[ -f ./tk/Makefile ] || exit 0; \
32931 r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 $(HOST_EXPORTS) \
32934 for flag in $(EXTRA_HOST_FLAGS) ; do \
32935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32936 done; \
32937 echo "Doing installcheck in tk"; \
32938 (cd $(HOST_SUBDIR)/tk && \
32939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32941 "RANLIB=$${RANLIB}" \
32942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32943 installcheck) \
32944 || exit 1
32946 @endif tk
32948 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32949 maybe-mostlyclean-tk:
32950 @if tk
32951 maybe-mostlyclean-tk: mostlyclean-tk
32953 mostlyclean-tk:
32954 @: $(MAKE); $(unstage)
32955 @[ -f ./tk/Makefile ] || exit 0; \
32956 r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(HOST_EXPORTS) \
32959 for flag in $(EXTRA_HOST_FLAGS) ; do \
32960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32961 done; \
32962 echo "Doing mostlyclean in tk"; \
32963 (cd $(HOST_SUBDIR)/tk && \
32964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32966 "RANLIB=$${RANLIB}" \
32967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32968 mostlyclean) \
32969 || exit 1
32971 @endif tk
32973 .PHONY: maybe-clean-tk clean-tk
32974 maybe-clean-tk:
32975 @if tk
32976 maybe-clean-tk: clean-tk
32978 clean-tk:
32979 @: $(MAKE); $(unstage)
32980 @[ -f ./tk/Makefile ] || exit 0; \
32981 r=`${PWD_COMMAND}`; export r; \
32982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32983 $(HOST_EXPORTS) \
32984 for flag in $(EXTRA_HOST_FLAGS) ; do \
32985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32986 done; \
32987 echo "Doing clean in tk"; \
32988 (cd $(HOST_SUBDIR)/tk && \
32989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32991 "RANLIB=$${RANLIB}" \
32992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32993 clean) \
32994 || exit 1
32996 @endif tk
32998 .PHONY: maybe-distclean-tk distclean-tk
32999 maybe-distclean-tk:
33000 @if tk
33001 maybe-distclean-tk: distclean-tk
33003 distclean-tk:
33004 @: $(MAKE); $(unstage)
33005 @[ -f ./tk/Makefile ] || exit 0; \
33006 r=`${PWD_COMMAND}`; export r; \
33007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33008 $(HOST_EXPORTS) \
33009 for flag in $(EXTRA_HOST_FLAGS) ; do \
33010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33011 done; \
33012 echo "Doing distclean in tk"; \
33013 (cd $(HOST_SUBDIR)/tk && \
33014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33016 "RANLIB=$${RANLIB}" \
33017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33018 distclean) \
33019 || exit 1
33021 @endif tk
33023 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
33024 maybe-maintainer-clean-tk:
33025 @if tk
33026 maybe-maintainer-clean-tk: maintainer-clean-tk
33028 maintainer-clean-tk:
33029 @: $(MAKE); $(unstage)
33030 @[ -f ./tk/Makefile ] || exit 0; \
33031 r=`${PWD_COMMAND}`; export r; \
33032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33033 $(HOST_EXPORTS) \
33034 for flag in $(EXTRA_HOST_FLAGS) ; do \
33035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33036 done; \
33037 echo "Doing maintainer-clean in tk"; \
33038 (cd $(HOST_SUBDIR)/tk && \
33039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33041 "RANLIB=$${RANLIB}" \
33042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33043 maintainer-clean) \
33044 || exit 1
33046 @endif tk
33050 .PHONY: configure-libtermcap maybe-configure-libtermcap
33051 maybe-configure-libtermcap:
33052 @if gcc-bootstrap
33053 configure-libtermcap: stage_current
33054 @endif gcc-bootstrap
33055 @if libtermcap
33056 maybe-configure-libtermcap: configure-libtermcap
33057 configure-libtermcap:
33058 @: $(MAKE); $(unstage)
33059 @r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
33062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
33063 $(HOST_EXPORTS) \
33064 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
33065 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
33066 case $(srcdir) in \
33067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33068 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
33069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33070 esac; \
33071 module_srcdir=libtermcap; \
33072 $(SHELL) \
33073 $$s/$$module_srcdir/configure \
33074 --srcdir=$${topdir}/$$module_srcdir \
33075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33076 --target=${target_alias} \
33077 || exit 1
33078 @endif libtermcap
33084 .PHONY: all-libtermcap maybe-all-libtermcap
33085 maybe-all-libtermcap:
33086 @if gcc-bootstrap
33087 all-libtermcap: stage_current
33088 @endif gcc-bootstrap
33089 @if libtermcap
33090 TARGET-libtermcap=all
33091 maybe-all-libtermcap: all-libtermcap
33092 all-libtermcap: configure-libtermcap
33093 @: $(MAKE); $(unstage)
33094 @r=`${PWD_COMMAND}`; export r; \
33095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33096 $(HOST_EXPORTS) \
33097 (cd $(HOST_SUBDIR)/libtermcap && \
33098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33099 $(TARGET-libtermcap))
33100 @endif libtermcap
33105 .PHONY: check-libtermcap maybe-check-libtermcap
33106 maybe-check-libtermcap:
33107 @if libtermcap
33108 maybe-check-libtermcap: check-libtermcap
33110 check-libtermcap:
33112 @endif libtermcap
33114 .PHONY: install-libtermcap maybe-install-libtermcap
33115 maybe-install-libtermcap:
33116 @if libtermcap
33117 maybe-install-libtermcap: install-libtermcap
33119 install-libtermcap: installdirs
33120 @: $(MAKE); $(unstage)
33121 @r=`${PWD_COMMAND}`; export r; \
33122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33123 $(HOST_EXPORTS) \
33124 (cd $(HOST_SUBDIR)/libtermcap && \
33125 $(MAKE) $(FLAGS_TO_PASS) install)
33127 @endif libtermcap
33129 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
33130 maybe-install-strip-libtermcap:
33131 @if libtermcap
33132 maybe-install-strip-libtermcap: install-strip-libtermcap
33134 install-strip-libtermcap: installdirs
33135 @: $(MAKE); $(unstage)
33136 @r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(HOST_EXPORTS) \
33139 (cd $(HOST_SUBDIR)/libtermcap && \
33140 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33142 @endif libtermcap
33144 # Other targets (info, dvi, pdf, etc.)
33146 .PHONY: maybe-info-libtermcap info-libtermcap
33147 maybe-info-libtermcap:
33148 @if libtermcap
33149 maybe-info-libtermcap: info-libtermcap
33151 info-libtermcap: \
33152 configure-libtermcap
33153 @: $(MAKE); $(unstage)
33154 @[ -f ./libtermcap/Makefile ] || exit 0; \
33155 r=`${PWD_COMMAND}`; export r; \
33156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33157 $(HOST_EXPORTS) \
33158 for flag in $(EXTRA_HOST_FLAGS) ; do \
33159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33160 done; \
33161 echo "Doing info in libtermcap"; \
33162 (cd $(HOST_SUBDIR)/libtermcap && \
33163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33165 "RANLIB=$${RANLIB}" \
33166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33167 info) \
33168 || exit 1
33170 @endif libtermcap
33172 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
33173 maybe-dvi-libtermcap:
33174 @if libtermcap
33175 maybe-dvi-libtermcap: dvi-libtermcap
33177 dvi-libtermcap: \
33178 configure-libtermcap
33179 @: $(MAKE); $(unstage)
33180 @[ -f ./libtermcap/Makefile ] || exit 0; \
33181 r=`${PWD_COMMAND}`; export r; \
33182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33183 $(HOST_EXPORTS) \
33184 for flag in $(EXTRA_HOST_FLAGS) ; do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 echo "Doing dvi in libtermcap"; \
33188 (cd $(HOST_SUBDIR)/libtermcap && \
33189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33191 "RANLIB=$${RANLIB}" \
33192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33193 dvi) \
33194 || exit 1
33196 @endif libtermcap
33198 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
33199 maybe-pdf-libtermcap:
33200 @if libtermcap
33201 maybe-pdf-libtermcap: pdf-libtermcap
33203 pdf-libtermcap: \
33204 configure-libtermcap
33205 @: $(MAKE); $(unstage)
33206 @[ -f ./libtermcap/Makefile ] || exit 0; \
33207 r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(HOST_EXPORTS) \
33210 for flag in $(EXTRA_HOST_FLAGS) ; do \
33211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33212 done; \
33213 echo "Doing pdf in libtermcap"; \
33214 (cd $(HOST_SUBDIR)/libtermcap && \
33215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33217 "RANLIB=$${RANLIB}" \
33218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33219 pdf) \
33220 || exit 1
33222 @endif libtermcap
33224 .PHONY: maybe-html-libtermcap html-libtermcap
33225 maybe-html-libtermcap:
33226 @if libtermcap
33227 maybe-html-libtermcap: html-libtermcap
33229 html-libtermcap: \
33230 configure-libtermcap
33231 @: $(MAKE); $(unstage)
33232 @[ -f ./libtermcap/Makefile ] || exit 0; \
33233 r=`${PWD_COMMAND}`; export r; \
33234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33235 $(HOST_EXPORTS) \
33236 for flag in $(EXTRA_HOST_FLAGS) ; do \
33237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33238 done; \
33239 echo "Doing html in libtermcap"; \
33240 (cd $(HOST_SUBDIR)/libtermcap && \
33241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33243 "RANLIB=$${RANLIB}" \
33244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33245 html) \
33246 || exit 1
33248 @endif libtermcap
33250 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
33251 maybe-TAGS-libtermcap:
33252 @if libtermcap
33253 maybe-TAGS-libtermcap: TAGS-libtermcap
33255 TAGS-libtermcap: \
33256 configure-libtermcap
33257 @: $(MAKE); $(unstage)
33258 @[ -f ./libtermcap/Makefile ] || exit 0; \
33259 r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(HOST_EXPORTS) \
33262 for flag in $(EXTRA_HOST_FLAGS) ; do \
33263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33264 done; \
33265 echo "Doing TAGS in libtermcap"; \
33266 (cd $(HOST_SUBDIR)/libtermcap && \
33267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33269 "RANLIB=$${RANLIB}" \
33270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33271 TAGS) \
33272 || exit 1
33274 @endif libtermcap
33276 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
33277 maybe-install-info-libtermcap:
33278 @if libtermcap
33279 maybe-install-info-libtermcap: install-info-libtermcap
33281 install-info-libtermcap: \
33282 configure-libtermcap \
33283 info-libtermcap
33284 @: $(MAKE); $(unstage)
33285 @[ -f ./libtermcap/Makefile ] || exit 0; \
33286 r=`${PWD_COMMAND}`; export r; \
33287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33288 $(HOST_EXPORTS) \
33289 for flag in $(EXTRA_HOST_FLAGS) ; do \
33290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33291 done; \
33292 echo "Doing install-info in libtermcap"; \
33293 (cd $(HOST_SUBDIR)/libtermcap && \
33294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33296 "RANLIB=$${RANLIB}" \
33297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33298 install-info) \
33299 || exit 1
33301 @endif libtermcap
33303 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
33304 maybe-install-pdf-libtermcap:
33305 @if libtermcap
33306 maybe-install-pdf-libtermcap: install-pdf-libtermcap
33308 install-pdf-libtermcap: \
33309 configure-libtermcap \
33310 pdf-libtermcap
33311 @: $(MAKE); $(unstage)
33312 @[ -f ./libtermcap/Makefile ] || exit 0; \
33313 r=`${PWD_COMMAND}`; export r; \
33314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33315 $(HOST_EXPORTS) \
33316 for flag in $(EXTRA_HOST_FLAGS) ; do \
33317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33318 done; \
33319 echo "Doing install-pdf in libtermcap"; \
33320 (cd $(HOST_SUBDIR)/libtermcap && \
33321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33323 "RANLIB=$${RANLIB}" \
33324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33325 install-pdf) \
33326 || exit 1
33328 @endif libtermcap
33330 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
33331 maybe-install-html-libtermcap:
33332 @if libtermcap
33333 maybe-install-html-libtermcap: install-html-libtermcap
33335 install-html-libtermcap: \
33336 configure-libtermcap \
33337 html-libtermcap
33338 @: $(MAKE); $(unstage)
33339 @[ -f ./libtermcap/Makefile ] || exit 0; \
33340 r=`${PWD_COMMAND}`; export r; \
33341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33342 $(HOST_EXPORTS) \
33343 for flag in $(EXTRA_HOST_FLAGS) ; do \
33344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33345 done; \
33346 echo "Doing install-html in libtermcap"; \
33347 (cd $(HOST_SUBDIR)/libtermcap && \
33348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33350 "RANLIB=$${RANLIB}" \
33351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33352 install-html) \
33353 || exit 1
33355 @endif libtermcap
33357 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
33358 maybe-installcheck-libtermcap:
33359 @if libtermcap
33360 maybe-installcheck-libtermcap: installcheck-libtermcap
33362 installcheck-libtermcap: \
33363 configure-libtermcap
33364 @: $(MAKE); $(unstage)
33365 @[ -f ./libtermcap/Makefile ] || exit 0; \
33366 r=`${PWD_COMMAND}`; export r; \
33367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33368 $(HOST_EXPORTS) \
33369 for flag in $(EXTRA_HOST_FLAGS) ; do \
33370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33371 done; \
33372 echo "Doing installcheck in libtermcap"; \
33373 (cd $(HOST_SUBDIR)/libtermcap && \
33374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33376 "RANLIB=$${RANLIB}" \
33377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33378 installcheck) \
33379 || exit 1
33381 @endif libtermcap
33383 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
33384 maybe-mostlyclean-libtermcap:
33385 @if libtermcap
33386 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
33388 # libtermcap doesn't support mostlyclean.
33389 mostlyclean-libtermcap:
33391 @endif libtermcap
33393 .PHONY: maybe-clean-libtermcap clean-libtermcap
33394 maybe-clean-libtermcap:
33395 @if libtermcap
33396 maybe-clean-libtermcap: clean-libtermcap
33398 # libtermcap doesn't support clean.
33399 clean-libtermcap:
33401 @endif libtermcap
33403 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
33404 maybe-distclean-libtermcap:
33405 @if libtermcap
33406 maybe-distclean-libtermcap: distclean-libtermcap
33408 # libtermcap doesn't support distclean.
33409 distclean-libtermcap:
33411 @endif libtermcap
33413 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
33414 maybe-maintainer-clean-libtermcap:
33415 @if libtermcap
33416 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
33418 # libtermcap doesn't support maintainer-clean.
33419 maintainer-clean-libtermcap:
33421 @endif libtermcap
33425 .PHONY: configure-utils maybe-configure-utils
33426 maybe-configure-utils:
33427 @if gcc-bootstrap
33428 configure-utils: stage_current
33429 @endif gcc-bootstrap
33430 @if utils
33431 maybe-configure-utils: configure-utils
33432 configure-utils:
33433 @: $(MAKE); $(unstage)
33434 @r=`${PWD_COMMAND}`; export r; \
33435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33436 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
33437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
33438 $(HOST_EXPORTS) \
33439 echo Configuring in $(HOST_SUBDIR)/utils; \
33440 cd "$(HOST_SUBDIR)/utils" || exit 1; \
33441 case $(srcdir) in \
33442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33443 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
33444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33445 esac; \
33446 module_srcdir=utils; \
33447 $(SHELL) \
33448 $$s/$$module_srcdir/configure \
33449 --srcdir=$${topdir}/$$module_srcdir \
33450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33451 --target=${target_alias} \
33452 || exit 1
33453 @endif utils
33459 .PHONY: all-utils maybe-all-utils
33460 maybe-all-utils:
33461 @if gcc-bootstrap
33462 all-utils: stage_current
33463 @endif gcc-bootstrap
33464 @if utils
33465 TARGET-utils=all
33466 maybe-all-utils: all-utils
33467 all-utils: configure-utils
33468 @: $(MAKE); $(unstage)
33469 @r=`${PWD_COMMAND}`; export r; \
33470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33471 $(HOST_EXPORTS) \
33472 (cd $(HOST_SUBDIR)/utils && \
33473 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33474 $(TARGET-utils))
33475 @endif utils
33480 .PHONY: check-utils maybe-check-utils
33481 maybe-check-utils:
33482 @if utils
33483 maybe-check-utils: check-utils
33485 check-utils:
33487 @endif utils
33489 .PHONY: install-utils maybe-install-utils
33490 maybe-install-utils:
33491 @if utils
33492 maybe-install-utils: install-utils
33494 install-utils: installdirs
33495 @: $(MAKE); $(unstage)
33496 @r=`${PWD_COMMAND}`; export r; \
33497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33498 $(HOST_EXPORTS) \
33499 (cd $(HOST_SUBDIR)/utils && \
33500 $(MAKE) $(FLAGS_TO_PASS) install)
33502 @endif utils
33504 .PHONY: install-strip-utils maybe-install-strip-utils
33505 maybe-install-strip-utils:
33506 @if utils
33507 maybe-install-strip-utils: install-strip-utils
33509 install-strip-utils: installdirs
33510 @: $(MAKE); $(unstage)
33511 @r=`${PWD_COMMAND}`; export r; \
33512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33513 $(HOST_EXPORTS) \
33514 (cd $(HOST_SUBDIR)/utils && \
33515 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33517 @endif utils
33519 # Other targets (info, dvi, pdf, etc.)
33521 .PHONY: maybe-info-utils info-utils
33522 maybe-info-utils:
33523 @if utils
33524 maybe-info-utils: info-utils
33526 info-utils: \
33527 configure-utils
33528 @: $(MAKE); $(unstage)
33529 @[ -f ./utils/Makefile ] || exit 0; \
33530 r=`${PWD_COMMAND}`; export r; \
33531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33532 $(HOST_EXPORTS) \
33533 for flag in $(EXTRA_HOST_FLAGS) ; do \
33534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33535 done; \
33536 echo "Doing info in utils"; \
33537 (cd $(HOST_SUBDIR)/utils && \
33538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33540 "RANLIB=$${RANLIB}" \
33541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33542 info) \
33543 || exit 1
33545 @endif utils
33547 .PHONY: maybe-dvi-utils dvi-utils
33548 maybe-dvi-utils:
33549 @if utils
33550 maybe-dvi-utils: dvi-utils
33552 dvi-utils: \
33553 configure-utils
33554 @: $(MAKE); $(unstage)
33555 @[ -f ./utils/Makefile ] || exit 0; \
33556 r=`${PWD_COMMAND}`; export r; \
33557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33558 $(HOST_EXPORTS) \
33559 for flag in $(EXTRA_HOST_FLAGS) ; do \
33560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33561 done; \
33562 echo "Doing dvi in utils"; \
33563 (cd $(HOST_SUBDIR)/utils && \
33564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33566 "RANLIB=$${RANLIB}" \
33567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33568 dvi) \
33569 || exit 1
33571 @endif utils
33573 .PHONY: maybe-pdf-utils pdf-utils
33574 maybe-pdf-utils:
33575 @if utils
33576 maybe-pdf-utils: pdf-utils
33578 pdf-utils: \
33579 configure-utils
33580 @: $(MAKE); $(unstage)
33581 @[ -f ./utils/Makefile ] || exit 0; \
33582 r=`${PWD_COMMAND}`; export r; \
33583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33584 $(HOST_EXPORTS) \
33585 for flag in $(EXTRA_HOST_FLAGS) ; do \
33586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33587 done; \
33588 echo "Doing pdf in utils"; \
33589 (cd $(HOST_SUBDIR)/utils && \
33590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33592 "RANLIB=$${RANLIB}" \
33593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33594 pdf) \
33595 || exit 1
33597 @endif utils
33599 .PHONY: maybe-html-utils html-utils
33600 maybe-html-utils:
33601 @if utils
33602 maybe-html-utils: html-utils
33604 html-utils: \
33605 configure-utils
33606 @: $(MAKE); $(unstage)
33607 @[ -f ./utils/Makefile ] || exit 0; \
33608 r=`${PWD_COMMAND}`; export r; \
33609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33610 $(HOST_EXPORTS) \
33611 for flag in $(EXTRA_HOST_FLAGS) ; do \
33612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33613 done; \
33614 echo "Doing html in utils"; \
33615 (cd $(HOST_SUBDIR)/utils && \
33616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33618 "RANLIB=$${RANLIB}" \
33619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33620 html) \
33621 || exit 1
33623 @endif utils
33625 .PHONY: maybe-TAGS-utils TAGS-utils
33626 maybe-TAGS-utils:
33627 @if utils
33628 maybe-TAGS-utils: TAGS-utils
33630 TAGS-utils: \
33631 configure-utils
33632 @: $(MAKE); $(unstage)
33633 @[ -f ./utils/Makefile ] || exit 0; \
33634 r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 $(HOST_EXPORTS) \
33637 for flag in $(EXTRA_HOST_FLAGS) ; do \
33638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33639 done; \
33640 echo "Doing TAGS in utils"; \
33641 (cd $(HOST_SUBDIR)/utils && \
33642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33644 "RANLIB=$${RANLIB}" \
33645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33646 TAGS) \
33647 || exit 1
33649 @endif utils
33651 .PHONY: maybe-install-info-utils install-info-utils
33652 maybe-install-info-utils:
33653 @if utils
33654 maybe-install-info-utils: install-info-utils
33656 install-info-utils: \
33657 configure-utils \
33658 info-utils
33659 @: $(MAKE); $(unstage)
33660 @[ -f ./utils/Makefile ] || exit 0; \
33661 r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(HOST_EXPORTS) \
33664 for flag in $(EXTRA_HOST_FLAGS) ; do \
33665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33666 done; \
33667 echo "Doing install-info in utils"; \
33668 (cd $(HOST_SUBDIR)/utils && \
33669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33671 "RANLIB=$${RANLIB}" \
33672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33673 install-info) \
33674 || exit 1
33676 @endif utils
33678 .PHONY: maybe-install-pdf-utils install-pdf-utils
33679 maybe-install-pdf-utils:
33680 @if utils
33681 maybe-install-pdf-utils: install-pdf-utils
33683 install-pdf-utils: \
33684 configure-utils \
33685 pdf-utils
33686 @: $(MAKE); $(unstage)
33687 @[ -f ./utils/Makefile ] || exit 0; \
33688 r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(HOST_EXPORTS) \
33691 for flag in $(EXTRA_HOST_FLAGS) ; do \
33692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33693 done; \
33694 echo "Doing install-pdf in utils"; \
33695 (cd $(HOST_SUBDIR)/utils && \
33696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33698 "RANLIB=$${RANLIB}" \
33699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33700 install-pdf) \
33701 || exit 1
33703 @endif utils
33705 .PHONY: maybe-install-html-utils install-html-utils
33706 maybe-install-html-utils:
33707 @if utils
33708 maybe-install-html-utils: install-html-utils
33710 install-html-utils: \
33711 configure-utils \
33712 html-utils
33713 @: $(MAKE); $(unstage)
33714 @[ -f ./utils/Makefile ] || exit 0; \
33715 r=`${PWD_COMMAND}`; export r; \
33716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33717 $(HOST_EXPORTS) \
33718 for flag in $(EXTRA_HOST_FLAGS) ; do \
33719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33720 done; \
33721 echo "Doing install-html in utils"; \
33722 (cd $(HOST_SUBDIR)/utils && \
33723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33725 "RANLIB=$${RANLIB}" \
33726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33727 install-html) \
33728 || exit 1
33730 @endif utils
33732 .PHONY: maybe-installcheck-utils installcheck-utils
33733 maybe-installcheck-utils:
33734 @if utils
33735 maybe-installcheck-utils: installcheck-utils
33737 installcheck-utils: \
33738 configure-utils
33739 @: $(MAKE); $(unstage)
33740 @[ -f ./utils/Makefile ] || exit 0; \
33741 r=`${PWD_COMMAND}`; export r; \
33742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33743 $(HOST_EXPORTS) \
33744 for flag in $(EXTRA_HOST_FLAGS) ; do \
33745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33746 done; \
33747 echo "Doing installcheck in utils"; \
33748 (cd $(HOST_SUBDIR)/utils && \
33749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33751 "RANLIB=$${RANLIB}" \
33752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33753 installcheck) \
33754 || exit 1
33756 @endif utils
33758 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33759 maybe-mostlyclean-utils:
33760 @if utils
33761 maybe-mostlyclean-utils: mostlyclean-utils
33763 mostlyclean-utils:
33764 @: $(MAKE); $(unstage)
33765 @[ -f ./utils/Makefile ] || exit 0; \
33766 r=`${PWD_COMMAND}`; export r; \
33767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33768 $(HOST_EXPORTS) \
33769 for flag in $(EXTRA_HOST_FLAGS) ; do \
33770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33771 done; \
33772 echo "Doing mostlyclean in utils"; \
33773 (cd $(HOST_SUBDIR)/utils && \
33774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33776 "RANLIB=$${RANLIB}" \
33777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33778 mostlyclean) \
33779 || exit 1
33781 @endif utils
33783 .PHONY: maybe-clean-utils clean-utils
33784 maybe-clean-utils:
33785 @if utils
33786 maybe-clean-utils: clean-utils
33788 clean-utils:
33789 @: $(MAKE); $(unstage)
33790 @[ -f ./utils/Makefile ] || exit 0; \
33791 r=`${PWD_COMMAND}`; export r; \
33792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33793 $(HOST_EXPORTS) \
33794 for flag in $(EXTRA_HOST_FLAGS) ; do \
33795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33796 done; \
33797 echo "Doing clean in utils"; \
33798 (cd $(HOST_SUBDIR)/utils && \
33799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33801 "RANLIB=$${RANLIB}" \
33802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33803 clean) \
33804 || exit 1
33806 @endif utils
33808 .PHONY: maybe-distclean-utils distclean-utils
33809 maybe-distclean-utils:
33810 @if utils
33811 maybe-distclean-utils: distclean-utils
33813 distclean-utils:
33814 @: $(MAKE); $(unstage)
33815 @[ -f ./utils/Makefile ] || exit 0; \
33816 r=`${PWD_COMMAND}`; export r; \
33817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33818 $(HOST_EXPORTS) \
33819 for flag in $(EXTRA_HOST_FLAGS) ; do \
33820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33821 done; \
33822 echo "Doing distclean in utils"; \
33823 (cd $(HOST_SUBDIR)/utils && \
33824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33826 "RANLIB=$${RANLIB}" \
33827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33828 distclean) \
33829 || exit 1
33831 @endif utils
33833 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33834 maybe-maintainer-clean-utils:
33835 @if utils
33836 maybe-maintainer-clean-utils: maintainer-clean-utils
33838 maintainer-clean-utils:
33839 @: $(MAKE); $(unstage)
33840 @[ -f ./utils/Makefile ] || exit 0; \
33841 r=`${PWD_COMMAND}`; export r; \
33842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33843 $(HOST_EXPORTS) \
33844 for flag in $(EXTRA_HOST_FLAGS) ; do \
33845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33846 done; \
33847 echo "Doing maintainer-clean in utils"; \
33848 (cd $(HOST_SUBDIR)/utils && \
33849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33851 "RANLIB=$${RANLIB}" \
33852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33853 maintainer-clean) \
33854 || exit 1
33856 @endif utils
33860 .PHONY: configure-gnattools maybe-configure-gnattools
33861 maybe-configure-gnattools:
33862 @if gcc-bootstrap
33863 configure-gnattools: stage_current
33864 @endif gcc-bootstrap
33865 @if gnattools
33866 maybe-configure-gnattools: configure-gnattools
33867 configure-gnattools:
33868 @: $(MAKE); $(unstage)
33869 @r=`${PWD_COMMAND}`; export r; \
33870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33871 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
33873 $(HOST_EXPORTS) \
33874 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33875 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33876 case $(srcdir) in \
33877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33878 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33880 esac; \
33881 module_srcdir=gnattools; \
33882 $(SHELL) \
33883 $$s/$$module_srcdir/configure \
33884 --srcdir=$${topdir}/$$module_srcdir \
33885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33886 --target=${target_alias} \
33887 || exit 1
33888 @endif gnattools
33894 .PHONY: all-gnattools maybe-all-gnattools
33895 maybe-all-gnattools:
33896 @if gcc-bootstrap
33897 all-gnattools: stage_current
33898 @endif gcc-bootstrap
33899 @if gnattools
33900 TARGET-gnattools=all
33901 maybe-all-gnattools: all-gnattools
33902 all-gnattools: configure-gnattools
33903 @: $(MAKE); $(unstage)
33904 @r=`${PWD_COMMAND}`; export r; \
33905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33906 $(HOST_EXPORTS) \
33907 (cd $(HOST_SUBDIR)/gnattools && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33909 $(TARGET-gnattools))
33910 @endif gnattools
33915 .PHONY: check-gnattools maybe-check-gnattools
33916 maybe-check-gnattools:
33917 @if gnattools
33918 maybe-check-gnattools: check-gnattools
33920 check-gnattools:
33921 @: $(MAKE); $(unstage)
33922 @r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(HOST_EXPORTS) \
33925 (cd $(HOST_SUBDIR)/gnattools && \
33926 $(MAKE) $(FLAGS_TO_PASS) check)
33928 @endif gnattools
33930 .PHONY: install-gnattools maybe-install-gnattools
33931 maybe-install-gnattools:
33932 @if gnattools
33933 maybe-install-gnattools: install-gnattools
33935 install-gnattools: installdirs
33936 @: $(MAKE); $(unstage)
33937 @r=`${PWD_COMMAND}`; export r; \
33938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33939 $(HOST_EXPORTS) \
33940 (cd $(HOST_SUBDIR)/gnattools && \
33941 $(MAKE) $(FLAGS_TO_PASS) install)
33943 @endif gnattools
33945 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
33946 maybe-install-strip-gnattools:
33947 @if gnattools
33948 maybe-install-strip-gnattools: install-strip-gnattools
33950 install-strip-gnattools: installdirs
33951 @: $(MAKE); $(unstage)
33952 @r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 $(HOST_EXPORTS) \
33955 (cd $(HOST_SUBDIR)/gnattools && \
33956 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33958 @endif gnattools
33960 # Other targets (info, dvi, pdf, etc.)
33962 .PHONY: maybe-info-gnattools info-gnattools
33963 maybe-info-gnattools:
33964 @if gnattools
33965 maybe-info-gnattools: info-gnattools
33967 info-gnattools: \
33968 configure-gnattools
33969 @: $(MAKE); $(unstage)
33970 @[ -f ./gnattools/Makefile ] || exit 0; \
33971 r=`${PWD_COMMAND}`; export r; \
33972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33973 $(HOST_EXPORTS) \
33974 for flag in $(EXTRA_HOST_FLAGS) ; do \
33975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33976 done; \
33977 echo "Doing info in gnattools"; \
33978 (cd $(HOST_SUBDIR)/gnattools && \
33979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33981 "RANLIB=$${RANLIB}" \
33982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33983 info) \
33984 || exit 1
33986 @endif gnattools
33988 .PHONY: maybe-dvi-gnattools dvi-gnattools
33989 maybe-dvi-gnattools:
33990 @if gnattools
33991 maybe-dvi-gnattools: dvi-gnattools
33993 dvi-gnattools: \
33994 configure-gnattools
33995 @: $(MAKE); $(unstage)
33996 @[ -f ./gnattools/Makefile ] || exit 0; \
33997 r=`${PWD_COMMAND}`; export r; \
33998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33999 $(HOST_EXPORTS) \
34000 for flag in $(EXTRA_HOST_FLAGS) ; do \
34001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34002 done; \
34003 echo "Doing dvi in gnattools"; \
34004 (cd $(HOST_SUBDIR)/gnattools && \
34005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34007 "RANLIB=$${RANLIB}" \
34008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34009 dvi) \
34010 || exit 1
34012 @endif gnattools
34014 .PHONY: maybe-pdf-gnattools pdf-gnattools
34015 maybe-pdf-gnattools:
34016 @if gnattools
34017 maybe-pdf-gnattools: pdf-gnattools
34019 pdf-gnattools: \
34020 configure-gnattools
34021 @: $(MAKE); $(unstage)
34022 @[ -f ./gnattools/Makefile ] || exit 0; \
34023 r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 $(HOST_EXPORTS) \
34026 for flag in $(EXTRA_HOST_FLAGS) ; do \
34027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34028 done; \
34029 echo "Doing pdf in gnattools"; \
34030 (cd $(HOST_SUBDIR)/gnattools && \
34031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34033 "RANLIB=$${RANLIB}" \
34034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34035 pdf) \
34036 || exit 1
34038 @endif gnattools
34040 .PHONY: maybe-html-gnattools html-gnattools
34041 maybe-html-gnattools:
34042 @if gnattools
34043 maybe-html-gnattools: html-gnattools
34045 html-gnattools: \
34046 configure-gnattools
34047 @: $(MAKE); $(unstage)
34048 @[ -f ./gnattools/Makefile ] || exit 0; \
34049 r=`${PWD_COMMAND}`; export r; \
34050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34051 $(HOST_EXPORTS) \
34052 for flag in $(EXTRA_HOST_FLAGS) ; do \
34053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34054 done; \
34055 echo "Doing html in gnattools"; \
34056 (cd $(HOST_SUBDIR)/gnattools && \
34057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34059 "RANLIB=$${RANLIB}" \
34060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34061 html) \
34062 || exit 1
34064 @endif gnattools
34066 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
34067 maybe-TAGS-gnattools:
34068 @if gnattools
34069 maybe-TAGS-gnattools: TAGS-gnattools
34071 TAGS-gnattools: \
34072 configure-gnattools
34073 @: $(MAKE); $(unstage)
34074 @[ -f ./gnattools/Makefile ] || exit 0; \
34075 r=`${PWD_COMMAND}`; export r; \
34076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34077 $(HOST_EXPORTS) \
34078 for flag in $(EXTRA_HOST_FLAGS) ; do \
34079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34080 done; \
34081 echo "Doing TAGS in gnattools"; \
34082 (cd $(HOST_SUBDIR)/gnattools && \
34083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34085 "RANLIB=$${RANLIB}" \
34086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34087 TAGS) \
34088 || exit 1
34090 @endif gnattools
34092 .PHONY: maybe-install-info-gnattools install-info-gnattools
34093 maybe-install-info-gnattools:
34094 @if gnattools
34095 maybe-install-info-gnattools: install-info-gnattools
34097 install-info-gnattools: \
34098 configure-gnattools \
34099 info-gnattools
34100 @: $(MAKE); $(unstage)
34101 @[ -f ./gnattools/Makefile ] || exit 0; \
34102 r=`${PWD_COMMAND}`; export r; \
34103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34104 $(HOST_EXPORTS) \
34105 for flag in $(EXTRA_HOST_FLAGS) ; do \
34106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34107 done; \
34108 echo "Doing install-info in gnattools"; \
34109 (cd $(HOST_SUBDIR)/gnattools && \
34110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34112 "RANLIB=$${RANLIB}" \
34113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34114 install-info) \
34115 || exit 1
34117 @endif gnattools
34119 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
34120 maybe-install-pdf-gnattools:
34121 @if gnattools
34122 maybe-install-pdf-gnattools: install-pdf-gnattools
34124 install-pdf-gnattools: \
34125 configure-gnattools \
34126 pdf-gnattools
34127 @: $(MAKE); $(unstage)
34128 @[ -f ./gnattools/Makefile ] || exit 0; \
34129 r=`${PWD_COMMAND}`; export r; \
34130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34131 $(HOST_EXPORTS) \
34132 for flag in $(EXTRA_HOST_FLAGS) ; do \
34133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34134 done; \
34135 echo "Doing install-pdf in gnattools"; \
34136 (cd $(HOST_SUBDIR)/gnattools && \
34137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34139 "RANLIB=$${RANLIB}" \
34140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34141 install-pdf) \
34142 || exit 1
34144 @endif gnattools
34146 .PHONY: maybe-install-html-gnattools install-html-gnattools
34147 maybe-install-html-gnattools:
34148 @if gnattools
34149 maybe-install-html-gnattools: install-html-gnattools
34151 install-html-gnattools: \
34152 configure-gnattools \
34153 html-gnattools
34154 @: $(MAKE); $(unstage)
34155 @[ -f ./gnattools/Makefile ] || exit 0; \
34156 r=`${PWD_COMMAND}`; export r; \
34157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34158 $(HOST_EXPORTS) \
34159 for flag in $(EXTRA_HOST_FLAGS) ; do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 echo "Doing install-html in gnattools"; \
34163 (cd $(HOST_SUBDIR)/gnattools && \
34164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34166 "RANLIB=$${RANLIB}" \
34167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34168 install-html) \
34169 || exit 1
34171 @endif gnattools
34173 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
34174 maybe-installcheck-gnattools:
34175 @if gnattools
34176 maybe-installcheck-gnattools: installcheck-gnattools
34178 installcheck-gnattools: \
34179 configure-gnattools
34180 @: $(MAKE); $(unstage)
34181 @[ -f ./gnattools/Makefile ] || exit 0; \
34182 r=`${PWD_COMMAND}`; export r; \
34183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34184 $(HOST_EXPORTS) \
34185 for flag in $(EXTRA_HOST_FLAGS) ; do \
34186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34187 done; \
34188 echo "Doing installcheck in gnattools"; \
34189 (cd $(HOST_SUBDIR)/gnattools && \
34190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34192 "RANLIB=$${RANLIB}" \
34193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34194 installcheck) \
34195 || exit 1
34197 @endif gnattools
34199 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
34200 maybe-mostlyclean-gnattools:
34201 @if gnattools
34202 maybe-mostlyclean-gnattools: mostlyclean-gnattools
34204 mostlyclean-gnattools:
34205 @: $(MAKE); $(unstage)
34206 @[ -f ./gnattools/Makefile ] || exit 0; \
34207 r=`${PWD_COMMAND}`; export r; \
34208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34209 $(HOST_EXPORTS) \
34210 for flag in $(EXTRA_HOST_FLAGS) ; do \
34211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34212 done; \
34213 echo "Doing mostlyclean in gnattools"; \
34214 (cd $(HOST_SUBDIR)/gnattools && \
34215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34217 "RANLIB=$${RANLIB}" \
34218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34219 mostlyclean) \
34220 || exit 1
34222 @endif gnattools
34224 .PHONY: maybe-clean-gnattools clean-gnattools
34225 maybe-clean-gnattools:
34226 @if gnattools
34227 maybe-clean-gnattools: clean-gnattools
34229 clean-gnattools:
34230 @: $(MAKE); $(unstage)
34231 @[ -f ./gnattools/Makefile ] || exit 0; \
34232 r=`${PWD_COMMAND}`; export r; \
34233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34234 $(HOST_EXPORTS) \
34235 for flag in $(EXTRA_HOST_FLAGS) ; do \
34236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34237 done; \
34238 echo "Doing clean in gnattools"; \
34239 (cd $(HOST_SUBDIR)/gnattools && \
34240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34242 "RANLIB=$${RANLIB}" \
34243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34244 clean) \
34245 || exit 1
34247 @endif gnattools
34249 .PHONY: maybe-distclean-gnattools distclean-gnattools
34250 maybe-distclean-gnattools:
34251 @if gnattools
34252 maybe-distclean-gnattools: distclean-gnattools
34254 distclean-gnattools:
34255 @: $(MAKE); $(unstage)
34256 @[ -f ./gnattools/Makefile ] || exit 0; \
34257 r=`${PWD_COMMAND}`; export r; \
34258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34259 $(HOST_EXPORTS) \
34260 for flag in $(EXTRA_HOST_FLAGS) ; do \
34261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34262 done; \
34263 echo "Doing distclean in gnattools"; \
34264 (cd $(HOST_SUBDIR)/gnattools && \
34265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34267 "RANLIB=$${RANLIB}" \
34268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34269 distclean) \
34270 || exit 1
34272 @endif gnattools
34274 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
34275 maybe-maintainer-clean-gnattools:
34276 @if gnattools
34277 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
34279 maintainer-clean-gnattools:
34280 @: $(MAKE); $(unstage)
34281 @[ -f ./gnattools/Makefile ] || exit 0; \
34282 r=`${PWD_COMMAND}`; export r; \
34283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34284 $(HOST_EXPORTS) \
34285 for flag in $(EXTRA_HOST_FLAGS) ; do \
34286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34287 done; \
34288 echo "Doing maintainer-clean in gnattools"; \
34289 (cd $(HOST_SUBDIR)/gnattools && \
34290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34292 "RANLIB=$${RANLIB}" \
34293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34294 maintainer-clean) \
34295 || exit 1
34297 @endif gnattools
34301 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
34302 maybe-configure-lto-plugin:
34303 @if gcc-bootstrap
34304 configure-lto-plugin: stage_current
34305 @endif gcc-bootstrap
34306 @if lto-plugin
34307 maybe-configure-lto-plugin: configure-lto-plugin
34308 configure-lto-plugin:
34309 @r=`${PWD_COMMAND}`; export r; \
34310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34311 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34313 $(HOST_EXPORTS) \
34314 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
34315 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
34316 case $(srcdir) in \
34317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34318 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34320 esac; \
34321 module_srcdir=lto-plugin; \
34322 $(SHELL) \
34323 $$s/$$module_srcdir/configure \
34324 --srcdir=$${topdir}/$$module_srcdir \
34325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34326 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
34327 || exit 1
34328 @endif lto-plugin
34332 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
34333 maybe-configure-stage1-lto-plugin:
34334 @if lto-plugin-bootstrap
34335 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
34336 configure-stage1-lto-plugin:
34337 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34339 @r=`${PWD_COMMAND}`; export r; \
34340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34341 TFLAGS="$(STAGE1_TFLAGS)"; \
34342 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34343 $(HOST_EXPORTS) \
34344 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
34345 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
34346 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
34347 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
34348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34349 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34350 case $(srcdir) in \
34351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34352 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34354 esac; \
34355 module_srcdir=lto-plugin; \
34356 $(SHELL) $$s/$$module_srcdir/configure \
34357 --srcdir=$${topdir}/$$module_srcdir \
34358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34359 --target=${target_alias} \
34361 $(STAGE1_CONFIGURE_FLAGS) \
34362 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34363 @endif lto-plugin-bootstrap
34365 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
34366 maybe-configure-stage2-lto-plugin:
34367 @if lto-plugin-bootstrap
34368 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
34369 configure-stage2-lto-plugin:
34370 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34372 @r=`${PWD_COMMAND}`; export r; \
34373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34374 TFLAGS="$(STAGE2_TFLAGS)"; \
34375 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34376 $(HOST_EXPORTS) \
34377 $(POSTSTAGE1_HOST_EXPORTS) \
34378 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
34379 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
34380 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
34381 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
34382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34383 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34384 case $(srcdir) in \
34385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34386 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34388 esac; \
34389 module_srcdir=lto-plugin; \
34390 $(SHELL) $$s/$$module_srcdir/configure \
34391 --srcdir=$${topdir}/$$module_srcdir \
34392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34393 --target=${target_alias} \
34394 --with-build-libsubdir=$(HOST_SUBDIR) \
34395 $(STAGE2_CONFIGURE_FLAGS) \
34396 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34397 @endif lto-plugin-bootstrap
34399 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
34400 maybe-configure-stage3-lto-plugin:
34401 @if lto-plugin-bootstrap
34402 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
34403 configure-stage3-lto-plugin:
34404 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34406 @r=`${PWD_COMMAND}`; export r; \
34407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34408 TFLAGS="$(STAGE3_TFLAGS)"; \
34409 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34410 $(HOST_EXPORTS) \
34411 $(POSTSTAGE1_HOST_EXPORTS) \
34412 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
34413 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
34414 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
34415 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
34416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34417 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34418 case $(srcdir) in \
34419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34420 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34422 esac; \
34423 module_srcdir=lto-plugin; \
34424 $(SHELL) $$s/$$module_srcdir/configure \
34425 --srcdir=$${topdir}/$$module_srcdir \
34426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34427 --target=${target_alias} \
34428 --with-build-libsubdir=$(HOST_SUBDIR) \
34429 $(STAGE3_CONFIGURE_FLAGS) \
34430 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34431 @endif lto-plugin-bootstrap
34433 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
34434 maybe-configure-stage4-lto-plugin:
34435 @if lto-plugin-bootstrap
34436 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
34437 configure-stage4-lto-plugin:
34438 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34440 @r=`${PWD_COMMAND}`; export r; \
34441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34442 TFLAGS="$(STAGE4_TFLAGS)"; \
34443 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34444 $(HOST_EXPORTS) \
34445 $(POSTSTAGE1_HOST_EXPORTS) \
34446 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
34447 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
34448 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
34449 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
34450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34451 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34452 case $(srcdir) in \
34453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34454 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34456 esac; \
34457 module_srcdir=lto-plugin; \
34458 $(SHELL) $$s/$$module_srcdir/configure \
34459 --srcdir=$${topdir}/$$module_srcdir \
34460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34461 --target=${target_alias} \
34462 --with-build-libsubdir=$(HOST_SUBDIR) \
34463 $(STAGE4_CONFIGURE_FLAGS) \
34464 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34465 @endif lto-plugin-bootstrap
34467 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
34468 maybe-configure-stageprofile-lto-plugin:
34469 @if lto-plugin-bootstrap
34470 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34471 configure-stageprofile-lto-plugin:
34472 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34474 @r=`${PWD_COMMAND}`; export r; \
34475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34476 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34477 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34478 $(HOST_EXPORTS) \
34479 $(POSTSTAGE1_HOST_EXPORTS) \
34480 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
34481 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
34482 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
34483 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
34484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34485 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34486 case $(srcdir) in \
34487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34488 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34490 esac; \
34491 module_srcdir=lto-plugin; \
34492 $(SHELL) $$s/$$module_srcdir/configure \
34493 --srcdir=$${topdir}/$$module_srcdir \
34494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34495 --target=${target_alias} \
34496 --with-build-libsubdir=$(HOST_SUBDIR) \
34497 $(STAGEprofile_CONFIGURE_FLAGS) \
34498 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34499 @endif lto-plugin-bootstrap
34501 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
34502 maybe-configure-stagefeedback-lto-plugin:
34503 @if lto-plugin-bootstrap
34504 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34505 configure-stagefeedback-lto-plugin:
34506 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34508 @r=`${PWD_COMMAND}`; export r; \
34509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34510 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34511 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34512 $(HOST_EXPORTS) \
34513 $(POSTSTAGE1_HOST_EXPORTS) \
34514 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
34515 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
34516 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
34517 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
34518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34519 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34520 case $(srcdir) in \
34521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34522 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34524 esac; \
34525 module_srcdir=lto-plugin; \
34526 $(SHELL) $$s/$$module_srcdir/configure \
34527 --srcdir=$${topdir}/$$module_srcdir \
34528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34529 --target=${target_alias} \
34530 --with-build-libsubdir=$(HOST_SUBDIR) \
34531 $(STAGEfeedback_CONFIGURE_FLAGS) \
34532 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34533 @endif lto-plugin-bootstrap
34535 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
34536 maybe-configure-stageautoprofile-lto-plugin:
34537 @if lto-plugin-bootstrap
34538 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34539 configure-stageautoprofile-lto-plugin:
34540 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34542 @r=`${PWD_COMMAND}`; export r; \
34543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34544 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34545 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34546 $(HOST_EXPORTS) \
34547 $(POSTSTAGE1_HOST_EXPORTS) \
34548 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
34549 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
34550 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
34551 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
34552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34553 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34554 case $(srcdir) in \
34555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34556 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34558 esac; \
34559 module_srcdir=lto-plugin; \
34560 $(SHELL) $$s/$$module_srcdir/configure \
34561 --srcdir=$${topdir}/$$module_srcdir \
34562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34563 --target=${target_alias} \
34564 --with-build-libsubdir=$(HOST_SUBDIR) \
34565 $(STAGEautoprofile_CONFIGURE_FLAGS) \
34566 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34567 @endif lto-plugin-bootstrap
34569 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
34570 maybe-configure-stageautofeedback-lto-plugin:
34571 @if lto-plugin-bootstrap
34572 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34573 configure-stageautofeedback-lto-plugin:
34574 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34576 @r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34579 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34580 $(HOST_EXPORTS) \
34581 $(POSTSTAGE1_HOST_EXPORTS) \
34582 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
34583 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
34584 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
34585 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
34586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34587 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34588 case $(srcdir) in \
34589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34590 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34592 esac; \
34593 module_srcdir=lto-plugin; \
34594 $(SHELL) $$s/$$module_srcdir/configure \
34595 --srcdir=$${topdir}/$$module_srcdir \
34596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34597 --target=${target_alias} \
34598 --with-build-libsubdir=$(HOST_SUBDIR) \
34599 $(STAGEautofeedback_CONFIGURE_FLAGS) \
34600 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34601 @endif lto-plugin-bootstrap
34607 .PHONY: all-lto-plugin maybe-all-lto-plugin
34608 maybe-all-lto-plugin:
34609 @if gcc-bootstrap
34610 all-lto-plugin: stage_current
34611 @endif gcc-bootstrap
34612 @if lto-plugin
34613 TARGET-lto-plugin=all
34614 maybe-all-lto-plugin: all-lto-plugin
34615 all-lto-plugin: configure-lto-plugin
34616 @r=`${PWD_COMMAND}`; export r; \
34617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34618 $(HOST_EXPORTS) \
34619 (cd $(HOST_SUBDIR)/lto-plugin && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34621 $(TARGET-lto-plugin))
34622 @endif lto-plugin
34626 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
34627 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
34628 maybe-all-stage1-lto-plugin:
34629 maybe-clean-stage1-lto-plugin:
34630 @if lto-plugin-bootstrap
34631 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
34632 all-stage1: all-stage1-lto-plugin
34633 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
34634 all-stage1-lto-plugin: configure-stage1-lto-plugin
34635 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34636 @r=`${PWD_COMMAND}`; export r; \
34637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34638 TFLAGS="$(STAGE1_TFLAGS)"; \
34639 $(HOST_EXPORTS) \
34640 cd $(HOST_SUBDIR)/lto-plugin && \
34642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34643 CFLAGS="$(STAGE1_CFLAGS)" \
34644 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
34645 LIBCFLAGS="$(LIBCFLAGS)" \
34646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34649 $(EXTRA_HOST_FLAGS) \
34650 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34651 TFLAGS="$(STAGE1_TFLAGS)" \
34652 $(TARGET-stage1-lto-plugin)
34654 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
34655 clean-stage1: clean-stage1-lto-plugin
34656 clean-stage1-lto-plugin:
34657 @if [ $(current_stage) = stage1 ]; then \
34658 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34659 else \
34660 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
34661 $(MAKE) stage1-start; \
34662 fi; \
34663 cd $(HOST_SUBDIR)/lto-plugin && \
34664 $(MAKE) $(EXTRA_HOST_FLAGS) \
34665 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34666 @endif lto-plugin-bootstrap
34669 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
34670 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
34671 maybe-all-stage2-lto-plugin:
34672 maybe-clean-stage2-lto-plugin:
34673 @if lto-plugin-bootstrap
34674 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
34675 all-stage2: all-stage2-lto-plugin
34676 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
34677 all-stage2-lto-plugin: configure-stage2-lto-plugin
34678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34679 @r=`${PWD_COMMAND}`; export r; \
34680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34681 TFLAGS="$(STAGE2_TFLAGS)"; \
34682 $(HOST_EXPORTS) \
34683 $(POSTSTAGE1_HOST_EXPORTS) \
34684 cd $(HOST_SUBDIR)/lto-plugin && \
34686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34687 CFLAGS="$(STAGE2_CFLAGS)" \
34688 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
34689 LIBCFLAGS="$(STAGE2_CFLAGS)" \
34690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34693 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34694 TFLAGS="$(STAGE2_TFLAGS)" \
34695 $(TARGET-stage2-lto-plugin)
34697 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
34698 clean-stage2: clean-stage2-lto-plugin
34699 clean-stage2-lto-plugin:
34700 @if [ $(current_stage) = stage2 ]; then \
34701 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34702 else \
34703 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
34704 $(MAKE) stage2-start; \
34705 fi; \
34706 cd $(HOST_SUBDIR)/lto-plugin && \
34707 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34708 @endif lto-plugin-bootstrap
34711 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
34712 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
34713 maybe-all-stage3-lto-plugin:
34714 maybe-clean-stage3-lto-plugin:
34715 @if lto-plugin-bootstrap
34716 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
34717 all-stage3: all-stage3-lto-plugin
34718 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
34719 all-stage3-lto-plugin: configure-stage3-lto-plugin
34720 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34721 @r=`${PWD_COMMAND}`; export r; \
34722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34723 TFLAGS="$(STAGE3_TFLAGS)"; \
34724 $(HOST_EXPORTS) \
34725 $(POSTSTAGE1_HOST_EXPORTS) \
34726 cd $(HOST_SUBDIR)/lto-plugin && \
34728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34729 CFLAGS="$(STAGE3_CFLAGS)" \
34730 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
34731 LIBCFLAGS="$(STAGE3_CFLAGS)" \
34732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34736 TFLAGS="$(STAGE3_TFLAGS)" \
34737 $(TARGET-stage3-lto-plugin)
34739 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
34740 clean-stage3: clean-stage3-lto-plugin
34741 clean-stage3-lto-plugin:
34742 @if [ $(current_stage) = stage3 ]; then \
34743 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34744 else \
34745 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
34746 $(MAKE) stage3-start; \
34747 fi; \
34748 cd $(HOST_SUBDIR)/lto-plugin && \
34749 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34750 @endif lto-plugin-bootstrap
34753 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
34754 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
34755 maybe-all-stage4-lto-plugin:
34756 maybe-clean-stage4-lto-plugin:
34757 @if lto-plugin-bootstrap
34758 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
34759 all-stage4: all-stage4-lto-plugin
34760 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
34761 all-stage4-lto-plugin: configure-stage4-lto-plugin
34762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34763 @r=`${PWD_COMMAND}`; export r; \
34764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34765 TFLAGS="$(STAGE4_TFLAGS)"; \
34766 $(HOST_EXPORTS) \
34767 $(POSTSTAGE1_HOST_EXPORTS) \
34768 cd $(HOST_SUBDIR)/lto-plugin && \
34770 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34771 CFLAGS="$(STAGE4_CFLAGS)" \
34772 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
34773 LIBCFLAGS="$(STAGE4_CFLAGS)" \
34774 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34775 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34776 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34777 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34778 TFLAGS="$(STAGE4_TFLAGS)" \
34779 $(TARGET-stage4-lto-plugin)
34781 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
34782 clean-stage4: clean-stage4-lto-plugin
34783 clean-stage4-lto-plugin:
34784 @if [ $(current_stage) = stage4 ]; then \
34785 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34786 else \
34787 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
34788 $(MAKE) stage4-start; \
34789 fi; \
34790 cd $(HOST_SUBDIR)/lto-plugin && \
34791 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34792 @endif lto-plugin-bootstrap
34795 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
34796 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
34797 maybe-all-stageprofile-lto-plugin:
34798 maybe-clean-stageprofile-lto-plugin:
34799 @if lto-plugin-bootstrap
34800 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
34801 all-stageprofile: all-stageprofile-lto-plugin
34802 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
34803 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34804 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34805 @r=`${PWD_COMMAND}`; export r; \
34806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34807 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34808 $(HOST_EXPORTS) \
34809 $(POSTSTAGE1_HOST_EXPORTS) \
34810 cd $(HOST_SUBDIR)/lto-plugin && \
34812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34813 CFLAGS="$(STAGEprofile_CFLAGS)" \
34814 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
34815 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
34816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34819 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34820 TFLAGS="$(STAGEprofile_TFLAGS)" \
34821 $(TARGET-stageprofile-lto-plugin)
34823 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
34824 clean-stageprofile: clean-stageprofile-lto-plugin
34825 clean-stageprofile-lto-plugin:
34826 @if [ $(current_stage) = stageprofile ]; then \
34827 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34828 else \
34829 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
34830 $(MAKE) stageprofile-start; \
34831 fi; \
34832 cd $(HOST_SUBDIR)/lto-plugin && \
34833 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34834 @endif lto-plugin-bootstrap
34837 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
34838 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
34839 maybe-all-stagefeedback-lto-plugin:
34840 maybe-clean-stagefeedback-lto-plugin:
34841 @if lto-plugin-bootstrap
34842 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
34843 all-stagefeedback: all-stagefeedback-lto-plugin
34844 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
34845 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34846 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34847 @r=`${PWD_COMMAND}`; export r; \
34848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34849 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34850 $(HOST_EXPORTS) \
34851 $(POSTSTAGE1_HOST_EXPORTS) \
34852 cd $(HOST_SUBDIR)/lto-plugin && \
34854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34855 CFLAGS="$(STAGEfeedback_CFLAGS)" \
34856 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
34857 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
34858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34861 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34862 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34863 $(TARGET-stagefeedback-lto-plugin)
34865 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
34866 clean-stagefeedback: clean-stagefeedback-lto-plugin
34867 clean-stagefeedback-lto-plugin:
34868 @if [ $(current_stage) = stagefeedback ]; then \
34869 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34870 else \
34871 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
34872 $(MAKE) stagefeedback-start; \
34873 fi; \
34874 cd $(HOST_SUBDIR)/lto-plugin && \
34875 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34876 @endif lto-plugin-bootstrap
34879 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
34880 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
34881 maybe-all-stageautoprofile-lto-plugin:
34882 maybe-clean-stageautoprofile-lto-plugin:
34883 @if lto-plugin-bootstrap
34884 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
34885 all-stageautoprofile: all-stageautoprofile-lto-plugin
34886 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
34887 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34888 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34889 @r=`${PWD_COMMAND}`; export r; \
34890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34891 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34892 $(HOST_EXPORTS) \
34893 $(POSTSTAGE1_HOST_EXPORTS) \
34894 cd $(HOST_SUBDIR)/lto-plugin && \
34895 $$s/gcc/config/i386/$(AUTO_PROFILE) \
34896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34897 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
34898 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
34899 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
34900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34903 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34904 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
34905 $(TARGET-stageautoprofile-lto-plugin)
34907 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
34908 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
34909 clean-stageautoprofile-lto-plugin:
34910 @if [ $(current_stage) = stageautoprofile ]; then \
34911 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34912 else \
34913 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
34914 $(MAKE) stageautoprofile-start; \
34915 fi; \
34916 cd $(HOST_SUBDIR)/lto-plugin && \
34917 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34918 @endif lto-plugin-bootstrap
34921 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
34922 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
34923 maybe-all-stageautofeedback-lto-plugin:
34924 maybe-clean-stageautofeedback-lto-plugin:
34925 @if lto-plugin-bootstrap
34926 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
34927 all-stageautofeedback: all-stageautofeedback-lto-plugin
34928 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
34929 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34930 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34931 @r=`${PWD_COMMAND}`; export r; \
34932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34933 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34934 $(HOST_EXPORTS) \
34935 $(POSTSTAGE1_HOST_EXPORTS) \
34936 cd $(HOST_SUBDIR)/lto-plugin && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34939 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
34940 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
34941 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
34942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34946 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
34947 $(TARGET-stageautofeedback-lto-plugin)
34949 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
34950 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
34951 clean-stageautofeedback-lto-plugin:
34952 @if [ $(current_stage) = stageautofeedback ]; then \
34953 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34954 else \
34955 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
34956 $(MAKE) stageautofeedback-start; \
34957 fi; \
34958 cd $(HOST_SUBDIR)/lto-plugin && \
34959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34960 @endif lto-plugin-bootstrap
34966 .PHONY: check-lto-plugin maybe-check-lto-plugin
34967 maybe-check-lto-plugin:
34968 @if lto-plugin
34969 maybe-check-lto-plugin: check-lto-plugin
34971 check-lto-plugin:
34972 @: $(MAKE); $(unstage)
34973 @r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
34976 (cd $(HOST_SUBDIR)/lto-plugin && \
34977 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
34979 @endif lto-plugin
34981 .PHONY: install-lto-plugin maybe-install-lto-plugin
34982 maybe-install-lto-plugin:
34983 @if lto-plugin
34984 maybe-install-lto-plugin: install-lto-plugin
34986 install-lto-plugin: installdirs
34987 @: $(MAKE); $(unstage)
34988 @r=`${PWD_COMMAND}`; export r; \
34989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34990 $(HOST_EXPORTS) \
34991 (cd $(HOST_SUBDIR)/lto-plugin && \
34992 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
34994 @endif lto-plugin
34996 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
34997 maybe-install-strip-lto-plugin:
34998 @if lto-plugin
34999 maybe-install-strip-lto-plugin: install-strip-lto-plugin
35001 install-strip-lto-plugin: installdirs
35002 @: $(MAKE); $(unstage)
35003 @r=`${PWD_COMMAND}`; export r; \
35004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35005 $(HOST_EXPORTS) \
35006 (cd $(HOST_SUBDIR)/lto-plugin && \
35007 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
35009 @endif lto-plugin
35011 # Other targets (info, dvi, pdf, etc.)
35013 .PHONY: maybe-info-lto-plugin info-lto-plugin
35014 maybe-info-lto-plugin:
35015 @if lto-plugin
35016 maybe-info-lto-plugin: info-lto-plugin
35018 info-lto-plugin: \
35019 configure-lto-plugin
35020 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35021 r=`${PWD_COMMAND}`; export r; \
35022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35023 $(HOST_EXPORTS) \
35024 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35026 done; \
35027 echo "Doing info in lto-plugin"; \
35028 (cd $(HOST_SUBDIR)/lto-plugin && \
35029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35031 "RANLIB=$${RANLIB}" \
35032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35033 info) \
35034 || exit 1
35036 @endif lto-plugin
35038 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
35039 maybe-dvi-lto-plugin:
35040 @if lto-plugin
35041 maybe-dvi-lto-plugin: dvi-lto-plugin
35043 dvi-lto-plugin: \
35044 configure-lto-plugin
35045 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35046 r=`${PWD_COMMAND}`; export r; \
35047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35048 $(HOST_EXPORTS) \
35049 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35051 done; \
35052 echo "Doing dvi in lto-plugin"; \
35053 (cd $(HOST_SUBDIR)/lto-plugin && \
35054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35056 "RANLIB=$${RANLIB}" \
35057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35058 dvi) \
35059 || exit 1
35061 @endif lto-plugin
35063 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
35064 maybe-pdf-lto-plugin:
35065 @if lto-plugin
35066 maybe-pdf-lto-plugin: pdf-lto-plugin
35068 pdf-lto-plugin: \
35069 configure-lto-plugin
35070 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35071 r=`${PWD_COMMAND}`; export r; \
35072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35073 $(HOST_EXPORTS) \
35074 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35076 done; \
35077 echo "Doing pdf in lto-plugin"; \
35078 (cd $(HOST_SUBDIR)/lto-plugin && \
35079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35081 "RANLIB=$${RANLIB}" \
35082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35083 pdf) \
35084 || exit 1
35086 @endif lto-plugin
35088 .PHONY: maybe-html-lto-plugin html-lto-plugin
35089 maybe-html-lto-plugin:
35090 @if lto-plugin
35091 maybe-html-lto-plugin: html-lto-plugin
35093 html-lto-plugin: \
35094 configure-lto-plugin
35095 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35096 r=`${PWD_COMMAND}`; export r; \
35097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35098 $(HOST_EXPORTS) \
35099 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35101 done; \
35102 echo "Doing html in lto-plugin"; \
35103 (cd $(HOST_SUBDIR)/lto-plugin && \
35104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35106 "RANLIB=$${RANLIB}" \
35107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35108 html) \
35109 || exit 1
35111 @endif lto-plugin
35113 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
35114 maybe-TAGS-lto-plugin:
35115 @if lto-plugin
35116 maybe-TAGS-lto-plugin: TAGS-lto-plugin
35118 TAGS-lto-plugin: \
35119 configure-lto-plugin
35120 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35121 r=`${PWD_COMMAND}`; export r; \
35122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35123 $(HOST_EXPORTS) \
35124 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35126 done; \
35127 echo "Doing TAGS in lto-plugin"; \
35128 (cd $(HOST_SUBDIR)/lto-plugin && \
35129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35131 "RANLIB=$${RANLIB}" \
35132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35133 TAGS) \
35134 || exit 1
35136 @endif lto-plugin
35138 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
35139 maybe-install-info-lto-plugin:
35140 @if lto-plugin
35141 maybe-install-info-lto-plugin: install-info-lto-plugin
35143 install-info-lto-plugin: \
35144 configure-lto-plugin \
35145 info-lto-plugin
35146 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35147 r=`${PWD_COMMAND}`; export r; \
35148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35149 $(HOST_EXPORTS) \
35150 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35152 done; \
35153 echo "Doing install-info in lto-plugin"; \
35154 (cd $(HOST_SUBDIR)/lto-plugin && \
35155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35157 "RANLIB=$${RANLIB}" \
35158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35159 install-info) \
35160 || exit 1
35162 @endif lto-plugin
35164 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
35165 maybe-install-pdf-lto-plugin:
35166 @if lto-plugin
35167 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
35169 install-pdf-lto-plugin: \
35170 configure-lto-plugin \
35171 pdf-lto-plugin
35172 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35173 r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 $(HOST_EXPORTS) \
35176 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35178 done; \
35179 echo "Doing install-pdf in lto-plugin"; \
35180 (cd $(HOST_SUBDIR)/lto-plugin && \
35181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35183 "RANLIB=$${RANLIB}" \
35184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35185 install-pdf) \
35186 || exit 1
35188 @endif lto-plugin
35190 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
35191 maybe-install-html-lto-plugin:
35192 @if lto-plugin
35193 maybe-install-html-lto-plugin: install-html-lto-plugin
35195 install-html-lto-plugin: \
35196 configure-lto-plugin \
35197 html-lto-plugin
35198 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35199 r=`${PWD_COMMAND}`; export r; \
35200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35201 $(HOST_EXPORTS) \
35202 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35204 done; \
35205 echo "Doing install-html in lto-plugin"; \
35206 (cd $(HOST_SUBDIR)/lto-plugin && \
35207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35209 "RANLIB=$${RANLIB}" \
35210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35211 install-html) \
35212 || exit 1
35214 @endif lto-plugin
35216 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
35217 maybe-installcheck-lto-plugin:
35218 @if lto-plugin
35219 maybe-installcheck-lto-plugin: installcheck-lto-plugin
35221 installcheck-lto-plugin: \
35222 configure-lto-plugin
35223 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35224 r=`${PWD_COMMAND}`; export r; \
35225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35226 $(HOST_EXPORTS) \
35227 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35229 done; \
35230 echo "Doing installcheck in lto-plugin"; \
35231 (cd $(HOST_SUBDIR)/lto-plugin && \
35232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35234 "RANLIB=$${RANLIB}" \
35235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35236 installcheck) \
35237 || exit 1
35239 @endif lto-plugin
35241 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
35242 maybe-mostlyclean-lto-plugin:
35243 @if lto-plugin
35244 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
35246 mostlyclean-lto-plugin:
35247 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35248 r=`${PWD_COMMAND}`; export r; \
35249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35250 $(HOST_EXPORTS) \
35251 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35253 done; \
35254 echo "Doing mostlyclean in lto-plugin"; \
35255 (cd $(HOST_SUBDIR)/lto-plugin && \
35256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35258 "RANLIB=$${RANLIB}" \
35259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35260 mostlyclean) \
35261 || exit 1
35263 @endif lto-plugin
35265 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
35266 maybe-clean-lto-plugin:
35267 @if lto-plugin
35268 maybe-clean-lto-plugin: clean-lto-plugin
35270 clean-lto-plugin:
35271 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35272 r=`${PWD_COMMAND}`; export r; \
35273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35274 $(HOST_EXPORTS) \
35275 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35277 done; \
35278 echo "Doing clean in lto-plugin"; \
35279 (cd $(HOST_SUBDIR)/lto-plugin && \
35280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35282 "RANLIB=$${RANLIB}" \
35283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35284 clean) \
35285 || exit 1
35287 @endif lto-plugin
35289 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
35290 maybe-distclean-lto-plugin:
35291 @if lto-plugin
35292 maybe-distclean-lto-plugin: distclean-lto-plugin
35294 distclean-lto-plugin:
35295 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35296 r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 $(HOST_EXPORTS) \
35299 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35301 done; \
35302 echo "Doing distclean in lto-plugin"; \
35303 (cd $(HOST_SUBDIR)/lto-plugin && \
35304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35306 "RANLIB=$${RANLIB}" \
35307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35308 distclean) \
35309 || exit 1
35311 @endif lto-plugin
35313 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
35314 maybe-maintainer-clean-lto-plugin:
35315 @if lto-plugin
35316 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
35318 maintainer-clean-lto-plugin:
35319 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35320 r=`${PWD_COMMAND}`; export r; \
35321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35322 $(HOST_EXPORTS) \
35323 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35325 done; \
35326 echo "Doing maintainer-clean in lto-plugin"; \
35327 (cd $(HOST_SUBDIR)/lto-plugin && \
35328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35330 "RANLIB=$${RANLIB}" \
35331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35332 maintainer-clean) \
35333 || exit 1
35335 @endif lto-plugin
35339 .PHONY: configure-libcc1 maybe-configure-libcc1
35340 maybe-configure-libcc1:
35341 @if gcc-bootstrap
35342 configure-libcc1: stage_current
35343 @endif gcc-bootstrap
35344 @if libcc1
35345 maybe-configure-libcc1: configure-libcc1
35346 configure-libcc1:
35347 @: $(MAKE); $(unstage)
35348 @r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
35351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
35352 $(HOST_EXPORTS) \
35353 echo Configuring in $(HOST_SUBDIR)/libcc1; \
35354 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
35355 case $(srcdir) in \
35356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35357 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
35358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35359 esac; \
35360 module_srcdir=libcc1; \
35361 $(SHELL) \
35362 $$s/$$module_srcdir/configure \
35363 --srcdir=$${topdir}/$$module_srcdir \
35364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35365 --target=${target_alias} --enable-shared \
35366 || exit 1
35367 @endif libcc1
35373 .PHONY: all-libcc1 maybe-all-libcc1
35374 maybe-all-libcc1:
35375 @if gcc-bootstrap
35376 all-libcc1: stage_current
35377 @endif gcc-bootstrap
35378 @if libcc1
35379 TARGET-libcc1=all
35380 maybe-all-libcc1: all-libcc1
35381 all-libcc1: configure-libcc1
35382 @: $(MAKE); $(unstage)
35383 @r=`${PWD_COMMAND}`; export r; \
35384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35385 $(HOST_EXPORTS) \
35386 (cd $(HOST_SUBDIR)/libcc1 && \
35387 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35388 $(TARGET-libcc1))
35389 @endif libcc1
35394 .PHONY: check-libcc1 maybe-check-libcc1
35395 maybe-check-libcc1:
35396 @if libcc1
35397 maybe-check-libcc1: check-libcc1
35399 check-libcc1:
35400 @: $(MAKE); $(unstage)
35401 @r=`${PWD_COMMAND}`; export r; \
35402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35403 $(HOST_EXPORTS) \
35404 (cd $(HOST_SUBDIR)/libcc1 && \
35405 $(MAKE) $(FLAGS_TO_PASS) check)
35407 @endif libcc1
35409 .PHONY: install-libcc1 maybe-install-libcc1
35410 maybe-install-libcc1:
35411 @if libcc1
35412 maybe-install-libcc1: install-libcc1
35414 install-libcc1: installdirs
35415 @: $(MAKE); $(unstage)
35416 @r=`${PWD_COMMAND}`; export r; \
35417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35418 $(HOST_EXPORTS) \
35419 (cd $(HOST_SUBDIR)/libcc1 && \
35420 $(MAKE) $(FLAGS_TO_PASS) install)
35422 @endif libcc1
35424 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
35425 maybe-install-strip-libcc1:
35426 @if libcc1
35427 maybe-install-strip-libcc1: install-strip-libcc1
35429 install-strip-libcc1: installdirs
35430 @: $(MAKE); $(unstage)
35431 @r=`${PWD_COMMAND}`; export r; \
35432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35433 $(HOST_EXPORTS) \
35434 (cd $(HOST_SUBDIR)/libcc1 && \
35435 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35437 @endif libcc1
35439 # Other targets (info, dvi, pdf, etc.)
35441 .PHONY: maybe-info-libcc1 info-libcc1
35442 maybe-info-libcc1:
35443 @if libcc1
35444 maybe-info-libcc1: info-libcc1
35446 info-libcc1: \
35447 configure-libcc1
35448 @: $(MAKE); $(unstage)
35449 @[ -f ./libcc1/Makefile ] || exit 0; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(HOST_EXPORTS) \
35453 for flag in $(EXTRA_HOST_FLAGS) ; do \
35454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35455 done; \
35456 echo "Doing info in libcc1"; \
35457 (cd $(HOST_SUBDIR)/libcc1 && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 info) \
35463 || exit 1
35465 @endif libcc1
35467 .PHONY: maybe-dvi-libcc1 dvi-libcc1
35468 maybe-dvi-libcc1:
35469 @if libcc1
35470 maybe-dvi-libcc1: dvi-libcc1
35472 dvi-libcc1: \
35473 configure-libcc1
35474 @: $(MAKE); $(unstage)
35475 @[ -f ./libcc1/Makefile ] || exit 0; \
35476 r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(HOST_EXPORTS) \
35479 for flag in $(EXTRA_HOST_FLAGS) ; do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 echo "Doing dvi in libcc1"; \
35483 (cd $(HOST_SUBDIR)/libcc1 && \
35484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35486 "RANLIB=$${RANLIB}" \
35487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35488 dvi) \
35489 || exit 1
35491 @endif libcc1
35493 .PHONY: maybe-pdf-libcc1 pdf-libcc1
35494 maybe-pdf-libcc1:
35495 @if libcc1
35496 maybe-pdf-libcc1: pdf-libcc1
35498 pdf-libcc1: \
35499 configure-libcc1
35500 @: $(MAKE); $(unstage)
35501 @[ -f ./libcc1/Makefile ] || exit 0; \
35502 r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(HOST_EXPORTS) \
35505 for flag in $(EXTRA_HOST_FLAGS) ; do \
35506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35507 done; \
35508 echo "Doing pdf in libcc1"; \
35509 (cd $(HOST_SUBDIR)/libcc1 && \
35510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35512 "RANLIB=$${RANLIB}" \
35513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35514 pdf) \
35515 || exit 1
35517 @endif libcc1
35519 .PHONY: maybe-html-libcc1 html-libcc1
35520 maybe-html-libcc1:
35521 @if libcc1
35522 maybe-html-libcc1: html-libcc1
35524 html-libcc1: \
35525 configure-libcc1
35526 @: $(MAKE); $(unstage)
35527 @[ -f ./libcc1/Makefile ] || exit 0; \
35528 r=`${PWD_COMMAND}`; export r; \
35529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35530 $(HOST_EXPORTS) \
35531 for flag in $(EXTRA_HOST_FLAGS) ; do \
35532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35533 done; \
35534 echo "Doing html in libcc1"; \
35535 (cd $(HOST_SUBDIR)/libcc1 && \
35536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35538 "RANLIB=$${RANLIB}" \
35539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35540 html) \
35541 || exit 1
35543 @endif libcc1
35545 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
35546 maybe-TAGS-libcc1:
35547 @if libcc1
35548 maybe-TAGS-libcc1: TAGS-libcc1
35550 TAGS-libcc1: \
35551 configure-libcc1
35552 @: $(MAKE); $(unstage)
35553 @[ -f ./libcc1/Makefile ] || exit 0; \
35554 r=`${PWD_COMMAND}`; export r; \
35555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35556 $(HOST_EXPORTS) \
35557 for flag in $(EXTRA_HOST_FLAGS) ; do \
35558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35559 done; \
35560 echo "Doing TAGS in libcc1"; \
35561 (cd $(HOST_SUBDIR)/libcc1 && \
35562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35564 "RANLIB=$${RANLIB}" \
35565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35566 TAGS) \
35567 || exit 1
35569 @endif libcc1
35571 .PHONY: maybe-install-info-libcc1 install-info-libcc1
35572 maybe-install-info-libcc1:
35573 @if libcc1
35574 maybe-install-info-libcc1: install-info-libcc1
35576 install-info-libcc1: \
35577 configure-libcc1 \
35578 info-libcc1
35579 @: $(MAKE); $(unstage)
35580 @[ -f ./libcc1/Makefile ] || exit 0; \
35581 r=`${PWD_COMMAND}`; export r; \
35582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35583 $(HOST_EXPORTS) \
35584 for flag in $(EXTRA_HOST_FLAGS) ; do \
35585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35586 done; \
35587 echo "Doing install-info in libcc1"; \
35588 (cd $(HOST_SUBDIR)/libcc1 && \
35589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35591 "RANLIB=$${RANLIB}" \
35592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35593 install-info) \
35594 || exit 1
35596 @endif libcc1
35598 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
35599 maybe-install-pdf-libcc1:
35600 @if libcc1
35601 maybe-install-pdf-libcc1: install-pdf-libcc1
35603 install-pdf-libcc1: \
35604 configure-libcc1 \
35605 pdf-libcc1
35606 @: $(MAKE); $(unstage)
35607 @[ -f ./libcc1/Makefile ] || exit 0; \
35608 r=`${PWD_COMMAND}`; export r; \
35609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35610 $(HOST_EXPORTS) \
35611 for flag in $(EXTRA_HOST_FLAGS) ; do \
35612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35613 done; \
35614 echo "Doing install-pdf in libcc1"; \
35615 (cd $(HOST_SUBDIR)/libcc1 && \
35616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35618 "RANLIB=$${RANLIB}" \
35619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35620 install-pdf) \
35621 || exit 1
35623 @endif libcc1
35625 .PHONY: maybe-install-html-libcc1 install-html-libcc1
35626 maybe-install-html-libcc1:
35627 @if libcc1
35628 maybe-install-html-libcc1: install-html-libcc1
35630 install-html-libcc1: \
35631 configure-libcc1 \
35632 html-libcc1
35633 @: $(MAKE); $(unstage)
35634 @[ -f ./libcc1/Makefile ] || exit 0; \
35635 r=`${PWD_COMMAND}`; export r; \
35636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35637 $(HOST_EXPORTS) \
35638 for flag in $(EXTRA_HOST_FLAGS) ; do \
35639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35640 done; \
35641 echo "Doing install-html in libcc1"; \
35642 (cd $(HOST_SUBDIR)/libcc1 && \
35643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35645 "RANLIB=$${RANLIB}" \
35646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35647 install-html) \
35648 || exit 1
35650 @endif libcc1
35652 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
35653 maybe-installcheck-libcc1:
35654 @if libcc1
35655 maybe-installcheck-libcc1: installcheck-libcc1
35657 installcheck-libcc1: \
35658 configure-libcc1
35659 @: $(MAKE); $(unstage)
35660 @[ -f ./libcc1/Makefile ] || exit 0; \
35661 r=`${PWD_COMMAND}`; export r; \
35662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35663 $(HOST_EXPORTS) \
35664 for flag in $(EXTRA_HOST_FLAGS) ; do \
35665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35666 done; \
35667 echo "Doing installcheck in libcc1"; \
35668 (cd $(HOST_SUBDIR)/libcc1 && \
35669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35671 "RANLIB=$${RANLIB}" \
35672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35673 installcheck) \
35674 || exit 1
35676 @endif libcc1
35678 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
35679 maybe-mostlyclean-libcc1:
35680 @if libcc1
35681 maybe-mostlyclean-libcc1: mostlyclean-libcc1
35683 mostlyclean-libcc1:
35684 @: $(MAKE); $(unstage)
35685 @[ -f ./libcc1/Makefile ] || exit 0; \
35686 r=`${PWD_COMMAND}`; export r; \
35687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35688 $(HOST_EXPORTS) \
35689 for flag in $(EXTRA_HOST_FLAGS) ; do \
35690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35691 done; \
35692 echo "Doing mostlyclean in libcc1"; \
35693 (cd $(HOST_SUBDIR)/libcc1 && \
35694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35696 "RANLIB=$${RANLIB}" \
35697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35698 mostlyclean) \
35699 || exit 1
35701 @endif libcc1
35703 .PHONY: maybe-clean-libcc1 clean-libcc1
35704 maybe-clean-libcc1:
35705 @if libcc1
35706 maybe-clean-libcc1: clean-libcc1
35708 clean-libcc1:
35709 @: $(MAKE); $(unstage)
35710 @[ -f ./libcc1/Makefile ] || exit 0; \
35711 r=`${PWD_COMMAND}`; export r; \
35712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35713 $(HOST_EXPORTS) \
35714 for flag in $(EXTRA_HOST_FLAGS) ; do \
35715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35716 done; \
35717 echo "Doing clean in libcc1"; \
35718 (cd $(HOST_SUBDIR)/libcc1 && \
35719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35721 "RANLIB=$${RANLIB}" \
35722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35723 clean) \
35724 || exit 1
35726 @endif libcc1
35728 .PHONY: maybe-distclean-libcc1 distclean-libcc1
35729 maybe-distclean-libcc1:
35730 @if libcc1
35731 maybe-distclean-libcc1: distclean-libcc1
35733 distclean-libcc1:
35734 @: $(MAKE); $(unstage)
35735 @[ -f ./libcc1/Makefile ] || exit 0; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 for flag in $(EXTRA_HOST_FLAGS) ; do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 echo "Doing distclean in libcc1"; \
35743 (cd $(HOST_SUBDIR)/libcc1 && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 distclean) \
35749 || exit 1
35751 @endif libcc1
35753 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
35754 maybe-maintainer-clean-libcc1:
35755 @if libcc1
35756 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
35758 maintainer-clean-libcc1:
35759 @: $(MAKE); $(unstage)
35760 @[ -f ./libcc1/Makefile ] || exit 0; \
35761 r=`${PWD_COMMAND}`; export r; \
35762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35763 $(HOST_EXPORTS) \
35764 for flag in $(EXTRA_HOST_FLAGS) ; do \
35765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35766 done; \
35767 echo "Doing maintainer-clean in libcc1"; \
35768 (cd $(HOST_SUBDIR)/libcc1 && \
35769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35771 "RANLIB=$${RANLIB}" \
35772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35773 maintainer-clean) \
35774 || exit 1
35776 @endif libcc1
35780 .PHONY: configure-gotools maybe-configure-gotools
35781 maybe-configure-gotools:
35782 @if gcc-bootstrap
35783 configure-gotools: stage_current
35784 @endif gcc-bootstrap
35785 @if gotools
35786 maybe-configure-gotools: configure-gotools
35787 configure-gotools:
35788 @: $(MAKE); $(unstage)
35789 @r=`${PWD_COMMAND}`; export r; \
35790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35791 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
35792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
35793 $(HOST_EXPORTS) \
35794 echo Configuring in $(HOST_SUBDIR)/gotools; \
35795 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
35796 case $(srcdir) in \
35797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35798 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
35799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35800 esac; \
35801 module_srcdir=gotools; \
35802 $(SHELL) \
35803 $$s/$$module_srcdir/configure \
35804 --srcdir=$${topdir}/$$module_srcdir \
35805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35806 --target=${target_alias} \
35807 || exit 1
35808 @endif gotools
35814 .PHONY: all-gotools maybe-all-gotools
35815 maybe-all-gotools:
35816 @if gcc-bootstrap
35817 all-gotools: stage_current
35818 @endif gcc-bootstrap
35819 @if gotools
35820 TARGET-gotools=all
35821 maybe-all-gotools: all-gotools
35822 all-gotools: configure-gotools
35823 @: $(MAKE); $(unstage)
35824 @r=`${PWD_COMMAND}`; export r; \
35825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35826 $(HOST_EXPORTS) \
35827 (cd $(HOST_SUBDIR)/gotools && \
35828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35829 $(TARGET-gotools))
35830 @endif gotools
35835 .PHONY: check-gotools maybe-check-gotools
35836 maybe-check-gotools:
35837 @if gotools
35838 maybe-check-gotools: check-gotools
35840 check-gotools:
35841 @: $(MAKE); $(unstage)
35842 @r=`${PWD_COMMAND}`; export r; \
35843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35844 $(HOST_EXPORTS) \
35845 (cd $(HOST_SUBDIR)/gotools && \
35846 $(MAKE) $(FLAGS_TO_PASS) check)
35848 @endif gotools
35850 .PHONY: install-gotools maybe-install-gotools
35851 maybe-install-gotools:
35852 @if gotools
35853 maybe-install-gotools: install-gotools
35855 install-gotools: installdirs
35856 @: $(MAKE); $(unstage)
35857 @r=`${PWD_COMMAND}`; export r; \
35858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35859 $(HOST_EXPORTS) \
35860 (cd $(HOST_SUBDIR)/gotools && \
35861 $(MAKE) $(FLAGS_TO_PASS) install)
35863 @endif gotools
35865 .PHONY: install-strip-gotools maybe-install-strip-gotools
35866 maybe-install-strip-gotools:
35867 @if gotools
35868 maybe-install-strip-gotools: install-strip-gotools
35870 install-strip-gotools: installdirs
35871 @: $(MAKE); $(unstage)
35872 @r=`${PWD_COMMAND}`; export r; \
35873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35874 $(HOST_EXPORTS) \
35875 (cd $(HOST_SUBDIR)/gotools && \
35876 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35878 @endif gotools
35880 # Other targets (info, dvi, pdf, etc.)
35882 .PHONY: maybe-info-gotools info-gotools
35883 maybe-info-gotools:
35884 @if gotools
35885 maybe-info-gotools: info-gotools
35887 info-gotools: \
35888 configure-gotools
35889 @: $(MAKE); $(unstage)
35890 @[ -f ./gotools/Makefile ] || exit 0; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(HOST_EXPORTS) \
35894 for flag in $(EXTRA_HOST_FLAGS) ; do \
35895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35896 done; \
35897 echo "Doing info in gotools"; \
35898 (cd $(HOST_SUBDIR)/gotools && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35903 info) \
35904 || exit 1
35906 @endif gotools
35908 .PHONY: maybe-dvi-gotools dvi-gotools
35909 maybe-dvi-gotools:
35910 @if gotools
35911 maybe-dvi-gotools: dvi-gotools
35913 dvi-gotools: \
35914 configure-gotools
35915 @: $(MAKE); $(unstage)
35916 @[ -f ./gotools/Makefile ] || exit 0; \
35917 r=`${PWD_COMMAND}`; export r; \
35918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35919 $(HOST_EXPORTS) \
35920 for flag in $(EXTRA_HOST_FLAGS) ; do \
35921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35922 done; \
35923 echo "Doing dvi in gotools"; \
35924 (cd $(HOST_SUBDIR)/gotools && \
35925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35927 "RANLIB=$${RANLIB}" \
35928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35929 dvi) \
35930 || exit 1
35932 @endif gotools
35934 .PHONY: maybe-pdf-gotools pdf-gotools
35935 maybe-pdf-gotools:
35936 @if gotools
35937 maybe-pdf-gotools: pdf-gotools
35939 pdf-gotools: \
35940 configure-gotools
35941 @: $(MAKE); $(unstage)
35942 @[ -f ./gotools/Makefile ] || exit 0; \
35943 r=`${PWD_COMMAND}`; export r; \
35944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35945 $(HOST_EXPORTS) \
35946 for flag in $(EXTRA_HOST_FLAGS) ; do \
35947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35948 done; \
35949 echo "Doing pdf in gotools"; \
35950 (cd $(HOST_SUBDIR)/gotools && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35953 "RANLIB=$${RANLIB}" \
35954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35955 pdf) \
35956 || exit 1
35958 @endif gotools
35960 .PHONY: maybe-html-gotools html-gotools
35961 maybe-html-gotools:
35962 @if gotools
35963 maybe-html-gotools: html-gotools
35965 html-gotools: \
35966 configure-gotools
35967 @: $(MAKE); $(unstage)
35968 @[ -f ./gotools/Makefile ] || exit 0; \
35969 r=`${PWD_COMMAND}`; export r; \
35970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35971 $(HOST_EXPORTS) \
35972 for flag in $(EXTRA_HOST_FLAGS) ; do \
35973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35974 done; \
35975 echo "Doing html in gotools"; \
35976 (cd $(HOST_SUBDIR)/gotools && \
35977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35979 "RANLIB=$${RANLIB}" \
35980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35981 html) \
35982 || exit 1
35984 @endif gotools
35986 .PHONY: maybe-TAGS-gotools TAGS-gotools
35987 maybe-TAGS-gotools:
35988 @if gotools
35989 maybe-TAGS-gotools: TAGS-gotools
35991 TAGS-gotools: \
35992 configure-gotools
35993 @: $(MAKE); $(unstage)
35994 @[ -f ./gotools/Makefile ] || exit 0; \
35995 r=`${PWD_COMMAND}`; export r; \
35996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35997 $(HOST_EXPORTS) \
35998 for flag in $(EXTRA_HOST_FLAGS) ; do \
35999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36000 done; \
36001 echo "Doing TAGS in gotools"; \
36002 (cd $(HOST_SUBDIR)/gotools && \
36003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36005 "RANLIB=$${RANLIB}" \
36006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36007 TAGS) \
36008 || exit 1
36010 @endif gotools
36012 .PHONY: maybe-install-info-gotools install-info-gotools
36013 maybe-install-info-gotools:
36014 @if gotools
36015 maybe-install-info-gotools: install-info-gotools
36017 install-info-gotools: \
36018 configure-gotools \
36019 info-gotools
36020 @: $(MAKE); $(unstage)
36021 @[ -f ./gotools/Makefile ] || exit 0; \
36022 r=`${PWD_COMMAND}`; export r; \
36023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36024 $(HOST_EXPORTS) \
36025 for flag in $(EXTRA_HOST_FLAGS) ; do \
36026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36027 done; \
36028 echo "Doing install-info in gotools"; \
36029 (cd $(HOST_SUBDIR)/gotools && \
36030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36032 "RANLIB=$${RANLIB}" \
36033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36034 install-info) \
36035 || exit 1
36037 @endif gotools
36039 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
36040 maybe-install-pdf-gotools:
36041 @if gotools
36042 maybe-install-pdf-gotools: install-pdf-gotools
36044 install-pdf-gotools: \
36045 configure-gotools \
36046 pdf-gotools
36047 @: $(MAKE); $(unstage)
36048 @[ -f ./gotools/Makefile ] || exit 0; \
36049 r=`${PWD_COMMAND}`; export r; \
36050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36051 $(HOST_EXPORTS) \
36052 for flag in $(EXTRA_HOST_FLAGS) ; do \
36053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36054 done; \
36055 echo "Doing install-pdf in gotools"; \
36056 (cd $(HOST_SUBDIR)/gotools && \
36057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36059 "RANLIB=$${RANLIB}" \
36060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36061 install-pdf) \
36062 || exit 1
36064 @endif gotools
36066 .PHONY: maybe-install-html-gotools install-html-gotools
36067 maybe-install-html-gotools:
36068 @if gotools
36069 maybe-install-html-gotools: install-html-gotools
36071 install-html-gotools: \
36072 configure-gotools \
36073 html-gotools
36074 @: $(MAKE); $(unstage)
36075 @[ -f ./gotools/Makefile ] || exit 0; \
36076 r=`${PWD_COMMAND}`; export r; \
36077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36078 $(HOST_EXPORTS) \
36079 for flag in $(EXTRA_HOST_FLAGS) ; do \
36080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36081 done; \
36082 echo "Doing install-html in gotools"; \
36083 (cd $(HOST_SUBDIR)/gotools && \
36084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36086 "RANLIB=$${RANLIB}" \
36087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36088 install-html) \
36089 || exit 1
36091 @endif gotools
36093 .PHONY: maybe-installcheck-gotools installcheck-gotools
36094 maybe-installcheck-gotools:
36095 @if gotools
36096 maybe-installcheck-gotools: installcheck-gotools
36098 installcheck-gotools: \
36099 configure-gotools
36100 @: $(MAKE); $(unstage)
36101 @[ -f ./gotools/Makefile ] || exit 0; \
36102 r=`${PWD_COMMAND}`; export r; \
36103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36104 $(HOST_EXPORTS) \
36105 for flag in $(EXTRA_HOST_FLAGS) ; do \
36106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36107 done; \
36108 echo "Doing installcheck in gotools"; \
36109 (cd $(HOST_SUBDIR)/gotools && \
36110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36112 "RANLIB=$${RANLIB}" \
36113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36114 installcheck) \
36115 || exit 1
36117 @endif gotools
36119 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
36120 maybe-mostlyclean-gotools:
36121 @if gotools
36122 maybe-mostlyclean-gotools: mostlyclean-gotools
36124 mostlyclean-gotools:
36125 @: $(MAKE); $(unstage)
36126 @[ -f ./gotools/Makefile ] || exit 0; \
36127 r=`${PWD_COMMAND}`; export r; \
36128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36129 $(HOST_EXPORTS) \
36130 for flag in $(EXTRA_HOST_FLAGS) ; do \
36131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36132 done; \
36133 echo "Doing mostlyclean in gotools"; \
36134 (cd $(HOST_SUBDIR)/gotools && \
36135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36137 "RANLIB=$${RANLIB}" \
36138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36139 mostlyclean) \
36140 || exit 1
36142 @endif gotools
36144 .PHONY: maybe-clean-gotools clean-gotools
36145 maybe-clean-gotools:
36146 @if gotools
36147 maybe-clean-gotools: clean-gotools
36149 clean-gotools:
36150 @: $(MAKE); $(unstage)
36151 @[ -f ./gotools/Makefile ] || exit 0; \
36152 r=`${PWD_COMMAND}`; export r; \
36153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36154 $(HOST_EXPORTS) \
36155 for flag in $(EXTRA_HOST_FLAGS) ; do \
36156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36157 done; \
36158 echo "Doing clean in gotools"; \
36159 (cd $(HOST_SUBDIR)/gotools && \
36160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36162 "RANLIB=$${RANLIB}" \
36163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36164 clean) \
36165 || exit 1
36167 @endif gotools
36169 .PHONY: maybe-distclean-gotools distclean-gotools
36170 maybe-distclean-gotools:
36171 @if gotools
36172 maybe-distclean-gotools: distclean-gotools
36174 distclean-gotools:
36175 @: $(MAKE); $(unstage)
36176 @[ -f ./gotools/Makefile ] || exit 0; \
36177 r=`${PWD_COMMAND}`; export r; \
36178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36179 $(HOST_EXPORTS) \
36180 for flag in $(EXTRA_HOST_FLAGS) ; do \
36181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36182 done; \
36183 echo "Doing distclean in gotools"; \
36184 (cd $(HOST_SUBDIR)/gotools && \
36185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36187 "RANLIB=$${RANLIB}" \
36188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36189 distclean) \
36190 || exit 1
36192 @endif gotools
36194 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
36195 maybe-maintainer-clean-gotools:
36196 @if gotools
36197 maybe-maintainer-clean-gotools: maintainer-clean-gotools
36199 maintainer-clean-gotools:
36200 @: $(MAKE); $(unstage)
36201 @[ -f ./gotools/Makefile ] || exit 0; \
36202 r=`${PWD_COMMAND}`; export r; \
36203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36204 $(HOST_EXPORTS) \
36205 for flag in $(EXTRA_HOST_FLAGS) ; do \
36206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36207 done; \
36208 echo "Doing maintainer-clean in gotools"; \
36209 (cd $(HOST_SUBDIR)/gotools && \
36210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36212 "RANLIB=$${RANLIB}" \
36213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36214 maintainer-clean) \
36215 || exit 1
36217 @endif gotools
36221 # ---------------------------------------
36222 # Modules which run on the target machine
36223 # ---------------------------------------
36228 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
36229 maybe-configure-target-libstdc++-v3:
36230 @if gcc-bootstrap
36231 configure-target-libstdc++-v3: stage_current
36232 @endif gcc-bootstrap
36233 @if target-libstdc++-v3
36234 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
36235 configure-target-libstdc++-v3:
36236 @r=`${PWD_COMMAND}`; export r; \
36237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36238 echo "Checking multilib configuration for libstdc++-v3..."; \
36239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36241 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36242 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36243 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36244 else \
36245 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36246 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36247 fi; \
36248 else \
36249 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36250 fi; \
36251 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36253 $(RAW_CXX_TARGET_EXPORTS) \
36254 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
36255 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
36256 case $(srcdir) in \
36257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36258 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36260 esac; \
36261 module_srcdir=libstdc++-v3; \
36262 rm -f no-such-file || : ; \
36263 CONFIG_SITE=no-such-file $(SHELL) \
36264 $$s/$$module_srcdir/configure \
36265 --srcdir=$${topdir}/$$module_srcdir \
36266 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36267 --target=${target_alias} \
36268 || exit 1
36269 @endif target-libstdc++-v3
36273 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
36274 maybe-configure-stage1-target-libstdc++-v3:
36275 @if target-libstdc++-v3-bootstrap
36276 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36277 configure-stage1-target-libstdc++-v3:
36278 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36279 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36280 @r=`${PWD_COMMAND}`; export r; \
36281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36282 TFLAGS="$(STAGE1_TFLAGS)"; \
36283 echo "Checking multilib configuration for libstdc++-v3..."; \
36284 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36285 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36286 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36287 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36288 else \
36289 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36290 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36291 fi; \
36292 else \
36293 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36294 fi; \
36295 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36296 $(RAW_CXX_TARGET_EXPORTS) \
36297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36300 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
36301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36302 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36303 case $(srcdir) in \
36304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36305 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36307 esac; \
36308 module_srcdir=libstdc++-v3; \
36309 $(SHELL) $$s/$$module_srcdir/configure \
36310 --srcdir=$${topdir}/$$module_srcdir \
36311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36312 --target=${target_alias} \
36314 $(STAGE1_CONFIGURE_FLAGS)
36315 @endif target-libstdc++-v3-bootstrap
36317 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
36318 maybe-configure-stage2-target-libstdc++-v3:
36319 @if target-libstdc++-v3-bootstrap
36320 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36321 configure-stage2-target-libstdc++-v3:
36322 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36324 @r=`${PWD_COMMAND}`; export r; \
36325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36326 TFLAGS="$(STAGE2_TFLAGS)"; \
36327 echo "Checking multilib configuration for libstdc++-v3..."; \
36328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36329 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36330 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36331 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36332 else \
36333 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36334 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36335 fi; \
36336 else \
36337 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36338 fi; \
36339 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36340 $(RAW_CXX_TARGET_EXPORTS) \
36342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36345 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
36346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36347 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36348 case $(srcdir) in \
36349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36350 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36352 esac; \
36353 module_srcdir=libstdc++-v3; \
36354 $(SHELL) $$s/$$module_srcdir/configure \
36355 --srcdir=$${topdir}/$$module_srcdir \
36356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36357 --target=${target_alias} \
36358 --with-build-libsubdir=$(HOST_SUBDIR) \
36359 $(STAGE2_CONFIGURE_FLAGS)
36360 @endif target-libstdc++-v3-bootstrap
36362 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
36363 maybe-configure-stage3-target-libstdc++-v3:
36364 @if target-libstdc++-v3-bootstrap
36365 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36366 configure-stage3-target-libstdc++-v3:
36367 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36369 @r=`${PWD_COMMAND}`; export r; \
36370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36371 TFLAGS="$(STAGE3_TFLAGS)"; \
36372 echo "Checking multilib configuration for libstdc++-v3..."; \
36373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36374 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36375 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36376 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36377 else \
36378 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36379 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36380 fi; \
36381 else \
36382 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36383 fi; \
36384 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36385 $(RAW_CXX_TARGET_EXPORTS) \
36387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36390 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
36391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36392 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36393 case $(srcdir) in \
36394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36395 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36397 esac; \
36398 module_srcdir=libstdc++-v3; \
36399 $(SHELL) $$s/$$module_srcdir/configure \
36400 --srcdir=$${topdir}/$$module_srcdir \
36401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36402 --target=${target_alias} \
36403 --with-build-libsubdir=$(HOST_SUBDIR) \
36404 $(STAGE3_CONFIGURE_FLAGS)
36405 @endif target-libstdc++-v3-bootstrap
36407 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
36408 maybe-configure-stage4-target-libstdc++-v3:
36409 @if target-libstdc++-v3-bootstrap
36410 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36411 configure-stage4-target-libstdc++-v3:
36412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36414 @r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 TFLAGS="$(STAGE4_TFLAGS)"; \
36417 echo "Checking multilib configuration for libstdc++-v3..."; \
36418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36419 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36420 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36421 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36422 else \
36423 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36424 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36425 fi; \
36426 else \
36427 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36428 fi; \
36429 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36430 $(RAW_CXX_TARGET_EXPORTS) \
36432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36435 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
36436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36437 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36438 case $(srcdir) in \
36439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36440 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36442 esac; \
36443 module_srcdir=libstdc++-v3; \
36444 $(SHELL) $$s/$$module_srcdir/configure \
36445 --srcdir=$${topdir}/$$module_srcdir \
36446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36447 --target=${target_alias} \
36448 --with-build-libsubdir=$(HOST_SUBDIR) \
36449 $(STAGE4_CONFIGURE_FLAGS)
36450 @endif target-libstdc++-v3-bootstrap
36452 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
36453 maybe-configure-stageprofile-target-libstdc++-v3:
36454 @if target-libstdc++-v3-bootstrap
36455 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36456 configure-stageprofile-target-libstdc++-v3:
36457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36458 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36459 @r=`${PWD_COMMAND}`; export r; \
36460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36462 echo "Checking multilib configuration for libstdc++-v3..."; \
36463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36464 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36465 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36466 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36467 else \
36468 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36469 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36470 fi; \
36471 else \
36472 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36473 fi; \
36474 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36475 $(RAW_CXX_TARGET_EXPORTS) \
36477 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36480 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
36481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36482 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36483 case $(srcdir) in \
36484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36485 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36487 esac; \
36488 module_srcdir=libstdc++-v3; \
36489 $(SHELL) $$s/$$module_srcdir/configure \
36490 --srcdir=$${topdir}/$$module_srcdir \
36491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36492 --target=${target_alias} \
36493 --with-build-libsubdir=$(HOST_SUBDIR) \
36494 $(STAGEprofile_CONFIGURE_FLAGS)
36495 @endif target-libstdc++-v3-bootstrap
36497 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
36498 maybe-configure-stagefeedback-target-libstdc++-v3:
36499 @if target-libstdc++-v3-bootstrap
36500 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36501 configure-stagefeedback-target-libstdc++-v3:
36502 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36503 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36504 @r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36507 echo "Checking multilib configuration for libstdc++-v3..."; \
36508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36509 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36510 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36511 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36512 else \
36513 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36514 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36515 fi; \
36516 else \
36517 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36518 fi; \
36519 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36520 $(RAW_CXX_TARGET_EXPORTS) \
36522 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36523 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36524 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36525 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36526 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36527 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36528 case $(srcdir) in \
36529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36530 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36532 esac; \
36533 module_srcdir=libstdc++-v3; \
36534 $(SHELL) $$s/$$module_srcdir/configure \
36535 --srcdir=$${topdir}/$$module_srcdir \
36536 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36537 --target=${target_alias} \
36538 --with-build-libsubdir=$(HOST_SUBDIR) \
36539 $(STAGEfeedback_CONFIGURE_FLAGS)
36540 @endif target-libstdc++-v3-bootstrap
36542 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
36543 maybe-configure-stageautoprofile-target-libstdc++-v3:
36544 @if target-libstdc++-v3-bootstrap
36545 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36546 configure-stageautoprofile-target-libstdc++-v3:
36547 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36548 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36549 @r=`${PWD_COMMAND}`; export r; \
36550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36551 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36552 echo "Checking multilib configuration for libstdc++-v3..."; \
36553 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36554 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36555 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36556 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36557 else \
36558 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36559 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36560 fi; \
36561 else \
36562 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36563 fi; \
36564 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36565 $(RAW_CXX_TARGET_EXPORTS) \
36567 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36569 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36570 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
36571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36572 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36573 case $(srcdir) in \
36574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36575 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36577 esac; \
36578 module_srcdir=libstdc++-v3; \
36579 $(SHELL) $$s/$$module_srcdir/configure \
36580 --srcdir=$${topdir}/$$module_srcdir \
36581 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36582 --target=${target_alias} \
36583 --with-build-libsubdir=$(HOST_SUBDIR) \
36584 $(STAGEautoprofile_CONFIGURE_FLAGS)
36585 @endif target-libstdc++-v3-bootstrap
36587 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
36588 maybe-configure-stageautofeedback-target-libstdc++-v3:
36589 @if target-libstdc++-v3-bootstrap
36590 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36591 configure-stageautofeedback-target-libstdc++-v3:
36592 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36593 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36594 @r=`${PWD_COMMAND}`; export r; \
36595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36596 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36597 echo "Checking multilib configuration for libstdc++-v3..."; \
36598 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36599 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36600 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36601 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36602 else \
36603 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36604 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36605 fi; \
36606 else \
36607 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36608 fi; \
36609 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36610 $(RAW_CXX_TARGET_EXPORTS) \
36612 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36613 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36614 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36615 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36616 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36617 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36618 case $(srcdir) in \
36619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36620 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36622 esac; \
36623 module_srcdir=libstdc++-v3; \
36624 $(SHELL) $$s/$$module_srcdir/configure \
36625 --srcdir=$${topdir}/$$module_srcdir \
36626 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36627 --target=${target_alias} \
36628 --with-build-libsubdir=$(HOST_SUBDIR) \
36629 $(STAGEautofeedback_CONFIGURE_FLAGS)
36630 @endif target-libstdc++-v3-bootstrap
36636 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
36637 maybe-all-target-libstdc++-v3:
36638 @if gcc-bootstrap
36639 all-target-libstdc++-v3: stage_current
36640 @endif gcc-bootstrap
36641 @if target-libstdc++-v3
36642 TARGET-target-libstdc++-v3=all
36643 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
36644 all-target-libstdc++-v3: configure-target-libstdc++-v3
36645 @r=`${PWD_COMMAND}`; export r; \
36646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36647 $(RAW_CXX_TARGET_EXPORTS) \
36648 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36649 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36650 $(TARGET-target-libstdc++-v3))
36651 @endif target-libstdc++-v3
36655 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
36656 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
36657 maybe-all-stage1-target-libstdc++-v3:
36658 maybe-clean-stage1-target-libstdc++-v3:
36659 @if target-libstdc++-v3-bootstrap
36660 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
36661 all-stage1: all-stage1-target-libstdc++-v3
36662 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36663 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36664 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36665 @r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 TFLAGS="$(STAGE1_TFLAGS)"; \
36668 $(RAW_CXX_TARGET_EXPORTS) \
36669 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36672 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36673 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36674 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36675 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36676 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36677 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36678 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36680 TFLAGS="$(STAGE1_TFLAGS)" \
36681 $(TARGET-stage1-target-libstdc++-v3)
36683 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
36684 clean-stage1: clean-stage1-target-libstdc++-v3
36685 clean-stage1-target-libstdc++-v3:
36686 @if [ $(current_stage) = stage1 ]; then \
36687 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36688 else \
36689 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
36690 $(MAKE) stage1-start; \
36691 fi; \
36692 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36693 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36694 clean
36695 @endif target-libstdc++-v3-bootstrap
36698 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
36699 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
36700 maybe-all-stage2-target-libstdc++-v3:
36701 maybe-clean-stage2-target-libstdc++-v3:
36702 @if target-libstdc++-v3-bootstrap
36703 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
36704 all-stage2: all-stage2-target-libstdc++-v3
36705 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36706 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36707 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36708 @r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 TFLAGS="$(STAGE2_TFLAGS)"; \
36711 $(RAW_CXX_TARGET_EXPORTS) \
36713 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36716 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36717 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36718 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36722 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36723 TFLAGS="$(STAGE2_TFLAGS)" \
36724 $(TARGET-stage2-target-libstdc++-v3)
36726 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
36727 clean-stage2: clean-stage2-target-libstdc++-v3
36728 clean-stage2-target-libstdc++-v3:
36729 @if [ $(current_stage) = stage2 ]; then \
36730 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36731 else \
36732 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
36733 $(MAKE) stage2-start; \
36734 fi; \
36735 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36736 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36737 @endif target-libstdc++-v3-bootstrap
36740 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
36741 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
36742 maybe-all-stage3-target-libstdc++-v3:
36743 maybe-clean-stage3-target-libstdc++-v3:
36744 @if target-libstdc++-v3-bootstrap
36745 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
36746 all-stage3: all-stage3-target-libstdc++-v3
36747 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36748 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36749 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36750 @r=`${PWD_COMMAND}`; export r; \
36751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36752 TFLAGS="$(STAGE3_TFLAGS)"; \
36753 $(RAW_CXX_TARGET_EXPORTS) \
36755 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36758 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36759 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36760 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36764 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36765 TFLAGS="$(STAGE3_TFLAGS)" \
36766 $(TARGET-stage3-target-libstdc++-v3)
36768 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
36769 clean-stage3: clean-stage3-target-libstdc++-v3
36770 clean-stage3-target-libstdc++-v3:
36771 @if [ $(current_stage) = stage3 ]; then \
36772 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36773 else \
36774 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
36775 $(MAKE) stage3-start; \
36776 fi; \
36777 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36778 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36779 @endif target-libstdc++-v3-bootstrap
36782 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
36783 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
36784 maybe-all-stage4-target-libstdc++-v3:
36785 maybe-clean-stage4-target-libstdc++-v3:
36786 @if target-libstdc++-v3-bootstrap
36787 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
36788 all-stage4: all-stage4-target-libstdc++-v3
36789 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36790 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36791 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36792 @r=`${PWD_COMMAND}`; export r; \
36793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36794 TFLAGS="$(STAGE4_TFLAGS)"; \
36795 $(RAW_CXX_TARGET_EXPORTS) \
36797 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36800 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36801 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36802 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36806 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36807 TFLAGS="$(STAGE4_TFLAGS)" \
36808 $(TARGET-stage4-target-libstdc++-v3)
36810 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
36811 clean-stage4: clean-stage4-target-libstdc++-v3
36812 clean-stage4-target-libstdc++-v3:
36813 @if [ $(current_stage) = stage4 ]; then \
36814 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36815 else \
36816 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
36817 $(MAKE) stage4-start; \
36818 fi; \
36819 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36820 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36821 @endif target-libstdc++-v3-bootstrap
36824 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
36825 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
36826 maybe-all-stageprofile-target-libstdc++-v3:
36827 maybe-clean-stageprofile-target-libstdc++-v3:
36828 @if target-libstdc++-v3-bootstrap
36829 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
36830 all-stageprofile: all-stageprofile-target-libstdc++-v3
36831 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36832 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36833 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36834 @r=`${PWD_COMMAND}`; export r; \
36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36836 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36837 $(RAW_CXX_TARGET_EXPORTS) \
36839 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36842 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36843 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36844 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36848 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36849 TFLAGS="$(STAGEprofile_TFLAGS)" \
36850 $(TARGET-stageprofile-target-libstdc++-v3)
36852 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
36853 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
36854 clean-stageprofile-target-libstdc++-v3:
36855 @if [ $(current_stage) = stageprofile ]; then \
36856 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36857 else \
36858 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
36859 $(MAKE) stageprofile-start; \
36860 fi; \
36861 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36862 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36863 @endif target-libstdc++-v3-bootstrap
36866 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
36867 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
36868 maybe-all-stagefeedback-target-libstdc++-v3:
36869 maybe-clean-stagefeedback-target-libstdc++-v3:
36870 @if target-libstdc++-v3-bootstrap
36871 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
36872 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
36873 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36874 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36875 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36876 @r=`${PWD_COMMAND}`; export r; \
36877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36879 $(RAW_CXX_TARGET_EXPORTS) \
36881 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36884 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36885 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36886 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36890 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36891 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36892 $(TARGET-stagefeedback-target-libstdc++-v3)
36894 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
36895 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
36896 clean-stagefeedback-target-libstdc++-v3:
36897 @if [ $(current_stage) = stagefeedback ]; then \
36898 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36899 else \
36900 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
36901 $(MAKE) stagefeedback-start; \
36902 fi; \
36903 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36904 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36905 @endif target-libstdc++-v3-bootstrap
36908 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
36909 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
36910 maybe-all-stageautoprofile-target-libstdc++-v3:
36911 maybe-clean-stageautoprofile-target-libstdc++-v3:
36912 @if target-libstdc++-v3-bootstrap
36913 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
36914 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
36915 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36916 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36917 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36918 @r=`${PWD_COMMAND}`; export r; \
36919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36920 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36921 $(RAW_CXX_TARGET_EXPORTS) \
36923 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36924 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36926 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36927 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36928 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36932 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36933 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36934 $(TARGET-stageautoprofile-target-libstdc++-v3)
36936 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
36937 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
36938 clean-stageautoprofile-target-libstdc++-v3:
36939 @if [ $(current_stage) = stageautoprofile ]; then \
36940 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36941 else \
36942 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
36943 $(MAKE) stageautoprofile-start; \
36944 fi; \
36945 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36946 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36947 @endif target-libstdc++-v3-bootstrap
36950 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
36951 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
36952 maybe-all-stageautofeedback-target-libstdc++-v3:
36953 maybe-clean-stageautofeedback-target-libstdc++-v3:
36954 @if target-libstdc++-v3-bootstrap
36955 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
36956 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
36957 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36958 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36959 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36963 $(RAW_CXX_TARGET_EXPORTS) \
36965 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36968 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36969 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36970 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36971 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36974 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36975 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36976 $(TARGET-stageautofeedback-target-libstdc++-v3)
36978 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
36979 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
36980 clean-stageautofeedback-target-libstdc++-v3:
36981 @if [ $(current_stage) = stageautofeedback ]; then \
36982 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36983 else \
36984 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
36985 $(MAKE) stageautofeedback-start; \
36986 fi; \
36987 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36988 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36989 @endif target-libstdc++-v3-bootstrap
36996 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
36997 maybe-check-target-libstdc++-v3:
36998 @if target-libstdc++-v3
36999 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
37001 check-target-libstdc++-v3:
37002 @: $(MAKE); $(unstage)
37003 @r=`${PWD_COMMAND}`; export r; \
37004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37005 $(RAW_CXX_TARGET_EXPORTS) \
37006 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37007 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37009 @endif target-libstdc++-v3
37011 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
37012 maybe-install-target-libstdc++-v3:
37013 @if target-libstdc++-v3
37014 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
37016 install-target-libstdc++-v3: installdirs
37017 @: $(MAKE); $(unstage)
37018 @r=`${PWD_COMMAND}`; export r; \
37019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37020 $(RAW_CXX_TARGET_EXPORTS) \
37021 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37024 @endif target-libstdc++-v3
37026 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
37027 maybe-install-strip-target-libstdc++-v3:
37028 @if target-libstdc++-v3
37029 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
37031 install-strip-target-libstdc++-v3: installdirs
37032 @: $(MAKE); $(unstage)
37033 @r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(RAW_CXX_TARGET_EXPORTS) \
37036 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37037 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37039 @endif target-libstdc++-v3
37041 # Other targets (info, dvi, pdf, etc.)
37043 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
37044 maybe-info-target-libstdc++-v3:
37045 @if target-libstdc++-v3
37046 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
37048 info-target-libstdc++-v3: \
37049 configure-target-libstdc++-v3
37050 @: $(MAKE); $(unstage)
37051 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37052 r=`${PWD_COMMAND}`; export r; \
37053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37054 $(RAW_CXX_TARGET_EXPORTS) \
37055 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37056 for flag in $(EXTRA_TARGET_FLAGS); do \
37057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37058 done; \
37059 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37062 "RANLIB=$${RANLIB}" \
37063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37064 info) \
37065 || exit 1
37067 @endif target-libstdc++-v3
37069 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
37070 maybe-dvi-target-libstdc++-v3:
37071 @if target-libstdc++-v3
37072 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
37074 dvi-target-libstdc++-v3: \
37075 configure-target-libstdc++-v3
37076 @: $(MAKE); $(unstage)
37077 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37078 r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 $(RAW_CXX_TARGET_EXPORTS) \
37081 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
37082 for flag in $(EXTRA_TARGET_FLAGS); do \
37083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37084 done; \
37085 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37088 "RANLIB=$${RANLIB}" \
37089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37090 dvi) \
37091 || exit 1
37093 @endif target-libstdc++-v3
37095 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
37096 maybe-pdf-target-libstdc++-v3:
37097 @if target-libstdc++-v3
37098 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
37100 pdf-target-libstdc++-v3: \
37101 configure-target-libstdc++-v3
37102 @: $(MAKE); $(unstage)
37103 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37104 r=`${PWD_COMMAND}`; export r; \
37105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37106 $(RAW_CXX_TARGET_EXPORTS) \
37107 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37108 for flag in $(EXTRA_TARGET_FLAGS); do \
37109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37110 done; \
37111 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37114 "RANLIB=$${RANLIB}" \
37115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37116 pdf) \
37117 || exit 1
37119 @endif target-libstdc++-v3
37121 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
37122 maybe-html-target-libstdc++-v3:
37123 @if target-libstdc++-v3
37124 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
37126 html-target-libstdc++-v3: \
37127 configure-target-libstdc++-v3
37128 @: $(MAKE); $(unstage)
37129 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37130 r=`${PWD_COMMAND}`; export r; \
37131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37132 $(RAW_CXX_TARGET_EXPORTS) \
37133 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37134 for flag in $(EXTRA_TARGET_FLAGS); do \
37135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37136 done; \
37137 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37140 "RANLIB=$${RANLIB}" \
37141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37142 html) \
37143 || exit 1
37145 @endif target-libstdc++-v3
37147 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
37148 maybe-TAGS-target-libstdc++-v3:
37149 @if target-libstdc++-v3
37150 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
37152 TAGS-target-libstdc++-v3: \
37153 configure-target-libstdc++-v3
37154 @: $(MAKE); $(unstage)
37155 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37156 r=`${PWD_COMMAND}`; export r; \
37157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37158 $(RAW_CXX_TARGET_EXPORTS) \
37159 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
37160 for flag in $(EXTRA_TARGET_FLAGS); do \
37161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37162 done; \
37163 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37166 "RANLIB=$${RANLIB}" \
37167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37168 TAGS) \
37169 || exit 1
37171 @endif target-libstdc++-v3
37173 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
37174 maybe-install-info-target-libstdc++-v3:
37175 @if target-libstdc++-v3
37176 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
37178 install-info-target-libstdc++-v3: \
37179 configure-target-libstdc++-v3 \
37180 info-target-libstdc++-v3
37181 @: $(MAKE); $(unstage)
37182 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37183 r=`${PWD_COMMAND}`; export r; \
37184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37185 $(RAW_CXX_TARGET_EXPORTS) \
37186 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37187 for flag in $(EXTRA_TARGET_FLAGS); do \
37188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37189 done; \
37190 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37193 "RANLIB=$${RANLIB}" \
37194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37195 install-info) \
37196 || exit 1
37198 @endif target-libstdc++-v3
37200 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
37201 maybe-install-pdf-target-libstdc++-v3:
37202 @if target-libstdc++-v3
37203 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
37205 install-pdf-target-libstdc++-v3: \
37206 configure-target-libstdc++-v3 \
37207 pdf-target-libstdc++-v3
37208 @: $(MAKE); $(unstage)
37209 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37210 r=`${PWD_COMMAND}`; export r; \
37211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37212 $(RAW_CXX_TARGET_EXPORTS) \
37213 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37214 for flag in $(EXTRA_TARGET_FLAGS); do \
37215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37216 done; \
37217 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37220 "RANLIB=$${RANLIB}" \
37221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37222 install-pdf) \
37223 || exit 1
37225 @endif target-libstdc++-v3
37227 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
37228 maybe-install-html-target-libstdc++-v3:
37229 @if target-libstdc++-v3
37230 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
37232 install-html-target-libstdc++-v3: \
37233 configure-target-libstdc++-v3 \
37234 html-target-libstdc++-v3
37235 @: $(MAKE); $(unstage)
37236 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37237 r=`${PWD_COMMAND}`; export r; \
37238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37239 $(RAW_CXX_TARGET_EXPORTS) \
37240 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37241 for flag in $(EXTRA_TARGET_FLAGS); do \
37242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37243 done; \
37244 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37247 "RANLIB=$${RANLIB}" \
37248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37249 install-html) \
37250 || exit 1
37252 @endif target-libstdc++-v3
37254 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
37255 maybe-installcheck-target-libstdc++-v3:
37256 @if target-libstdc++-v3
37257 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
37259 installcheck-target-libstdc++-v3: \
37260 configure-target-libstdc++-v3
37261 @: $(MAKE); $(unstage)
37262 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37263 r=`${PWD_COMMAND}`; export r; \
37264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37265 $(RAW_CXX_TARGET_EXPORTS) \
37266 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
37267 for flag in $(EXTRA_TARGET_FLAGS); do \
37268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37269 done; \
37270 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37273 "RANLIB=$${RANLIB}" \
37274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37275 installcheck) \
37276 || exit 1
37278 @endif target-libstdc++-v3
37280 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
37281 maybe-mostlyclean-target-libstdc++-v3:
37282 @if target-libstdc++-v3
37283 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
37285 mostlyclean-target-libstdc++-v3:
37286 @: $(MAKE); $(unstage)
37287 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37288 r=`${PWD_COMMAND}`; export r; \
37289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37290 $(RAW_CXX_TARGET_EXPORTS) \
37291 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37292 for flag in $(EXTRA_TARGET_FLAGS); do \
37293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37294 done; \
37295 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37298 "RANLIB=$${RANLIB}" \
37299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37300 mostlyclean) \
37301 || exit 1
37303 @endif target-libstdc++-v3
37305 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
37306 maybe-clean-target-libstdc++-v3:
37307 @if target-libstdc++-v3
37308 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
37310 clean-target-libstdc++-v3:
37311 @: $(MAKE); $(unstage)
37312 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37313 r=`${PWD_COMMAND}`; export r; \
37314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37315 $(RAW_CXX_TARGET_EXPORTS) \
37316 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37317 for flag in $(EXTRA_TARGET_FLAGS); do \
37318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37319 done; \
37320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37323 "RANLIB=$${RANLIB}" \
37324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37325 clean) \
37326 || exit 1
37328 @endif target-libstdc++-v3
37330 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
37331 maybe-distclean-target-libstdc++-v3:
37332 @if target-libstdc++-v3
37333 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
37335 distclean-target-libstdc++-v3:
37336 @: $(MAKE); $(unstage)
37337 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(RAW_CXX_TARGET_EXPORTS) \
37341 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37342 for flag in $(EXTRA_TARGET_FLAGS); do \
37343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37344 done; \
37345 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37350 distclean) \
37351 || exit 1
37353 @endif target-libstdc++-v3
37355 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
37356 maybe-maintainer-clean-target-libstdc++-v3:
37357 @if target-libstdc++-v3
37358 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
37360 maintainer-clean-target-libstdc++-v3:
37361 @: $(MAKE); $(unstage)
37362 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(RAW_CXX_TARGET_EXPORTS) \
37366 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37367 for flag in $(EXTRA_TARGET_FLAGS); do \
37368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37369 done; \
37370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37373 "RANLIB=$${RANLIB}" \
37374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37375 maintainer-clean) \
37376 || exit 1
37378 @endif target-libstdc++-v3
37384 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
37385 maybe-configure-target-libsanitizer:
37386 @if gcc-bootstrap
37387 configure-target-libsanitizer: stage_current
37388 @endif gcc-bootstrap
37389 @if target-libsanitizer
37390 maybe-configure-target-libsanitizer: configure-target-libsanitizer
37391 configure-target-libsanitizer:
37392 @r=`${PWD_COMMAND}`; export r; \
37393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37394 echo "Checking multilib configuration for libsanitizer..."; \
37395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37396 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37397 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37398 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37399 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37400 else \
37401 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37402 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37403 fi; \
37404 else \
37405 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37406 fi; \
37407 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37408 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37409 $(RAW_CXX_TARGET_EXPORTS) \
37410 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
37411 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
37412 case $(srcdir) in \
37413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37414 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37416 esac; \
37417 module_srcdir=libsanitizer; \
37418 rm -f no-such-file || : ; \
37419 CONFIG_SITE=no-such-file $(SHELL) \
37420 $$s/$$module_srcdir/configure \
37421 --srcdir=$${topdir}/$$module_srcdir \
37422 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37423 --target=${target_alias} \
37424 || exit 1
37425 @endif target-libsanitizer
37429 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
37430 maybe-configure-stage1-target-libsanitizer:
37431 @if target-libsanitizer-bootstrap
37432 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37433 configure-stage1-target-libsanitizer:
37434 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37435 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37436 @r=`${PWD_COMMAND}`; export r; \
37437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37438 TFLAGS="$(STAGE1_TFLAGS)"; \
37439 echo "Checking multilib configuration for libsanitizer..."; \
37440 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37441 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37442 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37443 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37444 else \
37445 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37446 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37447 fi; \
37448 else \
37449 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37450 fi; \
37451 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37452 $(RAW_CXX_TARGET_EXPORTS) \
37453 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37454 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37455 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37456 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
37457 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37458 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37459 case $(srcdir) in \
37460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37461 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37463 esac; \
37464 module_srcdir=libsanitizer; \
37465 $(SHELL) $$s/$$module_srcdir/configure \
37466 --srcdir=$${topdir}/$$module_srcdir \
37467 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37468 --target=${target_alias} \
37470 $(STAGE1_CONFIGURE_FLAGS)
37471 @endif target-libsanitizer-bootstrap
37473 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
37474 maybe-configure-stage2-target-libsanitizer:
37475 @if target-libsanitizer-bootstrap
37476 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37477 configure-stage2-target-libsanitizer:
37478 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37479 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37480 @r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 TFLAGS="$(STAGE2_TFLAGS)"; \
37483 echo "Checking multilib configuration for libsanitizer..."; \
37484 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37485 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37486 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37487 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37488 else \
37489 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37490 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37491 fi; \
37492 else \
37493 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37494 fi; \
37495 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37496 $(RAW_CXX_TARGET_EXPORTS) \
37498 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37499 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37500 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37501 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
37502 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37503 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37504 case $(srcdir) in \
37505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37506 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37508 esac; \
37509 module_srcdir=libsanitizer; \
37510 $(SHELL) $$s/$$module_srcdir/configure \
37511 --srcdir=$${topdir}/$$module_srcdir \
37512 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37513 --target=${target_alias} \
37514 --with-build-libsubdir=$(HOST_SUBDIR) \
37515 $(STAGE2_CONFIGURE_FLAGS)
37516 @endif target-libsanitizer-bootstrap
37518 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
37519 maybe-configure-stage3-target-libsanitizer:
37520 @if target-libsanitizer-bootstrap
37521 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37522 configure-stage3-target-libsanitizer:
37523 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37524 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37525 @r=`${PWD_COMMAND}`; export r; \
37526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37527 TFLAGS="$(STAGE3_TFLAGS)"; \
37528 echo "Checking multilib configuration for libsanitizer..."; \
37529 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37530 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37531 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37532 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37533 else \
37534 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37535 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37536 fi; \
37537 else \
37538 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37539 fi; \
37540 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37541 $(RAW_CXX_TARGET_EXPORTS) \
37543 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37544 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37545 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37546 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
37547 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37548 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37549 case $(srcdir) in \
37550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37551 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37553 esac; \
37554 module_srcdir=libsanitizer; \
37555 $(SHELL) $$s/$$module_srcdir/configure \
37556 --srcdir=$${topdir}/$$module_srcdir \
37557 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37558 --target=${target_alias} \
37559 --with-build-libsubdir=$(HOST_SUBDIR) \
37560 $(STAGE3_CONFIGURE_FLAGS)
37561 @endif target-libsanitizer-bootstrap
37563 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
37564 maybe-configure-stage4-target-libsanitizer:
37565 @if target-libsanitizer-bootstrap
37566 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37567 configure-stage4-target-libsanitizer:
37568 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37569 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37570 @r=`${PWD_COMMAND}`; export r; \
37571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37572 TFLAGS="$(STAGE4_TFLAGS)"; \
37573 echo "Checking multilib configuration for libsanitizer..."; \
37574 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37575 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37576 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37577 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37578 else \
37579 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37580 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37581 fi; \
37582 else \
37583 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37584 fi; \
37585 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37586 $(RAW_CXX_TARGET_EXPORTS) \
37588 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37589 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37590 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37591 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
37592 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37593 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37594 case $(srcdir) in \
37595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37596 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37598 esac; \
37599 module_srcdir=libsanitizer; \
37600 $(SHELL) $$s/$$module_srcdir/configure \
37601 --srcdir=$${topdir}/$$module_srcdir \
37602 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37603 --target=${target_alias} \
37604 --with-build-libsubdir=$(HOST_SUBDIR) \
37605 $(STAGE4_CONFIGURE_FLAGS)
37606 @endif target-libsanitizer-bootstrap
37608 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
37609 maybe-configure-stageprofile-target-libsanitizer:
37610 @if target-libsanitizer-bootstrap
37611 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
37612 configure-stageprofile-target-libsanitizer:
37613 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37614 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37615 @r=`${PWD_COMMAND}`; export r; \
37616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37617 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37618 echo "Checking multilib configuration for libsanitizer..."; \
37619 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37620 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37621 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37622 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37623 else \
37624 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37625 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37626 fi; \
37627 else \
37628 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37629 fi; \
37630 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37631 $(RAW_CXX_TARGET_EXPORTS) \
37633 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37634 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37635 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37636 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
37637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37638 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37639 case $(srcdir) in \
37640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37641 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37643 esac; \
37644 module_srcdir=libsanitizer; \
37645 $(SHELL) $$s/$$module_srcdir/configure \
37646 --srcdir=$${topdir}/$$module_srcdir \
37647 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37648 --target=${target_alias} \
37649 --with-build-libsubdir=$(HOST_SUBDIR) \
37650 $(STAGEprofile_CONFIGURE_FLAGS)
37651 @endif target-libsanitizer-bootstrap
37653 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
37654 maybe-configure-stagefeedback-target-libsanitizer:
37655 @if target-libsanitizer-bootstrap
37656 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
37657 configure-stagefeedback-target-libsanitizer:
37658 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37659 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37660 @r=`${PWD_COMMAND}`; export r; \
37661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37662 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37663 echo "Checking multilib configuration for libsanitizer..."; \
37664 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37665 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37666 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37667 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37668 else \
37669 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37670 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37671 fi; \
37672 else \
37673 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37674 fi; \
37675 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37676 $(RAW_CXX_TARGET_EXPORTS) \
37678 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37679 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37680 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37681 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
37682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37683 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37684 case $(srcdir) in \
37685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37686 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37688 esac; \
37689 module_srcdir=libsanitizer; \
37690 $(SHELL) $$s/$$module_srcdir/configure \
37691 --srcdir=$${topdir}/$$module_srcdir \
37692 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37693 --target=${target_alias} \
37694 --with-build-libsubdir=$(HOST_SUBDIR) \
37695 $(STAGEfeedback_CONFIGURE_FLAGS)
37696 @endif target-libsanitizer-bootstrap
37698 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
37699 maybe-configure-stageautoprofile-target-libsanitizer:
37700 @if target-libsanitizer-bootstrap
37701 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
37702 configure-stageautoprofile-target-libsanitizer:
37703 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37704 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37705 @r=`${PWD_COMMAND}`; export r; \
37706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37707 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37708 echo "Checking multilib configuration for libsanitizer..."; \
37709 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37710 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37711 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37712 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37713 else \
37714 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37715 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37716 fi; \
37717 else \
37718 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37719 fi; \
37720 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37721 $(RAW_CXX_TARGET_EXPORTS) \
37723 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37724 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37725 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37726 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
37727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37728 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37729 case $(srcdir) in \
37730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37731 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37733 esac; \
37734 module_srcdir=libsanitizer; \
37735 $(SHELL) $$s/$$module_srcdir/configure \
37736 --srcdir=$${topdir}/$$module_srcdir \
37737 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37738 --target=${target_alias} \
37739 --with-build-libsubdir=$(HOST_SUBDIR) \
37740 $(STAGEautoprofile_CONFIGURE_FLAGS)
37741 @endif target-libsanitizer-bootstrap
37743 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
37744 maybe-configure-stageautofeedback-target-libsanitizer:
37745 @if target-libsanitizer-bootstrap
37746 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
37747 configure-stageautofeedback-target-libsanitizer:
37748 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37749 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37750 @r=`${PWD_COMMAND}`; export r; \
37751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37752 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37753 echo "Checking multilib configuration for libsanitizer..."; \
37754 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37755 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37756 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37757 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37758 else \
37759 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37760 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37761 fi; \
37762 else \
37763 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37764 fi; \
37765 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37766 $(RAW_CXX_TARGET_EXPORTS) \
37768 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37769 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37770 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37771 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
37772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37773 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37774 case $(srcdir) in \
37775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37776 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37778 esac; \
37779 module_srcdir=libsanitizer; \
37780 $(SHELL) $$s/$$module_srcdir/configure \
37781 --srcdir=$${topdir}/$$module_srcdir \
37782 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37783 --target=${target_alias} \
37784 --with-build-libsubdir=$(HOST_SUBDIR) \
37785 $(STAGEautofeedback_CONFIGURE_FLAGS)
37786 @endif target-libsanitizer-bootstrap
37792 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
37793 maybe-all-target-libsanitizer:
37794 @if gcc-bootstrap
37795 all-target-libsanitizer: stage_current
37796 @endif gcc-bootstrap
37797 @if target-libsanitizer
37798 TARGET-target-libsanitizer=all
37799 maybe-all-target-libsanitizer: all-target-libsanitizer
37800 all-target-libsanitizer: configure-target-libsanitizer
37801 @r=`${PWD_COMMAND}`; export r; \
37802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37803 $(RAW_CXX_TARGET_EXPORTS) \
37804 (cd $(TARGET_SUBDIR)/libsanitizer && \
37805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37806 $(TARGET-target-libsanitizer))
37807 @endif target-libsanitizer
37811 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
37812 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
37813 maybe-all-stage1-target-libsanitizer:
37814 maybe-clean-stage1-target-libsanitizer:
37815 @if target-libsanitizer-bootstrap
37816 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
37817 all-stage1: all-stage1-target-libsanitizer
37818 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
37819 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 TFLAGS="$(STAGE1_TFLAGS)"; \
37824 $(RAW_CXX_TARGET_EXPORTS) \
37825 cd $(TARGET_SUBDIR)/libsanitizer && \
37827 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37828 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37829 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37830 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37834 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37836 TFLAGS="$(STAGE1_TFLAGS)" \
37837 $(TARGET-stage1-target-libsanitizer)
37839 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
37840 clean-stage1: clean-stage1-target-libsanitizer
37841 clean-stage1-target-libsanitizer:
37842 @if [ $(current_stage) = stage1 ]; then \
37843 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37844 else \
37845 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
37846 $(MAKE) stage1-start; \
37847 fi; \
37848 cd $(TARGET_SUBDIR)/libsanitizer && \
37849 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37850 clean
37851 @endif target-libsanitizer-bootstrap
37854 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
37855 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
37856 maybe-all-stage2-target-libsanitizer:
37857 maybe-clean-stage2-target-libsanitizer:
37858 @if target-libsanitizer-bootstrap
37859 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
37860 all-stage2: all-stage2-target-libsanitizer
37861 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
37862 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37863 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37864 @r=`${PWD_COMMAND}`; export r; \
37865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37866 TFLAGS="$(STAGE2_TFLAGS)"; \
37867 $(RAW_CXX_TARGET_EXPORTS) \
37869 cd $(TARGET_SUBDIR)/libsanitizer && \
37871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37872 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37878 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37879 TFLAGS="$(STAGE2_TFLAGS)" \
37880 $(TARGET-stage2-target-libsanitizer)
37882 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
37883 clean-stage2: clean-stage2-target-libsanitizer
37884 clean-stage2-target-libsanitizer:
37885 @if [ $(current_stage) = stage2 ]; then \
37886 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37887 else \
37888 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
37889 $(MAKE) stage2-start; \
37890 fi; \
37891 cd $(TARGET_SUBDIR)/libsanitizer && \
37892 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37893 @endif target-libsanitizer-bootstrap
37896 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
37897 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
37898 maybe-all-stage3-target-libsanitizer:
37899 maybe-clean-stage3-target-libsanitizer:
37900 @if target-libsanitizer-bootstrap
37901 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
37902 all-stage3: all-stage3-target-libsanitizer
37903 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
37904 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37906 @r=`${PWD_COMMAND}`; export r; \
37907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37908 TFLAGS="$(STAGE3_TFLAGS)"; \
37909 $(RAW_CXX_TARGET_EXPORTS) \
37911 cd $(TARGET_SUBDIR)/libsanitizer && \
37913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37914 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37915 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37916 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37920 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37921 TFLAGS="$(STAGE3_TFLAGS)" \
37922 $(TARGET-stage3-target-libsanitizer)
37924 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
37925 clean-stage3: clean-stage3-target-libsanitizer
37926 clean-stage3-target-libsanitizer:
37927 @if [ $(current_stage) = stage3 ]; then \
37928 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37929 else \
37930 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
37931 $(MAKE) stage3-start; \
37932 fi; \
37933 cd $(TARGET_SUBDIR)/libsanitizer && \
37934 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37935 @endif target-libsanitizer-bootstrap
37938 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
37939 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
37940 maybe-all-stage4-target-libsanitizer:
37941 maybe-clean-stage4-target-libsanitizer:
37942 @if target-libsanitizer-bootstrap
37943 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
37944 all-stage4: all-stage4-target-libsanitizer
37945 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
37946 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37947 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37948 @r=`${PWD_COMMAND}`; export r; \
37949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37950 TFLAGS="$(STAGE4_TFLAGS)"; \
37951 $(RAW_CXX_TARGET_EXPORTS) \
37953 cd $(TARGET_SUBDIR)/libsanitizer && \
37955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37956 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37957 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37958 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37962 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37963 TFLAGS="$(STAGE4_TFLAGS)" \
37964 $(TARGET-stage4-target-libsanitizer)
37966 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
37967 clean-stage4: clean-stage4-target-libsanitizer
37968 clean-stage4-target-libsanitizer:
37969 @if [ $(current_stage) = stage4 ]; then \
37970 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37971 else \
37972 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
37973 $(MAKE) stage4-start; \
37974 fi; \
37975 cd $(TARGET_SUBDIR)/libsanitizer && \
37976 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37977 @endif target-libsanitizer-bootstrap
37980 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
37981 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
37982 maybe-all-stageprofile-target-libsanitizer:
37983 maybe-clean-stageprofile-target-libsanitizer:
37984 @if target-libsanitizer-bootstrap
37985 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
37986 all-stageprofile: all-stageprofile-target-libsanitizer
37987 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
37988 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
37989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37990 @r=`${PWD_COMMAND}`; export r; \
37991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37993 $(RAW_CXX_TARGET_EXPORTS) \
37995 cd $(TARGET_SUBDIR)/libsanitizer && \
37997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37998 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37999 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38000 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38004 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38005 TFLAGS="$(STAGEprofile_TFLAGS)" \
38006 $(TARGET-stageprofile-target-libsanitizer)
38008 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
38009 clean-stageprofile: clean-stageprofile-target-libsanitizer
38010 clean-stageprofile-target-libsanitizer:
38011 @if [ $(current_stage) = stageprofile ]; then \
38012 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38013 else \
38014 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
38015 $(MAKE) stageprofile-start; \
38016 fi; \
38017 cd $(TARGET_SUBDIR)/libsanitizer && \
38018 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38019 @endif target-libsanitizer-bootstrap
38022 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
38023 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
38024 maybe-all-stagefeedback-target-libsanitizer:
38025 maybe-clean-stagefeedback-target-libsanitizer:
38026 @if target-libsanitizer-bootstrap
38027 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
38028 all-stagefeedback: all-stagefeedback-target-libsanitizer
38029 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38030 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
38031 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38032 @r=`${PWD_COMMAND}`; export r; \
38033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38034 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38035 $(RAW_CXX_TARGET_EXPORTS) \
38037 cd $(TARGET_SUBDIR)/libsanitizer && \
38039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38040 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38046 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38047 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38048 $(TARGET-stagefeedback-target-libsanitizer)
38050 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
38051 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
38052 clean-stagefeedback-target-libsanitizer:
38053 @if [ $(current_stage) = stagefeedback ]; then \
38054 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38055 else \
38056 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
38057 $(MAKE) stagefeedback-start; \
38058 fi; \
38059 cd $(TARGET_SUBDIR)/libsanitizer && \
38060 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38061 @endif target-libsanitizer-bootstrap
38064 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
38065 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
38066 maybe-all-stageautoprofile-target-libsanitizer:
38067 maybe-clean-stageautoprofile-target-libsanitizer:
38068 @if target-libsanitizer-bootstrap
38069 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
38070 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
38071 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
38072 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
38073 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38074 @r=`${PWD_COMMAND}`; export r; \
38075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38076 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38077 $(RAW_CXX_TARGET_EXPORTS) \
38079 cd $(TARGET_SUBDIR)/libsanitizer && \
38080 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38081 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38082 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38083 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38084 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38088 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38089 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38090 $(TARGET-stageautoprofile-target-libsanitizer)
38092 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
38093 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
38094 clean-stageautoprofile-target-libsanitizer:
38095 @if [ $(current_stage) = stageautoprofile ]; then \
38096 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38097 else \
38098 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
38099 $(MAKE) stageautoprofile-start; \
38100 fi; \
38101 cd $(TARGET_SUBDIR)/libsanitizer && \
38102 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38103 @endif target-libsanitizer-bootstrap
38106 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
38107 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
38108 maybe-all-stageautofeedback-target-libsanitizer:
38109 maybe-clean-stageautofeedback-target-libsanitizer:
38110 @if target-libsanitizer-bootstrap
38111 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
38112 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
38113 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38114 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
38115 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38116 @r=`${PWD_COMMAND}`; export r; \
38117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38118 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38119 $(RAW_CXX_TARGET_EXPORTS) \
38121 cd $(TARGET_SUBDIR)/libsanitizer && \
38123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38124 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38125 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38126 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38130 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38131 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38132 $(TARGET-stageautofeedback-target-libsanitizer)
38134 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
38135 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
38136 clean-stageautofeedback-target-libsanitizer:
38137 @if [ $(current_stage) = stageautofeedback ]; then \
38138 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38139 else \
38140 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
38141 $(MAKE) stageautofeedback-start; \
38142 fi; \
38143 cd $(TARGET_SUBDIR)/libsanitizer && \
38144 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38145 @endif target-libsanitizer-bootstrap
38152 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
38153 maybe-check-target-libsanitizer:
38154 @if target-libsanitizer
38155 maybe-check-target-libsanitizer: check-target-libsanitizer
38157 check-target-libsanitizer:
38158 @: $(MAKE); $(unstage)
38159 @r=`${PWD_COMMAND}`; export r; \
38160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38161 $(RAW_CXX_TARGET_EXPORTS) \
38162 (cd $(TARGET_SUBDIR)/libsanitizer && \
38163 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38165 @endif target-libsanitizer
38167 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
38168 maybe-install-target-libsanitizer:
38169 @if target-libsanitizer
38170 maybe-install-target-libsanitizer: install-target-libsanitizer
38172 install-target-libsanitizer: installdirs
38173 @: $(MAKE); $(unstage)
38174 @r=`${PWD_COMMAND}`; export r; \
38175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38176 $(RAW_CXX_TARGET_EXPORTS) \
38177 (cd $(TARGET_SUBDIR)/libsanitizer && \
38178 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38180 @endif target-libsanitizer
38182 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
38183 maybe-install-strip-target-libsanitizer:
38184 @if target-libsanitizer
38185 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
38187 install-strip-target-libsanitizer: installdirs
38188 @: $(MAKE); $(unstage)
38189 @r=`${PWD_COMMAND}`; export r; \
38190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38191 $(RAW_CXX_TARGET_EXPORTS) \
38192 (cd $(TARGET_SUBDIR)/libsanitizer && \
38193 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38195 @endif target-libsanitizer
38197 # Other targets (info, dvi, pdf, etc.)
38199 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
38200 maybe-info-target-libsanitizer:
38201 @if target-libsanitizer
38202 maybe-info-target-libsanitizer: info-target-libsanitizer
38204 info-target-libsanitizer: \
38205 configure-target-libsanitizer
38206 @: $(MAKE); $(unstage)
38207 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38208 r=`${PWD_COMMAND}`; export r; \
38209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38210 $(RAW_CXX_TARGET_EXPORTS) \
38211 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
38212 for flag in $(EXTRA_TARGET_FLAGS); do \
38213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38214 done; \
38215 (cd $(TARGET_SUBDIR)/libsanitizer && \
38216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38218 "RANLIB=$${RANLIB}" \
38219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38220 info) \
38221 || exit 1
38223 @endif target-libsanitizer
38225 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
38226 maybe-dvi-target-libsanitizer:
38227 @if target-libsanitizer
38228 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
38230 dvi-target-libsanitizer: \
38231 configure-target-libsanitizer
38232 @: $(MAKE); $(unstage)
38233 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38234 r=`${PWD_COMMAND}`; export r; \
38235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38236 $(RAW_CXX_TARGET_EXPORTS) \
38237 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
38238 for flag in $(EXTRA_TARGET_FLAGS); do \
38239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38240 done; \
38241 (cd $(TARGET_SUBDIR)/libsanitizer && \
38242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38244 "RANLIB=$${RANLIB}" \
38245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38246 dvi) \
38247 || exit 1
38249 @endif target-libsanitizer
38251 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
38252 maybe-pdf-target-libsanitizer:
38253 @if target-libsanitizer
38254 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
38256 pdf-target-libsanitizer: \
38257 configure-target-libsanitizer
38258 @: $(MAKE); $(unstage)
38259 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38260 r=`${PWD_COMMAND}`; export r; \
38261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38262 $(RAW_CXX_TARGET_EXPORTS) \
38263 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38264 for flag in $(EXTRA_TARGET_FLAGS); do \
38265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38266 done; \
38267 (cd $(TARGET_SUBDIR)/libsanitizer && \
38268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38270 "RANLIB=$${RANLIB}" \
38271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38272 pdf) \
38273 || exit 1
38275 @endif target-libsanitizer
38277 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
38278 maybe-html-target-libsanitizer:
38279 @if target-libsanitizer
38280 maybe-html-target-libsanitizer: html-target-libsanitizer
38282 html-target-libsanitizer: \
38283 configure-target-libsanitizer
38284 @: $(MAKE); $(unstage)
38285 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38286 r=`${PWD_COMMAND}`; export r; \
38287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38288 $(RAW_CXX_TARGET_EXPORTS) \
38289 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
38290 for flag in $(EXTRA_TARGET_FLAGS); do \
38291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38292 done; \
38293 (cd $(TARGET_SUBDIR)/libsanitizer && \
38294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38296 "RANLIB=$${RANLIB}" \
38297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38298 html) \
38299 || exit 1
38301 @endif target-libsanitizer
38303 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
38304 maybe-TAGS-target-libsanitizer:
38305 @if target-libsanitizer
38306 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
38308 TAGS-target-libsanitizer: \
38309 configure-target-libsanitizer
38310 @: $(MAKE); $(unstage)
38311 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38312 r=`${PWD_COMMAND}`; export r; \
38313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38314 $(RAW_CXX_TARGET_EXPORTS) \
38315 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
38316 for flag in $(EXTRA_TARGET_FLAGS); do \
38317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38318 done; \
38319 (cd $(TARGET_SUBDIR)/libsanitizer && \
38320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38322 "RANLIB=$${RANLIB}" \
38323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38324 TAGS) \
38325 || exit 1
38327 @endif target-libsanitizer
38329 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
38330 maybe-install-info-target-libsanitizer:
38331 @if target-libsanitizer
38332 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
38334 install-info-target-libsanitizer: \
38335 configure-target-libsanitizer \
38336 info-target-libsanitizer
38337 @: $(MAKE); $(unstage)
38338 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38339 r=`${PWD_COMMAND}`; export r; \
38340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38341 $(RAW_CXX_TARGET_EXPORTS) \
38342 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
38343 for flag in $(EXTRA_TARGET_FLAGS); do \
38344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38345 done; \
38346 (cd $(TARGET_SUBDIR)/libsanitizer && \
38347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38349 "RANLIB=$${RANLIB}" \
38350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38351 install-info) \
38352 || exit 1
38354 @endif target-libsanitizer
38356 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
38357 maybe-install-pdf-target-libsanitizer:
38358 @if target-libsanitizer
38359 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
38361 install-pdf-target-libsanitizer: \
38362 configure-target-libsanitizer \
38363 pdf-target-libsanitizer
38364 @: $(MAKE); $(unstage)
38365 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38366 r=`${PWD_COMMAND}`; export r; \
38367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38368 $(RAW_CXX_TARGET_EXPORTS) \
38369 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38370 for flag in $(EXTRA_TARGET_FLAGS); do \
38371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38372 done; \
38373 (cd $(TARGET_SUBDIR)/libsanitizer && \
38374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38376 "RANLIB=$${RANLIB}" \
38377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38378 install-pdf) \
38379 || exit 1
38381 @endif target-libsanitizer
38383 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
38384 maybe-install-html-target-libsanitizer:
38385 @if target-libsanitizer
38386 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
38388 install-html-target-libsanitizer: \
38389 configure-target-libsanitizer \
38390 html-target-libsanitizer
38391 @: $(MAKE); $(unstage)
38392 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38393 r=`${PWD_COMMAND}`; export r; \
38394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38395 $(RAW_CXX_TARGET_EXPORTS) \
38396 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
38397 for flag in $(EXTRA_TARGET_FLAGS); do \
38398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38399 done; \
38400 (cd $(TARGET_SUBDIR)/libsanitizer && \
38401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38403 "RANLIB=$${RANLIB}" \
38404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38405 install-html) \
38406 || exit 1
38408 @endif target-libsanitizer
38410 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
38411 maybe-installcheck-target-libsanitizer:
38412 @if target-libsanitizer
38413 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
38415 installcheck-target-libsanitizer: \
38416 configure-target-libsanitizer
38417 @: $(MAKE); $(unstage)
38418 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38419 r=`${PWD_COMMAND}`; export r; \
38420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38421 $(RAW_CXX_TARGET_EXPORTS) \
38422 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
38423 for flag in $(EXTRA_TARGET_FLAGS); do \
38424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38425 done; \
38426 (cd $(TARGET_SUBDIR)/libsanitizer && \
38427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38429 "RANLIB=$${RANLIB}" \
38430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38431 installcheck) \
38432 || exit 1
38434 @endif target-libsanitizer
38436 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
38437 maybe-mostlyclean-target-libsanitizer:
38438 @if target-libsanitizer
38439 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
38441 mostlyclean-target-libsanitizer:
38442 @: $(MAKE); $(unstage)
38443 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(RAW_CXX_TARGET_EXPORTS) \
38447 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
38448 for flag in $(EXTRA_TARGET_FLAGS); do \
38449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38450 done; \
38451 (cd $(TARGET_SUBDIR)/libsanitizer && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38456 mostlyclean) \
38457 || exit 1
38459 @endif target-libsanitizer
38461 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
38462 maybe-clean-target-libsanitizer:
38463 @if target-libsanitizer
38464 maybe-clean-target-libsanitizer: clean-target-libsanitizer
38466 clean-target-libsanitizer:
38467 @: $(MAKE); $(unstage)
38468 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38469 r=`${PWD_COMMAND}`; export r; \
38470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38471 $(RAW_CXX_TARGET_EXPORTS) \
38472 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
38473 for flag in $(EXTRA_TARGET_FLAGS); do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38475 done; \
38476 (cd $(TARGET_SUBDIR)/libsanitizer && \
38477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38479 "RANLIB=$${RANLIB}" \
38480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38481 clean) \
38482 || exit 1
38484 @endif target-libsanitizer
38486 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
38487 maybe-distclean-target-libsanitizer:
38488 @if target-libsanitizer
38489 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
38491 distclean-target-libsanitizer:
38492 @: $(MAKE); $(unstage)
38493 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38494 r=`${PWD_COMMAND}`; export r; \
38495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38496 $(RAW_CXX_TARGET_EXPORTS) \
38497 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
38498 for flag in $(EXTRA_TARGET_FLAGS); do \
38499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38500 done; \
38501 (cd $(TARGET_SUBDIR)/libsanitizer && \
38502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38504 "RANLIB=$${RANLIB}" \
38505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38506 distclean) \
38507 || exit 1
38509 @endif target-libsanitizer
38511 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
38512 maybe-maintainer-clean-target-libsanitizer:
38513 @if target-libsanitizer
38514 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
38516 maintainer-clean-target-libsanitizer:
38517 @: $(MAKE); $(unstage)
38518 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38519 r=`${PWD_COMMAND}`; export r; \
38520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38521 $(RAW_CXX_TARGET_EXPORTS) \
38522 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
38523 for flag in $(EXTRA_TARGET_FLAGS); do \
38524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38525 done; \
38526 (cd $(TARGET_SUBDIR)/libsanitizer && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38529 "RANLIB=$${RANLIB}" \
38530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38531 maintainer-clean) \
38532 || exit 1
38534 @endif target-libsanitizer
38540 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
38541 maybe-configure-target-libmpx:
38542 @if gcc-bootstrap
38543 configure-target-libmpx: stage_current
38544 @endif gcc-bootstrap
38545 @if target-libmpx
38546 maybe-configure-target-libmpx: configure-target-libmpx
38547 configure-target-libmpx:
38548 @r=`${PWD_COMMAND}`; export r; \
38549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38550 echo "Checking multilib configuration for libmpx..."; \
38551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38552 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38553 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38554 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38555 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38556 else \
38557 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38558 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38559 fi; \
38560 else \
38561 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38562 fi; \
38563 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38564 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38565 $(NORMAL_TARGET_EXPORTS) \
38566 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
38567 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
38568 case $(srcdir) in \
38569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38570 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38572 esac; \
38573 module_srcdir=libmpx; \
38574 rm -f no-such-file || : ; \
38575 CONFIG_SITE=no-such-file $(SHELL) \
38576 $$s/$$module_srcdir/configure \
38577 --srcdir=$${topdir}/$$module_srcdir \
38578 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38579 --target=${target_alias} \
38580 || exit 1
38581 @endif target-libmpx
38585 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
38586 maybe-configure-stage1-target-libmpx:
38587 @if target-libmpx-bootstrap
38588 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
38589 configure-stage1-target-libmpx:
38590 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38591 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38592 @r=`${PWD_COMMAND}`; export r; \
38593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38594 TFLAGS="$(STAGE1_TFLAGS)"; \
38595 echo "Checking multilib configuration for libmpx..."; \
38596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38597 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38598 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38599 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38600 else \
38601 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38602 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38603 fi; \
38604 else \
38605 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38606 fi; \
38607 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38608 $(NORMAL_TARGET_EXPORTS) \
38609 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38610 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38611 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38612 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
38613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38614 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38615 case $(srcdir) in \
38616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38617 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38619 esac; \
38620 module_srcdir=libmpx; \
38621 $(SHELL) $$s/$$module_srcdir/configure \
38622 --srcdir=$${topdir}/$$module_srcdir \
38623 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38624 --target=${target_alias} \
38626 $(STAGE1_CONFIGURE_FLAGS)
38627 @endif target-libmpx-bootstrap
38629 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
38630 maybe-configure-stage2-target-libmpx:
38631 @if target-libmpx-bootstrap
38632 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
38633 configure-stage2-target-libmpx:
38634 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38635 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38636 @r=`${PWD_COMMAND}`; export r; \
38637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38638 TFLAGS="$(STAGE2_TFLAGS)"; \
38639 echo "Checking multilib configuration for libmpx..."; \
38640 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38641 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38642 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38643 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38644 else \
38645 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38646 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38647 fi; \
38648 else \
38649 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38650 fi; \
38651 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38652 $(NORMAL_TARGET_EXPORTS) \
38654 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38655 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38656 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38657 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
38658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38659 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38660 case $(srcdir) in \
38661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38662 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38664 esac; \
38665 module_srcdir=libmpx; \
38666 $(SHELL) $$s/$$module_srcdir/configure \
38667 --srcdir=$${topdir}/$$module_srcdir \
38668 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38669 --target=${target_alias} \
38670 --with-build-libsubdir=$(HOST_SUBDIR) \
38671 $(STAGE2_CONFIGURE_FLAGS)
38672 @endif target-libmpx-bootstrap
38674 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
38675 maybe-configure-stage3-target-libmpx:
38676 @if target-libmpx-bootstrap
38677 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
38678 configure-stage3-target-libmpx:
38679 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38680 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38681 @r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 TFLAGS="$(STAGE3_TFLAGS)"; \
38684 echo "Checking multilib configuration for libmpx..."; \
38685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38686 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38687 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38688 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38689 else \
38690 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38691 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38692 fi; \
38693 else \
38694 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38695 fi; \
38696 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38697 $(NORMAL_TARGET_EXPORTS) \
38699 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38700 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38701 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38702 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
38703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38704 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38705 case $(srcdir) in \
38706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38707 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38709 esac; \
38710 module_srcdir=libmpx; \
38711 $(SHELL) $$s/$$module_srcdir/configure \
38712 --srcdir=$${topdir}/$$module_srcdir \
38713 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38714 --target=${target_alias} \
38715 --with-build-libsubdir=$(HOST_SUBDIR) \
38716 $(STAGE3_CONFIGURE_FLAGS)
38717 @endif target-libmpx-bootstrap
38719 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
38720 maybe-configure-stage4-target-libmpx:
38721 @if target-libmpx-bootstrap
38722 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
38723 configure-stage4-target-libmpx:
38724 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38725 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38726 @r=`${PWD_COMMAND}`; export r; \
38727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38728 TFLAGS="$(STAGE4_TFLAGS)"; \
38729 echo "Checking multilib configuration for libmpx..."; \
38730 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38731 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38732 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38733 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38734 else \
38735 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38736 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38737 fi; \
38738 else \
38739 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38740 fi; \
38741 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38742 $(NORMAL_TARGET_EXPORTS) \
38744 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38745 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38746 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38747 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
38748 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38749 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38750 case $(srcdir) in \
38751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38752 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38754 esac; \
38755 module_srcdir=libmpx; \
38756 $(SHELL) $$s/$$module_srcdir/configure \
38757 --srcdir=$${topdir}/$$module_srcdir \
38758 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38759 --target=${target_alias} \
38760 --with-build-libsubdir=$(HOST_SUBDIR) \
38761 $(STAGE4_CONFIGURE_FLAGS)
38762 @endif target-libmpx-bootstrap
38764 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
38765 maybe-configure-stageprofile-target-libmpx:
38766 @if target-libmpx-bootstrap
38767 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
38768 configure-stageprofile-target-libmpx:
38769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38770 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38771 @r=`${PWD_COMMAND}`; export r; \
38772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38773 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38774 echo "Checking multilib configuration for libmpx..."; \
38775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38776 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38777 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38778 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38779 else \
38780 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38781 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38782 fi; \
38783 else \
38784 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38785 fi; \
38786 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38787 $(NORMAL_TARGET_EXPORTS) \
38789 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38790 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38791 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38792 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
38793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38794 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38795 case $(srcdir) in \
38796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38797 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38799 esac; \
38800 module_srcdir=libmpx; \
38801 $(SHELL) $$s/$$module_srcdir/configure \
38802 --srcdir=$${topdir}/$$module_srcdir \
38803 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38804 --target=${target_alias} \
38805 --with-build-libsubdir=$(HOST_SUBDIR) \
38806 $(STAGEprofile_CONFIGURE_FLAGS)
38807 @endif target-libmpx-bootstrap
38809 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
38810 maybe-configure-stagefeedback-target-libmpx:
38811 @if target-libmpx-bootstrap
38812 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
38813 configure-stagefeedback-target-libmpx:
38814 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38815 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38816 @r=`${PWD_COMMAND}`; export r; \
38817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38818 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38819 echo "Checking multilib configuration for libmpx..."; \
38820 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38821 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38822 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38823 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38824 else \
38825 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38826 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38827 fi; \
38828 else \
38829 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38830 fi; \
38831 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38832 $(NORMAL_TARGET_EXPORTS) \
38834 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38835 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38836 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38837 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
38838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38839 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38840 case $(srcdir) in \
38841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38842 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38844 esac; \
38845 module_srcdir=libmpx; \
38846 $(SHELL) $$s/$$module_srcdir/configure \
38847 --srcdir=$${topdir}/$$module_srcdir \
38848 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38849 --target=${target_alias} \
38850 --with-build-libsubdir=$(HOST_SUBDIR) \
38851 $(STAGEfeedback_CONFIGURE_FLAGS)
38852 @endif target-libmpx-bootstrap
38854 .PHONY: configure-stageautoprofile-target-libmpx maybe-configure-stageautoprofile-target-libmpx
38855 maybe-configure-stageautoprofile-target-libmpx:
38856 @if target-libmpx-bootstrap
38857 maybe-configure-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
38858 configure-stageautoprofile-target-libmpx:
38859 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38860 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38861 @r=`${PWD_COMMAND}`; export r; \
38862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38863 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38864 echo "Checking multilib configuration for libmpx..."; \
38865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38866 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38867 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38868 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38869 else \
38870 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38871 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38872 fi; \
38873 else \
38874 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38875 fi; \
38876 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38877 $(NORMAL_TARGET_EXPORTS) \
38879 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38880 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38881 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38882 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libmpx; \
38883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38884 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38885 case $(srcdir) in \
38886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38887 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38889 esac; \
38890 module_srcdir=libmpx; \
38891 $(SHELL) $$s/$$module_srcdir/configure \
38892 --srcdir=$${topdir}/$$module_srcdir \
38893 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38894 --target=${target_alias} \
38895 --with-build-libsubdir=$(HOST_SUBDIR) \
38896 $(STAGEautoprofile_CONFIGURE_FLAGS)
38897 @endif target-libmpx-bootstrap
38899 .PHONY: configure-stageautofeedback-target-libmpx maybe-configure-stageautofeedback-target-libmpx
38900 maybe-configure-stageautofeedback-target-libmpx:
38901 @if target-libmpx-bootstrap
38902 maybe-configure-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
38903 configure-stageautofeedback-target-libmpx:
38904 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38905 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38906 @r=`${PWD_COMMAND}`; export r; \
38907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38908 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38909 echo "Checking multilib configuration for libmpx..."; \
38910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38911 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38912 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38913 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38914 else \
38915 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38916 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38917 fi; \
38918 else \
38919 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38920 fi; \
38921 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38922 $(NORMAL_TARGET_EXPORTS) \
38924 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38927 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libmpx; \
38928 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38929 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38930 case $(srcdir) in \
38931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38932 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38934 esac; \
38935 module_srcdir=libmpx; \
38936 $(SHELL) $$s/$$module_srcdir/configure \
38937 --srcdir=$${topdir}/$$module_srcdir \
38938 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38939 --target=${target_alias} \
38940 --with-build-libsubdir=$(HOST_SUBDIR) \
38941 $(STAGEautofeedback_CONFIGURE_FLAGS)
38942 @endif target-libmpx-bootstrap
38948 .PHONY: all-target-libmpx maybe-all-target-libmpx
38949 maybe-all-target-libmpx:
38950 @if gcc-bootstrap
38951 all-target-libmpx: stage_current
38952 @endif gcc-bootstrap
38953 @if target-libmpx
38954 TARGET-target-libmpx=all
38955 maybe-all-target-libmpx: all-target-libmpx
38956 all-target-libmpx: configure-target-libmpx
38957 @r=`${PWD_COMMAND}`; export r; \
38958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38959 $(NORMAL_TARGET_EXPORTS) \
38960 (cd $(TARGET_SUBDIR)/libmpx && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38962 $(TARGET-target-libmpx))
38963 @endif target-libmpx
38967 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
38968 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
38969 maybe-all-stage1-target-libmpx:
38970 maybe-clean-stage1-target-libmpx:
38971 @if target-libmpx-bootstrap
38972 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
38973 all-stage1: all-stage1-target-libmpx
38974 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
38975 all-stage1-target-libmpx: configure-stage1-target-libmpx
38976 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38977 @r=`${PWD_COMMAND}`; export r; \
38978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38979 TFLAGS="$(STAGE1_TFLAGS)"; \
38980 $(NORMAL_TARGET_EXPORTS) \
38981 cd $(TARGET_SUBDIR)/libmpx && \
38983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38984 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38985 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38986 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38990 $(EXTRA_TARGET_FLAGS) \
38992 TFLAGS="$(STAGE1_TFLAGS)" \
38993 $(TARGET-stage1-target-libmpx)
38995 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
38996 clean-stage1: clean-stage1-target-libmpx
38997 clean-stage1-target-libmpx:
38998 @if [ $(current_stage) = stage1 ]; then \
38999 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39000 else \
39001 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
39002 $(MAKE) stage1-start; \
39003 fi; \
39004 cd $(TARGET_SUBDIR)/libmpx && \
39005 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39006 clean
39007 @endif target-libmpx-bootstrap
39010 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
39011 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
39012 maybe-all-stage2-target-libmpx:
39013 maybe-clean-stage2-target-libmpx:
39014 @if target-libmpx-bootstrap
39015 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
39016 all-stage2: all-stage2-target-libmpx
39017 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
39018 all-stage2-target-libmpx: configure-stage2-target-libmpx
39019 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39020 @r=`${PWD_COMMAND}`; export r; \
39021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39022 TFLAGS="$(STAGE2_TFLAGS)"; \
39023 $(NORMAL_TARGET_EXPORTS) \
39025 cd $(TARGET_SUBDIR)/libmpx && \
39027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39028 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39029 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39030 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39034 $(EXTRA_TARGET_FLAGS) \
39035 TFLAGS="$(STAGE2_TFLAGS)" \
39036 $(TARGET-stage2-target-libmpx)
39038 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
39039 clean-stage2: clean-stage2-target-libmpx
39040 clean-stage2-target-libmpx:
39041 @if [ $(current_stage) = stage2 ]; then \
39042 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39043 else \
39044 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
39045 $(MAKE) stage2-start; \
39046 fi; \
39047 cd $(TARGET_SUBDIR)/libmpx && \
39048 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39049 @endif target-libmpx-bootstrap
39052 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
39053 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
39054 maybe-all-stage3-target-libmpx:
39055 maybe-clean-stage3-target-libmpx:
39056 @if target-libmpx-bootstrap
39057 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
39058 all-stage3: all-stage3-target-libmpx
39059 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
39060 all-stage3-target-libmpx: configure-stage3-target-libmpx
39061 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39062 @r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 TFLAGS="$(STAGE3_TFLAGS)"; \
39065 $(NORMAL_TARGET_EXPORTS) \
39067 cd $(TARGET_SUBDIR)/libmpx && \
39069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39070 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39072 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39076 $(EXTRA_TARGET_FLAGS) \
39077 TFLAGS="$(STAGE3_TFLAGS)" \
39078 $(TARGET-stage3-target-libmpx)
39080 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
39081 clean-stage3: clean-stage3-target-libmpx
39082 clean-stage3-target-libmpx:
39083 @if [ $(current_stage) = stage3 ]; then \
39084 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39085 else \
39086 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
39087 $(MAKE) stage3-start; \
39088 fi; \
39089 cd $(TARGET_SUBDIR)/libmpx && \
39090 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39091 @endif target-libmpx-bootstrap
39094 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
39095 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
39096 maybe-all-stage4-target-libmpx:
39097 maybe-clean-stage4-target-libmpx:
39098 @if target-libmpx-bootstrap
39099 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
39100 all-stage4: all-stage4-target-libmpx
39101 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
39102 all-stage4-target-libmpx: configure-stage4-target-libmpx
39103 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39104 @r=`${PWD_COMMAND}`; export r; \
39105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39106 TFLAGS="$(STAGE4_TFLAGS)"; \
39107 $(NORMAL_TARGET_EXPORTS) \
39109 cd $(TARGET_SUBDIR)/libmpx && \
39111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39118 $(EXTRA_TARGET_FLAGS) \
39119 TFLAGS="$(STAGE4_TFLAGS)" \
39120 $(TARGET-stage4-target-libmpx)
39122 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
39123 clean-stage4: clean-stage4-target-libmpx
39124 clean-stage4-target-libmpx:
39125 @if [ $(current_stage) = stage4 ]; then \
39126 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39127 else \
39128 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
39129 $(MAKE) stage4-start; \
39130 fi; \
39131 cd $(TARGET_SUBDIR)/libmpx && \
39132 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39133 @endif target-libmpx-bootstrap
39136 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
39137 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
39138 maybe-all-stageprofile-target-libmpx:
39139 maybe-clean-stageprofile-target-libmpx:
39140 @if target-libmpx-bootstrap
39141 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
39142 all-stageprofile: all-stageprofile-target-libmpx
39143 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
39144 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
39145 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39146 @r=`${PWD_COMMAND}`; export r; \
39147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39148 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39149 $(NORMAL_TARGET_EXPORTS) \
39151 cd $(TARGET_SUBDIR)/libmpx && \
39153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39154 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39155 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39156 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39160 $(EXTRA_TARGET_FLAGS) \
39161 TFLAGS="$(STAGEprofile_TFLAGS)" \
39162 $(TARGET-stageprofile-target-libmpx)
39164 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
39165 clean-stageprofile: clean-stageprofile-target-libmpx
39166 clean-stageprofile-target-libmpx:
39167 @if [ $(current_stage) = stageprofile ]; then \
39168 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39169 else \
39170 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
39171 $(MAKE) stageprofile-start; \
39172 fi; \
39173 cd $(TARGET_SUBDIR)/libmpx && \
39174 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39175 @endif target-libmpx-bootstrap
39178 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
39179 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
39180 maybe-all-stagefeedback-target-libmpx:
39181 maybe-clean-stagefeedback-target-libmpx:
39182 @if target-libmpx-bootstrap
39183 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
39184 all-stagefeedback: all-stagefeedback-target-libmpx
39185 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
39186 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
39187 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39188 @r=`${PWD_COMMAND}`; export r; \
39189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39190 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39191 $(NORMAL_TARGET_EXPORTS) \
39193 cd $(TARGET_SUBDIR)/libmpx && \
39195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39196 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39202 $(EXTRA_TARGET_FLAGS) \
39203 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39204 $(TARGET-stagefeedback-target-libmpx)
39206 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
39207 clean-stagefeedback: clean-stagefeedback-target-libmpx
39208 clean-stagefeedback-target-libmpx:
39209 @if [ $(current_stage) = stagefeedback ]; then \
39210 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39211 else \
39212 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
39213 $(MAKE) stagefeedback-start; \
39214 fi; \
39215 cd $(TARGET_SUBDIR)/libmpx && \
39216 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39217 @endif target-libmpx-bootstrap
39220 .PHONY: all-stageautoprofile-target-libmpx maybe-all-stageautoprofile-target-libmpx
39221 .PHONY: clean-stageautoprofile-target-libmpx maybe-clean-stageautoprofile-target-libmpx
39222 maybe-all-stageautoprofile-target-libmpx:
39223 maybe-clean-stageautoprofile-target-libmpx:
39224 @if target-libmpx-bootstrap
39225 maybe-all-stageautoprofile-target-libmpx: all-stageautoprofile-target-libmpx
39226 all-stageautoprofile: all-stageautoprofile-target-libmpx
39227 TARGET-stageautoprofile-target-libmpx = $(TARGET-target-libmpx)
39228 all-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
39229 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39230 @r=`${PWD_COMMAND}`; export r; \
39231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39232 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39233 $(NORMAL_TARGET_EXPORTS) \
39235 cd $(TARGET_SUBDIR)/libmpx && \
39236 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39238 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39239 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39240 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39244 $(EXTRA_TARGET_FLAGS) \
39245 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39246 $(TARGET-stageautoprofile-target-libmpx)
39248 maybe-clean-stageautoprofile-target-libmpx: clean-stageautoprofile-target-libmpx
39249 clean-stageautoprofile: clean-stageautoprofile-target-libmpx
39250 clean-stageautoprofile-target-libmpx:
39251 @if [ $(current_stage) = stageautoprofile ]; then \
39252 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39253 else \
39254 [ -f $(TARGET_SUBDIR)/stageautoprofile-libmpx/Makefile ] || exit 0; \
39255 $(MAKE) stageautoprofile-start; \
39256 fi; \
39257 cd $(TARGET_SUBDIR)/libmpx && \
39258 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39259 @endif target-libmpx-bootstrap
39262 .PHONY: all-stageautofeedback-target-libmpx maybe-all-stageautofeedback-target-libmpx
39263 .PHONY: clean-stageautofeedback-target-libmpx maybe-clean-stageautofeedback-target-libmpx
39264 maybe-all-stageautofeedback-target-libmpx:
39265 maybe-clean-stageautofeedback-target-libmpx:
39266 @if target-libmpx-bootstrap
39267 maybe-all-stageautofeedback-target-libmpx: all-stageautofeedback-target-libmpx
39268 all-stageautofeedback: all-stageautofeedback-target-libmpx
39269 TARGET-stageautofeedback-target-libmpx = $(TARGET-target-libmpx)
39270 all-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
39271 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39272 @r=`${PWD_COMMAND}`; export r; \
39273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39274 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39275 $(NORMAL_TARGET_EXPORTS) \
39277 cd $(TARGET_SUBDIR)/libmpx && \
39279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39280 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39282 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39286 $(EXTRA_TARGET_FLAGS) \
39287 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39288 $(TARGET-stageautofeedback-target-libmpx)
39290 maybe-clean-stageautofeedback-target-libmpx: clean-stageautofeedback-target-libmpx
39291 clean-stageautofeedback: clean-stageautofeedback-target-libmpx
39292 clean-stageautofeedback-target-libmpx:
39293 @if [ $(current_stage) = stageautofeedback ]; then \
39294 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39295 else \
39296 [ -f $(TARGET_SUBDIR)/stageautofeedback-libmpx/Makefile ] || exit 0; \
39297 $(MAKE) stageautofeedback-start; \
39298 fi; \
39299 cd $(TARGET_SUBDIR)/libmpx && \
39300 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39301 @endif target-libmpx-bootstrap
39308 .PHONY: check-target-libmpx maybe-check-target-libmpx
39309 maybe-check-target-libmpx:
39310 @if target-libmpx
39311 maybe-check-target-libmpx: check-target-libmpx
39313 check-target-libmpx:
39314 @: $(MAKE); $(unstage)
39315 @r=`${PWD_COMMAND}`; export r; \
39316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39317 $(NORMAL_TARGET_EXPORTS) \
39318 (cd $(TARGET_SUBDIR)/libmpx && \
39319 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39321 @endif target-libmpx
39323 .PHONY: install-target-libmpx maybe-install-target-libmpx
39324 maybe-install-target-libmpx:
39325 @if target-libmpx
39326 maybe-install-target-libmpx: install-target-libmpx
39328 install-target-libmpx: installdirs
39329 @: $(MAKE); $(unstage)
39330 @r=`${PWD_COMMAND}`; export r; \
39331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39332 $(NORMAL_TARGET_EXPORTS) \
39333 (cd $(TARGET_SUBDIR)/libmpx && \
39334 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39336 @endif target-libmpx
39338 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
39339 maybe-install-strip-target-libmpx:
39340 @if target-libmpx
39341 maybe-install-strip-target-libmpx: install-strip-target-libmpx
39343 install-strip-target-libmpx: installdirs
39344 @: $(MAKE); $(unstage)
39345 @r=`${PWD_COMMAND}`; export r; \
39346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39347 $(NORMAL_TARGET_EXPORTS) \
39348 (cd $(TARGET_SUBDIR)/libmpx && \
39349 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39351 @endif target-libmpx
39353 # Other targets (info, dvi, pdf, etc.)
39355 .PHONY: maybe-info-target-libmpx info-target-libmpx
39356 maybe-info-target-libmpx:
39357 @if target-libmpx
39358 maybe-info-target-libmpx: info-target-libmpx
39360 info-target-libmpx: \
39361 configure-target-libmpx
39362 @: $(MAKE); $(unstage)
39363 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39364 r=`${PWD_COMMAND}`; export r; \
39365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39366 $(NORMAL_TARGET_EXPORTS) \
39367 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
39368 for flag in $(EXTRA_TARGET_FLAGS); do \
39369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39370 done; \
39371 (cd $(TARGET_SUBDIR)/libmpx && \
39372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39374 "RANLIB=$${RANLIB}" \
39375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39376 info) \
39377 || exit 1
39379 @endif target-libmpx
39381 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
39382 maybe-dvi-target-libmpx:
39383 @if target-libmpx
39384 maybe-dvi-target-libmpx: dvi-target-libmpx
39386 dvi-target-libmpx: \
39387 configure-target-libmpx
39388 @: $(MAKE); $(unstage)
39389 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39390 r=`${PWD_COMMAND}`; export r; \
39391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39392 $(NORMAL_TARGET_EXPORTS) \
39393 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
39394 for flag in $(EXTRA_TARGET_FLAGS); do \
39395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39396 done; \
39397 (cd $(TARGET_SUBDIR)/libmpx && \
39398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39400 "RANLIB=$${RANLIB}" \
39401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39402 dvi) \
39403 || exit 1
39405 @endif target-libmpx
39407 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
39408 maybe-pdf-target-libmpx:
39409 @if target-libmpx
39410 maybe-pdf-target-libmpx: pdf-target-libmpx
39412 pdf-target-libmpx: \
39413 configure-target-libmpx
39414 @: $(MAKE); $(unstage)
39415 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39416 r=`${PWD_COMMAND}`; export r; \
39417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39418 $(NORMAL_TARGET_EXPORTS) \
39419 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
39420 for flag in $(EXTRA_TARGET_FLAGS); do \
39421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39422 done; \
39423 (cd $(TARGET_SUBDIR)/libmpx && \
39424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39426 "RANLIB=$${RANLIB}" \
39427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39428 pdf) \
39429 || exit 1
39431 @endif target-libmpx
39433 .PHONY: maybe-html-target-libmpx html-target-libmpx
39434 maybe-html-target-libmpx:
39435 @if target-libmpx
39436 maybe-html-target-libmpx: html-target-libmpx
39438 html-target-libmpx: \
39439 configure-target-libmpx
39440 @: $(MAKE); $(unstage)
39441 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39442 r=`${PWD_COMMAND}`; export r; \
39443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39444 $(NORMAL_TARGET_EXPORTS) \
39445 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
39446 for flag in $(EXTRA_TARGET_FLAGS); do \
39447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39448 done; \
39449 (cd $(TARGET_SUBDIR)/libmpx && \
39450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39452 "RANLIB=$${RANLIB}" \
39453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39454 html) \
39455 || exit 1
39457 @endif target-libmpx
39459 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
39460 maybe-TAGS-target-libmpx:
39461 @if target-libmpx
39462 maybe-TAGS-target-libmpx: TAGS-target-libmpx
39464 TAGS-target-libmpx: \
39465 configure-target-libmpx
39466 @: $(MAKE); $(unstage)
39467 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39468 r=`${PWD_COMMAND}`; export r; \
39469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39470 $(NORMAL_TARGET_EXPORTS) \
39471 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
39472 for flag in $(EXTRA_TARGET_FLAGS); do \
39473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39474 done; \
39475 (cd $(TARGET_SUBDIR)/libmpx && \
39476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39478 "RANLIB=$${RANLIB}" \
39479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39480 TAGS) \
39481 || exit 1
39483 @endif target-libmpx
39485 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
39486 maybe-install-info-target-libmpx:
39487 @if target-libmpx
39488 maybe-install-info-target-libmpx: install-info-target-libmpx
39490 install-info-target-libmpx: \
39491 configure-target-libmpx \
39492 info-target-libmpx
39493 @: $(MAKE); $(unstage)
39494 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39495 r=`${PWD_COMMAND}`; export r; \
39496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39497 $(NORMAL_TARGET_EXPORTS) \
39498 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
39499 for flag in $(EXTRA_TARGET_FLAGS); do \
39500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39501 done; \
39502 (cd $(TARGET_SUBDIR)/libmpx && \
39503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39505 "RANLIB=$${RANLIB}" \
39506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39507 install-info) \
39508 || exit 1
39510 @endif target-libmpx
39512 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
39513 maybe-install-pdf-target-libmpx:
39514 @if target-libmpx
39515 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
39517 install-pdf-target-libmpx: \
39518 configure-target-libmpx \
39519 pdf-target-libmpx
39520 @: $(MAKE); $(unstage)
39521 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39522 r=`${PWD_COMMAND}`; export r; \
39523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39524 $(NORMAL_TARGET_EXPORTS) \
39525 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
39526 for flag in $(EXTRA_TARGET_FLAGS); do \
39527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39528 done; \
39529 (cd $(TARGET_SUBDIR)/libmpx && \
39530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39532 "RANLIB=$${RANLIB}" \
39533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39534 install-pdf) \
39535 || exit 1
39537 @endif target-libmpx
39539 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
39540 maybe-install-html-target-libmpx:
39541 @if target-libmpx
39542 maybe-install-html-target-libmpx: install-html-target-libmpx
39544 install-html-target-libmpx: \
39545 configure-target-libmpx \
39546 html-target-libmpx
39547 @: $(MAKE); $(unstage)
39548 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39549 r=`${PWD_COMMAND}`; export r; \
39550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39551 $(NORMAL_TARGET_EXPORTS) \
39552 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
39553 for flag in $(EXTRA_TARGET_FLAGS); do \
39554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39555 done; \
39556 (cd $(TARGET_SUBDIR)/libmpx && \
39557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39559 "RANLIB=$${RANLIB}" \
39560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39561 install-html) \
39562 || exit 1
39564 @endif target-libmpx
39566 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
39567 maybe-installcheck-target-libmpx:
39568 @if target-libmpx
39569 maybe-installcheck-target-libmpx: installcheck-target-libmpx
39571 installcheck-target-libmpx: \
39572 configure-target-libmpx
39573 @: $(MAKE); $(unstage)
39574 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39575 r=`${PWD_COMMAND}`; export r; \
39576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39577 $(NORMAL_TARGET_EXPORTS) \
39578 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
39579 for flag in $(EXTRA_TARGET_FLAGS); do \
39580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39581 done; \
39582 (cd $(TARGET_SUBDIR)/libmpx && \
39583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39585 "RANLIB=$${RANLIB}" \
39586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39587 installcheck) \
39588 || exit 1
39590 @endif target-libmpx
39592 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
39593 maybe-mostlyclean-target-libmpx:
39594 @if target-libmpx
39595 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
39597 mostlyclean-target-libmpx:
39598 @: $(MAKE); $(unstage)
39599 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39600 r=`${PWD_COMMAND}`; export r; \
39601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39602 $(NORMAL_TARGET_EXPORTS) \
39603 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
39604 for flag in $(EXTRA_TARGET_FLAGS); do \
39605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39606 done; \
39607 (cd $(TARGET_SUBDIR)/libmpx && \
39608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39610 "RANLIB=$${RANLIB}" \
39611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39612 mostlyclean) \
39613 || exit 1
39615 @endif target-libmpx
39617 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
39618 maybe-clean-target-libmpx:
39619 @if target-libmpx
39620 maybe-clean-target-libmpx: clean-target-libmpx
39622 clean-target-libmpx:
39623 @: $(MAKE); $(unstage)
39624 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39625 r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(NORMAL_TARGET_EXPORTS) \
39628 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
39629 for flag in $(EXTRA_TARGET_FLAGS); do \
39630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39631 done; \
39632 (cd $(TARGET_SUBDIR)/libmpx && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39635 "RANLIB=$${RANLIB}" \
39636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39637 clean) \
39638 || exit 1
39640 @endif target-libmpx
39642 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
39643 maybe-distclean-target-libmpx:
39644 @if target-libmpx
39645 maybe-distclean-target-libmpx: distclean-target-libmpx
39647 distclean-target-libmpx:
39648 @: $(MAKE); $(unstage)
39649 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39650 r=`${PWD_COMMAND}`; export r; \
39651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39652 $(NORMAL_TARGET_EXPORTS) \
39653 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
39654 for flag in $(EXTRA_TARGET_FLAGS); do \
39655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39656 done; \
39657 (cd $(TARGET_SUBDIR)/libmpx && \
39658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39660 "RANLIB=$${RANLIB}" \
39661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39662 distclean) \
39663 || exit 1
39665 @endif target-libmpx
39667 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
39668 maybe-maintainer-clean-target-libmpx:
39669 @if target-libmpx
39670 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
39672 maintainer-clean-target-libmpx:
39673 @: $(MAKE); $(unstage)
39674 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39675 r=`${PWD_COMMAND}`; export r; \
39676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39677 $(NORMAL_TARGET_EXPORTS) \
39678 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
39679 for flag in $(EXTRA_TARGET_FLAGS); do \
39680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39681 done; \
39682 (cd $(TARGET_SUBDIR)/libmpx && \
39683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39685 "RANLIB=$${RANLIB}" \
39686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39687 maintainer-clean) \
39688 || exit 1
39690 @endif target-libmpx
39696 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
39697 maybe-configure-target-libvtv:
39698 @if gcc-bootstrap
39699 configure-target-libvtv: stage_current
39700 @endif gcc-bootstrap
39701 @if target-libvtv
39702 maybe-configure-target-libvtv: configure-target-libvtv
39703 configure-target-libvtv:
39704 @r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 echo "Checking multilib configuration for libvtv..."; \
39707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39708 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39709 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39710 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39711 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39712 else \
39713 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39714 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39715 fi; \
39716 else \
39717 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39718 fi; \
39719 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39720 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39721 $(RAW_CXX_TARGET_EXPORTS) \
39722 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
39723 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
39724 case $(srcdir) in \
39725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39726 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39728 esac; \
39729 module_srcdir=libvtv; \
39730 rm -f no-such-file || : ; \
39731 CONFIG_SITE=no-such-file $(SHELL) \
39732 $$s/$$module_srcdir/configure \
39733 --srcdir=$${topdir}/$$module_srcdir \
39734 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39735 --target=${target_alias} \
39736 || exit 1
39737 @endif target-libvtv
39741 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
39742 maybe-configure-stage1-target-libvtv:
39743 @if target-libvtv-bootstrap
39744 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
39745 configure-stage1-target-libvtv:
39746 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39747 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39748 @r=`${PWD_COMMAND}`; export r; \
39749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39750 TFLAGS="$(STAGE1_TFLAGS)"; \
39751 echo "Checking multilib configuration for libvtv..."; \
39752 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39753 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39754 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39755 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39756 else \
39757 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39758 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39759 fi; \
39760 else \
39761 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39762 fi; \
39763 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39764 $(RAW_CXX_TARGET_EXPORTS) \
39765 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39766 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39767 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39768 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
39769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39770 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39771 case $(srcdir) in \
39772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39773 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39775 esac; \
39776 module_srcdir=libvtv; \
39777 $(SHELL) $$s/$$module_srcdir/configure \
39778 --srcdir=$${topdir}/$$module_srcdir \
39779 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39780 --target=${target_alias} \
39782 $(STAGE1_CONFIGURE_FLAGS)
39783 @endif target-libvtv-bootstrap
39785 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
39786 maybe-configure-stage2-target-libvtv:
39787 @if target-libvtv-bootstrap
39788 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
39789 configure-stage2-target-libvtv:
39790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39791 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39792 @r=`${PWD_COMMAND}`; export r; \
39793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39794 TFLAGS="$(STAGE2_TFLAGS)"; \
39795 echo "Checking multilib configuration for libvtv..."; \
39796 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39797 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39798 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39799 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39800 else \
39801 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39802 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39803 fi; \
39804 else \
39805 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39806 fi; \
39807 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39808 $(RAW_CXX_TARGET_EXPORTS) \
39810 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39811 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39812 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39813 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
39814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39815 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39816 case $(srcdir) in \
39817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39818 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39820 esac; \
39821 module_srcdir=libvtv; \
39822 $(SHELL) $$s/$$module_srcdir/configure \
39823 --srcdir=$${topdir}/$$module_srcdir \
39824 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39825 --target=${target_alias} \
39826 --with-build-libsubdir=$(HOST_SUBDIR) \
39827 $(STAGE2_CONFIGURE_FLAGS)
39828 @endif target-libvtv-bootstrap
39830 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
39831 maybe-configure-stage3-target-libvtv:
39832 @if target-libvtv-bootstrap
39833 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
39834 configure-stage3-target-libvtv:
39835 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39836 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39837 @r=`${PWD_COMMAND}`; export r; \
39838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39839 TFLAGS="$(STAGE3_TFLAGS)"; \
39840 echo "Checking multilib configuration for libvtv..."; \
39841 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39842 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39843 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39844 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39845 else \
39846 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39847 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39848 fi; \
39849 else \
39850 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39851 fi; \
39852 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39853 $(RAW_CXX_TARGET_EXPORTS) \
39855 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39856 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39857 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39858 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
39859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39860 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39861 case $(srcdir) in \
39862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39863 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39865 esac; \
39866 module_srcdir=libvtv; \
39867 $(SHELL) $$s/$$module_srcdir/configure \
39868 --srcdir=$${topdir}/$$module_srcdir \
39869 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39870 --target=${target_alias} \
39871 --with-build-libsubdir=$(HOST_SUBDIR) \
39872 $(STAGE3_CONFIGURE_FLAGS)
39873 @endif target-libvtv-bootstrap
39875 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
39876 maybe-configure-stage4-target-libvtv:
39877 @if target-libvtv-bootstrap
39878 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
39879 configure-stage4-target-libvtv:
39880 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39881 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39882 @r=`${PWD_COMMAND}`; export r; \
39883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39884 TFLAGS="$(STAGE4_TFLAGS)"; \
39885 echo "Checking multilib configuration for libvtv..."; \
39886 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39887 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39888 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39889 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39890 else \
39891 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39892 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39893 fi; \
39894 else \
39895 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39896 fi; \
39897 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39898 $(RAW_CXX_TARGET_EXPORTS) \
39900 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39901 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39902 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39903 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
39904 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39905 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39906 case $(srcdir) in \
39907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39908 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39910 esac; \
39911 module_srcdir=libvtv; \
39912 $(SHELL) $$s/$$module_srcdir/configure \
39913 --srcdir=$${topdir}/$$module_srcdir \
39914 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39915 --target=${target_alias} \
39916 --with-build-libsubdir=$(HOST_SUBDIR) \
39917 $(STAGE4_CONFIGURE_FLAGS)
39918 @endif target-libvtv-bootstrap
39920 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
39921 maybe-configure-stageprofile-target-libvtv:
39922 @if target-libvtv-bootstrap
39923 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
39924 configure-stageprofile-target-libvtv:
39925 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39926 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39927 @r=`${PWD_COMMAND}`; export r; \
39928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39929 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39930 echo "Checking multilib configuration for libvtv..."; \
39931 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39932 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39933 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39934 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39935 else \
39936 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39937 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39938 fi; \
39939 else \
39940 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39941 fi; \
39942 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39943 $(RAW_CXX_TARGET_EXPORTS) \
39945 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39946 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39947 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39948 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
39949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39950 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39951 case $(srcdir) in \
39952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39953 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39955 esac; \
39956 module_srcdir=libvtv; \
39957 $(SHELL) $$s/$$module_srcdir/configure \
39958 --srcdir=$${topdir}/$$module_srcdir \
39959 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39960 --target=${target_alias} \
39961 --with-build-libsubdir=$(HOST_SUBDIR) \
39962 $(STAGEprofile_CONFIGURE_FLAGS)
39963 @endif target-libvtv-bootstrap
39965 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
39966 maybe-configure-stagefeedback-target-libvtv:
39967 @if target-libvtv-bootstrap
39968 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
39969 configure-stagefeedback-target-libvtv:
39970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39971 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39972 @r=`${PWD_COMMAND}`; export r; \
39973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39975 echo "Checking multilib configuration for libvtv..."; \
39976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39977 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39978 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39979 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39980 else \
39981 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39982 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39983 fi; \
39984 else \
39985 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39986 fi; \
39987 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39988 $(RAW_CXX_TARGET_EXPORTS) \
39990 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39991 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39992 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39993 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
39994 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39995 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39996 case $(srcdir) in \
39997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39998 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40000 esac; \
40001 module_srcdir=libvtv; \
40002 $(SHELL) $$s/$$module_srcdir/configure \
40003 --srcdir=$${topdir}/$$module_srcdir \
40004 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40005 --target=${target_alias} \
40006 --with-build-libsubdir=$(HOST_SUBDIR) \
40007 $(STAGEfeedback_CONFIGURE_FLAGS)
40008 @endif target-libvtv-bootstrap
40010 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40011 maybe-configure-stageautoprofile-target-libvtv:
40012 @if target-libvtv-bootstrap
40013 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40014 configure-stageautoprofile-target-libvtv:
40015 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40016 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40017 @r=`${PWD_COMMAND}`; export r; \
40018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40019 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40020 echo "Checking multilib configuration for libvtv..."; \
40021 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40022 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40023 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40024 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40025 else \
40026 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40027 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40028 fi; \
40029 else \
40030 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40031 fi; \
40032 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40033 $(RAW_CXX_TARGET_EXPORTS) \
40035 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40036 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40037 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40038 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40040 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40041 case $(srcdir) in \
40042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40043 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40045 esac; \
40046 module_srcdir=libvtv; \
40047 $(SHELL) $$s/$$module_srcdir/configure \
40048 --srcdir=$${topdir}/$$module_srcdir \
40049 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40050 --target=${target_alias} \
40051 --with-build-libsubdir=$(HOST_SUBDIR) \
40052 $(STAGEautoprofile_CONFIGURE_FLAGS)
40053 @endif target-libvtv-bootstrap
40055 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40056 maybe-configure-stageautofeedback-target-libvtv:
40057 @if target-libvtv-bootstrap
40058 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40059 configure-stageautofeedback-target-libvtv:
40060 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40061 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40062 @r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40065 echo "Checking multilib configuration for libvtv..."; \
40066 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40067 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40068 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40069 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40070 else \
40071 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40072 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40073 fi; \
40074 else \
40075 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40076 fi; \
40077 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40078 $(RAW_CXX_TARGET_EXPORTS) \
40080 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40081 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40082 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40083 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40085 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40086 case $(srcdir) in \
40087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40088 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40090 esac; \
40091 module_srcdir=libvtv; \
40092 $(SHELL) $$s/$$module_srcdir/configure \
40093 --srcdir=$${topdir}/$$module_srcdir \
40094 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40095 --target=${target_alias} \
40096 --with-build-libsubdir=$(HOST_SUBDIR) \
40097 $(STAGEautofeedback_CONFIGURE_FLAGS)
40098 @endif target-libvtv-bootstrap
40104 .PHONY: all-target-libvtv maybe-all-target-libvtv
40105 maybe-all-target-libvtv:
40106 @if gcc-bootstrap
40107 all-target-libvtv: stage_current
40108 @endif gcc-bootstrap
40109 @if target-libvtv
40110 TARGET-target-libvtv=all
40111 maybe-all-target-libvtv: all-target-libvtv
40112 all-target-libvtv: configure-target-libvtv
40113 @r=`${PWD_COMMAND}`; export r; \
40114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40115 $(RAW_CXX_TARGET_EXPORTS) \
40116 (cd $(TARGET_SUBDIR)/libvtv && \
40117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40118 $(TARGET-target-libvtv))
40119 @endif target-libvtv
40123 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40124 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40125 maybe-all-stage1-target-libvtv:
40126 maybe-clean-stage1-target-libvtv:
40127 @if target-libvtv-bootstrap
40128 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40129 all-stage1: all-stage1-target-libvtv
40130 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40131 all-stage1-target-libvtv: configure-stage1-target-libvtv
40132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40133 @r=`${PWD_COMMAND}`; export r; \
40134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40135 TFLAGS="$(STAGE1_TFLAGS)"; \
40136 $(RAW_CXX_TARGET_EXPORTS) \
40137 cd $(TARGET_SUBDIR)/libvtv && \
40139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40140 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40141 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40142 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40146 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40148 TFLAGS="$(STAGE1_TFLAGS)" \
40149 $(TARGET-stage1-target-libvtv)
40151 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40152 clean-stage1: clean-stage1-target-libvtv
40153 clean-stage1-target-libvtv:
40154 @if [ $(current_stage) = stage1 ]; then \
40155 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40156 else \
40157 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40158 $(MAKE) stage1-start; \
40159 fi; \
40160 cd $(TARGET_SUBDIR)/libvtv && \
40161 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40162 clean
40163 @endif target-libvtv-bootstrap
40166 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40167 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40168 maybe-all-stage2-target-libvtv:
40169 maybe-clean-stage2-target-libvtv:
40170 @if target-libvtv-bootstrap
40171 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40172 all-stage2: all-stage2-target-libvtv
40173 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40174 all-stage2-target-libvtv: configure-stage2-target-libvtv
40175 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40176 @r=`${PWD_COMMAND}`; export r; \
40177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40178 TFLAGS="$(STAGE2_TFLAGS)"; \
40179 $(RAW_CXX_TARGET_EXPORTS) \
40181 cd $(TARGET_SUBDIR)/libvtv && \
40183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40184 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40185 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40186 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40190 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40191 TFLAGS="$(STAGE2_TFLAGS)" \
40192 $(TARGET-stage2-target-libvtv)
40194 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40195 clean-stage2: clean-stage2-target-libvtv
40196 clean-stage2-target-libvtv:
40197 @if [ $(current_stage) = stage2 ]; then \
40198 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40199 else \
40200 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40201 $(MAKE) stage2-start; \
40202 fi; \
40203 cd $(TARGET_SUBDIR)/libvtv && \
40204 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40205 @endif target-libvtv-bootstrap
40208 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40209 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40210 maybe-all-stage3-target-libvtv:
40211 maybe-clean-stage3-target-libvtv:
40212 @if target-libvtv-bootstrap
40213 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40214 all-stage3: all-stage3-target-libvtv
40215 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40216 all-stage3-target-libvtv: configure-stage3-target-libvtv
40217 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40218 @r=`${PWD_COMMAND}`; export r; \
40219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40220 TFLAGS="$(STAGE3_TFLAGS)"; \
40221 $(RAW_CXX_TARGET_EXPORTS) \
40223 cd $(TARGET_SUBDIR)/libvtv && \
40225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40226 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40232 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40233 TFLAGS="$(STAGE3_TFLAGS)" \
40234 $(TARGET-stage3-target-libvtv)
40236 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40237 clean-stage3: clean-stage3-target-libvtv
40238 clean-stage3-target-libvtv:
40239 @if [ $(current_stage) = stage3 ]; then \
40240 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40241 else \
40242 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40243 $(MAKE) stage3-start; \
40244 fi; \
40245 cd $(TARGET_SUBDIR)/libvtv && \
40246 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40247 @endif target-libvtv-bootstrap
40250 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40251 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40252 maybe-all-stage4-target-libvtv:
40253 maybe-clean-stage4-target-libvtv:
40254 @if target-libvtv-bootstrap
40255 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
40256 all-stage4: all-stage4-target-libvtv
40257 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
40258 all-stage4-target-libvtv: configure-stage4-target-libvtv
40259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40260 @r=`${PWD_COMMAND}`; export r; \
40261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40262 TFLAGS="$(STAGE4_TFLAGS)"; \
40263 $(RAW_CXX_TARGET_EXPORTS) \
40265 cd $(TARGET_SUBDIR)/libvtv && \
40267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40268 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40269 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40270 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40274 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40275 TFLAGS="$(STAGE4_TFLAGS)" \
40276 $(TARGET-stage4-target-libvtv)
40278 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
40279 clean-stage4: clean-stage4-target-libvtv
40280 clean-stage4-target-libvtv:
40281 @if [ $(current_stage) = stage4 ]; then \
40282 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40283 else \
40284 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
40285 $(MAKE) stage4-start; \
40286 fi; \
40287 cd $(TARGET_SUBDIR)/libvtv && \
40288 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40289 @endif target-libvtv-bootstrap
40292 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
40293 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
40294 maybe-all-stageprofile-target-libvtv:
40295 maybe-clean-stageprofile-target-libvtv:
40296 @if target-libvtv-bootstrap
40297 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
40298 all-stageprofile: all-stageprofile-target-libvtv
40299 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
40300 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40302 @r=`${PWD_COMMAND}`; export r; \
40303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40304 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40305 $(RAW_CXX_TARGET_EXPORTS) \
40307 cd $(TARGET_SUBDIR)/libvtv && \
40309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40310 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40311 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40312 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40316 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40317 TFLAGS="$(STAGEprofile_TFLAGS)" \
40318 $(TARGET-stageprofile-target-libvtv)
40320 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
40321 clean-stageprofile: clean-stageprofile-target-libvtv
40322 clean-stageprofile-target-libvtv:
40323 @if [ $(current_stage) = stageprofile ]; then \
40324 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40325 else \
40326 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
40327 $(MAKE) stageprofile-start; \
40328 fi; \
40329 cd $(TARGET_SUBDIR)/libvtv && \
40330 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40331 @endif target-libvtv-bootstrap
40334 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
40335 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
40336 maybe-all-stagefeedback-target-libvtv:
40337 maybe-clean-stagefeedback-target-libvtv:
40338 @if target-libvtv-bootstrap
40339 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
40340 all-stagefeedback: all-stagefeedback-target-libvtv
40341 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
40342 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40343 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40344 @r=`${PWD_COMMAND}`; export r; \
40345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40346 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40347 $(RAW_CXX_TARGET_EXPORTS) \
40349 cd $(TARGET_SUBDIR)/libvtv && \
40351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40352 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40353 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40354 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40358 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40359 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40360 $(TARGET-stagefeedback-target-libvtv)
40362 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
40363 clean-stagefeedback: clean-stagefeedback-target-libvtv
40364 clean-stagefeedback-target-libvtv:
40365 @if [ $(current_stage) = stagefeedback ]; then \
40366 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40367 else \
40368 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
40369 $(MAKE) stagefeedback-start; \
40370 fi; \
40371 cd $(TARGET_SUBDIR)/libvtv && \
40372 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40373 @endif target-libvtv-bootstrap
40376 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
40377 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
40378 maybe-all-stageautoprofile-target-libvtv:
40379 maybe-clean-stageautoprofile-target-libvtv:
40380 @if target-libvtv-bootstrap
40381 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
40382 all-stageautoprofile: all-stageautoprofile-target-libvtv
40383 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
40384 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40385 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40386 @r=`${PWD_COMMAND}`; export r; \
40387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40388 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40389 $(RAW_CXX_TARGET_EXPORTS) \
40391 cd $(TARGET_SUBDIR)/libvtv && \
40392 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40394 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40395 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40396 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40397 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40398 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40399 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40400 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40401 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40402 $(TARGET-stageautoprofile-target-libvtv)
40404 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
40405 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
40406 clean-stageautoprofile-target-libvtv:
40407 @if [ $(current_stage) = stageautoprofile ]; then \
40408 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40409 else \
40410 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
40411 $(MAKE) stageautoprofile-start; \
40412 fi; \
40413 cd $(TARGET_SUBDIR)/libvtv && \
40414 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40415 @endif target-libvtv-bootstrap
40418 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
40419 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
40420 maybe-all-stageautofeedback-target-libvtv:
40421 maybe-clean-stageautofeedback-target-libvtv:
40422 @if target-libvtv-bootstrap
40423 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
40424 all-stageautofeedback: all-stageautofeedback-target-libvtv
40425 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
40426 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40427 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40428 @r=`${PWD_COMMAND}`; export r; \
40429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40430 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40431 $(RAW_CXX_TARGET_EXPORTS) \
40433 cd $(TARGET_SUBDIR)/libvtv && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40436 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40438 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40442 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40443 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40444 $(TARGET-stageautofeedback-target-libvtv)
40446 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
40447 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
40448 clean-stageautofeedback-target-libvtv:
40449 @if [ $(current_stage) = stageautofeedback ]; then \
40450 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40451 else \
40452 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
40453 $(MAKE) stageautofeedback-start; \
40454 fi; \
40455 cd $(TARGET_SUBDIR)/libvtv && \
40456 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40457 @endif target-libvtv-bootstrap
40464 .PHONY: check-target-libvtv maybe-check-target-libvtv
40465 maybe-check-target-libvtv:
40466 @if target-libvtv
40467 maybe-check-target-libvtv: check-target-libvtv
40469 check-target-libvtv:
40470 @: $(MAKE); $(unstage)
40471 @r=`${PWD_COMMAND}`; export r; \
40472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40473 $(RAW_CXX_TARGET_EXPORTS) \
40474 (cd $(TARGET_SUBDIR)/libvtv && \
40475 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40477 @endif target-libvtv
40479 .PHONY: install-target-libvtv maybe-install-target-libvtv
40480 maybe-install-target-libvtv:
40481 @if target-libvtv
40482 maybe-install-target-libvtv: install-target-libvtv
40484 install-target-libvtv: installdirs
40485 @: $(MAKE); $(unstage)
40486 @r=`${PWD_COMMAND}`; export r; \
40487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40488 $(RAW_CXX_TARGET_EXPORTS) \
40489 (cd $(TARGET_SUBDIR)/libvtv && \
40490 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40492 @endif target-libvtv
40494 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
40495 maybe-install-strip-target-libvtv:
40496 @if target-libvtv
40497 maybe-install-strip-target-libvtv: install-strip-target-libvtv
40499 install-strip-target-libvtv: installdirs
40500 @: $(MAKE); $(unstage)
40501 @r=`${PWD_COMMAND}`; export r; \
40502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40503 $(RAW_CXX_TARGET_EXPORTS) \
40504 (cd $(TARGET_SUBDIR)/libvtv && \
40505 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40507 @endif target-libvtv
40509 # Other targets (info, dvi, pdf, etc.)
40511 .PHONY: maybe-info-target-libvtv info-target-libvtv
40512 maybe-info-target-libvtv:
40513 @if target-libvtv
40514 maybe-info-target-libvtv: info-target-libvtv
40516 info-target-libvtv: \
40517 configure-target-libvtv
40518 @: $(MAKE); $(unstage)
40519 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40520 r=`${PWD_COMMAND}`; export r; \
40521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40522 $(RAW_CXX_TARGET_EXPORTS) \
40523 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
40524 for flag in $(EXTRA_TARGET_FLAGS); do \
40525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40526 done; \
40527 (cd $(TARGET_SUBDIR)/libvtv && \
40528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40530 "RANLIB=$${RANLIB}" \
40531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40532 info) \
40533 || exit 1
40535 @endif target-libvtv
40537 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
40538 maybe-dvi-target-libvtv:
40539 @if target-libvtv
40540 maybe-dvi-target-libvtv: dvi-target-libvtv
40542 dvi-target-libvtv: \
40543 configure-target-libvtv
40544 @: $(MAKE); $(unstage)
40545 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40546 r=`${PWD_COMMAND}`; export r; \
40547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40548 $(RAW_CXX_TARGET_EXPORTS) \
40549 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
40550 for flag in $(EXTRA_TARGET_FLAGS); do \
40551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40552 done; \
40553 (cd $(TARGET_SUBDIR)/libvtv && \
40554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40556 "RANLIB=$${RANLIB}" \
40557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40558 dvi) \
40559 || exit 1
40561 @endif target-libvtv
40563 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
40564 maybe-pdf-target-libvtv:
40565 @if target-libvtv
40566 maybe-pdf-target-libvtv: pdf-target-libvtv
40568 pdf-target-libvtv: \
40569 configure-target-libvtv
40570 @: $(MAKE); $(unstage)
40571 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40572 r=`${PWD_COMMAND}`; export r; \
40573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40574 $(RAW_CXX_TARGET_EXPORTS) \
40575 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
40576 for flag in $(EXTRA_TARGET_FLAGS); do \
40577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40578 done; \
40579 (cd $(TARGET_SUBDIR)/libvtv && \
40580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40582 "RANLIB=$${RANLIB}" \
40583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40584 pdf) \
40585 || exit 1
40587 @endif target-libvtv
40589 .PHONY: maybe-html-target-libvtv html-target-libvtv
40590 maybe-html-target-libvtv:
40591 @if target-libvtv
40592 maybe-html-target-libvtv: html-target-libvtv
40594 html-target-libvtv: \
40595 configure-target-libvtv
40596 @: $(MAKE); $(unstage)
40597 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40598 r=`${PWD_COMMAND}`; export r; \
40599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40600 $(RAW_CXX_TARGET_EXPORTS) \
40601 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
40602 for flag in $(EXTRA_TARGET_FLAGS); do \
40603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40604 done; \
40605 (cd $(TARGET_SUBDIR)/libvtv && \
40606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40608 "RANLIB=$${RANLIB}" \
40609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40610 html) \
40611 || exit 1
40613 @endif target-libvtv
40615 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
40616 maybe-TAGS-target-libvtv:
40617 @if target-libvtv
40618 maybe-TAGS-target-libvtv: TAGS-target-libvtv
40620 TAGS-target-libvtv: \
40621 configure-target-libvtv
40622 @: $(MAKE); $(unstage)
40623 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40624 r=`${PWD_COMMAND}`; export r; \
40625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40626 $(RAW_CXX_TARGET_EXPORTS) \
40627 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
40628 for flag in $(EXTRA_TARGET_FLAGS); do \
40629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40630 done; \
40631 (cd $(TARGET_SUBDIR)/libvtv && \
40632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40634 "RANLIB=$${RANLIB}" \
40635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40636 TAGS) \
40637 || exit 1
40639 @endif target-libvtv
40641 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
40642 maybe-install-info-target-libvtv:
40643 @if target-libvtv
40644 maybe-install-info-target-libvtv: install-info-target-libvtv
40646 install-info-target-libvtv: \
40647 configure-target-libvtv \
40648 info-target-libvtv
40649 @: $(MAKE); $(unstage)
40650 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40651 r=`${PWD_COMMAND}`; export r; \
40652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40653 $(RAW_CXX_TARGET_EXPORTS) \
40654 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
40655 for flag in $(EXTRA_TARGET_FLAGS); do \
40656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40657 done; \
40658 (cd $(TARGET_SUBDIR)/libvtv && \
40659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40661 "RANLIB=$${RANLIB}" \
40662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40663 install-info) \
40664 || exit 1
40666 @endif target-libvtv
40668 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
40669 maybe-install-pdf-target-libvtv:
40670 @if target-libvtv
40671 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
40673 install-pdf-target-libvtv: \
40674 configure-target-libvtv \
40675 pdf-target-libvtv
40676 @: $(MAKE); $(unstage)
40677 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40678 r=`${PWD_COMMAND}`; export r; \
40679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40680 $(RAW_CXX_TARGET_EXPORTS) \
40681 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
40682 for flag in $(EXTRA_TARGET_FLAGS); do \
40683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40684 done; \
40685 (cd $(TARGET_SUBDIR)/libvtv && \
40686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40688 "RANLIB=$${RANLIB}" \
40689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40690 install-pdf) \
40691 || exit 1
40693 @endif target-libvtv
40695 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
40696 maybe-install-html-target-libvtv:
40697 @if target-libvtv
40698 maybe-install-html-target-libvtv: install-html-target-libvtv
40700 install-html-target-libvtv: \
40701 configure-target-libvtv \
40702 html-target-libvtv
40703 @: $(MAKE); $(unstage)
40704 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40705 r=`${PWD_COMMAND}`; export r; \
40706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40707 $(RAW_CXX_TARGET_EXPORTS) \
40708 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
40709 for flag in $(EXTRA_TARGET_FLAGS); do \
40710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40711 done; \
40712 (cd $(TARGET_SUBDIR)/libvtv && \
40713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40715 "RANLIB=$${RANLIB}" \
40716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40717 install-html) \
40718 || exit 1
40720 @endif target-libvtv
40722 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
40723 maybe-installcheck-target-libvtv:
40724 @if target-libvtv
40725 maybe-installcheck-target-libvtv: installcheck-target-libvtv
40727 installcheck-target-libvtv: \
40728 configure-target-libvtv
40729 @: $(MAKE); $(unstage)
40730 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40731 r=`${PWD_COMMAND}`; export r; \
40732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40733 $(RAW_CXX_TARGET_EXPORTS) \
40734 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
40735 for flag in $(EXTRA_TARGET_FLAGS); do \
40736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40737 done; \
40738 (cd $(TARGET_SUBDIR)/libvtv && \
40739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40741 "RANLIB=$${RANLIB}" \
40742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40743 installcheck) \
40744 || exit 1
40746 @endif target-libvtv
40748 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
40749 maybe-mostlyclean-target-libvtv:
40750 @if target-libvtv
40751 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
40753 mostlyclean-target-libvtv:
40754 @: $(MAKE); $(unstage)
40755 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40756 r=`${PWD_COMMAND}`; export r; \
40757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40758 $(RAW_CXX_TARGET_EXPORTS) \
40759 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
40760 for flag in $(EXTRA_TARGET_FLAGS); do \
40761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40762 done; \
40763 (cd $(TARGET_SUBDIR)/libvtv && \
40764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40766 "RANLIB=$${RANLIB}" \
40767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40768 mostlyclean) \
40769 || exit 1
40771 @endif target-libvtv
40773 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
40774 maybe-clean-target-libvtv:
40775 @if target-libvtv
40776 maybe-clean-target-libvtv: clean-target-libvtv
40778 clean-target-libvtv:
40779 @: $(MAKE); $(unstage)
40780 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40781 r=`${PWD_COMMAND}`; export r; \
40782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40783 $(RAW_CXX_TARGET_EXPORTS) \
40784 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
40785 for flag in $(EXTRA_TARGET_FLAGS); do \
40786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40787 done; \
40788 (cd $(TARGET_SUBDIR)/libvtv && \
40789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40791 "RANLIB=$${RANLIB}" \
40792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40793 clean) \
40794 || exit 1
40796 @endif target-libvtv
40798 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
40799 maybe-distclean-target-libvtv:
40800 @if target-libvtv
40801 maybe-distclean-target-libvtv: distclean-target-libvtv
40803 distclean-target-libvtv:
40804 @: $(MAKE); $(unstage)
40805 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40806 r=`${PWD_COMMAND}`; export r; \
40807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40808 $(RAW_CXX_TARGET_EXPORTS) \
40809 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
40810 for flag in $(EXTRA_TARGET_FLAGS); do \
40811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40812 done; \
40813 (cd $(TARGET_SUBDIR)/libvtv && \
40814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40816 "RANLIB=$${RANLIB}" \
40817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40818 distclean) \
40819 || exit 1
40821 @endif target-libvtv
40823 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
40824 maybe-maintainer-clean-target-libvtv:
40825 @if target-libvtv
40826 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
40828 maintainer-clean-target-libvtv:
40829 @: $(MAKE); $(unstage)
40830 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40831 r=`${PWD_COMMAND}`; export r; \
40832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40833 $(RAW_CXX_TARGET_EXPORTS) \
40834 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
40835 for flag in $(EXTRA_TARGET_FLAGS); do \
40836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40837 done; \
40838 (cd $(TARGET_SUBDIR)/libvtv && \
40839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40841 "RANLIB=$${RANLIB}" \
40842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40843 maintainer-clean) \
40844 || exit 1
40846 @endif target-libvtv
40852 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
40853 maybe-configure-target-libcilkrts:
40854 @if gcc-bootstrap
40855 configure-target-libcilkrts: stage_current
40856 @endif gcc-bootstrap
40857 @if target-libcilkrts
40858 maybe-configure-target-libcilkrts: configure-target-libcilkrts
40859 configure-target-libcilkrts:
40860 @: $(MAKE); $(unstage)
40861 @r=`${PWD_COMMAND}`; export r; \
40862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40863 echo "Checking multilib configuration for libcilkrts..."; \
40864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
40866 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40867 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40868 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
40869 else \
40870 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
40871 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40872 fi; \
40873 else \
40874 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40875 fi; \
40876 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
40877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40878 $(NORMAL_TARGET_EXPORTS) \
40879 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
40880 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
40881 case $(srcdir) in \
40882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40883 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
40884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40885 esac; \
40886 module_srcdir=libcilkrts; \
40887 rm -f no-such-file || : ; \
40888 CONFIG_SITE=no-such-file $(SHELL) \
40889 $$s/$$module_srcdir/configure \
40890 --srcdir=$${topdir}/$$module_srcdir \
40891 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40892 --target=${target_alias} \
40893 || exit 1
40894 @endif target-libcilkrts
40900 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
40901 maybe-all-target-libcilkrts:
40902 @if gcc-bootstrap
40903 all-target-libcilkrts: stage_current
40904 @endif gcc-bootstrap
40905 @if target-libcilkrts
40906 TARGET-target-libcilkrts=all
40907 maybe-all-target-libcilkrts: all-target-libcilkrts
40908 all-target-libcilkrts: configure-target-libcilkrts
40909 @: $(MAKE); $(unstage)
40910 @r=`${PWD_COMMAND}`; export r; \
40911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40912 $(NORMAL_TARGET_EXPORTS) \
40913 (cd $(TARGET_SUBDIR)/libcilkrts && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40915 $(TARGET-target-libcilkrts))
40916 @endif target-libcilkrts
40922 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
40923 maybe-check-target-libcilkrts:
40924 @if target-libcilkrts
40925 maybe-check-target-libcilkrts: check-target-libcilkrts
40927 check-target-libcilkrts:
40928 @: $(MAKE); $(unstage)
40929 @r=`${PWD_COMMAND}`; export r; \
40930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40931 $(NORMAL_TARGET_EXPORTS) \
40932 (cd $(TARGET_SUBDIR)/libcilkrts && \
40933 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40935 @endif target-libcilkrts
40937 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
40938 maybe-install-target-libcilkrts:
40939 @if target-libcilkrts
40940 maybe-install-target-libcilkrts: install-target-libcilkrts
40942 install-target-libcilkrts: installdirs
40943 @: $(MAKE); $(unstage)
40944 @r=`${PWD_COMMAND}`; export r; \
40945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40946 $(NORMAL_TARGET_EXPORTS) \
40947 (cd $(TARGET_SUBDIR)/libcilkrts && \
40948 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40950 @endif target-libcilkrts
40952 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
40953 maybe-install-strip-target-libcilkrts:
40954 @if target-libcilkrts
40955 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
40957 install-strip-target-libcilkrts: installdirs
40958 @: $(MAKE); $(unstage)
40959 @r=`${PWD_COMMAND}`; export r; \
40960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40961 $(NORMAL_TARGET_EXPORTS) \
40962 (cd $(TARGET_SUBDIR)/libcilkrts && \
40963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40965 @endif target-libcilkrts
40967 # Other targets (info, dvi, pdf, etc.)
40969 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
40970 maybe-info-target-libcilkrts:
40971 @if target-libcilkrts
40972 maybe-info-target-libcilkrts: info-target-libcilkrts
40974 info-target-libcilkrts: \
40975 configure-target-libcilkrts
40976 @: $(MAKE); $(unstage)
40977 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
40978 r=`${PWD_COMMAND}`; export r; \
40979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40980 $(NORMAL_TARGET_EXPORTS) \
40981 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
40982 for flag in $(EXTRA_TARGET_FLAGS); do \
40983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40984 done; \
40985 (cd $(TARGET_SUBDIR)/libcilkrts && \
40986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40988 "RANLIB=$${RANLIB}" \
40989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40990 info) \
40991 || exit 1
40993 @endif target-libcilkrts
40995 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
40996 maybe-dvi-target-libcilkrts:
40997 @if target-libcilkrts
40998 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
41000 dvi-target-libcilkrts: \
41001 configure-target-libcilkrts
41002 @: $(MAKE); $(unstage)
41003 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41004 r=`${PWD_COMMAND}`; export r; \
41005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41006 $(NORMAL_TARGET_EXPORTS) \
41007 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
41008 for flag in $(EXTRA_TARGET_FLAGS); do \
41009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41010 done; \
41011 (cd $(TARGET_SUBDIR)/libcilkrts && \
41012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41014 "RANLIB=$${RANLIB}" \
41015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41016 dvi) \
41017 || exit 1
41019 @endif target-libcilkrts
41021 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
41022 maybe-pdf-target-libcilkrts:
41023 @if target-libcilkrts
41024 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
41026 pdf-target-libcilkrts: \
41027 configure-target-libcilkrts
41028 @: $(MAKE); $(unstage)
41029 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41030 r=`${PWD_COMMAND}`; export r; \
41031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41032 $(NORMAL_TARGET_EXPORTS) \
41033 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41034 for flag in $(EXTRA_TARGET_FLAGS); do \
41035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41036 done; \
41037 (cd $(TARGET_SUBDIR)/libcilkrts && \
41038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41040 "RANLIB=$${RANLIB}" \
41041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41042 pdf) \
41043 || exit 1
41045 @endif target-libcilkrts
41047 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
41048 maybe-html-target-libcilkrts:
41049 @if target-libcilkrts
41050 maybe-html-target-libcilkrts: html-target-libcilkrts
41052 html-target-libcilkrts: \
41053 configure-target-libcilkrts
41054 @: $(MAKE); $(unstage)
41055 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41056 r=`${PWD_COMMAND}`; export r; \
41057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41058 $(NORMAL_TARGET_EXPORTS) \
41059 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
41060 for flag in $(EXTRA_TARGET_FLAGS); do \
41061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41062 done; \
41063 (cd $(TARGET_SUBDIR)/libcilkrts && \
41064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41066 "RANLIB=$${RANLIB}" \
41067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41068 html) \
41069 || exit 1
41071 @endif target-libcilkrts
41073 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
41074 maybe-TAGS-target-libcilkrts:
41075 @if target-libcilkrts
41076 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
41078 TAGS-target-libcilkrts: \
41079 configure-target-libcilkrts
41080 @: $(MAKE); $(unstage)
41081 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41082 r=`${PWD_COMMAND}`; export r; \
41083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41084 $(NORMAL_TARGET_EXPORTS) \
41085 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
41086 for flag in $(EXTRA_TARGET_FLAGS); do \
41087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41088 done; \
41089 (cd $(TARGET_SUBDIR)/libcilkrts && \
41090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41092 "RANLIB=$${RANLIB}" \
41093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41094 TAGS) \
41095 || exit 1
41097 @endif target-libcilkrts
41099 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
41100 maybe-install-info-target-libcilkrts:
41101 @if target-libcilkrts
41102 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
41104 install-info-target-libcilkrts: \
41105 configure-target-libcilkrts \
41106 info-target-libcilkrts
41107 @: $(MAKE); $(unstage)
41108 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41109 r=`${PWD_COMMAND}`; export r; \
41110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41111 $(NORMAL_TARGET_EXPORTS) \
41112 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
41113 for flag in $(EXTRA_TARGET_FLAGS); do \
41114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41115 done; \
41116 (cd $(TARGET_SUBDIR)/libcilkrts && \
41117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41119 "RANLIB=$${RANLIB}" \
41120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41121 install-info) \
41122 || exit 1
41124 @endif target-libcilkrts
41126 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
41127 maybe-install-pdf-target-libcilkrts:
41128 @if target-libcilkrts
41129 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
41131 install-pdf-target-libcilkrts: \
41132 configure-target-libcilkrts \
41133 pdf-target-libcilkrts
41134 @: $(MAKE); $(unstage)
41135 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41136 r=`${PWD_COMMAND}`; export r; \
41137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41138 $(NORMAL_TARGET_EXPORTS) \
41139 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41140 for flag in $(EXTRA_TARGET_FLAGS); do \
41141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41142 done; \
41143 (cd $(TARGET_SUBDIR)/libcilkrts && \
41144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41146 "RANLIB=$${RANLIB}" \
41147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41148 install-pdf) \
41149 || exit 1
41151 @endif target-libcilkrts
41153 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
41154 maybe-install-html-target-libcilkrts:
41155 @if target-libcilkrts
41156 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
41158 install-html-target-libcilkrts: \
41159 configure-target-libcilkrts \
41160 html-target-libcilkrts
41161 @: $(MAKE); $(unstage)
41162 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41163 r=`${PWD_COMMAND}`; export r; \
41164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41165 $(NORMAL_TARGET_EXPORTS) \
41166 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
41167 for flag in $(EXTRA_TARGET_FLAGS); do \
41168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41169 done; \
41170 (cd $(TARGET_SUBDIR)/libcilkrts && \
41171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41173 "RANLIB=$${RANLIB}" \
41174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41175 install-html) \
41176 || exit 1
41178 @endif target-libcilkrts
41180 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
41181 maybe-installcheck-target-libcilkrts:
41182 @if target-libcilkrts
41183 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
41185 installcheck-target-libcilkrts: \
41186 configure-target-libcilkrts
41187 @: $(MAKE); $(unstage)
41188 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41189 r=`${PWD_COMMAND}`; export r; \
41190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41191 $(NORMAL_TARGET_EXPORTS) \
41192 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
41193 for flag in $(EXTRA_TARGET_FLAGS); do \
41194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41195 done; \
41196 (cd $(TARGET_SUBDIR)/libcilkrts && \
41197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41199 "RANLIB=$${RANLIB}" \
41200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41201 installcheck) \
41202 || exit 1
41204 @endif target-libcilkrts
41206 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
41207 maybe-mostlyclean-target-libcilkrts:
41208 @if target-libcilkrts
41209 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
41211 mostlyclean-target-libcilkrts:
41212 @: $(MAKE); $(unstage)
41213 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41214 r=`${PWD_COMMAND}`; export r; \
41215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41216 $(NORMAL_TARGET_EXPORTS) \
41217 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
41218 for flag in $(EXTRA_TARGET_FLAGS); do \
41219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41220 done; \
41221 (cd $(TARGET_SUBDIR)/libcilkrts && \
41222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41224 "RANLIB=$${RANLIB}" \
41225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41226 mostlyclean) \
41227 || exit 1
41229 @endif target-libcilkrts
41231 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
41232 maybe-clean-target-libcilkrts:
41233 @if target-libcilkrts
41234 maybe-clean-target-libcilkrts: clean-target-libcilkrts
41236 clean-target-libcilkrts:
41237 @: $(MAKE); $(unstage)
41238 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41239 r=`${PWD_COMMAND}`; export r; \
41240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41241 $(NORMAL_TARGET_EXPORTS) \
41242 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
41243 for flag in $(EXTRA_TARGET_FLAGS); do \
41244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41245 done; \
41246 (cd $(TARGET_SUBDIR)/libcilkrts && \
41247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41249 "RANLIB=$${RANLIB}" \
41250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41251 clean) \
41252 || exit 1
41254 @endif target-libcilkrts
41256 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
41257 maybe-distclean-target-libcilkrts:
41258 @if target-libcilkrts
41259 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
41261 distclean-target-libcilkrts:
41262 @: $(MAKE); $(unstage)
41263 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41264 r=`${PWD_COMMAND}`; export r; \
41265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41266 $(NORMAL_TARGET_EXPORTS) \
41267 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
41268 for flag in $(EXTRA_TARGET_FLAGS); do \
41269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41270 done; \
41271 (cd $(TARGET_SUBDIR)/libcilkrts && \
41272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41274 "RANLIB=$${RANLIB}" \
41275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41276 distclean) \
41277 || exit 1
41279 @endif target-libcilkrts
41281 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
41282 maybe-maintainer-clean-target-libcilkrts:
41283 @if target-libcilkrts
41284 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
41286 maintainer-clean-target-libcilkrts:
41287 @: $(MAKE); $(unstage)
41288 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41289 r=`${PWD_COMMAND}`; export r; \
41290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41291 $(NORMAL_TARGET_EXPORTS) \
41292 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
41293 for flag in $(EXTRA_TARGET_FLAGS); do \
41294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41295 done; \
41296 (cd $(TARGET_SUBDIR)/libcilkrts && \
41297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41299 "RANLIB=$${RANLIB}" \
41300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41301 maintainer-clean) \
41302 || exit 1
41304 @endif target-libcilkrts
41310 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41311 maybe-configure-target-liboffloadmic:
41312 @if gcc-bootstrap
41313 configure-target-liboffloadmic: stage_current
41314 @endif gcc-bootstrap
41315 @if target-liboffloadmic
41316 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41317 configure-target-liboffloadmic:
41318 @: $(MAKE); $(unstage)
41319 @r=`${PWD_COMMAND}`; export r; \
41320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41321 echo "Checking multilib configuration for liboffloadmic..."; \
41322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41323 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41324 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41325 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41326 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41327 else \
41328 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41329 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41330 fi; \
41331 else \
41332 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41333 fi; \
41334 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41336 $(NORMAL_TARGET_EXPORTS) \
41337 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41338 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41339 case $(srcdir) in \
41340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41341 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41343 esac; \
41344 module_srcdir=liboffloadmic; \
41345 rm -f no-such-file || : ; \
41346 CONFIG_SITE=no-such-file $(SHELL) \
41347 $$s/$$module_srcdir/configure \
41348 --srcdir=$${topdir}/$$module_srcdir \
41349 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41350 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41351 || exit 1
41352 @endif target-liboffloadmic
41358 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41359 maybe-all-target-liboffloadmic:
41360 @if gcc-bootstrap
41361 all-target-liboffloadmic: stage_current
41362 @endif gcc-bootstrap
41363 @if target-liboffloadmic
41364 TARGET-target-liboffloadmic=all
41365 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41366 all-target-liboffloadmic: configure-target-liboffloadmic
41367 @: $(MAKE); $(unstage)
41368 @r=`${PWD_COMMAND}`; export r; \
41369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41370 $(NORMAL_TARGET_EXPORTS) \
41371 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41372 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41373 $(TARGET-target-liboffloadmic))
41374 @endif target-liboffloadmic
41380 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41381 maybe-check-target-liboffloadmic:
41382 @if target-liboffloadmic
41383 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41385 check-target-liboffloadmic:
41386 @: $(MAKE); $(unstage)
41387 @r=`${PWD_COMMAND}`; export r; \
41388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41389 $(NORMAL_TARGET_EXPORTS) \
41390 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41391 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41393 @endif target-liboffloadmic
41395 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41396 maybe-install-target-liboffloadmic:
41397 @if target-liboffloadmic
41398 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41400 install-target-liboffloadmic: installdirs
41401 @: $(MAKE); $(unstage)
41402 @r=`${PWD_COMMAND}`; export r; \
41403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41404 $(NORMAL_TARGET_EXPORTS) \
41405 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41406 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41408 @endif target-liboffloadmic
41410 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41411 maybe-install-strip-target-liboffloadmic:
41412 @if target-liboffloadmic
41413 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41415 install-strip-target-liboffloadmic: installdirs
41416 @: $(MAKE); $(unstage)
41417 @r=`${PWD_COMMAND}`; export r; \
41418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41419 $(NORMAL_TARGET_EXPORTS) \
41420 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41423 @endif target-liboffloadmic
41425 # Other targets (info, dvi, pdf, etc.)
41427 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41428 maybe-info-target-liboffloadmic:
41429 @if target-liboffloadmic
41430 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41432 info-target-liboffloadmic: \
41433 configure-target-liboffloadmic
41434 @: $(MAKE); $(unstage)
41435 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41436 r=`${PWD_COMMAND}`; export r; \
41437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41438 $(NORMAL_TARGET_EXPORTS) \
41439 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41440 for flag in $(EXTRA_TARGET_FLAGS); do \
41441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41442 done; \
41443 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41446 "RANLIB=$${RANLIB}" \
41447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41448 info) \
41449 || exit 1
41451 @endif target-liboffloadmic
41453 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41454 maybe-dvi-target-liboffloadmic:
41455 @if target-liboffloadmic
41456 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41458 dvi-target-liboffloadmic: \
41459 configure-target-liboffloadmic
41460 @: $(MAKE); $(unstage)
41461 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41462 r=`${PWD_COMMAND}`; export r; \
41463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41464 $(NORMAL_TARGET_EXPORTS) \
41465 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41466 for flag in $(EXTRA_TARGET_FLAGS); do \
41467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41468 done; \
41469 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41472 "RANLIB=$${RANLIB}" \
41473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41474 dvi) \
41475 || exit 1
41477 @endif target-liboffloadmic
41479 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41480 maybe-pdf-target-liboffloadmic:
41481 @if target-liboffloadmic
41482 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41484 pdf-target-liboffloadmic: \
41485 configure-target-liboffloadmic
41486 @: $(MAKE); $(unstage)
41487 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41488 r=`${PWD_COMMAND}`; export r; \
41489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41490 $(NORMAL_TARGET_EXPORTS) \
41491 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41492 for flag in $(EXTRA_TARGET_FLAGS); do \
41493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41494 done; \
41495 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41498 "RANLIB=$${RANLIB}" \
41499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41500 pdf) \
41501 || exit 1
41503 @endif target-liboffloadmic
41505 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41506 maybe-html-target-liboffloadmic:
41507 @if target-liboffloadmic
41508 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41510 html-target-liboffloadmic: \
41511 configure-target-liboffloadmic
41512 @: $(MAKE); $(unstage)
41513 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41514 r=`${PWD_COMMAND}`; export r; \
41515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41516 $(NORMAL_TARGET_EXPORTS) \
41517 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41518 for flag in $(EXTRA_TARGET_FLAGS); do \
41519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41520 done; \
41521 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41524 "RANLIB=$${RANLIB}" \
41525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41526 html) \
41527 || exit 1
41529 @endif target-liboffloadmic
41531 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41532 maybe-TAGS-target-liboffloadmic:
41533 @if target-liboffloadmic
41534 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41536 TAGS-target-liboffloadmic: \
41537 configure-target-liboffloadmic
41538 @: $(MAKE); $(unstage)
41539 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41540 r=`${PWD_COMMAND}`; export r; \
41541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41542 $(NORMAL_TARGET_EXPORTS) \
41543 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41544 for flag in $(EXTRA_TARGET_FLAGS); do \
41545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41546 done; \
41547 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41550 "RANLIB=$${RANLIB}" \
41551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41552 TAGS) \
41553 || exit 1
41555 @endif target-liboffloadmic
41557 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41558 maybe-install-info-target-liboffloadmic:
41559 @if target-liboffloadmic
41560 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41562 install-info-target-liboffloadmic: \
41563 configure-target-liboffloadmic \
41564 info-target-liboffloadmic
41565 @: $(MAKE); $(unstage)
41566 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41567 r=`${PWD_COMMAND}`; export r; \
41568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41569 $(NORMAL_TARGET_EXPORTS) \
41570 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41571 for flag in $(EXTRA_TARGET_FLAGS); do \
41572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41573 done; \
41574 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41577 "RANLIB=$${RANLIB}" \
41578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41579 install-info) \
41580 || exit 1
41582 @endif target-liboffloadmic
41584 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41585 maybe-install-pdf-target-liboffloadmic:
41586 @if target-liboffloadmic
41587 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41589 install-pdf-target-liboffloadmic: \
41590 configure-target-liboffloadmic \
41591 pdf-target-liboffloadmic
41592 @: $(MAKE); $(unstage)
41593 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41594 r=`${PWD_COMMAND}`; export r; \
41595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41596 $(NORMAL_TARGET_EXPORTS) \
41597 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41598 for flag in $(EXTRA_TARGET_FLAGS); do \
41599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41600 done; \
41601 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41604 "RANLIB=$${RANLIB}" \
41605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41606 install-pdf) \
41607 || exit 1
41609 @endif target-liboffloadmic
41611 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41612 maybe-install-html-target-liboffloadmic:
41613 @if target-liboffloadmic
41614 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41616 install-html-target-liboffloadmic: \
41617 configure-target-liboffloadmic \
41618 html-target-liboffloadmic
41619 @: $(MAKE); $(unstage)
41620 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41621 r=`${PWD_COMMAND}`; export r; \
41622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41623 $(NORMAL_TARGET_EXPORTS) \
41624 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41625 for flag in $(EXTRA_TARGET_FLAGS); do \
41626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41627 done; \
41628 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41631 "RANLIB=$${RANLIB}" \
41632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41633 install-html) \
41634 || exit 1
41636 @endif target-liboffloadmic
41638 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41639 maybe-installcheck-target-liboffloadmic:
41640 @if target-liboffloadmic
41641 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41643 installcheck-target-liboffloadmic: \
41644 configure-target-liboffloadmic
41645 @: $(MAKE); $(unstage)
41646 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41647 r=`${PWD_COMMAND}`; export r; \
41648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41649 $(NORMAL_TARGET_EXPORTS) \
41650 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41651 for flag in $(EXTRA_TARGET_FLAGS); do \
41652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41653 done; \
41654 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41657 "RANLIB=$${RANLIB}" \
41658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41659 installcheck) \
41660 || exit 1
41662 @endif target-liboffloadmic
41664 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41665 maybe-mostlyclean-target-liboffloadmic:
41666 @if target-liboffloadmic
41667 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41669 mostlyclean-target-liboffloadmic:
41670 @: $(MAKE); $(unstage)
41671 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41672 r=`${PWD_COMMAND}`; export r; \
41673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41674 $(NORMAL_TARGET_EXPORTS) \
41675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41676 for flag in $(EXTRA_TARGET_FLAGS); do \
41677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41678 done; \
41679 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41682 "RANLIB=$${RANLIB}" \
41683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41684 mostlyclean) \
41685 || exit 1
41687 @endif target-liboffloadmic
41689 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
41690 maybe-clean-target-liboffloadmic:
41691 @if target-liboffloadmic
41692 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
41694 clean-target-liboffloadmic:
41695 @: $(MAKE); $(unstage)
41696 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41697 r=`${PWD_COMMAND}`; export r; \
41698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41699 $(NORMAL_TARGET_EXPORTS) \
41700 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41701 for flag in $(EXTRA_TARGET_FLAGS); do \
41702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41703 done; \
41704 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41707 "RANLIB=$${RANLIB}" \
41708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41709 clean) \
41710 || exit 1
41712 @endif target-liboffloadmic
41714 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
41715 maybe-distclean-target-liboffloadmic:
41716 @if target-liboffloadmic
41717 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
41719 distclean-target-liboffloadmic:
41720 @: $(MAKE); $(unstage)
41721 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41722 r=`${PWD_COMMAND}`; export r; \
41723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41724 $(NORMAL_TARGET_EXPORTS) \
41725 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41726 for flag in $(EXTRA_TARGET_FLAGS); do \
41727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41728 done; \
41729 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41732 "RANLIB=$${RANLIB}" \
41733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41734 distclean) \
41735 || exit 1
41737 @endif target-liboffloadmic
41739 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
41740 maybe-maintainer-clean-target-liboffloadmic:
41741 @if target-liboffloadmic
41742 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
41744 maintainer-clean-target-liboffloadmic:
41745 @: $(MAKE); $(unstage)
41746 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41747 r=`${PWD_COMMAND}`; export r; \
41748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41749 $(NORMAL_TARGET_EXPORTS) \
41750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41751 for flag in $(EXTRA_TARGET_FLAGS); do \
41752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41753 done; \
41754 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41757 "RANLIB=$${RANLIB}" \
41758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41759 maintainer-clean) \
41760 || exit 1
41762 @endif target-liboffloadmic
41768 .PHONY: configure-target-libssp maybe-configure-target-libssp
41769 maybe-configure-target-libssp:
41770 @if gcc-bootstrap
41771 configure-target-libssp: stage_current
41772 @endif gcc-bootstrap
41773 @if target-libssp
41774 maybe-configure-target-libssp: configure-target-libssp
41775 configure-target-libssp:
41776 @: $(MAKE); $(unstage)
41777 @r=`${PWD_COMMAND}`; export r; \
41778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41779 echo "Checking multilib configuration for libssp..."; \
41780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
41782 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
41783 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
41784 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
41785 else \
41786 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
41787 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41788 fi; \
41789 else \
41790 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41791 fi; \
41792 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
41793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41794 $(NORMAL_TARGET_EXPORTS) \
41795 echo Configuring in $(TARGET_SUBDIR)/libssp; \
41796 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
41797 case $(srcdir) in \
41798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41799 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
41800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41801 esac; \
41802 module_srcdir=libssp; \
41803 rm -f no-such-file || : ; \
41804 CONFIG_SITE=no-such-file $(SHELL) \
41805 $$s/$$module_srcdir/configure \
41806 --srcdir=$${topdir}/$$module_srcdir \
41807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41808 --target=${target_alias} \
41809 || exit 1
41810 @endif target-libssp
41816 .PHONY: all-target-libssp maybe-all-target-libssp
41817 maybe-all-target-libssp:
41818 @if gcc-bootstrap
41819 all-target-libssp: stage_current
41820 @endif gcc-bootstrap
41821 @if target-libssp
41822 TARGET-target-libssp=all
41823 maybe-all-target-libssp: all-target-libssp
41824 all-target-libssp: configure-target-libssp
41825 @: $(MAKE); $(unstage)
41826 @r=`${PWD_COMMAND}`; export r; \
41827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41828 $(NORMAL_TARGET_EXPORTS) \
41829 (cd $(TARGET_SUBDIR)/libssp && \
41830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41831 $(TARGET-target-libssp))
41832 @endif target-libssp
41838 .PHONY: check-target-libssp maybe-check-target-libssp
41839 maybe-check-target-libssp:
41840 @if target-libssp
41841 maybe-check-target-libssp: check-target-libssp
41843 check-target-libssp:
41844 @: $(MAKE); $(unstage)
41845 @r=`${PWD_COMMAND}`; export r; \
41846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41847 $(NORMAL_TARGET_EXPORTS) \
41848 (cd $(TARGET_SUBDIR)/libssp && \
41849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41851 @endif target-libssp
41853 .PHONY: install-target-libssp maybe-install-target-libssp
41854 maybe-install-target-libssp:
41855 @if target-libssp
41856 maybe-install-target-libssp: install-target-libssp
41858 install-target-libssp: installdirs
41859 @: $(MAKE); $(unstage)
41860 @r=`${PWD_COMMAND}`; export r; \
41861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41862 $(NORMAL_TARGET_EXPORTS) \
41863 (cd $(TARGET_SUBDIR)/libssp && \
41864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41866 @endif target-libssp
41868 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
41869 maybe-install-strip-target-libssp:
41870 @if target-libssp
41871 maybe-install-strip-target-libssp: install-strip-target-libssp
41873 install-strip-target-libssp: installdirs
41874 @: $(MAKE); $(unstage)
41875 @r=`${PWD_COMMAND}`; export r; \
41876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41877 $(NORMAL_TARGET_EXPORTS) \
41878 (cd $(TARGET_SUBDIR)/libssp && \
41879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41881 @endif target-libssp
41883 # Other targets (info, dvi, pdf, etc.)
41885 .PHONY: maybe-info-target-libssp info-target-libssp
41886 maybe-info-target-libssp:
41887 @if target-libssp
41888 maybe-info-target-libssp: info-target-libssp
41890 info-target-libssp: \
41891 configure-target-libssp
41892 @: $(MAKE); $(unstage)
41893 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41894 r=`${PWD_COMMAND}`; export r; \
41895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41896 $(NORMAL_TARGET_EXPORTS) \
41897 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
41898 for flag in $(EXTRA_TARGET_FLAGS); do \
41899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41900 done; \
41901 (cd $(TARGET_SUBDIR)/libssp && \
41902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41904 "RANLIB=$${RANLIB}" \
41905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41906 info) \
41907 || exit 1
41909 @endif target-libssp
41911 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
41912 maybe-dvi-target-libssp:
41913 @if target-libssp
41914 maybe-dvi-target-libssp: dvi-target-libssp
41916 dvi-target-libssp: \
41917 configure-target-libssp
41918 @: $(MAKE); $(unstage)
41919 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41920 r=`${PWD_COMMAND}`; export r; \
41921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41922 $(NORMAL_TARGET_EXPORTS) \
41923 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
41924 for flag in $(EXTRA_TARGET_FLAGS); do \
41925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41926 done; \
41927 (cd $(TARGET_SUBDIR)/libssp && \
41928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41930 "RANLIB=$${RANLIB}" \
41931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41932 dvi) \
41933 || exit 1
41935 @endif target-libssp
41937 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
41938 maybe-pdf-target-libssp:
41939 @if target-libssp
41940 maybe-pdf-target-libssp: pdf-target-libssp
41942 pdf-target-libssp: \
41943 configure-target-libssp
41944 @: $(MAKE); $(unstage)
41945 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41946 r=`${PWD_COMMAND}`; export r; \
41947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41948 $(NORMAL_TARGET_EXPORTS) \
41949 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
41950 for flag in $(EXTRA_TARGET_FLAGS); do \
41951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41952 done; \
41953 (cd $(TARGET_SUBDIR)/libssp && \
41954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41956 "RANLIB=$${RANLIB}" \
41957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41958 pdf) \
41959 || exit 1
41961 @endif target-libssp
41963 .PHONY: maybe-html-target-libssp html-target-libssp
41964 maybe-html-target-libssp:
41965 @if target-libssp
41966 maybe-html-target-libssp: html-target-libssp
41968 html-target-libssp: \
41969 configure-target-libssp
41970 @: $(MAKE); $(unstage)
41971 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41972 r=`${PWD_COMMAND}`; export r; \
41973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41974 $(NORMAL_TARGET_EXPORTS) \
41975 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
41976 for flag in $(EXTRA_TARGET_FLAGS); do \
41977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41978 done; \
41979 (cd $(TARGET_SUBDIR)/libssp && \
41980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41982 "RANLIB=$${RANLIB}" \
41983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41984 html) \
41985 || exit 1
41987 @endif target-libssp
41989 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
41990 maybe-TAGS-target-libssp:
41991 @if target-libssp
41992 maybe-TAGS-target-libssp: TAGS-target-libssp
41994 TAGS-target-libssp: \
41995 configure-target-libssp
41996 @: $(MAKE); $(unstage)
41997 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41998 r=`${PWD_COMMAND}`; export r; \
41999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42000 $(NORMAL_TARGET_EXPORTS) \
42001 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
42002 for flag in $(EXTRA_TARGET_FLAGS); do \
42003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42004 done; \
42005 (cd $(TARGET_SUBDIR)/libssp && \
42006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42008 "RANLIB=$${RANLIB}" \
42009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42010 TAGS) \
42011 || exit 1
42013 @endif target-libssp
42015 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42016 maybe-install-info-target-libssp:
42017 @if target-libssp
42018 maybe-install-info-target-libssp: install-info-target-libssp
42020 install-info-target-libssp: \
42021 configure-target-libssp \
42022 info-target-libssp
42023 @: $(MAKE); $(unstage)
42024 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42025 r=`${PWD_COMMAND}`; export r; \
42026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42027 $(NORMAL_TARGET_EXPORTS) \
42028 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42029 for flag in $(EXTRA_TARGET_FLAGS); do \
42030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42031 done; \
42032 (cd $(TARGET_SUBDIR)/libssp && \
42033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42035 "RANLIB=$${RANLIB}" \
42036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42037 install-info) \
42038 || exit 1
42040 @endif target-libssp
42042 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42043 maybe-install-pdf-target-libssp:
42044 @if target-libssp
42045 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42047 install-pdf-target-libssp: \
42048 configure-target-libssp \
42049 pdf-target-libssp
42050 @: $(MAKE); $(unstage)
42051 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42052 r=`${PWD_COMMAND}`; export r; \
42053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42054 $(NORMAL_TARGET_EXPORTS) \
42055 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42056 for flag in $(EXTRA_TARGET_FLAGS); do \
42057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42058 done; \
42059 (cd $(TARGET_SUBDIR)/libssp && \
42060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42062 "RANLIB=$${RANLIB}" \
42063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42064 install-pdf) \
42065 || exit 1
42067 @endif target-libssp
42069 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42070 maybe-install-html-target-libssp:
42071 @if target-libssp
42072 maybe-install-html-target-libssp: install-html-target-libssp
42074 install-html-target-libssp: \
42075 configure-target-libssp \
42076 html-target-libssp
42077 @: $(MAKE); $(unstage)
42078 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42079 r=`${PWD_COMMAND}`; export r; \
42080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42081 $(NORMAL_TARGET_EXPORTS) \
42082 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42083 for flag in $(EXTRA_TARGET_FLAGS); do \
42084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42085 done; \
42086 (cd $(TARGET_SUBDIR)/libssp && \
42087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42089 "RANLIB=$${RANLIB}" \
42090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42091 install-html) \
42092 || exit 1
42094 @endif target-libssp
42096 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42097 maybe-installcheck-target-libssp:
42098 @if target-libssp
42099 maybe-installcheck-target-libssp: installcheck-target-libssp
42101 installcheck-target-libssp: \
42102 configure-target-libssp
42103 @: $(MAKE); $(unstage)
42104 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42105 r=`${PWD_COMMAND}`; export r; \
42106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42107 $(NORMAL_TARGET_EXPORTS) \
42108 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42109 for flag in $(EXTRA_TARGET_FLAGS); do \
42110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42111 done; \
42112 (cd $(TARGET_SUBDIR)/libssp && \
42113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42115 "RANLIB=$${RANLIB}" \
42116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42117 installcheck) \
42118 || exit 1
42120 @endif target-libssp
42122 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42123 maybe-mostlyclean-target-libssp:
42124 @if target-libssp
42125 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42127 mostlyclean-target-libssp:
42128 @: $(MAKE); $(unstage)
42129 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42130 r=`${PWD_COMMAND}`; export r; \
42131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42132 $(NORMAL_TARGET_EXPORTS) \
42133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42134 for flag in $(EXTRA_TARGET_FLAGS); do \
42135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42136 done; \
42137 (cd $(TARGET_SUBDIR)/libssp && \
42138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42140 "RANLIB=$${RANLIB}" \
42141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42142 mostlyclean) \
42143 || exit 1
42145 @endif target-libssp
42147 .PHONY: maybe-clean-target-libssp clean-target-libssp
42148 maybe-clean-target-libssp:
42149 @if target-libssp
42150 maybe-clean-target-libssp: clean-target-libssp
42152 clean-target-libssp:
42153 @: $(MAKE); $(unstage)
42154 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42155 r=`${PWD_COMMAND}`; export r; \
42156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42157 $(NORMAL_TARGET_EXPORTS) \
42158 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42159 for flag in $(EXTRA_TARGET_FLAGS); do \
42160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42161 done; \
42162 (cd $(TARGET_SUBDIR)/libssp && \
42163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42165 "RANLIB=$${RANLIB}" \
42166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42167 clean) \
42168 || exit 1
42170 @endif target-libssp
42172 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42173 maybe-distclean-target-libssp:
42174 @if target-libssp
42175 maybe-distclean-target-libssp: distclean-target-libssp
42177 distclean-target-libssp:
42178 @: $(MAKE); $(unstage)
42179 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42180 r=`${PWD_COMMAND}`; export r; \
42181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42182 $(NORMAL_TARGET_EXPORTS) \
42183 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42184 for flag in $(EXTRA_TARGET_FLAGS); do \
42185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42186 done; \
42187 (cd $(TARGET_SUBDIR)/libssp && \
42188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42190 "RANLIB=$${RANLIB}" \
42191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42192 distclean) \
42193 || exit 1
42195 @endif target-libssp
42197 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42198 maybe-maintainer-clean-target-libssp:
42199 @if target-libssp
42200 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42202 maintainer-clean-target-libssp:
42203 @: $(MAKE); $(unstage)
42204 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42205 r=`${PWD_COMMAND}`; export r; \
42206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42207 $(NORMAL_TARGET_EXPORTS) \
42208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42209 for flag in $(EXTRA_TARGET_FLAGS); do \
42210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42211 done; \
42212 (cd $(TARGET_SUBDIR)/libssp && \
42213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42215 "RANLIB=$${RANLIB}" \
42216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42217 maintainer-clean) \
42218 || exit 1
42220 @endif target-libssp
42226 .PHONY: configure-target-newlib maybe-configure-target-newlib
42227 maybe-configure-target-newlib:
42228 @if gcc-bootstrap
42229 configure-target-newlib: stage_current
42230 @endif gcc-bootstrap
42231 @if target-newlib
42232 maybe-configure-target-newlib: configure-target-newlib
42233 configure-target-newlib:
42234 @: $(MAKE); $(unstage)
42235 @r=`${PWD_COMMAND}`; export r; \
42236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42237 echo "Checking multilib configuration for newlib..."; \
42238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42240 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42241 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42242 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42243 else \
42244 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42245 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42246 fi; \
42247 else \
42248 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42249 fi; \
42250 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42252 $(NORMAL_TARGET_EXPORTS) \
42253 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42254 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42255 case $(srcdir) in \
42256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42257 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42259 esac; \
42260 module_srcdir=newlib; \
42261 rm -f no-such-file || : ; \
42262 CONFIG_SITE=no-such-file $(SHELL) \
42263 $$s/$$module_srcdir/configure \
42264 --srcdir=$${topdir}/$$module_srcdir \
42265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42266 --target=${target_alias} \
42267 || exit 1
42268 @endif target-newlib
42274 .PHONY: all-target-newlib maybe-all-target-newlib
42275 maybe-all-target-newlib:
42276 @if gcc-bootstrap
42277 all-target-newlib: stage_current
42278 @endif gcc-bootstrap
42279 @if target-newlib
42280 TARGET-target-newlib=all
42281 maybe-all-target-newlib: all-target-newlib
42282 all-target-newlib: configure-target-newlib
42283 @: $(MAKE); $(unstage)
42284 @r=`${PWD_COMMAND}`; export r; \
42285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42286 $(NORMAL_TARGET_EXPORTS) \
42287 (cd $(TARGET_SUBDIR)/newlib && \
42288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42289 $(TARGET-target-newlib))
42290 @endif target-newlib
42296 .PHONY: check-target-newlib maybe-check-target-newlib
42297 maybe-check-target-newlib:
42298 @if target-newlib
42299 maybe-check-target-newlib: check-target-newlib
42301 check-target-newlib:
42302 @: $(MAKE); $(unstage)
42303 @r=`${PWD_COMMAND}`; export r; \
42304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42305 $(NORMAL_TARGET_EXPORTS) \
42306 (cd $(TARGET_SUBDIR)/newlib && \
42307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42309 @endif target-newlib
42311 .PHONY: install-target-newlib maybe-install-target-newlib
42312 maybe-install-target-newlib:
42313 @if target-newlib
42314 maybe-install-target-newlib: install-target-newlib
42316 install-target-newlib: installdirs
42317 @: $(MAKE); $(unstage)
42318 @r=`${PWD_COMMAND}`; export r; \
42319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42320 $(NORMAL_TARGET_EXPORTS) \
42321 (cd $(TARGET_SUBDIR)/newlib && \
42322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42324 @endif target-newlib
42326 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42327 maybe-install-strip-target-newlib:
42328 @if target-newlib
42329 maybe-install-strip-target-newlib: install-strip-target-newlib
42331 install-strip-target-newlib: installdirs
42332 @: $(MAKE); $(unstage)
42333 @r=`${PWD_COMMAND}`; export r; \
42334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42335 $(NORMAL_TARGET_EXPORTS) \
42336 (cd $(TARGET_SUBDIR)/newlib && \
42337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42339 @endif target-newlib
42341 # Other targets (info, dvi, pdf, etc.)
42343 .PHONY: maybe-info-target-newlib info-target-newlib
42344 maybe-info-target-newlib:
42345 @if target-newlib
42346 maybe-info-target-newlib: info-target-newlib
42348 info-target-newlib: \
42349 configure-target-newlib
42350 @: $(MAKE); $(unstage)
42351 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42352 r=`${PWD_COMMAND}`; export r; \
42353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42354 $(NORMAL_TARGET_EXPORTS) \
42355 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42356 for flag in $(EXTRA_TARGET_FLAGS); do \
42357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42358 done; \
42359 (cd $(TARGET_SUBDIR)/newlib && \
42360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42362 "RANLIB=$${RANLIB}" \
42363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42364 info) \
42365 || exit 1
42367 @endif target-newlib
42369 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42370 maybe-dvi-target-newlib:
42371 @if target-newlib
42372 maybe-dvi-target-newlib: dvi-target-newlib
42374 dvi-target-newlib: \
42375 configure-target-newlib
42376 @: $(MAKE); $(unstage)
42377 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42378 r=`${PWD_COMMAND}`; export r; \
42379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42380 $(NORMAL_TARGET_EXPORTS) \
42381 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42382 for flag in $(EXTRA_TARGET_FLAGS); do \
42383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42384 done; \
42385 (cd $(TARGET_SUBDIR)/newlib && \
42386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42388 "RANLIB=$${RANLIB}" \
42389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42390 dvi) \
42391 || exit 1
42393 @endif target-newlib
42395 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42396 maybe-pdf-target-newlib:
42397 @if target-newlib
42398 maybe-pdf-target-newlib: pdf-target-newlib
42400 pdf-target-newlib: \
42401 configure-target-newlib
42402 @: $(MAKE); $(unstage)
42403 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42404 r=`${PWD_COMMAND}`; export r; \
42405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42406 $(NORMAL_TARGET_EXPORTS) \
42407 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42408 for flag in $(EXTRA_TARGET_FLAGS); do \
42409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42410 done; \
42411 (cd $(TARGET_SUBDIR)/newlib && \
42412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42414 "RANLIB=$${RANLIB}" \
42415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42416 pdf) \
42417 || exit 1
42419 @endif target-newlib
42421 .PHONY: maybe-html-target-newlib html-target-newlib
42422 maybe-html-target-newlib:
42423 @if target-newlib
42424 maybe-html-target-newlib: html-target-newlib
42426 html-target-newlib: \
42427 configure-target-newlib
42428 @: $(MAKE); $(unstage)
42429 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42430 r=`${PWD_COMMAND}`; export r; \
42431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42432 $(NORMAL_TARGET_EXPORTS) \
42433 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42434 for flag in $(EXTRA_TARGET_FLAGS); do \
42435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42436 done; \
42437 (cd $(TARGET_SUBDIR)/newlib && \
42438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42440 "RANLIB=$${RANLIB}" \
42441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42442 html) \
42443 || exit 1
42445 @endif target-newlib
42447 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42448 maybe-TAGS-target-newlib:
42449 @if target-newlib
42450 maybe-TAGS-target-newlib: TAGS-target-newlib
42452 TAGS-target-newlib: \
42453 configure-target-newlib
42454 @: $(MAKE); $(unstage)
42455 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42456 r=`${PWD_COMMAND}`; export r; \
42457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42458 $(NORMAL_TARGET_EXPORTS) \
42459 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42460 for flag in $(EXTRA_TARGET_FLAGS); do \
42461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42462 done; \
42463 (cd $(TARGET_SUBDIR)/newlib && \
42464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42466 "RANLIB=$${RANLIB}" \
42467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42468 TAGS) \
42469 || exit 1
42471 @endif target-newlib
42473 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42474 maybe-install-info-target-newlib:
42475 @if target-newlib
42476 maybe-install-info-target-newlib: install-info-target-newlib
42478 install-info-target-newlib: \
42479 configure-target-newlib \
42480 info-target-newlib
42481 @: $(MAKE); $(unstage)
42482 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42483 r=`${PWD_COMMAND}`; export r; \
42484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42485 $(NORMAL_TARGET_EXPORTS) \
42486 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42487 for flag in $(EXTRA_TARGET_FLAGS); do \
42488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42489 done; \
42490 (cd $(TARGET_SUBDIR)/newlib && \
42491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42493 "RANLIB=$${RANLIB}" \
42494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42495 install-info) \
42496 || exit 1
42498 @endif target-newlib
42500 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42501 maybe-install-pdf-target-newlib:
42502 @if target-newlib
42503 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42505 install-pdf-target-newlib: \
42506 configure-target-newlib \
42507 pdf-target-newlib
42508 @: $(MAKE); $(unstage)
42509 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42510 r=`${PWD_COMMAND}`; export r; \
42511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42512 $(NORMAL_TARGET_EXPORTS) \
42513 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42514 for flag in $(EXTRA_TARGET_FLAGS); do \
42515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42516 done; \
42517 (cd $(TARGET_SUBDIR)/newlib && \
42518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42520 "RANLIB=$${RANLIB}" \
42521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42522 install-pdf) \
42523 || exit 1
42525 @endif target-newlib
42527 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42528 maybe-install-html-target-newlib:
42529 @if target-newlib
42530 maybe-install-html-target-newlib: install-html-target-newlib
42532 install-html-target-newlib: \
42533 configure-target-newlib \
42534 html-target-newlib
42535 @: $(MAKE); $(unstage)
42536 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42537 r=`${PWD_COMMAND}`; export r; \
42538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42539 $(NORMAL_TARGET_EXPORTS) \
42540 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42541 for flag in $(EXTRA_TARGET_FLAGS); do \
42542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42543 done; \
42544 (cd $(TARGET_SUBDIR)/newlib && \
42545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42547 "RANLIB=$${RANLIB}" \
42548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42549 install-html) \
42550 || exit 1
42552 @endif target-newlib
42554 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42555 maybe-installcheck-target-newlib:
42556 @if target-newlib
42557 maybe-installcheck-target-newlib: installcheck-target-newlib
42559 installcheck-target-newlib: \
42560 configure-target-newlib
42561 @: $(MAKE); $(unstage)
42562 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42563 r=`${PWD_COMMAND}`; export r; \
42564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42565 $(NORMAL_TARGET_EXPORTS) \
42566 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42567 for flag in $(EXTRA_TARGET_FLAGS); do \
42568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42569 done; \
42570 (cd $(TARGET_SUBDIR)/newlib && \
42571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42573 "RANLIB=$${RANLIB}" \
42574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42575 installcheck) \
42576 || exit 1
42578 @endif target-newlib
42580 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42581 maybe-mostlyclean-target-newlib:
42582 @if target-newlib
42583 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42585 mostlyclean-target-newlib:
42586 @: $(MAKE); $(unstage)
42587 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42588 r=`${PWD_COMMAND}`; export r; \
42589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42590 $(NORMAL_TARGET_EXPORTS) \
42591 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42592 for flag in $(EXTRA_TARGET_FLAGS); do \
42593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42594 done; \
42595 (cd $(TARGET_SUBDIR)/newlib && \
42596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42598 "RANLIB=$${RANLIB}" \
42599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42600 mostlyclean) \
42601 || exit 1
42603 @endif target-newlib
42605 .PHONY: maybe-clean-target-newlib clean-target-newlib
42606 maybe-clean-target-newlib:
42607 @if target-newlib
42608 maybe-clean-target-newlib: clean-target-newlib
42610 clean-target-newlib:
42611 @: $(MAKE); $(unstage)
42612 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42613 r=`${PWD_COMMAND}`; export r; \
42614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42615 $(NORMAL_TARGET_EXPORTS) \
42616 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42617 for flag in $(EXTRA_TARGET_FLAGS); do \
42618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42619 done; \
42620 (cd $(TARGET_SUBDIR)/newlib && \
42621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42623 "RANLIB=$${RANLIB}" \
42624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42625 clean) \
42626 || exit 1
42628 @endif target-newlib
42630 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42631 maybe-distclean-target-newlib:
42632 @if target-newlib
42633 maybe-distclean-target-newlib: distclean-target-newlib
42635 distclean-target-newlib:
42636 @: $(MAKE); $(unstage)
42637 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42638 r=`${PWD_COMMAND}`; export r; \
42639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42640 $(NORMAL_TARGET_EXPORTS) \
42641 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42642 for flag in $(EXTRA_TARGET_FLAGS); do \
42643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42644 done; \
42645 (cd $(TARGET_SUBDIR)/newlib && \
42646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42648 "RANLIB=$${RANLIB}" \
42649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42650 distclean) \
42651 || exit 1
42653 @endif target-newlib
42655 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42656 maybe-maintainer-clean-target-newlib:
42657 @if target-newlib
42658 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42660 maintainer-clean-target-newlib:
42661 @: $(MAKE); $(unstage)
42662 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42663 r=`${PWD_COMMAND}`; export r; \
42664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42665 $(NORMAL_TARGET_EXPORTS) \
42666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42667 for flag in $(EXTRA_TARGET_FLAGS); do \
42668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42669 done; \
42670 (cd $(TARGET_SUBDIR)/newlib && \
42671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42673 "RANLIB=$${RANLIB}" \
42674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42675 maintainer-clean) \
42676 || exit 1
42678 @endif target-newlib
42684 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
42685 maybe-configure-target-libgcc:
42686 @if gcc-bootstrap
42687 configure-target-libgcc: stage_current
42688 @endif gcc-bootstrap
42689 @if target-libgcc
42690 maybe-configure-target-libgcc: configure-target-libgcc
42691 configure-target-libgcc:
42692 @r=`${PWD_COMMAND}`; export r; \
42693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42694 echo "Checking multilib configuration for libgcc..."; \
42695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42697 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42698 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42699 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42700 else \
42701 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42702 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42703 fi; \
42704 else \
42705 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42706 fi; \
42707 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42709 $(NORMAL_TARGET_EXPORTS) \
42710 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
42711 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
42712 case $(srcdir) in \
42713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42714 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42716 esac; \
42717 module_srcdir=libgcc; \
42718 rm -f no-such-file || : ; \
42719 CONFIG_SITE=no-such-file $(SHELL) \
42720 $$s/$$module_srcdir/configure \
42721 --srcdir=$${topdir}/$$module_srcdir \
42722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42723 --target=${target_alias} \
42724 || exit 1
42725 @endif target-libgcc
42729 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
42730 maybe-configure-stage1-target-libgcc:
42731 @if target-libgcc-bootstrap
42732 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
42733 configure-stage1-target-libgcc:
42734 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42735 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42736 @r=`${PWD_COMMAND}`; export r; \
42737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42738 TFLAGS="$(STAGE1_TFLAGS)"; \
42739 echo "Checking multilib configuration for libgcc..."; \
42740 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42741 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42742 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42743 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42744 else \
42745 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42746 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42747 fi; \
42748 else \
42749 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42750 fi; \
42751 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42752 $(NORMAL_TARGET_EXPORTS) \
42753 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42755 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42756 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
42757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42758 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42759 case $(srcdir) in \
42760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42761 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42763 esac; \
42764 module_srcdir=libgcc; \
42765 $(SHELL) $$s/$$module_srcdir/configure \
42766 --srcdir=$${topdir}/$$module_srcdir \
42767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42768 --target=${target_alias} \
42770 $(STAGE1_CONFIGURE_FLAGS)
42771 @endif target-libgcc-bootstrap
42773 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
42774 maybe-configure-stage2-target-libgcc:
42775 @if target-libgcc-bootstrap
42776 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
42777 configure-stage2-target-libgcc:
42778 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42779 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42780 @r=`${PWD_COMMAND}`; export r; \
42781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42782 TFLAGS="$(STAGE2_TFLAGS)"; \
42783 echo "Checking multilib configuration for libgcc..."; \
42784 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42785 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42786 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42787 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42788 else \
42789 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42790 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42791 fi; \
42792 else \
42793 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42794 fi; \
42795 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42796 $(NORMAL_TARGET_EXPORTS) \
42798 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42799 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42800 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42801 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
42802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42803 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42804 case $(srcdir) in \
42805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42806 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42808 esac; \
42809 module_srcdir=libgcc; \
42810 $(SHELL) $$s/$$module_srcdir/configure \
42811 --srcdir=$${topdir}/$$module_srcdir \
42812 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42813 --target=${target_alias} \
42814 --with-build-libsubdir=$(HOST_SUBDIR) \
42815 $(STAGE2_CONFIGURE_FLAGS)
42816 @endif target-libgcc-bootstrap
42818 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
42819 maybe-configure-stage3-target-libgcc:
42820 @if target-libgcc-bootstrap
42821 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
42822 configure-stage3-target-libgcc:
42823 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42824 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42825 @r=`${PWD_COMMAND}`; export r; \
42826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42827 TFLAGS="$(STAGE3_TFLAGS)"; \
42828 echo "Checking multilib configuration for libgcc..."; \
42829 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42830 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42831 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42832 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42833 else \
42834 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42835 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42836 fi; \
42837 else \
42838 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42839 fi; \
42840 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42841 $(NORMAL_TARGET_EXPORTS) \
42843 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42844 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42845 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42846 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
42847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42848 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42849 case $(srcdir) in \
42850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42851 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42853 esac; \
42854 module_srcdir=libgcc; \
42855 $(SHELL) $$s/$$module_srcdir/configure \
42856 --srcdir=$${topdir}/$$module_srcdir \
42857 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42858 --target=${target_alias} \
42859 --with-build-libsubdir=$(HOST_SUBDIR) \
42860 $(STAGE3_CONFIGURE_FLAGS)
42861 @endif target-libgcc-bootstrap
42863 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
42864 maybe-configure-stage4-target-libgcc:
42865 @if target-libgcc-bootstrap
42866 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
42867 configure-stage4-target-libgcc:
42868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42869 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42870 @r=`${PWD_COMMAND}`; export r; \
42871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42872 TFLAGS="$(STAGE4_TFLAGS)"; \
42873 echo "Checking multilib configuration for libgcc..."; \
42874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42875 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42876 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42877 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42878 else \
42879 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42880 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42881 fi; \
42882 else \
42883 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42884 fi; \
42885 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42886 $(NORMAL_TARGET_EXPORTS) \
42888 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42891 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
42892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42893 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42894 case $(srcdir) in \
42895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42896 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42898 esac; \
42899 module_srcdir=libgcc; \
42900 $(SHELL) $$s/$$module_srcdir/configure \
42901 --srcdir=$${topdir}/$$module_srcdir \
42902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42903 --target=${target_alias} \
42904 --with-build-libsubdir=$(HOST_SUBDIR) \
42905 $(STAGE4_CONFIGURE_FLAGS)
42906 @endif target-libgcc-bootstrap
42908 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
42909 maybe-configure-stageprofile-target-libgcc:
42910 @if target-libgcc-bootstrap
42911 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
42912 configure-stageprofile-target-libgcc:
42913 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42914 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42915 @r=`${PWD_COMMAND}`; export r; \
42916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42917 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42918 echo "Checking multilib configuration for libgcc..."; \
42919 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42920 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42921 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42922 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42923 else \
42924 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42925 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42926 fi; \
42927 else \
42928 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42929 fi; \
42930 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42931 $(NORMAL_TARGET_EXPORTS) \
42933 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42936 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
42937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42938 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42939 case $(srcdir) in \
42940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42941 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42943 esac; \
42944 module_srcdir=libgcc; \
42945 $(SHELL) $$s/$$module_srcdir/configure \
42946 --srcdir=$${topdir}/$$module_srcdir \
42947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42948 --target=${target_alias} \
42949 --with-build-libsubdir=$(HOST_SUBDIR) \
42950 $(STAGEprofile_CONFIGURE_FLAGS)
42951 @endif target-libgcc-bootstrap
42953 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
42954 maybe-configure-stagefeedback-target-libgcc:
42955 @if target-libgcc-bootstrap
42956 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
42957 configure-stagefeedback-target-libgcc:
42958 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42960 @r=`${PWD_COMMAND}`; export r; \
42961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42962 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42963 echo "Checking multilib configuration for libgcc..."; \
42964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42965 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42966 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42967 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42968 else \
42969 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42970 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42971 fi; \
42972 else \
42973 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42974 fi; \
42975 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42976 $(NORMAL_TARGET_EXPORTS) \
42978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42981 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
42982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42983 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42984 case $(srcdir) in \
42985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42986 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42988 esac; \
42989 module_srcdir=libgcc; \
42990 $(SHELL) $$s/$$module_srcdir/configure \
42991 --srcdir=$${topdir}/$$module_srcdir \
42992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42993 --target=${target_alias} \
42994 --with-build-libsubdir=$(HOST_SUBDIR) \
42995 $(STAGEfeedback_CONFIGURE_FLAGS)
42996 @endif target-libgcc-bootstrap
42998 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
42999 maybe-configure-stageautoprofile-target-libgcc:
43000 @if target-libgcc-bootstrap
43001 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43002 configure-stageautoprofile-target-libgcc:
43003 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43005 @r=`${PWD_COMMAND}`; export r; \
43006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43007 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43008 echo "Checking multilib configuration for libgcc..."; \
43009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43010 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43011 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43012 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43013 else \
43014 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43015 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43016 fi; \
43017 else \
43018 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43019 fi; \
43020 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43021 $(NORMAL_TARGET_EXPORTS) \
43023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43026 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43028 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43029 case $(srcdir) in \
43030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43031 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43033 esac; \
43034 module_srcdir=libgcc; \
43035 $(SHELL) $$s/$$module_srcdir/configure \
43036 --srcdir=$${topdir}/$$module_srcdir \
43037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43038 --target=${target_alias} \
43039 --with-build-libsubdir=$(HOST_SUBDIR) \
43040 $(STAGEautoprofile_CONFIGURE_FLAGS)
43041 @endif target-libgcc-bootstrap
43043 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43044 maybe-configure-stageautofeedback-target-libgcc:
43045 @if target-libgcc-bootstrap
43046 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43047 configure-stageautofeedback-target-libgcc:
43048 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43049 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43050 @r=`${PWD_COMMAND}`; export r; \
43051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43052 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43053 echo "Checking multilib configuration for libgcc..."; \
43054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43055 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43056 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43057 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43058 else \
43059 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43060 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43061 fi; \
43062 else \
43063 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43064 fi; \
43065 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43066 $(NORMAL_TARGET_EXPORTS) \
43068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43071 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43073 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43074 case $(srcdir) in \
43075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43076 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43078 esac; \
43079 module_srcdir=libgcc; \
43080 $(SHELL) $$s/$$module_srcdir/configure \
43081 --srcdir=$${topdir}/$$module_srcdir \
43082 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43083 --target=${target_alias} \
43084 --with-build-libsubdir=$(HOST_SUBDIR) \
43085 $(STAGEautofeedback_CONFIGURE_FLAGS)
43086 @endif target-libgcc-bootstrap
43092 .PHONY: all-target-libgcc maybe-all-target-libgcc
43093 maybe-all-target-libgcc:
43094 @if gcc-bootstrap
43095 all-target-libgcc: stage_current
43096 @endif gcc-bootstrap
43097 @if target-libgcc
43098 TARGET-target-libgcc=all
43099 maybe-all-target-libgcc: all-target-libgcc
43100 all-target-libgcc: configure-target-libgcc
43101 @r=`${PWD_COMMAND}`; export r; \
43102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43103 $(NORMAL_TARGET_EXPORTS) \
43104 (cd $(TARGET_SUBDIR)/libgcc && \
43105 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43106 $(TARGET-target-libgcc))
43107 @endif target-libgcc
43111 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43112 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43113 maybe-all-stage1-target-libgcc:
43114 maybe-clean-stage1-target-libgcc:
43115 @if target-libgcc-bootstrap
43116 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43117 all-stage1: all-stage1-target-libgcc
43118 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43119 all-stage1-target-libgcc: configure-stage1-target-libgcc
43120 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43121 @r=`${PWD_COMMAND}`; export r; \
43122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43123 TFLAGS="$(STAGE1_TFLAGS)"; \
43124 $(NORMAL_TARGET_EXPORTS) \
43125 cd $(TARGET_SUBDIR)/libgcc && \
43127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43128 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43129 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43130 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43134 $(EXTRA_TARGET_FLAGS) \
43136 TFLAGS="$(STAGE1_TFLAGS)" \
43137 $(TARGET-stage1-target-libgcc)
43139 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43140 clean-stage1: clean-stage1-target-libgcc
43141 clean-stage1-target-libgcc:
43142 @if [ $(current_stage) = stage1 ]; then \
43143 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43144 else \
43145 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43146 $(MAKE) stage1-start; \
43147 fi; \
43148 cd $(TARGET_SUBDIR)/libgcc && \
43149 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43150 clean
43151 @endif target-libgcc-bootstrap
43154 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43155 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43156 maybe-all-stage2-target-libgcc:
43157 maybe-clean-stage2-target-libgcc:
43158 @if target-libgcc-bootstrap
43159 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43160 all-stage2: all-stage2-target-libgcc
43161 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43162 all-stage2-target-libgcc: configure-stage2-target-libgcc
43163 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43164 @r=`${PWD_COMMAND}`; export r; \
43165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43166 TFLAGS="$(STAGE2_TFLAGS)"; \
43167 $(NORMAL_TARGET_EXPORTS) \
43169 cd $(TARGET_SUBDIR)/libgcc && \
43171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43172 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43173 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43174 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43178 $(EXTRA_TARGET_FLAGS) \
43179 TFLAGS="$(STAGE2_TFLAGS)" \
43180 $(TARGET-stage2-target-libgcc)
43182 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43183 clean-stage2: clean-stage2-target-libgcc
43184 clean-stage2-target-libgcc:
43185 @if [ $(current_stage) = stage2 ]; then \
43186 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43187 else \
43188 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43189 $(MAKE) stage2-start; \
43190 fi; \
43191 cd $(TARGET_SUBDIR)/libgcc && \
43192 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43193 @endif target-libgcc-bootstrap
43196 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43197 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43198 maybe-all-stage3-target-libgcc:
43199 maybe-clean-stage3-target-libgcc:
43200 @if target-libgcc-bootstrap
43201 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43202 all-stage3: all-stage3-target-libgcc
43203 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43204 all-stage3-target-libgcc: configure-stage3-target-libgcc
43205 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43206 @r=`${PWD_COMMAND}`; export r; \
43207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43208 TFLAGS="$(STAGE3_TFLAGS)"; \
43209 $(NORMAL_TARGET_EXPORTS) \
43211 cd $(TARGET_SUBDIR)/libgcc && \
43213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43214 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43215 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43216 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43220 $(EXTRA_TARGET_FLAGS) \
43221 TFLAGS="$(STAGE3_TFLAGS)" \
43222 $(TARGET-stage3-target-libgcc)
43224 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43225 clean-stage3: clean-stage3-target-libgcc
43226 clean-stage3-target-libgcc:
43227 @if [ $(current_stage) = stage3 ]; then \
43228 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43229 else \
43230 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43231 $(MAKE) stage3-start; \
43232 fi; \
43233 cd $(TARGET_SUBDIR)/libgcc && \
43234 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43235 @endif target-libgcc-bootstrap
43238 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43239 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43240 maybe-all-stage4-target-libgcc:
43241 maybe-clean-stage4-target-libgcc:
43242 @if target-libgcc-bootstrap
43243 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43244 all-stage4: all-stage4-target-libgcc
43245 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43246 all-stage4-target-libgcc: configure-stage4-target-libgcc
43247 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43248 @r=`${PWD_COMMAND}`; export r; \
43249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43250 TFLAGS="$(STAGE4_TFLAGS)"; \
43251 $(NORMAL_TARGET_EXPORTS) \
43253 cd $(TARGET_SUBDIR)/libgcc && \
43255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43256 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43257 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43258 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43262 $(EXTRA_TARGET_FLAGS) \
43263 TFLAGS="$(STAGE4_TFLAGS)" \
43264 $(TARGET-stage4-target-libgcc)
43266 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43267 clean-stage4: clean-stage4-target-libgcc
43268 clean-stage4-target-libgcc:
43269 @if [ $(current_stage) = stage4 ]; then \
43270 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43271 else \
43272 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43273 $(MAKE) stage4-start; \
43274 fi; \
43275 cd $(TARGET_SUBDIR)/libgcc && \
43276 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43277 @endif target-libgcc-bootstrap
43280 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43281 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43282 maybe-all-stageprofile-target-libgcc:
43283 maybe-clean-stageprofile-target-libgcc:
43284 @if target-libgcc-bootstrap
43285 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43286 all-stageprofile: all-stageprofile-target-libgcc
43287 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43288 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43289 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43290 @r=`${PWD_COMMAND}`; export r; \
43291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43292 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43293 $(NORMAL_TARGET_EXPORTS) \
43295 cd $(TARGET_SUBDIR)/libgcc && \
43297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43298 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43299 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43300 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43304 $(EXTRA_TARGET_FLAGS) \
43305 TFLAGS="$(STAGEprofile_TFLAGS)" \
43306 $(TARGET-stageprofile-target-libgcc)
43308 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43309 clean-stageprofile: clean-stageprofile-target-libgcc
43310 clean-stageprofile-target-libgcc:
43311 @if [ $(current_stage) = stageprofile ]; then \
43312 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43313 else \
43314 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43315 $(MAKE) stageprofile-start; \
43316 fi; \
43317 cd $(TARGET_SUBDIR)/libgcc && \
43318 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43319 @endif target-libgcc-bootstrap
43322 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43323 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43324 maybe-all-stagefeedback-target-libgcc:
43325 maybe-clean-stagefeedback-target-libgcc:
43326 @if target-libgcc-bootstrap
43327 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43328 all-stagefeedback: all-stagefeedback-target-libgcc
43329 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43330 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43331 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43332 @r=`${PWD_COMMAND}`; export r; \
43333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43334 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43335 $(NORMAL_TARGET_EXPORTS) \
43337 cd $(TARGET_SUBDIR)/libgcc && \
43339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43340 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43341 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43342 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43346 $(EXTRA_TARGET_FLAGS) \
43347 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43348 $(TARGET-stagefeedback-target-libgcc)
43350 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43351 clean-stagefeedback: clean-stagefeedback-target-libgcc
43352 clean-stagefeedback-target-libgcc:
43353 @if [ $(current_stage) = stagefeedback ]; then \
43354 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43355 else \
43356 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43357 $(MAKE) stagefeedback-start; \
43358 fi; \
43359 cd $(TARGET_SUBDIR)/libgcc && \
43360 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43361 @endif target-libgcc-bootstrap
43364 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43365 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43366 maybe-all-stageautoprofile-target-libgcc:
43367 maybe-clean-stageautoprofile-target-libgcc:
43368 @if target-libgcc-bootstrap
43369 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43370 all-stageautoprofile: all-stageautoprofile-target-libgcc
43371 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43372 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43373 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43374 @r=`${PWD_COMMAND}`; export r; \
43375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43376 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43377 $(NORMAL_TARGET_EXPORTS) \
43379 cd $(TARGET_SUBDIR)/libgcc && \
43380 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43382 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43383 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43384 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43388 $(EXTRA_TARGET_FLAGS) \
43389 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43390 $(TARGET-stageautoprofile-target-libgcc)
43392 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43393 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43394 clean-stageautoprofile-target-libgcc:
43395 @if [ $(current_stage) = stageautoprofile ]; then \
43396 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43397 else \
43398 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43399 $(MAKE) stageautoprofile-start; \
43400 fi; \
43401 cd $(TARGET_SUBDIR)/libgcc && \
43402 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43403 @endif target-libgcc-bootstrap
43406 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43407 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43408 maybe-all-stageautofeedback-target-libgcc:
43409 maybe-clean-stageautofeedback-target-libgcc:
43410 @if target-libgcc-bootstrap
43411 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43412 all-stageautofeedback: all-stageautofeedback-target-libgcc
43413 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43414 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43415 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43416 @r=`${PWD_COMMAND}`; export r; \
43417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43418 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43419 $(NORMAL_TARGET_EXPORTS) \
43421 cd $(TARGET_SUBDIR)/libgcc && \
43423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43424 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43425 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43426 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43430 $(EXTRA_TARGET_FLAGS) \
43431 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43432 $(TARGET-stageautofeedback-target-libgcc)
43434 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43435 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43436 clean-stageautofeedback-target-libgcc:
43437 @if [ $(current_stage) = stageautofeedback ]; then \
43438 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43439 else \
43440 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43441 $(MAKE) stageautofeedback-start; \
43442 fi; \
43443 cd $(TARGET_SUBDIR)/libgcc && \
43444 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43445 @endif target-libgcc-bootstrap
43452 .PHONY: check-target-libgcc maybe-check-target-libgcc
43453 maybe-check-target-libgcc:
43454 @if target-libgcc
43455 maybe-check-target-libgcc: check-target-libgcc
43457 # Dummy target for uncheckable module.
43458 check-target-libgcc:
43460 @endif target-libgcc
43462 .PHONY: install-target-libgcc maybe-install-target-libgcc
43463 maybe-install-target-libgcc:
43464 @if target-libgcc
43465 maybe-install-target-libgcc: install-target-libgcc
43467 install-target-libgcc: installdirs
43468 @: $(MAKE); $(unstage)
43469 @r=`${PWD_COMMAND}`; export r; \
43470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43471 $(NORMAL_TARGET_EXPORTS) \
43472 (cd $(TARGET_SUBDIR)/libgcc && \
43473 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43475 @endif target-libgcc
43477 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43478 maybe-install-strip-target-libgcc:
43479 @if target-libgcc
43480 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43482 install-strip-target-libgcc: installdirs
43483 @: $(MAKE); $(unstage)
43484 @r=`${PWD_COMMAND}`; export r; \
43485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43486 $(NORMAL_TARGET_EXPORTS) \
43487 (cd $(TARGET_SUBDIR)/libgcc && \
43488 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43490 @endif target-libgcc
43492 # Other targets (info, dvi, pdf, etc.)
43494 .PHONY: maybe-info-target-libgcc info-target-libgcc
43495 maybe-info-target-libgcc:
43496 @if target-libgcc
43497 maybe-info-target-libgcc: info-target-libgcc
43499 info-target-libgcc: \
43500 configure-target-libgcc
43501 @: $(MAKE); $(unstage)
43502 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43503 r=`${PWD_COMMAND}`; export r; \
43504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43505 $(NORMAL_TARGET_EXPORTS) \
43506 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43507 for flag in $(EXTRA_TARGET_FLAGS); do \
43508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43509 done; \
43510 (cd $(TARGET_SUBDIR)/libgcc && \
43511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43513 "RANLIB=$${RANLIB}" \
43514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43515 info) \
43516 || exit 1
43518 @endif target-libgcc
43520 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43521 maybe-dvi-target-libgcc:
43522 @if target-libgcc
43523 maybe-dvi-target-libgcc: dvi-target-libgcc
43525 dvi-target-libgcc: \
43526 configure-target-libgcc
43527 @: $(MAKE); $(unstage)
43528 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43529 r=`${PWD_COMMAND}`; export r; \
43530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43531 $(NORMAL_TARGET_EXPORTS) \
43532 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43533 for flag in $(EXTRA_TARGET_FLAGS); do \
43534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43535 done; \
43536 (cd $(TARGET_SUBDIR)/libgcc && \
43537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43539 "RANLIB=$${RANLIB}" \
43540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43541 dvi) \
43542 || exit 1
43544 @endif target-libgcc
43546 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43547 maybe-pdf-target-libgcc:
43548 @if target-libgcc
43549 maybe-pdf-target-libgcc: pdf-target-libgcc
43551 pdf-target-libgcc: \
43552 configure-target-libgcc
43553 @: $(MAKE); $(unstage)
43554 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43555 r=`${PWD_COMMAND}`; export r; \
43556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43557 $(NORMAL_TARGET_EXPORTS) \
43558 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43559 for flag in $(EXTRA_TARGET_FLAGS); do \
43560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43561 done; \
43562 (cd $(TARGET_SUBDIR)/libgcc && \
43563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43565 "RANLIB=$${RANLIB}" \
43566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43567 pdf) \
43568 || exit 1
43570 @endif target-libgcc
43572 .PHONY: maybe-html-target-libgcc html-target-libgcc
43573 maybe-html-target-libgcc:
43574 @if target-libgcc
43575 maybe-html-target-libgcc: html-target-libgcc
43577 html-target-libgcc: \
43578 configure-target-libgcc
43579 @: $(MAKE); $(unstage)
43580 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43581 r=`${PWD_COMMAND}`; export r; \
43582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43583 $(NORMAL_TARGET_EXPORTS) \
43584 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
43585 for flag in $(EXTRA_TARGET_FLAGS); do \
43586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43587 done; \
43588 (cd $(TARGET_SUBDIR)/libgcc && \
43589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43591 "RANLIB=$${RANLIB}" \
43592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43593 html) \
43594 || exit 1
43596 @endif target-libgcc
43598 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
43599 maybe-TAGS-target-libgcc:
43600 @if target-libgcc
43601 maybe-TAGS-target-libgcc: TAGS-target-libgcc
43603 TAGS-target-libgcc: \
43604 configure-target-libgcc
43605 @: $(MAKE); $(unstage)
43606 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43607 r=`${PWD_COMMAND}`; export r; \
43608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43609 $(NORMAL_TARGET_EXPORTS) \
43610 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
43611 for flag in $(EXTRA_TARGET_FLAGS); do \
43612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43613 done; \
43614 (cd $(TARGET_SUBDIR)/libgcc && \
43615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43617 "RANLIB=$${RANLIB}" \
43618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43619 TAGS) \
43620 || exit 1
43622 @endif target-libgcc
43624 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
43625 maybe-install-info-target-libgcc:
43626 @if target-libgcc
43627 maybe-install-info-target-libgcc: install-info-target-libgcc
43629 install-info-target-libgcc: \
43630 configure-target-libgcc \
43631 info-target-libgcc
43632 @: $(MAKE); $(unstage)
43633 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43634 r=`${PWD_COMMAND}`; export r; \
43635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43636 $(NORMAL_TARGET_EXPORTS) \
43637 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
43638 for flag in $(EXTRA_TARGET_FLAGS); do \
43639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43640 done; \
43641 (cd $(TARGET_SUBDIR)/libgcc && \
43642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43644 "RANLIB=$${RANLIB}" \
43645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43646 install-info) \
43647 || exit 1
43649 @endif target-libgcc
43651 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
43652 maybe-install-pdf-target-libgcc:
43653 @if target-libgcc
43654 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
43656 install-pdf-target-libgcc: \
43657 configure-target-libgcc \
43658 pdf-target-libgcc
43659 @: $(MAKE); $(unstage)
43660 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43661 r=`${PWD_COMMAND}`; export r; \
43662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43663 $(NORMAL_TARGET_EXPORTS) \
43664 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
43665 for flag in $(EXTRA_TARGET_FLAGS); do \
43666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43667 done; \
43668 (cd $(TARGET_SUBDIR)/libgcc && \
43669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43671 "RANLIB=$${RANLIB}" \
43672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43673 install-pdf) \
43674 || exit 1
43676 @endif target-libgcc
43678 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
43679 maybe-install-html-target-libgcc:
43680 @if target-libgcc
43681 maybe-install-html-target-libgcc: install-html-target-libgcc
43683 install-html-target-libgcc: \
43684 configure-target-libgcc \
43685 html-target-libgcc
43686 @: $(MAKE); $(unstage)
43687 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43688 r=`${PWD_COMMAND}`; export r; \
43689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43690 $(NORMAL_TARGET_EXPORTS) \
43691 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
43692 for flag in $(EXTRA_TARGET_FLAGS); do \
43693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43694 done; \
43695 (cd $(TARGET_SUBDIR)/libgcc && \
43696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43698 "RANLIB=$${RANLIB}" \
43699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43700 install-html) \
43701 || exit 1
43703 @endif target-libgcc
43705 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
43706 maybe-installcheck-target-libgcc:
43707 @if target-libgcc
43708 maybe-installcheck-target-libgcc: installcheck-target-libgcc
43710 installcheck-target-libgcc: \
43711 configure-target-libgcc
43712 @: $(MAKE); $(unstage)
43713 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43714 r=`${PWD_COMMAND}`; export r; \
43715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43716 $(NORMAL_TARGET_EXPORTS) \
43717 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
43718 for flag in $(EXTRA_TARGET_FLAGS); do \
43719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43720 done; \
43721 (cd $(TARGET_SUBDIR)/libgcc && \
43722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43724 "RANLIB=$${RANLIB}" \
43725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43726 installcheck) \
43727 || exit 1
43729 @endif target-libgcc
43731 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
43732 maybe-mostlyclean-target-libgcc:
43733 @if target-libgcc
43734 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
43736 mostlyclean-target-libgcc:
43737 @: $(MAKE); $(unstage)
43738 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43739 r=`${PWD_COMMAND}`; export r; \
43740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43741 $(NORMAL_TARGET_EXPORTS) \
43742 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
43743 for flag in $(EXTRA_TARGET_FLAGS); do \
43744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43745 done; \
43746 (cd $(TARGET_SUBDIR)/libgcc && \
43747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43749 "RANLIB=$${RANLIB}" \
43750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43751 mostlyclean) \
43752 || exit 1
43754 @endif target-libgcc
43756 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
43757 maybe-clean-target-libgcc:
43758 @if target-libgcc
43759 maybe-clean-target-libgcc: clean-target-libgcc
43761 clean-target-libgcc:
43762 @: $(MAKE); $(unstage)
43763 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43764 r=`${PWD_COMMAND}`; export r; \
43765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43766 $(NORMAL_TARGET_EXPORTS) \
43767 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
43768 for flag in $(EXTRA_TARGET_FLAGS); do \
43769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43770 done; \
43771 (cd $(TARGET_SUBDIR)/libgcc && \
43772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43774 "RANLIB=$${RANLIB}" \
43775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43776 clean) \
43777 || exit 1
43779 @endif target-libgcc
43781 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
43782 maybe-distclean-target-libgcc:
43783 @if target-libgcc
43784 maybe-distclean-target-libgcc: distclean-target-libgcc
43786 distclean-target-libgcc:
43787 @: $(MAKE); $(unstage)
43788 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43789 r=`${PWD_COMMAND}`; export r; \
43790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43791 $(NORMAL_TARGET_EXPORTS) \
43792 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
43793 for flag in $(EXTRA_TARGET_FLAGS); do \
43794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43795 done; \
43796 (cd $(TARGET_SUBDIR)/libgcc && \
43797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43799 "RANLIB=$${RANLIB}" \
43800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43801 distclean) \
43802 || exit 1
43804 @endif target-libgcc
43806 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
43807 maybe-maintainer-clean-target-libgcc:
43808 @if target-libgcc
43809 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
43811 maintainer-clean-target-libgcc:
43812 @: $(MAKE); $(unstage)
43813 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43814 r=`${PWD_COMMAND}`; export r; \
43815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43816 $(NORMAL_TARGET_EXPORTS) \
43817 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
43818 for flag in $(EXTRA_TARGET_FLAGS); do \
43819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43820 done; \
43821 (cd $(TARGET_SUBDIR)/libgcc && \
43822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43824 "RANLIB=$${RANLIB}" \
43825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43826 maintainer-clean) \
43827 || exit 1
43829 @endif target-libgcc
43835 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
43836 maybe-configure-target-libbacktrace:
43837 @if gcc-bootstrap
43838 configure-target-libbacktrace: stage_current
43839 @endif gcc-bootstrap
43840 @if target-libbacktrace
43841 maybe-configure-target-libbacktrace: configure-target-libbacktrace
43842 configure-target-libbacktrace:
43843 @: $(MAKE); $(unstage)
43844 @r=`${PWD_COMMAND}`; export r; \
43845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43846 echo "Checking multilib configuration for libbacktrace..."; \
43847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
43849 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43850 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43851 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
43852 else \
43853 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
43854 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43855 fi; \
43856 else \
43857 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43858 fi; \
43859 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
43860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43861 $(NORMAL_TARGET_EXPORTS) \
43862 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
43863 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
43864 case $(srcdir) in \
43865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43866 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
43867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43868 esac; \
43869 module_srcdir=libbacktrace; \
43870 rm -f no-such-file || : ; \
43871 CONFIG_SITE=no-such-file $(SHELL) \
43872 $$s/$$module_srcdir/configure \
43873 --srcdir=$${topdir}/$$module_srcdir \
43874 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43875 --target=${target_alias} \
43876 || exit 1
43877 @endif target-libbacktrace
43883 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
43884 maybe-all-target-libbacktrace:
43885 @if gcc-bootstrap
43886 all-target-libbacktrace: stage_current
43887 @endif gcc-bootstrap
43888 @if target-libbacktrace
43889 TARGET-target-libbacktrace=all
43890 maybe-all-target-libbacktrace: all-target-libbacktrace
43891 all-target-libbacktrace: configure-target-libbacktrace
43892 @: $(MAKE); $(unstage)
43893 @r=`${PWD_COMMAND}`; export r; \
43894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43895 $(NORMAL_TARGET_EXPORTS) \
43896 (cd $(TARGET_SUBDIR)/libbacktrace && \
43897 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43898 $(TARGET-target-libbacktrace))
43899 @endif target-libbacktrace
43905 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
43906 maybe-check-target-libbacktrace:
43907 @if target-libbacktrace
43908 maybe-check-target-libbacktrace: check-target-libbacktrace
43910 check-target-libbacktrace:
43911 @: $(MAKE); $(unstage)
43912 @r=`${PWD_COMMAND}`; export r; \
43913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43914 $(NORMAL_TARGET_EXPORTS) \
43915 (cd $(TARGET_SUBDIR)/libbacktrace && \
43916 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43918 @endif target-libbacktrace
43920 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
43921 maybe-install-target-libbacktrace:
43922 @if target-libbacktrace
43923 maybe-install-target-libbacktrace: install-target-libbacktrace
43925 install-target-libbacktrace: installdirs
43926 @: $(MAKE); $(unstage)
43927 @r=`${PWD_COMMAND}`; export r; \
43928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43929 $(NORMAL_TARGET_EXPORTS) \
43930 (cd $(TARGET_SUBDIR)/libbacktrace && \
43931 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43933 @endif target-libbacktrace
43935 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
43936 maybe-install-strip-target-libbacktrace:
43937 @if target-libbacktrace
43938 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
43940 install-strip-target-libbacktrace: installdirs
43941 @: $(MAKE); $(unstage)
43942 @r=`${PWD_COMMAND}`; export r; \
43943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43944 $(NORMAL_TARGET_EXPORTS) \
43945 (cd $(TARGET_SUBDIR)/libbacktrace && \
43946 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43948 @endif target-libbacktrace
43950 # Other targets (info, dvi, pdf, etc.)
43952 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
43953 maybe-info-target-libbacktrace:
43954 @if target-libbacktrace
43955 maybe-info-target-libbacktrace: info-target-libbacktrace
43957 info-target-libbacktrace: \
43958 configure-target-libbacktrace
43959 @: $(MAKE); $(unstage)
43960 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
43961 r=`${PWD_COMMAND}`; export r; \
43962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43963 $(NORMAL_TARGET_EXPORTS) \
43964 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
43965 for flag in $(EXTRA_TARGET_FLAGS); do \
43966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43967 done; \
43968 (cd $(TARGET_SUBDIR)/libbacktrace && \
43969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43971 "RANLIB=$${RANLIB}" \
43972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43973 info) \
43974 || exit 1
43976 @endif target-libbacktrace
43978 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
43979 maybe-dvi-target-libbacktrace:
43980 @if target-libbacktrace
43981 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
43983 dvi-target-libbacktrace: \
43984 configure-target-libbacktrace
43985 @: $(MAKE); $(unstage)
43986 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
43987 r=`${PWD_COMMAND}`; export r; \
43988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43989 $(NORMAL_TARGET_EXPORTS) \
43990 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
43991 for flag in $(EXTRA_TARGET_FLAGS); do \
43992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43993 done; \
43994 (cd $(TARGET_SUBDIR)/libbacktrace && \
43995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43997 "RANLIB=$${RANLIB}" \
43998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43999 dvi) \
44000 || exit 1
44002 @endif target-libbacktrace
44004 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
44005 maybe-pdf-target-libbacktrace:
44006 @if target-libbacktrace
44007 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
44009 pdf-target-libbacktrace: \
44010 configure-target-libbacktrace
44011 @: $(MAKE); $(unstage)
44012 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44013 r=`${PWD_COMMAND}`; export r; \
44014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44015 $(NORMAL_TARGET_EXPORTS) \
44016 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44017 for flag in $(EXTRA_TARGET_FLAGS); do \
44018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44019 done; \
44020 (cd $(TARGET_SUBDIR)/libbacktrace && \
44021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44023 "RANLIB=$${RANLIB}" \
44024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44025 pdf) \
44026 || exit 1
44028 @endif target-libbacktrace
44030 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44031 maybe-html-target-libbacktrace:
44032 @if target-libbacktrace
44033 maybe-html-target-libbacktrace: html-target-libbacktrace
44035 html-target-libbacktrace: \
44036 configure-target-libbacktrace
44037 @: $(MAKE); $(unstage)
44038 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44039 r=`${PWD_COMMAND}`; export r; \
44040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44041 $(NORMAL_TARGET_EXPORTS) \
44042 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44043 for flag in $(EXTRA_TARGET_FLAGS); do \
44044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44045 done; \
44046 (cd $(TARGET_SUBDIR)/libbacktrace && \
44047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44049 "RANLIB=$${RANLIB}" \
44050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44051 html) \
44052 || exit 1
44054 @endif target-libbacktrace
44056 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44057 maybe-TAGS-target-libbacktrace:
44058 @if target-libbacktrace
44059 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44061 TAGS-target-libbacktrace: \
44062 configure-target-libbacktrace
44063 @: $(MAKE); $(unstage)
44064 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44065 r=`${PWD_COMMAND}`; export r; \
44066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44067 $(NORMAL_TARGET_EXPORTS) \
44068 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44069 for flag in $(EXTRA_TARGET_FLAGS); do \
44070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44071 done; \
44072 (cd $(TARGET_SUBDIR)/libbacktrace && \
44073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44075 "RANLIB=$${RANLIB}" \
44076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44077 TAGS) \
44078 || exit 1
44080 @endif target-libbacktrace
44082 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44083 maybe-install-info-target-libbacktrace:
44084 @if target-libbacktrace
44085 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44087 install-info-target-libbacktrace: \
44088 configure-target-libbacktrace \
44089 info-target-libbacktrace
44090 @: $(MAKE); $(unstage)
44091 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44092 r=`${PWD_COMMAND}`; export r; \
44093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44094 $(NORMAL_TARGET_EXPORTS) \
44095 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44096 for flag in $(EXTRA_TARGET_FLAGS); do \
44097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44098 done; \
44099 (cd $(TARGET_SUBDIR)/libbacktrace && \
44100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44102 "RANLIB=$${RANLIB}" \
44103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44104 install-info) \
44105 || exit 1
44107 @endif target-libbacktrace
44109 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44110 maybe-install-pdf-target-libbacktrace:
44111 @if target-libbacktrace
44112 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44114 install-pdf-target-libbacktrace: \
44115 configure-target-libbacktrace \
44116 pdf-target-libbacktrace
44117 @: $(MAKE); $(unstage)
44118 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44119 r=`${PWD_COMMAND}`; export r; \
44120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44121 $(NORMAL_TARGET_EXPORTS) \
44122 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44123 for flag in $(EXTRA_TARGET_FLAGS); do \
44124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44125 done; \
44126 (cd $(TARGET_SUBDIR)/libbacktrace && \
44127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44129 "RANLIB=$${RANLIB}" \
44130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44131 install-pdf) \
44132 || exit 1
44134 @endif target-libbacktrace
44136 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44137 maybe-install-html-target-libbacktrace:
44138 @if target-libbacktrace
44139 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44141 install-html-target-libbacktrace: \
44142 configure-target-libbacktrace \
44143 html-target-libbacktrace
44144 @: $(MAKE); $(unstage)
44145 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44146 r=`${PWD_COMMAND}`; export r; \
44147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44148 $(NORMAL_TARGET_EXPORTS) \
44149 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44150 for flag in $(EXTRA_TARGET_FLAGS); do \
44151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44152 done; \
44153 (cd $(TARGET_SUBDIR)/libbacktrace && \
44154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44156 "RANLIB=$${RANLIB}" \
44157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44158 install-html) \
44159 || exit 1
44161 @endif target-libbacktrace
44163 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44164 maybe-installcheck-target-libbacktrace:
44165 @if target-libbacktrace
44166 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44168 installcheck-target-libbacktrace: \
44169 configure-target-libbacktrace
44170 @: $(MAKE); $(unstage)
44171 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44172 r=`${PWD_COMMAND}`; export r; \
44173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44174 $(NORMAL_TARGET_EXPORTS) \
44175 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44176 for flag in $(EXTRA_TARGET_FLAGS); do \
44177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44178 done; \
44179 (cd $(TARGET_SUBDIR)/libbacktrace && \
44180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44182 "RANLIB=$${RANLIB}" \
44183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44184 installcheck) \
44185 || exit 1
44187 @endif target-libbacktrace
44189 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44190 maybe-mostlyclean-target-libbacktrace:
44191 @if target-libbacktrace
44192 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44194 mostlyclean-target-libbacktrace:
44195 @: $(MAKE); $(unstage)
44196 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44197 r=`${PWD_COMMAND}`; export r; \
44198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44199 $(NORMAL_TARGET_EXPORTS) \
44200 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44201 for flag in $(EXTRA_TARGET_FLAGS); do \
44202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44203 done; \
44204 (cd $(TARGET_SUBDIR)/libbacktrace && \
44205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44207 "RANLIB=$${RANLIB}" \
44208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44209 mostlyclean) \
44210 || exit 1
44212 @endif target-libbacktrace
44214 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44215 maybe-clean-target-libbacktrace:
44216 @if target-libbacktrace
44217 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44219 clean-target-libbacktrace:
44220 @: $(MAKE); $(unstage)
44221 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44222 r=`${PWD_COMMAND}`; export r; \
44223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44224 $(NORMAL_TARGET_EXPORTS) \
44225 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44226 for flag in $(EXTRA_TARGET_FLAGS); do \
44227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44228 done; \
44229 (cd $(TARGET_SUBDIR)/libbacktrace && \
44230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44232 "RANLIB=$${RANLIB}" \
44233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44234 clean) \
44235 || exit 1
44237 @endif target-libbacktrace
44239 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44240 maybe-distclean-target-libbacktrace:
44241 @if target-libbacktrace
44242 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44244 distclean-target-libbacktrace:
44245 @: $(MAKE); $(unstage)
44246 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44247 r=`${PWD_COMMAND}`; export r; \
44248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44249 $(NORMAL_TARGET_EXPORTS) \
44250 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44251 for flag in $(EXTRA_TARGET_FLAGS); do \
44252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44253 done; \
44254 (cd $(TARGET_SUBDIR)/libbacktrace && \
44255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44257 "RANLIB=$${RANLIB}" \
44258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44259 distclean) \
44260 || exit 1
44262 @endif target-libbacktrace
44264 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44265 maybe-maintainer-clean-target-libbacktrace:
44266 @if target-libbacktrace
44267 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44269 maintainer-clean-target-libbacktrace:
44270 @: $(MAKE); $(unstage)
44271 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44272 r=`${PWD_COMMAND}`; export r; \
44273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44274 $(NORMAL_TARGET_EXPORTS) \
44275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44276 for flag in $(EXTRA_TARGET_FLAGS); do \
44277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44278 done; \
44279 (cd $(TARGET_SUBDIR)/libbacktrace && \
44280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44282 "RANLIB=$${RANLIB}" \
44283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44284 maintainer-clean) \
44285 || exit 1
44287 @endif target-libbacktrace
44293 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44294 maybe-configure-target-libquadmath:
44295 @if gcc-bootstrap
44296 configure-target-libquadmath: stage_current
44297 @endif gcc-bootstrap
44298 @if target-libquadmath
44299 maybe-configure-target-libquadmath: configure-target-libquadmath
44300 configure-target-libquadmath:
44301 @: $(MAKE); $(unstage)
44302 @r=`${PWD_COMMAND}`; export r; \
44303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44304 echo "Checking multilib configuration for libquadmath..."; \
44305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44306 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44307 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44308 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44309 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44310 else \
44311 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44312 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44313 fi; \
44314 else \
44315 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44316 fi; \
44317 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44318 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44319 $(NORMAL_TARGET_EXPORTS) \
44320 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44321 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44322 case $(srcdir) in \
44323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44324 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44326 esac; \
44327 module_srcdir=libquadmath; \
44328 rm -f no-such-file || : ; \
44329 CONFIG_SITE=no-such-file $(SHELL) \
44330 $$s/$$module_srcdir/configure \
44331 --srcdir=$${topdir}/$$module_srcdir \
44332 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44333 --target=${target_alias} \
44334 || exit 1
44335 @endif target-libquadmath
44341 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44342 maybe-all-target-libquadmath:
44343 @if gcc-bootstrap
44344 all-target-libquadmath: stage_current
44345 @endif gcc-bootstrap
44346 @if target-libquadmath
44347 TARGET-target-libquadmath=all
44348 maybe-all-target-libquadmath: all-target-libquadmath
44349 all-target-libquadmath: configure-target-libquadmath
44350 @: $(MAKE); $(unstage)
44351 @r=`${PWD_COMMAND}`; export r; \
44352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44353 $(NORMAL_TARGET_EXPORTS) \
44354 (cd $(TARGET_SUBDIR)/libquadmath && \
44355 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44356 $(TARGET-target-libquadmath))
44357 @endif target-libquadmath
44363 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44364 maybe-check-target-libquadmath:
44365 @if target-libquadmath
44366 maybe-check-target-libquadmath: check-target-libquadmath
44368 check-target-libquadmath:
44369 @: $(MAKE); $(unstage)
44370 @r=`${PWD_COMMAND}`; export r; \
44371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44372 $(NORMAL_TARGET_EXPORTS) \
44373 (cd $(TARGET_SUBDIR)/libquadmath && \
44374 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44376 @endif target-libquadmath
44378 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44379 maybe-install-target-libquadmath:
44380 @if target-libquadmath
44381 maybe-install-target-libquadmath: install-target-libquadmath
44383 install-target-libquadmath: installdirs
44384 @: $(MAKE); $(unstage)
44385 @r=`${PWD_COMMAND}`; export r; \
44386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44387 $(NORMAL_TARGET_EXPORTS) \
44388 (cd $(TARGET_SUBDIR)/libquadmath && \
44389 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44391 @endif target-libquadmath
44393 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44394 maybe-install-strip-target-libquadmath:
44395 @if target-libquadmath
44396 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44398 install-strip-target-libquadmath: installdirs
44399 @: $(MAKE); $(unstage)
44400 @r=`${PWD_COMMAND}`; export r; \
44401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44402 $(NORMAL_TARGET_EXPORTS) \
44403 (cd $(TARGET_SUBDIR)/libquadmath && \
44404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44406 @endif target-libquadmath
44408 # Other targets (info, dvi, pdf, etc.)
44410 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44411 maybe-info-target-libquadmath:
44412 @if target-libquadmath
44413 maybe-info-target-libquadmath: info-target-libquadmath
44415 info-target-libquadmath: \
44416 configure-target-libquadmath
44417 @: $(MAKE); $(unstage)
44418 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44419 r=`${PWD_COMMAND}`; export r; \
44420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44421 $(NORMAL_TARGET_EXPORTS) \
44422 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44423 for flag in $(EXTRA_TARGET_FLAGS); do \
44424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44425 done; \
44426 (cd $(TARGET_SUBDIR)/libquadmath && \
44427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44429 "RANLIB=$${RANLIB}" \
44430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44431 info) \
44432 || exit 1
44434 @endif target-libquadmath
44436 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44437 maybe-dvi-target-libquadmath:
44438 @if target-libquadmath
44439 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44441 dvi-target-libquadmath: \
44442 configure-target-libquadmath
44443 @: $(MAKE); $(unstage)
44444 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44445 r=`${PWD_COMMAND}`; export r; \
44446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44447 $(NORMAL_TARGET_EXPORTS) \
44448 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44449 for flag in $(EXTRA_TARGET_FLAGS); do \
44450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44451 done; \
44452 (cd $(TARGET_SUBDIR)/libquadmath && \
44453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44455 "RANLIB=$${RANLIB}" \
44456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44457 dvi) \
44458 || exit 1
44460 @endif target-libquadmath
44462 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44463 maybe-pdf-target-libquadmath:
44464 @if target-libquadmath
44465 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44467 pdf-target-libquadmath: \
44468 configure-target-libquadmath
44469 @: $(MAKE); $(unstage)
44470 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44471 r=`${PWD_COMMAND}`; export r; \
44472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44473 $(NORMAL_TARGET_EXPORTS) \
44474 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44475 for flag in $(EXTRA_TARGET_FLAGS); do \
44476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44477 done; \
44478 (cd $(TARGET_SUBDIR)/libquadmath && \
44479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44481 "RANLIB=$${RANLIB}" \
44482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44483 pdf) \
44484 || exit 1
44486 @endif target-libquadmath
44488 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44489 maybe-html-target-libquadmath:
44490 @if target-libquadmath
44491 maybe-html-target-libquadmath: html-target-libquadmath
44493 html-target-libquadmath: \
44494 configure-target-libquadmath
44495 @: $(MAKE); $(unstage)
44496 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44497 r=`${PWD_COMMAND}`; export r; \
44498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44499 $(NORMAL_TARGET_EXPORTS) \
44500 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44501 for flag in $(EXTRA_TARGET_FLAGS); do \
44502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44503 done; \
44504 (cd $(TARGET_SUBDIR)/libquadmath && \
44505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44507 "RANLIB=$${RANLIB}" \
44508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44509 html) \
44510 || exit 1
44512 @endif target-libquadmath
44514 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44515 maybe-TAGS-target-libquadmath:
44516 @if target-libquadmath
44517 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44519 TAGS-target-libquadmath: \
44520 configure-target-libquadmath
44521 @: $(MAKE); $(unstage)
44522 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44523 r=`${PWD_COMMAND}`; export r; \
44524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44525 $(NORMAL_TARGET_EXPORTS) \
44526 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44527 for flag in $(EXTRA_TARGET_FLAGS); do \
44528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44529 done; \
44530 (cd $(TARGET_SUBDIR)/libquadmath && \
44531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44533 "RANLIB=$${RANLIB}" \
44534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44535 TAGS) \
44536 || exit 1
44538 @endif target-libquadmath
44540 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44541 maybe-install-info-target-libquadmath:
44542 @if target-libquadmath
44543 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44545 install-info-target-libquadmath: \
44546 configure-target-libquadmath \
44547 info-target-libquadmath
44548 @: $(MAKE); $(unstage)
44549 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44550 r=`${PWD_COMMAND}`; export r; \
44551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44552 $(NORMAL_TARGET_EXPORTS) \
44553 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44554 for flag in $(EXTRA_TARGET_FLAGS); do \
44555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44556 done; \
44557 (cd $(TARGET_SUBDIR)/libquadmath && \
44558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44560 "RANLIB=$${RANLIB}" \
44561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44562 install-info) \
44563 || exit 1
44565 @endif target-libquadmath
44567 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44568 maybe-install-pdf-target-libquadmath:
44569 @if target-libquadmath
44570 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44572 install-pdf-target-libquadmath: \
44573 configure-target-libquadmath \
44574 pdf-target-libquadmath
44575 @: $(MAKE); $(unstage)
44576 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44577 r=`${PWD_COMMAND}`; export r; \
44578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44579 $(NORMAL_TARGET_EXPORTS) \
44580 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44581 for flag in $(EXTRA_TARGET_FLAGS); do \
44582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44583 done; \
44584 (cd $(TARGET_SUBDIR)/libquadmath && \
44585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44587 "RANLIB=$${RANLIB}" \
44588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44589 install-pdf) \
44590 || exit 1
44592 @endif target-libquadmath
44594 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
44595 maybe-install-html-target-libquadmath:
44596 @if target-libquadmath
44597 maybe-install-html-target-libquadmath: install-html-target-libquadmath
44599 install-html-target-libquadmath: \
44600 configure-target-libquadmath \
44601 html-target-libquadmath
44602 @: $(MAKE); $(unstage)
44603 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44604 r=`${PWD_COMMAND}`; export r; \
44605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44606 $(NORMAL_TARGET_EXPORTS) \
44607 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
44608 for flag in $(EXTRA_TARGET_FLAGS); do \
44609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44610 done; \
44611 (cd $(TARGET_SUBDIR)/libquadmath && \
44612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44614 "RANLIB=$${RANLIB}" \
44615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44616 install-html) \
44617 || exit 1
44619 @endif target-libquadmath
44621 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
44622 maybe-installcheck-target-libquadmath:
44623 @if target-libquadmath
44624 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
44626 installcheck-target-libquadmath: \
44627 configure-target-libquadmath
44628 @: $(MAKE); $(unstage)
44629 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44630 r=`${PWD_COMMAND}`; export r; \
44631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44632 $(NORMAL_TARGET_EXPORTS) \
44633 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
44634 for flag in $(EXTRA_TARGET_FLAGS); do \
44635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44636 done; \
44637 (cd $(TARGET_SUBDIR)/libquadmath && \
44638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44640 "RANLIB=$${RANLIB}" \
44641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44642 installcheck) \
44643 || exit 1
44645 @endif target-libquadmath
44647 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
44648 maybe-mostlyclean-target-libquadmath:
44649 @if target-libquadmath
44650 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
44652 mostlyclean-target-libquadmath:
44653 @: $(MAKE); $(unstage)
44654 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44655 r=`${PWD_COMMAND}`; export r; \
44656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44657 $(NORMAL_TARGET_EXPORTS) \
44658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
44659 for flag in $(EXTRA_TARGET_FLAGS); do \
44660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44661 done; \
44662 (cd $(TARGET_SUBDIR)/libquadmath && \
44663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44665 "RANLIB=$${RANLIB}" \
44666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44667 mostlyclean) \
44668 || exit 1
44670 @endif target-libquadmath
44672 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
44673 maybe-clean-target-libquadmath:
44674 @if target-libquadmath
44675 maybe-clean-target-libquadmath: clean-target-libquadmath
44677 clean-target-libquadmath:
44678 @: $(MAKE); $(unstage)
44679 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44680 r=`${PWD_COMMAND}`; export r; \
44681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44682 $(NORMAL_TARGET_EXPORTS) \
44683 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
44684 for flag in $(EXTRA_TARGET_FLAGS); do \
44685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44686 done; \
44687 (cd $(TARGET_SUBDIR)/libquadmath && \
44688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44690 "RANLIB=$${RANLIB}" \
44691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44692 clean) \
44693 || exit 1
44695 @endif target-libquadmath
44697 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
44698 maybe-distclean-target-libquadmath:
44699 @if target-libquadmath
44700 maybe-distclean-target-libquadmath: distclean-target-libquadmath
44702 distclean-target-libquadmath:
44703 @: $(MAKE); $(unstage)
44704 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44705 r=`${PWD_COMMAND}`; export r; \
44706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44707 $(NORMAL_TARGET_EXPORTS) \
44708 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
44709 for flag in $(EXTRA_TARGET_FLAGS); do \
44710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44711 done; \
44712 (cd $(TARGET_SUBDIR)/libquadmath && \
44713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44715 "RANLIB=$${RANLIB}" \
44716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44717 distclean) \
44718 || exit 1
44720 @endif target-libquadmath
44722 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
44723 maybe-maintainer-clean-target-libquadmath:
44724 @if target-libquadmath
44725 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
44727 maintainer-clean-target-libquadmath:
44728 @: $(MAKE); $(unstage)
44729 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44730 r=`${PWD_COMMAND}`; export r; \
44731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44732 $(NORMAL_TARGET_EXPORTS) \
44733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
44734 for flag in $(EXTRA_TARGET_FLAGS); do \
44735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44736 done; \
44737 (cd $(TARGET_SUBDIR)/libquadmath && \
44738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44740 "RANLIB=$${RANLIB}" \
44741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44742 maintainer-clean) \
44743 || exit 1
44745 @endif target-libquadmath
44751 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
44752 maybe-configure-target-libgfortran:
44753 @if gcc-bootstrap
44754 configure-target-libgfortran: stage_current
44755 @endif gcc-bootstrap
44756 @if target-libgfortran
44757 maybe-configure-target-libgfortran: configure-target-libgfortran
44758 configure-target-libgfortran:
44759 @: $(MAKE); $(unstage)
44760 @r=`${PWD_COMMAND}`; export r; \
44761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44762 echo "Checking multilib configuration for libgfortran..."; \
44763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44764 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
44765 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44766 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44767 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
44768 else \
44769 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
44770 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44771 fi; \
44772 else \
44773 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44774 fi; \
44775 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
44776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44777 $(NORMAL_TARGET_EXPORTS) \
44778 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
44779 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
44780 case $(srcdir) in \
44781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44782 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
44783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44784 esac; \
44785 module_srcdir=libgfortran; \
44786 rm -f no-such-file || : ; \
44787 CONFIG_SITE=no-such-file $(SHELL) \
44788 $$s/$$module_srcdir/configure \
44789 --srcdir=$${topdir}/$$module_srcdir \
44790 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44791 --target=${target_alias} \
44792 || exit 1
44793 @endif target-libgfortran
44799 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
44800 maybe-all-target-libgfortran:
44801 @if gcc-bootstrap
44802 all-target-libgfortran: stage_current
44803 @endif gcc-bootstrap
44804 @if target-libgfortran
44805 TARGET-target-libgfortran=all
44806 maybe-all-target-libgfortran: all-target-libgfortran
44807 all-target-libgfortran: configure-target-libgfortran
44808 @: $(MAKE); $(unstage)
44809 @r=`${PWD_COMMAND}`; export r; \
44810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44811 $(NORMAL_TARGET_EXPORTS) \
44812 (cd $(TARGET_SUBDIR)/libgfortran && \
44813 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44814 $(TARGET-target-libgfortran))
44815 @endif target-libgfortran
44821 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
44822 maybe-check-target-libgfortran:
44823 @if target-libgfortran
44824 maybe-check-target-libgfortran: check-target-libgfortran
44826 check-target-libgfortran:
44827 @: $(MAKE); $(unstage)
44828 @r=`${PWD_COMMAND}`; export r; \
44829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44830 $(NORMAL_TARGET_EXPORTS) \
44831 (cd $(TARGET_SUBDIR)/libgfortran && \
44832 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44834 @endif target-libgfortran
44836 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
44837 maybe-install-target-libgfortran:
44838 @if target-libgfortran
44839 maybe-install-target-libgfortran: install-target-libgfortran
44841 install-target-libgfortran: installdirs
44842 @: $(MAKE); $(unstage)
44843 @r=`${PWD_COMMAND}`; export r; \
44844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44845 $(NORMAL_TARGET_EXPORTS) \
44846 (cd $(TARGET_SUBDIR)/libgfortran && \
44847 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44849 @endif target-libgfortran
44851 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
44852 maybe-install-strip-target-libgfortran:
44853 @if target-libgfortran
44854 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
44856 install-strip-target-libgfortran: installdirs
44857 @: $(MAKE); $(unstage)
44858 @r=`${PWD_COMMAND}`; export r; \
44859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44860 $(NORMAL_TARGET_EXPORTS) \
44861 (cd $(TARGET_SUBDIR)/libgfortran && \
44862 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44864 @endif target-libgfortran
44866 # Other targets (info, dvi, pdf, etc.)
44868 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
44869 maybe-info-target-libgfortran:
44870 @if target-libgfortran
44871 maybe-info-target-libgfortran: info-target-libgfortran
44873 info-target-libgfortran: \
44874 configure-target-libgfortran
44875 @: $(MAKE); $(unstage)
44876 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44877 r=`${PWD_COMMAND}`; export r; \
44878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44879 $(NORMAL_TARGET_EXPORTS) \
44880 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
44881 for flag in $(EXTRA_TARGET_FLAGS); do \
44882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44883 done; \
44884 (cd $(TARGET_SUBDIR)/libgfortran && \
44885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44887 "RANLIB=$${RANLIB}" \
44888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44889 info) \
44890 || exit 1
44892 @endif target-libgfortran
44894 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
44895 maybe-dvi-target-libgfortran:
44896 @if target-libgfortran
44897 maybe-dvi-target-libgfortran: dvi-target-libgfortran
44899 dvi-target-libgfortran: \
44900 configure-target-libgfortran
44901 @: $(MAKE); $(unstage)
44902 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44903 r=`${PWD_COMMAND}`; export r; \
44904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44905 $(NORMAL_TARGET_EXPORTS) \
44906 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
44907 for flag in $(EXTRA_TARGET_FLAGS); do \
44908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44909 done; \
44910 (cd $(TARGET_SUBDIR)/libgfortran && \
44911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44913 "RANLIB=$${RANLIB}" \
44914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44915 dvi) \
44916 || exit 1
44918 @endif target-libgfortran
44920 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
44921 maybe-pdf-target-libgfortran:
44922 @if target-libgfortran
44923 maybe-pdf-target-libgfortran: pdf-target-libgfortran
44925 pdf-target-libgfortran: \
44926 configure-target-libgfortran
44927 @: $(MAKE); $(unstage)
44928 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44929 r=`${PWD_COMMAND}`; export r; \
44930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44931 $(NORMAL_TARGET_EXPORTS) \
44932 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
44933 for flag in $(EXTRA_TARGET_FLAGS); do \
44934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44935 done; \
44936 (cd $(TARGET_SUBDIR)/libgfortran && \
44937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44939 "RANLIB=$${RANLIB}" \
44940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44941 pdf) \
44942 || exit 1
44944 @endif target-libgfortran
44946 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
44947 maybe-html-target-libgfortran:
44948 @if target-libgfortran
44949 maybe-html-target-libgfortran: html-target-libgfortran
44951 html-target-libgfortran: \
44952 configure-target-libgfortran
44953 @: $(MAKE); $(unstage)
44954 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44955 r=`${PWD_COMMAND}`; export r; \
44956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44957 $(NORMAL_TARGET_EXPORTS) \
44958 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
44959 for flag in $(EXTRA_TARGET_FLAGS); do \
44960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44961 done; \
44962 (cd $(TARGET_SUBDIR)/libgfortran && \
44963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44965 "RANLIB=$${RANLIB}" \
44966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44967 html) \
44968 || exit 1
44970 @endif target-libgfortran
44972 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
44973 maybe-TAGS-target-libgfortran:
44974 @if target-libgfortran
44975 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
44977 TAGS-target-libgfortran: \
44978 configure-target-libgfortran
44979 @: $(MAKE); $(unstage)
44980 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44981 r=`${PWD_COMMAND}`; export r; \
44982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44983 $(NORMAL_TARGET_EXPORTS) \
44984 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
44985 for flag in $(EXTRA_TARGET_FLAGS); do \
44986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44987 done; \
44988 (cd $(TARGET_SUBDIR)/libgfortran && \
44989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44991 "RANLIB=$${RANLIB}" \
44992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44993 TAGS) \
44994 || exit 1
44996 @endif target-libgfortran
44998 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
44999 maybe-install-info-target-libgfortran:
45000 @if target-libgfortran
45001 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45003 install-info-target-libgfortran: \
45004 configure-target-libgfortran \
45005 info-target-libgfortran
45006 @: $(MAKE); $(unstage)
45007 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45008 r=`${PWD_COMMAND}`; export r; \
45009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45010 $(NORMAL_TARGET_EXPORTS) \
45011 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45012 for flag in $(EXTRA_TARGET_FLAGS); do \
45013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45014 done; \
45015 (cd $(TARGET_SUBDIR)/libgfortran && \
45016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45018 "RANLIB=$${RANLIB}" \
45019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45020 install-info) \
45021 || exit 1
45023 @endif target-libgfortran
45025 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45026 maybe-install-pdf-target-libgfortran:
45027 @if target-libgfortran
45028 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45030 install-pdf-target-libgfortran: \
45031 configure-target-libgfortran \
45032 pdf-target-libgfortran
45033 @: $(MAKE); $(unstage)
45034 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45035 r=`${PWD_COMMAND}`; export r; \
45036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45037 $(NORMAL_TARGET_EXPORTS) \
45038 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45039 for flag in $(EXTRA_TARGET_FLAGS); do \
45040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45041 done; \
45042 (cd $(TARGET_SUBDIR)/libgfortran && \
45043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45045 "RANLIB=$${RANLIB}" \
45046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45047 install-pdf) \
45048 || exit 1
45050 @endif target-libgfortran
45052 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45053 maybe-install-html-target-libgfortran:
45054 @if target-libgfortran
45055 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45057 install-html-target-libgfortran: \
45058 configure-target-libgfortran \
45059 html-target-libgfortran
45060 @: $(MAKE); $(unstage)
45061 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45062 r=`${PWD_COMMAND}`; export r; \
45063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45064 $(NORMAL_TARGET_EXPORTS) \
45065 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45066 for flag in $(EXTRA_TARGET_FLAGS); do \
45067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45068 done; \
45069 (cd $(TARGET_SUBDIR)/libgfortran && \
45070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45072 "RANLIB=$${RANLIB}" \
45073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45074 install-html) \
45075 || exit 1
45077 @endif target-libgfortran
45079 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45080 maybe-installcheck-target-libgfortran:
45081 @if target-libgfortran
45082 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45084 installcheck-target-libgfortran: \
45085 configure-target-libgfortran
45086 @: $(MAKE); $(unstage)
45087 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45088 r=`${PWD_COMMAND}`; export r; \
45089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45090 $(NORMAL_TARGET_EXPORTS) \
45091 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45092 for flag in $(EXTRA_TARGET_FLAGS); do \
45093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45094 done; \
45095 (cd $(TARGET_SUBDIR)/libgfortran && \
45096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45098 "RANLIB=$${RANLIB}" \
45099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45100 installcheck) \
45101 || exit 1
45103 @endif target-libgfortran
45105 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45106 maybe-mostlyclean-target-libgfortran:
45107 @if target-libgfortran
45108 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45110 mostlyclean-target-libgfortran:
45111 @: $(MAKE); $(unstage)
45112 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45113 r=`${PWD_COMMAND}`; export r; \
45114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45115 $(NORMAL_TARGET_EXPORTS) \
45116 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45117 for flag in $(EXTRA_TARGET_FLAGS); do \
45118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45119 done; \
45120 (cd $(TARGET_SUBDIR)/libgfortran && \
45121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45123 "RANLIB=$${RANLIB}" \
45124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45125 mostlyclean) \
45126 || exit 1
45128 @endif target-libgfortran
45130 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45131 maybe-clean-target-libgfortran:
45132 @if target-libgfortran
45133 maybe-clean-target-libgfortran: clean-target-libgfortran
45135 clean-target-libgfortran:
45136 @: $(MAKE); $(unstage)
45137 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45138 r=`${PWD_COMMAND}`; export r; \
45139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45140 $(NORMAL_TARGET_EXPORTS) \
45141 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45142 for flag in $(EXTRA_TARGET_FLAGS); do \
45143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45144 done; \
45145 (cd $(TARGET_SUBDIR)/libgfortran && \
45146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45148 "RANLIB=$${RANLIB}" \
45149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45150 clean) \
45151 || exit 1
45153 @endif target-libgfortran
45155 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45156 maybe-distclean-target-libgfortran:
45157 @if target-libgfortran
45158 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45160 distclean-target-libgfortran:
45161 @: $(MAKE); $(unstage)
45162 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45163 r=`${PWD_COMMAND}`; export r; \
45164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45165 $(NORMAL_TARGET_EXPORTS) \
45166 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45167 for flag in $(EXTRA_TARGET_FLAGS); do \
45168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45169 done; \
45170 (cd $(TARGET_SUBDIR)/libgfortran && \
45171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45173 "RANLIB=$${RANLIB}" \
45174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45175 distclean) \
45176 || exit 1
45178 @endif target-libgfortran
45180 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45181 maybe-maintainer-clean-target-libgfortran:
45182 @if target-libgfortran
45183 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45185 maintainer-clean-target-libgfortran:
45186 @: $(MAKE); $(unstage)
45187 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45188 r=`${PWD_COMMAND}`; export r; \
45189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45190 $(NORMAL_TARGET_EXPORTS) \
45191 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45192 for flag in $(EXTRA_TARGET_FLAGS); do \
45193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45194 done; \
45195 (cd $(TARGET_SUBDIR)/libgfortran && \
45196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45198 "RANLIB=$${RANLIB}" \
45199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45200 maintainer-clean) \
45201 || exit 1
45203 @endif target-libgfortran
45209 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45210 maybe-configure-target-libobjc:
45211 @if gcc-bootstrap
45212 configure-target-libobjc: stage_current
45213 @endif gcc-bootstrap
45214 @if target-libobjc
45215 maybe-configure-target-libobjc: configure-target-libobjc
45216 configure-target-libobjc:
45217 @: $(MAKE); $(unstage)
45218 @r=`${PWD_COMMAND}`; export r; \
45219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45220 echo "Checking multilib configuration for libobjc..."; \
45221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45222 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45223 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45224 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45225 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45226 else \
45227 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45228 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45229 fi; \
45230 else \
45231 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45232 fi; \
45233 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45235 $(NORMAL_TARGET_EXPORTS) \
45236 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45237 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45238 case $(srcdir) in \
45239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45240 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45242 esac; \
45243 module_srcdir=libobjc; \
45244 rm -f no-such-file || : ; \
45245 CONFIG_SITE=no-such-file $(SHELL) \
45246 $$s/$$module_srcdir/configure \
45247 --srcdir=$${topdir}/$$module_srcdir \
45248 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45249 --target=${target_alias} \
45250 || exit 1
45251 @endif target-libobjc
45257 .PHONY: all-target-libobjc maybe-all-target-libobjc
45258 maybe-all-target-libobjc:
45259 @if gcc-bootstrap
45260 all-target-libobjc: stage_current
45261 @endif gcc-bootstrap
45262 @if target-libobjc
45263 TARGET-target-libobjc=all
45264 maybe-all-target-libobjc: all-target-libobjc
45265 all-target-libobjc: configure-target-libobjc
45266 @: $(MAKE); $(unstage)
45267 @r=`${PWD_COMMAND}`; export r; \
45268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45269 $(NORMAL_TARGET_EXPORTS) \
45270 (cd $(TARGET_SUBDIR)/libobjc && \
45271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45272 $(TARGET-target-libobjc))
45273 @endif target-libobjc
45279 .PHONY: check-target-libobjc maybe-check-target-libobjc
45280 maybe-check-target-libobjc:
45281 @if target-libobjc
45282 maybe-check-target-libobjc: check-target-libobjc
45284 check-target-libobjc:
45285 @: $(MAKE); $(unstage)
45286 @r=`${PWD_COMMAND}`; export r; \
45287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45288 $(NORMAL_TARGET_EXPORTS) \
45289 (cd $(TARGET_SUBDIR)/libobjc && \
45290 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45292 @endif target-libobjc
45294 .PHONY: install-target-libobjc maybe-install-target-libobjc
45295 maybe-install-target-libobjc:
45296 @if target-libobjc
45297 maybe-install-target-libobjc: install-target-libobjc
45299 install-target-libobjc: installdirs
45300 @: $(MAKE); $(unstage)
45301 @r=`${PWD_COMMAND}`; export r; \
45302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45303 $(NORMAL_TARGET_EXPORTS) \
45304 (cd $(TARGET_SUBDIR)/libobjc && \
45305 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45307 @endif target-libobjc
45309 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45310 maybe-install-strip-target-libobjc:
45311 @if target-libobjc
45312 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45314 install-strip-target-libobjc: installdirs
45315 @: $(MAKE); $(unstage)
45316 @r=`${PWD_COMMAND}`; export r; \
45317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45318 $(NORMAL_TARGET_EXPORTS) \
45319 (cd $(TARGET_SUBDIR)/libobjc && \
45320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45322 @endif target-libobjc
45324 # Other targets (info, dvi, pdf, etc.)
45326 .PHONY: maybe-info-target-libobjc info-target-libobjc
45327 maybe-info-target-libobjc:
45328 @if target-libobjc
45329 maybe-info-target-libobjc: info-target-libobjc
45331 info-target-libobjc: \
45332 configure-target-libobjc
45333 @: $(MAKE); $(unstage)
45334 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45335 r=`${PWD_COMMAND}`; export r; \
45336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45337 $(NORMAL_TARGET_EXPORTS) \
45338 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45339 for flag in $(EXTRA_TARGET_FLAGS); do \
45340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45341 done; \
45342 (cd $(TARGET_SUBDIR)/libobjc && \
45343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45345 "RANLIB=$${RANLIB}" \
45346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45347 info) \
45348 || exit 1
45350 @endif target-libobjc
45352 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45353 maybe-dvi-target-libobjc:
45354 @if target-libobjc
45355 maybe-dvi-target-libobjc: dvi-target-libobjc
45357 dvi-target-libobjc: \
45358 configure-target-libobjc
45359 @: $(MAKE); $(unstage)
45360 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45361 r=`${PWD_COMMAND}`; export r; \
45362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45363 $(NORMAL_TARGET_EXPORTS) \
45364 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45365 for flag in $(EXTRA_TARGET_FLAGS); do \
45366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45367 done; \
45368 (cd $(TARGET_SUBDIR)/libobjc && \
45369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45371 "RANLIB=$${RANLIB}" \
45372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45373 dvi) \
45374 || exit 1
45376 @endif target-libobjc
45378 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45379 maybe-pdf-target-libobjc:
45380 @if target-libobjc
45381 maybe-pdf-target-libobjc: pdf-target-libobjc
45383 pdf-target-libobjc: \
45384 configure-target-libobjc
45385 @: $(MAKE); $(unstage)
45386 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45387 r=`${PWD_COMMAND}`; export r; \
45388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45389 $(NORMAL_TARGET_EXPORTS) \
45390 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45391 for flag in $(EXTRA_TARGET_FLAGS); do \
45392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45393 done; \
45394 (cd $(TARGET_SUBDIR)/libobjc && \
45395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45397 "RANLIB=$${RANLIB}" \
45398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45399 pdf) \
45400 || exit 1
45402 @endif target-libobjc
45404 .PHONY: maybe-html-target-libobjc html-target-libobjc
45405 maybe-html-target-libobjc:
45406 @if target-libobjc
45407 maybe-html-target-libobjc: html-target-libobjc
45409 html-target-libobjc: \
45410 configure-target-libobjc
45411 @: $(MAKE); $(unstage)
45412 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45413 r=`${PWD_COMMAND}`; export r; \
45414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45415 $(NORMAL_TARGET_EXPORTS) \
45416 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45417 for flag in $(EXTRA_TARGET_FLAGS); do \
45418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45419 done; \
45420 (cd $(TARGET_SUBDIR)/libobjc && \
45421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45423 "RANLIB=$${RANLIB}" \
45424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45425 html) \
45426 || exit 1
45428 @endif target-libobjc
45430 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45431 maybe-TAGS-target-libobjc:
45432 @if target-libobjc
45433 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45435 TAGS-target-libobjc: \
45436 configure-target-libobjc
45437 @: $(MAKE); $(unstage)
45438 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45439 r=`${PWD_COMMAND}`; export r; \
45440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45441 $(NORMAL_TARGET_EXPORTS) \
45442 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45443 for flag in $(EXTRA_TARGET_FLAGS); do \
45444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45445 done; \
45446 (cd $(TARGET_SUBDIR)/libobjc && \
45447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45449 "RANLIB=$${RANLIB}" \
45450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45451 TAGS) \
45452 || exit 1
45454 @endif target-libobjc
45456 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45457 maybe-install-info-target-libobjc:
45458 @if target-libobjc
45459 maybe-install-info-target-libobjc: install-info-target-libobjc
45461 install-info-target-libobjc: \
45462 configure-target-libobjc \
45463 info-target-libobjc
45464 @: $(MAKE); $(unstage)
45465 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45466 r=`${PWD_COMMAND}`; export r; \
45467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45468 $(NORMAL_TARGET_EXPORTS) \
45469 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45470 for flag in $(EXTRA_TARGET_FLAGS); do \
45471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45472 done; \
45473 (cd $(TARGET_SUBDIR)/libobjc && \
45474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45476 "RANLIB=$${RANLIB}" \
45477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45478 install-info) \
45479 || exit 1
45481 @endif target-libobjc
45483 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45484 maybe-install-pdf-target-libobjc:
45485 @if target-libobjc
45486 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45488 install-pdf-target-libobjc: \
45489 configure-target-libobjc \
45490 pdf-target-libobjc
45491 @: $(MAKE); $(unstage)
45492 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45493 r=`${PWD_COMMAND}`; export r; \
45494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45495 $(NORMAL_TARGET_EXPORTS) \
45496 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45497 for flag in $(EXTRA_TARGET_FLAGS); do \
45498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45499 done; \
45500 (cd $(TARGET_SUBDIR)/libobjc && \
45501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45503 "RANLIB=$${RANLIB}" \
45504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45505 install-pdf) \
45506 || exit 1
45508 @endif target-libobjc
45510 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45511 maybe-install-html-target-libobjc:
45512 @if target-libobjc
45513 maybe-install-html-target-libobjc: install-html-target-libobjc
45515 install-html-target-libobjc: \
45516 configure-target-libobjc \
45517 html-target-libobjc
45518 @: $(MAKE); $(unstage)
45519 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45520 r=`${PWD_COMMAND}`; export r; \
45521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45522 $(NORMAL_TARGET_EXPORTS) \
45523 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45524 for flag in $(EXTRA_TARGET_FLAGS); do \
45525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45526 done; \
45527 (cd $(TARGET_SUBDIR)/libobjc && \
45528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45530 "RANLIB=$${RANLIB}" \
45531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45532 install-html) \
45533 || exit 1
45535 @endif target-libobjc
45537 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45538 maybe-installcheck-target-libobjc:
45539 @if target-libobjc
45540 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45542 installcheck-target-libobjc: \
45543 configure-target-libobjc
45544 @: $(MAKE); $(unstage)
45545 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45546 r=`${PWD_COMMAND}`; export r; \
45547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45548 $(NORMAL_TARGET_EXPORTS) \
45549 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45550 for flag in $(EXTRA_TARGET_FLAGS); do \
45551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45552 done; \
45553 (cd $(TARGET_SUBDIR)/libobjc && \
45554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45556 "RANLIB=$${RANLIB}" \
45557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45558 installcheck) \
45559 || exit 1
45561 @endif target-libobjc
45563 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45564 maybe-mostlyclean-target-libobjc:
45565 @if target-libobjc
45566 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45568 mostlyclean-target-libobjc:
45569 @: $(MAKE); $(unstage)
45570 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45571 r=`${PWD_COMMAND}`; export r; \
45572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45573 $(NORMAL_TARGET_EXPORTS) \
45574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45575 for flag in $(EXTRA_TARGET_FLAGS); do \
45576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45577 done; \
45578 (cd $(TARGET_SUBDIR)/libobjc && \
45579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45581 "RANLIB=$${RANLIB}" \
45582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45583 mostlyclean) \
45584 || exit 1
45586 @endif target-libobjc
45588 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
45589 maybe-clean-target-libobjc:
45590 @if target-libobjc
45591 maybe-clean-target-libobjc: clean-target-libobjc
45593 clean-target-libobjc:
45594 @: $(MAKE); $(unstage)
45595 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45596 r=`${PWD_COMMAND}`; export r; \
45597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45598 $(NORMAL_TARGET_EXPORTS) \
45599 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
45600 for flag in $(EXTRA_TARGET_FLAGS); do \
45601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45602 done; \
45603 (cd $(TARGET_SUBDIR)/libobjc && \
45604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45606 "RANLIB=$${RANLIB}" \
45607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45608 clean) \
45609 || exit 1
45611 @endif target-libobjc
45613 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
45614 maybe-distclean-target-libobjc:
45615 @if target-libobjc
45616 maybe-distclean-target-libobjc: distclean-target-libobjc
45618 distclean-target-libobjc:
45619 @: $(MAKE); $(unstage)
45620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45621 r=`${PWD_COMMAND}`; export r; \
45622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45623 $(NORMAL_TARGET_EXPORTS) \
45624 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
45625 for flag in $(EXTRA_TARGET_FLAGS); do \
45626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45627 done; \
45628 (cd $(TARGET_SUBDIR)/libobjc && \
45629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45631 "RANLIB=$${RANLIB}" \
45632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45633 distclean) \
45634 || exit 1
45636 @endif target-libobjc
45638 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
45639 maybe-maintainer-clean-target-libobjc:
45640 @if target-libobjc
45641 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
45643 maintainer-clean-target-libobjc:
45644 @: $(MAKE); $(unstage)
45645 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45646 r=`${PWD_COMMAND}`; export r; \
45647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45648 $(NORMAL_TARGET_EXPORTS) \
45649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
45650 for flag in $(EXTRA_TARGET_FLAGS); do \
45651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45652 done; \
45653 (cd $(TARGET_SUBDIR)/libobjc && \
45654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45656 "RANLIB=$${RANLIB}" \
45657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45658 maintainer-clean) \
45659 || exit 1
45661 @endif target-libobjc
45667 .PHONY: configure-target-libgo maybe-configure-target-libgo
45668 maybe-configure-target-libgo:
45669 @if gcc-bootstrap
45670 configure-target-libgo: stage_current
45671 @endif gcc-bootstrap
45672 @if target-libgo
45673 maybe-configure-target-libgo: configure-target-libgo
45674 configure-target-libgo:
45675 @: $(MAKE); $(unstage)
45676 @r=`${PWD_COMMAND}`; export r; \
45677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45678 echo "Checking multilib configuration for libgo..."; \
45679 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45680 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
45681 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
45682 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
45683 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
45684 else \
45685 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
45686 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45687 fi; \
45688 else \
45689 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45690 fi; \
45691 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
45692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45693 $(NORMAL_TARGET_EXPORTS) \
45694 echo Configuring in $(TARGET_SUBDIR)/libgo; \
45695 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
45696 case $(srcdir) in \
45697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45698 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
45699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45700 esac; \
45701 module_srcdir=libgo; \
45702 rm -f no-such-file || : ; \
45703 CONFIG_SITE=no-such-file $(SHELL) \
45704 $$s/$$module_srcdir/configure \
45705 --srcdir=$${topdir}/$$module_srcdir \
45706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45707 --target=${target_alias} \
45708 || exit 1
45709 @endif target-libgo
45715 .PHONY: all-target-libgo maybe-all-target-libgo
45716 maybe-all-target-libgo:
45717 @if gcc-bootstrap
45718 all-target-libgo: stage_current
45719 @endif gcc-bootstrap
45720 @if target-libgo
45721 TARGET-target-libgo=all
45722 maybe-all-target-libgo: all-target-libgo
45723 all-target-libgo: configure-target-libgo
45724 @: $(MAKE); $(unstage)
45725 @r=`${PWD_COMMAND}`; export r; \
45726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45727 $(NORMAL_TARGET_EXPORTS) \
45728 (cd $(TARGET_SUBDIR)/libgo && \
45729 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45730 $(TARGET-target-libgo))
45731 @endif target-libgo
45737 .PHONY: check-target-libgo maybe-check-target-libgo
45738 maybe-check-target-libgo:
45739 @if target-libgo
45740 maybe-check-target-libgo: check-target-libgo
45742 check-target-libgo:
45743 @: $(MAKE); $(unstage)
45744 @r=`${PWD_COMMAND}`; export r; \
45745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45746 $(NORMAL_TARGET_EXPORTS) \
45747 (cd $(TARGET_SUBDIR)/libgo && \
45748 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45750 @endif target-libgo
45752 .PHONY: install-target-libgo maybe-install-target-libgo
45753 maybe-install-target-libgo:
45754 @if target-libgo
45755 maybe-install-target-libgo: install-target-libgo
45757 install-target-libgo: installdirs
45758 @: $(MAKE); $(unstage)
45759 @r=`${PWD_COMMAND}`; export r; \
45760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45761 $(NORMAL_TARGET_EXPORTS) \
45762 (cd $(TARGET_SUBDIR)/libgo && \
45763 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45765 @endif target-libgo
45767 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
45768 maybe-install-strip-target-libgo:
45769 @if target-libgo
45770 maybe-install-strip-target-libgo: install-strip-target-libgo
45772 install-strip-target-libgo: installdirs
45773 @: $(MAKE); $(unstage)
45774 @r=`${PWD_COMMAND}`; export r; \
45775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45776 $(NORMAL_TARGET_EXPORTS) \
45777 (cd $(TARGET_SUBDIR)/libgo && \
45778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45780 @endif target-libgo
45782 # Other targets (info, dvi, pdf, etc.)
45784 .PHONY: maybe-info-target-libgo info-target-libgo
45785 maybe-info-target-libgo:
45786 @if target-libgo
45787 maybe-info-target-libgo: info-target-libgo
45789 info-target-libgo: \
45790 configure-target-libgo
45791 @: $(MAKE); $(unstage)
45792 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45793 r=`${PWD_COMMAND}`; export r; \
45794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45795 $(NORMAL_TARGET_EXPORTS) \
45796 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
45797 for flag in $(EXTRA_TARGET_FLAGS); do \
45798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45799 done; \
45800 (cd $(TARGET_SUBDIR)/libgo && \
45801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45803 "RANLIB=$${RANLIB}" \
45804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45805 info) \
45806 || exit 1
45808 @endif target-libgo
45810 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
45811 maybe-dvi-target-libgo:
45812 @if target-libgo
45813 maybe-dvi-target-libgo: dvi-target-libgo
45815 dvi-target-libgo: \
45816 configure-target-libgo
45817 @: $(MAKE); $(unstage)
45818 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45819 r=`${PWD_COMMAND}`; export r; \
45820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45821 $(NORMAL_TARGET_EXPORTS) \
45822 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
45823 for flag in $(EXTRA_TARGET_FLAGS); do \
45824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45825 done; \
45826 (cd $(TARGET_SUBDIR)/libgo && \
45827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45829 "RANLIB=$${RANLIB}" \
45830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45831 dvi) \
45832 || exit 1
45834 @endif target-libgo
45836 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
45837 maybe-pdf-target-libgo:
45838 @if target-libgo
45839 maybe-pdf-target-libgo: pdf-target-libgo
45841 pdf-target-libgo: \
45842 configure-target-libgo
45843 @: $(MAKE); $(unstage)
45844 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45845 r=`${PWD_COMMAND}`; export r; \
45846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45847 $(NORMAL_TARGET_EXPORTS) \
45848 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
45849 for flag in $(EXTRA_TARGET_FLAGS); do \
45850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45851 done; \
45852 (cd $(TARGET_SUBDIR)/libgo && \
45853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45855 "RANLIB=$${RANLIB}" \
45856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45857 pdf) \
45858 || exit 1
45860 @endif target-libgo
45862 .PHONY: maybe-html-target-libgo html-target-libgo
45863 maybe-html-target-libgo:
45864 @if target-libgo
45865 maybe-html-target-libgo: html-target-libgo
45867 html-target-libgo: \
45868 configure-target-libgo
45869 @: $(MAKE); $(unstage)
45870 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45871 r=`${PWD_COMMAND}`; export r; \
45872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45873 $(NORMAL_TARGET_EXPORTS) \
45874 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
45875 for flag in $(EXTRA_TARGET_FLAGS); do \
45876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45877 done; \
45878 (cd $(TARGET_SUBDIR)/libgo && \
45879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45881 "RANLIB=$${RANLIB}" \
45882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45883 html) \
45884 || exit 1
45886 @endif target-libgo
45888 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
45889 maybe-TAGS-target-libgo:
45890 @if target-libgo
45891 maybe-TAGS-target-libgo: TAGS-target-libgo
45893 TAGS-target-libgo: \
45894 configure-target-libgo
45895 @: $(MAKE); $(unstage)
45896 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45897 r=`${PWD_COMMAND}`; export r; \
45898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45899 $(NORMAL_TARGET_EXPORTS) \
45900 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
45901 for flag in $(EXTRA_TARGET_FLAGS); do \
45902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45903 done; \
45904 (cd $(TARGET_SUBDIR)/libgo && \
45905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45907 "RANLIB=$${RANLIB}" \
45908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45909 TAGS) \
45910 || exit 1
45912 @endif target-libgo
45914 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
45915 maybe-install-info-target-libgo:
45916 @if target-libgo
45917 maybe-install-info-target-libgo: install-info-target-libgo
45919 install-info-target-libgo: \
45920 configure-target-libgo \
45921 info-target-libgo
45922 @: $(MAKE); $(unstage)
45923 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45924 r=`${PWD_COMMAND}`; export r; \
45925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45926 $(NORMAL_TARGET_EXPORTS) \
45927 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
45928 for flag in $(EXTRA_TARGET_FLAGS); do \
45929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45930 done; \
45931 (cd $(TARGET_SUBDIR)/libgo && \
45932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45934 "RANLIB=$${RANLIB}" \
45935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45936 install-info) \
45937 || exit 1
45939 @endif target-libgo
45941 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
45942 maybe-install-pdf-target-libgo:
45943 @if target-libgo
45944 maybe-install-pdf-target-libgo: install-pdf-target-libgo
45946 install-pdf-target-libgo: \
45947 configure-target-libgo \
45948 pdf-target-libgo
45949 @: $(MAKE); $(unstage)
45950 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45951 r=`${PWD_COMMAND}`; export r; \
45952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45953 $(NORMAL_TARGET_EXPORTS) \
45954 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
45955 for flag in $(EXTRA_TARGET_FLAGS); do \
45956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45957 done; \
45958 (cd $(TARGET_SUBDIR)/libgo && \
45959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45961 "RANLIB=$${RANLIB}" \
45962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45963 install-pdf) \
45964 || exit 1
45966 @endif target-libgo
45968 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
45969 maybe-install-html-target-libgo:
45970 @if target-libgo
45971 maybe-install-html-target-libgo: install-html-target-libgo
45973 install-html-target-libgo: \
45974 configure-target-libgo \
45975 html-target-libgo
45976 @: $(MAKE); $(unstage)
45977 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45978 r=`${PWD_COMMAND}`; export r; \
45979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45980 $(NORMAL_TARGET_EXPORTS) \
45981 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
45982 for flag in $(EXTRA_TARGET_FLAGS); do \
45983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45984 done; \
45985 (cd $(TARGET_SUBDIR)/libgo && \
45986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45988 "RANLIB=$${RANLIB}" \
45989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45990 install-html) \
45991 || exit 1
45993 @endif target-libgo
45995 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
45996 maybe-installcheck-target-libgo:
45997 @if target-libgo
45998 maybe-installcheck-target-libgo: installcheck-target-libgo
46000 installcheck-target-libgo: \
46001 configure-target-libgo
46002 @: $(MAKE); $(unstage)
46003 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46004 r=`${PWD_COMMAND}`; export r; \
46005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46006 $(NORMAL_TARGET_EXPORTS) \
46007 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
46008 for flag in $(EXTRA_TARGET_FLAGS); do \
46009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46010 done; \
46011 (cd $(TARGET_SUBDIR)/libgo && \
46012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46014 "RANLIB=$${RANLIB}" \
46015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46016 installcheck) \
46017 || exit 1
46019 @endif target-libgo
46021 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46022 maybe-mostlyclean-target-libgo:
46023 @if target-libgo
46024 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46026 mostlyclean-target-libgo:
46027 @: $(MAKE); $(unstage)
46028 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46029 r=`${PWD_COMMAND}`; export r; \
46030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46031 $(NORMAL_TARGET_EXPORTS) \
46032 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46033 for flag in $(EXTRA_TARGET_FLAGS); do \
46034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46035 done; \
46036 (cd $(TARGET_SUBDIR)/libgo && \
46037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46039 "RANLIB=$${RANLIB}" \
46040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46041 mostlyclean) \
46042 || exit 1
46044 @endif target-libgo
46046 .PHONY: maybe-clean-target-libgo clean-target-libgo
46047 maybe-clean-target-libgo:
46048 @if target-libgo
46049 maybe-clean-target-libgo: clean-target-libgo
46051 clean-target-libgo:
46052 @: $(MAKE); $(unstage)
46053 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46054 r=`${PWD_COMMAND}`; export r; \
46055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46056 $(NORMAL_TARGET_EXPORTS) \
46057 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46058 for flag in $(EXTRA_TARGET_FLAGS); do \
46059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46060 done; \
46061 (cd $(TARGET_SUBDIR)/libgo && \
46062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46064 "RANLIB=$${RANLIB}" \
46065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46066 clean) \
46067 || exit 1
46069 @endif target-libgo
46071 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46072 maybe-distclean-target-libgo:
46073 @if target-libgo
46074 maybe-distclean-target-libgo: distclean-target-libgo
46076 distclean-target-libgo:
46077 @: $(MAKE); $(unstage)
46078 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46079 r=`${PWD_COMMAND}`; export r; \
46080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46081 $(NORMAL_TARGET_EXPORTS) \
46082 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46083 for flag in $(EXTRA_TARGET_FLAGS); do \
46084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46085 done; \
46086 (cd $(TARGET_SUBDIR)/libgo && \
46087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46089 "RANLIB=$${RANLIB}" \
46090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46091 distclean) \
46092 || exit 1
46094 @endif target-libgo
46096 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46097 maybe-maintainer-clean-target-libgo:
46098 @if target-libgo
46099 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46101 maintainer-clean-target-libgo:
46102 @: $(MAKE); $(unstage)
46103 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46104 r=`${PWD_COMMAND}`; export r; \
46105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46106 $(NORMAL_TARGET_EXPORTS) \
46107 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46108 for flag in $(EXTRA_TARGET_FLAGS); do \
46109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46110 done; \
46111 (cd $(TARGET_SUBDIR)/libgo && \
46112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46114 "RANLIB=$${RANLIB}" \
46115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46116 maintainer-clean) \
46117 || exit 1
46119 @endif target-libgo
46125 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46126 maybe-configure-target-libtermcap:
46127 @if gcc-bootstrap
46128 configure-target-libtermcap: stage_current
46129 @endif gcc-bootstrap
46130 @if target-libtermcap
46131 maybe-configure-target-libtermcap: configure-target-libtermcap
46132 configure-target-libtermcap:
46133 @: $(MAKE); $(unstage)
46134 @r=`${PWD_COMMAND}`; export r; \
46135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46136 echo "Checking multilib configuration for libtermcap..."; \
46137 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
46139 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46140 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46141 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46142 else \
46143 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46144 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46145 fi; \
46146 else \
46147 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46148 fi; \
46149 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46151 $(NORMAL_TARGET_EXPORTS) \
46152 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46153 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46154 case $(srcdir) in \
46155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46156 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46158 esac; \
46159 module_srcdir=libtermcap; \
46160 rm -f no-such-file || : ; \
46161 CONFIG_SITE=no-such-file $(SHELL) \
46162 $$s/$$module_srcdir/configure \
46163 --srcdir=$${topdir}/$$module_srcdir \
46164 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46165 --target=${target_alias} \
46166 || exit 1
46167 @endif target-libtermcap
46173 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46174 maybe-all-target-libtermcap:
46175 @if gcc-bootstrap
46176 all-target-libtermcap: stage_current
46177 @endif gcc-bootstrap
46178 @if target-libtermcap
46179 TARGET-target-libtermcap=all
46180 maybe-all-target-libtermcap: all-target-libtermcap
46181 all-target-libtermcap: configure-target-libtermcap
46182 @: $(MAKE); $(unstage)
46183 @r=`${PWD_COMMAND}`; export r; \
46184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46185 $(NORMAL_TARGET_EXPORTS) \
46186 (cd $(TARGET_SUBDIR)/libtermcap && \
46187 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46188 $(TARGET-target-libtermcap))
46189 @endif target-libtermcap
46195 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
46196 maybe-check-target-libtermcap:
46197 @if target-libtermcap
46198 maybe-check-target-libtermcap: check-target-libtermcap
46200 # Dummy target for uncheckable module.
46201 check-target-libtermcap:
46203 @endif target-libtermcap
46205 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
46206 maybe-install-target-libtermcap:
46207 @if target-libtermcap
46208 maybe-install-target-libtermcap: install-target-libtermcap
46210 install-target-libtermcap: installdirs
46211 @: $(MAKE); $(unstage)
46212 @r=`${PWD_COMMAND}`; export r; \
46213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46214 $(NORMAL_TARGET_EXPORTS) \
46215 (cd $(TARGET_SUBDIR)/libtermcap && \
46216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46218 @endif target-libtermcap
46220 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
46221 maybe-install-strip-target-libtermcap:
46222 @if target-libtermcap
46223 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
46225 install-strip-target-libtermcap: installdirs
46226 @: $(MAKE); $(unstage)
46227 @r=`${PWD_COMMAND}`; export r; \
46228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46229 $(NORMAL_TARGET_EXPORTS) \
46230 (cd $(TARGET_SUBDIR)/libtermcap && \
46231 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46233 @endif target-libtermcap
46235 # Other targets (info, dvi, pdf, etc.)
46237 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
46238 maybe-info-target-libtermcap:
46239 @if target-libtermcap
46240 maybe-info-target-libtermcap: info-target-libtermcap
46242 info-target-libtermcap: \
46243 configure-target-libtermcap
46244 @: $(MAKE); $(unstage)
46245 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46246 r=`${PWD_COMMAND}`; export r; \
46247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46248 $(NORMAL_TARGET_EXPORTS) \
46249 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
46250 for flag in $(EXTRA_TARGET_FLAGS); do \
46251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46252 done; \
46253 (cd $(TARGET_SUBDIR)/libtermcap && \
46254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46256 "RANLIB=$${RANLIB}" \
46257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46258 info) \
46259 || exit 1
46261 @endif target-libtermcap
46263 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
46264 maybe-dvi-target-libtermcap:
46265 @if target-libtermcap
46266 maybe-dvi-target-libtermcap: dvi-target-libtermcap
46268 dvi-target-libtermcap: \
46269 configure-target-libtermcap
46270 @: $(MAKE); $(unstage)
46271 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46272 r=`${PWD_COMMAND}`; export r; \
46273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46274 $(NORMAL_TARGET_EXPORTS) \
46275 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
46276 for flag in $(EXTRA_TARGET_FLAGS); do \
46277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46278 done; \
46279 (cd $(TARGET_SUBDIR)/libtermcap && \
46280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46282 "RANLIB=$${RANLIB}" \
46283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46284 dvi) \
46285 || exit 1
46287 @endif target-libtermcap
46289 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
46290 maybe-pdf-target-libtermcap:
46291 @if target-libtermcap
46292 maybe-pdf-target-libtermcap: pdf-target-libtermcap
46294 pdf-target-libtermcap: \
46295 configure-target-libtermcap
46296 @: $(MAKE); $(unstage)
46297 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46298 r=`${PWD_COMMAND}`; export r; \
46299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46300 $(NORMAL_TARGET_EXPORTS) \
46301 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
46302 for flag in $(EXTRA_TARGET_FLAGS); do \
46303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46304 done; \
46305 (cd $(TARGET_SUBDIR)/libtermcap && \
46306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46308 "RANLIB=$${RANLIB}" \
46309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46310 pdf) \
46311 || exit 1
46313 @endif target-libtermcap
46315 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
46316 maybe-html-target-libtermcap:
46317 @if target-libtermcap
46318 maybe-html-target-libtermcap: html-target-libtermcap
46320 html-target-libtermcap: \
46321 configure-target-libtermcap
46322 @: $(MAKE); $(unstage)
46323 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46324 r=`${PWD_COMMAND}`; export r; \
46325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46326 $(NORMAL_TARGET_EXPORTS) \
46327 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
46328 for flag in $(EXTRA_TARGET_FLAGS); do \
46329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46330 done; \
46331 (cd $(TARGET_SUBDIR)/libtermcap && \
46332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46334 "RANLIB=$${RANLIB}" \
46335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46336 html) \
46337 || exit 1
46339 @endif target-libtermcap
46341 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
46342 maybe-TAGS-target-libtermcap:
46343 @if target-libtermcap
46344 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
46346 TAGS-target-libtermcap: \
46347 configure-target-libtermcap
46348 @: $(MAKE); $(unstage)
46349 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46350 r=`${PWD_COMMAND}`; export r; \
46351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46352 $(NORMAL_TARGET_EXPORTS) \
46353 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
46354 for flag in $(EXTRA_TARGET_FLAGS); do \
46355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46356 done; \
46357 (cd $(TARGET_SUBDIR)/libtermcap && \
46358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46360 "RANLIB=$${RANLIB}" \
46361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46362 TAGS) \
46363 || exit 1
46365 @endif target-libtermcap
46367 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
46368 maybe-install-info-target-libtermcap:
46369 @if target-libtermcap
46370 maybe-install-info-target-libtermcap: install-info-target-libtermcap
46372 install-info-target-libtermcap: \
46373 configure-target-libtermcap \
46374 info-target-libtermcap
46375 @: $(MAKE); $(unstage)
46376 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46377 r=`${PWD_COMMAND}`; export r; \
46378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46379 $(NORMAL_TARGET_EXPORTS) \
46380 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
46381 for flag in $(EXTRA_TARGET_FLAGS); do \
46382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46383 done; \
46384 (cd $(TARGET_SUBDIR)/libtermcap && \
46385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46387 "RANLIB=$${RANLIB}" \
46388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46389 install-info) \
46390 || exit 1
46392 @endif target-libtermcap
46394 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
46395 maybe-install-pdf-target-libtermcap:
46396 @if target-libtermcap
46397 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
46399 install-pdf-target-libtermcap: \
46400 configure-target-libtermcap \
46401 pdf-target-libtermcap
46402 @: $(MAKE); $(unstage)
46403 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46404 r=`${PWD_COMMAND}`; export r; \
46405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46406 $(NORMAL_TARGET_EXPORTS) \
46407 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
46408 for flag in $(EXTRA_TARGET_FLAGS); do \
46409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46410 done; \
46411 (cd $(TARGET_SUBDIR)/libtermcap && \
46412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46414 "RANLIB=$${RANLIB}" \
46415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46416 install-pdf) \
46417 || exit 1
46419 @endif target-libtermcap
46421 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
46422 maybe-install-html-target-libtermcap:
46423 @if target-libtermcap
46424 maybe-install-html-target-libtermcap: install-html-target-libtermcap
46426 install-html-target-libtermcap: \
46427 configure-target-libtermcap \
46428 html-target-libtermcap
46429 @: $(MAKE); $(unstage)
46430 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46431 r=`${PWD_COMMAND}`; export r; \
46432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46433 $(NORMAL_TARGET_EXPORTS) \
46434 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
46435 for flag in $(EXTRA_TARGET_FLAGS); do \
46436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46437 done; \
46438 (cd $(TARGET_SUBDIR)/libtermcap && \
46439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46441 "RANLIB=$${RANLIB}" \
46442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46443 install-html) \
46444 || exit 1
46446 @endif target-libtermcap
46448 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
46449 maybe-installcheck-target-libtermcap:
46450 @if target-libtermcap
46451 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
46453 installcheck-target-libtermcap: \
46454 configure-target-libtermcap
46455 @: $(MAKE); $(unstage)
46456 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46457 r=`${PWD_COMMAND}`; export r; \
46458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46459 $(NORMAL_TARGET_EXPORTS) \
46460 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
46461 for flag in $(EXTRA_TARGET_FLAGS); do \
46462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46463 done; \
46464 (cd $(TARGET_SUBDIR)/libtermcap && \
46465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46467 "RANLIB=$${RANLIB}" \
46468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46469 installcheck) \
46470 || exit 1
46472 @endif target-libtermcap
46474 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
46475 maybe-mostlyclean-target-libtermcap:
46476 @if target-libtermcap
46477 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
46479 # libtermcap doesn't support mostlyclean.
46480 mostlyclean-target-libtermcap:
46482 @endif target-libtermcap
46484 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
46485 maybe-clean-target-libtermcap:
46486 @if target-libtermcap
46487 maybe-clean-target-libtermcap: clean-target-libtermcap
46489 # libtermcap doesn't support clean.
46490 clean-target-libtermcap:
46492 @endif target-libtermcap
46494 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
46495 maybe-distclean-target-libtermcap:
46496 @if target-libtermcap
46497 maybe-distclean-target-libtermcap: distclean-target-libtermcap
46499 # libtermcap doesn't support distclean.
46500 distclean-target-libtermcap:
46502 @endif target-libtermcap
46504 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
46505 maybe-maintainer-clean-target-libtermcap:
46506 @if target-libtermcap
46507 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
46509 # libtermcap doesn't support maintainer-clean.
46510 maintainer-clean-target-libtermcap:
46512 @endif target-libtermcap
46518 .PHONY: configure-target-winsup maybe-configure-target-winsup
46519 maybe-configure-target-winsup:
46520 @if gcc-bootstrap
46521 configure-target-winsup: stage_current
46522 @endif gcc-bootstrap
46523 @if target-winsup
46524 maybe-configure-target-winsup: configure-target-winsup
46525 configure-target-winsup:
46526 @: $(MAKE); $(unstage)
46527 @r=`${PWD_COMMAND}`; export r; \
46528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46529 echo "Checking multilib configuration for winsup..."; \
46530 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46531 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
46532 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
46533 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
46534 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
46535 else \
46536 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
46537 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46538 fi; \
46539 else \
46540 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46541 fi; \
46542 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
46543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46544 $(NORMAL_TARGET_EXPORTS) \
46545 echo Configuring in $(TARGET_SUBDIR)/winsup; \
46546 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
46547 case $(srcdir) in \
46548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46549 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
46550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46551 esac; \
46552 module_srcdir=winsup; \
46553 rm -f no-such-file || : ; \
46554 CONFIG_SITE=no-such-file $(SHELL) \
46555 $$s/$$module_srcdir/configure \
46556 --srcdir=$${topdir}/$$module_srcdir \
46557 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46558 --target=${target_alias} \
46559 || exit 1
46560 @endif target-winsup
46566 .PHONY: all-target-winsup maybe-all-target-winsup
46567 maybe-all-target-winsup:
46568 @if gcc-bootstrap
46569 all-target-winsup: stage_current
46570 @endif gcc-bootstrap
46571 @if target-winsup
46572 TARGET-target-winsup=all
46573 maybe-all-target-winsup: all-target-winsup
46574 all-target-winsup: configure-target-winsup
46575 @: $(MAKE); $(unstage)
46576 @r=`${PWD_COMMAND}`; export r; \
46577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46578 $(NORMAL_TARGET_EXPORTS) \
46579 (cd $(TARGET_SUBDIR)/winsup && \
46580 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46581 $(TARGET-target-winsup))
46582 @endif target-winsup
46588 .PHONY: check-target-winsup maybe-check-target-winsup
46589 maybe-check-target-winsup:
46590 @if target-winsup
46591 maybe-check-target-winsup: check-target-winsup
46593 check-target-winsup:
46594 @: $(MAKE); $(unstage)
46595 @r=`${PWD_COMMAND}`; export r; \
46596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46597 $(NORMAL_TARGET_EXPORTS) \
46598 (cd $(TARGET_SUBDIR)/winsup && \
46599 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46601 @endif target-winsup
46603 .PHONY: install-target-winsup maybe-install-target-winsup
46604 maybe-install-target-winsup:
46605 @if target-winsup
46606 maybe-install-target-winsup: install-target-winsup
46608 install-target-winsup: installdirs
46609 @: $(MAKE); $(unstage)
46610 @r=`${PWD_COMMAND}`; export r; \
46611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46612 $(NORMAL_TARGET_EXPORTS) \
46613 (cd $(TARGET_SUBDIR)/winsup && \
46614 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46616 @endif target-winsup
46618 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
46619 maybe-install-strip-target-winsup:
46620 @if target-winsup
46621 maybe-install-strip-target-winsup: install-strip-target-winsup
46623 install-strip-target-winsup: installdirs
46624 @: $(MAKE); $(unstage)
46625 @r=`${PWD_COMMAND}`; export r; \
46626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46627 $(NORMAL_TARGET_EXPORTS) \
46628 (cd $(TARGET_SUBDIR)/winsup && \
46629 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46631 @endif target-winsup
46633 # Other targets (info, dvi, pdf, etc.)
46635 .PHONY: maybe-info-target-winsup info-target-winsup
46636 maybe-info-target-winsup:
46637 @if target-winsup
46638 maybe-info-target-winsup: info-target-winsup
46640 info-target-winsup: \
46641 configure-target-winsup
46642 @: $(MAKE); $(unstage)
46643 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46644 r=`${PWD_COMMAND}`; export r; \
46645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46646 $(NORMAL_TARGET_EXPORTS) \
46647 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
46648 for flag in $(EXTRA_TARGET_FLAGS); do \
46649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46650 done; \
46651 (cd $(TARGET_SUBDIR)/winsup && \
46652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46654 "RANLIB=$${RANLIB}" \
46655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46656 info) \
46657 || exit 1
46659 @endif target-winsup
46661 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
46662 maybe-dvi-target-winsup:
46663 @if target-winsup
46664 maybe-dvi-target-winsup: dvi-target-winsup
46666 dvi-target-winsup: \
46667 configure-target-winsup
46668 @: $(MAKE); $(unstage)
46669 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46670 r=`${PWD_COMMAND}`; export r; \
46671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46672 $(NORMAL_TARGET_EXPORTS) \
46673 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
46674 for flag in $(EXTRA_TARGET_FLAGS); do \
46675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46676 done; \
46677 (cd $(TARGET_SUBDIR)/winsup && \
46678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46680 "RANLIB=$${RANLIB}" \
46681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46682 dvi) \
46683 || exit 1
46685 @endif target-winsup
46687 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
46688 maybe-pdf-target-winsup:
46689 @if target-winsup
46690 maybe-pdf-target-winsup: pdf-target-winsup
46692 pdf-target-winsup: \
46693 configure-target-winsup
46694 @: $(MAKE); $(unstage)
46695 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46696 r=`${PWD_COMMAND}`; export r; \
46697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46698 $(NORMAL_TARGET_EXPORTS) \
46699 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
46700 for flag in $(EXTRA_TARGET_FLAGS); do \
46701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46702 done; \
46703 (cd $(TARGET_SUBDIR)/winsup && \
46704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46706 "RANLIB=$${RANLIB}" \
46707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46708 pdf) \
46709 || exit 1
46711 @endif target-winsup
46713 .PHONY: maybe-html-target-winsup html-target-winsup
46714 maybe-html-target-winsup:
46715 @if target-winsup
46716 maybe-html-target-winsup: html-target-winsup
46718 html-target-winsup: \
46719 configure-target-winsup
46720 @: $(MAKE); $(unstage)
46721 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46722 r=`${PWD_COMMAND}`; export r; \
46723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46724 $(NORMAL_TARGET_EXPORTS) \
46725 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
46726 for flag in $(EXTRA_TARGET_FLAGS); do \
46727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46728 done; \
46729 (cd $(TARGET_SUBDIR)/winsup && \
46730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46732 "RANLIB=$${RANLIB}" \
46733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46734 html) \
46735 || exit 1
46737 @endif target-winsup
46739 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
46740 maybe-TAGS-target-winsup:
46741 @if target-winsup
46742 maybe-TAGS-target-winsup: TAGS-target-winsup
46744 TAGS-target-winsup: \
46745 configure-target-winsup
46746 @: $(MAKE); $(unstage)
46747 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46748 r=`${PWD_COMMAND}`; export r; \
46749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46750 $(NORMAL_TARGET_EXPORTS) \
46751 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
46752 for flag in $(EXTRA_TARGET_FLAGS); do \
46753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46754 done; \
46755 (cd $(TARGET_SUBDIR)/winsup && \
46756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46758 "RANLIB=$${RANLIB}" \
46759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46760 TAGS) \
46761 || exit 1
46763 @endif target-winsup
46765 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
46766 maybe-install-info-target-winsup:
46767 @if target-winsup
46768 maybe-install-info-target-winsup: install-info-target-winsup
46770 install-info-target-winsup: \
46771 configure-target-winsup \
46772 info-target-winsup
46773 @: $(MAKE); $(unstage)
46774 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46775 r=`${PWD_COMMAND}`; export r; \
46776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46777 $(NORMAL_TARGET_EXPORTS) \
46778 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
46779 for flag in $(EXTRA_TARGET_FLAGS); do \
46780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46781 done; \
46782 (cd $(TARGET_SUBDIR)/winsup && \
46783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46785 "RANLIB=$${RANLIB}" \
46786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46787 install-info) \
46788 || exit 1
46790 @endif target-winsup
46792 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
46793 maybe-install-pdf-target-winsup:
46794 @if target-winsup
46795 maybe-install-pdf-target-winsup: install-pdf-target-winsup
46797 install-pdf-target-winsup: \
46798 configure-target-winsup \
46799 pdf-target-winsup
46800 @: $(MAKE); $(unstage)
46801 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46802 r=`${PWD_COMMAND}`; export r; \
46803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46804 $(NORMAL_TARGET_EXPORTS) \
46805 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
46806 for flag in $(EXTRA_TARGET_FLAGS); do \
46807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46808 done; \
46809 (cd $(TARGET_SUBDIR)/winsup && \
46810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46812 "RANLIB=$${RANLIB}" \
46813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46814 install-pdf) \
46815 || exit 1
46817 @endif target-winsup
46819 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
46820 maybe-install-html-target-winsup:
46821 @if target-winsup
46822 maybe-install-html-target-winsup: install-html-target-winsup
46824 install-html-target-winsup: \
46825 configure-target-winsup \
46826 html-target-winsup
46827 @: $(MAKE); $(unstage)
46828 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46829 r=`${PWD_COMMAND}`; export r; \
46830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46831 $(NORMAL_TARGET_EXPORTS) \
46832 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
46833 for flag in $(EXTRA_TARGET_FLAGS); do \
46834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46835 done; \
46836 (cd $(TARGET_SUBDIR)/winsup && \
46837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46839 "RANLIB=$${RANLIB}" \
46840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46841 install-html) \
46842 || exit 1
46844 @endif target-winsup
46846 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
46847 maybe-installcheck-target-winsup:
46848 @if target-winsup
46849 maybe-installcheck-target-winsup: installcheck-target-winsup
46851 installcheck-target-winsup: \
46852 configure-target-winsup
46853 @: $(MAKE); $(unstage)
46854 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46855 r=`${PWD_COMMAND}`; export r; \
46856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46857 $(NORMAL_TARGET_EXPORTS) \
46858 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
46859 for flag in $(EXTRA_TARGET_FLAGS); do \
46860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46861 done; \
46862 (cd $(TARGET_SUBDIR)/winsup && \
46863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46865 "RANLIB=$${RANLIB}" \
46866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46867 installcheck) \
46868 || exit 1
46870 @endif target-winsup
46872 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
46873 maybe-mostlyclean-target-winsup:
46874 @if target-winsup
46875 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
46877 mostlyclean-target-winsup:
46878 @: $(MAKE); $(unstage)
46879 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46880 r=`${PWD_COMMAND}`; export r; \
46881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46882 $(NORMAL_TARGET_EXPORTS) \
46883 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
46884 for flag in $(EXTRA_TARGET_FLAGS); do \
46885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46886 done; \
46887 (cd $(TARGET_SUBDIR)/winsup && \
46888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46890 "RANLIB=$${RANLIB}" \
46891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46892 mostlyclean) \
46893 || exit 1
46895 @endif target-winsup
46897 .PHONY: maybe-clean-target-winsup clean-target-winsup
46898 maybe-clean-target-winsup:
46899 @if target-winsup
46900 maybe-clean-target-winsup: clean-target-winsup
46902 clean-target-winsup:
46903 @: $(MAKE); $(unstage)
46904 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46905 r=`${PWD_COMMAND}`; export r; \
46906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46907 $(NORMAL_TARGET_EXPORTS) \
46908 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
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)/winsup && \
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 clean) \
46918 || exit 1
46920 @endif target-winsup
46922 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
46923 maybe-distclean-target-winsup:
46924 @if target-winsup
46925 maybe-distclean-target-winsup: distclean-target-winsup
46927 distclean-target-winsup:
46928 @: $(MAKE); $(unstage)
46929 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46930 r=`${PWD_COMMAND}`; export r; \
46931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46932 $(NORMAL_TARGET_EXPORTS) \
46933 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
46934 for flag in $(EXTRA_TARGET_FLAGS); do \
46935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46936 done; \
46937 (cd $(TARGET_SUBDIR)/winsup && \
46938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46940 "RANLIB=$${RANLIB}" \
46941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46942 distclean) \
46943 || exit 1
46945 @endif target-winsup
46947 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
46948 maybe-maintainer-clean-target-winsup:
46949 @if target-winsup
46950 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
46952 maintainer-clean-target-winsup:
46953 @: $(MAKE); $(unstage)
46954 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46955 r=`${PWD_COMMAND}`; export r; \
46956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46957 $(NORMAL_TARGET_EXPORTS) \
46958 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
46959 for flag in $(EXTRA_TARGET_FLAGS); do \
46960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46961 done; \
46962 (cd $(TARGET_SUBDIR)/winsup && \
46963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46965 "RANLIB=$${RANLIB}" \
46966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46967 maintainer-clean) \
46968 || exit 1
46970 @endif target-winsup
46976 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
46977 maybe-configure-target-libgloss:
46978 @if gcc-bootstrap
46979 configure-target-libgloss: stage_current
46980 @endif gcc-bootstrap
46981 @if target-libgloss
46982 maybe-configure-target-libgloss: configure-target-libgloss
46983 configure-target-libgloss:
46984 @: $(MAKE); $(unstage)
46985 @r=`${PWD_COMMAND}`; export r; \
46986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46987 echo "Checking multilib configuration for libgloss..."; \
46988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
46989 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
46990 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
46991 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
46992 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
46993 else \
46994 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
46995 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
46996 fi; \
46997 else \
46998 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
46999 fi; \
47000 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47002 $(NORMAL_TARGET_EXPORTS) \
47003 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47004 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47005 case $(srcdir) in \
47006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47007 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47009 esac; \
47010 module_srcdir=libgloss; \
47011 rm -f no-such-file || : ; \
47012 CONFIG_SITE=no-such-file $(SHELL) \
47013 $$s/$$module_srcdir/configure \
47014 --srcdir=$${topdir}/$$module_srcdir \
47015 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47016 --target=${target_alias} \
47017 || exit 1
47018 @endif target-libgloss
47024 .PHONY: all-target-libgloss maybe-all-target-libgloss
47025 maybe-all-target-libgloss:
47026 @if gcc-bootstrap
47027 all-target-libgloss: stage_current
47028 @endif gcc-bootstrap
47029 @if target-libgloss
47030 TARGET-target-libgloss=all
47031 maybe-all-target-libgloss: all-target-libgloss
47032 all-target-libgloss: configure-target-libgloss
47033 @: $(MAKE); $(unstage)
47034 @r=`${PWD_COMMAND}`; export r; \
47035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47036 $(NORMAL_TARGET_EXPORTS) \
47037 (cd $(TARGET_SUBDIR)/libgloss && \
47038 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47039 $(TARGET-target-libgloss))
47040 @endif target-libgloss
47046 .PHONY: check-target-libgloss maybe-check-target-libgloss
47047 maybe-check-target-libgloss:
47048 @if target-libgloss
47049 maybe-check-target-libgloss: check-target-libgloss
47051 # Dummy target for uncheckable module.
47052 check-target-libgloss:
47054 @endif target-libgloss
47056 .PHONY: install-target-libgloss maybe-install-target-libgloss
47057 maybe-install-target-libgloss:
47058 @if target-libgloss
47059 maybe-install-target-libgloss: install-target-libgloss
47061 install-target-libgloss: installdirs
47062 @: $(MAKE); $(unstage)
47063 @r=`${PWD_COMMAND}`; export r; \
47064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47065 $(NORMAL_TARGET_EXPORTS) \
47066 (cd $(TARGET_SUBDIR)/libgloss && \
47067 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47069 @endif target-libgloss
47071 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
47072 maybe-install-strip-target-libgloss:
47073 @if target-libgloss
47074 maybe-install-strip-target-libgloss: install-strip-target-libgloss
47076 install-strip-target-libgloss: installdirs
47077 @: $(MAKE); $(unstage)
47078 @r=`${PWD_COMMAND}`; export r; \
47079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47080 $(NORMAL_TARGET_EXPORTS) \
47081 (cd $(TARGET_SUBDIR)/libgloss && \
47082 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47084 @endif target-libgloss
47086 # Other targets (info, dvi, pdf, etc.)
47088 .PHONY: maybe-info-target-libgloss info-target-libgloss
47089 maybe-info-target-libgloss:
47090 @if target-libgloss
47091 maybe-info-target-libgloss: info-target-libgloss
47093 info-target-libgloss: \
47094 configure-target-libgloss
47095 @: $(MAKE); $(unstage)
47096 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47097 r=`${PWD_COMMAND}`; export r; \
47098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47099 $(NORMAL_TARGET_EXPORTS) \
47100 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
47101 for flag in $(EXTRA_TARGET_FLAGS); do \
47102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47103 done; \
47104 (cd $(TARGET_SUBDIR)/libgloss && \
47105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47107 "RANLIB=$${RANLIB}" \
47108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47109 info) \
47110 || exit 1
47112 @endif target-libgloss
47114 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47115 maybe-dvi-target-libgloss:
47116 @if target-libgloss
47117 maybe-dvi-target-libgloss: dvi-target-libgloss
47119 dvi-target-libgloss: \
47120 configure-target-libgloss
47121 @: $(MAKE); $(unstage)
47122 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47123 r=`${PWD_COMMAND}`; export r; \
47124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47125 $(NORMAL_TARGET_EXPORTS) \
47126 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
47127 for flag in $(EXTRA_TARGET_FLAGS); do \
47128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47129 done; \
47130 (cd $(TARGET_SUBDIR)/libgloss && \
47131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47133 "RANLIB=$${RANLIB}" \
47134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47135 dvi) \
47136 || exit 1
47138 @endif target-libgloss
47140 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47141 maybe-pdf-target-libgloss:
47142 @if target-libgloss
47143 maybe-pdf-target-libgloss: pdf-target-libgloss
47145 pdf-target-libgloss: \
47146 configure-target-libgloss
47147 @: $(MAKE); $(unstage)
47148 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47149 r=`${PWD_COMMAND}`; export r; \
47150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47151 $(NORMAL_TARGET_EXPORTS) \
47152 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
47153 for flag in $(EXTRA_TARGET_FLAGS); do \
47154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47155 done; \
47156 (cd $(TARGET_SUBDIR)/libgloss && \
47157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47159 "RANLIB=$${RANLIB}" \
47160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47161 pdf) \
47162 || exit 1
47164 @endif target-libgloss
47166 .PHONY: maybe-html-target-libgloss html-target-libgloss
47167 maybe-html-target-libgloss:
47168 @if target-libgloss
47169 maybe-html-target-libgloss: html-target-libgloss
47171 html-target-libgloss: \
47172 configure-target-libgloss
47173 @: $(MAKE); $(unstage)
47174 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47175 r=`${PWD_COMMAND}`; export r; \
47176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47177 $(NORMAL_TARGET_EXPORTS) \
47178 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
47179 for flag in $(EXTRA_TARGET_FLAGS); do \
47180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47181 done; \
47182 (cd $(TARGET_SUBDIR)/libgloss && \
47183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47185 "RANLIB=$${RANLIB}" \
47186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47187 html) \
47188 || exit 1
47190 @endif target-libgloss
47192 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
47193 maybe-TAGS-target-libgloss:
47194 @if target-libgloss
47195 maybe-TAGS-target-libgloss: TAGS-target-libgloss
47197 TAGS-target-libgloss: \
47198 configure-target-libgloss
47199 @: $(MAKE); $(unstage)
47200 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47201 r=`${PWD_COMMAND}`; export r; \
47202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47203 $(NORMAL_TARGET_EXPORTS) \
47204 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
47205 for flag in $(EXTRA_TARGET_FLAGS); do \
47206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47207 done; \
47208 (cd $(TARGET_SUBDIR)/libgloss && \
47209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47211 "RANLIB=$${RANLIB}" \
47212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47213 TAGS) \
47214 || exit 1
47216 @endif target-libgloss
47218 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
47219 maybe-install-info-target-libgloss:
47220 @if target-libgloss
47221 maybe-install-info-target-libgloss: install-info-target-libgloss
47223 install-info-target-libgloss: \
47224 configure-target-libgloss \
47225 info-target-libgloss
47226 @: $(MAKE); $(unstage)
47227 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47228 r=`${PWD_COMMAND}`; export r; \
47229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47230 $(NORMAL_TARGET_EXPORTS) \
47231 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
47232 for flag in $(EXTRA_TARGET_FLAGS); do \
47233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47234 done; \
47235 (cd $(TARGET_SUBDIR)/libgloss && \
47236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47238 "RANLIB=$${RANLIB}" \
47239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47240 install-info) \
47241 || exit 1
47243 @endif target-libgloss
47245 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
47246 maybe-install-pdf-target-libgloss:
47247 @if target-libgloss
47248 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
47250 install-pdf-target-libgloss: \
47251 configure-target-libgloss \
47252 pdf-target-libgloss
47253 @: $(MAKE); $(unstage)
47254 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47255 r=`${PWD_COMMAND}`; export r; \
47256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47257 $(NORMAL_TARGET_EXPORTS) \
47258 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
47259 for flag in $(EXTRA_TARGET_FLAGS); do \
47260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47261 done; \
47262 (cd $(TARGET_SUBDIR)/libgloss && \
47263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47265 "RANLIB=$${RANLIB}" \
47266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47267 install-pdf) \
47268 || exit 1
47270 @endif target-libgloss
47272 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
47273 maybe-install-html-target-libgloss:
47274 @if target-libgloss
47275 maybe-install-html-target-libgloss: install-html-target-libgloss
47277 install-html-target-libgloss: \
47278 configure-target-libgloss \
47279 html-target-libgloss
47280 @: $(MAKE); $(unstage)
47281 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47282 r=`${PWD_COMMAND}`; export r; \
47283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47284 $(NORMAL_TARGET_EXPORTS) \
47285 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
47286 for flag in $(EXTRA_TARGET_FLAGS); do \
47287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47288 done; \
47289 (cd $(TARGET_SUBDIR)/libgloss && \
47290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47292 "RANLIB=$${RANLIB}" \
47293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47294 install-html) \
47295 || exit 1
47297 @endif target-libgloss
47299 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
47300 maybe-installcheck-target-libgloss:
47301 @if target-libgloss
47302 maybe-installcheck-target-libgloss: installcheck-target-libgloss
47304 installcheck-target-libgloss: \
47305 configure-target-libgloss
47306 @: $(MAKE); $(unstage)
47307 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47308 r=`${PWD_COMMAND}`; export r; \
47309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47310 $(NORMAL_TARGET_EXPORTS) \
47311 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
47312 for flag in $(EXTRA_TARGET_FLAGS); do \
47313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47314 done; \
47315 (cd $(TARGET_SUBDIR)/libgloss && \
47316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47318 "RANLIB=$${RANLIB}" \
47319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47320 installcheck) \
47321 || exit 1
47323 @endif target-libgloss
47325 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
47326 maybe-mostlyclean-target-libgloss:
47327 @if target-libgloss
47328 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
47330 mostlyclean-target-libgloss:
47331 @: $(MAKE); $(unstage)
47332 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47333 r=`${PWD_COMMAND}`; export r; \
47334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47335 $(NORMAL_TARGET_EXPORTS) \
47336 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
47337 for flag in $(EXTRA_TARGET_FLAGS); do \
47338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47339 done; \
47340 (cd $(TARGET_SUBDIR)/libgloss && \
47341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47343 "RANLIB=$${RANLIB}" \
47344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47345 mostlyclean) \
47346 || exit 1
47348 @endif target-libgloss
47350 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
47351 maybe-clean-target-libgloss:
47352 @if target-libgloss
47353 maybe-clean-target-libgloss: clean-target-libgloss
47355 clean-target-libgloss:
47356 @: $(MAKE); $(unstage)
47357 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47358 r=`${PWD_COMMAND}`; export r; \
47359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47360 $(NORMAL_TARGET_EXPORTS) \
47361 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
47362 for flag in $(EXTRA_TARGET_FLAGS); do \
47363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47364 done; \
47365 (cd $(TARGET_SUBDIR)/libgloss && \
47366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47368 "RANLIB=$${RANLIB}" \
47369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47370 clean) \
47371 || exit 1
47373 @endif target-libgloss
47375 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
47376 maybe-distclean-target-libgloss:
47377 @if target-libgloss
47378 maybe-distclean-target-libgloss: distclean-target-libgloss
47380 distclean-target-libgloss:
47381 @: $(MAKE); $(unstage)
47382 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47383 r=`${PWD_COMMAND}`; export r; \
47384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47385 $(NORMAL_TARGET_EXPORTS) \
47386 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
47387 for flag in $(EXTRA_TARGET_FLAGS); do \
47388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47389 done; \
47390 (cd $(TARGET_SUBDIR)/libgloss && \
47391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47393 "RANLIB=$${RANLIB}" \
47394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47395 distclean) \
47396 || exit 1
47398 @endif target-libgloss
47400 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
47401 maybe-maintainer-clean-target-libgloss:
47402 @if target-libgloss
47403 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
47405 maintainer-clean-target-libgloss:
47406 @: $(MAKE); $(unstage)
47407 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47408 r=`${PWD_COMMAND}`; export r; \
47409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47410 $(NORMAL_TARGET_EXPORTS) \
47411 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
47412 for flag in $(EXTRA_TARGET_FLAGS); do \
47413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47414 done; \
47415 (cd $(TARGET_SUBDIR)/libgloss && \
47416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47418 "RANLIB=$${RANLIB}" \
47419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47420 maintainer-clean) \
47421 || exit 1
47423 @endif target-libgloss
47429 .PHONY: configure-target-libffi maybe-configure-target-libffi
47430 maybe-configure-target-libffi:
47431 @if gcc-bootstrap
47432 configure-target-libffi: stage_current
47433 @endif gcc-bootstrap
47434 @if target-libffi
47435 maybe-configure-target-libffi: configure-target-libffi
47436 configure-target-libffi:
47437 @: $(MAKE); $(unstage)
47438 @r=`${PWD_COMMAND}`; export r; \
47439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47440 echo "Checking multilib configuration for libffi..."; \
47441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47442 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
47443 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
47444 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
47445 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
47446 else \
47447 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
47448 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47449 fi; \
47450 else \
47451 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47452 fi; \
47453 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
47454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47455 $(NORMAL_TARGET_EXPORTS) \
47456 echo Configuring in $(TARGET_SUBDIR)/libffi; \
47457 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
47458 case $(srcdir) in \
47459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47460 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
47461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47462 esac; \
47463 module_srcdir=libffi; \
47464 rm -f no-such-file || : ; \
47465 CONFIG_SITE=no-such-file $(SHELL) \
47466 $$s/$$module_srcdir/configure \
47467 --srcdir=$${topdir}/$$module_srcdir \
47468 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47469 --target=${target_alias} \
47470 || exit 1
47471 @endif target-libffi
47477 .PHONY: all-target-libffi maybe-all-target-libffi
47478 maybe-all-target-libffi:
47479 @if gcc-bootstrap
47480 all-target-libffi: stage_current
47481 @endif gcc-bootstrap
47482 @if target-libffi
47483 TARGET-target-libffi=all
47484 maybe-all-target-libffi: all-target-libffi
47485 all-target-libffi: configure-target-libffi
47486 @: $(MAKE); $(unstage)
47487 @r=`${PWD_COMMAND}`; export r; \
47488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47489 $(NORMAL_TARGET_EXPORTS) \
47490 (cd $(TARGET_SUBDIR)/libffi && \
47491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47492 $(TARGET-target-libffi))
47493 @endif target-libffi
47499 .PHONY: check-target-libffi maybe-check-target-libffi
47500 maybe-check-target-libffi:
47501 @if target-libffi
47502 maybe-check-target-libffi: check-target-libffi
47504 check-target-libffi:
47505 @: $(MAKE); $(unstage)
47506 @r=`${PWD_COMMAND}`; export r; \
47507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47508 $(NORMAL_TARGET_EXPORTS) \
47509 (cd $(TARGET_SUBDIR)/libffi && \
47510 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47512 @endif target-libffi
47514 .PHONY: install-target-libffi maybe-install-target-libffi
47515 maybe-install-target-libffi:
47516 @if target-libffi
47517 maybe-install-target-libffi: install-target-libffi
47519 # Dummy target for uninstallable.
47520 install-target-libffi:
47522 @endif target-libffi
47524 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
47525 maybe-install-strip-target-libffi:
47526 @if target-libffi
47527 maybe-install-strip-target-libffi: install-strip-target-libffi
47529 # Dummy target for uninstallable.
47530 install-strip-target-libffi:
47532 @endif target-libffi
47534 # Other targets (info, dvi, pdf, etc.)
47536 .PHONY: maybe-info-target-libffi info-target-libffi
47537 maybe-info-target-libffi:
47538 @if target-libffi
47539 maybe-info-target-libffi: info-target-libffi
47541 info-target-libffi: \
47542 configure-target-libffi
47543 @: $(MAKE); $(unstage)
47544 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47562 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
47563 maybe-dvi-target-libffi:
47564 @if target-libffi
47565 maybe-dvi-target-libffi: dvi-target-libffi
47567 dvi-target-libffi: \
47568 configure-target-libffi
47569 @: $(MAKE); $(unstage)
47570 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47588 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
47589 maybe-pdf-target-libffi:
47590 @if target-libffi
47591 maybe-pdf-target-libffi: pdf-target-libffi
47593 pdf-target-libffi: \
47594 configure-target-libffi
47595 @: $(MAKE); $(unstage)
47596 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47614 .PHONY: maybe-html-target-libffi html-target-libffi
47615 maybe-html-target-libffi:
47616 @if target-libffi
47617 maybe-html-target-libffi: html-target-libffi
47619 html-target-libffi: \
47620 configure-target-libffi
47621 @: $(MAKE); $(unstage)
47622 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47640 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
47641 maybe-TAGS-target-libffi:
47642 @if target-libffi
47643 maybe-TAGS-target-libffi: TAGS-target-libffi
47645 TAGS-target-libffi: \
47646 configure-target-libffi
47647 @: $(MAKE); $(unstage)
47648 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47666 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
47667 maybe-install-info-target-libffi:
47668 @if target-libffi
47669 maybe-install-info-target-libffi: install-info-target-libffi
47671 install-info-target-libffi: \
47672 configure-target-libffi \
47673 info-target-libffi
47674 @: $(MAKE); $(unstage)
47675 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47693 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
47694 maybe-install-pdf-target-libffi:
47695 @if target-libffi
47696 maybe-install-pdf-target-libffi: install-pdf-target-libffi
47698 install-pdf-target-libffi: \
47699 configure-target-libffi \
47700 pdf-target-libffi
47701 @: $(MAKE); $(unstage)
47702 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47720 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
47721 maybe-install-html-target-libffi:
47722 @if target-libffi
47723 maybe-install-html-target-libffi: install-html-target-libffi
47725 install-html-target-libffi: \
47726 configure-target-libffi \
47727 html-target-libffi
47728 @: $(MAKE); $(unstage)
47729 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47747 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
47748 maybe-installcheck-target-libffi:
47749 @if target-libffi
47750 maybe-installcheck-target-libffi: installcheck-target-libffi
47752 installcheck-target-libffi: \
47753 configure-target-libffi
47754 @: $(MAKE); $(unstage)
47755 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47773 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
47774 maybe-mostlyclean-target-libffi:
47775 @if target-libffi
47776 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
47778 mostlyclean-target-libffi:
47779 @: $(MAKE); $(unstage)
47780 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47798 .PHONY: maybe-clean-target-libffi clean-target-libffi
47799 maybe-clean-target-libffi:
47800 @if target-libffi
47801 maybe-clean-target-libffi: clean-target-libffi
47803 clean-target-libffi:
47804 @: $(MAKE); $(unstage)
47805 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47823 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
47824 maybe-distclean-target-libffi:
47825 @if target-libffi
47826 maybe-distclean-target-libffi: distclean-target-libffi
47828 distclean-target-libffi:
47829 @: $(MAKE); $(unstage)
47830 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47848 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
47849 maybe-maintainer-clean-target-libffi:
47850 @if target-libffi
47851 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
47853 maintainer-clean-target-libffi:
47854 @: $(MAKE); $(unstage)
47855 @[ -f $(TARGET_SUBDIR)/libffi/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)/libffi"; \
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)/libffi && \
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-libffi
47874 .PHONY: configure-target-zlib maybe-configure-target-zlib
47875 maybe-configure-target-zlib:
47876 @if gcc-bootstrap
47877 configure-target-zlib: stage_current
47878 @endif gcc-bootstrap
47879 @if target-zlib
47880 maybe-configure-target-zlib: configure-target-zlib
47881 configure-target-zlib:
47882 @: $(MAKE); $(unstage)
47883 @r=`${PWD_COMMAND}`; export r; \
47884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47885 echo "Checking multilib configuration for zlib..."; \
47886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
47887 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
47888 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
47889 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
47890 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
47891 else \
47892 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
47893 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
47894 fi; \
47895 else \
47896 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
47897 fi; \
47898 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
47899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
47900 $(NORMAL_TARGET_EXPORTS) \
47901 echo Configuring in $(TARGET_SUBDIR)/zlib; \
47902 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
47903 case $(srcdir) in \
47904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47905 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
47906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47907 esac; \
47908 module_srcdir=zlib; \
47909 rm -f no-such-file || : ; \
47910 CONFIG_SITE=no-such-file $(SHELL) \
47911 $$s/$$module_srcdir/configure \
47912 --srcdir=$${topdir}/$$module_srcdir \
47913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47914 --target=${target_alias} \
47915 || exit 1
47916 @endif target-zlib
47922 .PHONY: all-target-zlib maybe-all-target-zlib
47923 maybe-all-target-zlib:
47924 @if gcc-bootstrap
47925 all-target-zlib: stage_current
47926 @endif gcc-bootstrap
47927 @if target-zlib
47928 TARGET-target-zlib=all
47929 maybe-all-target-zlib: all-target-zlib
47930 all-target-zlib: configure-target-zlib
47931 @: $(MAKE); $(unstage)
47932 @r=`${PWD_COMMAND}`; export r; \
47933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47934 $(NORMAL_TARGET_EXPORTS) \
47935 (cd $(TARGET_SUBDIR)/zlib && \
47936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47937 $(TARGET-target-zlib))
47938 @endif target-zlib
47944 .PHONY: check-target-zlib maybe-check-target-zlib
47945 maybe-check-target-zlib:
47946 @if target-zlib
47947 maybe-check-target-zlib: check-target-zlib
47949 check-target-zlib:
47950 @: $(MAKE); $(unstage)
47951 @r=`${PWD_COMMAND}`; export r; \
47952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47953 $(NORMAL_TARGET_EXPORTS) \
47954 (cd $(TARGET_SUBDIR)/zlib && \
47955 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47957 @endif target-zlib
47959 .PHONY: install-target-zlib maybe-install-target-zlib
47960 maybe-install-target-zlib:
47961 @if target-zlib
47962 maybe-install-target-zlib: install-target-zlib
47964 install-target-zlib: installdirs
47965 @: $(MAKE); $(unstage)
47966 @r=`${PWD_COMMAND}`; export r; \
47967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47968 $(NORMAL_TARGET_EXPORTS) \
47969 (cd $(TARGET_SUBDIR)/zlib && \
47970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47972 @endif target-zlib
47974 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
47975 maybe-install-strip-target-zlib:
47976 @if target-zlib
47977 maybe-install-strip-target-zlib: install-strip-target-zlib
47979 install-strip-target-zlib: installdirs
47980 @: $(MAKE); $(unstage)
47981 @r=`${PWD_COMMAND}`; export r; \
47982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47983 $(NORMAL_TARGET_EXPORTS) \
47984 (cd $(TARGET_SUBDIR)/zlib && \
47985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47987 @endif target-zlib
47989 # Other targets (info, dvi, pdf, etc.)
47991 .PHONY: maybe-info-target-zlib info-target-zlib
47992 maybe-info-target-zlib:
47993 @if target-zlib
47994 maybe-info-target-zlib: info-target-zlib
47996 info-target-zlib: \
47997 configure-target-zlib
47998 @: $(MAKE); $(unstage)
47999 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48000 r=`${PWD_COMMAND}`; export r; \
48001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48002 $(NORMAL_TARGET_EXPORTS) \
48003 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
48004 for flag in $(EXTRA_TARGET_FLAGS); do \
48005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48006 done; \
48007 (cd $(TARGET_SUBDIR)/zlib && \
48008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48010 "RANLIB=$${RANLIB}" \
48011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48012 info) \
48013 || exit 1
48015 @endif target-zlib
48017 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
48018 maybe-dvi-target-zlib:
48019 @if target-zlib
48020 maybe-dvi-target-zlib: dvi-target-zlib
48022 dvi-target-zlib: \
48023 configure-target-zlib
48024 @: $(MAKE); $(unstage)
48025 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48026 r=`${PWD_COMMAND}`; export r; \
48027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48028 $(NORMAL_TARGET_EXPORTS) \
48029 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
48030 for flag in $(EXTRA_TARGET_FLAGS); do \
48031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48032 done; \
48033 (cd $(TARGET_SUBDIR)/zlib && \
48034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48036 "RANLIB=$${RANLIB}" \
48037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48038 dvi) \
48039 || exit 1
48041 @endif target-zlib
48043 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
48044 maybe-pdf-target-zlib:
48045 @if target-zlib
48046 maybe-pdf-target-zlib: pdf-target-zlib
48048 pdf-target-zlib: \
48049 configure-target-zlib
48050 @: $(MAKE); $(unstage)
48051 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48052 r=`${PWD_COMMAND}`; export r; \
48053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48054 $(NORMAL_TARGET_EXPORTS) \
48055 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
48056 for flag in $(EXTRA_TARGET_FLAGS); do \
48057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48058 done; \
48059 (cd $(TARGET_SUBDIR)/zlib && \
48060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48062 "RANLIB=$${RANLIB}" \
48063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48064 pdf) \
48065 || exit 1
48067 @endif target-zlib
48069 .PHONY: maybe-html-target-zlib html-target-zlib
48070 maybe-html-target-zlib:
48071 @if target-zlib
48072 maybe-html-target-zlib: html-target-zlib
48074 html-target-zlib: \
48075 configure-target-zlib
48076 @: $(MAKE); $(unstage)
48077 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48078 r=`${PWD_COMMAND}`; export r; \
48079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48080 $(NORMAL_TARGET_EXPORTS) \
48081 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
48082 for flag in $(EXTRA_TARGET_FLAGS); do \
48083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48084 done; \
48085 (cd $(TARGET_SUBDIR)/zlib && \
48086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48088 "RANLIB=$${RANLIB}" \
48089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48090 html) \
48091 || exit 1
48093 @endif target-zlib
48095 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
48096 maybe-TAGS-target-zlib:
48097 @if target-zlib
48098 maybe-TAGS-target-zlib: TAGS-target-zlib
48100 TAGS-target-zlib: \
48101 configure-target-zlib
48102 @: $(MAKE); $(unstage)
48103 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48104 r=`${PWD_COMMAND}`; export r; \
48105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48106 $(NORMAL_TARGET_EXPORTS) \
48107 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
48108 for flag in $(EXTRA_TARGET_FLAGS); do \
48109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48110 done; \
48111 (cd $(TARGET_SUBDIR)/zlib && \
48112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48114 "RANLIB=$${RANLIB}" \
48115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48116 TAGS) \
48117 || exit 1
48119 @endif target-zlib
48121 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
48122 maybe-install-info-target-zlib:
48123 @if target-zlib
48124 maybe-install-info-target-zlib: install-info-target-zlib
48126 install-info-target-zlib: \
48127 configure-target-zlib \
48128 info-target-zlib
48129 @: $(MAKE); $(unstage)
48130 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48131 r=`${PWD_COMMAND}`; export r; \
48132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48133 $(NORMAL_TARGET_EXPORTS) \
48134 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
48135 for flag in $(EXTRA_TARGET_FLAGS); do \
48136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48137 done; \
48138 (cd $(TARGET_SUBDIR)/zlib && \
48139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48141 "RANLIB=$${RANLIB}" \
48142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48143 install-info) \
48144 || exit 1
48146 @endif target-zlib
48148 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
48149 maybe-install-pdf-target-zlib:
48150 @if target-zlib
48151 maybe-install-pdf-target-zlib: install-pdf-target-zlib
48153 install-pdf-target-zlib: \
48154 configure-target-zlib \
48155 pdf-target-zlib
48156 @: $(MAKE); $(unstage)
48157 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48158 r=`${PWD_COMMAND}`; export r; \
48159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48160 $(NORMAL_TARGET_EXPORTS) \
48161 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
48162 for flag in $(EXTRA_TARGET_FLAGS); do \
48163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48164 done; \
48165 (cd $(TARGET_SUBDIR)/zlib && \
48166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48168 "RANLIB=$${RANLIB}" \
48169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48170 install-pdf) \
48171 || exit 1
48173 @endif target-zlib
48175 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
48176 maybe-install-html-target-zlib:
48177 @if target-zlib
48178 maybe-install-html-target-zlib: install-html-target-zlib
48180 install-html-target-zlib: \
48181 configure-target-zlib \
48182 html-target-zlib
48183 @: $(MAKE); $(unstage)
48184 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48185 r=`${PWD_COMMAND}`; export r; \
48186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48187 $(NORMAL_TARGET_EXPORTS) \
48188 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
48189 for flag in $(EXTRA_TARGET_FLAGS); do \
48190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48191 done; \
48192 (cd $(TARGET_SUBDIR)/zlib && \
48193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48195 "RANLIB=$${RANLIB}" \
48196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48197 install-html) \
48198 || exit 1
48200 @endif target-zlib
48202 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
48203 maybe-installcheck-target-zlib:
48204 @if target-zlib
48205 maybe-installcheck-target-zlib: installcheck-target-zlib
48207 installcheck-target-zlib: \
48208 configure-target-zlib
48209 @: $(MAKE); $(unstage)
48210 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48211 r=`${PWD_COMMAND}`; export r; \
48212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48213 $(NORMAL_TARGET_EXPORTS) \
48214 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
48215 for flag in $(EXTRA_TARGET_FLAGS); do \
48216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48217 done; \
48218 (cd $(TARGET_SUBDIR)/zlib && \
48219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48221 "RANLIB=$${RANLIB}" \
48222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48223 installcheck) \
48224 || exit 1
48226 @endif target-zlib
48228 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
48229 maybe-mostlyclean-target-zlib:
48230 @if target-zlib
48231 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
48233 mostlyclean-target-zlib:
48234 @: $(MAKE); $(unstage)
48235 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48236 r=`${PWD_COMMAND}`; export r; \
48237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48238 $(NORMAL_TARGET_EXPORTS) \
48239 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
48240 for flag in $(EXTRA_TARGET_FLAGS); do \
48241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48242 done; \
48243 (cd $(TARGET_SUBDIR)/zlib && \
48244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48246 "RANLIB=$${RANLIB}" \
48247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48248 mostlyclean) \
48249 || exit 1
48251 @endif target-zlib
48253 .PHONY: maybe-clean-target-zlib clean-target-zlib
48254 maybe-clean-target-zlib:
48255 @if target-zlib
48256 maybe-clean-target-zlib: clean-target-zlib
48258 clean-target-zlib:
48259 @: $(MAKE); $(unstage)
48260 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48261 r=`${PWD_COMMAND}`; export r; \
48262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48263 $(NORMAL_TARGET_EXPORTS) \
48264 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
48265 for flag in $(EXTRA_TARGET_FLAGS); do \
48266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48267 done; \
48268 (cd $(TARGET_SUBDIR)/zlib && \
48269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48271 "RANLIB=$${RANLIB}" \
48272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48273 clean) \
48274 || exit 1
48276 @endif target-zlib
48278 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
48279 maybe-distclean-target-zlib:
48280 @if target-zlib
48281 maybe-distclean-target-zlib: distclean-target-zlib
48283 distclean-target-zlib:
48284 @: $(MAKE); $(unstage)
48285 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48286 r=`${PWD_COMMAND}`; export r; \
48287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48288 $(NORMAL_TARGET_EXPORTS) \
48289 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
48290 for flag in $(EXTRA_TARGET_FLAGS); do \
48291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48292 done; \
48293 (cd $(TARGET_SUBDIR)/zlib && \
48294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48296 "RANLIB=$${RANLIB}" \
48297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48298 distclean) \
48299 || exit 1
48301 @endif target-zlib
48303 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
48304 maybe-maintainer-clean-target-zlib:
48305 @if target-zlib
48306 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
48308 maintainer-clean-target-zlib:
48309 @: $(MAKE); $(unstage)
48310 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48311 r=`${PWD_COMMAND}`; export r; \
48312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48313 $(NORMAL_TARGET_EXPORTS) \
48314 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
48315 for flag in $(EXTRA_TARGET_FLAGS); do \
48316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48317 done; \
48318 (cd $(TARGET_SUBDIR)/zlib && \
48319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48321 "RANLIB=$${RANLIB}" \
48322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48323 maintainer-clean) \
48324 || exit 1
48326 @endif target-zlib
48332 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
48333 maybe-configure-target-boehm-gc:
48334 @if gcc-bootstrap
48335 configure-target-boehm-gc: stage_current
48336 @endif gcc-bootstrap
48337 @if target-boehm-gc
48338 maybe-configure-target-boehm-gc: configure-target-boehm-gc
48339 configure-target-boehm-gc:
48340 @: $(MAKE); $(unstage)
48341 @r=`${PWD_COMMAND}`; export r; \
48342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48343 echo "Checking multilib configuration for boehm-gc..."; \
48344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
48345 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null; \
48346 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48347 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48348 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
48349 else \
48350 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
48351 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48352 fi; \
48353 else \
48354 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48355 fi; \
48356 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
48357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
48358 $(NORMAL_TARGET_EXPORTS) \
48359 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
48360 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
48361 case $(srcdir) in \
48362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48363 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
48364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48365 esac; \
48366 module_srcdir=boehm-gc; \
48367 rm -f no-such-file || : ; \
48368 CONFIG_SITE=no-such-file $(SHELL) \
48369 $$s/$$module_srcdir/configure \
48370 --srcdir=$${topdir}/$$module_srcdir \
48371 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48372 --target=${target_alias} \
48373 || exit 1
48374 @endif target-boehm-gc
48380 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
48381 maybe-all-target-boehm-gc:
48382 @if gcc-bootstrap
48383 all-target-boehm-gc: stage_current
48384 @endif gcc-bootstrap
48385 @if target-boehm-gc
48386 TARGET-target-boehm-gc=all
48387 maybe-all-target-boehm-gc: all-target-boehm-gc
48388 all-target-boehm-gc: configure-target-boehm-gc
48389 @: $(MAKE); $(unstage)
48390 @r=`${PWD_COMMAND}`; export r; \
48391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48392 $(NORMAL_TARGET_EXPORTS) \
48393 (cd $(TARGET_SUBDIR)/boehm-gc && \
48394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48395 $(TARGET-target-boehm-gc))
48396 @endif target-boehm-gc
48402 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
48403 maybe-check-target-boehm-gc:
48404 @if target-boehm-gc
48405 maybe-check-target-boehm-gc: check-target-boehm-gc
48407 check-target-boehm-gc:
48408 @: $(MAKE); $(unstage)
48409 @r=`${PWD_COMMAND}`; export r; \
48410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48411 $(NORMAL_TARGET_EXPORTS) \
48412 (cd $(TARGET_SUBDIR)/boehm-gc && \
48413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48415 @endif target-boehm-gc
48417 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
48418 maybe-install-target-boehm-gc:
48419 @if target-boehm-gc
48420 maybe-install-target-boehm-gc: install-target-boehm-gc
48422 install-target-boehm-gc: installdirs
48423 @: $(MAKE); $(unstage)
48424 @r=`${PWD_COMMAND}`; export r; \
48425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48426 $(NORMAL_TARGET_EXPORTS) \
48427 (cd $(TARGET_SUBDIR)/boehm-gc && \
48428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48430 @endif target-boehm-gc
48432 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
48433 maybe-install-strip-target-boehm-gc:
48434 @if target-boehm-gc
48435 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
48437 install-strip-target-boehm-gc: installdirs
48438 @: $(MAKE); $(unstage)
48439 @r=`${PWD_COMMAND}`; export r; \
48440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48441 $(NORMAL_TARGET_EXPORTS) \
48442 (cd $(TARGET_SUBDIR)/boehm-gc && \
48443 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48445 @endif target-boehm-gc
48447 # Other targets (info, dvi, pdf, etc.)
48449 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
48450 maybe-info-target-boehm-gc:
48451 @if target-boehm-gc
48452 maybe-info-target-boehm-gc: info-target-boehm-gc
48454 info-target-boehm-gc: \
48455 configure-target-boehm-gc
48456 @: $(MAKE); $(unstage)
48457 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48458 r=`${PWD_COMMAND}`; export r; \
48459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48460 $(NORMAL_TARGET_EXPORTS) \
48461 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc"; \
48462 for flag in $(EXTRA_TARGET_FLAGS); do \
48463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48464 done; \
48465 (cd $(TARGET_SUBDIR)/boehm-gc && \
48466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48468 "RANLIB=$${RANLIB}" \
48469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48470 info) \
48471 || exit 1
48473 @endif target-boehm-gc
48475 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
48476 maybe-dvi-target-boehm-gc:
48477 @if target-boehm-gc
48478 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
48480 dvi-target-boehm-gc: \
48481 configure-target-boehm-gc
48482 @: $(MAKE); $(unstage)
48483 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48484 r=`${PWD_COMMAND}`; export r; \
48485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48486 $(NORMAL_TARGET_EXPORTS) \
48487 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc"; \
48488 for flag in $(EXTRA_TARGET_FLAGS); do \
48489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48490 done; \
48491 (cd $(TARGET_SUBDIR)/boehm-gc && \
48492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48494 "RANLIB=$${RANLIB}" \
48495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48496 dvi) \
48497 || exit 1
48499 @endif target-boehm-gc
48501 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
48502 maybe-pdf-target-boehm-gc:
48503 @if target-boehm-gc
48504 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
48506 pdf-target-boehm-gc: \
48507 configure-target-boehm-gc
48508 @: $(MAKE); $(unstage)
48509 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48510 r=`${PWD_COMMAND}`; export r; \
48511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48512 $(NORMAL_TARGET_EXPORTS) \
48513 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc"; \
48514 for flag in $(EXTRA_TARGET_FLAGS); do \
48515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48516 done; \
48517 (cd $(TARGET_SUBDIR)/boehm-gc && \
48518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48520 "RANLIB=$${RANLIB}" \
48521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48522 pdf) \
48523 || exit 1
48525 @endif target-boehm-gc
48527 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
48528 maybe-html-target-boehm-gc:
48529 @if target-boehm-gc
48530 maybe-html-target-boehm-gc: html-target-boehm-gc
48532 html-target-boehm-gc: \
48533 configure-target-boehm-gc
48534 @: $(MAKE); $(unstage)
48535 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48536 r=`${PWD_COMMAND}`; export r; \
48537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48538 $(NORMAL_TARGET_EXPORTS) \
48539 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc"; \
48540 for flag in $(EXTRA_TARGET_FLAGS); do \
48541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48542 done; \
48543 (cd $(TARGET_SUBDIR)/boehm-gc && \
48544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48546 "RANLIB=$${RANLIB}" \
48547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48548 html) \
48549 || exit 1
48551 @endif target-boehm-gc
48553 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
48554 maybe-TAGS-target-boehm-gc:
48555 @if target-boehm-gc
48556 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
48558 TAGS-target-boehm-gc: \
48559 configure-target-boehm-gc
48560 @: $(MAKE); $(unstage)
48561 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48562 r=`${PWD_COMMAND}`; export r; \
48563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48564 $(NORMAL_TARGET_EXPORTS) \
48565 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc"; \
48566 for flag in $(EXTRA_TARGET_FLAGS); do \
48567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48568 done; \
48569 (cd $(TARGET_SUBDIR)/boehm-gc && \
48570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48572 "RANLIB=$${RANLIB}" \
48573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48574 TAGS) \
48575 || exit 1
48577 @endif target-boehm-gc
48579 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
48580 maybe-install-info-target-boehm-gc:
48581 @if target-boehm-gc
48582 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
48584 install-info-target-boehm-gc: \
48585 configure-target-boehm-gc \
48586 info-target-boehm-gc
48587 @: $(MAKE); $(unstage)
48588 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48589 r=`${PWD_COMMAND}`; export r; \
48590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48591 $(NORMAL_TARGET_EXPORTS) \
48592 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc"; \
48593 for flag in $(EXTRA_TARGET_FLAGS); do \
48594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48595 done; \
48596 (cd $(TARGET_SUBDIR)/boehm-gc && \
48597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48599 "RANLIB=$${RANLIB}" \
48600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48601 install-info) \
48602 || exit 1
48604 @endif target-boehm-gc
48606 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
48607 maybe-install-pdf-target-boehm-gc:
48608 @if target-boehm-gc
48609 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
48611 install-pdf-target-boehm-gc: \
48612 configure-target-boehm-gc \
48613 pdf-target-boehm-gc
48614 @: $(MAKE); $(unstage)
48615 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48616 r=`${PWD_COMMAND}`; export r; \
48617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48618 $(NORMAL_TARGET_EXPORTS) \
48619 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc"; \
48620 for flag in $(EXTRA_TARGET_FLAGS); do \
48621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48622 done; \
48623 (cd $(TARGET_SUBDIR)/boehm-gc && \
48624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48626 "RANLIB=$${RANLIB}" \
48627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48628 install-pdf) \
48629 || exit 1
48631 @endif target-boehm-gc
48633 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
48634 maybe-install-html-target-boehm-gc:
48635 @if target-boehm-gc
48636 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
48638 install-html-target-boehm-gc: \
48639 configure-target-boehm-gc \
48640 html-target-boehm-gc
48641 @: $(MAKE); $(unstage)
48642 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48643 r=`${PWD_COMMAND}`; export r; \
48644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48645 $(NORMAL_TARGET_EXPORTS) \
48646 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc"; \
48647 for flag in $(EXTRA_TARGET_FLAGS); do \
48648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48649 done; \
48650 (cd $(TARGET_SUBDIR)/boehm-gc && \
48651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48653 "RANLIB=$${RANLIB}" \
48654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48655 install-html) \
48656 || exit 1
48658 @endif target-boehm-gc
48660 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
48661 maybe-installcheck-target-boehm-gc:
48662 @if target-boehm-gc
48663 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
48665 installcheck-target-boehm-gc: \
48666 configure-target-boehm-gc
48667 @: $(MAKE); $(unstage)
48668 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48669 r=`${PWD_COMMAND}`; export r; \
48670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48671 $(NORMAL_TARGET_EXPORTS) \
48672 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc"; \
48673 for flag in $(EXTRA_TARGET_FLAGS); do \
48674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48675 done; \
48676 (cd $(TARGET_SUBDIR)/boehm-gc && \
48677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48679 "RANLIB=$${RANLIB}" \
48680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48681 installcheck) \
48682 || exit 1
48684 @endif target-boehm-gc
48686 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
48687 maybe-mostlyclean-target-boehm-gc:
48688 @if target-boehm-gc
48689 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
48691 mostlyclean-target-boehm-gc:
48692 @: $(MAKE); $(unstage)
48693 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48694 r=`${PWD_COMMAND}`; export r; \
48695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48696 $(NORMAL_TARGET_EXPORTS) \
48697 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc"; \
48698 for flag in $(EXTRA_TARGET_FLAGS); do \
48699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48700 done; \
48701 (cd $(TARGET_SUBDIR)/boehm-gc && \
48702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48704 "RANLIB=$${RANLIB}" \
48705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48706 mostlyclean) \
48707 || exit 1
48709 @endif target-boehm-gc
48711 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
48712 maybe-clean-target-boehm-gc:
48713 @if target-boehm-gc
48714 maybe-clean-target-boehm-gc: clean-target-boehm-gc
48716 clean-target-boehm-gc:
48717 @: $(MAKE); $(unstage)
48718 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48719 r=`${PWD_COMMAND}`; export r; \
48720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48721 $(NORMAL_TARGET_EXPORTS) \
48722 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc"; \
48723 for flag in $(EXTRA_TARGET_FLAGS); do \
48724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48725 done; \
48726 (cd $(TARGET_SUBDIR)/boehm-gc && \
48727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48729 "RANLIB=$${RANLIB}" \
48730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48731 clean) \
48732 || exit 1
48734 @endif target-boehm-gc
48736 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
48737 maybe-distclean-target-boehm-gc:
48738 @if target-boehm-gc
48739 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
48741 distclean-target-boehm-gc:
48742 @: $(MAKE); $(unstage)
48743 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48744 r=`${PWD_COMMAND}`; export r; \
48745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48746 $(NORMAL_TARGET_EXPORTS) \
48747 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc"; \
48748 for flag in $(EXTRA_TARGET_FLAGS); do \
48749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48750 done; \
48751 (cd $(TARGET_SUBDIR)/boehm-gc && \
48752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48754 "RANLIB=$${RANLIB}" \
48755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48756 distclean) \
48757 || exit 1
48759 @endif target-boehm-gc
48761 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
48762 maybe-maintainer-clean-target-boehm-gc:
48763 @if target-boehm-gc
48764 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
48766 maintainer-clean-target-boehm-gc:
48767 @: $(MAKE); $(unstage)
48768 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48769 r=`${PWD_COMMAND}`; export r; \
48770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48771 $(NORMAL_TARGET_EXPORTS) \
48772 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc"; \
48773 for flag in $(EXTRA_TARGET_FLAGS); do \
48774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48775 done; \
48776 (cd $(TARGET_SUBDIR)/boehm-gc && \
48777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48779 "RANLIB=$${RANLIB}" \
48780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48781 maintainer-clean) \
48782 || exit 1
48784 @endif target-boehm-gc
48790 .PHONY: configure-target-rda maybe-configure-target-rda
48791 maybe-configure-target-rda:
48792 @if gcc-bootstrap
48793 configure-target-rda: stage_current
48794 @endif gcc-bootstrap
48795 @if target-rda
48796 maybe-configure-target-rda: configure-target-rda
48797 configure-target-rda:
48798 @: $(MAKE); $(unstage)
48799 @r=`${PWD_COMMAND}`; export r; \
48800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48801 echo "Checking multilib configuration for rda..."; \
48802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
48803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
48804 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
48805 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
48806 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
48807 else \
48808 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
48809 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
48810 fi; \
48811 else \
48812 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
48813 fi; \
48814 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
48815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
48816 $(NORMAL_TARGET_EXPORTS) \
48817 echo Configuring in $(TARGET_SUBDIR)/rda; \
48818 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
48819 case $(srcdir) in \
48820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48821 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
48822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48823 esac; \
48824 module_srcdir=rda; \
48825 rm -f no-such-file || : ; \
48826 CONFIG_SITE=no-such-file $(SHELL) \
48827 $$s/$$module_srcdir/configure \
48828 --srcdir=$${topdir}/$$module_srcdir \
48829 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48830 --target=${target_alias} \
48831 || exit 1
48832 @endif target-rda
48838 .PHONY: all-target-rda maybe-all-target-rda
48839 maybe-all-target-rda:
48840 @if gcc-bootstrap
48841 all-target-rda: stage_current
48842 @endif gcc-bootstrap
48843 @if target-rda
48844 TARGET-target-rda=all
48845 maybe-all-target-rda: all-target-rda
48846 all-target-rda: configure-target-rda
48847 @: $(MAKE); $(unstage)
48848 @r=`${PWD_COMMAND}`; export r; \
48849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48850 $(NORMAL_TARGET_EXPORTS) \
48851 (cd $(TARGET_SUBDIR)/rda && \
48852 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48853 $(TARGET-target-rda))
48854 @endif target-rda
48860 .PHONY: check-target-rda maybe-check-target-rda
48861 maybe-check-target-rda:
48862 @if target-rda
48863 maybe-check-target-rda: check-target-rda
48865 check-target-rda:
48866 @: $(MAKE); $(unstage)
48867 @r=`${PWD_COMMAND}`; export r; \
48868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48869 $(NORMAL_TARGET_EXPORTS) \
48870 (cd $(TARGET_SUBDIR)/rda && \
48871 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48873 @endif target-rda
48875 .PHONY: install-target-rda maybe-install-target-rda
48876 maybe-install-target-rda:
48877 @if target-rda
48878 maybe-install-target-rda: install-target-rda
48880 install-target-rda: installdirs
48881 @: $(MAKE); $(unstage)
48882 @r=`${PWD_COMMAND}`; export r; \
48883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48884 $(NORMAL_TARGET_EXPORTS) \
48885 (cd $(TARGET_SUBDIR)/rda && \
48886 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48888 @endif target-rda
48890 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
48891 maybe-install-strip-target-rda:
48892 @if target-rda
48893 maybe-install-strip-target-rda: install-strip-target-rda
48895 install-strip-target-rda: installdirs
48896 @: $(MAKE); $(unstage)
48897 @r=`${PWD_COMMAND}`; export r; \
48898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48899 $(NORMAL_TARGET_EXPORTS) \
48900 (cd $(TARGET_SUBDIR)/rda && \
48901 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48903 @endif target-rda
48905 # Other targets (info, dvi, pdf, etc.)
48907 .PHONY: maybe-info-target-rda info-target-rda
48908 maybe-info-target-rda:
48909 @if target-rda
48910 maybe-info-target-rda: info-target-rda
48912 info-target-rda: \
48913 configure-target-rda
48914 @: $(MAKE); $(unstage)
48915 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48916 r=`${PWD_COMMAND}`; export r; \
48917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48918 $(NORMAL_TARGET_EXPORTS) \
48919 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
48920 for flag in $(EXTRA_TARGET_FLAGS); do \
48921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48922 done; \
48923 (cd $(TARGET_SUBDIR)/rda && \
48924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48926 "RANLIB=$${RANLIB}" \
48927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48928 info) \
48929 || exit 1
48931 @endif target-rda
48933 .PHONY: maybe-dvi-target-rda dvi-target-rda
48934 maybe-dvi-target-rda:
48935 @if target-rda
48936 maybe-dvi-target-rda: dvi-target-rda
48938 dvi-target-rda: \
48939 configure-target-rda
48940 @: $(MAKE); $(unstage)
48941 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48942 r=`${PWD_COMMAND}`; export r; \
48943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48944 $(NORMAL_TARGET_EXPORTS) \
48945 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
48946 for flag in $(EXTRA_TARGET_FLAGS); do \
48947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48948 done; \
48949 (cd $(TARGET_SUBDIR)/rda && \
48950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48952 "RANLIB=$${RANLIB}" \
48953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48954 dvi) \
48955 || exit 1
48957 @endif target-rda
48959 .PHONY: maybe-pdf-target-rda pdf-target-rda
48960 maybe-pdf-target-rda:
48961 @if target-rda
48962 maybe-pdf-target-rda: pdf-target-rda
48964 pdf-target-rda: \
48965 configure-target-rda
48966 @: $(MAKE); $(unstage)
48967 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48968 r=`${PWD_COMMAND}`; export r; \
48969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48970 $(NORMAL_TARGET_EXPORTS) \
48971 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
48972 for flag in $(EXTRA_TARGET_FLAGS); do \
48973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48974 done; \
48975 (cd $(TARGET_SUBDIR)/rda && \
48976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48978 "RANLIB=$${RANLIB}" \
48979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48980 pdf) \
48981 || exit 1
48983 @endif target-rda
48985 .PHONY: maybe-html-target-rda html-target-rda
48986 maybe-html-target-rda:
48987 @if target-rda
48988 maybe-html-target-rda: html-target-rda
48990 html-target-rda: \
48991 configure-target-rda
48992 @: $(MAKE); $(unstage)
48993 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
48994 r=`${PWD_COMMAND}`; export r; \
48995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48996 $(NORMAL_TARGET_EXPORTS) \
48997 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
48998 for flag in $(EXTRA_TARGET_FLAGS); do \
48999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49000 done; \
49001 (cd $(TARGET_SUBDIR)/rda && \
49002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49004 "RANLIB=$${RANLIB}" \
49005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49006 html) \
49007 || exit 1
49009 @endif target-rda
49011 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49012 maybe-TAGS-target-rda:
49013 @if target-rda
49014 maybe-TAGS-target-rda: TAGS-target-rda
49016 TAGS-target-rda: \
49017 configure-target-rda
49018 @: $(MAKE); $(unstage)
49019 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49020 r=`${PWD_COMMAND}`; export r; \
49021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49022 $(NORMAL_TARGET_EXPORTS) \
49023 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49024 for flag in $(EXTRA_TARGET_FLAGS); do \
49025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49026 done; \
49027 (cd $(TARGET_SUBDIR)/rda && \
49028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49030 "RANLIB=$${RANLIB}" \
49031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49032 TAGS) \
49033 || exit 1
49035 @endif target-rda
49037 .PHONY: maybe-install-info-target-rda install-info-target-rda
49038 maybe-install-info-target-rda:
49039 @if target-rda
49040 maybe-install-info-target-rda: install-info-target-rda
49042 install-info-target-rda: \
49043 configure-target-rda \
49044 info-target-rda
49045 @: $(MAKE); $(unstage)
49046 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49047 r=`${PWD_COMMAND}`; export r; \
49048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49049 $(NORMAL_TARGET_EXPORTS) \
49050 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49051 for flag in $(EXTRA_TARGET_FLAGS); do \
49052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49053 done; \
49054 (cd $(TARGET_SUBDIR)/rda && \
49055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49057 "RANLIB=$${RANLIB}" \
49058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49059 install-info) \
49060 || exit 1
49062 @endif target-rda
49064 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49065 maybe-install-pdf-target-rda:
49066 @if target-rda
49067 maybe-install-pdf-target-rda: install-pdf-target-rda
49069 install-pdf-target-rda: \
49070 configure-target-rda \
49071 pdf-target-rda
49072 @: $(MAKE); $(unstage)
49073 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49074 r=`${PWD_COMMAND}`; export r; \
49075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49076 $(NORMAL_TARGET_EXPORTS) \
49077 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49078 for flag in $(EXTRA_TARGET_FLAGS); do \
49079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49080 done; \
49081 (cd $(TARGET_SUBDIR)/rda && \
49082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49084 "RANLIB=$${RANLIB}" \
49085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49086 install-pdf) \
49087 || exit 1
49089 @endif target-rda
49091 .PHONY: maybe-install-html-target-rda install-html-target-rda
49092 maybe-install-html-target-rda:
49093 @if target-rda
49094 maybe-install-html-target-rda: install-html-target-rda
49096 install-html-target-rda: \
49097 configure-target-rda \
49098 html-target-rda
49099 @: $(MAKE); $(unstage)
49100 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49101 r=`${PWD_COMMAND}`; export r; \
49102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49103 $(NORMAL_TARGET_EXPORTS) \
49104 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49105 for flag in $(EXTRA_TARGET_FLAGS); do \
49106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49107 done; \
49108 (cd $(TARGET_SUBDIR)/rda && \
49109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49111 "RANLIB=$${RANLIB}" \
49112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49113 install-html) \
49114 || exit 1
49116 @endif target-rda
49118 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49119 maybe-installcheck-target-rda:
49120 @if target-rda
49121 maybe-installcheck-target-rda: installcheck-target-rda
49123 installcheck-target-rda: \
49124 configure-target-rda
49125 @: $(MAKE); $(unstage)
49126 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49127 r=`${PWD_COMMAND}`; export r; \
49128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49129 $(NORMAL_TARGET_EXPORTS) \
49130 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
49131 for flag in $(EXTRA_TARGET_FLAGS); do \
49132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49133 done; \
49134 (cd $(TARGET_SUBDIR)/rda && \
49135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49137 "RANLIB=$${RANLIB}" \
49138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49139 installcheck) \
49140 || exit 1
49142 @endif target-rda
49144 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
49145 maybe-mostlyclean-target-rda:
49146 @if target-rda
49147 maybe-mostlyclean-target-rda: mostlyclean-target-rda
49149 mostlyclean-target-rda:
49150 @: $(MAKE); $(unstage)
49151 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49152 r=`${PWD_COMMAND}`; export r; \
49153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49154 $(NORMAL_TARGET_EXPORTS) \
49155 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
49156 for flag in $(EXTRA_TARGET_FLAGS); do \
49157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49158 done; \
49159 (cd $(TARGET_SUBDIR)/rda && \
49160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49162 "RANLIB=$${RANLIB}" \
49163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49164 mostlyclean) \
49165 || exit 1
49167 @endif target-rda
49169 .PHONY: maybe-clean-target-rda clean-target-rda
49170 maybe-clean-target-rda:
49171 @if target-rda
49172 maybe-clean-target-rda: clean-target-rda
49174 clean-target-rda:
49175 @: $(MAKE); $(unstage)
49176 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49177 r=`${PWD_COMMAND}`; export r; \
49178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49179 $(NORMAL_TARGET_EXPORTS) \
49180 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
49181 for flag in $(EXTRA_TARGET_FLAGS); do \
49182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49183 done; \
49184 (cd $(TARGET_SUBDIR)/rda && \
49185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49187 "RANLIB=$${RANLIB}" \
49188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49189 clean) \
49190 || exit 1
49192 @endif target-rda
49194 .PHONY: maybe-distclean-target-rda distclean-target-rda
49195 maybe-distclean-target-rda:
49196 @if target-rda
49197 maybe-distclean-target-rda: distclean-target-rda
49199 distclean-target-rda:
49200 @: $(MAKE); $(unstage)
49201 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49202 r=`${PWD_COMMAND}`; export r; \
49203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49204 $(NORMAL_TARGET_EXPORTS) \
49205 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
49206 for flag in $(EXTRA_TARGET_FLAGS); do \
49207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49208 done; \
49209 (cd $(TARGET_SUBDIR)/rda && \
49210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49212 "RANLIB=$${RANLIB}" \
49213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49214 distclean) \
49215 || exit 1
49217 @endif target-rda
49219 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
49220 maybe-maintainer-clean-target-rda:
49221 @if target-rda
49222 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
49224 maintainer-clean-target-rda:
49225 @: $(MAKE); $(unstage)
49226 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49227 r=`${PWD_COMMAND}`; export r; \
49228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49229 $(NORMAL_TARGET_EXPORTS) \
49230 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
49231 for flag in $(EXTRA_TARGET_FLAGS); do \
49232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49233 done; \
49234 (cd $(TARGET_SUBDIR)/rda && \
49235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49237 "RANLIB=$${RANLIB}" \
49238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49239 maintainer-clean) \
49240 || exit 1
49242 @endif target-rda
49248 .PHONY: configure-target-libada maybe-configure-target-libada
49249 maybe-configure-target-libada:
49250 @if gcc-bootstrap
49251 configure-target-libada: stage_current
49252 @endif gcc-bootstrap
49253 @if target-libada
49254 maybe-configure-target-libada: configure-target-libada
49255 configure-target-libada:
49256 @: $(MAKE); $(unstage)
49257 @r=`${PWD_COMMAND}`; export r; \
49258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49259 echo "Checking multilib configuration for libada..."; \
49260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49261 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
49262 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
49263 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
49264 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
49265 else \
49266 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
49267 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49268 fi; \
49269 else \
49270 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49271 fi; \
49272 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
49273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49274 $(NORMAL_TARGET_EXPORTS) \
49275 echo Configuring in $(TARGET_SUBDIR)/libada; \
49276 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
49277 case $(srcdir) in \
49278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49279 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
49280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49281 esac; \
49282 module_srcdir=libada; \
49283 rm -f no-such-file || : ; \
49284 CONFIG_SITE=no-such-file $(SHELL) \
49285 $$s/$$module_srcdir/configure \
49286 --srcdir=$${topdir}/$$module_srcdir \
49287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49288 --target=${target_alias} \
49289 || exit 1
49290 @endif target-libada
49296 .PHONY: all-target-libada maybe-all-target-libada
49297 maybe-all-target-libada:
49298 @if gcc-bootstrap
49299 all-target-libada: stage_current
49300 @endif gcc-bootstrap
49301 @if target-libada
49302 TARGET-target-libada=all
49303 maybe-all-target-libada: all-target-libada
49304 all-target-libada: configure-target-libada
49305 @: $(MAKE); $(unstage)
49306 @r=`${PWD_COMMAND}`; export r; \
49307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49308 $(NORMAL_TARGET_EXPORTS) \
49309 (cd $(TARGET_SUBDIR)/libada && \
49310 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49311 $(TARGET-target-libada))
49312 @endif target-libada
49318 .PHONY: check-target-libada maybe-check-target-libada
49319 maybe-check-target-libada:
49320 @if target-libada
49321 maybe-check-target-libada: check-target-libada
49323 check-target-libada:
49324 @: $(MAKE); $(unstage)
49325 @r=`${PWD_COMMAND}`; export r; \
49326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49327 $(NORMAL_TARGET_EXPORTS) \
49328 (cd $(TARGET_SUBDIR)/libada && \
49329 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49331 @endif target-libada
49333 .PHONY: install-target-libada maybe-install-target-libada
49334 maybe-install-target-libada:
49335 @if target-libada
49336 maybe-install-target-libada: install-target-libada
49338 install-target-libada: installdirs
49339 @: $(MAKE); $(unstage)
49340 @r=`${PWD_COMMAND}`; export r; \
49341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49342 $(NORMAL_TARGET_EXPORTS) \
49343 (cd $(TARGET_SUBDIR)/libada && \
49344 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49346 @endif target-libada
49348 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
49349 maybe-install-strip-target-libada:
49350 @if target-libada
49351 maybe-install-strip-target-libada: install-strip-target-libada
49353 install-strip-target-libada: installdirs
49354 @: $(MAKE); $(unstage)
49355 @r=`${PWD_COMMAND}`; export r; \
49356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49357 $(NORMAL_TARGET_EXPORTS) \
49358 (cd $(TARGET_SUBDIR)/libada && \
49359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49361 @endif target-libada
49363 # Other targets (info, dvi, pdf, etc.)
49365 .PHONY: maybe-info-target-libada info-target-libada
49366 maybe-info-target-libada:
49367 @if target-libada
49368 maybe-info-target-libada: info-target-libada
49370 info-target-libada: \
49371 configure-target-libada
49372 @: $(MAKE); $(unstage)
49373 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49374 r=`${PWD_COMMAND}`; export r; \
49375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49376 $(NORMAL_TARGET_EXPORTS) \
49377 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
49378 for flag in $(EXTRA_TARGET_FLAGS); do \
49379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49380 done; \
49381 (cd $(TARGET_SUBDIR)/libada && \
49382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49384 "RANLIB=$${RANLIB}" \
49385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49386 info) \
49387 || exit 1
49389 @endif target-libada
49391 .PHONY: maybe-dvi-target-libada dvi-target-libada
49392 maybe-dvi-target-libada:
49393 @if target-libada
49394 maybe-dvi-target-libada: dvi-target-libada
49396 dvi-target-libada: \
49397 configure-target-libada
49398 @: $(MAKE); $(unstage)
49399 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49400 r=`${PWD_COMMAND}`; export r; \
49401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49402 $(NORMAL_TARGET_EXPORTS) \
49403 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
49404 for flag in $(EXTRA_TARGET_FLAGS); do \
49405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49406 done; \
49407 (cd $(TARGET_SUBDIR)/libada && \
49408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49410 "RANLIB=$${RANLIB}" \
49411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49412 dvi) \
49413 || exit 1
49415 @endif target-libada
49417 .PHONY: maybe-pdf-target-libada pdf-target-libada
49418 maybe-pdf-target-libada:
49419 @if target-libada
49420 maybe-pdf-target-libada: pdf-target-libada
49422 pdf-target-libada: \
49423 configure-target-libada
49424 @: $(MAKE); $(unstage)
49425 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49426 r=`${PWD_COMMAND}`; export r; \
49427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49428 $(NORMAL_TARGET_EXPORTS) \
49429 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
49430 for flag in $(EXTRA_TARGET_FLAGS); do \
49431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49432 done; \
49433 (cd $(TARGET_SUBDIR)/libada && \
49434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49436 "RANLIB=$${RANLIB}" \
49437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49438 pdf) \
49439 || exit 1
49441 @endif target-libada
49443 .PHONY: maybe-html-target-libada html-target-libada
49444 maybe-html-target-libada:
49445 @if target-libada
49446 maybe-html-target-libada: html-target-libada
49448 html-target-libada: \
49449 configure-target-libada
49450 @: $(MAKE); $(unstage)
49451 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49452 r=`${PWD_COMMAND}`; export r; \
49453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49454 $(NORMAL_TARGET_EXPORTS) \
49455 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
49456 for flag in $(EXTRA_TARGET_FLAGS); do \
49457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49458 done; \
49459 (cd $(TARGET_SUBDIR)/libada && \
49460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49462 "RANLIB=$${RANLIB}" \
49463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49464 html) \
49465 || exit 1
49467 @endif target-libada
49469 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
49470 maybe-TAGS-target-libada:
49471 @if target-libada
49472 maybe-TAGS-target-libada: TAGS-target-libada
49474 TAGS-target-libada: \
49475 configure-target-libada
49476 @: $(MAKE); $(unstage)
49477 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49478 r=`${PWD_COMMAND}`; export r; \
49479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49480 $(NORMAL_TARGET_EXPORTS) \
49481 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
49482 for flag in $(EXTRA_TARGET_FLAGS); do \
49483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49484 done; \
49485 (cd $(TARGET_SUBDIR)/libada && \
49486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49488 "RANLIB=$${RANLIB}" \
49489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49490 TAGS) \
49491 || exit 1
49493 @endif target-libada
49495 .PHONY: maybe-install-info-target-libada install-info-target-libada
49496 maybe-install-info-target-libada:
49497 @if target-libada
49498 maybe-install-info-target-libada: install-info-target-libada
49500 install-info-target-libada: \
49501 configure-target-libada \
49502 info-target-libada
49503 @: $(MAKE); $(unstage)
49504 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49505 r=`${PWD_COMMAND}`; export r; \
49506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49507 $(NORMAL_TARGET_EXPORTS) \
49508 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
49509 for flag in $(EXTRA_TARGET_FLAGS); do \
49510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49511 done; \
49512 (cd $(TARGET_SUBDIR)/libada && \
49513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49515 "RANLIB=$${RANLIB}" \
49516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49517 install-info) \
49518 || exit 1
49520 @endif target-libada
49522 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
49523 maybe-install-pdf-target-libada:
49524 @if target-libada
49525 maybe-install-pdf-target-libada: install-pdf-target-libada
49527 install-pdf-target-libada: \
49528 configure-target-libada \
49529 pdf-target-libada
49530 @: $(MAKE); $(unstage)
49531 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49532 r=`${PWD_COMMAND}`; export r; \
49533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49534 $(NORMAL_TARGET_EXPORTS) \
49535 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
49536 for flag in $(EXTRA_TARGET_FLAGS); do \
49537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49538 done; \
49539 (cd $(TARGET_SUBDIR)/libada && \
49540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49542 "RANLIB=$${RANLIB}" \
49543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49544 install-pdf) \
49545 || exit 1
49547 @endif target-libada
49549 .PHONY: maybe-install-html-target-libada install-html-target-libada
49550 maybe-install-html-target-libada:
49551 @if target-libada
49552 maybe-install-html-target-libada: install-html-target-libada
49554 install-html-target-libada: \
49555 configure-target-libada \
49556 html-target-libada
49557 @: $(MAKE); $(unstage)
49558 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49559 r=`${PWD_COMMAND}`; export r; \
49560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49561 $(NORMAL_TARGET_EXPORTS) \
49562 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
49563 for flag in $(EXTRA_TARGET_FLAGS); do \
49564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49565 done; \
49566 (cd $(TARGET_SUBDIR)/libada && \
49567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49569 "RANLIB=$${RANLIB}" \
49570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49571 install-html) \
49572 || exit 1
49574 @endif target-libada
49576 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
49577 maybe-installcheck-target-libada:
49578 @if target-libada
49579 maybe-installcheck-target-libada: installcheck-target-libada
49581 installcheck-target-libada: \
49582 configure-target-libada
49583 @: $(MAKE); $(unstage)
49584 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49585 r=`${PWD_COMMAND}`; export r; \
49586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49587 $(NORMAL_TARGET_EXPORTS) \
49588 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
49589 for flag in $(EXTRA_TARGET_FLAGS); do \
49590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49591 done; \
49592 (cd $(TARGET_SUBDIR)/libada && \
49593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49595 "RANLIB=$${RANLIB}" \
49596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49597 installcheck) \
49598 || exit 1
49600 @endif target-libada
49602 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
49603 maybe-mostlyclean-target-libada:
49604 @if target-libada
49605 maybe-mostlyclean-target-libada: mostlyclean-target-libada
49607 mostlyclean-target-libada:
49608 @: $(MAKE); $(unstage)
49609 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49610 r=`${PWD_COMMAND}`; export r; \
49611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49612 $(NORMAL_TARGET_EXPORTS) \
49613 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
49614 for flag in $(EXTRA_TARGET_FLAGS); do \
49615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49616 done; \
49617 (cd $(TARGET_SUBDIR)/libada && \
49618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49620 "RANLIB=$${RANLIB}" \
49621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49622 mostlyclean) \
49623 || exit 1
49625 @endif target-libada
49627 .PHONY: maybe-clean-target-libada clean-target-libada
49628 maybe-clean-target-libada:
49629 @if target-libada
49630 maybe-clean-target-libada: clean-target-libada
49632 clean-target-libada:
49633 @: $(MAKE); $(unstage)
49634 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49635 r=`${PWD_COMMAND}`; export r; \
49636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49637 $(NORMAL_TARGET_EXPORTS) \
49638 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
49639 for flag in $(EXTRA_TARGET_FLAGS); do \
49640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49641 done; \
49642 (cd $(TARGET_SUBDIR)/libada && \
49643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49645 "RANLIB=$${RANLIB}" \
49646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49647 clean) \
49648 || exit 1
49650 @endif target-libada
49652 .PHONY: maybe-distclean-target-libada distclean-target-libada
49653 maybe-distclean-target-libada:
49654 @if target-libada
49655 maybe-distclean-target-libada: distclean-target-libada
49657 distclean-target-libada:
49658 @: $(MAKE); $(unstage)
49659 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49660 r=`${PWD_COMMAND}`; export r; \
49661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49662 $(NORMAL_TARGET_EXPORTS) \
49663 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
49664 for flag in $(EXTRA_TARGET_FLAGS); do \
49665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49666 done; \
49667 (cd $(TARGET_SUBDIR)/libada && \
49668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49670 "RANLIB=$${RANLIB}" \
49671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49672 distclean) \
49673 || exit 1
49675 @endif target-libada
49677 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
49678 maybe-maintainer-clean-target-libada:
49679 @if target-libada
49680 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
49682 maintainer-clean-target-libada:
49683 @: $(MAKE); $(unstage)
49684 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49685 r=`${PWD_COMMAND}`; export r; \
49686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49687 $(NORMAL_TARGET_EXPORTS) \
49688 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
49689 for flag in $(EXTRA_TARGET_FLAGS); do \
49690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49691 done; \
49692 (cd $(TARGET_SUBDIR)/libada && \
49693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49695 "RANLIB=$${RANLIB}" \
49696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49697 maintainer-clean) \
49698 || exit 1
49700 @endif target-libada
49706 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
49707 maybe-configure-target-libgomp:
49708 @if gcc-bootstrap
49709 configure-target-libgomp: stage_current
49710 @endif gcc-bootstrap
49711 @if target-libgomp
49712 maybe-configure-target-libgomp: configure-target-libgomp
49713 configure-target-libgomp:
49714 @r=`${PWD_COMMAND}`; export r; \
49715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49716 echo "Checking multilib configuration for libgomp..."; \
49717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49718 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49719 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49720 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49721 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49722 else \
49723 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49724 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49725 fi; \
49726 else \
49727 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49728 fi; \
49729 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49730 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49731 $(NORMAL_TARGET_EXPORTS) \
49732 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
49733 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
49734 case $(srcdir) in \
49735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49736 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49738 esac; \
49739 module_srcdir=libgomp; \
49740 rm -f no-such-file || : ; \
49741 CONFIG_SITE=no-such-file $(SHELL) \
49742 $$s/$$module_srcdir/configure \
49743 --srcdir=$${topdir}/$$module_srcdir \
49744 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49745 --target=${target_alias} \
49746 || exit 1
49747 @endif target-libgomp
49751 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
49752 maybe-configure-stage1-target-libgomp:
49753 @if target-libgomp-bootstrap
49754 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
49755 configure-stage1-target-libgomp:
49756 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49757 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49758 @r=`${PWD_COMMAND}`; export r; \
49759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49760 TFLAGS="$(STAGE1_TFLAGS)"; \
49761 echo "Checking multilib configuration for libgomp..."; \
49762 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49763 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49764 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49765 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49766 else \
49767 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49768 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49769 fi; \
49770 else \
49771 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49772 fi; \
49773 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49774 $(NORMAL_TARGET_EXPORTS) \
49775 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49776 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49777 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49778 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
49779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49780 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49781 case $(srcdir) in \
49782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49783 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49785 esac; \
49786 module_srcdir=libgomp; \
49787 $(SHELL) $$s/$$module_srcdir/configure \
49788 --srcdir=$${topdir}/$$module_srcdir \
49789 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49790 --target=${target_alias} \
49792 $(STAGE1_CONFIGURE_FLAGS)
49793 @endif target-libgomp-bootstrap
49795 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
49796 maybe-configure-stage2-target-libgomp:
49797 @if target-libgomp-bootstrap
49798 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
49799 configure-stage2-target-libgomp:
49800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49801 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49802 @r=`${PWD_COMMAND}`; export r; \
49803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49804 TFLAGS="$(STAGE2_TFLAGS)"; \
49805 echo "Checking multilib configuration for libgomp..."; \
49806 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49807 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49808 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49809 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49810 else \
49811 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49812 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49813 fi; \
49814 else \
49815 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49816 fi; \
49817 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49818 $(NORMAL_TARGET_EXPORTS) \
49820 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49823 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
49824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49825 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49826 case $(srcdir) in \
49827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49828 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49830 esac; \
49831 module_srcdir=libgomp; \
49832 $(SHELL) $$s/$$module_srcdir/configure \
49833 --srcdir=$${topdir}/$$module_srcdir \
49834 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49835 --target=${target_alias} \
49836 --with-build-libsubdir=$(HOST_SUBDIR) \
49837 $(STAGE2_CONFIGURE_FLAGS)
49838 @endif target-libgomp-bootstrap
49840 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
49841 maybe-configure-stage3-target-libgomp:
49842 @if target-libgomp-bootstrap
49843 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
49844 configure-stage3-target-libgomp:
49845 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49846 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49847 @r=`${PWD_COMMAND}`; export r; \
49848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49849 TFLAGS="$(STAGE3_TFLAGS)"; \
49850 echo "Checking multilib configuration for libgomp..."; \
49851 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49852 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49853 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49854 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49855 else \
49856 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49857 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49858 fi; \
49859 else \
49860 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49861 fi; \
49862 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49863 $(NORMAL_TARGET_EXPORTS) \
49865 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49866 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49867 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49868 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
49869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49870 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49871 case $(srcdir) in \
49872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49873 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49875 esac; \
49876 module_srcdir=libgomp; \
49877 $(SHELL) $$s/$$module_srcdir/configure \
49878 --srcdir=$${topdir}/$$module_srcdir \
49879 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49880 --target=${target_alias} \
49881 --with-build-libsubdir=$(HOST_SUBDIR) \
49882 $(STAGE3_CONFIGURE_FLAGS)
49883 @endif target-libgomp-bootstrap
49885 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
49886 maybe-configure-stage4-target-libgomp:
49887 @if target-libgomp-bootstrap
49888 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
49889 configure-stage4-target-libgomp:
49890 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49891 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49892 @r=`${PWD_COMMAND}`; export r; \
49893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49894 TFLAGS="$(STAGE4_TFLAGS)"; \
49895 echo "Checking multilib configuration for libgomp..."; \
49896 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49897 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49898 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49899 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49900 else \
49901 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49902 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49903 fi; \
49904 else \
49905 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49906 fi; \
49907 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49908 $(NORMAL_TARGET_EXPORTS) \
49910 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49911 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49912 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49913 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
49914 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49915 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49916 case $(srcdir) in \
49917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49918 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49920 esac; \
49921 module_srcdir=libgomp; \
49922 $(SHELL) $$s/$$module_srcdir/configure \
49923 --srcdir=$${topdir}/$$module_srcdir \
49924 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49925 --target=${target_alias} \
49926 --with-build-libsubdir=$(HOST_SUBDIR) \
49927 $(STAGE4_CONFIGURE_FLAGS)
49928 @endif target-libgomp-bootstrap
49930 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
49931 maybe-configure-stageprofile-target-libgomp:
49932 @if target-libgomp-bootstrap
49933 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
49934 configure-stageprofile-target-libgomp:
49935 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49936 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49937 @r=`${PWD_COMMAND}`; export r; \
49938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49939 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49940 echo "Checking multilib configuration for libgomp..."; \
49941 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49942 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49943 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49944 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49945 else \
49946 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49947 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49948 fi; \
49949 else \
49950 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49951 fi; \
49952 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49953 $(NORMAL_TARGET_EXPORTS) \
49955 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49957 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49958 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
49959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
49960 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
49961 case $(srcdir) in \
49962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49963 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
49964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49965 esac; \
49966 module_srcdir=libgomp; \
49967 $(SHELL) $$s/$$module_srcdir/configure \
49968 --srcdir=$${topdir}/$$module_srcdir \
49969 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49970 --target=${target_alias} \
49971 --with-build-libsubdir=$(HOST_SUBDIR) \
49972 $(STAGEprofile_CONFIGURE_FLAGS)
49973 @endif target-libgomp-bootstrap
49975 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
49976 maybe-configure-stagefeedback-target-libgomp:
49977 @if target-libgomp-bootstrap
49978 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
49979 configure-stagefeedback-target-libgomp:
49980 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49981 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
49982 @r=`${PWD_COMMAND}`; export r; \
49983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49984 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49985 echo "Checking multilib configuration for libgomp..."; \
49986 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
49987 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49988 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
49989 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
49990 else \
49991 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
49992 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49993 fi; \
49994 else \
49995 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
49996 fi; \
49997 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
49998 $(NORMAL_TARGET_EXPORTS) \
50000 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50001 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50002 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50003 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
50004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50005 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50006 case $(srcdir) in \
50007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50008 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50010 esac; \
50011 module_srcdir=libgomp; \
50012 $(SHELL) $$s/$$module_srcdir/configure \
50013 --srcdir=$${topdir}/$$module_srcdir \
50014 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50015 --target=${target_alias} \
50016 --with-build-libsubdir=$(HOST_SUBDIR) \
50017 $(STAGEfeedback_CONFIGURE_FLAGS)
50018 @endif target-libgomp-bootstrap
50020 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50021 maybe-configure-stageautoprofile-target-libgomp:
50022 @if target-libgomp-bootstrap
50023 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50024 configure-stageautoprofile-target-libgomp:
50025 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50026 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50027 @r=`${PWD_COMMAND}`; export r; \
50028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50029 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50030 echo "Checking multilib configuration for libgomp..."; \
50031 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50032 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50033 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50034 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50035 else \
50036 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50037 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50038 fi; \
50039 else \
50040 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50041 fi; \
50042 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50043 $(NORMAL_TARGET_EXPORTS) \
50045 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50046 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50047 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50048 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50050 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50051 case $(srcdir) in \
50052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50053 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50055 esac; \
50056 module_srcdir=libgomp; \
50057 $(SHELL) $$s/$$module_srcdir/configure \
50058 --srcdir=$${topdir}/$$module_srcdir \
50059 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50060 --target=${target_alias} \
50061 --with-build-libsubdir=$(HOST_SUBDIR) \
50062 $(STAGEautoprofile_CONFIGURE_FLAGS)
50063 @endif target-libgomp-bootstrap
50065 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50066 maybe-configure-stageautofeedback-target-libgomp:
50067 @if target-libgomp-bootstrap
50068 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50069 configure-stageautofeedback-target-libgomp:
50070 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50071 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50072 @r=`${PWD_COMMAND}`; export r; \
50073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50074 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50075 echo "Checking multilib configuration for libgomp..."; \
50076 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50077 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50078 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50079 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50080 else \
50081 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50082 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50083 fi; \
50084 else \
50085 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50086 fi; \
50087 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50088 $(NORMAL_TARGET_EXPORTS) \
50090 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50091 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50092 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50093 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
50094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50095 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50096 case $(srcdir) in \
50097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50098 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50100 esac; \
50101 module_srcdir=libgomp; \
50102 $(SHELL) $$s/$$module_srcdir/configure \
50103 --srcdir=$${topdir}/$$module_srcdir \
50104 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50105 --target=${target_alias} \
50106 --with-build-libsubdir=$(HOST_SUBDIR) \
50107 $(STAGEautofeedback_CONFIGURE_FLAGS)
50108 @endif target-libgomp-bootstrap
50114 .PHONY: all-target-libgomp maybe-all-target-libgomp
50115 maybe-all-target-libgomp:
50116 @if gcc-bootstrap
50117 all-target-libgomp: stage_current
50118 @endif gcc-bootstrap
50119 @if target-libgomp
50120 TARGET-target-libgomp=all
50121 maybe-all-target-libgomp: all-target-libgomp
50122 all-target-libgomp: configure-target-libgomp
50123 @r=`${PWD_COMMAND}`; export r; \
50124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50125 $(NORMAL_TARGET_EXPORTS) \
50126 (cd $(TARGET_SUBDIR)/libgomp && \
50127 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50128 $(TARGET-target-libgomp))
50129 @endif target-libgomp
50133 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
50134 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
50135 maybe-all-stage1-target-libgomp:
50136 maybe-clean-stage1-target-libgomp:
50137 @if target-libgomp-bootstrap
50138 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
50139 all-stage1: all-stage1-target-libgomp
50140 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
50141 all-stage1-target-libgomp: configure-stage1-target-libgomp
50142 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50143 @r=`${PWD_COMMAND}`; export r; \
50144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50145 TFLAGS="$(STAGE1_TFLAGS)"; \
50146 $(NORMAL_TARGET_EXPORTS) \
50147 cd $(TARGET_SUBDIR)/libgomp && \
50149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50150 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50151 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50152 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50156 $(EXTRA_TARGET_FLAGS) \
50158 TFLAGS="$(STAGE1_TFLAGS)" \
50159 $(TARGET-stage1-target-libgomp)
50161 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
50162 clean-stage1: clean-stage1-target-libgomp
50163 clean-stage1-target-libgomp:
50164 @if [ $(current_stage) = stage1 ]; then \
50165 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50166 else \
50167 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
50168 $(MAKE) stage1-start; \
50169 fi; \
50170 cd $(TARGET_SUBDIR)/libgomp && \
50171 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50172 clean
50173 @endif target-libgomp-bootstrap
50176 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
50177 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
50178 maybe-all-stage2-target-libgomp:
50179 maybe-clean-stage2-target-libgomp:
50180 @if target-libgomp-bootstrap
50181 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
50182 all-stage2: all-stage2-target-libgomp
50183 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
50184 all-stage2-target-libgomp: configure-stage2-target-libgomp
50185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50186 @r=`${PWD_COMMAND}`; export r; \
50187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50188 TFLAGS="$(STAGE2_TFLAGS)"; \
50189 $(NORMAL_TARGET_EXPORTS) \
50191 cd $(TARGET_SUBDIR)/libgomp && \
50193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50194 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50195 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50196 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50200 $(EXTRA_TARGET_FLAGS) \
50201 TFLAGS="$(STAGE2_TFLAGS)" \
50202 $(TARGET-stage2-target-libgomp)
50204 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
50205 clean-stage2: clean-stage2-target-libgomp
50206 clean-stage2-target-libgomp:
50207 @if [ $(current_stage) = stage2 ]; then \
50208 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50209 else \
50210 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
50211 $(MAKE) stage2-start; \
50212 fi; \
50213 cd $(TARGET_SUBDIR)/libgomp && \
50214 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50215 @endif target-libgomp-bootstrap
50218 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
50219 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
50220 maybe-all-stage3-target-libgomp:
50221 maybe-clean-stage3-target-libgomp:
50222 @if target-libgomp-bootstrap
50223 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
50224 all-stage3: all-stage3-target-libgomp
50225 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
50226 all-stage3-target-libgomp: configure-stage3-target-libgomp
50227 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50228 @r=`${PWD_COMMAND}`; export r; \
50229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50230 TFLAGS="$(STAGE3_TFLAGS)"; \
50231 $(NORMAL_TARGET_EXPORTS) \
50233 cd $(TARGET_SUBDIR)/libgomp && \
50235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50236 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50237 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50238 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50242 $(EXTRA_TARGET_FLAGS) \
50243 TFLAGS="$(STAGE3_TFLAGS)" \
50244 $(TARGET-stage3-target-libgomp)
50246 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
50247 clean-stage3: clean-stage3-target-libgomp
50248 clean-stage3-target-libgomp:
50249 @if [ $(current_stage) = stage3 ]; then \
50250 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50251 else \
50252 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
50253 $(MAKE) stage3-start; \
50254 fi; \
50255 cd $(TARGET_SUBDIR)/libgomp && \
50256 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50257 @endif target-libgomp-bootstrap
50260 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
50261 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
50262 maybe-all-stage4-target-libgomp:
50263 maybe-clean-stage4-target-libgomp:
50264 @if target-libgomp-bootstrap
50265 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
50266 all-stage4: all-stage4-target-libgomp
50267 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
50268 all-stage4-target-libgomp: configure-stage4-target-libgomp
50269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50270 @r=`${PWD_COMMAND}`; export r; \
50271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50272 TFLAGS="$(STAGE4_TFLAGS)"; \
50273 $(NORMAL_TARGET_EXPORTS) \
50275 cd $(TARGET_SUBDIR)/libgomp && \
50277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50278 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50284 $(EXTRA_TARGET_FLAGS) \
50285 TFLAGS="$(STAGE4_TFLAGS)" \
50286 $(TARGET-stage4-target-libgomp)
50288 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
50289 clean-stage4: clean-stage4-target-libgomp
50290 clean-stage4-target-libgomp:
50291 @if [ $(current_stage) = stage4 ]; then \
50292 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50293 else \
50294 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
50295 $(MAKE) stage4-start; \
50296 fi; \
50297 cd $(TARGET_SUBDIR)/libgomp && \
50298 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50299 @endif target-libgomp-bootstrap
50302 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
50303 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
50304 maybe-all-stageprofile-target-libgomp:
50305 maybe-clean-stageprofile-target-libgomp:
50306 @if target-libgomp-bootstrap
50307 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
50308 all-stageprofile: all-stageprofile-target-libgomp
50309 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
50310 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50311 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50312 @r=`${PWD_COMMAND}`; export r; \
50313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50314 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50315 $(NORMAL_TARGET_EXPORTS) \
50317 cd $(TARGET_SUBDIR)/libgomp && \
50319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50320 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50321 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50322 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50326 $(EXTRA_TARGET_FLAGS) \
50327 TFLAGS="$(STAGEprofile_TFLAGS)" \
50328 $(TARGET-stageprofile-target-libgomp)
50330 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
50331 clean-stageprofile: clean-stageprofile-target-libgomp
50332 clean-stageprofile-target-libgomp:
50333 @if [ $(current_stage) = stageprofile ]; then \
50334 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50335 else \
50336 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
50337 $(MAKE) stageprofile-start; \
50338 fi; \
50339 cd $(TARGET_SUBDIR)/libgomp && \
50340 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50341 @endif target-libgomp-bootstrap
50344 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
50345 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
50346 maybe-all-stagefeedback-target-libgomp:
50347 maybe-clean-stagefeedback-target-libgomp:
50348 @if target-libgomp-bootstrap
50349 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
50350 all-stagefeedback: all-stagefeedback-target-libgomp
50351 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
50352 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50353 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50354 @r=`${PWD_COMMAND}`; export r; \
50355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50356 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50357 $(NORMAL_TARGET_EXPORTS) \
50359 cd $(TARGET_SUBDIR)/libgomp && \
50361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50362 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50368 $(EXTRA_TARGET_FLAGS) \
50369 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50370 $(TARGET-stagefeedback-target-libgomp)
50372 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
50373 clean-stagefeedback: clean-stagefeedback-target-libgomp
50374 clean-stagefeedback-target-libgomp:
50375 @if [ $(current_stage) = stagefeedback ]; then \
50376 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50377 else \
50378 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
50379 $(MAKE) stagefeedback-start; \
50380 fi; \
50381 cd $(TARGET_SUBDIR)/libgomp && \
50382 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50383 @endif target-libgomp-bootstrap
50386 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
50387 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
50388 maybe-all-stageautoprofile-target-libgomp:
50389 maybe-clean-stageautoprofile-target-libgomp:
50390 @if target-libgomp-bootstrap
50391 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
50392 all-stageautoprofile: all-stageautoprofile-target-libgomp
50393 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
50394 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50395 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50396 @r=`${PWD_COMMAND}`; export r; \
50397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50398 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50399 $(NORMAL_TARGET_EXPORTS) \
50401 cd $(TARGET_SUBDIR)/libgomp && \
50402 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50404 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50405 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50406 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50410 $(EXTRA_TARGET_FLAGS) \
50411 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50412 $(TARGET-stageautoprofile-target-libgomp)
50414 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
50415 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
50416 clean-stageautoprofile-target-libgomp:
50417 @if [ $(current_stage) = stageautoprofile ]; then \
50418 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50419 else \
50420 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
50421 $(MAKE) stageautoprofile-start; \
50422 fi; \
50423 cd $(TARGET_SUBDIR)/libgomp && \
50424 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50425 @endif target-libgomp-bootstrap
50428 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
50429 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
50430 maybe-all-stageautofeedback-target-libgomp:
50431 maybe-clean-stageautofeedback-target-libgomp:
50432 @if target-libgomp-bootstrap
50433 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
50434 all-stageautofeedback: all-stageautofeedback-target-libgomp
50435 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
50436 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50437 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50438 @r=`${PWD_COMMAND}`; export r; \
50439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50440 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50441 $(NORMAL_TARGET_EXPORTS) \
50443 cd $(TARGET_SUBDIR)/libgomp && \
50445 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50446 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50447 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50448 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50452 $(EXTRA_TARGET_FLAGS) \
50453 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50454 $(TARGET-stageautofeedback-target-libgomp)
50456 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
50457 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
50458 clean-stageautofeedback-target-libgomp:
50459 @if [ $(current_stage) = stageautofeedback ]; then \
50460 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50461 else \
50462 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
50463 $(MAKE) stageautofeedback-start; \
50464 fi; \
50465 cd $(TARGET_SUBDIR)/libgomp && \
50466 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50467 @endif target-libgomp-bootstrap
50474 .PHONY: check-target-libgomp maybe-check-target-libgomp
50475 maybe-check-target-libgomp:
50476 @if target-libgomp
50477 maybe-check-target-libgomp: check-target-libgomp
50479 check-target-libgomp:
50480 @: $(MAKE); $(unstage)
50481 @r=`${PWD_COMMAND}`; export r; \
50482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50483 $(NORMAL_TARGET_EXPORTS) \
50484 (cd $(TARGET_SUBDIR)/libgomp && \
50485 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50487 @endif target-libgomp
50489 .PHONY: install-target-libgomp maybe-install-target-libgomp
50490 maybe-install-target-libgomp:
50491 @if target-libgomp
50492 maybe-install-target-libgomp: install-target-libgomp
50494 install-target-libgomp: installdirs
50495 @: $(MAKE); $(unstage)
50496 @r=`${PWD_COMMAND}`; export r; \
50497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50498 $(NORMAL_TARGET_EXPORTS) \
50499 (cd $(TARGET_SUBDIR)/libgomp && \
50500 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50502 @endif target-libgomp
50504 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
50505 maybe-install-strip-target-libgomp:
50506 @if target-libgomp
50507 maybe-install-strip-target-libgomp: install-strip-target-libgomp
50509 install-strip-target-libgomp: installdirs
50510 @: $(MAKE); $(unstage)
50511 @r=`${PWD_COMMAND}`; export r; \
50512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50513 $(NORMAL_TARGET_EXPORTS) \
50514 (cd $(TARGET_SUBDIR)/libgomp && \
50515 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50517 @endif target-libgomp
50519 # Other targets (info, dvi, pdf, etc.)
50521 .PHONY: maybe-info-target-libgomp info-target-libgomp
50522 maybe-info-target-libgomp:
50523 @if target-libgomp
50524 maybe-info-target-libgomp: info-target-libgomp
50526 info-target-libgomp: \
50527 configure-target-libgomp
50528 @: $(MAKE); $(unstage)
50529 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50530 r=`${PWD_COMMAND}`; export r; \
50531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50532 $(NORMAL_TARGET_EXPORTS) \
50533 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
50534 for flag in $(EXTRA_TARGET_FLAGS); do \
50535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50536 done; \
50537 (cd $(TARGET_SUBDIR)/libgomp && \
50538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50540 "RANLIB=$${RANLIB}" \
50541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50542 info) \
50543 || exit 1
50545 @endif target-libgomp
50547 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
50548 maybe-dvi-target-libgomp:
50549 @if target-libgomp
50550 maybe-dvi-target-libgomp: dvi-target-libgomp
50552 dvi-target-libgomp: \
50553 configure-target-libgomp
50554 @: $(MAKE); $(unstage)
50555 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50556 r=`${PWD_COMMAND}`; export r; \
50557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50558 $(NORMAL_TARGET_EXPORTS) \
50559 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
50560 for flag in $(EXTRA_TARGET_FLAGS); do \
50561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50562 done; \
50563 (cd $(TARGET_SUBDIR)/libgomp && \
50564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50566 "RANLIB=$${RANLIB}" \
50567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50568 dvi) \
50569 || exit 1
50571 @endif target-libgomp
50573 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
50574 maybe-pdf-target-libgomp:
50575 @if target-libgomp
50576 maybe-pdf-target-libgomp: pdf-target-libgomp
50578 pdf-target-libgomp: \
50579 configure-target-libgomp
50580 @: $(MAKE); $(unstage)
50581 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50582 r=`${PWD_COMMAND}`; export r; \
50583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50584 $(NORMAL_TARGET_EXPORTS) \
50585 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
50586 for flag in $(EXTRA_TARGET_FLAGS); do \
50587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50588 done; \
50589 (cd $(TARGET_SUBDIR)/libgomp && \
50590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50592 "RANLIB=$${RANLIB}" \
50593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50594 pdf) \
50595 || exit 1
50597 @endif target-libgomp
50599 .PHONY: maybe-html-target-libgomp html-target-libgomp
50600 maybe-html-target-libgomp:
50601 @if target-libgomp
50602 maybe-html-target-libgomp: html-target-libgomp
50604 html-target-libgomp: \
50605 configure-target-libgomp
50606 @: $(MAKE); $(unstage)
50607 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50608 r=`${PWD_COMMAND}`; export r; \
50609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50610 $(NORMAL_TARGET_EXPORTS) \
50611 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
50612 for flag in $(EXTRA_TARGET_FLAGS); do \
50613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50614 done; \
50615 (cd $(TARGET_SUBDIR)/libgomp && \
50616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50618 "RANLIB=$${RANLIB}" \
50619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50620 html) \
50621 || exit 1
50623 @endif target-libgomp
50625 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
50626 maybe-TAGS-target-libgomp:
50627 @if target-libgomp
50628 maybe-TAGS-target-libgomp: TAGS-target-libgomp
50630 TAGS-target-libgomp: \
50631 configure-target-libgomp
50632 @: $(MAKE); $(unstage)
50633 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50634 r=`${PWD_COMMAND}`; export r; \
50635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50636 $(NORMAL_TARGET_EXPORTS) \
50637 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
50638 for flag in $(EXTRA_TARGET_FLAGS); do \
50639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50640 done; \
50641 (cd $(TARGET_SUBDIR)/libgomp && \
50642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50644 "RANLIB=$${RANLIB}" \
50645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50646 TAGS) \
50647 || exit 1
50649 @endif target-libgomp
50651 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
50652 maybe-install-info-target-libgomp:
50653 @if target-libgomp
50654 maybe-install-info-target-libgomp: install-info-target-libgomp
50656 install-info-target-libgomp: \
50657 configure-target-libgomp \
50658 info-target-libgomp
50659 @: $(MAKE); $(unstage)
50660 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50661 r=`${PWD_COMMAND}`; export r; \
50662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50663 $(NORMAL_TARGET_EXPORTS) \
50664 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
50665 for flag in $(EXTRA_TARGET_FLAGS); do \
50666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50667 done; \
50668 (cd $(TARGET_SUBDIR)/libgomp && \
50669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50671 "RANLIB=$${RANLIB}" \
50672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50673 install-info) \
50674 || exit 1
50676 @endif target-libgomp
50678 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
50679 maybe-install-pdf-target-libgomp:
50680 @if target-libgomp
50681 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
50683 install-pdf-target-libgomp: \
50684 configure-target-libgomp \
50685 pdf-target-libgomp
50686 @: $(MAKE); $(unstage)
50687 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50688 r=`${PWD_COMMAND}`; export r; \
50689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50690 $(NORMAL_TARGET_EXPORTS) \
50691 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
50692 for flag in $(EXTRA_TARGET_FLAGS); do \
50693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50694 done; \
50695 (cd $(TARGET_SUBDIR)/libgomp && \
50696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50698 "RANLIB=$${RANLIB}" \
50699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50700 install-pdf) \
50701 || exit 1
50703 @endif target-libgomp
50705 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
50706 maybe-install-html-target-libgomp:
50707 @if target-libgomp
50708 maybe-install-html-target-libgomp: install-html-target-libgomp
50710 install-html-target-libgomp: \
50711 configure-target-libgomp \
50712 html-target-libgomp
50713 @: $(MAKE); $(unstage)
50714 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50715 r=`${PWD_COMMAND}`; export r; \
50716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50717 $(NORMAL_TARGET_EXPORTS) \
50718 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
50719 for flag in $(EXTRA_TARGET_FLAGS); do \
50720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50721 done; \
50722 (cd $(TARGET_SUBDIR)/libgomp && \
50723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50725 "RANLIB=$${RANLIB}" \
50726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50727 install-html) \
50728 || exit 1
50730 @endif target-libgomp
50732 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
50733 maybe-installcheck-target-libgomp:
50734 @if target-libgomp
50735 maybe-installcheck-target-libgomp: installcheck-target-libgomp
50737 installcheck-target-libgomp: \
50738 configure-target-libgomp
50739 @: $(MAKE); $(unstage)
50740 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50741 r=`${PWD_COMMAND}`; export r; \
50742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50743 $(NORMAL_TARGET_EXPORTS) \
50744 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
50745 for flag in $(EXTRA_TARGET_FLAGS); do \
50746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50747 done; \
50748 (cd $(TARGET_SUBDIR)/libgomp && \
50749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50751 "RANLIB=$${RANLIB}" \
50752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50753 installcheck) \
50754 || exit 1
50756 @endif target-libgomp
50758 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
50759 maybe-mostlyclean-target-libgomp:
50760 @if target-libgomp
50761 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
50763 mostlyclean-target-libgomp:
50764 @: $(MAKE); $(unstage)
50765 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50766 r=`${PWD_COMMAND}`; export r; \
50767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50768 $(NORMAL_TARGET_EXPORTS) \
50769 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
50770 for flag in $(EXTRA_TARGET_FLAGS); do \
50771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50772 done; \
50773 (cd $(TARGET_SUBDIR)/libgomp && \
50774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50776 "RANLIB=$${RANLIB}" \
50777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50778 mostlyclean) \
50779 || exit 1
50781 @endif target-libgomp
50783 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
50784 maybe-clean-target-libgomp:
50785 @if target-libgomp
50786 maybe-clean-target-libgomp: clean-target-libgomp
50788 clean-target-libgomp:
50789 @: $(MAKE); $(unstage)
50790 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50791 r=`${PWD_COMMAND}`; export r; \
50792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50793 $(NORMAL_TARGET_EXPORTS) \
50794 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
50795 for flag in $(EXTRA_TARGET_FLAGS); do \
50796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50797 done; \
50798 (cd $(TARGET_SUBDIR)/libgomp && \
50799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50801 "RANLIB=$${RANLIB}" \
50802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50803 clean) \
50804 || exit 1
50806 @endif target-libgomp
50808 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
50809 maybe-distclean-target-libgomp:
50810 @if target-libgomp
50811 maybe-distclean-target-libgomp: distclean-target-libgomp
50813 distclean-target-libgomp:
50814 @: $(MAKE); $(unstage)
50815 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50816 r=`${PWD_COMMAND}`; export r; \
50817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50818 $(NORMAL_TARGET_EXPORTS) \
50819 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
50820 for flag in $(EXTRA_TARGET_FLAGS); do \
50821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50822 done; \
50823 (cd $(TARGET_SUBDIR)/libgomp && \
50824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50826 "RANLIB=$${RANLIB}" \
50827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50828 distclean) \
50829 || exit 1
50831 @endif target-libgomp
50833 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
50834 maybe-maintainer-clean-target-libgomp:
50835 @if target-libgomp
50836 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
50838 maintainer-clean-target-libgomp:
50839 @: $(MAKE); $(unstage)
50840 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50841 r=`${PWD_COMMAND}`; export r; \
50842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50843 $(NORMAL_TARGET_EXPORTS) \
50844 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
50845 for flag in $(EXTRA_TARGET_FLAGS); do \
50846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50847 done; \
50848 (cd $(TARGET_SUBDIR)/libgomp && \
50849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50851 "RANLIB=$${RANLIB}" \
50852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50853 maintainer-clean) \
50854 || exit 1
50856 @endif target-libgomp
50862 .PHONY: configure-target-libitm maybe-configure-target-libitm
50863 maybe-configure-target-libitm:
50864 @if gcc-bootstrap
50865 configure-target-libitm: stage_current
50866 @endif gcc-bootstrap
50867 @if target-libitm
50868 maybe-configure-target-libitm: configure-target-libitm
50869 configure-target-libitm:
50870 @: $(MAKE); $(unstage)
50871 @r=`${PWD_COMMAND}`; export r; \
50872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50873 echo "Checking multilib configuration for libitm..."; \
50874 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
50875 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
50876 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
50877 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
50878 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
50879 else \
50880 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
50881 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
50882 fi; \
50883 else \
50884 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
50885 fi; \
50886 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
50887 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
50888 $(NORMAL_TARGET_EXPORTS) \
50889 echo Configuring in $(TARGET_SUBDIR)/libitm; \
50890 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
50891 case $(srcdir) in \
50892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50893 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
50894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50895 esac; \
50896 module_srcdir=libitm; \
50897 rm -f no-such-file || : ; \
50898 CONFIG_SITE=no-such-file $(SHELL) \
50899 $$s/$$module_srcdir/configure \
50900 --srcdir=$${topdir}/$$module_srcdir \
50901 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50902 --target=${target_alias} \
50903 || exit 1
50904 @endif target-libitm
50910 .PHONY: all-target-libitm maybe-all-target-libitm
50911 maybe-all-target-libitm:
50912 @if gcc-bootstrap
50913 all-target-libitm: stage_current
50914 @endif gcc-bootstrap
50915 @if target-libitm
50916 TARGET-target-libitm=all
50917 maybe-all-target-libitm: all-target-libitm
50918 all-target-libitm: configure-target-libitm
50919 @: $(MAKE); $(unstage)
50920 @r=`${PWD_COMMAND}`; export r; \
50921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50922 $(NORMAL_TARGET_EXPORTS) \
50923 (cd $(TARGET_SUBDIR)/libitm && \
50924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50925 $(TARGET-target-libitm))
50926 @endif target-libitm
50932 .PHONY: check-target-libitm maybe-check-target-libitm
50933 maybe-check-target-libitm:
50934 @if target-libitm
50935 maybe-check-target-libitm: check-target-libitm
50937 check-target-libitm:
50938 @: $(MAKE); $(unstage)
50939 @r=`${PWD_COMMAND}`; export r; \
50940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50941 $(NORMAL_TARGET_EXPORTS) \
50942 (cd $(TARGET_SUBDIR)/libitm && \
50943 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50945 @endif target-libitm
50947 .PHONY: install-target-libitm maybe-install-target-libitm
50948 maybe-install-target-libitm:
50949 @if target-libitm
50950 maybe-install-target-libitm: install-target-libitm
50952 install-target-libitm: installdirs
50953 @: $(MAKE); $(unstage)
50954 @r=`${PWD_COMMAND}`; export r; \
50955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50956 $(NORMAL_TARGET_EXPORTS) \
50957 (cd $(TARGET_SUBDIR)/libitm && \
50958 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50960 @endif target-libitm
50962 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
50963 maybe-install-strip-target-libitm:
50964 @if target-libitm
50965 maybe-install-strip-target-libitm: install-strip-target-libitm
50967 install-strip-target-libitm: installdirs
50968 @: $(MAKE); $(unstage)
50969 @r=`${PWD_COMMAND}`; export r; \
50970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50971 $(NORMAL_TARGET_EXPORTS) \
50972 (cd $(TARGET_SUBDIR)/libitm && \
50973 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50975 @endif target-libitm
50977 # Other targets (info, dvi, pdf, etc.)
50979 .PHONY: maybe-info-target-libitm info-target-libitm
50980 maybe-info-target-libitm:
50981 @if target-libitm
50982 maybe-info-target-libitm: info-target-libitm
50984 info-target-libitm: \
50985 configure-target-libitm
50986 @: $(MAKE); $(unstage)
50987 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
50988 r=`${PWD_COMMAND}`; export r; \
50989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50990 $(NORMAL_TARGET_EXPORTS) \
50991 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
50992 for flag in $(EXTRA_TARGET_FLAGS); do \
50993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50994 done; \
50995 (cd $(TARGET_SUBDIR)/libitm && \
50996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50998 "RANLIB=$${RANLIB}" \
50999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51000 info) \
51001 || exit 1
51003 @endif target-libitm
51005 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
51006 maybe-dvi-target-libitm:
51007 @if target-libitm
51008 maybe-dvi-target-libitm: dvi-target-libitm
51010 dvi-target-libitm: \
51011 configure-target-libitm
51012 @: $(MAKE); $(unstage)
51013 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51014 r=`${PWD_COMMAND}`; export r; \
51015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51016 $(NORMAL_TARGET_EXPORTS) \
51017 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
51018 for flag in $(EXTRA_TARGET_FLAGS); do \
51019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51020 done; \
51021 (cd $(TARGET_SUBDIR)/libitm && \
51022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51024 "RANLIB=$${RANLIB}" \
51025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51026 dvi) \
51027 || exit 1
51029 @endif target-libitm
51031 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51032 maybe-pdf-target-libitm:
51033 @if target-libitm
51034 maybe-pdf-target-libitm: pdf-target-libitm
51036 pdf-target-libitm: \
51037 configure-target-libitm
51038 @: $(MAKE); $(unstage)
51039 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51040 r=`${PWD_COMMAND}`; export r; \
51041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51042 $(NORMAL_TARGET_EXPORTS) \
51043 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
51044 for flag in $(EXTRA_TARGET_FLAGS); do \
51045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51046 done; \
51047 (cd $(TARGET_SUBDIR)/libitm && \
51048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51050 "RANLIB=$${RANLIB}" \
51051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51052 pdf) \
51053 || exit 1
51055 @endif target-libitm
51057 .PHONY: maybe-html-target-libitm html-target-libitm
51058 maybe-html-target-libitm:
51059 @if target-libitm
51060 maybe-html-target-libitm: html-target-libitm
51062 html-target-libitm: \
51063 configure-target-libitm
51064 @: $(MAKE); $(unstage)
51065 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51066 r=`${PWD_COMMAND}`; export r; \
51067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51068 $(NORMAL_TARGET_EXPORTS) \
51069 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
51070 for flag in $(EXTRA_TARGET_FLAGS); do \
51071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51072 done; \
51073 (cd $(TARGET_SUBDIR)/libitm && \
51074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51076 "RANLIB=$${RANLIB}" \
51077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51078 html) \
51079 || exit 1
51081 @endif target-libitm
51083 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
51084 maybe-TAGS-target-libitm:
51085 @if target-libitm
51086 maybe-TAGS-target-libitm: TAGS-target-libitm
51088 TAGS-target-libitm: \
51089 configure-target-libitm
51090 @: $(MAKE); $(unstage)
51091 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51092 r=`${PWD_COMMAND}`; export r; \
51093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51094 $(NORMAL_TARGET_EXPORTS) \
51095 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
51096 for flag in $(EXTRA_TARGET_FLAGS); do \
51097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51098 done; \
51099 (cd $(TARGET_SUBDIR)/libitm && \
51100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51102 "RANLIB=$${RANLIB}" \
51103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51104 TAGS) \
51105 || exit 1
51107 @endif target-libitm
51109 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
51110 maybe-install-info-target-libitm:
51111 @if target-libitm
51112 maybe-install-info-target-libitm: install-info-target-libitm
51114 install-info-target-libitm: \
51115 configure-target-libitm \
51116 info-target-libitm
51117 @: $(MAKE); $(unstage)
51118 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51119 r=`${PWD_COMMAND}`; export r; \
51120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51121 $(NORMAL_TARGET_EXPORTS) \
51122 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
51123 for flag in $(EXTRA_TARGET_FLAGS); do \
51124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51125 done; \
51126 (cd $(TARGET_SUBDIR)/libitm && \
51127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51129 "RANLIB=$${RANLIB}" \
51130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51131 install-info) \
51132 || exit 1
51134 @endif target-libitm
51136 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
51137 maybe-install-pdf-target-libitm:
51138 @if target-libitm
51139 maybe-install-pdf-target-libitm: install-pdf-target-libitm
51141 install-pdf-target-libitm: \
51142 configure-target-libitm \
51143 pdf-target-libitm
51144 @: $(MAKE); $(unstage)
51145 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51146 r=`${PWD_COMMAND}`; export r; \
51147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51148 $(NORMAL_TARGET_EXPORTS) \
51149 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
51150 for flag in $(EXTRA_TARGET_FLAGS); do \
51151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51152 done; \
51153 (cd $(TARGET_SUBDIR)/libitm && \
51154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51156 "RANLIB=$${RANLIB}" \
51157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51158 install-pdf) \
51159 || exit 1
51161 @endif target-libitm
51163 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
51164 maybe-install-html-target-libitm:
51165 @if target-libitm
51166 maybe-install-html-target-libitm: install-html-target-libitm
51168 install-html-target-libitm: \
51169 configure-target-libitm \
51170 html-target-libitm
51171 @: $(MAKE); $(unstage)
51172 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51173 r=`${PWD_COMMAND}`; export r; \
51174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51175 $(NORMAL_TARGET_EXPORTS) \
51176 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
51177 for flag in $(EXTRA_TARGET_FLAGS); do \
51178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51179 done; \
51180 (cd $(TARGET_SUBDIR)/libitm && \
51181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51183 "RANLIB=$${RANLIB}" \
51184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51185 install-html) \
51186 || exit 1
51188 @endif target-libitm
51190 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
51191 maybe-installcheck-target-libitm:
51192 @if target-libitm
51193 maybe-installcheck-target-libitm: installcheck-target-libitm
51195 installcheck-target-libitm: \
51196 configure-target-libitm
51197 @: $(MAKE); $(unstage)
51198 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51199 r=`${PWD_COMMAND}`; export r; \
51200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51201 $(NORMAL_TARGET_EXPORTS) \
51202 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
51203 for flag in $(EXTRA_TARGET_FLAGS); do \
51204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51205 done; \
51206 (cd $(TARGET_SUBDIR)/libitm && \
51207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51209 "RANLIB=$${RANLIB}" \
51210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51211 installcheck) \
51212 || exit 1
51214 @endif target-libitm
51216 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
51217 maybe-mostlyclean-target-libitm:
51218 @if target-libitm
51219 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
51221 mostlyclean-target-libitm:
51222 @: $(MAKE); $(unstage)
51223 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51224 r=`${PWD_COMMAND}`; export r; \
51225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51226 $(NORMAL_TARGET_EXPORTS) \
51227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
51228 for flag in $(EXTRA_TARGET_FLAGS); do \
51229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51230 done; \
51231 (cd $(TARGET_SUBDIR)/libitm && \
51232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51234 "RANLIB=$${RANLIB}" \
51235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51236 mostlyclean) \
51237 || exit 1
51239 @endif target-libitm
51241 .PHONY: maybe-clean-target-libitm clean-target-libitm
51242 maybe-clean-target-libitm:
51243 @if target-libitm
51244 maybe-clean-target-libitm: clean-target-libitm
51246 clean-target-libitm:
51247 @: $(MAKE); $(unstage)
51248 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51249 r=`${PWD_COMMAND}`; export r; \
51250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51251 $(NORMAL_TARGET_EXPORTS) \
51252 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
51253 for flag in $(EXTRA_TARGET_FLAGS); do \
51254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51255 done; \
51256 (cd $(TARGET_SUBDIR)/libitm && \
51257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51259 "RANLIB=$${RANLIB}" \
51260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51261 clean) \
51262 || exit 1
51264 @endif target-libitm
51266 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
51267 maybe-distclean-target-libitm:
51268 @if target-libitm
51269 maybe-distclean-target-libitm: distclean-target-libitm
51271 distclean-target-libitm:
51272 @: $(MAKE); $(unstage)
51273 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51274 r=`${PWD_COMMAND}`; export r; \
51275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51276 $(NORMAL_TARGET_EXPORTS) \
51277 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
51278 for flag in $(EXTRA_TARGET_FLAGS); do \
51279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51280 done; \
51281 (cd $(TARGET_SUBDIR)/libitm && \
51282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51284 "RANLIB=$${RANLIB}" \
51285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51286 distclean) \
51287 || exit 1
51289 @endif target-libitm
51291 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
51292 maybe-maintainer-clean-target-libitm:
51293 @if target-libitm
51294 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
51296 maintainer-clean-target-libitm:
51297 @: $(MAKE); $(unstage)
51298 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51299 r=`${PWD_COMMAND}`; export r; \
51300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51301 $(NORMAL_TARGET_EXPORTS) \
51302 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
51303 for flag in $(EXTRA_TARGET_FLAGS); do \
51304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51305 done; \
51306 (cd $(TARGET_SUBDIR)/libitm && \
51307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51309 "RANLIB=$${RANLIB}" \
51310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51311 maintainer-clean) \
51312 || exit 1
51314 @endif target-libitm
51320 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
51321 maybe-configure-target-libatomic:
51322 @if gcc-bootstrap
51323 configure-target-libatomic: stage_current
51324 @endif gcc-bootstrap
51325 @if target-libatomic
51326 maybe-configure-target-libatomic: configure-target-libatomic
51327 configure-target-libatomic:
51328 @: $(MAKE); $(unstage)
51329 @r=`${PWD_COMMAND}`; export r; \
51330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51331 echo "Checking multilib configuration for libatomic..."; \
51332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51333 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
51334 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51335 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51336 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
51337 else \
51338 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
51339 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51340 fi; \
51341 else \
51342 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51343 fi; \
51344 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
51345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51346 $(NORMAL_TARGET_EXPORTS) \
51347 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
51348 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
51349 case $(srcdir) in \
51350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51351 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
51352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51353 esac; \
51354 module_srcdir=libatomic; \
51355 rm -f no-such-file || : ; \
51356 CONFIG_SITE=no-such-file $(SHELL) \
51357 $$s/$$module_srcdir/configure \
51358 --srcdir=$${topdir}/$$module_srcdir \
51359 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51360 --target=${target_alias} \
51361 || exit 1
51362 @endif target-libatomic
51368 .PHONY: all-target-libatomic maybe-all-target-libatomic
51369 maybe-all-target-libatomic:
51370 @if gcc-bootstrap
51371 all-target-libatomic: stage_current
51372 @endif gcc-bootstrap
51373 @if target-libatomic
51374 TARGET-target-libatomic=all
51375 maybe-all-target-libatomic: all-target-libatomic
51376 all-target-libatomic: configure-target-libatomic
51377 @: $(MAKE); $(unstage)
51378 @r=`${PWD_COMMAND}`; export r; \
51379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51380 $(NORMAL_TARGET_EXPORTS) \
51381 (cd $(TARGET_SUBDIR)/libatomic && \
51382 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51383 $(TARGET-target-libatomic))
51384 @endif target-libatomic
51390 .PHONY: check-target-libatomic maybe-check-target-libatomic
51391 maybe-check-target-libatomic:
51392 @if target-libatomic
51393 maybe-check-target-libatomic: check-target-libatomic
51395 check-target-libatomic:
51396 @: $(MAKE); $(unstage)
51397 @r=`${PWD_COMMAND}`; export r; \
51398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51399 $(NORMAL_TARGET_EXPORTS) \
51400 (cd $(TARGET_SUBDIR)/libatomic && \
51401 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51403 @endif target-libatomic
51405 .PHONY: install-target-libatomic maybe-install-target-libatomic
51406 maybe-install-target-libatomic:
51407 @if target-libatomic
51408 maybe-install-target-libatomic: install-target-libatomic
51410 install-target-libatomic: installdirs
51411 @: $(MAKE); $(unstage)
51412 @r=`${PWD_COMMAND}`; export r; \
51413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51414 $(NORMAL_TARGET_EXPORTS) \
51415 (cd $(TARGET_SUBDIR)/libatomic && \
51416 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51418 @endif target-libatomic
51420 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
51421 maybe-install-strip-target-libatomic:
51422 @if target-libatomic
51423 maybe-install-strip-target-libatomic: install-strip-target-libatomic
51425 install-strip-target-libatomic: installdirs
51426 @: $(MAKE); $(unstage)
51427 @r=`${PWD_COMMAND}`; export r; \
51428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51429 $(NORMAL_TARGET_EXPORTS) \
51430 (cd $(TARGET_SUBDIR)/libatomic && \
51431 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51433 @endif target-libatomic
51435 # Other targets (info, dvi, pdf, etc.)
51437 .PHONY: maybe-info-target-libatomic info-target-libatomic
51438 maybe-info-target-libatomic:
51439 @if target-libatomic
51440 maybe-info-target-libatomic: info-target-libatomic
51442 info-target-libatomic: \
51443 configure-target-libatomic
51444 @: $(MAKE); $(unstage)
51445 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51446 r=`${PWD_COMMAND}`; export r; \
51447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51448 $(NORMAL_TARGET_EXPORTS) \
51449 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
51450 for flag in $(EXTRA_TARGET_FLAGS); do \
51451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51452 done; \
51453 (cd $(TARGET_SUBDIR)/libatomic && \
51454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51456 "RANLIB=$${RANLIB}" \
51457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51458 info) \
51459 || exit 1
51461 @endif target-libatomic
51463 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
51464 maybe-dvi-target-libatomic:
51465 @if target-libatomic
51466 maybe-dvi-target-libatomic: dvi-target-libatomic
51468 dvi-target-libatomic: \
51469 configure-target-libatomic
51470 @: $(MAKE); $(unstage)
51471 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51472 r=`${PWD_COMMAND}`; export r; \
51473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51474 $(NORMAL_TARGET_EXPORTS) \
51475 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
51476 for flag in $(EXTRA_TARGET_FLAGS); do \
51477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51478 done; \
51479 (cd $(TARGET_SUBDIR)/libatomic && \
51480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51482 "RANLIB=$${RANLIB}" \
51483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51484 dvi) \
51485 || exit 1
51487 @endif target-libatomic
51489 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
51490 maybe-pdf-target-libatomic:
51491 @if target-libatomic
51492 maybe-pdf-target-libatomic: pdf-target-libatomic
51494 pdf-target-libatomic: \
51495 configure-target-libatomic
51496 @: $(MAKE); $(unstage)
51497 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51498 r=`${PWD_COMMAND}`; export r; \
51499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51500 $(NORMAL_TARGET_EXPORTS) \
51501 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
51502 for flag in $(EXTRA_TARGET_FLAGS); do \
51503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51504 done; \
51505 (cd $(TARGET_SUBDIR)/libatomic && \
51506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51508 "RANLIB=$${RANLIB}" \
51509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51510 pdf) \
51511 || exit 1
51513 @endif target-libatomic
51515 .PHONY: maybe-html-target-libatomic html-target-libatomic
51516 maybe-html-target-libatomic:
51517 @if target-libatomic
51518 maybe-html-target-libatomic: html-target-libatomic
51520 html-target-libatomic: \
51521 configure-target-libatomic
51522 @: $(MAKE); $(unstage)
51523 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51524 r=`${PWD_COMMAND}`; export r; \
51525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51526 $(NORMAL_TARGET_EXPORTS) \
51527 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
51528 for flag in $(EXTRA_TARGET_FLAGS); do \
51529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51530 done; \
51531 (cd $(TARGET_SUBDIR)/libatomic && \
51532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51534 "RANLIB=$${RANLIB}" \
51535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51536 html) \
51537 || exit 1
51539 @endif target-libatomic
51541 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
51542 maybe-TAGS-target-libatomic:
51543 @if target-libatomic
51544 maybe-TAGS-target-libatomic: TAGS-target-libatomic
51546 TAGS-target-libatomic: \
51547 configure-target-libatomic
51548 @: $(MAKE); $(unstage)
51549 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51550 r=`${PWD_COMMAND}`; export r; \
51551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51552 $(NORMAL_TARGET_EXPORTS) \
51553 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
51554 for flag in $(EXTRA_TARGET_FLAGS); do \
51555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51556 done; \
51557 (cd $(TARGET_SUBDIR)/libatomic && \
51558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51560 "RANLIB=$${RANLIB}" \
51561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51562 TAGS) \
51563 || exit 1
51565 @endif target-libatomic
51567 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
51568 maybe-install-info-target-libatomic:
51569 @if target-libatomic
51570 maybe-install-info-target-libatomic: install-info-target-libatomic
51572 install-info-target-libatomic: \
51573 configure-target-libatomic \
51574 info-target-libatomic
51575 @: $(MAKE); $(unstage)
51576 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51577 r=`${PWD_COMMAND}`; export r; \
51578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51579 $(NORMAL_TARGET_EXPORTS) \
51580 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
51581 for flag in $(EXTRA_TARGET_FLAGS); do \
51582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51583 done; \
51584 (cd $(TARGET_SUBDIR)/libatomic && \
51585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51587 "RANLIB=$${RANLIB}" \
51588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51589 install-info) \
51590 || exit 1
51592 @endif target-libatomic
51594 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
51595 maybe-install-pdf-target-libatomic:
51596 @if target-libatomic
51597 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
51599 install-pdf-target-libatomic: \
51600 configure-target-libatomic \
51601 pdf-target-libatomic
51602 @: $(MAKE); $(unstage)
51603 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51604 r=`${PWD_COMMAND}`; export r; \
51605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51606 $(NORMAL_TARGET_EXPORTS) \
51607 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
51608 for flag in $(EXTRA_TARGET_FLAGS); do \
51609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51610 done; \
51611 (cd $(TARGET_SUBDIR)/libatomic && \
51612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51614 "RANLIB=$${RANLIB}" \
51615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51616 install-pdf) \
51617 || exit 1
51619 @endif target-libatomic
51621 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
51622 maybe-install-html-target-libatomic:
51623 @if target-libatomic
51624 maybe-install-html-target-libatomic: install-html-target-libatomic
51626 install-html-target-libatomic: \
51627 configure-target-libatomic \
51628 html-target-libatomic
51629 @: $(MAKE); $(unstage)
51630 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51631 r=`${PWD_COMMAND}`; export r; \
51632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51633 $(NORMAL_TARGET_EXPORTS) \
51634 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
51635 for flag in $(EXTRA_TARGET_FLAGS); do \
51636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51637 done; \
51638 (cd $(TARGET_SUBDIR)/libatomic && \
51639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51641 "RANLIB=$${RANLIB}" \
51642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51643 install-html) \
51644 || exit 1
51646 @endif target-libatomic
51648 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
51649 maybe-installcheck-target-libatomic:
51650 @if target-libatomic
51651 maybe-installcheck-target-libatomic: installcheck-target-libatomic
51653 installcheck-target-libatomic: \
51654 configure-target-libatomic
51655 @: $(MAKE); $(unstage)
51656 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51657 r=`${PWD_COMMAND}`; export r; \
51658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51659 $(NORMAL_TARGET_EXPORTS) \
51660 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
51661 for flag in $(EXTRA_TARGET_FLAGS); do \
51662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51663 done; \
51664 (cd $(TARGET_SUBDIR)/libatomic && \
51665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51667 "RANLIB=$${RANLIB}" \
51668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51669 installcheck) \
51670 || exit 1
51672 @endif target-libatomic
51674 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
51675 maybe-mostlyclean-target-libatomic:
51676 @if target-libatomic
51677 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
51679 mostlyclean-target-libatomic:
51680 @: $(MAKE); $(unstage)
51681 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51682 r=`${PWD_COMMAND}`; export r; \
51683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51684 $(NORMAL_TARGET_EXPORTS) \
51685 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
51686 for flag in $(EXTRA_TARGET_FLAGS); do \
51687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51688 done; \
51689 (cd $(TARGET_SUBDIR)/libatomic && \
51690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51692 "RANLIB=$${RANLIB}" \
51693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51694 mostlyclean) \
51695 || exit 1
51697 @endif target-libatomic
51699 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
51700 maybe-clean-target-libatomic:
51701 @if target-libatomic
51702 maybe-clean-target-libatomic: clean-target-libatomic
51704 clean-target-libatomic:
51705 @: $(MAKE); $(unstage)
51706 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51707 r=`${PWD_COMMAND}`; export r; \
51708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51709 $(NORMAL_TARGET_EXPORTS) \
51710 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
51711 for flag in $(EXTRA_TARGET_FLAGS); do \
51712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51713 done; \
51714 (cd $(TARGET_SUBDIR)/libatomic && \
51715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51717 "RANLIB=$${RANLIB}" \
51718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51719 clean) \
51720 || exit 1
51722 @endif target-libatomic
51724 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
51725 maybe-distclean-target-libatomic:
51726 @if target-libatomic
51727 maybe-distclean-target-libatomic: distclean-target-libatomic
51729 distclean-target-libatomic:
51730 @: $(MAKE); $(unstage)
51731 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51732 r=`${PWD_COMMAND}`; export r; \
51733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51734 $(NORMAL_TARGET_EXPORTS) \
51735 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
51736 for flag in $(EXTRA_TARGET_FLAGS); do \
51737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51738 done; \
51739 (cd $(TARGET_SUBDIR)/libatomic && \
51740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51742 "RANLIB=$${RANLIB}" \
51743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51744 distclean) \
51745 || exit 1
51747 @endif target-libatomic
51749 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
51750 maybe-maintainer-clean-target-libatomic:
51751 @if target-libatomic
51752 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
51754 maintainer-clean-target-libatomic:
51755 @: $(MAKE); $(unstage)
51756 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51757 r=`${PWD_COMMAND}`; export r; \
51758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51759 $(NORMAL_TARGET_EXPORTS) \
51760 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
51761 for flag in $(EXTRA_TARGET_FLAGS); do \
51762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51763 done; \
51764 (cd $(TARGET_SUBDIR)/libatomic && \
51765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51767 "RANLIB=$${RANLIB}" \
51768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51769 maintainer-clean) \
51770 || exit 1
51772 @endif target-libatomic
51776 @if target-libgomp
51777 .PHONY: check-target-libgomp-c++
51778 check-target-libgomp-c++:
51779 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
51781 @endif target-libgomp
51783 @if target-libitm
51784 .PHONY: check-target-libitm-c++
51785 check-target-libitm-c++:
51786 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
51788 @endif target-libitm
51790 # ----------
51791 # GCC module
51792 # ----------
51794 @if gcc-no-bootstrap
51795 .PHONY: cross
51796 cross: all-build all-gas all-ld
51797 @r=`${PWD_COMMAND}`; export r; \
51798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51799 $(HOST_EXPORTS) \
51800 echo "Building the C and C++ compiler"; \
51801 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
51802 @r=`${PWD_COMMAND}`; export r; \
51803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51804 echo "Building runtime libraries"; \
51805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
51806 @endif gcc-no-bootstrap
51808 @if gcc
51810 .PHONY: check-gcc-c check-c
51811 check-gcc-c:
51812 r=`${PWD_COMMAND}`; export r; \
51813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51814 $(HOST_EXPORTS) \
51815 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
51816 check-c: check-gcc-c
51818 .PHONY: check-gcc-c++ check-c++
51819 check-gcc-c++:
51820 r=`${PWD_COMMAND}`; export r; \
51821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51822 $(HOST_EXPORTS) \
51823 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
51824 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
51826 .PHONY: check-gcc-fortran check-fortran
51827 check-gcc-fortran:
51828 r=`${PWD_COMMAND}`; export r; \
51829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51830 $(HOST_EXPORTS) \
51831 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
51832 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
51834 .PHONY: check-gcc-ada check-ada
51835 check-gcc-ada:
51836 r=`${PWD_COMMAND}`; export r; \
51837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51838 $(HOST_EXPORTS) \
51839 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
51840 check-ada: check-gcc-ada check-target-libada
51842 .PHONY: check-gcc-objc check-objc
51843 check-gcc-objc:
51844 r=`${PWD_COMMAND}`; export r; \
51845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51846 $(HOST_EXPORTS) \
51847 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
51848 check-objc: check-gcc-objc check-target-libobjc
51850 .PHONY: check-gcc-obj-c++ check-obj-c++
51851 check-gcc-obj-c++:
51852 r=`${PWD_COMMAND}`; export r; \
51853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51854 $(HOST_EXPORTS) \
51855 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
51856 check-obj-c++: check-gcc-obj-c++
51858 .PHONY: check-gcc-go check-go
51859 check-gcc-go:
51860 r=`${PWD_COMMAND}`; export r; \
51861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51862 $(HOST_EXPORTS) \
51863 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
51864 check-go: check-gcc-go check-target-libgo
51867 # The gcc part of install-no-fixedincludes, which relies on an intimate
51868 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
51869 .PHONY: gcc-install-no-fixedincludes
51870 gcc-install-no-fixedincludes:
51871 @if [ -f ./gcc/Makefile ]; then \
51872 r=`${PWD_COMMAND}`; export r; \
51873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51874 $(HOST_EXPORTS) \
51875 (cd ./gcc \
51876 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
51877 else true; fi
51878 @endif gcc
51880 # ---------------------
51881 # GCC bootstrap support
51882 # ---------------------
51884 # We track the current stage (the one in 'gcc') in the stage_current file.
51885 # stage_last instead tracks the stage that was built last. These targets
51886 # are dummy when toplevel bootstrap is not active.
51888 # While making host and target tools, symlinks to the final stage must be
51889 # there, so $(unstage) should be run at various points. To avoid excessive
51890 # recursive invocations of make, we "inline" them using a variable. These
51891 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
51892 # to avoid warnings from the GNU Make job server.
51894 unstage = :
51895 stage = :
51896 current_stage = ""
51898 @if gcc-bootstrap
51899 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
51900 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
51901 current_stage = "`cat stage_current 2> /dev/null`"
51902 @endif gcc-bootstrap
51904 .PHONY: unstage stage
51905 unstage:
51906 @: $(MAKE); $(unstage)
51907 stage:
51908 @: $(MAKE); $(stage)
51910 # Disable commands for lean bootstrap.
51911 LEAN = false
51913 # We name the build directories for the various stages "stage1-gcc",
51914 # "stage2-gcc","stage3-gcc", etc.
51916 # Since the 'compare' process will fail (on debugging information) if any
51917 # directory names are different, we need to link the gcc directory for
51918 # the previous stage to a constant name ('prev-gcc'), and to make the name of
51919 # the build directories constant as well. For the latter, we use naked names
51920 # like 'gcc', because the scripts in that directory assume it. We use
51921 # mv on platforms where symlinks to directories do not work or are not
51922 # reliable.
51924 # 'touch' doesn't work right on some platforms.
51925 STAMP = echo timestamp >
51927 # We only want to compare .o files, so set this!
51928 objext = .o
51931 .PHONY: stage1-start stage1-end
51933 stage1-start::
51934 @: $(MAKE); $(stage); \
51935 echo stage1 > stage_current; \
51936 echo stage1 > stage_last; \
51937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51938 @if bfd
51939 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
51940 mkdir stage1-bfd; \
51941 mv stage1-bfd bfd
51942 @endif bfd
51943 @if opcodes
51944 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
51945 mkdir stage1-opcodes; \
51946 mv stage1-opcodes opcodes
51947 @endif opcodes
51948 @if binutils
51949 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
51950 mkdir stage1-binutils; \
51951 mv stage1-binutils binutils
51952 @endif binutils
51953 @if fixincludes
51954 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
51955 mkdir stage1-fixincludes; \
51956 mv stage1-fixincludes fixincludes
51957 @endif fixincludes
51958 @if gas
51959 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
51960 mkdir stage1-gas; \
51961 mv stage1-gas gas
51962 @endif gas
51963 @if gcc
51964 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
51965 mkdir stage1-gcc; \
51966 mv stage1-gcc gcc
51967 @endif gcc
51968 @if gmp
51969 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
51970 mkdir stage1-gmp; \
51971 mv stage1-gmp gmp
51972 @endif gmp
51973 @if mpfr
51974 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
51975 mkdir stage1-mpfr; \
51976 mv stage1-mpfr mpfr
51977 @endif mpfr
51978 @if mpc
51979 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
51980 mkdir stage1-mpc; \
51981 mv stage1-mpc mpc
51982 @endif mpc
51983 @if isl
51984 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
51985 mkdir stage1-isl; \
51986 mv stage1-isl isl
51987 @endif isl
51988 @if libelf
51989 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
51990 mkdir stage1-libelf; \
51991 mv stage1-libelf libelf
51992 @endif libelf
51993 @if gold
51994 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
51995 mkdir stage1-gold; \
51996 mv stage1-gold gold
51997 @endif gold
51998 @if intl
51999 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52000 mkdir stage1-intl; \
52001 mv stage1-intl intl
52002 @endif intl
52003 @if ld
52004 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52005 mkdir stage1-ld; \
52006 mv stage1-ld ld
52007 @endif ld
52008 @if libbacktrace
52009 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52010 mkdir stage1-libbacktrace; \
52011 mv stage1-libbacktrace libbacktrace
52012 @endif libbacktrace
52013 @if libcpp
52014 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52015 mkdir stage1-libcpp; \
52016 mv stage1-libcpp libcpp
52017 @endif libcpp
52018 @if libdecnumber
52019 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52020 mkdir stage1-libdecnumber; \
52021 mv stage1-libdecnumber libdecnumber
52022 @endif libdecnumber
52023 @if libiberty
52024 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52025 mkdir stage1-libiberty; \
52026 mv stage1-libiberty libiberty
52027 @endif libiberty
52028 @if libiberty-linker-plugin
52029 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
52030 mkdir stage1-libiberty-linker-plugin; \
52031 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
52032 @endif libiberty-linker-plugin
52033 @if libiconv
52034 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
52035 mkdir stage1-libiconv; \
52036 mv stage1-libiconv libiconv
52037 @endif libiconv
52038 @if zlib
52039 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52040 mkdir stage1-zlib; \
52041 mv stage1-zlib zlib
52042 @endif zlib
52043 @if lto-plugin
52044 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
52045 mkdir stage1-lto-plugin; \
52046 mv stage1-lto-plugin lto-plugin
52047 @endif lto-plugin
52048 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52049 mkdir stage1-$(TARGET_SUBDIR); \
52050 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52052 stage1-end::
52053 @if bfd
52054 @if test -d $(HOST_SUBDIR)/bfd; then \
52055 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
52057 @endif bfd
52058 @if opcodes
52059 @if test -d $(HOST_SUBDIR)/opcodes; then \
52060 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
52062 @endif opcodes
52063 @if binutils
52064 @if test -d $(HOST_SUBDIR)/binutils; then \
52065 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
52067 @endif binutils
52068 @if fixincludes
52069 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52070 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
52072 @endif fixincludes
52073 @if gas
52074 @if test -d $(HOST_SUBDIR)/gas; then \
52075 cd $(HOST_SUBDIR); mv gas stage1-gas; \
52077 @endif gas
52078 @if gcc
52079 @if test -d $(HOST_SUBDIR)/gcc; then \
52080 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
52082 @endif gcc
52083 @if gmp
52084 @if test -d $(HOST_SUBDIR)/gmp; then \
52085 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
52087 @endif gmp
52088 @if mpfr
52089 @if test -d $(HOST_SUBDIR)/mpfr; then \
52090 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
52092 @endif mpfr
52093 @if mpc
52094 @if test -d $(HOST_SUBDIR)/mpc; then \
52095 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
52097 @endif mpc
52098 @if isl
52099 @if test -d $(HOST_SUBDIR)/isl; then \
52100 cd $(HOST_SUBDIR); mv isl stage1-isl; \
52102 @endif isl
52103 @if libelf
52104 @if test -d $(HOST_SUBDIR)/libelf; then \
52105 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
52107 @endif libelf
52108 @if gold
52109 @if test -d $(HOST_SUBDIR)/gold; then \
52110 cd $(HOST_SUBDIR); mv gold stage1-gold; \
52112 @endif gold
52113 @if intl
52114 @if test -d $(HOST_SUBDIR)/intl; then \
52115 cd $(HOST_SUBDIR); mv intl stage1-intl; \
52117 @endif intl
52118 @if ld
52119 @if test -d $(HOST_SUBDIR)/ld; then \
52120 cd $(HOST_SUBDIR); mv ld stage1-ld; \
52122 @endif ld
52123 @if libbacktrace
52124 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52125 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
52127 @endif libbacktrace
52128 @if libcpp
52129 @if test -d $(HOST_SUBDIR)/libcpp; then \
52130 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
52132 @endif libcpp
52133 @if libdecnumber
52134 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52135 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
52137 @endif libdecnumber
52138 @if libiberty
52139 @if test -d $(HOST_SUBDIR)/libiberty; then \
52140 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
52142 @endif libiberty
52143 @if libiberty-linker-plugin
52144 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52145 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
52147 @endif libiberty-linker-plugin
52148 @if libiconv
52149 @if test -d $(HOST_SUBDIR)/libiconv; then \
52150 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
52152 @endif libiconv
52153 @if zlib
52154 @if test -d $(HOST_SUBDIR)/zlib; then \
52155 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
52157 @endif zlib
52158 @if lto-plugin
52159 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52160 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
52162 @endif lto-plugin
52163 @if test -d $(TARGET_SUBDIR); then \
52164 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
52166 rm -f stage_current
52168 # Bubble a bug fix through all the stages up to stage 1. They are
52169 # remade, but not reconfigured. The next stage (if any) will not be
52170 # reconfigured either.
52171 .PHONY: stage1-bubble
52172 stage1-bubble::
52173 @r=`${PWD_COMMAND}`; export r; \
52174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52175 if test -f stage1-lean ; then \
52176 echo Skipping rebuild of stage1; \
52177 else \
52178 $(MAKE) stage1-start; \
52179 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52182 .PHONY: all-stage1 clean-stage1
52183 do-clean: clean-stage1
52185 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52186 # only possibility, but now it conflicts with no-bootstrap rules
52187 @if gcc-bootstrap
52192 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52194 .PHONY: distclean-stage1
52195 distclean-stage1::
52196 @: $(MAKE); $(stage)
52197 @test "`cat stage_last`" != stage1 || rm -f stage_last
52198 rm -rf stage1-*
52201 @endif gcc-bootstrap
52204 .PHONY: stage2-start stage2-end
52206 stage2-start::
52207 @: $(MAKE); $(stage); \
52208 echo stage2 > stage_current; \
52209 echo stage2 > stage_last; \
52210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52211 @if bfd
52212 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52213 mkdir stage2-bfd; \
52214 mv stage2-bfd bfd; \
52215 mv stage1-bfd prev-bfd || test -f stage1-lean
52216 @endif bfd
52217 @if opcodes
52218 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52219 mkdir stage2-opcodes; \
52220 mv stage2-opcodes opcodes; \
52221 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52222 @endif opcodes
52223 @if binutils
52224 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52225 mkdir stage2-binutils; \
52226 mv stage2-binutils binutils; \
52227 mv stage1-binutils prev-binutils || test -f stage1-lean
52228 @endif binutils
52229 @if fixincludes
52230 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
52231 mkdir stage2-fixincludes; \
52232 mv stage2-fixincludes fixincludes; \
52233 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
52234 @endif fixincludes
52235 @if gas
52236 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52237 mkdir stage2-gas; \
52238 mv stage2-gas gas; \
52239 mv stage1-gas prev-gas || test -f stage1-lean
52240 @endif gas
52241 @if gcc
52242 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52243 mkdir stage2-gcc; \
52244 mv stage2-gcc gcc; \
52245 mv stage1-gcc prev-gcc || test -f stage1-lean
52246 @endif gcc
52247 @if gmp
52248 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52249 mkdir stage2-gmp; \
52250 mv stage2-gmp gmp; \
52251 mv stage1-gmp prev-gmp || test -f stage1-lean
52252 @endif gmp
52253 @if mpfr
52254 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52255 mkdir stage2-mpfr; \
52256 mv stage2-mpfr mpfr; \
52257 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52258 @endif mpfr
52259 @if mpc
52260 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
52261 mkdir stage2-mpc; \
52262 mv stage2-mpc mpc; \
52263 mv stage1-mpc prev-mpc || test -f stage1-lean
52264 @endif mpc
52265 @if isl
52266 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
52267 mkdir stage2-isl; \
52268 mv stage2-isl isl; \
52269 mv stage1-isl prev-isl || test -f stage1-lean
52270 @endif isl
52271 @if libelf
52272 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
52273 mkdir stage2-libelf; \
52274 mv stage2-libelf libelf; \
52275 mv stage1-libelf prev-libelf || test -f stage1-lean
52276 @endif libelf
52277 @if gold
52278 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52279 mkdir stage2-gold; \
52280 mv stage2-gold gold; \
52281 mv stage1-gold prev-gold || test -f stage1-lean
52282 @endif gold
52283 @if intl
52284 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52285 mkdir stage2-intl; \
52286 mv stage2-intl intl; \
52287 mv stage1-intl prev-intl || test -f stage1-lean
52288 @endif intl
52289 @if ld
52290 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52291 mkdir stage2-ld; \
52292 mv stage2-ld ld; \
52293 mv stage1-ld prev-ld || test -f stage1-lean
52294 @endif ld
52295 @if libbacktrace
52296 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
52297 mkdir stage2-libbacktrace; \
52298 mv stage2-libbacktrace libbacktrace; \
52299 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
52300 @endif libbacktrace
52301 @if libcpp
52302 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52303 mkdir stage2-libcpp; \
52304 mv stage2-libcpp libcpp; \
52305 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52306 @endif libcpp
52307 @if libdecnumber
52308 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52309 mkdir stage2-libdecnumber; \
52310 mv stage2-libdecnumber libdecnumber; \
52311 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52312 @endif libdecnumber
52313 @if libiberty
52314 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52315 mkdir stage2-libiberty; \
52316 mv stage2-libiberty libiberty; \
52317 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52318 @endif libiberty
52319 @if libiberty-linker-plugin
52320 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
52321 mkdir stage2-libiberty-linker-plugin; \
52322 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
52323 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
52324 @endif libiberty-linker-plugin
52325 @if libiconv
52326 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
52327 mkdir stage2-libiconv; \
52328 mv stage2-libiconv libiconv; \
52329 mv stage1-libiconv prev-libiconv || test -f stage1-lean
52330 @endif libiconv
52331 @if zlib
52332 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52333 mkdir stage2-zlib; \
52334 mv stage2-zlib zlib; \
52335 mv stage1-zlib prev-zlib || test -f stage1-lean
52336 @endif zlib
52337 @if lto-plugin
52338 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
52339 mkdir stage2-lto-plugin; \
52340 mv stage2-lto-plugin lto-plugin; \
52341 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
52342 @endif lto-plugin
52343 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52344 mkdir stage2-$(TARGET_SUBDIR); \
52345 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52346 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52348 stage2-end::
52349 @if bfd
52350 @if test -d $(HOST_SUBDIR)/bfd; then \
52351 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
52352 mv prev-bfd stage1-bfd; : ; \
52354 @endif bfd
52355 @if opcodes
52356 @if test -d $(HOST_SUBDIR)/opcodes; then \
52357 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
52358 mv prev-opcodes stage1-opcodes; : ; \
52360 @endif opcodes
52361 @if binutils
52362 @if test -d $(HOST_SUBDIR)/binutils; then \
52363 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
52364 mv prev-binutils stage1-binutils; : ; \
52366 @endif binutils
52367 @if fixincludes
52368 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52369 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
52370 mv prev-fixincludes stage1-fixincludes; : ; \
52372 @endif fixincludes
52373 @if gas
52374 @if test -d $(HOST_SUBDIR)/gas; then \
52375 cd $(HOST_SUBDIR); mv gas stage2-gas; \
52376 mv prev-gas stage1-gas; : ; \
52378 @endif gas
52379 @if gcc
52380 @if test -d $(HOST_SUBDIR)/gcc; then \
52381 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
52382 mv prev-gcc stage1-gcc; : ; \
52384 @endif gcc
52385 @if gmp
52386 @if test -d $(HOST_SUBDIR)/gmp; then \
52387 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
52388 mv prev-gmp stage1-gmp; : ; \
52390 @endif gmp
52391 @if mpfr
52392 @if test -d $(HOST_SUBDIR)/mpfr; then \
52393 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
52394 mv prev-mpfr stage1-mpfr; : ; \
52396 @endif mpfr
52397 @if mpc
52398 @if test -d $(HOST_SUBDIR)/mpc; then \
52399 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
52400 mv prev-mpc stage1-mpc; : ; \
52402 @endif mpc
52403 @if isl
52404 @if test -d $(HOST_SUBDIR)/isl; then \
52405 cd $(HOST_SUBDIR); mv isl stage2-isl; \
52406 mv prev-isl stage1-isl; : ; \
52408 @endif isl
52409 @if libelf
52410 @if test -d $(HOST_SUBDIR)/libelf; then \
52411 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
52412 mv prev-libelf stage1-libelf; : ; \
52414 @endif libelf
52415 @if gold
52416 @if test -d $(HOST_SUBDIR)/gold; then \
52417 cd $(HOST_SUBDIR); mv gold stage2-gold; \
52418 mv prev-gold stage1-gold; : ; \
52420 @endif gold
52421 @if intl
52422 @if test -d $(HOST_SUBDIR)/intl; then \
52423 cd $(HOST_SUBDIR); mv intl stage2-intl; \
52424 mv prev-intl stage1-intl; : ; \
52426 @endif intl
52427 @if ld
52428 @if test -d $(HOST_SUBDIR)/ld; then \
52429 cd $(HOST_SUBDIR); mv ld stage2-ld; \
52430 mv prev-ld stage1-ld; : ; \
52432 @endif ld
52433 @if libbacktrace
52434 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52435 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
52436 mv prev-libbacktrace stage1-libbacktrace; : ; \
52438 @endif libbacktrace
52439 @if libcpp
52440 @if test -d $(HOST_SUBDIR)/libcpp; then \
52441 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
52442 mv prev-libcpp stage1-libcpp; : ; \
52444 @endif libcpp
52445 @if libdecnumber
52446 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52447 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
52448 mv prev-libdecnumber stage1-libdecnumber; : ; \
52450 @endif libdecnumber
52451 @if libiberty
52452 @if test -d $(HOST_SUBDIR)/libiberty; then \
52453 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
52454 mv prev-libiberty stage1-libiberty; : ; \
52456 @endif libiberty
52457 @if libiberty-linker-plugin
52458 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52459 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
52460 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
52462 @endif libiberty-linker-plugin
52463 @if libiconv
52464 @if test -d $(HOST_SUBDIR)/libiconv; then \
52465 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
52466 mv prev-libiconv stage1-libiconv; : ; \
52468 @endif libiconv
52469 @if zlib
52470 @if test -d $(HOST_SUBDIR)/zlib; then \
52471 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
52472 mv prev-zlib stage1-zlib; : ; \
52474 @endif zlib
52475 @if lto-plugin
52476 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52477 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
52478 mv prev-lto-plugin stage1-lto-plugin; : ; \
52480 @endif lto-plugin
52481 @if test -d $(TARGET_SUBDIR); then \
52482 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
52483 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
52485 rm -f stage_current
52487 # Bubble a bug fix through all the stages up to stage 2. They are
52488 # remade, but not reconfigured. The next stage (if any) will not be
52489 # reconfigured either.
52490 .PHONY: stage2-bubble
52491 stage2-bubble:: stage1-bubble
52492 @r=`${PWD_COMMAND}`; export r; \
52493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52494 if test -f stage2-lean || test -f stage1-lean ; then \
52495 echo Skipping rebuild of stage2; \
52496 else \
52497 $(MAKE) stage2-start; \
52498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
52501 .PHONY: all-stage2 clean-stage2
52502 do-clean: clean-stage2
52504 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52505 # only possibility, but now it conflicts with no-bootstrap rules
52506 @if gcc-bootstrap
52510 .PHONY: bootstrap2 bootstrap2-lean
52511 bootstrap2:
52512 echo stage2 > stage_final
52513 @r=`${PWD_COMMAND}`; export r; \
52514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52515 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
52516 @: $(MAKE); $(unstage)
52517 @r=`${PWD_COMMAND}`; export r; \
52518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52519 TFLAGS="$(STAGE2_TFLAGS)"; \
52520 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52522 bootstrap2-lean:
52523 echo stage2 > stage_final
52524 @r=`${PWD_COMMAND}`; export r; \
52525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52526 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
52527 @: $(MAKE); $(unstage)
52528 @r=`${PWD_COMMAND}`; export r; \
52529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52530 TFLAGS="$(STAGE2_TFLAGS)"; \
52531 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52534 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52535 distclean-stage1:: distclean-stage2
52536 .PHONY: distclean-stage2
52537 distclean-stage2::
52538 @: $(MAKE); $(stage)
52539 @test "`cat stage_last`" != stage2 || rm -f stage_last
52540 rm -rf stage2-*
52543 @endif gcc-bootstrap
52546 .PHONY: stage3-start stage3-end
52548 stage3-start::
52549 @: $(MAKE); $(stage); \
52550 echo stage3 > stage_current; \
52551 echo stage3 > stage_last; \
52552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52553 @if bfd
52554 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
52555 mkdir stage3-bfd; \
52556 mv stage3-bfd bfd; \
52557 mv stage2-bfd prev-bfd || test -f stage2-lean
52558 @endif bfd
52559 @if opcodes
52560 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
52561 mkdir stage3-opcodes; \
52562 mv stage3-opcodes opcodes; \
52563 mv stage2-opcodes prev-opcodes || test -f stage2-lean
52564 @endif opcodes
52565 @if binutils
52566 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
52567 mkdir stage3-binutils; \
52568 mv stage3-binutils binutils; \
52569 mv stage2-binutils prev-binutils || test -f stage2-lean
52570 @endif binutils
52571 @if fixincludes
52572 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
52573 mkdir stage3-fixincludes; \
52574 mv stage3-fixincludes fixincludes; \
52575 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
52576 @endif fixincludes
52577 @if gas
52578 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
52579 mkdir stage3-gas; \
52580 mv stage3-gas gas; \
52581 mv stage2-gas prev-gas || test -f stage2-lean
52582 @endif gas
52583 @if gcc
52584 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
52585 mkdir stage3-gcc; \
52586 mv stage3-gcc gcc; \
52587 mv stage2-gcc prev-gcc || test -f stage2-lean
52588 @endif gcc
52589 @if gmp
52590 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
52591 mkdir stage3-gmp; \
52592 mv stage3-gmp gmp; \
52593 mv stage2-gmp prev-gmp || test -f stage2-lean
52594 @endif gmp
52595 @if mpfr
52596 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
52597 mkdir stage3-mpfr; \
52598 mv stage3-mpfr mpfr; \
52599 mv stage2-mpfr prev-mpfr || test -f stage2-lean
52600 @endif mpfr
52601 @if mpc
52602 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
52603 mkdir stage3-mpc; \
52604 mv stage3-mpc mpc; \
52605 mv stage2-mpc prev-mpc || test -f stage2-lean
52606 @endif mpc
52607 @if isl
52608 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
52609 mkdir stage3-isl; \
52610 mv stage3-isl isl; \
52611 mv stage2-isl prev-isl || test -f stage2-lean
52612 @endif isl
52613 @if libelf
52614 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
52615 mkdir stage3-libelf; \
52616 mv stage3-libelf libelf; \
52617 mv stage2-libelf prev-libelf || test -f stage2-lean
52618 @endif libelf
52619 @if gold
52620 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
52621 mkdir stage3-gold; \
52622 mv stage3-gold gold; \
52623 mv stage2-gold prev-gold || test -f stage2-lean
52624 @endif gold
52625 @if intl
52626 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
52627 mkdir stage3-intl; \
52628 mv stage3-intl intl; \
52629 mv stage2-intl prev-intl || test -f stage2-lean
52630 @endif intl
52631 @if ld
52632 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
52633 mkdir stage3-ld; \
52634 mv stage3-ld ld; \
52635 mv stage2-ld prev-ld || test -f stage2-lean
52636 @endif ld
52637 @if libbacktrace
52638 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
52639 mkdir stage3-libbacktrace; \
52640 mv stage3-libbacktrace libbacktrace; \
52641 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
52642 @endif libbacktrace
52643 @if libcpp
52644 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
52645 mkdir stage3-libcpp; \
52646 mv stage3-libcpp libcpp; \
52647 mv stage2-libcpp prev-libcpp || test -f stage2-lean
52648 @endif libcpp
52649 @if libdecnumber
52650 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
52651 mkdir stage3-libdecnumber; \
52652 mv stage3-libdecnumber libdecnumber; \
52653 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
52654 @endif libdecnumber
52655 @if libiberty
52656 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
52657 mkdir stage3-libiberty; \
52658 mv stage3-libiberty libiberty; \
52659 mv stage2-libiberty prev-libiberty || test -f stage2-lean
52660 @endif libiberty
52661 @if libiberty-linker-plugin
52662 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
52663 mkdir stage3-libiberty-linker-plugin; \
52664 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
52665 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
52666 @endif libiberty-linker-plugin
52667 @if libiconv
52668 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
52669 mkdir stage3-libiconv; \
52670 mv stage3-libiconv libiconv; \
52671 mv stage2-libiconv prev-libiconv || test -f stage2-lean
52672 @endif libiconv
52673 @if zlib
52674 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
52675 mkdir stage3-zlib; \
52676 mv stage3-zlib zlib; \
52677 mv stage2-zlib prev-zlib || test -f stage2-lean
52678 @endif zlib
52679 @if lto-plugin
52680 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
52681 mkdir stage3-lto-plugin; \
52682 mv stage3-lto-plugin lto-plugin; \
52683 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
52684 @endif lto-plugin
52685 @[ -d stage3-$(TARGET_SUBDIR) ] || \
52686 mkdir stage3-$(TARGET_SUBDIR); \
52687 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52688 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
52690 stage3-end::
52691 @if bfd
52692 @if test -d $(HOST_SUBDIR)/bfd; then \
52693 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
52694 mv prev-bfd stage2-bfd; : ; \
52696 @endif bfd
52697 @if opcodes
52698 @if test -d $(HOST_SUBDIR)/opcodes; then \
52699 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
52700 mv prev-opcodes stage2-opcodes; : ; \
52702 @endif opcodes
52703 @if binutils
52704 @if test -d $(HOST_SUBDIR)/binutils; then \
52705 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
52706 mv prev-binutils stage2-binutils; : ; \
52708 @endif binutils
52709 @if fixincludes
52710 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52711 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
52712 mv prev-fixincludes stage2-fixincludes; : ; \
52714 @endif fixincludes
52715 @if gas
52716 @if test -d $(HOST_SUBDIR)/gas; then \
52717 cd $(HOST_SUBDIR); mv gas stage3-gas; \
52718 mv prev-gas stage2-gas; : ; \
52720 @endif gas
52721 @if gcc
52722 @if test -d $(HOST_SUBDIR)/gcc; then \
52723 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
52724 mv prev-gcc stage2-gcc; : ; \
52726 @endif gcc
52727 @if gmp
52728 @if test -d $(HOST_SUBDIR)/gmp; then \
52729 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
52730 mv prev-gmp stage2-gmp; : ; \
52732 @endif gmp
52733 @if mpfr
52734 @if test -d $(HOST_SUBDIR)/mpfr; then \
52735 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
52736 mv prev-mpfr stage2-mpfr; : ; \
52738 @endif mpfr
52739 @if mpc
52740 @if test -d $(HOST_SUBDIR)/mpc; then \
52741 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
52742 mv prev-mpc stage2-mpc; : ; \
52744 @endif mpc
52745 @if isl
52746 @if test -d $(HOST_SUBDIR)/isl; then \
52747 cd $(HOST_SUBDIR); mv isl stage3-isl; \
52748 mv prev-isl stage2-isl; : ; \
52750 @endif isl
52751 @if libelf
52752 @if test -d $(HOST_SUBDIR)/libelf; then \
52753 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
52754 mv prev-libelf stage2-libelf; : ; \
52756 @endif libelf
52757 @if gold
52758 @if test -d $(HOST_SUBDIR)/gold; then \
52759 cd $(HOST_SUBDIR); mv gold stage3-gold; \
52760 mv prev-gold stage2-gold; : ; \
52762 @endif gold
52763 @if intl
52764 @if test -d $(HOST_SUBDIR)/intl; then \
52765 cd $(HOST_SUBDIR); mv intl stage3-intl; \
52766 mv prev-intl stage2-intl; : ; \
52768 @endif intl
52769 @if ld
52770 @if test -d $(HOST_SUBDIR)/ld; then \
52771 cd $(HOST_SUBDIR); mv ld stage3-ld; \
52772 mv prev-ld stage2-ld; : ; \
52774 @endif ld
52775 @if libbacktrace
52776 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52777 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
52778 mv prev-libbacktrace stage2-libbacktrace; : ; \
52780 @endif libbacktrace
52781 @if libcpp
52782 @if test -d $(HOST_SUBDIR)/libcpp; then \
52783 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
52784 mv prev-libcpp stage2-libcpp; : ; \
52786 @endif libcpp
52787 @if libdecnumber
52788 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52789 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
52790 mv prev-libdecnumber stage2-libdecnumber; : ; \
52792 @endif libdecnumber
52793 @if libiberty
52794 @if test -d $(HOST_SUBDIR)/libiberty; then \
52795 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
52796 mv prev-libiberty stage2-libiberty; : ; \
52798 @endif libiberty
52799 @if libiberty-linker-plugin
52800 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52801 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
52802 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
52804 @endif libiberty-linker-plugin
52805 @if libiconv
52806 @if test -d $(HOST_SUBDIR)/libiconv; then \
52807 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
52808 mv prev-libiconv stage2-libiconv; : ; \
52810 @endif libiconv
52811 @if zlib
52812 @if test -d $(HOST_SUBDIR)/zlib; then \
52813 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
52814 mv prev-zlib stage2-zlib; : ; \
52816 @endif zlib
52817 @if lto-plugin
52818 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52819 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
52820 mv prev-lto-plugin stage2-lto-plugin; : ; \
52822 @endif lto-plugin
52823 @if test -d $(TARGET_SUBDIR); then \
52824 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
52825 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
52827 rm -f stage_current
52829 # Bubble a bug fix through all the stages up to stage 3. They are
52830 # remade, but not reconfigured. The next stage (if any) will not be
52831 # reconfigured either.
52832 .PHONY: stage3-bubble
52833 stage3-bubble:: stage2-bubble
52834 @r=`${PWD_COMMAND}`; export r; \
52835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52836 if test -f stage3-lean || test -f stage2-lean ; then \
52837 echo Skipping rebuild of stage3; \
52838 else \
52839 $(MAKE) stage3-start; \
52840 if $(LEAN); then \
52841 rm -rf stage1-*; \
52842 $(STAMP) stage1-lean; \
52843 fi; \
52844 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
52846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
52848 .PHONY: all-stage3 clean-stage3
52849 do-clean: clean-stage3
52851 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52852 # only possibility, but now it conflicts with no-bootstrap rules
52853 @if gcc-bootstrap
52855 compare:
52856 @r=`${PWD_COMMAND}`; export r; \
52857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52858 if test -f stage2-lean; then \
52859 echo Cannot compare object files as stage 2 was deleted.; \
52860 exit 0; \
52861 fi; \
52862 : $(MAKE); $(stage); \
52863 rm -f .bad_compare; \
52864 echo Comparing stages 2 and 3; \
52865 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
52866 files=`find stage3-* -name "*$(objext)" -print | \
52867 sed -n s,^stage$$sed-,,p`; \
52868 for file in $${files}; do \
52869 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
52870 if test ! -f $$f1; then continue; fi; \
52871 $(do-compare) > /dev/null 2>&1; \
52872 if test $$? -eq 1; then \
52873 case $$file in \
52874 @compare_exclusions@) \
52875 echo warning: $$file differs ;; \
52876 *) \
52877 echo $$file differs >> .bad_compare ;; \
52878 esac; \
52879 fi; \
52880 done; \
52881 if [ -f .bad_compare ]; then \
52882 echo "Bootstrap comparison failure!"; \
52883 cat .bad_compare; \
52884 exit 1; \
52885 else \
52886 echo Comparison successful.; \
52887 fi; \
52888 $(STAMP) compare
52889 if $(LEAN); then \
52890 rm -rf stage2-*; \
52891 $(STAMP) stage2-lean; \
52896 .PHONY: bootstrap bootstrap-lean
52897 bootstrap:
52898 echo stage3 > stage_final
52899 @r=`${PWD_COMMAND}`; export r; \
52900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52901 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52902 @: $(MAKE); $(unstage)
52903 @r=`${PWD_COMMAND}`; export r; \
52904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52905 TFLAGS="$(STAGE3_TFLAGS)"; \
52906 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52908 bootstrap-lean:
52909 echo stage3 > stage_final
52910 @r=`${PWD_COMMAND}`; export r; \
52911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52912 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
52913 @: $(MAKE); $(unstage)
52914 @r=`${PWD_COMMAND}`; export r; \
52915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52916 TFLAGS="$(STAGE3_TFLAGS)"; \
52917 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52920 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52921 distclean-stage2:: distclean-stage3
52922 .PHONY: distclean-stage3
52923 distclean-stage3::
52924 @: $(MAKE); $(stage)
52925 @test "`cat stage_last`" != stage3 || rm -f stage_last
52926 rm -rf stage3-* compare
52929 .PHONY: cleanstrap
52930 cleanstrap: do-distclean local-clean
52931 echo stage3 > stage_final
52932 @r=`${PWD_COMMAND}`; export r; \
52933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52934 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
52935 @: $(MAKE); $(unstage)
52936 @r=`${PWD_COMMAND}`; export r; \
52937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52938 TFLAGS="$(STAGE3_TFLAGS)"; \
52939 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52941 @endif gcc-bootstrap
52944 .PHONY: stage4-start stage4-end
52946 stage4-start::
52947 @: $(MAKE); $(stage); \
52948 echo stage4 > stage_current; \
52949 echo stage4 > stage_last; \
52950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52951 @if bfd
52952 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
52953 mkdir stage4-bfd; \
52954 mv stage4-bfd bfd; \
52955 mv stage3-bfd prev-bfd || test -f stage3-lean
52956 @endif bfd
52957 @if opcodes
52958 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
52959 mkdir stage4-opcodes; \
52960 mv stage4-opcodes opcodes; \
52961 mv stage3-opcodes prev-opcodes || test -f stage3-lean
52962 @endif opcodes
52963 @if binutils
52964 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
52965 mkdir stage4-binutils; \
52966 mv stage4-binutils binutils; \
52967 mv stage3-binutils prev-binutils || test -f stage3-lean
52968 @endif binutils
52969 @if fixincludes
52970 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
52971 mkdir stage4-fixincludes; \
52972 mv stage4-fixincludes fixincludes; \
52973 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
52974 @endif fixincludes
52975 @if gas
52976 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
52977 mkdir stage4-gas; \
52978 mv stage4-gas gas; \
52979 mv stage3-gas prev-gas || test -f stage3-lean
52980 @endif gas
52981 @if gcc
52982 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
52983 mkdir stage4-gcc; \
52984 mv stage4-gcc gcc; \
52985 mv stage3-gcc prev-gcc || test -f stage3-lean
52986 @endif gcc
52987 @if gmp
52988 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
52989 mkdir stage4-gmp; \
52990 mv stage4-gmp gmp; \
52991 mv stage3-gmp prev-gmp || test -f stage3-lean
52992 @endif gmp
52993 @if mpfr
52994 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
52995 mkdir stage4-mpfr; \
52996 mv stage4-mpfr mpfr; \
52997 mv stage3-mpfr prev-mpfr || test -f stage3-lean
52998 @endif mpfr
52999 @if mpc
53000 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53001 mkdir stage4-mpc; \
53002 mv stage4-mpc mpc; \
53003 mv stage3-mpc prev-mpc || test -f stage3-lean
53004 @endif mpc
53005 @if isl
53006 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53007 mkdir stage4-isl; \
53008 mv stage4-isl isl; \
53009 mv stage3-isl prev-isl || test -f stage3-lean
53010 @endif isl
53011 @if libelf
53012 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53013 mkdir stage4-libelf; \
53014 mv stage4-libelf libelf; \
53015 mv stage3-libelf prev-libelf || test -f stage3-lean
53016 @endif libelf
53017 @if gold
53018 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
53019 mkdir stage4-gold; \
53020 mv stage4-gold gold; \
53021 mv stage3-gold prev-gold || test -f stage3-lean
53022 @endif gold
53023 @if intl
53024 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
53025 mkdir stage4-intl; \
53026 mv stage4-intl intl; \
53027 mv stage3-intl prev-intl || test -f stage3-lean
53028 @endif intl
53029 @if ld
53030 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
53031 mkdir stage4-ld; \
53032 mv stage4-ld ld; \
53033 mv stage3-ld prev-ld || test -f stage3-lean
53034 @endif ld
53035 @if libbacktrace
53036 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
53037 mkdir stage4-libbacktrace; \
53038 mv stage4-libbacktrace libbacktrace; \
53039 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
53040 @endif libbacktrace
53041 @if libcpp
53042 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
53043 mkdir stage4-libcpp; \
53044 mv stage4-libcpp libcpp; \
53045 mv stage3-libcpp prev-libcpp || test -f stage3-lean
53046 @endif libcpp
53047 @if libdecnumber
53048 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
53049 mkdir stage4-libdecnumber; \
53050 mv stage4-libdecnumber libdecnumber; \
53051 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
53052 @endif libdecnumber
53053 @if libiberty
53054 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
53055 mkdir stage4-libiberty; \
53056 mv stage4-libiberty libiberty; \
53057 mv stage3-libiberty prev-libiberty || test -f stage3-lean
53058 @endif libiberty
53059 @if libiberty-linker-plugin
53060 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
53061 mkdir stage4-libiberty-linker-plugin; \
53062 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
53063 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
53064 @endif libiberty-linker-plugin
53065 @if libiconv
53066 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
53067 mkdir stage4-libiconv; \
53068 mv stage4-libiconv libiconv; \
53069 mv stage3-libiconv prev-libiconv || test -f stage3-lean
53070 @endif libiconv
53071 @if zlib
53072 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
53073 mkdir stage4-zlib; \
53074 mv stage4-zlib zlib; \
53075 mv stage3-zlib prev-zlib || test -f stage3-lean
53076 @endif zlib
53077 @if lto-plugin
53078 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
53079 mkdir stage4-lto-plugin; \
53080 mv stage4-lto-plugin lto-plugin; \
53081 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
53082 @endif lto-plugin
53083 @[ -d stage4-$(TARGET_SUBDIR) ] || \
53084 mkdir stage4-$(TARGET_SUBDIR); \
53085 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53086 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
53088 stage4-end::
53089 @if bfd
53090 @if test -d $(HOST_SUBDIR)/bfd; then \
53091 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
53092 mv prev-bfd stage3-bfd; : ; \
53094 @endif bfd
53095 @if opcodes
53096 @if test -d $(HOST_SUBDIR)/opcodes; then \
53097 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
53098 mv prev-opcodes stage3-opcodes; : ; \
53100 @endif opcodes
53101 @if binutils
53102 @if test -d $(HOST_SUBDIR)/binutils; then \
53103 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
53104 mv prev-binutils stage3-binutils; : ; \
53106 @endif binutils
53107 @if fixincludes
53108 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53109 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
53110 mv prev-fixincludes stage3-fixincludes; : ; \
53112 @endif fixincludes
53113 @if gas
53114 @if test -d $(HOST_SUBDIR)/gas; then \
53115 cd $(HOST_SUBDIR); mv gas stage4-gas; \
53116 mv prev-gas stage3-gas; : ; \
53118 @endif gas
53119 @if gcc
53120 @if test -d $(HOST_SUBDIR)/gcc; then \
53121 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
53122 mv prev-gcc stage3-gcc; : ; \
53124 @endif gcc
53125 @if gmp
53126 @if test -d $(HOST_SUBDIR)/gmp; then \
53127 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
53128 mv prev-gmp stage3-gmp; : ; \
53130 @endif gmp
53131 @if mpfr
53132 @if test -d $(HOST_SUBDIR)/mpfr; then \
53133 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
53134 mv prev-mpfr stage3-mpfr; : ; \
53136 @endif mpfr
53137 @if mpc
53138 @if test -d $(HOST_SUBDIR)/mpc; then \
53139 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
53140 mv prev-mpc stage3-mpc; : ; \
53142 @endif mpc
53143 @if isl
53144 @if test -d $(HOST_SUBDIR)/isl; then \
53145 cd $(HOST_SUBDIR); mv isl stage4-isl; \
53146 mv prev-isl stage3-isl; : ; \
53148 @endif isl
53149 @if libelf
53150 @if test -d $(HOST_SUBDIR)/libelf; then \
53151 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
53152 mv prev-libelf stage3-libelf; : ; \
53154 @endif libelf
53155 @if gold
53156 @if test -d $(HOST_SUBDIR)/gold; then \
53157 cd $(HOST_SUBDIR); mv gold stage4-gold; \
53158 mv prev-gold stage3-gold; : ; \
53160 @endif gold
53161 @if intl
53162 @if test -d $(HOST_SUBDIR)/intl; then \
53163 cd $(HOST_SUBDIR); mv intl stage4-intl; \
53164 mv prev-intl stage3-intl; : ; \
53166 @endif intl
53167 @if ld
53168 @if test -d $(HOST_SUBDIR)/ld; then \
53169 cd $(HOST_SUBDIR); mv ld stage4-ld; \
53170 mv prev-ld stage3-ld; : ; \
53172 @endif ld
53173 @if libbacktrace
53174 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53175 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
53176 mv prev-libbacktrace stage3-libbacktrace; : ; \
53178 @endif libbacktrace
53179 @if libcpp
53180 @if test -d $(HOST_SUBDIR)/libcpp; then \
53181 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
53182 mv prev-libcpp stage3-libcpp; : ; \
53184 @endif libcpp
53185 @if libdecnumber
53186 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53187 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
53188 mv prev-libdecnumber stage3-libdecnumber; : ; \
53190 @endif libdecnumber
53191 @if libiberty
53192 @if test -d $(HOST_SUBDIR)/libiberty; then \
53193 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
53194 mv prev-libiberty stage3-libiberty; : ; \
53196 @endif libiberty
53197 @if libiberty-linker-plugin
53198 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53199 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
53200 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
53202 @endif libiberty-linker-plugin
53203 @if libiconv
53204 @if test -d $(HOST_SUBDIR)/libiconv; then \
53205 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
53206 mv prev-libiconv stage3-libiconv; : ; \
53208 @endif libiconv
53209 @if zlib
53210 @if test -d $(HOST_SUBDIR)/zlib; then \
53211 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
53212 mv prev-zlib stage3-zlib; : ; \
53214 @endif zlib
53215 @if lto-plugin
53216 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53217 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
53218 mv prev-lto-plugin stage3-lto-plugin; : ; \
53220 @endif lto-plugin
53221 @if test -d $(TARGET_SUBDIR); then \
53222 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
53223 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
53225 rm -f stage_current
53227 # Bubble a bug fix through all the stages up to stage 4. They are
53228 # remade, but not reconfigured. The next stage (if any) will not be
53229 # reconfigured either.
53230 .PHONY: stage4-bubble
53231 stage4-bubble:: stage3-bubble
53232 @r=`${PWD_COMMAND}`; export r; \
53233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53234 if test -f stage4-lean || test -f stage3-lean ; then \
53235 echo Skipping rebuild of stage4; \
53236 else \
53237 $(MAKE) stage4-start; \
53238 if $(LEAN); then \
53239 rm -rf stage2-*; \
53240 $(STAMP) stage2-lean; \
53241 fi; \
53242 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
53244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
53246 .PHONY: all-stage4 clean-stage4
53247 do-clean: clean-stage4
53249 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53250 # only possibility, but now it conflicts with no-bootstrap rules
53251 @if gcc-bootstrap
53253 compare3:
53254 @r=`${PWD_COMMAND}`; export r; \
53255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53256 if test -f stage3-lean; then \
53257 echo Cannot compare object files as stage 3 was deleted.; \
53258 exit 0; \
53259 fi; \
53260 : $(MAKE); $(stage); \
53261 rm -f .bad_compare; \
53262 echo Comparing stages 3 and 4; \
53263 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
53264 files=`find stage4-* -name "*$(objext)" -print | \
53265 sed -n s,^stage$$sed-,,p`; \
53266 for file in $${files}; do \
53267 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
53268 if test ! -f $$f1; then continue; fi; \
53269 $(do-compare3) > /dev/null 2>&1; \
53270 if test $$? -eq 1; then \
53271 case $$file in \
53272 @compare_exclusions@) \
53273 echo warning: $$file differs ;; \
53274 *) \
53275 echo $$file differs >> .bad_compare ;; \
53276 esac; \
53277 fi; \
53278 done; \
53279 if [ -f .bad_compare ]; then \
53280 echo "Bootstrap comparison failure!"; \
53281 cat .bad_compare; \
53282 exit 1; \
53283 else \
53284 echo Comparison successful.; \
53285 fi; \
53286 $(STAMP) compare3
53287 if $(LEAN); then \
53288 rm -rf stage3-*; \
53289 $(STAMP) stage3-lean; \
53294 .PHONY: bootstrap4 bootstrap4-lean
53295 bootstrap4:
53296 echo stage4 > stage_final
53297 @r=`${PWD_COMMAND}`; export r; \
53298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53299 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
53300 @: $(MAKE); $(unstage)
53301 @r=`${PWD_COMMAND}`; export r; \
53302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53303 TFLAGS="$(STAGE4_TFLAGS)"; \
53304 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53306 bootstrap4-lean:
53307 echo stage4 > stage_final
53308 @r=`${PWD_COMMAND}`; export r; \
53309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53310 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
53311 @: $(MAKE); $(unstage)
53312 @r=`${PWD_COMMAND}`; export r; \
53313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53314 TFLAGS="$(STAGE4_TFLAGS)"; \
53315 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53318 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53319 distclean-stage3:: distclean-stage4
53320 .PHONY: distclean-stage4
53321 distclean-stage4::
53322 @: $(MAKE); $(stage)
53323 @test "`cat stage_last`" != stage4 || rm -f stage_last
53324 rm -rf stage4-* compare3
53327 @endif gcc-bootstrap
53330 .PHONY: stageprofile-start stageprofile-end
53332 stageprofile-start::
53333 @: $(MAKE); $(stage); \
53334 echo stageprofile > stage_current; \
53335 echo stageprofile > stage_last; \
53336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53337 @if bfd
53338 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
53339 mkdir stageprofile-bfd; \
53340 mv stageprofile-bfd bfd; \
53341 mv stage1-bfd prev-bfd || test -f stage1-lean
53342 @endif bfd
53343 @if opcodes
53344 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
53345 mkdir stageprofile-opcodes; \
53346 mv stageprofile-opcodes opcodes; \
53347 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53348 @endif opcodes
53349 @if binutils
53350 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
53351 mkdir stageprofile-binutils; \
53352 mv stageprofile-binutils binutils; \
53353 mv stage1-binutils prev-binutils || test -f stage1-lean
53354 @endif binutils
53355 @if fixincludes
53356 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
53357 mkdir stageprofile-fixincludes; \
53358 mv stageprofile-fixincludes fixincludes; \
53359 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53360 @endif fixincludes
53361 @if gas
53362 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
53363 mkdir stageprofile-gas; \
53364 mv stageprofile-gas gas; \
53365 mv stage1-gas prev-gas || test -f stage1-lean
53366 @endif gas
53367 @if gcc
53368 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
53369 mkdir stageprofile-gcc; \
53370 mv stageprofile-gcc gcc; \
53371 mv stage1-gcc prev-gcc || test -f stage1-lean
53372 @endif gcc
53373 @if gmp
53374 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
53375 mkdir stageprofile-gmp; \
53376 mv stageprofile-gmp gmp; \
53377 mv stage1-gmp prev-gmp || test -f stage1-lean
53378 @endif gmp
53379 @if mpfr
53380 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
53381 mkdir stageprofile-mpfr; \
53382 mv stageprofile-mpfr mpfr; \
53383 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53384 @endif mpfr
53385 @if mpc
53386 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
53387 mkdir stageprofile-mpc; \
53388 mv stageprofile-mpc mpc; \
53389 mv stage1-mpc prev-mpc || test -f stage1-lean
53390 @endif mpc
53391 @if isl
53392 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
53393 mkdir stageprofile-isl; \
53394 mv stageprofile-isl isl; \
53395 mv stage1-isl prev-isl || test -f stage1-lean
53396 @endif isl
53397 @if libelf
53398 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
53399 mkdir stageprofile-libelf; \
53400 mv stageprofile-libelf libelf; \
53401 mv stage1-libelf prev-libelf || test -f stage1-lean
53402 @endif libelf
53403 @if gold
53404 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
53405 mkdir stageprofile-gold; \
53406 mv stageprofile-gold gold; \
53407 mv stage1-gold prev-gold || test -f stage1-lean
53408 @endif gold
53409 @if intl
53410 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
53411 mkdir stageprofile-intl; \
53412 mv stageprofile-intl intl; \
53413 mv stage1-intl prev-intl || test -f stage1-lean
53414 @endif intl
53415 @if ld
53416 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
53417 mkdir stageprofile-ld; \
53418 mv stageprofile-ld ld; \
53419 mv stage1-ld prev-ld || test -f stage1-lean
53420 @endif ld
53421 @if libbacktrace
53422 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
53423 mkdir stageprofile-libbacktrace; \
53424 mv stageprofile-libbacktrace libbacktrace; \
53425 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53426 @endif libbacktrace
53427 @if libcpp
53428 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
53429 mkdir stageprofile-libcpp; \
53430 mv stageprofile-libcpp libcpp; \
53431 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53432 @endif libcpp
53433 @if libdecnumber
53434 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
53435 mkdir stageprofile-libdecnumber; \
53436 mv stageprofile-libdecnumber libdecnumber; \
53437 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53438 @endif libdecnumber
53439 @if libiberty
53440 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
53441 mkdir stageprofile-libiberty; \
53442 mv stageprofile-libiberty libiberty; \
53443 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53444 @endif libiberty
53445 @if libiberty-linker-plugin
53446 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
53447 mkdir stageprofile-libiberty-linker-plugin; \
53448 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
53449 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53450 @endif libiberty-linker-plugin
53451 @if libiconv
53452 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
53453 mkdir stageprofile-libiconv; \
53454 mv stageprofile-libiconv libiconv; \
53455 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53456 @endif libiconv
53457 @if zlib
53458 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
53459 mkdir stageprofile-zlib; \
53460 mv stageprofile-zlib zlib; \
53461 mv stage1-zlib prev-zlib || test -f stage1-lean
53462 @endif zlib
53463 @if lto-plugin
53464 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
53465 mkdir stageprofile-lto-plugin; \
53466 mv stageprofile-lto-plugin lto-plugin; \
53467 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53468 @endif lto-plugin
53469 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
53470 mkdir stageprofile-$(TARGET_SUBDIR); \
53471 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53472 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53474 stageprofile-end::
53475 @if bfd
53476 @if test -d $(HOST_SUBDIR)/bfd; then \
53477 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
53478 mv prev-bfd stage1-bfd; : ; \
53480 @endif bfd
53481 @if opcodes
53482 @if test -d $(HOST_SUBDIR)/opcodes; then \
53483 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
53484 mv prev-opcodes stage1-opcodes; : ; \
53486 @endif opcodes
53487 @if binutils
53488 @if test -d $(HOST_SUBDIR)/binutils; then \
53489 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
53490 mv prev-binutils stage1-binutils; : ; \
53492 @endif binutils
53493 @if fixincludes
53494 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53495 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
53496 mv prev-fixincludes stage1-fixincludes; : ; \
53498 @endif fixincludes
53499 @if gas
53500 @if test -d $(HOST_SUBDIR)/gas; then \
53501 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
53502 mv prev-gas stage1-gas; : ; \
53504 @endif gas
53505 @if gcc
53506 @if test -d $(HOST_SUBDIR)/gcc; then \
53507 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
53508 mv prev-gcc stage1-gcc; : ; \
53510 @endif gcc
53511 @if gmp
53512 @if test -d $(HOST_SUBDIR)/gmp; then \
53513 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
53514 mv prev-gmp stage1-gmp; : ; \
53516 @endif gmp
53517 @if mpfr
53518 @if test -d $(HOST_SUBDIR)/mpfr; then \
53519 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
53520 mv prev-mpfr stage1-mpfr; : ; \
53522 @endif mpfr
53523 @if mpc
53524 @if test -d $(HOST_SUBDIR)/mpc; then \
53525 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
53526 mv prev-mpc stage1-mpc; : ; \
53528 @endif mpc
53529 @if isl
53530 @if test -d $(HOST_SUBDIR)/isl; then \
53531 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
53532 mv prev-isl stage1-isl; : ; \
53534 @endif isl
53535 @if libelf
53536 @if test -d $(HOST_SUBDIR)/libelf; then \
53537 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
53538 mv prev-libelf stage1-libelf; : ; \
53540 @endif libelf
53541 @if gold
53542 @if test -d $(HOST_SUBDIR)/gold; then \
53543 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
53544 mv prev-gold stage1-gold; : ; \
53546 @endif gold
53547 @if intl
53548 @if test -d $(HOST_SUBDIR)/intl; then \
53549 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
53550 mv prev-intl stage1-intl; : ; \
53552 @endif intl
53553 @if ld
53554 @if test -d $(HOST_SUBDIR)/ld; then \
53555 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
53556 mv prev-ld stage1-ld; : ; \
53558 @endif ld
53559 @if libbacktrace
53560 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53561 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
53562 mv prev-libbacktrace stage1-libbacktrace; : ; \
53564 @endif libbacktrace
53565 @if libcpp
53566 @if test -d $(HOST_SUBDIR)/libcpp; then \
53567 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
53568 mv prev-libcpp stage1-libcpp; : ; \
53570 @endif libcpp
53571 @if libdecnumber
53572 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53573 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
53574 mv prev-libdecnumber stage1-libdecnumber; : ; \
53576 @endif libdecnumber
53577 @if libiberty
53578 @if test -d $(HOST_SUBDIR)/libiberty; then \
53579 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
53580 mv prev-libiberty stage1-libiberty; : ; \
53582 @endif libiberty
53583 @if libiberty-linker-plugin
53584 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53585 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
53586 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
53588 @endif libiberty-linker-plugin
53589 @if libiconv
53590 @if test -d $(HOST_SUBDIR)/libiconv; then \
53591 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
53592 mv prev-libiconv stage1-libiconv; : ; \
53594 @endif libiconv
53595 @if zlib
53596 @if test -d $(HOST_SUBDIR)/zlib; then \
53597 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
53598 mv prev-zlib stage1-zlib; : ; \
53600 @endif zlib
53601 @if lto-plugin
53602 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53603 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
53604 mv prev-lto-plugin stage1-lto-plugin; : ; \
53606 @endif lto-plugin
53607 @if test -d $(TARGET_SUBDIR); then \
53608 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
53609 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
53611 rm -f stage_current
53613 # Bubble a bug fix through all the stages up to stage profile. They are
53614 # remade, but not reconfigured. The next stage (if any) will not be
53615 # reconfigured either.
53616 .PHONY: stageprofile-bubble
53617 stageprofile-bubble:: stage1-bubble
53618 @r=`${PWD_COMMAND}`; export r; \
53619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53620 if test -f stageprofile-lean || test -f stage1-lean ; then \
53621 echo Skipping rebuild of stageprofile; \
53622 else \
53623 $(MAKE) stageprofile-start; \
53624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
53627 .PHONY: all-stageprofile clean-stageprofile
53628 do-clean: clean-stageprofile
53630 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53631 # only possibility, but now it conflicts with no-bootstrap rules
53632 @if gcc-bootstrap
53637 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53638 distclean-stage1:: distclean-stageprofile
53639 .PHONY: distclean-stageprofile
53640 distclean-stageprofile::
53641 @: $(MAKE); $(stage)
53642 @test "`cat stage_last`" != stageprofile || rm -f stage_last
53643 rm -rf stageprofile-*
53646 @endif gcc-bootstrap
53649 .PHONY: stagefeedback-start stagefeedback-end
53651 stagefeedback-start::
53652 @: $(MAKE); $(stage); \
53653 echo stagefeedback > stage_current; \
53654 echo stagefeedback > stage_last; \
53655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53656 @if bfd
53657 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
53658 mkdir stagefeedback-bfd; \
53659 mv stagefeedback-bfd bfd; \
53660 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
53661 @endif bfd
53662 @if opcodes
53663 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
53664 mkdir stagefeedback-opcodes; \
53665 mv stagefeedback-opcodes opcodes; \
53666 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
53667 @endif opcodes
53668 @if binutils
53669 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
53670 mkdir stagefeedback-binutils; \
53671 mv stagefeedback-binutils binutils; \
53672 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
53673 @endif binutils
53674 @if fixincludes
53675 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
53676 mkdir stagefeedback-fixincludes; \
53677 mv stagefeedback-fixincludes fixincludes; \
53678 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
53679 @endif fixincludes
53680 @if gas
53681 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
53682 mkdir stagefeedback-gas; \
53683 mv stagefeedback-gas gas; \
53684 mv stageprofile-gas prev-gas || test -f stageprofile-lean
53685 @endif gas
53686 @if gcc
53687 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
53688 mkdir stagefeedback-gcc; \
53689 mv stagefeedback-gcc gcc; \
53690 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
53691 @endif gcc
53692 @if gmp
53693 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
53694 mkdir stagefeedback-gmp; \
53695 mv stagefeedback-gmp gmp; \
53696 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
53697 @endif gmp
53698 @if mpfr
53699 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
53700 mkdir stagefeedback-mpfr; \
53701 mv stagefeedback-mpfr mpfr; \
53702 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
53703 @endif mpfr
53704 @if mpc
53705 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
53706 mkdir stagefeedback-mpc; \
53707 mv stagefeedback-mpc mpc; \
53708 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
53709 @endif mpc
53710 @if isl
53711 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
53712 mkdir stagefeedback-isl; \
53713 mv stagefeedback-isl isl; \
53714 mv stageprofile-isl prev-isl || test -f stageprofile-lean
53715 @endif isl
53716 @if libelf
53717 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
53718 mkdir stagefeedback-libelf; \
53719 mv stagefeedback-libelf libelf; \
53720 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
53721 @endif libelf
53722 @if gold
53723 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
53724 mkdir stagefeedback-gold; \
53725 mv stagefeedback-gold gold; \
53726 mv stageprofile-gold prev-gold || test -f stageprofile-lean
53727 @endif gold
53728 @if intl
53729 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
53730 mkdir stagefeedback-intl; \
53731 mv stagefeedback-intl intl; \
53732 mv stageprofile-intl prev-intl || test -f stageprofile-lean
53733 @endif intl
53734 @if ld
53735 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
53736 mkdir stagefeedback-ld; \
53737 mv stagefeedback-ld ld; \
53738 mv stageprofile-ld prev-ld || test -f stageprofile-lean
53739 @endif ld
53740 @if libbacktrace
53741 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
53742 mkdir stagefeedback-libbacktrace; \
53743 mv stagefeedback-libbacktrace libbacktrace; \
53744 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
53745 @endif libbacktrace
53746 @if libcpp
53747 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
53748 mkdir stagefeedback-libcpp; \
53749 mv stagefeedback-libcpp libcpp; \
53750 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
53751 @endif libcpp
53752 @if libdecnumber
53753 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
53754 mkdir stagefeedback-libdecnumber; \
53755 mv stagefeedback-libdecnumber libdecnumber; \
53756 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
53757 @endif libdecnumber
53758 @if libiberty
53759 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
53760 mkdir stagefeedback-libiberty; \
53761 mv stagefeedback-libiberty libiberty; \
53762 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
53763 @endif libiberty
53764 @if libiberty-linker-plugin
53765 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
53766 mkdir stagefeedback-libiberty-linker-plugin; \
53767 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
53768 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
53769 @endif libiberty-linker-plugin
53770 @if libiconv
53771 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
53772 mkdir stagefeedback-libiconv; \
53773 mv stagefeedback-libiconv libiconv; \
53774 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
53775 @endif libiconv
53776 @if zlib
53777 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
53778 mkdir stagefeedback-zlib; \
53779 mv stagefeedback-zlib zlib; \
53780 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
53781 @endif zlib
53782 @if lto-plugin
53783 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
53784 mkdir stagefeedback-lto-plugin; \
53785 mv stagefeedback-lto-plugin lto-plugin; \
53786 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
53787 @endif lto-plugin
53788 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
53789 mkdir stagefeedback-$(TARGET_SUBDIR); \
53790 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53791 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
53793 stagefeedback-end::
53794 @if bfd
53795 @if test -d $(HOST_SUBDIR)/bfd; then \
53796 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
53797 mv prev-bfd stageprofile-bfd; : ; \
53799 @endif bfd
53800 @if opcodes
53801 @if test -d $(HOST_SUBDIR)/opcodes; then \
53802 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
53803 mv prev-opcodes stageprofile-opcodes; : ; \
53805 @endif opcodes
53806 @if binutils
53807 @if test -d $(HOST_SUBDIR)/binutils; then \
53808 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
53809 mv prev-binutils stageprofile-binutils; : ; \
53811 @endif binutils
53812 @if fixincludes
53813 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53814 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
53815 mv prev-fixincludes stageprofile-fixincludes; : ; \
53817 @endif fixincludes
53818 @if gas
53819 @if test -d $(HOST_SUBDIR)/gas; then \
53820 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
53821 mv prev-gas stageprofile-gas; : ; \
53823 @endif gas
53824 @if gcc
53825 @if test -d $(HOST_SUBDIR)/gcc; then \
53826 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
53827 mv prev-gcc stageprofile-gcc; : ; \
53829 @endif gcc
53830 @if gmp
53831 @if test -d $(HOST_SUBDIR)/gmp; then \
53832 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
53833 mv prev-gmp stageprofile-gmp; : ; \
53835 @endif gmp
53836 @if mpfr
53837 @if test -d $(HOST_SUBDIR)/mpfr; then \
53838 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
53839 mv prev-mpfr stageprofile-mpfr; : ; \
53841 @endif mpfr
53842 @if mpc
53843 @if test -d $(HOST_SUBDIR)/mpc; then \
53844 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
53845 mv prev-mpc stageprofile-mpc; : ; \
53847 @endif mpc
53848 @if isl
53849 @if test -d $(HOST_SUBDIR)/isl; then \
53850 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
53851 mv prev-isl stageprofile-isl; : ; \
53853 @endif isl
53854 @if libelf
53855 @if test -d $(HOST_SUBDIR)/libelf; then \
53856 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
53857 mv prev-libelf stageprofile-libelf; : ; \
53859 @endif libelf
53860 @if gold
53861 @if test -d $(HOST_SUBDIR)/gold; then \
53862 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
53863 mv prev-gold stageprofile-gold; : ; \
53865 @endif gold
53866 @if intl
53867 @if test -d $(HOST_SUBDIR)/intl; then \
53868 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
53869 mv prev-intl stageprofile-intl; : ; \
53871 @endif intl
53872 @if ld
53873 @if test -d $(HOST_SUBDIR)/ld; then \
53874 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
53875 mv prev-ld stageprofile-ld; : ; \
53877 @endif ld
53878 @if libbacktrace
53879 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53880 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
53881 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
53883 @endif libbacktrace
53884 @if libcpp
53885 @if test -d $(HOST_SUBDIR)/libcpp; then \
53886 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
53887 mv prev-libcpp stageprofile-libcpp; : ; \
53889 @endif libcpp
53890 @if libdecnumber
53891 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53892 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
53893 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
53895 @endif libdecnumber
53896 @if libiberty
53897 @if test -d $(HOST_SUBDIR)/libiberty; then \
53898 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
53899 mv prev-libiberty stageprofile-libiberty; : ; \
53901 @endif libiberty
53902 @if libiberty-linker-plugin
53903 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53904 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
53905 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
53907 @endif libiberty-linker-plugin
53908 @if libiconv
53909 @if test -d $(HOST_SUBDIR)/libiconv; then \
53910 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
53911 mv prev-libiconv stageprofile-libiconv; : ; \
53913 @endif libiconv
53914 @if zlib
53915 @if test -d $(HOST_SUBDIR)/zlib; then \
53916 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
53917 mv prev-zlib stageprofile-zlib; : ; \
53919 @endif zlib
53920 @if lto-plugin
53921 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53922 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
53923 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
53925 @endif lto-plugin
53926 @if test -d $(TARGET_SUBDIR); then \
53927 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
53928 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
53930 rm -f stage_current
53932 # Bubble a bug fix through all the stages up to stage feedback. They are
53933 # remade, but not reconfigured. The next stage (if any) will not be
53934 # reconfigured either.
53935 .PHONY: stagefeedback-bubble
53936 stagefeedback-bubble:: stageprofile-bubble
53937 @r=`${PWD_COMMAND}`; export r; \
53938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53939 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
53940 echo Skipping rebuild of stagefeedback; \
53941 else \
53942 $(MAKE) stagefeedback-start; \
53943 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
53946 .PHONY: all-stagefeedback clean-stagefeedback
53947 do-clean: clean-stagefeedback
53949 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53950 # only possibility, but now it conflicts with no-bootstrap rules
53951 @if gcc-bootstrap
53955 .PHONY: profiledbootstrap profiledbootstrap-lean
53956 profiledbootstrap:
53957 echo stagefeedback > stage_final
53958 @r=`${PWD_COMMAND}`; export r; \
53959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53960 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
53961 @: $(MAKE); $(unstage)
53962 @r=`${PWD_COMMAND}`; export r; \
53963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53964 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53965 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53967 profiledbootstrap-lean:
53968 echo stagefeedback > stage_final
53969 @r=`${PWD_COMMAND}`; export r; \
53970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
53972 @: $(MAKE); $(unstage)
53973 @r=`${PWD_COMMAND}`; export r; \
53974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53975 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53976 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53979 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53980 distclean-stageprofile:: distclean-stagefeedback
53981 .PHONY: distclean-stagefeedback
53982 distclean-stagefeedback::
53983 @: $(MAKE); $(stage)
53984 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
53985 rm -rf stagefeedback-*
53988 @endif gcc-bootstrap
53991 .PHONY: stageautoprofile-start stageautoprofile-end
53993 stageautoprofile-start::
53994 @: $(MAKE); $(stage); \
53995 echo stageautoprofile > stage_current; \
53996 echo stageautoprofile > stage_last; \
53997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53998 @if bfd
53999 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
54000 mkdir stageautoprofile-bfd; \
54001 mv stageautoprofile-bfd bfd; \
54002 mv stage1-bfd prev-bfd || test -f stage1-lean
54003 @endif bfd
54004 @if opcodes
54005 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
54006 mkdir stageautoprofile-opcodes; \
54007 mv stageautoprofile-opcodes opcodes; \
54008 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54009 @endif opcodes
54010 @if binutils
54011 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
54012 mkdir stageautoprofile-binutils; \
54013 mv stageautoprofile-binutils binutils; \
54014 mv stage1-binutils prev-binutils || test -f stage1-lean
54015 @endif binutils
54016 @if fixincludes
54017 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
54018 mkdir stageautoprofile-fixincludes; \
54019 mv stageautoprofile-fixincludes fixincludes; \
54020 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54021 @endif fixincludes
54022 @if gas
54023 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
54024 mkdir stageautoprofile-gas; \
54025 mv stageautoprofile-gas gas; \
54026 mv stage1-gas prev-gas || test -f stage1-lean
54027 @endif gas
54028 @if gcc
54029 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
54030 mkdir stageautoprofile-gcc; \
54031 mv stageautoprofile-gcc gcc; \
54032 mv stage1-gcc prev-gcc || test -f stage1-lean
54033 @endif gcc
54034 @if gmp
54035 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
54036 mkdir stageautoprofile-gmp; \
54037 mv stageautoprofile-gmp gmp; \
54038 mv stage1-gmp prev-gmp || test -f stage1-lean
54039 @endif gmp
54040 @if mpfr
54041 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
54042 mkdir stageautoprofile-mpfr; \
54043 mv stageautoprofile-mpfr mpfr; \
54044 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54045 @endif mpfr
54046 @if mpc
54047 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
54048 mkdir stageautoprofile-mpc; \
54049 mv stageautoprofile-mpc mpc; \
54050 mv stage1-mpc prev-mpc || test -f stage1-lean
54051 @endif mpc
54052 @if isl
54053 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
54054 mkdir stageautoprofile-isl; \
54055 mv stageautoprofile-isl isl; \
54056 mv stage1-isl prev-isl || test -f stage1-lean
54057 @endif isl
54058 @if libelf
54059 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
54060 mkdir stageautoprofile-libelf; \
54061 mv stageautoprofile-libelf libelf; \
54062 mv stage1-libelf prev-libelf || test -f stage1-lean
54063 @endif libelf
54064 @if gold
54065 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
54066 mkdir stageautoprofile-gold; \
54067 mv stageautoprofile-gold gold; \
54068 mv stage1-gold prev-gold || test -f stage1-lean
54069 @endif gold
54070 @if intl
54071 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
54072 mkdir stageautoprofile-intl; \
54073 mv stageautoprofile-intl intl; \
54074 mv stage1-intl prev-intl || test -f stage1-lean
54075 @endif intl
54076 @if ld
54077 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
54078 mkdir stageautoprofile-ld; \
54079 mv stageautoprofile-ld ld; \
54080 mv stage1-ld prev-ld || test -f stage1-lean
54081 @endif ld
54082 @if libbacktrace
54083 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
54084 mkdir stageautoprofile-libbacktrace; \
54085 mv stageautoprofile-libbacktrace libbacktrace; \
54086 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54087 @endif libbacktrace
54088 @if libcpp
54089 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
54090 mkdir stageautoprofile-libcpp; \
54091 mv stageautoprofile-libcpp libcpp; \
54092 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54093 @endif libcpp
54094 @if libdecnumber
54095 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
54096 mkdir stageautoprofile-libdecnumber; \
54097 mv stageautoprofile-libdecnumber libdecnumber; \
54098 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54099 @endif libdecnumber
54100 @if libiberty
54101 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
54102 mkdir stageautoprofile-libiberty; \
54103 mv stageautoprofile-libiberty libiberty; \
54104 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54105 @endif libiberty
54106 @if libiberty-linker-plugin
54107 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
54108 mkdir stageautoprofile-libiberty-linker-plugin; \
54109 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54110 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54111 @endif libiberty-linker-plugin
54112 @if libiconv
54113 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
54114 mkdir stageautoprofile-libiconv; \
54115 mv stageautoprofile-libiconv libiconv; \
54116 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54117 @endif libiconv
54118 @if zlib
54119 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
54120 mkdir stageautoprofile-zlib; \
54121 mv stageautoprofile-zlib zlib; \
54122 mv stage1-zlib prev-zlib || test -f stage1-lean
54123 @endif zlib
54124 @if lto-plugin
54125 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
54126 mkdir stageautoprofile-lto-plugin; \
54127 mv stageautoprofile-lto-plugin lto-plugin; \
54128 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54129 @endif lto-plugin
54130 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
54131 mkdir stageautoprofile-$(TARGET_SUBDIR); \
54132 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54133 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54135 stageautoprofile-end::
54136 @if bfd
54137 @if test -d $(HOST_SUBDIR)/bfd; then \
54138 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
54139 mv prev-bfd stage1-bfd; : ; \
54141 @endif bfd
54142 @if opcodes
54143 @if test -d $(HOST_SUBDIR)/opcodes; then \
54144 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
54145 mv prev-opcodes stage1-opcodes; : ; \
54147 @endif opcodes
54148 @if binutils
54149 @if test -d $(HOST_SUBDIR)/binutils; then \
54150 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
54151 mv prev-binutils stage1-binutils; : ; \
54153 @endif binutils
54154 @if fixincludes
54155 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54156 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
54157 mv prev-fixincludes stage1-fixincludes; : ; \
54159 @endif fixincludes
54160 @if gas
54161 @if test -d $(HOST_SUBDIR)/gas; then \
54162 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
54163 mv prev-gas stage1-gas; : ; \
54165 @endif gas
54166 @if gcc
54167 @if test -d $(HOST_SUBDIR)/gcc; then \
54168 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
54169 mv prev-gcc stage1-gcc; : ; \
54171 @endif gcc
54172 @if gmp
54173 @if test -d $(HOST_SUBDIR)/gmp; then \
54174 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
54175 mv prev-gmp stage1-gmp; : ; \
54177 @endif gmp
54178 @if mpfr
54179 @if test -d $(HOST_SUBDIR)/mpfr; then \
54180 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
54181 mv prev-mpfr stage1-mpfr; : ; \
54183 @endif mpfr
54184 @if mpc
54185 @if test -d $(HOST_SUBDIR)/mpc; then \
54186 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
54187 mv prev-mpc stage1-mpc; : ; \
54189 @endif mpc
54190 @if isl
54191 @if test -d $(HOST_SUBDIR)/isl; then \
54192 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
54193 mv prev-isl stage1-isl; : ; \
54195 @endif isl
54196 @if libelf
54197 @if test -d $(HOST_SUBDIR)/libelf; then \
54198 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
54199 mv prev-libelf stage1-libelf; : ; \
54201 @endif libelf
54202 @if gold
54203 @if test -d $(HOST_SUBDIR)/gold; then \
54204 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
54205 mv prev-gold stage1-gold; : ; \
54207 @endif gold
54208 @if intl
54209 @if test -d $(HOST_SUBDIR)/intl; then \
54210 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
54211 mv prev-intl stage1-intl; : ; \
54213 @endif intl
54214 @if ld
54215 @if test -d $(HOST_SUBDIR)/ld; then \
54216 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
54217 mv prev-ld stage1-ld; : ; \
54219 @endif ld
54220 @if libbacktrace
54221 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54222 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
54223 mv prev-libbacktrace stage1-libbacktrace; : ; \
54225 @endif libbacktrace
54226 @if libcpp
54227 @if test -d $(HOST_SUBDIR)/libcpp; then \
54228 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
54229 mv prev-libcpp stage1-libcpp; : ; \
54231 @endif libcpp
54232 @if libdecnumber
54233 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54234 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
54235 mv prev-libdecnumber stage1-libdecnumber; : ; \
54237 @endif libdecnumber
54238 @if libiberty
54239 @if test -d $(HOST_SUBDIR)/libiberty; then \
54240 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
54241 mv prev-libiberty stage1-libiberty; : ; \
54243 @endif libiberty
54244 @if libiberty-linker-plugin
54245 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54246 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
54247 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54249 @endif libiberty-linker-plugin
54250 @if libiconv
54251 @if test -d $(HOST_SUBDIR)/libiconv; then \
54252 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
54253 mv prev-libiconv stage1-libiconv; : ; \
54255 @endif libiconv
54256 @if zlib
54257 @if test -d $(HOST_SUBDIR)/zlib; then \
54258 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
54259 mv prev-zlib stage1-zlib; : ; \
54261 @endif zlib
54262 @if lto-plugin
54263 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54264 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
54265 mv prev-lto-plugin stage1-lto-plugin; : ; \
54267 @endif lto-plugin
54268 @if test -d $(TARGET_SUBDIR); then \
54269 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
54270 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54272 rm -f stage_current
54274 # Bubble a bug fix through all the stages up to stage autoprofile. They are
54275 # remade, but not reconfigured. The next stage (if any) will not be
54276 # reconfigured either.
54277 .PHONY: stageautoprofile-bubble
54278 stageautoprofile-bubble:: stage1-bubble
54279 @r=`${PWD_COMMAND}`; export r; \
54280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54281 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
54282 echo Skipping rebuild of stageautoprofile; \
54283 else \
54284 $(MAKE) stageautoprofile-start; \
54285 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
54288 .PHONY: all-stageautoprofile clean-stageautoprofile
54289 do-clean: clean-stageautoprofile
54291 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54292 # only possibility, but now it conflicts with no-bootstrap rules
54293 @if gcc-bootstrap
54298 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54299 distclean-stage1:: distclean-stageautoprofile
54300 .PHONY: distclean-stageautoprofile
54301 distclean-stageautoprofile::
54302 @: $(MAKE); $(stage)
54303 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
54304 rm -rf stageautoprofile-*
54307 @endif gcc-bootstrap
54310 .PHONY: stageautofeedback-start stageautofeedback-end
54312 stageautofeedback-start::
54313 @: $(MAKE); $(stage); \
54314 echo stageautofeedback > stage_current; \
54315 echo stageautofeedback > stage_last; \
54316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54317 @if bfd
54318 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
54319 mkdir stageautofeedback-bfd; \
54320 mv stageautofeedback-bfd bfd; \
54321 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
54322 @endif bfd
54323 @if opcodes
54324 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
54325 mkdir stageautofeedback-opcodes; \
54326 mv stageautofeedback-opcodes opcodes; \
54327 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
54328 @endif opcodes
54329 @if binutils
54330 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
54331 mkdir stageautofeedback-binutils; \
54332 mv stageautofeedback-binutils binutils; \
54333 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
54334 @endif binutils
54335 @if fixincludes
54336 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
54337 mkdir stageautofeedback-fixincludes; \
54338 mv stageautofeedback-fixincludes fixincludes; \
54339 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
54340 @endif fixincludes
54341 @if gas
54342 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
54343 mkdir stageautofeedback-gas; \
54344 mv stageautofeedback-gas gas; \
54345 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
54346 @endif gas
54347 @if gcc
54348 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
54349 mkdir stageautofeedback-gcc; \
54350 mv stageautofeedback-gcc gcc; \
54351 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
54352 @endif gcc
54353 @if gmp
54354 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
54355 mkdir stageautofeedback-gmp; \
54356 mv stageautofeedback-gmp gmp; \
54357 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
54358 @endif gmp
54359 @if mpfr
54360 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
54361 mkdir stageautofeedback-mpfr; \
54362 mv stageautofeedback-mpfr mpfr; \
54363 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
54364 @endif mpfr
54365 @if mpc
54366 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
54367 mkdir stageautofeedback-mpc; \
54368 mv stageautofeedback-mpc mpc; \
54369 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
54370 @endif mpc
54371 @if isl
54372 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
54373 mkdir stageautofeedback-isl; \
54374 mv stageautofeedback-isl isl; \
54375 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
54376 @endif isl
54377 @if libelf
54378 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
54379 mkdir stageautofeedback-libelf; \
54380 mv stageautofeedback-libelf libelf; \
54381 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
54382 @endif libelf
54383 @if gold
54384 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
54385 mkdir stageautofeedback-gold; \
54386 mv stageautofeedback-gold gold; \
54387 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
54388 @endif gold
54389 @if intl
54390 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
54391 mkdir stageautofeedback-intl; \
54392 mv stageautofeedback-intl intl; \
54393 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
54394 @endif intl
54395 @if ld
54396 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
54397 mkdir stageautofeedback-ld; \
54398 mv stageautofeedback-ld ld; \
54399 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
54400 @endif ld
54401 @if libbacktrace
54402 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
54403 mkdir stageautofeedback-libbacktrace; \
54404 mv stageautofeedback-libbacktrace libbacktrace; \
54405 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
54406 @endif libbacktrace
54407 @if libcpp
54408 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
54409 mkdir stageautofeedback-libcpp; \
54410 mv stageautofeedback-libcpp libcpp; \
54411 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
54412 @endif libcpp
54413 @if libdecnumber
54414 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
54415 mkdir stageautofeedback-libdecnumber; \
54416 mv stageautofeedback-libdecnumber libdecnumber; \
54417 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
54418 @endif libdecnumber
54419 @if libiberty
54420 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
54421 mkdir stageautofeedback-libiberty; \
54422 mv stageautofeedback-libiberty libiberty; \
54423 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
54424 @endif libiberty
54425 @if libiberty-linker-plugin
54426 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
54427 mkdir stageautofeedback-libiberty-linker-plugin; \
54428 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
54429 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
54430 @endif libiberty-linker-plugin
54431 @if libiconv
54432 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
54433 mkdir stageautofeedback-libiconv; \
54434 mv stageautofeedback-libiconv libiconv; \
54435 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
54436 @endif libiconv
54437 @if zlib
54438 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
54439 mkdir stageautofeedback-zlib; \
54440 mv stageautofeedback-zlib zlib; \
54441 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
54442 @endif zlib
54443 @if lto-plugin
54444 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
54445 mkdir stageautofeedback-lto-plugin; \
54446 mv stageautofeedback-lto-plugin lto-plugin; \
54447 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
54448 @endif lto-plugin
54449 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
54450 mkdir stageautofeedback-$(TARGET_SUBDIR); \
54451 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54452 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
54454 stageautofeedback-end::
54455 @if bfd
54456 @if test -d $(HOST_SUBDIR)/bfd; then \
54457 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
54458 mv prev-bfd stageautoprofile-bfd; : ; \
54460 @endif bfd
54461 @if opcodes
54462 @if test -d $(HOST_SUBDIR)/opcodes; then \
54463 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
54464 mv prev-opcodes stageautoprofile-opcodes; : ; \
54466 @endif opcodes
54467 @if binutils
54468 @if test -d $(HOST_SUBDIR)/binutils; then \
54469 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
54470 mv prev-binutils stageautoprofile-binutils; : ; \
54472 @endif binutils
54473 @if fixincludes
54474 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54475 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
54476 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
54478 @endif fixincludes
54479 @if gas
54480 @if test -d $(HOST_SUBDIR)/gas; then \
54481 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
54482 mv prev-gas stageautoprofile-gas; : ; \
54484 @endif gas
54485 @if gcc
54486 @if test -d $(HOST_SUBDIR)/gcc; then \
54487 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
54488 mv prev-gcc stageautoprofile-gcc; : ; \
54490 @endif gcc
54491 @if gmp
54492 @if test -d $(HOST_SUBDIR)/gmp; then \
54493 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
54494 mv prev-gmp stageautoprofile-gmp; : ; \
54496 @endif gmp
54497 @if mpfr
54498 @if test -d $(HOST_SUBDIR)/mpfr; then \
54499 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
54500 mv prev-mpfr stageautoprofile-mpfr; : ; \
54502 @endif mpfr
54503 @if mpc
54504 @if test -d $(HOST_SUBDIR)/mpc; then \
54505 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
54506 mv prev-mpc stageautoprofile-mpc; : ; \
54508 @endif mpc
54509 @if isl
54510 @if test -d $(HOST_SUBDIR)/isl; then \
54511 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
54512 mv prev-isl stageautoprofile-isl; : ; \
54514 @endif isl
54515 @if libelf
54516 @if test -d $(HOST_SUBDIR)/libelf; then \
54517 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
54518 mv prev-libelf stageautoprofile-libelf; : ; \
54520 @endif libelf
54521 @if gold
54522 @if test -d $(HOST_SUBDIR)/gold; then \
54523 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
54524 mv prev-gold stageautoprofile-gold; : ; \
54526 @endif gold
54527 @if intl
54528 @if test -d $(HOST_SUBDIR)/intl; then \
54529 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
54530 mv prev-intl stageautoprofile-intl; : ; \
54532 @endif intl
54533 @if ld
54534 @if test -d $(HOST_SUBDIR)/ld; then \
54535 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
54536 mv prev-ld stageautoprofile-ld; : ; \
54538 @endif ld
54539 @if libbacktrace
54540 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54541 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
54542 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
54544 @endif libbacktrace
54545 @if libcpp
54546 @if test -d $(HOST_SUBDIR)/libcpp; then \
54547 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
54548 mv prev-libcpp stageautoprofile-libcpp; : ; \
54550 @endif libcpp
54551 @if libdecnumber
54552 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54553 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
54554 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
54556 @endif libdecnumber
54557 @if libiberty
54558 @if test -d $(HOST_SUBDIR)/libiberty; then \
54559 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
54560 mv prev-libiberty stageautoprofile-libiberty; : ; \
54562 @endif libiberty
54563 @if libiberty-linker-plugin
54564 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54565 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
54566 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
54568 @endif libiberty-linker-plugin
54569 @if libiconv
54570 @if test -d $(HOST_SUBDIR)/libiconv; then \
54571 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
54572 mv prev-libiconv stageautoprofile-libiconv; : ; \
54574 @endif libiconv
54575 @if zlib
54576 @if test -d $(HOST_SUBDIR)/zlib; then \
54577 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
54578 mv prev-zlib stageautoprofile-zlib; : ; \
54580 @endif zlib
54581 @if lto-plugin
54582 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54583 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
54584 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
54586 @endif lto-plugin
54587 @if test -d $(TARGET_SUBDIR); then \
54588 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
54589 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
54591 rm -f stage_current
54593 # Bubble a bug fix through all the stages up to stage autofeedback. They are
54594 # remade, but not reconfigured. The next stage (if any) will not be
54595 # reconfigured either.
54596 .PHONY: stageautofeedback-bubble
54597 stageautofeedback-bubble:: stageautoprofile-bubble
54598 @r=`${PWD_COMMAND}`; export r; \
54599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54600 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
54601 echo Skipping rebuild of stageautofeedback; \
54602 else \
54603 $(MAKE) stageautofeedback-start; \
54604 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
54607 .PHONY: all-stageautofeedback clean-stageautofeedback
54608 do-clean: clean-stageautofeedback
54610 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54611 # only possibility, but now it conflicts with no-bootstrap rules
54612 @if gcc-bootstrap
54616 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
54617 autoprofiledbootstrap:
54618 echo stageautofeedback > stage_final
54619 @r=`${PWD_COMMAND}`; export r; \
54620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54621 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
54622 @: $(MAKE); $(unstage)
54623 @r=`${PWD_COMMAND}`; export r; \
54624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54625 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54626 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54628 autoprofiledbootstrap-lean:
54629 echo stageautofeedback > stage_final
54630 @r=`${PWD_COMMAND}`; export r; \
54631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54632 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
54633 @: $(MAKE); $(unstage)
54634 @r=`${PWD_COMMAND}`; export r; \
54635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54636 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54637 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54640 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54641 distclean-stageautoprofile:: distclean-stageautofeedback
54642 .PHONY: distclean-stageautofeedback
54643 distclean-stageautofeedback::
54644 @: $(MAKE); $(stage)
54645 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
54646 rm -rf stageautofeedback-*
54649 @endif gcc-bootstrap
54653 stageprofile-end::
54654 $(MAKE) distclean-stagefeedback
54656 stagefeedback-start::
54657 @r=`${PWD_COMMAND}`; export r; \
54658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54659 for i in prev-*; do \
54660 j=`echo $$i | sed s/^prev-//`; \
54661 cd $$r/$$i && \
54662 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
54663 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
54664 done
54666 @if gcc-bootstrap
54667 do-distclean: distclean-stage1
54669 # Provide a GCC build when we're building target libraries. This does
54670 # not work as a dependency, just as the minimum necessary to avoid errors.
54671 stage_last:
54672 @r=`${PWD_COMMAND}`; export r; \
54673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54674 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
54676 # Same as unstage, but not phony and defaulting to stage1-start. We place
54677 # it in the dependency so that for example `make -j3 all-gcc' works.
54678 stage_current:
54679 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
54681 .PHONY: restrap
54682 restrap::
54683 @: $(MAKE); $(stage)
54684 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-* stageautoprofile-* stageautofeedback-*
54685 restrap:: all
54686 @endif gcc-bootstrap
54688 # --------------------------------------
54689 # Dependencies between different modules
54690 # --------------------------------------
54692 # Generic dependencies for target modules on host stuff, especially gcc
54693 @if gcc-bootstrap
54694 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
54695 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
54696 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
54697 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
54698 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
54699 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
54700 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
54701 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
54702 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
54703 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
54704 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
54705 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
54706 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
54707 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
54708 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
54709 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
54710 configure-stage1-target-libmpx: maybe-all-stage1-gcc
54711 configure-stage2-target-libmpx: maybe-all-stage2-gcc
54712 configure-stage3-target-libmpx: maybe-all-stage3-gcc
54713 configure-stage4-target-libmpx: maybe-all-stage4-gcc
54714 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
54715 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
54716 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-gcc
54717 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-gcc
54718 configure-stage1-target-libvtv: maybe-all-stage1-gcc
54719 configure-stage2-target-libvtv: maybe-all-stage2-gcc
54720 configure-stage3-target-libvtv: maybe-all-stage3-gcc
54721 configure-stage4-target-libvtv: maybe-all-stage4-gcc
54722 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
54723 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
54724 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
54725 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
54726 configure-target-libcilkrts: stage_last
54727 configure-target-liboffloadmic: stage_last
54728 configure-target-libssp: stage_last
54729 configure-target-newlib: stage_last
54730 configure-stage1-target-libgcc: maybe-all-stage1-gcc
54731 configure-stage2-target-libgcc: maybe-all-stage2-gcc
54732 configure-stage3-target-libgcc: maybe-all-stage3-gcc
54733 configure-stage4-target-libgcc: maybe-all-stage4-gcc
54734 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
54735 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
54736 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
54737 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
54738 configure-target-libbacktrace: stage_last
54739 configure-target-libquadmath: stage_last
54740 configure-target-libgfortran: stage_last
54741 configure-target-libobjc: stage_last
54742 configure-target-libgo: stage_last
54743 configure-target-libtermcap: stage_last
54744 configure-target-winsup: stage_last
54745 configure-target-libgloss: stage_last
54746 configure-target-libffi: stage_last
54747 configure-target-zlib: stage_last
54748 configure-target-boehm-gc: stage_last
54749 configure-target-rda: stage_last
54750 configure-target-libada: stage_last
54751 configure-stage1-target-libgomp: maybe-all-stage1-gcc
54752 configure-stage2-target-libgomp: maybe-all-stage2-gcc
54753 configure-stage3-target-libgomp: maybe-all-stage3-gcc
54754 configure-stage4-target-libgomp: maybe-all-stage4-gcc
54755 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
54756 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
54757 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
54758 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
54759 configure-target-libitm: stage_last
54760 configure-target-libatomic: stage_last
54761 @endif gcc-bootstrap
54763 @if gcc-no-bootstrap
54764 configure-target-libstdc++-v3: maybe-all-gcc
54765 configure-target-libsanitizer: maybe-all-gcc
54766 configure-target-libmpx: maybe-all-gcc
54767 configure-target-libvtv: maybe-all-gcc
54768 configure-target-libcilkrts: maybe-all-gcc
54769 configure-target-liboffloadmic: maybe-all-gcc
54770 configure-target-libssp: maybe-all-gcc
54771 configure-target-newlib: maybe-all-gcc
54772 configure-target-libgcc: maybe-all-gcc
54773 configure-target-libbacktrace: maybe-all-gcc
54774 configure-target-libquadmath: maybe-all-gcc
54775 configure-target-libgfortran: maybe-all-gcc
54776 configure-target-libobjc: maybe-all-gcc
54777 configure-target-libgo: maybe-all-gcc
54778 configure-target-libtermcap: maybe-all-gcc
54779 configure-target-winsup: maybe-all-gcc
54780 configure-target-libgloss: maybe-all-gcc
54781 configure-target-libffi: maybe-all-gcc
54782 configure-target-zlib: maybe-all-gcc
54783 configure-target-boehm-gc: maybe-all-gcc
54784 configure-target-rda: maybe-all-gcc
54785 configure-target-libada: maybe-all-gcc
54786 configure-target-libgomp: maybe-all-gcc
54787 configure-target-libitm: maybe-all-gcc
54788 configure-target-libatomic: maybe-all-gcc
54789 @endif gcc-no-bootstrap
54792 # There are two types of dependencies here: 'hard' dependencies, where one
54793 # module simply won't build without the other; and 'soft' dependencies, where
54794 # if the depended-on module is missing, the depending module will do without
54795 # or find a substitute somewhere (perhaps installed). Soft dependencies
54796 # are made here to depend on a 'maybe-' target. If you're not sure,
54797 # it's safer to use a soft dependency.
54804 # With all the machinery above in place, it is pretty easy to generate
54805 # dependencies. Host dependencies are a bit more complex because we have
54806 # to check for bootstrap/prebootstrap dependencies. To resolve
54807 # prebootstrap dependencies, prebootstrap modules are gathered in
54808 # a hash table.
54809 all-build-bison: maybe-all-build-texinfo
54810 all-build-flex: maybe-all-build-texinfo
54811 all-build-flex: maybe-all-build-bison
54812 all-build-flex: maybe-all-build-m4
54813 all-build-libiberty: maybe-all-build-texinfo
54814 all-build-m4: maybe-all-build-texinfo
54815 all-build-fixincludes: maybe-all-build-libiberty
54816 all-build-libcpp: maybe-all-build-libiberty
54817 configure-gcc: maybe-configure-intl
54819 configure-stage1-gcc: maybe-configure-stage1-intl
54820 configure-stage2-gcc: maybe-configure-stage2-intl
54821 configure-stage3-gcc: maybe-configure-stage3-intl
54822 configure-stage4-gcc: maybe-configure-stage4-intl
54823 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
54824 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
54825 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
54826 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
54827 configure-gcc: maybe-all-gmp
54829 configure-stage1-gcc: maybe-all-stage1-gmp
54830 configure-stage2-gcc: maybe-all-stage2-gmp
54831 configure-stage3-gcc: maybe-all-stage3-gmp
54832 configure-stage4-gcc: maybe-all-stage4-gmp
54833 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
54834 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
54835 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
54836 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
54837 configure-gcc: maybe-all-mpfr
54839 configure-stage1-gcc: maybe-all-stage1-mpfr
54840 configure-stage2-gcc: maybe-all-stage2-mpfr
54841 configure-stage3-gcc: maybe-all-stage3-mpfr
54842 configure-stage4-gcc: maybe-all-stage4-mpfr
54843 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
54844 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
54845 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
54846 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
54847 configure-gcc: maybe-all-mpc
54849 configure-stage1-gcc: maybe-all-stage1-mpc
54850 configure-stage2-gcc: maybe-all-stage2-mpc
54851 configure-stage3-gcc: maybe-all-stage3-mpc
54852 configure-stage4-gcc: maybe-all-stage4-mpc
54853 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
54854 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
54855 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
54856 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
54857 configure-gcc: maybe-all-isl
54859 configure-stage1-gcc: maybe-all-stage1-isl
54860 configure-stage2-gcc: maybe-all-stage2-isl
54861 configure-stage3-gcc: maybe-all-stage3-isl
54862 configure-stage4-gcc: maybe-all-stage4-isl
54863 configure-stageprofile-gcc: maybe-all-stageprofile-isl
54864 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
54865 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
54866 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
54867 configure-gcc: maybe-all-lto-plugin
54869 configure-stage1-gcc: maybe-all-stage1-lto-plugin
54870 configure-stage2-gcc: maybe-all-stage2-lto-plugin
54871 configure-stage3-gcc: maybe-all-stage3-lto-plugin
54872 configure-stage4-gcc: maybe-all-stage4-lto-plugin
54873 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
54874 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
54875 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
54876 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
54877 configure-gcc: maybe-all-binutils
54879 configure-stage1-gcc: maybe-all-stage1-binutils
54880 configure-stage2-gcc: maybe-all-stage2-binutils
54881 configure-stage3-gcc: maybe-all-stage3-binutils
54882 configure-stage4-gcc: maybe-all-stage4-binutils
54883 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
54884 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
54885 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
54886 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
54887 configure-gcc: maybe-all-gas
54889 configure-stage1-gcc: maybe-all-stage1-gas
54890 configure-stage2-gcc: maybe-all-stage2-gas
54891 configure-stage3-gcc: maybe-all-stage3-gas
54892 configure-stage4-gcc: maybe-all-stage4-gas
54893 configure-stageprofile-gcc: maybe-all-stageprofile-gas
54894 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
54895 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
54896 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
54897 configure-gcc: maybe-all-ld
54899 configure-stage1-gcc: maybe-all-stage1-ld
54900 configure-stage2-gcc: maybe-all-stage2-ld
54901 configure-stage3-gcc: maybe-all-stage3-ld
54902 configure-stage4-gcc: maybe-all-stage4-ld
54903 configure-stageprofile-gcc: maybe-all-stageprofile-ld
54904 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
54905 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
54906 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
54907 configure-gcc: maybe-all-gold
54909 configure-stage1-gcc: maybe-all-stage1-gold
54910 configure-stage2-gcc: maybe-all-stage2-gold
54911 configure-stage3-gcc: maybe-all-stage3-gold
54912 configure-stage4-gcc: maybe-all-stage4-gold
54913 configure-stageprofile-gcc: maybe-all-stageprofile-gold
54914 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
54915 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
54916 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
54917 configure-gcc: maybe-all-libelf
54919 configure-stage1-gcc: maybe-all-stage1-libelf
54920 configure-stage2-gcc: maybe-all-stage2-libelf
54921 configure-stage3-gcc: maybe-all-stage3-libelf
54922 configure-stage4-gcc: maybe-all-stage4-libelf
54923 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
54924 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
54925 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
54926 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
54927 configure-gcc: maybe-all-libiconv
54929 configure-stage1-gcc: maybe-all-stage1-libiconv
54930 configure-stage2-gcc: maybe-all-stage2-libiconv
54931 configure-stage3-gcc: maybe-all-stage3-libiconv
54932 configure-stage4-gcc: maybe-all-stage4-libiconv
54933 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
54934 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
54935 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
54936 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
54937 all-gcc: all-libiberty
54939 all-stage1-gcc: all-stage1-libiberty
54940 all-stage2-gcc: all-stage2-libiberty
54941 all-stage3-gcc: all-stage3-libiberty
54942 all-stage4-gcc: all-stage4-libiberty
54943 all-stageprofile-gcc: all-stageprofile-libiberty
54944 all-stagefeedback-gcc: all-stagefeedback-libiberty
54945 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
54946 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
54947 all-gcc: maybe-all-intl
54949 all-stage1-gcc: maybe-all-stage1-intl
54950 all-stage2-gcc: maybe-all-stage2-intl
54951 all-stage3-gcc: maybe-all-stage3-intl
54952 all-stage4-gcc: maybe-all-stage4-intl
54953 all-stageprofile-gcc: maybe-all-stageprofile-intl
54954 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
54955 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
54956 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
54957 all-gcc: maybe-all-mpfr
54959 all-stage1-gcc: maybe-all-stage1-mpfr
54960 all-stage2-gcc: maybe-all-stage2-mpfr
54961 all-stage3-gcc: maybe-all-stage3-mpfr
54962 all-stage4-gcc: maybe-all-stage4-mpfr
54963 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
54964 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
54965 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
54966 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
54967 all-gcc: maybe-all-mpc
54969 all-stage1-gcc: maybe-all-stage1-mpc
54970 all-stage2-gcc: maybe-all-stage2-mpc
54971 all-stage3-gcc: maybe-all-stage3-mpc
54972 all-stage4-gcc: maybe-all-stage4-mpc
54973 all-stageprofile-gcc: maybe-all-stageprofile-mpc
54974 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
54975 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
54976 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
54977 all-gcc: maybe-all-isl
54979 all-stage1-gcc: maybe-all-stage1-isl
54980 all-stage2-gcc: maybe-all-stage2-isl
54981 all-stage3-gcc: maybe-all-stage3-isl
54982 all-stage4-gcc: maybe-all-stage4-isl
54983 all-stageprofile-gcc: maybe-all-stageprofile-isl
54984 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
54985 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
54986 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
54987 all-gcc: maybe-all-build-texinfo
54989 all-stage1-gcc: maybe-all-build-texinfo
54990 all-stage2-gcc: maybe-all-build-texinfo
54991 all-stage3-gcc: maybe-all-build-texinfo
54992 all-stage4-gcc: maybe-all-build-texinfo
54993 all-stageprofile-gcc: maybe-all-build-texinfo
54994 all-stagefeedback-gcc: maybe-all-build-texinfo
54995 all-stageautoprofile-gcc: maybe-all-build-texinfo
54996 all-stageautofeedback-gcc: maybe-all-build-texinfo
54997 all-gcc: maybe-all-build-bison
54999 all-stage1-gcc: maybe-all-build-bison
55000 all-stage2-gcc: maybe-all-build-bison
55001 all-stage3-gcc: maybe-all-build-bison
55002 all-stage4-gcc: maybe-all-build-bison
55003 all-stageprofile-gcc: maybe-all-build-bison
55004 all-stagefeedback-gcc: maybe-all-build-bison
55005 all-stageautoprofile-gcc: maybe-all-build-bison
55006 all-stageautofeedback-gcc: maybe-all-build-bison
55007 all-gcc: maybe-all-build-flex
55009 all-stage1-gcc: maybe-all-build-flex
55010 all-stage2-gcc: maybe-all-build-flex
55011 all-stage3-gcc: maybe-all-build-flex
55012 all-stage4-gcc: maybe-all-build-flex
55013 all-stageprofile-gcc: maybe-all-build-flex
55014 all-stagefeedback-gcc: maybe-all-build-flex
55015 all-stageautoprofile-gcc: maybe-all-build-flex
55016 all-stageautofeedback-gcc: maybe-all-build-flex
55017 all-gcc: maybe-all-build-libiberty
55019 all-stage1-gcc: maybe-all-build-libiberty
55020 all-stage2-gcc: maybe-all-build-libiberty
55021 all-stage3-gcc: maybe-all-build-libiberty
55022 all-stage4-gcc: maybe-all-build-libiberty
55023 all-stageprofile-gcc: maybe-all-build-libiberty
55024 all-stagefeedback-gcc: maybe-all-build-libiberty
55025 all-stageautoprofile-gcc: maybe-all-build-libiberty
55026 all-stageautofeedback-gcc: maybe-all-build-libiberty
55027 all-gcc: maybe-all-build-fixincludes
55029 all-stage1-gcc: maybe-all-build-fixincludes
55030 all-stage2-gcc: maybe-all-build-fixincludes
55031 all-stage3-gcc: maybe-all-build-fixincludes
55032 all-stage4-gcc: maybe-all-build-fixincludes
55033 all-stageprofile-gcc: maybe-all-build-fixincludes
55034 all-stagefeedback-gcc: maybe-all-build-fixincludes
55035 all-stageautoprofile-gcc: maybe-all-build-fixincludes
55036 all-stageautofeedback-gcc: maybe-all-build-fixincludes
55037 all-gcc: maybe-all-build-libcpp
55039 all-stage1-gcc: maybe-all-build-libcpp
55040 all-stage2-gcc: maybe-all-build-libcpp
55041 all-stage3-gcc: maybe-all-build-libcpp
55042 all-stage4-gcc: maybe-all-build-libcpp
55043 all-stageprofile-gcc: maybe-all-build-libcpp
55044 all-stagefeedback-gcc: maybe-all-build-libcpp
55045 all-stageautoprofile-gcc: maybe-all-build-libcpp
55046 all-stageautofeedback-gcc: maybe-all-build-libcpp
55047 all-gcc: maybe-all-zlib
55049 all-stage1-gcc: maybe-all-stage1-zlib
55050 all-stage2-gcc: maybe-all-stage2-zlib
55051 all-stage3-gcc: maybe-all-stage3-zlib
55052 all-stage4-gcc: maybe-all-stage4-zlib
55053 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55054 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55055 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
55056 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
55057 all-gcc: all-libbacktrace
55059 all-stage1-gcc: all-stage1-libbacktrace
55060 all-stage2-gcc: all-stage2-libbacktrace
55061 all-stage3-gcc: all-stage3-libbacktrace
55062 all-stage4-gcc: all-stage4-libbacktrace
55063 all-stageprofile-gcc: all-stageprofile-libbacktrace
55064 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
55065 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
55066 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
55067 all-gcc: all-libcpp
55069 all-stage1-gcc: all-stage1-libcpp
55070 all-stage2-gcc: all-stage2-libcpp
55071 all-stage3-gcc: all-stage3-libcpp
55072 all-stage4-gcc: all-stage4-libcpp
55073 all-stageprofile-gcc: all-stageprofile-libcpp
55074 all-stagefeedback-gcc: all-stagefeedback-libcpp
55075 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
55076 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
55077 all-gcc: all-libdecnumber
55079 all-stage1-gcc: all-stage1-libdecnumber
55080 all-stage2-gcc: all-stage2-libdecnumber
55081 all-stage3-gcc: all-stage3-libdecnumber
55082 all-stage4-gcc: all-stage4-libdecnumber
55083 all-stageprofile-gcc: all-stageprofile-libdecnumber
55084 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55085 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
55086 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
55087 all-gcc: maybe-all-libiberty
55089 all-stage1-gcc: maybe-all-stage1-libiberty
55090 all-stage2-gcc: maybe-all-stage2-libiberty
55091 all-stage3-gcc: maybe-all-stage3-libiberty
55092 all-stage4-gcc: maybe-all-stage4-libiberty
55093 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55094 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55095 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
55096 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
55097 all-gcc: maybe-all-fixincludes
55099 all-stage1-gcc: maybe-all-stage1-fixincludes
55100 all-stage2-gcc: maybe-all-stage2-fixincludes
55101 all-stage3-gcc: maybe-all-stage3-fixincludes
55102 all-stage4-gcc: maybe-all-stage4-fixincludes
55103 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
55104 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
55105 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
55106 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
55107 all-gcc: maybe-all-lto-plugin
55109 all-stage1-gcc: maybe-all-stage1-lto-plugin
55110 all-stage2-gcc: maybe-all-stage2-lto-plugin
55111 all-stage3-gcc: maybe-all-stage3-lto-plugin
55112 all-stage4-gcc: maybe-all-stage4-lto-plugin
55113 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55114 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55115 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55116 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55117 all-gcc: maybe-all-libiconv
55119 all-stage1-gcc: maybe-all-stage1-libiconv
55120 all-stage2-gcc: maybe-all-stage2-libiconv
55121 all-stage3-gcc: maybe-all-stage3-libiconv
55122 all-stage4-gcc: maybe-all-stage4-libiconv
55123 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
55124 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55125 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55126 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55127 info-gcc: maybe-all-build-libiberty
55129 info-stage1-gcc: maybe-all-build-libiberty
55130 info-stage2-gcc: maybe-all-build-libiberty
55131 info-stage3-gcc: maybe-all-build-libiberty
55132 info-stage4-gcc: maybe-all-build-libiberty
55133 info-stageprofile-gcc: maybe-all-build-libiberty
55134 info-stagefeedback-gcc: maybe-all-build-libiberty
55135 info-stageautoprofile-gcc: maybe-all-build-libiberty
55136 info-stageautofeedback-gcc: maybe-all-build-libiberty
55137 dvi-gcc: maybe-all-build-libiberty
55139 dvi-stage1-gcc: maybe-all-build-libiberty
55140 dvi-stage2-gcc: maybe-all-build-libiberty
55141 dvi-stage3-gcc: maybe-all-build-libiberty
55142 dvi-stage4-gcc: maybe-all-build-libiberty
55143 dvi-stageprofile-gcc: maybe-all-build-libiberty
55144 dvi-stagefeedback-gcc: maybe-all-build-libiberty
55145 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
55146 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
55147 pdf-gcc: maybe-all-build-libiberty
55149 pdf-stage1-gcc: maybe-all-build-libiberty
55150 pdf-stage2-gcc: maybe-all-build-libiberty
55151 pdf-stage3-gcc: maybe-all-build-libiberty
55152 pdf-stage4-gcc: maybe-all-build-libiberty
55153 pdf-stageprofile-gcc: maybe-all-build-libiberty
55154 pdf-stagefeedback-gcc: maybe-all-build-libiberty
55155 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
55156 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
55157 html-gcc: maybe-all-build-libiberty
55159 html-stage1-gcc: maybe-all-build-libiberty
55160 html-stage2-gcc: maybe-all-build-libiberty
55161 html-stage3-gcc: maybe-all-build-libiberty
55162 html-stage4-gcc: maybe-all-build-libiberty
55163 html-stageprofile-gcc: maybe-all-build-libiberty
55164 html-stagefeedback-gcc: maybe-all-build-libiberty
55165 html-stageautoprofile-gcc: maybe-all-build-libiberty
55166 html-stageautofeedback-gcc: maybe-all-build-libiberty
55167 install-gcc: maybe-install-fixincludes
55168 install-gcc: maybe-install-lto-plugin
55169 install-strip-gcc: maybe-install-strip-fixincludes
55170 install-strip-gcc: maybe-install-strip-lto-plugin
55171 configure-libcpp: configure-libiberty
55173 configure-stage1-libcpp: configure-stage1-libiberty
55174 configure-stage2-libcpp: configure-stage2-libiberty
55175 configure-stage3-libcpp: configure-stage3-libiberty
55176 configure-stage4-libcpp: configure-stage4-libiberty
55177 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55178 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55179 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
55180 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
55181 configure-libcpp: maybe-configure-intl
55183 configure-stage1-libcpp: maybe-configure-stage1-intl
55184 configure-stage2-libcpp: maybe-configure-stage2-intl
55185 configure-stage3-libcpp: maybe-configure-stage3-intl
55186 configure-stage4-libcpp: maybe-configure-stage4-intl
55187 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55188 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55189 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
55190 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
55191 configure-libcpp: maybe-all-libiconv
55193 configure-stage1-libcpp: maybe-all-stage1-libiconv
55194 configure-stage2-libcpp: maybe-all-stage2-libiconv
55195 configure-stage3-libcpp: maybe-all-stage3-libiconv
55196 configure-stage4-libcpp: maybe-all-stage4-libiconv
55197 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55198 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55199 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55200 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55201 all-libcpp: all-libiberty
55203 all-stage1-libcpp: all-stage1-libiberty
55204 all-stage2-libcpp: all-stage2-libiberty
55205 all-stage3-libcpp: all-stage3-libiberty
55206 all-stage4-libcpp: all-stage4-libiberty
55207 all-stageprofile-libcpp: all-stageprofile-libiberty
55208 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55209 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
55210 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
55211 all-libcpp: maybe-all-intl
55213 all-stage1-libcpp: maybe-all-stage1-intl
55214 all-stage2-libcpp: maybe-all-stage2-intl
55215 all-stage3-libcpp: maybe-all-stage3-intl
55216 all-stage4-libcpp: maybe-all-stage4-intl
55217 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55218 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55219 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
55220 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
55221 all-libcpp: maybe-all-libiconv
55223 all-stage1-libcpp: maybe-all-stage1-libiconv
55224 all-stage2-libcpp: maybe-all-stage2-libiconv
55225 all-stage3-libcpp: maybe-all-stage3-libiconv
55226 all-stage4-libcpp: maybe-all-stage4-libiconv
55227 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55228 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55229 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55230 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55231 all-fixincludes: maybe-all-libiberty
55233 all-stage1-fixincludes: maybe-all-stage1-libiberty
55234 all-stage2-fixincludes: maybe-all-stage2-libiberty
55235 all-stage3-fixincludes: maybe-all-stage3-libiberty
55236 all-stage4-fixincludes: maybe-all-stage4-libiberty
55237 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
55238 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
55239 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
55240 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
55241 all-gnattools: maybe-all-target-libada
55242 all-gnattools: maybe-all-target-libstdc++-v3
55243 all-lto-plugin: maybe-all-libiberty
55245 all-stage1-lto-plugin: maybe-all-stage1-libiberty
55246 all-stage2-lto-plugin: maybe-all-stage2-libiberty
55247 all-stage3-lto-plugin: maybe-all-stage3-libiberty
55248 all-stage4-lto-plugin: maybe-all-stage4-libiberty
55249 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
55250 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
55251 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
55252 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
55253 all-lto-plugin: maybe-all-libiberty-linker-plugin
55255 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
55256 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
55257 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
55258 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
55259 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
55260 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
55261 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
55262 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
55263 configure-libcc1: maybe-configure-gcc
55264 all-libcc1: maybe-all-gcc
55265 all-gotools: maybe-all-target-libgo
55266 all-utils: maybe-all-libiberty
55267 configure-intl: maybe-all-libiconv
55269 configure-stage1-intl: maybe-all-stage1-libiconv
55270 configure-stage2-intl: maybe-all-stage2-libiconv
55271 configure-stage3-intl: maybe-all-stage3-libiconv
55272 configure-stage4-intl: maybe-all-stage4-libiconv
55273 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
55274 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55275 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55276 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55277 configure-mpfr: maybe-all-gmp
55279 configure-stage1-mpfr: maybe-all-stage1-gmp
55280 configure-stage2-mpfr: maybe-all-stage2-gmp
55281 configure-stage3-mpfr: maybe-all-stage3-gmp
55282 configure-stage4-mpfr: maybe-all-stage4-gmp
55283 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
55284 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
55285 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
55286 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
55287 configure-mpc: maybe-all-mpfr
55289 configure-stage1-mpc: maybe-all-stage1-mpfr
55290 configure-stage2-mpc: maybe-all-stage2-mpfr
55291 configure-stage3-mpc: maybe-all-stage3-mpfr
55292 configure-stage4-mpc: maybe-all-stage4-mpfr
55293 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
55294 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
55295 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
55296 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
55297 configure-isl: maybe-all-gmp
55299 configure-stage1-isl: maybe-all-stage1-gmp
55300 configure-stage2-isl: maybe-all-stage2-gmp
55301 configure-stage3-isl: maybe-all-stage3-gmp
55302 configure-stage4-isl: maybe-all-stage4-gmp
55303 configure-stageprofile-isl: maybe-all-stageprofile-gmp
55304 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
55305 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
55306 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
55307 all-intl: maybe-all-libiconv
55309 all-stage1-intl: maybe-all-stage1-libiconv
55310 all-stage2-intl: maybe-all-stage2-libiconv
55311 all-stage3-intl: maybe-all-stage3-libiconv
55312 all-stage4-intl: maybe-all-stage4-libiconv
55313 all-stageprofile-intl: maybe-all-stageprofile-libiconv
55314 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55315 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55316 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55317 configure-gdb: maybe-all-intl
55318 configure-gdb: maybe-configure-sim
55319 configure-gdb: maybe-all-bfd
55320 configure-gdb: maybe-all-libiconv
55321 all-gdb: maybe-all-libiberty
55322 all-gdb: maybe-all-libiconv
55323 all-gdb: maybe-all-opcodes
55324 all-gdb: maybe-all-readline
55325 all-gdb: maybe-all-build-bison
55326 all-gdb: maybe-all-sim
55327 all-gdb: maybe-all-libdecnumber
55328 all-gdb: maybe-all-libtermcap
55329 configure-libgui: maybe-configure-tcl
55330 configure-libgui: maybe-configure-tk
55331 all-libgui: maybe-all-tcl
55332 all-libgui: maybe-all-tk
55333 all-libgui: maybe-all-itcl
55334 configure-bfd: configure-libiberty
55336 configure-stage1-bfd: configure-stage1-libiberty
55337 configure-stage2-bfd: configure-stage2-libiberty
55338 configure-stage3-bfd: configure-stage3-libiberty
55339 configure-stage4-bfd: configure-stage4-libiberty
55340 configure-stageprofile-bfd: configure-stageprofile-libiberty
55341 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
55342 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
55343 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
55344 configure-bfd: maybe-configure-intl
55346 configure-stage1-bfd: maybe-configure-stage1-intl
55347 configure-stage2-bfd: maybe-configure-stage2-intl
55348 configure-stage3-bfd: maybe-configure-stage3-intl
55349 configure-stage4-bfd: maybe-configure-stage4-intl
55350 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
55351 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
55352 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
55353 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
55354 all-bfd: maybe-all-libiberty
55356 all-stage1-bfd: maybe-all-stage1-libiberty
55357 all-stage2-bfd: maybe-all-stage2-libiberty
55358 all-stage3-bfd: maybe-all-stage3-libiberty
55359 all-stage4-bfd: maybe-all-stage4-libiberty
55360 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
55361 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
55362 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
55363 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
55364 all-bfd: maybe-all-intl
55366 all-stage1-bfd: maybe-all-stage1-intl
55367 all-stage2-bfd: maybe-all-stage2-intl
55368 all-stage3-bfd: maybe-all-stage3-intl
55369 all-stage4-bfd: maybe-all-stage4-intl
55370 all-stageprofile-bfd: maybe-all-stageprofile-intl
55371 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
55372 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
55373 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
55374 all-bfd: maybe-all-zlib
55376 all-stage1-bfd: maybe-all-stage1-zlib
55377 all-stage2-bfd: maybe-all-stage2-zlib
55378 all-stage3-bfd: maybe-all-stage3-zlib
55379 all-stage4-bfd: maybe-all-stage4-zlib
55380 all-stageprofile-bfd: maybe-all-stageprofile-zlib
55381 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
55382 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
55383 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
55384 configure-opcodes: configure-libiberty
55386 configure-stage1-opcodes: configure-stage1-libiberty
55387 configure-stage2-opcodes: configure-stage2-libiberty
55388 configure-stage3-opcodes: configure-stage3-libiberty
55389 configure-stage4-opcodes: configure-stage4-libiberty
55390 configure-stageprofile-opcodes: configure-stageprofile-libiberty
55391 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
55392 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
55393 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
55394 all-opcodes: maybe-all-libiberty
55396 all-stage1-opcodes: maybe-all-stage1-libiberty
55397 all-stage2-opcodes: maybe-all-stage2-libiberty
55398 all-stage3-opcodes: maybe-all-stage3-libiberty
55399 all-stage4-opcodes: maybe-all-stage4-libiberty
55400 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55401 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55402 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
55403 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
55404 configure-binutils: maybe-configure-intl
55406 configure-stage1-binutils: maybe-configure-stage1-intl
55407 configure-stage2-binutils: maybe-configure-stage2-intl
55408 configure-stage3-binutils: maybe-configure-stage3-intl
55409 configure-stage4-binutils: maybe-configure-stage4-intl
55410 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
55411 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
55412 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
55413 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
55414 all-binutils: maybe-all-libiberty
55416 all-stage1-binutils: maybe-all-stage1-libiberty
55417 all-stage2-binutils: maybe-all-stage2-libiberty
55418 all-stage3-binutils: maybe-all-stage3-libiberty
55419 all-stage4-binutils: maybe-all-stage4-libiberty
55420 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
55421 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
55422 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
55423 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
55424 all-binutils: maybe-all-opcodes
55426 all-stage1-binutils: maybe-all-stage1-opcodes
55427 all-stage2-binutils: maybe-all-stage2-opcodes
55428 all-stage3-binutils: maybe-all-stage3-opcodes
55429 all-stage4-binutils: maybe-all-stage4-opcodes
55430 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
55431 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
55432 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
55433 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
55434 all-binutils: maybe-all-bfd
55436 all-stage1-binutils: maybe-all-stage1-bfd
55437 all-stage2-binutils: maybe-all-stage2-bfd
55438 all-stage3-binutils: maybe-all-stage3-bfd
55439 all-stage4-binutils: maybe-all-stage4-bfd
55440 all-stageprofile-binutils: maybe-all-stageprofile-bfd
55441 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
55442 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
55443 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
55444 all-binutils: maybe-all-build-flex
55446 all-stage1-binutils: maybe-all-build-flex
55447 all-stage2-binutils: maybe-all-build-flex
55448 all-stage3-binutils: maybe-all-build-flex
55449 all-stage4-binutils: maybe-all-build-flex
55450 all-stageprofile-binutils: maybe-all-build-flex
55451 all-stagefeedback-binutils: maybe-all-build-flex
55452 all-stageautoprofile-binutils: maybe-all-build-flex
55453 all-stageautofeedback-binutils: maybe-all-build-flex
55454 all-binutils: maybe-all-build-bison
55456 all-stage1-binutils: maybe-all-build-bison
55457 all-stage2-binutils: maybe-all-build-bison
55458 all-stage3-binutils: maybe-all-build-bison
55459 all-stage4-binutils: maybe-all-build-bison
55460 all-stageprofile-binutils: maybe-all-build-bison
55461 all-stagefeedback-binutils: maybe-all-build-bison
55462 all-stageautoprofile-binutils: maybe-all-build-bison
55463 all-stageautofeedback-binutils: maybe-all-build-bison
55464 all-binutils: maybe-all-intl
55466 all-stage1-binutils: maybe-all-stage1-intl
55467 all-stage2-binutils: maybe-all-stage2-intl
55468 all-stage3-binutils: maybe-all-stage3-intl
55469 all-stage4-binutils: maybe-all-stage4-intl
55470 all-stageprofile-binutils: maybe-all-stageprofile-intl
55471 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
55472 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
55473 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
55474 all-binutils: maybe-all-gas
55476 all-stage1-binutils: maybe-all-stage1-gas
55477 all-stage2-binutils: maybe-all-stage2-gas
55478 all-stage3-binutils: maybe-all-stage3-gas
55479 all-stage4-binutils: maybe-all-stage4-gas
55480 all-stageprofile-binutils: maybe-all-stageprofile-gas
55481 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
55482 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
55483 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
55484 install-binutils: maybe-install-opcodes
55485 install-strip-binutils: maybe-install-strip-opcodes
55486 install-opcodes: maybe-install-bfd
55487 install-strip-opcodes: maybe-install-strip-bfd
55488 configure-gas: maybe-configure-intl
55490 configure-stage1-gas: maybe-configure-stage1-intl
55491 configure-stage2-gas: maybe-configure-stage2-intl
55492 configure-stage3-gas: maybe-configure-stage3-intl
55493 configure-stage4-gas: maybe-configure-stage4-intl
55494 configure-stageprofile-gas: maybe-configure-stageprofile-intl
55495 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
55496 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
55497 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
55498 all-gas: maybe-all-libiberty
55500 all-stage1-gas: maybe-all-stage1-libiberty
55501 all-stage2-gas: maybe-all-stage2-libiberty
55502 all-stage3-gas: maybe-all-stage3-libiberty
55503 all-stage4-gas: maybe-all-stage4-libiberty
55504 all-stageprofile-gas: maybe-all-stageprofile-libiberty
55505 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
55506 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
55507 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
55508 all-gas: maybe-all-opcodes
55510 all-stage1-gas: maybe-all-stage1-opcodes
55511 all-stage2-gas: maybe-all-stage2-opcodes
55512 all-stage3-gas: maybe-all-stage3-opcodes
55513 all-stage4-gas: maybe-all-stage4-opcodes
55514 all-stageprofile-gas: maybe-all-stageprofile-opcodes
55515 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
55516 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
55517 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
55518 all-gas: maybe-all-bfd
55520 all-stage1-gas: maybe-all-stage1-bfd
55521 all-stage2-gas: maybe-all-stage2-bfd
55522 all-stage3-gas: maybe-all-stage3-bfd
55523 all-stage4-gas: maybe-all-stage4-bfd
55524 all-stageprofile-gas: maybe-all-stageprofile-bfd
55525 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
55526 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
55527 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
55528 all-gas: maybe-all-intl
55530 all-stage1-gas: maybe-all-stage1-intl
55531 all-stage2-gas: maybe-all-stage2-intl
55532 all-stage3-gas: maybe-all-stage3-intl
55533 all-stage4-gas: maybe-all-stage4-intl
55534 all-stageprofile-gas: maybe-all-stageprofile-intl
55535 all-stagefeedback-gas: maybe-all-stagefeedback-intl
55536 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
55537 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
55538 configure-gprof: maybe-configure-intl
55539 all-gprof: maybe-all-libiberty
55540 all-gprof: maybe-all-bfd
55541 all-gprof: maybe-all-opcodes
55542 all-gprof: maybe-all-intl
55543 all-gprof: maybe-all-gas
55544 configure-ld: maybe-configure-intl
55546 configure-stage1-ld: maybe-configure-stage1-intl
55547 configure-stage2-ld: maybe-configure-stage2-intl
55548 configure-stage3-ld: maybe-configure-stage3-intl
55549 configure-stage4-ld: maybe-configure-stage4-intl
55550 configure-stageprofile-ld: maybe-configure-stageprofile-intl
55551 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
55552 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
55553 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
55554 all-ld: maybe-all-libiberty
55556 all-stage1-ld: maybe-all-stage1-libiberty
55557 all-stage2-ld: maybe-all-stage2-libiberty
55558 all-stage3-ld: maybe-all-stage3-libiberty
55559 all-stage4-ld: maybe-all-stage4-libiberty
55560 all-stageprofile-ld: maybe-all-stageprofile-libiberty
55561 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
55562 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
55563 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
55564 all-ld: maybe-all-bfd
55566 all-stage1-ld: maybe-all-stage1-bfd
55567 all-stage2-ld: maybe-all-stage2-bfd
55568 all-stage3-ld: maybe-all-stage3-bfd
55569 all-stage4-ld: maybe-all-stage4-bfd
55570 all-stageprofile-ld: maybe-all-stageprofile-bfd
55571 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
55572 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
55573 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
55574 all-ld: maybe-all-opcodes
55576 all-stage1-ld: maybe-all-stage1-opcodes
55577 all-stage2-ld: maybe-all-stage2-opcodes
55578 all-stage3-ld: maybe-all-stage3-opcodes
55579 all-stage4-ld: maybe-all-stage4-opcodes
55580 all-stageprofile-ld: maybe-all-stageprofile-opcodes
55581 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
55582 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
55583 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
55584 all-ld: maybe-all-build-bison
55586 all-stage1-ld: maybe-all-build-bison
55587 all-stage2-ld: maybe-all-build-bison
55588 all-stage3-ld: maybe-all-build-bison
55589 all-stage4-ld: maybe-all-build-bison
55590 all-stageprofile-ld: maybe-all-build-bison
55591 all-stagefeedback-ld: maybe-all-build-bison
55592 all-stageautoprofile-ld: maybe-all-build-bison
55593 all-stageautofeedback-ld: maybe-all-build-bison
55594 all-ld: maybe-all-build-flex
55596 all-stage1-ld: maybe-all-build-flex
55597 all-stage2-ld: maybe-all-build-flex
55598 all-stage3-ld: maybe-all-build-flex
55599 all-stage4-ld: maybe-all-build-flex
55600 all-stageprofile-ld: maybe-all-build-flex
55601 all-stagefeedback-ld: maybe-all-build-flex
55602 all-stageautoprofile-ld: maybe-all-build-flex
55603 all-stageautofeedback-ld: maybe-all-build-flex
55604 all-ld: maybe-all-intl
55606 all-stage1-ld: maybe-all-stage1-intl
55607 all-stage2-ld: maybe-all-stage2-intl
55608 all-stage3-ld: maybe-all-stage3-intl
55609 all-stage4-ld: maybe-all-stage4-intl
55610 all-stageprofile-ld: maybe-all-stageprofile-intl
55611 all-stagefeedback-ld: maybe-all-stagefeedback-intl
55612 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
55613 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
55614 all-ld: maybe-all-gas
55616 all-stage1-ld: maybe-all-stage1-gas
55617 all-stage2-ld: maybe-all-stage2-gas
55618 all-stage3-ld: maybe-all-stage3-gas
55619 all-stage4-ld: maybe-all-stage4-gas
55620 all-stageprofile-ld: maybe-all-stageprofile-gas
55621 all-stagefeedback-ld: maybe-all-stagefeedback-gas
55622 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
55623 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
55624 all-ld: maybe-all-binutils
55626 all-stage1-ld: maybe-all-stage1-binutils
55627 all-stage2-ld: maybe-all-stage2-binutils
55628 all-stage3-ld: maybe-all-stage3-binutils
55629 all-stage4-ld: maybe-all-stage4-binutils
55630 all-stageprofile-ld: maybe-all-stageprofile-binutils
55631 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
55632 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
55633 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
55634 install-ld: maybe-install-gold
55635 install-strip-ld: maybe-install-strip-gold
55636 configure-gold: maybe-configure-intl
55638 configure-stage1-gold: maybe-configure-stage1-intl
55639 configure-stage2-gold: maybe-configure-stage2-intl
55640 configure-stage3-gold: maybe-configure-stage3-intl
55641 configure-stage4-gold: maybe-configure-stage4-intl
55642 configure-stageprofile-gold: maybe-configure-stageprofile-intl
55643 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
55644 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
55645 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
55646 all-gold: maybe-all-libiberty
55648 all-stage1-gold: maybe-all-stage1-libiberty
55649 all-stage2-gold: maybe-all-stage2-libiberty
55650 all-stage3-gold: maybe-all-stage3-libiberty
55651 all-stage4-gold: maybe-all-stage4-libiberty
55652 all-stageprofile-gold: maybe-all-stageprofile-libiberty
55653 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
55654 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
55655 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
55656 all-gold: maybe-all-intl
55658 all-stage1-gold: maybe-all-stage1-intl
55659 all-stage2-gold: maybe-all-stage2-intl
55660 all-stage3-gold: maybe-all-stage3-intl
55661 all-stage4-gold: maybe-all-stage4-intl
55662 all-stageprofile-gold: maybe-all-stageprofile-intl
55663 all-stagefeedback-gold: maybe-all-stagefeedback-intl
55664 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
55665 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
55666 all-gold: maybe-all-bfd
55668 all-stage1-gold: maybe-all-stage1-bfd
55669 all-stage2-gold: maybe-all-stage2-bfd
55670 all-stage3-gold: maybe-all-stage3-bfd
55671 all-stage4-gold: maybe-all-stage4-bfd
55672 all-stageprofile-gold: maybe-all-stageprofile-bfd
55673 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
55674 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
55675 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
55676 all-gold: maybe-all-build-bison
55678 all-stage1-gold: maybe-all-build-bison
55679 all-stage2-gold: maybe-all-build-bison
55680 all-stage3-gold: maybe-all-build-bison
55681 all-stage4-gold: maybe-all-build-bison
55682 all-stageprofile-gold: maybe-all-build-bison
55683 all-stagefeedback-gold: maybe-all-build-bison
55684 all-stageautoprofile-gold: maybe-all-build-bison
55685 all-stageautofeedback-gold: maybe-all-build-bison
55686 all-gold: maybe-all-gas
55688 all-stage1-gold: maybe-all-stage1-gas
55689 all-stage2-gold: maybe-all-stage2-gas
55690 all-stage3-gold: maybe-all-stage3-gas
55691 all-stage4-gold: maybe-all-stage4-gas
55692 all-stageprofile-gold: maybe-all-stageprofile-gas
55693 all-stagefeedback-gold: maybe-all-stagefeedback-gas
55694 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
55695 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
55696 check-gold: maybe-all-binutils
55698 check-stage1-gold: maybe-all-stage1-binutils
55699 check-stage2-gold: maybe-all-stage2-binutils
55700 check-stage3-gold: maybe-all-stage3-binutils
55701 check-stage4-gold: maybe-all-stage4-binutils
55702 check-stageprofile-gold: maybe-all-stageprofile-binutils
55703 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
55704 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
55705 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
55706 check-gold: maybe-all-gas
55708 check-stage1-gold: maybe-all-stage1-gas
55709 check-stage2-gold: maybe-all-stage2-gas
55710 check-stage3-gold: maybe-all-stage3-gas
55711 check-stage4-gold: maybe-all-stage4-gas
55712 check-stageprofile-gold: maybe-all-stageprofile-gas
55713 check-stagefeedback-gold: maybe-all-stagefeedback-gas
55714 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
55715 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
55716 configure-opcodes: maybe-configure-intl
55718 configure-stage1-opcodes: maybe-configure-stage1-intl
55719 configure-stage2-opcodes: maybe-configure-stage2-intl
55720 configure-stage3-opcodes: maybe-configure-stage3-intl
55721 configure-stage4-opcodes: maybe-configure-stage4-intl
55722 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
55723 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
55724 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
55725 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
55726 all-opcodes: maybe-all-bfd
55728 all-stage1-opcodes: maybe-all-stage1-bfd
55729 all-stage2-opcodes: maybe-all-stage2-bfd
55730 all-stage3-opcodes: maybe-all-stage3-bfd
55731 all-stage4-opcodes: maybe-all-stage4-bfd
55732 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
55733 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
55734 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
55735 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
55736 all-opcodes: maybe-all-libiberty
55738 all-stage1-opcodes: maybe-all-stage1-libiberty
55739 all-stage2-opcodes: maybe-all-stage2-libiberty
55740 all-stage3-opcodes: maybe-all-stage3-libiberty
55741 all-stage4-opcodes: maybe-all-stage4-libiberty
55742 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55743 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55744 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
55745 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
55746 all-opcodes: maybe-all-intl
55748 all-stage1-opcodes: maybe-all-stage1-intl
55749 all-stage2-opcodes: maybe-all-stage2-intl
55750 all-stage3-opcodes: maybe-all-stage3-intl
55751 all-stage4-opcodes: maybe-all-stage4-intl
55752 all-stageprofile-opcodes: maybe-all-stageprofile-intl
55753 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
55754 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
55755 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
55756 all-dejagnu: maybe-all-tcl
55757 all-dejagnu: maybe-all-expect
55758 all-dejagnu: maybe-all-tk
55759 configure-expect: maybe-configure-tcl
55760 configure-expect: maybe-configure-tk
55761 all-expect: maybe-all-tcl
55762 all-expect: maybe-all-tk
55763 configure-itcl: maybe-configure-tcl
55764 configure-itcl: maybe-configure-tk
55765 all-itcl: maybe-all-tcl
55766 all-itcl: maybe-all-tk
55767 install-itcl: maybe-install-tcl
55768 install-strip-itcl: maybe-install-strip-tcl
55769 configure-tk: maybe-configure-tcl
55770 all-tk: maybe-all-tcl
55771 all-sid: maybe-all-libiberty
55772 all-sid: maybe-all-bfd
55773 all-sid: maybe-all-opcodes
55774 all-sid: maybe-all-tcl
55775 all-sid: maybe-all-tk
55776 install-sid: maybe-install-tcl
55777 install-strip-sid: maybe-install-strip-tcl
55778 install-sid: maybe-install-tk
55779 install-strip-sid: maybe-install-strip-tk
55780 configure-sim: maybe-configure-intl
55781 all-sim: maybe-all-intl
55782 all-sim: maybe-all-libiberty
55783 all-sim: maybe-all-bfd
55784 all-sim: maybe-all-opcodes
55785 all-sim: maybe-all-readline
55786 all-sim: maybe-configure-gdb
55787 all-fastjar: maybe-all-zlib
55788 all-fastjar: maybe-all-build-texinfo
55789 all-fastjar: maybe-all-libiberty
55790 all-bison: maybe-all-intl
55791 all-bison: maybe-all-build-texinfo
55792 all-flex: maybe-all-build-bison
55793 all-flex: maybe-all-intl
55794 all-flex: maybe-all-m4
55795 all-flex: maybe-all-build-texinfo
55796 all-m4: maybe-all-intl
55797 all-m4: maybe-all-build-texinfo
55798 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
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-libobjc: maybe-configure-target-boehm-gc
55807 all-target-libobjc: maybe-all-target-boehm-gc
55808 configure-target-libstdc++-v3: maybe-configure-target-libgomp
55810 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
55811 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
55812 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
55813 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
55814 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
55815 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
55816 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
55817 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
55818 configure-target-liboffloadmic: maybe-configure-target-libgomp
55819 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
55821 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
55822 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
55823 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
55824 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
55825 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
55826 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
55827 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
55828 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
55829 configure-target-libvtv: maybe-all-target-libstdc++-v3
55831 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
55832 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
55833 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
55834 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
55835 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
55836 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
55837 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
55838 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
55839 all-target-libstdc++-v3: maybe-configure-target-libgomp
55841 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
55842 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
55843 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
55844 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
55845 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
55846 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
55847 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
55848 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
55849 all-target-liboffloadmic: maybe-all-target-libgomp
55850 install-target-libgo: maybe-install-target-libatomic
55851 install-target-libgfortran: maybe-install-target-libquadmath
55852 install-target-libgfortran: maybe-install-target-libgcc
55853 install-target-libsanitizer: maybe-install-target-libstdc++-v3
55854 install-target-libsanitizer: maybe-install-target-libgcc
55855 install-target-libvtv: maybe-install-target-libstdc++-v3
55856 install-target-libvtv: maybe-install-target-libgcc
55857 install-target-libcilkrts: maybe-install-target-libstdc++-v3
55858 install-target-libcilkrts: maybe-install-target-libgcc
55859 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
55860 install-target-liboffloadmic: maybe-install-target-libgcc
55861 install-target-libitm: maybe-install-target-libgcc
55862 install-target-libobjc: maybe-install-target-libgcc
55863 install-target-libstdc++-v3: maybe-install-target-libgcc
55864 all-target-libgloss: maybe-all-target-newlib
55865 all-target-winsup: maybe-all-target-libtermcap
55866 configure-target-newlib: maybe-all-binutils
55867 configure-target-newlib: maybe-all-ld
55868 configure-target-libgfortran: maybe-all-target-libquadmath
55869 configure-target-libgfortran: maybe-all-target-libbacktrace
55872 # Dependencies for target modules on other target modules are
55873 # described by lang_env_dependencies; the defaults apply to anything
55874 # not mentioned there.
55877 @if gcc-bootstrap
55878 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
55879 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
55880 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
55881 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
55882 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
55883 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
55884 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
55885 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
55886 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
55887 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
55888 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
55889 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
55890 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
55891 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
55892 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
55893 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
55894 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
55895 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
55896 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
55897 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
55898 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
55899 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
55900 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-target-libgcc
55901 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-target-libgcc
55902 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
55903 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
55904 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
55905 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
55906 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
55907 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
55908 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
55909 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
55910 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
55911 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
55912 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
55913 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
55914 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
55915 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
55916 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
55917 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
55918 @endif gcc-bootstrap
55920 @if gcc-no-bootstrap
55921 configure-target-libstdc++-v3: maybe-all-target-libgcc
55922 configure-target-libsanitizer: maybe-all-target-libgcc
55923 configure-target-libmpx: maybe-all-target-libgcc
55924 configure-target-libvtv: maybe-all-target-libgcc
55925 configure-target-libcilkrts: maybe-all-target-libgcc
55926 configure-target-liboffloadmic: maybe-all-target-libgcc
55927 configure-target-libssp: maybe-all-target-libgcc
55928 configure-target-newlib: maybe-all-target-libgcc
55929 configure-target-libbacktrace: maybe-all-target-libgcc
55930 configure-target-libquadmath: maybe-all-target-libgcc
55931 configure-target-libgfortran: maybe-all-target-libgcc
55932 configure-target-libobjc: maybe-all-target-libgcc
55933 configure-target-libgo: maybe-all-target-libgcc
55934 configure-target-libtermcap: maybe-all-target-libgcc
55935 configure-target-winsup: maybe-all-target-libgcc
55936 configure-target-libgloss: maybe-all-target-libgcc
55937 configure-target-libffi: maybe-all-target-libgcc
55938 configure-target-zlib: maybe-all-target-libgcc
55939 configure-target-boehm-gc: maybe-all-target-libgcc
55940 configure-target-rda: maybe-all-target-libgcc
55941 configure-target-libada: maybe-all-target-libgcc
55942 configure-target-libgomp: maybe-all-target-libgcc
55943 configure-target-libitm: maybe-all-target-libgcc
55944 configure-target-libatomic: maybe-all-target-libgcc
55945 @endif gcc-no-bootstrap
55948 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
55950 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
55952 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
55954 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
55956 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
55957 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
55959 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
55960 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
55962 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
55966 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
55968 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
55970 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
55972 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
55974 configure-target-libgo: 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-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
55988 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
55990 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
55992 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
55994 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
55995 configure-target-libitm: maybe-all-target-libstdc++-v3
55997 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
56000 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
56001 GDB_TK = @GDB_TK@
56002 INSTALL_GDB_TK = @INSTALL_GDB_TK@
56003 configure-gdb: $(CONFIGURE_GDB_TK)
56004 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
56005 install-gdb: $(INSTALL_GDB_TK)
56007 # Serialization dependencies. Host configures don't work well in parallel to
56008 # each other, due to contention over config.cache. Target configures and
56009 # build configures are similar.
56010 @serialization_dependencies@
56012 # --------------------------------
56013 # Regenerating top level configury
56014 # --------------------------------
56016 # Rebuilding Makefile.in, using autogen.
56017 AUTOGEN = autogen
56018 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
56019 cd $(srcdir) && $(AUTOGEN) Makefile.def
56021 # Rebuilding Makefile.
56022 Makefile: $(srcdir)/Makefile.in config.status
56023 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
56025 config.status: configure
56026 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
56028 # Rebuilding configure.
56029 AUTOCONF = autoconf
56030 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
56031 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
56032 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
56033 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
56034 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
56035 cd $(srcdir) && $(AUTOCONF)
56037 # ------------------------------
56038 # Special directives to GNU Make
56039 # ------------------------------
56041 # Don't pass command-line variables to submakes.
56042 .NOEXPORT:
56043 MAKEOVERRIDES=
56045 # end of Makefile.in