[Ada] Fix missing Constraint_Error for Enum_Val attribute
[official-gcc.git] / Makefile.in
blob02cc7a3909487aa6e01f602bfaaf3c5952352037
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
157 GOC="$(GOC_FOR_BUILD)"; export GOC; \
158 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
159 GDC="$(GDC_FOR_BUILD)"; export GDC; \
160 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
161 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
162 LD="$(LD_FOR_BUILD)"; export LD; \
163 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
164 NM="$(NM_FOR_BUILD)"; export NM; \
165 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
166 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
167 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
169 # These variables must be set on the make command line for directories
170 # built for the build system to override those in BASE_FLAGS_TO_PASS.
171 EXTRA_BUILD_FLAGS = \
172 CFLAGS="$(CFLAGS_FOR_BUILD)" \
173 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
175 # This is the list of directories to built for the host system.
176 SUBDIRS = @configdirs@
177 TARGET_CONFIGDIRS = @target_configdirs@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the host system.
180 HOST_CONFIGARGS = @host_configargs@
181 # Host programs are put under this directory, which is . except if building
182 # with srcdir=..
183 HOST_SUBDIR = @host_subdir@
184 # This is the list of variables to export in the environment when
185 # configuring subdirectories for the host system. We need to pass
186 # some to the GCC configure because of its hybrid host/target nature.
187 HOST_EXPORTS = \
188 $(BASE_EXPORTS) \
189 CC="$(CC)"; export CC; \
190 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
191 CFLAGS="$(CFLAGS)"; export CFLAGS; \
192 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
193 CXX="$(CXX)"; export CXX; \
194 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 GDC="$(GDC)"; export GDC; \
198 AR="$(AR)"; export AR; \
199 AS="$(AS)"; export AS; \
200 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
201 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
202 LD="$(LD)"; export LD; \
203 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
204 NM="$(NM)"; export NM; \
205 RANLIB="$(RANLIB)"; export RANLIB; \
206 WINDRES="$(WINDRES)"; export WINDRES; \
207 WINDMC="$(WINDMC)"; export WINDMC; \
208 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
209 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
210 OTOOL="$(OTOOL)"; export OTOOL; \
211 READELF="$(READELF)"; export READELF; \
212 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
213 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
214 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
215 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
216 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
217 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
218 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
219 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
220 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
221 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
222 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
223 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
224 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
225 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
226 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
227 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
228 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
229 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
230 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
231 @if gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
233 @endif gcc-bootstrap
234 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX='$(CXX)'; export CXX; \
238 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
239 @if target-libstdc++-v3-bootstrap
240 # Override the above if we're bootstrapping C++.
241 POSTSTAGE1_CXX_EXPORT = \
242 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
243 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
244 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
247 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
248 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
249 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
250 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
251 export CXX; \
252 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
253 @endif target-libstdc++-v3-bootstrap
255 # Similar, for later GCC stages.
256 POSTSTAGE1_HOST_EXPORTS = \
257 $(HOST_EXPORTS) \
258 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
259 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
260 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
261 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
262 $(POSTSTAGE1_CXX_EXPORT) \
263 $(LTO_EXPORTS) \
264 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
265 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
266 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
267 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
268 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
269 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
270 export GDC; \
271 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
272 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
273 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
274 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
276 # Target libraries are put under this directory:
277 TARGET_SUBDIR = @target_subdir@
278 # This is set by the configure script to the arguments to use when configuring
279 # directories built for the target.
280 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
281 # This is the list of variables to export in the environment when
282 # configuring subdirectories for the target system.
283 BASE_TARGET_EXPORTS = \
284 $(BASE_EXPORTS) \
285 AR="$(AR_FOR_TARGET)"; export AR; \
286 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
287 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
289 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
290 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
291 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
292 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
293 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
294 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
295 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
296 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
297 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
298 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
299 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
300 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
301 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
302 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
303 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
304 READELF="$(READELF_FOR_TARGET)"; export READELF; \
305 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
306 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
307 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
308 @if gcc-bootstrap
309 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
310 @endif gcc-bootstrap
311 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
312 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
314 RAW_CXX_TARGET_EXPORTS = \
315 $(BASE_TARGET_EXPORTS) \
316 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
317 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
319 NORMAL_TARGET_EXPORTS = \
320 $(BASE_TARGET_EXPORTS) \
321 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
323 # Where to find GMP
324 HOST_GMPLIBS = @gmplibs@
325 HOST_GMPINC = @gmpinc@
327 # Where to find isl
328 HOST_ISLLIBS = @isllibs@
329 HOST_ISLINC = @islinc@
331 # Where to find libelf
332 HOST_LIBELFLIBS = @libelflibs@
333 HOST_LIBELFINC = @libelfinc@
335 # ----------------------------------------------
336 # Programs producing files for the BUILD machine
337 # ----------------------------------------------
339 SHELL = @SHELL@
341 # pwd command to use. Allow user to override default by setting PWDCMD in
342 # the environment to account for automounters. The make variable must not
343 # be called PWDCMD, otherwise the value set here is passed to make
344 # subprocesses and overrides the setting from the user's environment.
345 # Don't use PWD since it is a common shell environment variable and we
346 # don't want to corrupt it.
347 PWD_COMMAND = $${PWDCMD-pwd}
349 # compilers to use to create programs which must be run in the build
350 # environment.
351 AR_FOR_BUILD = @AR_FOR_BUILD@
352 AS_FOR_BUILD = @AS_FOR_BUILD@
353 CC_FOR_BUILD = @CC_FOR_BUILD@
354 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
355 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
356 CXX_FOR_BUILD = @CXX_FOR_BUILD@
357 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
358 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
359 GOC_FOR_BUILD = @GOC_FOR_BUILD@
360 GDC_FOR_BUILD = @GDC_FOR_BUILD@
361 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
362 LD_FOR_BUILD = @LD_FOR_BUILD@
363 NM_FOR_BUILD = @NM_FOR_BUILD@
364 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
365 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
366 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
368 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
369 # here so that they can be overridden by Makefile fragments.
370 BUILD_PREFIX = @BUILD_PREFIX@
371 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
373 # Flags to pass to stage2 and later makes. They are defined
374 # here so that they can be overridden by Makefile fragments.
375 BOOT_CFLAGS= -g -O2
376 BOOT_LDFLAGS=
377 BOOT_ADAFLAGS= -gnatpg
379 AWK = @AWK@
380 SED = @SED@
381 BISON = @BISON@
382 YACC = @YACC@
383 FLEX = @FLEX@
384 LEX = @LEX@
385 M4 = @M4@
386 MAKEINFO = @MAKEINFO@
387 EXPECT = @EXPECT@
388 RUNTEST = @RUNTEST@
390 AUTO_PROFILE = gcc-auto-profile -c 10000000
392 # This just becomes part of the MAKEINFO definition passed down to
393 # sub-makes. It lets flags be given on the command line while still
394 # using the makeinfo from the object tree.
395 # (Default to avoid splitting info files by setting the threshold high.)
396 MAKEINFOFLAGS = --split-size=5000000
398 # ---------------------------------------------
399 # Programs producing files for the HOST machine
400 # ---------------------------------------------
402 AS = @AS@
403 AR = @AR@
404 AR_FLAGS = rc
405 CC = @CC@
406 CXX = @CXX@
407 DLLTOOL = @DLLTOOL@
408 LD = @LD@
409 LIPO = @LIPO@
410 NM = @NM@
411 OBJDUMP = @OBJDUMP@
412 OTOOL = @OTOOL@
413 RANLIB = @RANLIB@
414 READELF = @READELF@
415 STRIP = @STRIP@
416 WINDRES = @WINDRES@
417 WINDMC = @WINDMC@
419 GDC = @GDC@
420 GNATBIND = @GNATBIND@
421 GNATMAKE = @GNATMAKE@
423 CFLAGS = @CFLAGS@
424 LDFLAGS = @LDFLAGS@
425 LIBCFLAGS = $(CFLAGS)
426 CXXFLAGS = @CXXFLAGS@
427 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
428 GOCFLAGS = $(CFLAGS)
429 GDCFLAGS = $(CFLAGS)
431 CREATE_GCOV = create_gcov
433 TFLAGS =
435 # Defaults for all stages; some are overridden below.
437 STAGE_CFLAGS = $(BOOT_CFLAGS)
438 STAGE_TFLAGS = $(TFLAGS)
439 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
442 # Defaults for stage 1; some are overridden below.
443 STAGE1_CFLAGS = $(STAGE_CFLAGS)
444 STAGE1_CXXFLAGS = $(CXXFLAGS)
445 @if target-libstdc++-v3-bootstrap
446 # Override the above if we're bootstrapping C++.
447 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
448 @endif target-libstdc++-v3-bootstrap
449 STAGE1_TFLAGS = $(STAGE_TFLAGS)
450 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
452 # Defaults for stage 2; some are overridden below.
453 STAGE2_CFLAGS = $(STAGE_CFLAGS)
454 STAGE2_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE2_TFLAGS = $(STAGE_TFLAGS)
460 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
462 # Defaults for stage 3; some are overridden below.
463 STAGE3_CFLAGS = $(STAGE_CFLAGS)
464 STAGE3_CXXFLAGS = $(CXXFLAGS)
465 @if target-libstdc++-v3-bootstrap
466 # Override the above if we're bootstrapping C++.
467 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
468 @endif target-libstdc++-v3-bootstrap
469 STAGE3_TFLAGS = $(STAGE_TFLAGS)
470 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
472 # Defaults for stage 4; some are overridden below.
473 STAGE4_CFLAGS = $(STAGE_CFLAGS)
474 STAGE4_CXXFLAGS = $(CXXFLAGS)
475 @if target-libstdc++-v3-bootstrap
476 # Override the above if we're bootstrapping C++.
477 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
478 @endif target-libstdc++-v3-bootstrap
479 STAGE4_TFLAGS = $(STAGE_TFLAGS)
480 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
482 # Defaults for stage profile; some are overridden below.
483 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
484 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
485 @if target-libstdc++-v3-bootstrap
486 # Override the above if we're bootstrapping C++.
487 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
488 @endif target-libstdc++-v3-bootstrap
489 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
490 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
492 # Defaults for stage train; some are overridden below.
493 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
494 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
495 @if target-libstdc++-v3-bootstrap
496 # Override the above if we're bootstrapping C++.
497 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
498 @endif target-libstdc++-v3-bootstrap
499 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
500 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
502 # Defaults for stage feedback; some are overridden below.
503 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
504 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
505 @if target-libstdc++-v3-bootstrap
506 # Override the above if we're bootstrapping C++.
507 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
508 @endif target-libstdc++-v3-bootstrap
509 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
510 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
512 # Defaults for stage autoprofile; some are overridden below.
513 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
514 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
515 @if target-libstdc++-v3-bootstrap
516 # Override the above if we're bootstrapping C++.
517 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
518 @endif target-libstdc++-v3-bootstrap
519 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
520 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
522 # Defaults for stage autofeedback; some are overridden below.
523 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
524 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
525 @if target-libstdc++-v3-bootstrap
526 # Override the above if we're bootstrapping C++.
527 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
528 @endif target-libstdc++-v3-bootstrap
529 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
530 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
533 # By default, C and C++ are the only stage1 languages, because they are the
534 # only ones we require to build with the bootstrap compiler, and also the
535 # only ones useful for building stage2.
537 STAGE1_CFLAGS = @stage1_cflags@
538 STAGE1_CHECKING = @stage1_checking@
539 STAGE1_LANGUAGES = @stage1_languages@
540 # * We force-disable intermodule optimizations, even if
541 # --enable-intermodule was passed, since the installed compiler
542 # probably can't handle them. Luckily, autoconf always respects
543 # the last argument when conflicting --enable arguments are passed.
544 # * Likewise, we force-disable coverage flags, since the installed
545 # compiler probably has never heard of them.
546 # * We also disable -Wformat, since older GCCs don't understand newer %s.
547 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
548 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
549 --disable-build-format-warnings
551 # When using the slow stage1 compiler disable IL verification and forcefully
552 # enable it when using the stage2 compiler instead. As we later compare
553 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
554 # checking when building all target libraries for release builds.
555 STAGE1_TFLAGS += -fno-checking
556 STAGE2_CFLAGS += -fno-checking
557 STAGE2_TFLAGS += -fno-checking
558 STAGE3_CFLAGS += -fchecking=1
559 STAGE3_TFLAGS += -fchecking=1
561 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
562 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
564 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
565 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
567 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
568 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
570 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
571 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
573 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
574 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
576 do-compare = @do_compare@
577 do-compare3 = $(do-compare)
579 # -----------------------------------------------
580 # Programs producing files for the TARGET machine
581 # -----------------------------------------------
583 AR_FOR_TARGET=@AR_FOR_TARGET@
584 AS_FOR_TARGET=@AS_FOR_TARGET@
585 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
587 # If GCC_FOR_TARGET is not overriden on the command line, then this
588 # variable is passed down to the gcc Makefile, where it is used to
589 # build libgcc2.a. We define it here so that it can itself be
590 # overridden on the command line.
591 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
592 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
593 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
594 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
595 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
596 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
597 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
598 LD_FOR_TARGET=@LD_FOR_TARGET@
600 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
601 NM_FOR_TARGET=@NM_FOR_TARGET@
602 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
603 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
604 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
605 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
606 READELF_FOR_TARGET=@READELF_FOR_TARGET@
607 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
608 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
609 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
611 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
612 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
613 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
615 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
616 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
618 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
619 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
620 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
621 GOCFLAGS_FOR_TARGET = -O2 -g
622 GDCFLAGS_FOR_TARGET = -O2 -g
624 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
625 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
626 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
628 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
630 # ------------------------------------
631 # Miscellaneous targets and flag lists
632 # ------------------------------------
634 # The first rule in the file had better be this one. Don't put any above it.
635 # This lives here to allow makefile fragments to contain dependencies.
636 all:
638 #### host and target specific makefile fragments come in here.
639 @target_makefile_frag@
640 @alphaieee_frag@
641 @ospace_frag@
642 @host_makefile_frag@
645 # This is the list of directories that may be needed in RPATH_ENVVAR
646 # so that programs built for the target machine work.
647 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
649 @if target-libstdc++-v3
650 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
651 @endif target-libstdc++-v3
653 @if target-libsanitizer
654 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
655 @endif target-libsanitizer
657 @if target-libvtv
658 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
659 @endif target-libvtv
661 @if target-liboffloadmic
662 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
663 @endif target-liboffloadmic
665 @if target-libssp
666 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
667 @endif target-libssp
669 @if target-libphobos
670 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
671 @endif target-libphobos
673 @if target-libgomp
674 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
675 @endif target-libgomp
677 @if target-libitm
678 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
679 @endif target-libitm
681 @if target-libatomic
682 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
683 @endif target-libatomic
687 # This is the list of directories that may be needed in RPATH_ENVVAR
688 # so that programs built for the host machine work.
689 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
691 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
692 @if gcc
693 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
694 @endif gcc
697 @if gmp
698 HOST_LIB_PATH_gmp = \
699 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
700 @endif gmp
702 @if mpfr
703 HOST_LIB_PATH_mpfr = \
704 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
705 @endif mpfr
707 @if mpc
708 HOST_LIB_PATH_mpc = \
709 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
710 @endif mpc
712 @if isl
713 HOST_LIB_PATH_isl = \
714 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
715 @endif isl
717 @if libelf
718 HOST_LIB_PATH_libelf = \
719 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
720 @endif libelf
723 CXX_FOR_TARGET_FLAG_TO_PASS = \
724 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
725 @if target-libstdc++-v3
726 # CXX_FOR_TARGET is tricky to get right for target libs that require a
727 # functional C++ compiler. When we recurse, if we expand
728 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
729 # libstdc++ include flags from the script. Instead, we get an
730 # -funconfigured-* word, so that we'll get errors if this invalid C++
731 # command line is used for anything, but also so that we can use the
732 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
733 # don't pass it on, sub-make will use the default definition, that
734 # re-expands it at the time of use, so we'll get it right when we need
735 # it. One potential exception is the expansion of CXX_FOR_TARGET
736 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
737 # really work, for C++ host programs can't depend on the current-stage
738 # C++ target library.
739 CXX_FOR_TARGET_FLAG_TO_PASS = \
740 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
741 @endif target-libstdc++-v3
743 # Flags to pass down to all sub-makes. STAGE*FLAGS,
744 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
745 # overrideable (for a bootstrap build stage1 also builds gcc.info).
746 BASE_FLAGS_TO_PASS = \
747 "DESTDIR=$(DESTDIR)" \
748 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
749 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
750 "bindir=$(bindir)" \
751 "datadir=$(datadir)" \
752 "exec_prefix=$(exec_prefix)" \
753 "includedir=$(includedir)" \
754 "datarootdir=$(datarootdir)" \
755 "docdir=$(docdir)" \
756 "infodir=$(infodir)" \
757 "pdfdir=$(pdfdir)" \
758 "htmldir=$(htmldir)" \
759 "libdir=$(libdir)" \
760 "libexecdir=$(libexecdir)" \
761 "lispdir=$(lispdir)" \
762 "localstatedir=$(localstatedir)" \
763 "mandir=$(mandir)" \
764 "oldincludedir=$(oldincludedir)" \
765 "prefix=$(prefix)" \
766 "sbindir=$(sbindir)" \
767 "sharedstatedir=$(sharedstatedir)" \
768 "sysconfdir=$(sysconfdir)" \
769 "tooldir=$(tooldir)" \
770 "build_tooldir=$(build_tooldir)" \
771 "target_alias=$(target_alias)" \
772 "AWK=$(AWK)" \
773 "BISON=$(BISON)" \
774 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
775 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
776 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
777 "EXPECT=$(EXPECT)" \
778 "FLEX=$(FLEX)" \
779 "INSTALL=$(INSTALL)" \
780 "INSTALL_DATA=$(INSTALL_DATA)" \
781 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
782 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
783 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
784 "LEX=$(LEX)" \
785 "M4=$(M4)" \
786 "MAKE=$(MAKE)" \
787 "RUNTEST=$(RUNTEST)" \
788 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
789 "SED=$(SED)" \
790 "SHELL=$(SHELL)" \
791 "YACC=$(YACC)" \
792 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
793 "ADA_CFLAGS=$(ADA_CFLAGS)" \
794 "AR_FLAGS=$(AR_FLAGS)" \
795 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
796 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
797 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
798 "CFLAGS=$(CFLAGS)" \
799 "CXXFLAGS=$(CXXFLAGS)" \
800 "LDFLAGS=$(LDFLAGS)" \
801 "LIBCFLAGS=$(LIBCFLAGS)" \
802 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
803 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
804 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
805 "GNATBIND=$(GNATBIND)" \
806 "GNATMAKE=$(GNATMAKE)" \
807 "GDC=$(GDC)" \
808 "GDCFLAGS=$(GDCFLAGS)" \
809 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
810 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
811 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
812 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
813 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
814 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
815 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
816 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
817 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
818 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
819 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
820 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
821 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
822 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
823 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
824 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
825 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
826 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
827 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
828 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
829 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
830 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
831 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
832 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
833 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
834 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
835 "BUILD_CONFIG=$(BUILD_CONFIG)" \
836 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
837 "LEAN=$(LEAN)" \
838 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
839 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
840 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
841 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
842 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
843 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
844 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
845 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
846 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
847 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
848 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
849 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
850 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
851 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
852 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
853 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
854 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
855 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
856 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
857 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
858 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
859 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
860 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
861 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
862 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
863 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
864 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
865 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
866 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
867 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
868 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
869 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
870 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
871 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
872 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
873 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
874 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
875 "TFLAGS=$(TFLAGS)" \
876 "CONFIG_SHELL=$(SHELL)" \
877 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
878 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
880 # We leave this in just in case, but it is not needed anymore.
881 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
883 # Flags to pass down to most sub-makes, in which we're building with
884 # the host environment.
885 EXTRA_HOST_FLAGS = \
886 'AR=$(AR)' \
887 'AS=$(AS)' \
888 'CC=$(CC)' \
889 'CXX=$(CXX)' \
890 'DLLTOOL=$(DLLTOOL)' \
891 'GFORTRAN=$(GFORTRAN)' \
892 'GOC=$(GOC)' \
893 'GDC=$(GDC)' \
894 'LD=$(LD)' \
895 'LIPO=$(LIPO)' \
896 'NM=$(NM)' \
897 'OBJDUMP=$(OBJDUMP)' \
898 'OTOOL=$(OTOOL)' \
899 'RANLIB=$(RANLIB)' \
900 'READELF=$(READELF)' \
901 'STRIP=$(STRIP)' \
902 'WINDRES=$(WINDRES)' \
903 'WINDMC=$(WINDMC)' \
904 'CREATE_GCOV=$(CREATE_GCOV)'
906 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
908 # Flags to pass to stage1 or when not bootstrapping.
910 STAGE1_FLAGS_TO_PASS = \
911 LDFLAGS="$${LDFLAGS}" \
912 HOST_LIBS="$${HOST_LIBS}"
914 # Flags to pass to stage2 and later makes.
916 POSTSTAGE1_FLAGS_TO_PASS = \
917 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
918 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
919 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
920 GNATBIND="$${GNATBIND}" \
921 LDFLAGS="$${LDFLAGS}" \
922 HOST_LIBS="$${HOST_LIBS}" \
923 $(LTO_FLAGS_TO_PASS) \
924 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
926 @if gcc-bootstrap
927 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
928 $(POSTSTAGE1_HOST_EXPORTS) \
931 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
932 @endif gcc-bootstrap
934 # Flags to pass down to makes which are built with the target environment.
935 # The double $ decreases the length of the command line; those variables
936 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
937 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
938 # so we expand them here.
939 EXTRA_TARGET_FLAGS = \
940 'AR=$$(AR_FOR_TARGET)' \
941 'AS=$(COMPILER_AS_FOR_TARGET)' \
942 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
943 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
944 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
945 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
946 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
947 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
948 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
949 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
950 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
951 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
952 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
953 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
954 'LD=$(COMPILER_LD_FOR_TARGET)' \
955 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
956 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
957 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
958 'NM=$(COMPILER_NM_FOR_TARGET)' \
959 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
960 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
961 'RANLIB=$$(RANLIB_FOR_TARGET)' \
962 'READELF=$$(READELF_FOR_TARGET)' \
963 'WINDRES=$$(WINDRES_FOR_TARGET)' \
964 'WINDMC=$$(WINDMC_FOR_TARGET)' \
965 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
966 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
967 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
968 "TFLAGS=$$TFLAGS"
970 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
972 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
973 # unfortunately needs the native compiler and the target ar and
974 # ranlib.
975 # If any variables are added here, they must be added to do-*, below.
976 # The BUILD_* variables are a special case, which are used for the gcc
977 # cross-building scheme.
978 EXTRA_GCC_FLAGS = \
979 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
980 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
981 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
983 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
985 @if gcc
986 BUILD_CONFIG = @BUILD_CONFIG@
987 ifneq ($(BUILD_CONFIG),)
988 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
989 endif
990 @endif gcc
992 .PHONY: configure-host
993 configure-host: \
994 maybe-configure-bfd \
995 maybe-configure-opcodes \
996 maybe-configure-binutils \
997 maybe-configure-bison \
998 maybe-configure-cgen \
999 maybe-configure-dejagnu \
1000 maybe-configure-etc \
1001 maybe-configure-fastjar \
1002 maybe-configure-fixincludes \
1003 maybe-configure-flex \
1004 maybe-configure-gas \
1005 maybe-configure-gcc \
1006 maybe-configure-gmp \
1007 maybe-configure-mpfr \
1008 maybe-configure-mpc \
1009 maybe-configure-isl \
1010 maybe-configure-libelf \
1011 maybe-configure-gold \
1012 maybe-configure-gprof \
1013 maybe-configure-intl \
1014 maybe-configure-tcl \
1015 maybe-configure-itcl \
1016 maybe-configure-ld \
1017 maybe-configure-libbacktrace \
1018 maybe-configure-libcpp \
1019 maybe-configure-libdecnumber \
1020 maybe-configure-libgui \
1021 maybe-configure-libiberty \
1022 maybe-configure-libiberty-linker-plugin \
1023 maybe-configure-libiconv \
1024 maybe-configure-m4 \
1025 maybe-configure-readline \
1026 maybe-configure-sid \
1027 maybe-configure-sim \
1028 maybe-configure-texinfo \
1029 maybe-configure-zlib \
1030 maybe-configure-gnulib \
1031 maybe-configure-gdb \
1032 maybe-configure-expect \
1033 maybe-configure-guile \
1034 maybe-configure-tk \
1035 maybe-configure-libtermcap \
1036 maybe-configure-utils \
1037 maybe-configure-gnattools \
1038 maybe-configure-lto-plugin \
1039 maybe-configure-libcc1 \
1040 maybe-configure-gotools \
1041 maybe-configure-libctf
1042 .PHONY: configure-target
1043 configure-target: \
1044 maybe-configure-target-libstdc++-v3 \
1045 maybe-configure-target-libsanitizer \
1046 maybe-configure-target-libvtv \
1047 maybe-configure-target-liboffloadmic \
1048 maybe-configure-target-libssp \
1049 maybe-configure-target-newlib \
1050 maybe-configure-target-libgcc \
1051 maybe-configure-target-libbacktrace \
1052 maybe-configure-target-libquadmath \
1053 maybe-configure-target-libgfortran \
1054 maybe-configure-target-libobjc \
1055 maybe-configure-target-libgo \
1056 maybe-configure-target-libhsail-rt \
1057 maybe-configure-target-libphobos \
1058 maybe-configure-target-libtermcap \
1059 maybe-configure-target-winsup \
1060 maybe-configure-target-libgloss \
1061 maybe-configure-target-libffi \
1062 maybe-configure-target-zlib \
1063 maybe-configure-target-rda \
1064 maybe-configure-target-libada \
1065 maybe-configure-target-libgomp \
1066 maybe-configure-target-libitm \
1067 maybe-configure-target-libatomic
1069 # The target built for a native non-bootstrap build.
1070 .PHONY: all
1071 all:
1072 @if gcc-bootstrap
1073 [ -f stage_final ] || echo stage3 > stage_final
1074 @r=`${PWD_COMMAND}`; export r; \
1075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1076 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1077 @endif gcc-bootstrap
1078 @: $(MAKE); $(unstage)
1079 @r=`${PWD_COMMAND}`; export r; \
1080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1081 @if gcc-bootstrap
1082 if [ -f stage_last ]; then \
1083 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1084 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1085 else \
1086 @endif gcc-bootstrap
1087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1088 @if gcc-bootstrap
1090 fi \
1091 @endif gcc-bootstrap
1092 && :
1094 .PHONY: all-build
1096 all-build: maybe-all-build-libiberty
1097 all-build: maybe-all-build-bison
1098 all-build: maybe-all-build-flex
1099 all-build: maybe-all-build-m4
1100 all-build: maybe-all-build-texinfo
1101 all-build: maybe-all-build-fixincludes
1102 all-build: maybe-all-build-libcpp
1104 .PHONY: all-host
1106 @if bfd-no-bootstrap
1107 all-host: maybe-all-bfd
1108 @endif bfd-no-bootstrap
1109 @if opcodes-no-bootstrap
1110 all-host: maybe-all-opcodes
1111 @endif opcodes-no-bootstrap
1112 @if binutils-no-bootstrap
1113 all-host: maybe-all-binutils
1114 @endif binutils-no-bootstrap
1115 all-host: maybe-all-bison
1116 all-host: maybe-all-cgen
1117 all-host: maybe-all-dejagnu
1118 all-host: maybe-all-etc
1119 all-host: maybe-all-fastjar
1120 @if fixincludes-no-bootstrap
1121 all-host: maybe-all-fixincludes
1122 @endif fixincludes-no-bootstrap
1123 all-host: maybe-all-flex
1124 @if gas-no-bootstrap
1125 all-host: maybe-all-gas
1126 @endif gas-no-bootstrap
1127 @if gcc-no-bootstrap
1128 all-host: maybe-all-gcc
1129 @endif gcc-no-bootstrap
1130 @if gmp-no-bootstrap
1131 all-host: maybe-all-gmp
1132 @endif gmp-no-bootstrap
1133 @if mpfr-no-bootstrap
1134 all-host: maybe-all-mpfr
1135 @endif mpfr-no-bootstrap
1136 @if mpc-no-bootstrap
1137 all-host: maybe-all-mpc
1138 @endif mpc-no-bootstrap
1139 @if isl-no-bootstrap
1140 all-host: maybe-all-isl
1141 @endif isl-no-bootstrap
1142 @if libelf-no-bootstrap
1143 all-host: maybe-all-libelf
1144 @endif libelf-no-bootstrap
1145 @if gold-no-bootstrap
1146 all-host: maybe-all-gold
1147 @endif gold-no-bootstrap
1148 all-host: maybe-all-gprof
1149 @if intl-no-bootstrap
1150 all-host: maybe-all-intl
1151 @endif intl-no-bootstrap
1152 all-host: maybe-all-tcl
1153 all-host: maybe-all-itcl
1154 @if ld-no-bootstrap
1155 all-host: maybe-all-ld
1156 @endif ld-no-bootstrap
1157 @if libbacktrace-no-bootstrap
1158 all-host: maybe-all-libbacktrace
1159 @endif libbacktrace-no-bootstrap
1160 @if libcpp-no-bootstrap
1161 all-host: maybe-all-libcpp
1162 @endif libcpp-no-bootstrap
1163 @if libdecnumber-no-bootstrap
1164 all-host: maybe-all-libdecnumber
1165 @endif libdecnumber-no-bootstrap
1166 all-host: maybe-all-libgui
1167 @if libiberty-no-bootstrap
1168 all-host: maybe-all-libiberty
1169 @endif libiberty-no-bootstrap
1170 @if libiberty-linker-plugin-no-bootstrap
1171 all-host: maybe-all-libiberty-linker-plugin
1172 @endif libiberty-linker-plugin-no-bootstrap
1173 @if libiconv-no-bootstrap
1174 all-host: maybe-all-libiconv
1175 @endif libiconv-no-bootstrap
1176 all-host: maybe-all-m4
1177 all-host: maybe-all-readline
1178 all-host: maybe-all-sid
1179 all-host: maybe-all-sim
1180 all-host: maybe-all-texinfo
1181 @if zlib-no-bootstrap
1182 all-host: maybe-all-zlib
1183 @endif zlib-no-bootstrap
1184 all-host: maybe-all-gnulib
1185 all-host: maybe-all-gdb
1186 all-host: maybe-all-expect
1187 all-host: maybe-all-guile
1188 all-host: maybe-all-tk
1189 all-host: maybe-all-libtermcap
1190 all-host: maybe-all-utils
1191 all-host: maybe-all-gnattools
1192 @if lto-plugin-no-bootstrap
1193 all-host: maybe-all-lto-plugin
1194 @endif lto-plugin-no-bootstrap
1195 all-host: maybe-all-libcc1
1196 all-host: maybe-all-gotools
1197 @if libctf-no-bootstrap
1198 all-host: maybe-all-libctf
1199 @endif libctf-no-bootstrap
1201 .PHONY: all-target
1203 @if target-libstdc++-v3-no-bootstrap
1204 all-target: maybe-all-target-libstdc++-v3
1205 @endif target-libstdc++-v3-no-bootstrap
1206 @if target-libsanitizer-no-bootstrap
1207 all-target: maybe-all-target-libsanitizer
1208 @endif target-libsanitizer-no-bootstrap
1209 @if target-libvtv-no-bootstrap
1210 all-target: maybe-all-target-libvtv
1211 @endif target-libvtv-no-bootstrap
1212 all-target: maybe-all-target-liboffloadmic
1213 all-target: maybe-all-target-libssp
1214 all-target: maybe-all-target-newlib
1215 @if target-libgcc-no-bootstrap
1216 all-target: maybe-all-target-libgcc
1217 @endif target-libgcc-no-bootstrap
1218 all-target: maybe-all-target-libbacktrace
1219 all-target: maybe-all-target-libquadmath
1220 all-target: maybe-all-target-libgfortran
1221 all-target: maybe-all-target-libobjc
1222 all-target: maybe-all-target-libgo
1223 all-target: maybe-all-target-libhsail-rt
1224 all-target: maybe-all-target-libphobos
1225 all-target: maybe-all-target-libtermcap
1226 all-target: maybe-all-target-winsup
1227 all-target: maybe-all-target-libgloss
1228 all-target: maybe-all-target-libffi
1229 all-target: maybe-all-target-zlib
1230 all-target: maybe-all-target-rda
1231 all-target: maybe-all-target-libada
1232 @if target-libgomp-no-bootstrap
1233 all-target: maybe-all-target-libgomp
1234 @endif target-libgomp-no-bootstrap
1235 all-target: maybe-all-target-libitm
1236 all-target: maybe-all-target-libatomic
1238 # Do a target for all the subdirectories. A ``make do-X'' will do a
1239 # ``make X'' in all subdirectories (because, in general, there is a
1240 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1241 # but it may do additional work as well).
1243 .PHONY: do-info
1244 do-info:
1245 @: $(MAKE); $(unstage)
1246 @r=`${PWD_COMMAND}`; export r; \
1247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1248 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1249 info-target
1252 .PHONY: info-host
1254 info-host: maybe-info-bfd
1255 info-host: maybe-info-opcodes
1256 info-host: maybe-info-binutils
1257 info-host: maybe-info-bison
1258 info-host: maybe-info-cgen
1259 info-host: maybe-info-dejagnu
1260 info-host: maybe-info-etc
1261 info-host: maybe-info-fastjar
1262 info-host: maybe-info-fixincludes
1263 info-host: maybe-info-flex
1264 info-host: maybe-info-gas
1265 info-host: maybe-info-gcc
1266 info-host: maybe-info-gmp
1267 info-host: maybe-info-mpfr
1268 info-host: maybe-info-mpc
1269 info-host: maybe-info-isl
1270 info-host: maybe-info-libelf
1271 info-host: maybe-info-gold
1272 info-host: maybe-info-gprof
1273 info-host: maybe-info-intl
1274 info-host: maybe-info-tcl
1275 info-host: maybe-info-itcl
1276 info-host: maybe-info-ld
1277 info-host: maybe-info-libbacktrace
1278 info-host: maybe-info-libcpp
1279 info-host: maybe-info-libdecnumber
1280 info-host: maybe-info-libgui
1281 info-host: maybe-info-libiberty
1282 info-host: maybe-info-libiberty-linker-plugin
1283 info-host: maybe-info-libiconv
1284 info-host: maybe-info-m4
1285 info-host: maybe-info-readline
1286 info-host: maybe-info-sid
1287 info-host: maybe-info-sim
1288 info-host: maybe-info-texinfo
1289 info-host: maybe-info-zlib
1290 info-host: maybe-info-gnulib
1291 info-host: maybe-info-gdb
1292 info-host: maybe-info-expect
1293 info-host: maybe-info-guile
1294 info-host: maybe-info-tk
1295 info-host: maybe-info-libtermcap
1296 info-host: maybe-info-utils
1297 info-host: maybe-info-gnattools
1298 info-host: maybe-info-lto-plugin
1299 info-host: maybe-info-libcc1
1300 info-host: maybe-info-gotools
1301 info-host: maybe-info-libctf
1303 .PHONY: info-target
1305 info-target: maybe-info-target-libstdc++-v3
1306 info-target: maybe-info-target-libsanitizer
1307 info-target: maybe-info-target-libvtv
1308 info-target: maybe-info-target-liboffloadmic
1309 info-target: maybe-info-target-libssp
1310 info-target: maybe-info-target-newlib
1311 info-target: maybe-info-target-libgcc
1312 info-target: maybe-info-target-libbacktrace
1313 info-target: maybe-info-target-libquadmath
1314 info-target: maybe-info-target-libgfortran
1315 info-target: maybe-info-target-libobjc
1316 info-target: maybe-info-target-libgo
1317 info-target: maybe-info-target-libhsail-rt
1318 info-target: maybe-info-target-libphobos
1319 info-target: maybe-info-target-libtermcap
1320 info-target: maybe-info-target-winsup
1321 info-target: maybe-info-target-libgloss
1322 info-target: maybe-info-target-libffi
1323 info-target: maybe-info-target-zlib
1324 info-target: maybe-info-target-rda
1325 info-target: maybe-info-target-libada
1326 info-target: maybe-info-target-libgomp
1327 info-target: maybe-info-target-libitm
1328 info-target: maybe-info-target-libatomic
1330 .PHONY: do-dvi
1331 do-dvi:
1332 @: $(MAKE); $(unstage)
1333 @r=`${PWD_COMMAND}`; export r; \
1334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1336 dvi-target
1339 .PHONY: dvi-host
1341 dvi-host: maybe-dvi-bfd
1342 dvi-host: maybe-dvi-opcodes
1343 dvi-host: maybe-dvi-binutils
1344 dvi-host: maybe-dvi-bison
1345 dvi-host: maybe-dvi-cgen
1346 dvi-host: maybe-dvi-dejagnu
1347 dvi-host: maybe-dvi-etc
1348 dvi-host: maybe-dvi-fastjar
1349 dvi-host: maybe-dvi-fixincludes
1350 dvi-host: maybe-dvi-flex
1351 dvi-host: maybe-dvi-gas
1352 dvi-host: maybe-dvi-gcc
1353 dvi-host: maybe-dvi-gmp
1354 dvi-host: maybe-dvi-mpfr
1355 dvi-host: maybe-dvi-mpc
1356 dvi-host: maybe-dvi-isl
1357 dvi-host: maybe-dvi-libelf
1358 dvi-host: maybe-dvi-gold
1359 dvi-host: maybe-dvi-gprof
1360 dvi-host: maybe-dvi-intl
1361 dvi-host: maybe-dvi-tcl
1362 dvi-host: maybe-dvi-itcl
1363 dvi-host: maybe-dvi-ld
1364 dvi-host: maybe-dvi-libbacktrace
1365 dvi-host: maybe-dvi-libcpp
1366 dvi-host: maybe-dvi-libdecnumber
1367 dvi-host: maybe-dvi-libgui
1368 dvi-host: maybe-dvi-libiberty
1369 dvi-host: maybe-dvi-libiberty-linker-plugin
1370 dvi-host: maybe-dvi-libiconv
1371 dvi-host: maybe-dvi-m4
1372 dvi-host: maybe-dvi-readline
1373 dvi-host: maybe-dvi-sid
1374 dvi-host: maybe-dvi-sim
1375 dvi-host: maybe-dvi-texinfo
1376 dvi-host: maybe-dvi-zlib
1377 dvi-host: maybe-dvi-gnulib
1378 dvi-host: maybe-dvi-gdb
1379 dvi-host: maybe-dvi-expect
1380 dvi-host: maybe-dvi-guile
1381 dvi-host: maybe-dvi-tk
1382 dvi-host: maybe-dvi-libtermcap
1383 dvi-host: maybe-dvi-utils
1384 dvi-host: maybe-dvi-gnattools
1385 dvi-host: maybe-dvi-lto-plugin
1386 dvi-host: maybe-dvi-libcc1
1387 dvi-host: maybe-dvi-gotools
1388 dvi-host: maybe-dvi-libctf
1390 .PHONY: dvi-target
1392 dvi-target: maybe-dvi-target-libstdc++-v3
1393 dvi-target: maybe-dvi-target-libsanitizer
1394 dvi-target: maybe-dvi-target-libvtv
1395 dvi-target: maybe-dvi-target-liboffloadmic
1396 dvi-target: maybe-dvi-target-libssp
1397 dvi-target: maybe-dvi-target-newlib
1398 dvi-target: maybe-dvi-target-libgcc
1399 dvi-target: maybe-dvi-target-libbacktrace
1400 dvi-target: maybe-dvi-target-libquadmath
1401 dvi-target: maybe-dvi-target-libgfortran
1402 dvi-target: maybe-dvi-target-libobjc
1403 dvi-target: maybe-dvi-target-libgo
1404 dvi-target: maybe-dvi-target-libhsail-rt
1405 dvi-target: maybe-dvi-target-libphobos
1406 dvi-target: maybe-dvi-target-libtermcap
1407 dvi-target: maybe-dvi-target-winsup
1408 dvi-target: maybe-dvi-target-libgloss
1409 dvi-target: maybe-dvi-target-libffi
1410 dvi-target: maybe-dvi-target-zlib
1411 dvi-target: maybe-dvi-target-rda
1412 dvi-target: maybe-dvi-target-libada
1413 dvi-target: maybe-dvi-target-libgomp
1414 dvi-target: maybe-dvi-target-libitm
1415 dvi-target: maybe-dvi-target-libatomic
1417 .PHONY: do-pdf
1418 do-pdf:
1419 @: $(MAKE); $(unstage)
1420 @r=`${PWD_COMMAND}`; export r; \
1421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1422 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1423 pdf-target
1426 .PHONY: pdf-host
1428 pdf-host: maybe-pdf-bfd
1429 pdf-host: maybe-pdf-opcodes
1430 pdf-host: maybe-pdf-binutils
1431 pdf-host: maybe-pdf-bison
1432 pdf-host: maybe-pdf-cgen
1433 pdf-host: maybe-pdf-dejagnu
1434 pdf-host: maybe-pdf-etc
1435 pdf-host: maybe-pdf-fastjar
1436 pdf-host: maybe-pdf-fixincludes
1437 pdf-host: maybe-pdf-flex
1438 pdf-host: maybe-pdf-gas
1439 pdf-host: maybe-pdf-gcc
1440 pdf-host: maybe-pdf-gmp
1441 pdf-host: maybe-pdf-mpfr
1442 pdf-host: maybe-pdf-mpc
1443 pdf-host: maybe-pdf-isl
1444 pdf-host: maybe-pdf-libelf
1445 pdf-host: maybe-pdf-gold
1446 pdf-host: maybe-pdf-gprof
1447 pdf-host: maybe-pdf-intl
1448 pdf-host: maybe-pdf-tcl
1449 pdf-host: maybe-pdf-itcl
1450 pdf-host: maybe-pdf-ld
1451 pdf-host: maybe-pdf-libbacktrace
1452 pdf-host: maybe-pdf-libcpp
1453 pdf-host: maybe-pdf-libdecnumber
1454 pdf-host: maybe-pdf-libgui
1455 pdf-host: maybe-pdf-libiberty
1456 pdf-host: maybe-pdf-libiberty-linker-plugin
1457 pdf-host: maybe-pdf-libiconv
1458 pdf-host: maybe-pdf-m4
1459 pdf-host: maybe-pdf-readline
1460 pdf-host: maybe-pdf-sid
1461 pdf-host: maybe-pdf-sim
1462 pdf-host: maybe-pdf-texinfo
1463 pdf-host: maybe-pdf-zlib
1464 pdf-host: maybe-pdf-gnulib
1465 pdf-host: maybe-pdf-gdb
1466 pdf-host: maybe-pdf-expect
1467 pdf-host: maybe-pdf-guile
1468 pdf-host: maybe-pdf-tk
1469 pdf-host: maybe-pdf-libtermcap
1470 pdf-host: maybe-pdf-utils
1471 pdf-host: maybe-pdf-gnattools
1472 pdf-host: maybe-pdf-lto-plugin
1473 pdf-host: maybe-pdf-libcc1
1474 pdf-host: maybe-pdf-gotools
1475 pdf-host: maybe-pdf-libctf
1477 .PHONY: pdf-target
1479 pdf-target: maybe-pdf-target-libstdc++-v3
1480 pdf-target: maybe-pdf-target-libsanitizer
1481 pdf-target: maybe-pdf-target-libvtv
1482 pdf-target: maybe-pdf-target-liboffloadmic
1483 pdf-target: maybe-pdf-target-libssp
1484 pdf-target: maybe-pdf-target-newlib
1485 pdf-target: maybe-pdf-target-libgcc
1486 pdf-target: maybe-pdf-target-libbacktrace
1487 pdf-target: maybe-pdf-target-libquadmath
1488 pdf-target: maybe-pdf-target-libgfortran
1489 pdf-target: maybe-pdf-target-libobjc
1490 pdf-target: maybe-pdf-target-libgo
1491 pdf-target: maybe-pdf-target-libhsail-rt
1492 pdf-target: maybe-pdf-target-libphobos
1493 pdf-target: maybe-pdf-target-libtermcap
1494 pdf-target: maybe-pdf-target-winsup
1495 pdf-target: maybe-pdf-target-libgloss
1496 pdf-target: maybe-pdf-target-libffi
1497 pdf-target: maybe-pdf-target-zlib
1498 pdf-target: maybe-pdf-target-rda
1499 pdf-target: maybe-pdf-target-libada
1500 pdf-target: maybe-pdf-target-libgomp
1501 pdf-target: maybe-pdf-target-libitm
1502 pdf-target: maybe-pdf-target-libatomic
1504 .PHONY: do-html
1505 do-html:
1506 @: $(MAKE); $(unstage)
1507 @r=`${PWD_COMMAND}`; export r; \
1508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1510 html-target
1513 .PHONY: html-host
1515 html-host: maybe-html-bfd
1516 html-host: maybe-html-opcodes
1517 html-host: maybe-html-binutils
1518 html-host: maybe-html-bison
1519 html-host: maybe-html-cgen
1520 html-host: maybe-html-dejagnu
1521 html-host: maybe-html-etc
1522 html-host: maybe-html-fastjar
1523 html-host: maybe-html-fixincludes
1524 html-host: maybe-html-flex
1525 html-host: maybe-html-gas
1526 html-host: maybe-html-gcc
1527 html-host: maybe-html-gmp
1528 html-host: maybe-html-mpfr
1529 html-host: maybe-html-mpc
1530 html-host: maybe-html-isl
1531 html-host: maybe-html-libelf
1532 html-host: maybe-html-gold
1533 html-host: maybe-html-gprof
1534 html-host: maybe-html-intl
1535 html-host: maybe-html-tcl
1536 html-host: maybe-html-itcl
1537 html-host: maybe-html-ld
1538 html-host: maybe-html-libbacktrace
1539 html-host: maybe-html-libcpp
1540 html-host: maybe-html-libdecnumber
1541 html-host: maybe-html-libgui
1542 html-host: maybe-html-libiberty
1543 html-host: maybe-html-libiberty-linker-plugin
1544 html-host: maybe-html-libiconv
1545 html-host: maybe-html-m4
1546 html-host: maybe-html-readline
1547 html-host: maybe-html-sid
1548 html-host: maybe-html-sim
1549 html-host: maybe-html-texinfo
1550 html-host: maybe-html-zlib
1551 html-host: maybe-html-gnulib
1552 html-host: maybe-html-gdb
1553 html-host: maybe-html-expect
1554 html-host: maybe-html-guile
1555 html-host: maybe-html-tk
1556 html-host: maybe-html-libtermcap
1557 html-host: maybe-html-utils
1558 html-host: maybe-html-gnattools
1559 html-host: maybe-html-lto-plugin
1560 html-host: maybe-html-libcc1
1561 html-host: maybe-html-gotools
1562 html-host: maybe-html-libctf
1564 .PHONY: html-target
1566 html-target: maybe-html-target-libstdc++-v3
1567 html-target: maybe-html-target-libsanitizer
1568 html-target: maybe-html-target-libvtv
1569 html-target: maybe-html-target-liboffloadmic
1570 html-target: maybe-html-target-libssp
1571 html-target: maybe-html-target-newlib
1572 html-target: maybe-html-target-libgcc
1573 html-target: maybe-html-target-libbacktrace
1574 html-target: maybe-html-target-libquadmath
1575 html-target: maybe-html-target-libgfortran
1576 html-target: maybe-html-target-libobjc
1577 html-target: maybe-html-target-libgo
1578 html-target: maybe-html-target-libhsail-rt
1579 html-target: maybe-html-target-libphobos
1580 html-target: maybe-html-target-libtermcap
1581 html-target: maybe-html-target-winsup
1582 html-target: maybe-html-target-libgloss
1583 html-target: maybe-html-target-libffi
1584 html-target: maybe-html-target-zlib
1585 html-target: maybe-html-target-rda
1586 html-target: maybe-html-target-libada
1587 html-target: maybe-html-target-libgomp
1588 html-target: maybe-html-target-libitm
1589 html-target: maybe-html-target-libatomic
1591 .PHONY: do-TAGS
1592 do-TAGS:
1593 @: $(MAKE); $(unstage)
1594 @r=`${PWD_COMMAND}`; export r; \
1595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1596 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1597 TAGS-target
1600 .PHONY: TAGS-host
1602 TAGS-host: maybe-TAGS-bfd
1603 TAGS-host: maybe-TAGS-opcodes
1604 TAGS-host: maybe-TAGS-binutils
1605 TAGS-host: maybe-TAGS-bison
1606 TAGS-host: maybe-TAGS-cgen
1607 TAGS-host: maybe-TAGS-dejagnu
1608 TAGS-host: maybe-TAGS-etc
1609 TAGS-host: maybe-TAGS-fastjar
1610 TAGS-host: maybe-TAGS-fixincludes
1611 TAGS-host: maybe-TAGS-flex
1612 TAGS-host: maybe-TAGS-gas
1613 TAGS-host: maybe-TAGS-gcc
1614 TAGS-host: maybe-TAGS-gmp
1615 TAGS-host: maybe-TAGS-mpfr
1616 TAGS-host: maybe-TAGS-mpc
1617 TAGS-host: maybe-TAGS-isl
1618 TAGS-host: maybe-TAGS-libelf
1619 TAGS-host: maybe-TAGS-gold
1620 TAGS-host: maybe-TAGS-gprof
1621 TAGS-host: maybe-TAGS-intl
1622 TAGS-host: maybe-TAGS-tcl
1623 TAGS-host: maybe-TAGS-itcl
1624 TAGS-host: maybe-TAGS-ld
1625 TAGS-host: maybe-TAGS-libbacktrace
1626 TAGS-host: maybe-TAGS-libcpp
1627 TAGS-host: maybe-TAGS-libdecnumber
1628 TAGS-host: maybe-TAGS-libgui
1629 TAGS-host: maybe-TAGS-libiberty
1630 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1631 TAGS-host: maybe-TAGS-libiconv
1632 TAGS-host: maybe-TAGS-m4
1633 TAGS-host: maybe-TAGS-readline
1634 TAGS-host: maybe-TAGS-sid
1635 TAGS-host: maybe-TAGS-sim
1636 TAGS-host: maybe-TAGS-texinfo
1637 TAGS-host: maybe-TAGS-zlib
1638 TAGS-host: maybe-TAGS-gnulib
1639 TAGS-host: maybe-TAGS-gdb
1640 TAGS-host: maybe-TAGS-expect
1641 TAGS-host: maybe-TAGS-guile
1642 TAGS-host: maybe-TAGS-tk
1643 TAGS-host: maybe-TAGS-libtermcap
1644 TAGS-host: maybe-TAGS-utils
1645 TAGS-host: maybe-TAGS-gnattools
1646 TAGS-host: maybe-TAGS-lto-plugin
1647 TAGS-host: maybe-TAGS-libcc1
1648 TAGS-host: maybe-TAGS-gotools
1649 TAGS-host: maybe-TAGS-libctf
1651 .PHONY: TAGS-target
1653 TAGS-target: maybe-TAGS-target-libstdc++-v3
1654 TAGS-target: maybe-TAGS-target-libsanitizer
1655 TAGS-target: maybe-TAGS-target-libvtv
1656 TAGS-target: maybe-TAGS-target-liboffloadmic
1657 TAGS-target: maybe-TAGS-target-libssp
1658 TAGS-target: maybe-TAGS-target-newlib
1659 TAGS-target: maybe-TAGS-target-libgcc
1660 TAGS-target: maybe-TAGS-target-libbacktrace
1661 TAGS-target: maybe-TAGS-target-libquadmath
1662 TAGS-target: maybe-TAGS-target-libgfortran
1663 TAGS-target: maybe-TAGS-target-libobjc
1664 TAGS-target: maybe-TAGS-target-libgo
1665 TAGS-target: maybe-TAGS-target-libhsail-rt
1666 TAGS-target: maybe-TAGS-target-libphobos
1667 TAGS-target: maybe-TAGS-target-libtermcap
1668 TAGS-target: maybe-TAGS-target-winsup
1669 TAGS-target: maybe-TAGS-target-libgloss
1670 TAGS-target: maybe-TAGS-target-libffi
1671 TAGS-target: maybe-TAGS-target-zlib
1672 TAGS-target: maybe-TAGS-target-rda
1673 TAGS-target: maybe-TAGS-target-libada
1674 TAGS-target: maybe-TAGS-target-libgomp
1675 TAGS-target: maybe-TAGS-target-libitm
1676 TAGS-target: maybe-TAGS-target-libatomic
1678 .PHONY: do-install-info
1679 do-install-info:
1680 @: $(MAKE); $(unstage)
1681 @r=`${PWD_COMMAND}`; export r; \
1682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1683 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1684 install-info-target
1687 .PHONY: install-info-host
1689 install-info-host: maybe-install-info-bfd
1690 install-info-host: maybe-install-info-opcodes
1691 install-info-host: maybe-install-info-binutils
1692 install-info-host: maybe-install-info-bison
1693 install-info-host: maybe-install-info-cgen
1694 install-info-host: maybe-install-info-dejagnu
1695 install-info-host: maybe-install-info-etc
1696 install-info-host: maybe-install-info-fastjar
1697 install-info-host: maybe-install-info-fixincludes
1698 install-info-host: maybe-install-info-flex
1699 install-info-host: maybe-install-info-gas
1700 install-info-host: maybe-install-info-gcc
1701 install-info-host: maybe-install-info-gmp
1702 install-info-host: maybe-install-info-mpfr
1703 install-info-host: maybe-install-info-mpc
1704 install-info-host: maybe-install-info-isl
1705 install-info-host: maybe-install-info-libelf
1706 install-info-host: maybe-install-info-gold
1707 install-info-host: maybe-install-info-gprof
1708 install-info-host: maybe-install-info-intl
1709 install-info-host: maybe-install-info-tcl
1710 install-info-host: maybe-install-info-itcl
1711 install-info-host: maybe-install-info-ld
1712 install-info-host: maybe-install-info-libbacktrace
1713 install-info-host: maybe-install-info-libcpp
1714 install-info-host: maybe-install-info-libdecnumber
1715 install-info-host: maybe-install-info-libgui
1716 install-info-host: maybe-install-info-libiberty
1717 install-info-host: maybe-install-info-libiberty-linker-plugin
1718 install-info-host: maybe-install-info-libiconv
1719 install-info-host: maybe-install-info-m4
1720 install-info-host: maybe-install-info-readline
1721 install-info-host: maybe-install-info-sid
1722 install-info-host: maybe-install-info-sim
1723 install-info-host: maybe-install-info-texinfo
1724 install-info-host: maybe-install-info-zlib
1725 install-info-host: maybe-install-info-gnulib
1726 install-info-host: maybe-install-info-gdb
1727 install-info-host: maybe-install-info-expect
1728 install-info-host: maybe-install-info-guile
1729 install-info-host: maybe-install-info-tk
1730 install-info-host: maybe-install-info-libtermcap
1731 install-info-host: maybe-install-info-utils
1732 install-info-host: maybe-install-info-gnattools
1733 install-info-host: maybe-install-info-lto-plugin
1734 install-info-host: maybe-install-info-libcc1
1735 install-info-host: maybe-install-info-gotools
1736 install-info-host: maybe-install-info-libctf
1738 .PHONY: install-info-target
1740 install-info-target: maybe-install-info-target-libstdc++-v3
1741 install-info-target: maybe-install-info-target-libsanitizer
1742 install-info-target: maybe-install-info-target-libvtv
1743 install-info-target: maybe-install-info-target-liboffloadmic
1744 install-info-target: maybe-install-info-target-libssp
1745 install-info-target: maybe-install-info-target-newlib
1746 install-info-target: maybe-install-info-target-libgcc
1747 install-info-target: maybe-install-info-target-libbacktrace
1748 install-info-target: maybe-install-info-target-libquadmath
1749 install-info-target: maybe-install-info-target-libgfortran
1750 install-info-target: maybe-install-info-target-libobjc
1751 install-info-target: maybe-install-info-target-libgo
1752 install-info-target: maybe-install-info-target-libhsail-rt
1753 install-info-target: maybe-install-info-target-libphobos
1754 install-info-target: maybe-install-info-target-libtermcap
1755 install-info-target: maybe-install-info-target-winsup
1756 install-info-target: maybe-install-info-target-libgloss
1757 install-info-target: maybe-install-info-target-libffi
1758 install-info-target: maybe-install-info-target-zlib
1759 install-info-target: maybe-install-info-target-rda
1760 install-info-target: maybe-install-info-target-libada
1761 install-info-target: maybe-install-info-target-libgomp
1762 install-info-target: maybe-install-info-target-libitm
1763 install-info-target: maybe-install-info-target-libatomic
1765 .PHONY: do-install-pdf
1766 do-install-pdf:
1767 @: $(MAKE); $(unstage)
1768 @r=`${PWD_COMMAND}`; export r; \
1769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1770 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1771 install-pdf-target
1774 .PHONY: install-pdf-host
1776 install-pdf-host: maybe-install-pdf-bfd
1777 install-pdf-host: maybe-install-pdf-opcodes
1778 install-pdf-host: maybe-install-pdf-binutils
1779 install-pdf-host: maybe-install-pdf-bison
1780 install-pdf-host: maybe-install-pdf-cgen
1781 install-pdf-host: maybe-install-pdf-dejagnu
1782 install-pdf-host: maybe-install-pdf-etc
1783 install-pdf-host: maybe-install-pdf-fastjar
1784 install-pdf-host: maybe-install-pdf-fixincludes
1785 install-pdf-host: maybe-install-pdf-flex
1786 install-pdf-host: maybe-install-pdf-gas
1787 install-pdf-host: maybe-install-pdf-gcc
1788 install-pdf-host: maybe-install-pdf-gmp
1789 install-pdf-host: maybe-install-pdf-mpfr
1790 install-pdf-host: maybe-install-pdf-mpc
1791 install-pdf-host: maybe-install-pdf-isl
1792 install-pdf-host: maybe-install-pdf-libelf
1793 install-pdf-host: maybe-install-pdf-gold
1794 install-pdf-host: maybe-install-pdf-gprof
1795 install-pdf-host: maybe-install-pdf-intl
1796 install-pdf-host: maybe-install-pdf-tcl
1797 install-pdf-host: maybe-install-pdf-itcl
1798 install-pdf-host: maybe-install-pdf-ld
1799 install-pdf-host: maybe-install-pdf-libbacktrace
1800 install-pdf-host: maybe-install-pdf-libcpp
1801 install-pdf-host: maybe-install-pdf-libdecnumber
1802 install-pdf-host: maybe-install-pdf-libgui
1803 install-pdf-host: maybe-install-pdf-libiberty
1804 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1805 install-pdf-host: maybe-install-pdf-libiconv
1806 install-pdf-host: maybe-install-pdf-m4
1807 install-pdf-host: maybe-install-pdf-readline
1808 install-pdf-host: maybe-install-pdf-sid
1809 install-pdf-host: maybe-install-pdf-sim
1810 install-pdf-host: maybe-install-pdf-texinfo
1811 install-pdf-host: maybe-install-pdf-zlib
1812 install-pdf-host: maybe-install-pdf-gnulib
1813 install-pdf-host: maybe-install-pdf-gdb
1814 install-pdf-host: maybe-install-pdf-expect
1815 install-pdf-host: maybe-install-pdf-guile
1816 install-pdf-host: maybe-install-pdf-tk
1817 install-pdf-host: maybe-install-pdf-libtermcap
1818 install-pdf-host: maybe-install-pdf-utils
1819 install-pdf-host: maybe-install-pdf-gnattools
1820 install-pdf-host: maybe-install-pdf-lto-plugin
1821 install-pdf-host: maybe-install-pdf-libcc1
1822 install-pdf-host: maybe-install-pdf-gotools
1823 install-pdf-host: maybe-install-pdf-libctf
1825 .PHONY: install-pdf-target
1827 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1828 install-pdf-target: maybe-install-pdf-target-libsanitizer
1829 install-pdf-target: maybe-install-pdf-target-libvtv
1830 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1831 install-pdf-target: maybe-install-pdf-target-libssp
1832 install-pdf-target: maybe-install-pdf-target-newlib
1833 install-pdf-target: maybe-install-pdf-target-libgcc
1834 install-pdf-target: maybe-install-pdf-target-libbacktrace
1835 install-pdf-target: maybe-install-pdf-target-libquadmath
1836 install-pdf-target: maybe-install-pdf-target-libgfortran
1837 install-pdf-target: maybe-install-pdf-target-libobjc
1838 install-pdf-target: maybe-install-pdf-target-libgo
1839 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1840 install-pdf-target: maybe-install-pdf-target-libphobos
1841 install-pdf-target: maybe-install-pdf-target-libtermcap
1842 install-pdf-target: maybe-install-pdf-target-winsup
1843 install-pdf-target: maybe-install-pdf-target-libgloss
1844 install-pdf-target: maybe-install-pdf-target-libffi
1845 install-pdf-target: maybe-install-pdf-target-zlib
1846 install-pdf-target: maybe-install-pdf-target-rda
1847 install-pdf-target: maybe-install-pdf-target-libada
1848 install-pdf-target: maybe-install-pdf-target-libgomp
1849 install-pdf-target: maybe-install-pdf-target-libitm
1850 install-pdf-target: maybe-install-pdf-target-libatomic
1852 .PHONY: do-install-html
1853 do-install-html:
1854 @: $(MAKE); $(unstage)
1855 @r=`${PWD_COMMAND}`; export r; \
1856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1858 install-html-target
1861 .PHONY: install-html-host
1863 install-html-host: maybe-install-html-bfd
1864 install-html-host: maybe-install-html-opcodes
1865 install-html-host: maybe-install-html-binutils
1866 install-html-host: maybe-install-html-bison
1867 install-html-host: maybe-install-html-cgen
1868 install-html-host: maybe-install-html-dejagnu
1869 install-html-host: maybe-install-html-etc
1870 install-html-host: maybe-install-html-fastjar
1871 install-html-host: maybe-install-html-fixincludes
1872 install-html-host: maybe-install-html-flex
1873 install-html-host: maybe-install-html-gas
1874 install-html-host: maybe-install-html-gcc
1875 install-html-host: maybe-install-html-gmp
1876 install-html-host: maybe-install-html-mpfr
1877 install-html-host: maybe-install-html-mpc
1878 install-html-host: maybe-install-html-isl
1879 install-html-host: maybe-install-html-libelf
1880 install-html-host: maybe-install-html-gold
1881 install-html-host: maybe-install-html-gprof
1882 install-html-host: maybe-install-html-intl
1883 install-html-host: maybe-install-html-tcl
1884 install-html-host: maybe-install-html-itcl
1885 install-html-host: maybe-install-html-ld
1886 install-html-host: maybe-install-html-libbacktrace
1887 install-html-host: maybe-install-html-libcpp
1888 install-html-host: maybe-install-html-libdecnumber
1889 install-html-host: maybe-install-html-libgui
1890 install-html-host: maybe-install-html-libiberty
1891 install-html-host: maybe-install-html-libiberty-linker-plugin
1892 install-html-host: maybe-install-html-libiconv
1893 install-html-host: maybe-install-html-m4
1894 install-html-host: maybe-install-html-readline
1895 install-html-host: maybe-install-html-sid
1896 install-html-host: maybe-install-html-sim
1897 install-html-host: maybe-install-html-texinfo
1898 install-html-host: maybe-install-html-zlib
1899 install-html-host: maybe-install-html-gnulib
1900 install-html-host: maybe-install-html-gdb
1901 install-html-host: maybe-install-html-expect
1902 install-html-host: maybe-install-html-guile
1903 install-html-host: maybe-install-html-tk
1904 install-html-host: maybe-install-html-libtermcap
1905 install-html-host: maybe-install-html-utils
1906 install-html-host: maybe-install-html-gnattools
1907 install-html-host: maybe-install-html-lto-plugin
1908 install-html-host: maybe-install-html-libcc1
1909 install-html-host: maybe-install-html-gotools
1910 install-html-host: maybe-install-html-libctf
1912 .PHONY: install-html-target
1914 install-html-target: maybe-install-html-target-libstdc++-v3
1915 install-html-target: maybe-install-html-target-libsanitizer
1916 install-html-target: maybe-install-html-target-libvtv
1917 install-html-target: maybe-install-html-target-liboffloadmic
1918 install-html-target: maybe-install-html-target-libssp
1919 install-html-target: maybe-install-html-target-newlib
1920 install-html-target: maybe-install-html-target-libgcc
1921 install-html-target: maybe-install-html-target-libbacktrace
1922 install-html-target: maybe-install-html-target-libquadmath
1923 install-html-target: maybe-install-html-target-libgfortran
1924 install-html-target: maybe-install-html-target-libobjc
1925 install-html-target: maybe-install-html-target-libgo
1926 install-html-target: maybe-install-html-target-libhsail-rt
1927 install-html-target: maybe-install-html-target-libphobos
1928 install-html-target: maybe-install-html-target-libtermcap
1929 install-html-target: maybe-install-html-target-winsup
1930 install-html-target: maybe-install-html-target-libgloss
1931 install-html-target: maybe-install-html-target-libffi
1932 install-html-target: maybe-install-html-target-zlib
1933 install-html-target: maybe-install-html-target-rda
1934 install-html-target: maybe-install-html-target-libada
1935 install-html-target: maybe-install-html-target-libgomp
1936 install-html-target: maybe-install-html-target-libitm
1937 install-html-target: maybe-install-html-target-libatomic
1939 .PHONY: do-installcheck
1940 do-installcheck:
1941 @: $(MAKE); $(unstage)
1942 @r=`${PWD_COMMAND}`; export r; \
1943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1944 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1945 installcheck-target
1948 .PHONY: installcheck-host
1950 installcheck-host: maybe-installcheck-bfd
1951 installcheck-host: maybe-installcheck-opcodes
1952 installcheck-host: maybe-installcheck-binutils
1953 installcheck-host: maybe-installcheck-bison
1954 installcheck-host: maybe-installcheck-cgen
1955 installcheck-host: maybe-installcheck-dejagnu
1956 installcheck-host: maybe-installcheck-etc
1957 installcheck-host: maybe-installcheck-fastjar
1958 installcheck-host: maybe-installcheck-fixincludes
1959 installcheck-host: maybe-installcheck-flex
1960 installcheck-host: maybe-installcheck-gas
1961 installcheck-host: maybe-installcheck-gcc
1962 installcheck-host: maybe-installcheck-gmp
1963 installcheck-host: maybe-installcheck-mpfr
1964 installcheck-host: maybe-installcheck-mpc
1965 installcheck-host: maybe-installcheck-isl
1966 installcheck-host: maybe-installcheck-libelf
1967 installcheck-host: maybe-installcheck-gold
1968 installcheck-host: maybe-installcheck-gprof
1969 installcheck-host: maybe-installcheck-intl
1970 installcheck-host: maybe-installcheck-tcl
1971 installcheck-host: maybe-installcheck-itcl
1972 installcheck-host: maybe-installcheck-ld
1973 installcheck-host: maybe-installcheck-libbacktrace
1974 installcheck-host: maybe-installcheck-libcpp
1975 installcheck-host: maybe-installcheck-libdecnumber
1976 installcheck-host: maybe-installcheck-libgui
1977 installcheck-host: maybe-installcheck-libiberty
1978 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1979 installcheck-host: maybe-installcheck-libiconv
1980 installcheck-host: maybe-installcheck-m4
1981 installcheck-host: maybe-installcheck-readline
1982 installcheck-host: maybe-installcheck-sid
1983 installcheck-host: maybe-installcheck-sim
1984 installcheck-host: maybe-installcheck-texinfo
1985 installcheck-host: maybe-installcheck-zlib
1986 installcheck-host: maybe-installcheck-gnulib
1987 installcheck-host: maybe-installcheck-gdb
1988 installcheck-host: maybe-installcheck-expect
1989 installcheck-host: maybe-installcheck-guile
1990 installcheck-host: maybe-installcheck-tk
1991 installcheck-host: maybe-installcheck-libtermcap
1992 installcheck-host: maybe-installcheck-utils
1993 installcheck-host: maybe-installcheck-gnattools
1994 installcheck-host: maybe-installcheck-lto-plugin
1995 installcheck-host: maybe-installcheck-libcc1
1996 installcheck-host: maybe-installcheck-gotools
1997 installcheck-host: maybe-installcheck-libctf
1999 .PHONY: installcheck-target
2001 installcheck-target: maybe-installcheck-target-libstdc++-v3
2002 installcheck-target: maybe-installcheck-target-libsanitizer
2003 installcheck-target: maybe-installcheck-target-libvtv
2004 installcheck-target: maybe-installcheck-target-liboffloadmic
2005 installcheck-target: maybe-installcheck-target-libssp
2006 installcheck-target: maybe-installcheck-target-newlib
2007 installcheck-target: maybe-installcheck-target-libgcc
2008 installcheck-target: maybe-installcheck-target-libbacktrace
2009 installcheck-target: maybe-installcheck-target-libquadmath
2010 installcheck-target: maybe-installcheck-target-libgfortran
2011 installcheck-target: maybe-installcheck-target-libobjc
2012 installcheck-target: maybe-installcheck-target-libgo
2013 installcheck-target: maybe-installcheck-target-libhsail-rt
2014 installcheck-target: maybe-installcheck-target-libphobos
2015 installcheck-target: maybe-installcheck-target-libtermcap
2016 installcheck-target: maybe-installcheck-target-winsup
2017 installcheck-target: maybe-installcheck-target-libgloss
2018 installcheck-target: maybe-installcheck-target-libffi
2019 installcheck-target: maybe-installcheck-target-zlib
2020 installcheck-target: maybe-installcheck-target-rda
2021 installcheck-target: maybe-installcheck-target-libada
2022 installcheck-target: maybe-installcheck-target-libgomp
2023 installcheck-target: maybe-installcheck-target-libitm
2024 installcheck-target: maybe-installcheck-target-libatomic
2026 .PHONY: do-mostlyclean
2027 do-mostlyclean:
2028 @: $(MAKE); $(unstage)
2029 @r=`${PWD_COMMAND}`; export r; \
2030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2031 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2032 mostlyclean-target
2035 .PHONY: mostlyclean-host
2037 mostlyclean-host: maybe-mostlyclean-bfd
2038 mostlyclean-host: maybe-mostlyclean-opcodes
2039 mostlyclean-host: maybe-mostlyclean-binutils
2040 mostlyclean-host: maybe-mostlyclean-bison
2041 mostlyclean-host: maybe-mostlyclean-cgen
2042 mostlyclean-host: maybe-mostlyclean-dejagnu
2043 mostlyclean-host: maybe-mostlyclean-etc
2044 mostlyclean-host: maybe-mostlyclean-fastjar
2045 mostlyclean-host: maybe-mostlyclean-fixincludes
2046 mostlyclean-host: maybe-mostlyclean-flex
2047 mostlyclean-host: maybe-mostlyclean-gas
2048 mostlyclean-host: maybe-mostlyclean-gcc
2049 mostlyclean-host: maybe-mostlyclean-gmp
2050 mostlyclean-host: maybe-mostlyclean-mpfr
2051 mostlyclean-host: maybe-mostlyclean-mpc
2052 mostlyclean-host: maybe-mostlyclean-isl
2053 mostlyclean-host: maybe-mostlyclean-libelf
2054 mostlyclean-host: maybe-mostlyclean-gold
2055 mostlyclean-host: maybe-mostlyclean-gprof
2056 mostlyclean-host: maybe-mostlyclean-intl
2057 mostlyclean-host: maybe-mostlyclean-tcl
2058 mostlyclean-host: maybe-mostlyclean-itcl
2059 mostlyclean-host: maybe-mostlyclean-ld
2060 mostlyclean-host: maybe-mostlyclean-libbacktrace
2061 mostlyclean-host: maybe-mostlyclean-libcpp
2062 mostlyclean-host: maybe-mostlyclean-libdecnumber
2063 mostlyclean-host: maybe-mostlyclean-libgui
2064 mostlyclean-host: maybe-mostlyclean-libiberty
2065 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2066 mostlyclean-host: maybe-mostlyclean-libiconv
2067 mostlyclean-host: maybe-mostlyclean-m4
2068 mostlyclean-host: maybe-mostlyclean-readline
2069 mostlyclean-host: maybe-mostlyclean-sid
2070 mostlyclean-host: maybe-mostlyclean-sim
2071 mostlyclean-host: maybe-mostlyclean-texinfo
2072 mostlyclean-host: maybe-mostlyclean-zlib
2073 mostlyclean-host: maybe-mostlyclean-gnulib
2074 mostlyclean-host: maybe-mostlyclean-gdb
2075 mostlyclean-host: maybe-mostlyclean-expect
2076 mostlyclean-host: maybe-mostlyclean-guile
2077 mostlyclean-host: maybe-mostlyclean-tk
2078 mostlyclean-host: maybe-mostlyclean-libtermcap
2079 mostlyclean-host: maybe-mostlyclean-utils
2080 mostlyclean-host: maybe-mostlyclean-gnattools
2081 mostlyclean-host: maybe-mostlyclean-lto-plugin
2082 mostlyclean-host: maybe-mostlyclean-libcc1
2083 mostlyclean-host: maybe-mostlyclean-gotools
2084 mostlyclean-host: maybe-mostlyclean-libctf
2086 .PHONY: mostlyclean-target
2088 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2089 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2090 mostlyclean-target: maybe-mostlyclean-target-libvtv
2091 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2092 mostlyclean-target: maybe-mostlyclean-target-libssp
2093 mostlyclean-target: maybe-mostlyclean-target-newlib
2094 mostlyclean-target: maybe-mostlyclean-target-libgcc
2095 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2096 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2097 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2098 mostlyclean-target: maybe-mostlyclean-target-libobjc
2099 mostlyclean-target: maybe-mostlyclean-target-libgo
2100 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2101 mostlyclean-target: maybe-mostlyclean-target-libphobos
2102 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2103 mostlyclean-target: maybe-mostlyclean-target-winsup
2104 mostlyclean-target: maybe-mostlyclean-target-libgloss
2105 mostlyclean-target: maybe-mostlyclean-target-libffi
2106 mostlyclean-target: maybe-mostlyclean-target-zlib
2107 mostlyclean-target: maybe-mostlyclean-target-rda
2108 mostlyclean-target: maybe-mostlyclean-target-libada
2109 mostlyclean-target: maybe-mostlyclean-target-libgomp
2110 mostlyclean-target: maybe-mostlyclean-target-libitm
2111 mostlyclean-target: maybe-mostlyclean-target-libatomic
2113 .PHONY: do-clean
2114 do-clean:
2115 @: $(MAKE); $(unstage)
2116 @r=`${PWD_COMMAND}`; export r; \
2117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2118 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2119 clean-target
2122 .PHONY: clean-host
2124 clean-host: maybe-clean-bfd
2125 clean-host: maybe-clean-opcodes
2126 clean-host: maybe-clean-binutils
2127 clean-host: maybe-clean-bison
2128 clean-host: maybe-clean-cgen
2129 clean-host: maybe-clean-dejagnu
2130 clean-host: maybe-clean-etc
2131 clean-host: maybe-clean-fastjar
2132 clean-host: maybe-clean-fixincludes
2133 clean-host: maybe-clean-flex
2134 clean-host: maybe-clean-gas
2135 clean-host: maybe-clean-gcc
2136 clean-host: maybe-clean-gmp
2137 clean-host: maybe-clean-mpfr
2138 clean-host: maybe-clean-mpc
2139 clean-host: maybe-clean-isl
2140 clean-host: maybe-clean-libelf
2141 clean-host: maybe-clean-gold
2142 clean-host: maybe-clean-gprof
2143 clean-host: maybe-clean-intl
2144 clean-host: maybe-clean-tcl
2145 clean-host: maybe-clean-itcl
2146 clean-host: maybe-clean-ld
2147 clean-host: maybe-clean-libbacktrace
2148 clean-host: maybe-clean-libcpp
2149 clean-host: maybe-clean-libdecnumber
2150 clean-host: maybe-clean-libgui
2151 clean-host: maybe-clean-libiberty
2152 clean-host: maybe-clean-libiberty-linker-plugin
2153 clean-host: maybe-clean-libiconv
2154 clean-host: maybe-clean-m4
2155 clean-host: maybe-clean-readline
2156 clean-host: maybe-clean-sid
2157 clean-host: maybe-clean-sim
2158 clean-host: maybe-clean-texinfo
2159 clean-host: maybe-clean-zlib
2160 clean-host: maybe-clean-gnulib
2161 clean-host: maybe-clean-gdb
2162 clean-host: maybe-clean-expect
2163 clean-host: maybe-clean-guile
2164 clean-host: maybe-clean-tk
2165 clean-host: maybe-clean-libtermcap
2166 clean-host: maybe-clean-utils
2167 clean-host: maybe-clean-gnattools
2168 clean-host: maybe-clean-lto-plugin
2169 clean-host: maybe-clean-libcc1
2170 clean-host: maybe-clean-gotools
2171 clean-host: maybe-clean-libctf
2173 .PHONY: clean-target
2175 clean-target: maybe-clean-target-libstdc++-v3
2176 clean-target: maybe-clean-target-libsanitizer
2177 clean-target: maybe-clean-target-libvtv
2178 clean-target: maybe-clean-target-liboffloadmic
2179 clean-target: maybe-clean-target-libssp
2180 clean-target: maybe-clean-target-newlib
2181 clean-target: maybe-clean-target-libgcc
2182 clean-target: maybe-clean-target-libbacktrace
2183 clean-target: maybe-clean-target-libquadmath
2184 clean-target: maybe-clean-target-libgfortran
2185 clean-target: maybe-clean-target-libobjc
2186 clean-target: maybe-clean-target-libgo
2187 clean-target: maybe-clean-target-libhsail-rt
2188 clean-target: maybe-clean-target-libphobos
2189 clean-target: maybe-clean-target-libtermcap
2190 clean-target: maybe-clean-target-winsup
2191 clean-target: maybe-clean-target-libgloss
2192 clean-target: maybe-clean-target-libffi
2193 clean-target: maybe-clean-target-zlib
2194 clean-target: maybe-clean-target-rda
2195 clean-target: maybe-clean-target-libada
2196 clean-target: maybe-clean-target-libgomp
2197 clean-target: maybe-clean-target-libitm
2198 clean-target: maybe-clean-target-libatomic
2200 .PHONY: do-distclean
2201 do-distclean:
2202 @: $(MAKE); $(unstage)
2203 @r=`${PWD_COMMAND}`; export r; \
2204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2206 distclean-target
2209 .PHONY: distclean-host
2211 distclean-host: maybe-distclean-bfd
2212 distclean-host: maybe-distclean-opcodes
2213 distclean-host: maybe-distclean-binutils
2214 distclean-host: maybe-distclean-bison
2215 distclean-host: maybe-distclean-cgen
2216 distclean-host: maybe-distclean-dejagnu
2217 distclean-host: maybe-distclean-etc
2218 distclean-host: maybe-distclean-fastjar
2219 distclean-host: maybe-distclean-fixincludes
2220 distclean-host: maybe-distclean-flex
2221 distclean-host: maybe-distclean-gas
2222 distclean-host: maybe-distclean-gcc
2223 distclean-host: maybe-distclean-gmp
2224 distclean-host: maybe-distclean-mpfr
2225 distclean-host: maybe-distclean-mpc
2226 distclean-host: maybe-distclean-isl
2227 distclean-host: maybe-distclean-libelf
2228 distclean-host: maybe-distclean-gold
2229 distclean-host: maybe-distclean-gprof
2230 distclean-host: maybe-distclean-intl
2231 distclean-host: maybe-distclean-tcl
2232 distclean-host: maybe-distclean-itcl
2233 distclean-host: maybe-distclean-ld
2234 distclean-host: maybe-distclean-libbacktrace
2235 distclean-host: maybe-distclean-libcpp
2236 distclean-host: maybe-distclean-libdecnumber
2237 distclean-host: maybe-distclean-libgui
2238 distclean-host: maybe-distclean-libiberty
2239 distclean-host: maybe-distclean-libiberty-linker-plugin
2240 distclean-host: maybe-distclean-libiconv
2241 distclean-host: maybe-distclean-m4
2242 distclean-host: maybe-distclean-readline
2243 distclean-host: maybe-distclean-sid
2244 distclean-host: maybe-distclean-sim
2245 distclean-host: maybe-distclean-texinfo
2246 distclean-host: maybe-distclean-zlib
2247 distclean-host: maybe-distclean-gnulib
2248 distclean-host: maybe-distclean-gdb
2249 distclean-host: maybe-distclean-expect
2250 distclean-host: maybe-distclean-guile
2251 distclean-host: maybe-distclean-tk
2252 distclean-host: maybe-distclean-libtermcap
2253 distclean-host: maybe-distclean-utils
2254 distclean-host: maybe-distclean-gnattools
2255 distclean-host: maybe-distclean-lto-plugin
2256 distclean-host: maybe-distclean-libcc1
2257 distclean-host: maybe-distclean-gotools
2258 distclean-host: maybe-distclean-libctf
2260 .PHONY: distclean-target
2262 distclean-target: maybe-distclean-target-libstdc++-v3
2263 distclean-target: maybe-distclean-target-libsanitizer
2264 distclean-target: maybe-distclean-target-libvtv
2265 distclean-target: maybe-distclean-target-liboffloadmic
2266 distclean-target: maybe-distclean-target-libssp
2267 distclean-target: maybe-distclean-target-newlib
2268 distclean-target: maybe-distclean-target-libgcc
2269 distclean-target: maybe-distclean-target-libbacktrace
2270 distclean-target: maybe-distclean-target-libquadmath
2271 distclean-target: maybe-distclean-target-libgfortran
2272 distclean-target: maybe-distclean-target-libobjc
2273 distclean-target: maybe-distclean-target-libgo
2274 distclean-target: maybe-distclean-target-libhsail-rt
2275 distclean-target: maybe-distclean-target-libphobos
2276 distclean-target: maybe-distclean-target-libtermcap
2277 distclean-target: maybe-distclean-target-winsup
2278 distclean-target: maybe-distclean-target-libgloss
2279 distclean-target: maybe-distclean-target-libffi
2280 distclean-target: maybe-distclean-target-zlib
2281 distclean-target: maybe-distclean-target-rda
2282 distclean-target: maybe-distclean-target-libada
2283 distclean-target: maybe-distclean-target-libgomp
2284 distclean-target: maybe-distclean-target-libitm
2285 distclean-target: maybe-distclean-target-libatomic
2287 .PHONY: do-maintainer-clean
2288 do-maintainer-clean:
2289 @: $(MAKE); $(unstage)
2290 @r=`${PWD_COMMAND}`; export r; \
2291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2293 maintainer-clean-target
2296 .PHONY: maintainer-clean-host
2298 maintainer-clean-host: maybe-maintainer-clean-bfd
2299 maintainer-clean-host: maybe-maintainer-clean-opcodes
2300 maintainer-clean-host: maybe-maintainer-clean-binutils
2301 maintainer-clean-host: maybe-maintainer-clean-bison
2302 maintainer-clean-host: maybe-maintainer-clean-cgen
2303 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2304 maintainer-clean-host: maybe-maintainer-clean-etc
2305 maintainer-clean-host: maybe-maintainer-clean-fastjar
2306 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2307 maintainer-clean-host: maybe-maintainer-clean-flex
2308 maintainer-clean-host: maybe-maintainer-clean-gas
2309 maintainer-clean-host: maybe-maintainer-clean-gcc
2310 maintainer-clean-host: maybe-maintainer-clean-gmp
2311 maintainer-clean-host: maybe-maintainer-clean-mpfr
2312 maintainer-clean-host: maybe-maintainer-clean-mpc
2313 maintainer-clean-host: maybe-maintainer-clean-isl
2314 maintainer-clean-host: maybe-maintainer-clean-libelf
2315 maintainer-clean-host: maybe-maintainer-clean-gold
2316 maintainer-clean-host: maybe-maintainer-clean-gprof
2317 maintainer-clean-host: maybe-maintainer-clean-intl
2318 maintainer-clean-host: maybe-maintainer-clean-tcl
2319 maintainer-clean-host: maybe-maintainer-clean-itcl
2320 maintainer-clean-host: maybe-maintainer-clean-ld
2321 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2322 maintainer-clean-host: maybe-maintainer-clean-libcpp
2323 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2324 maintainer-clean-host: maybe-maintainer-clean-libgui
2325 maintainer-clean-host: maybe-maintainer-clean-libiberty
2326 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2327 maintainer-clean-host: maybe-maintainer-clean-libiconv
2328 maintainer-clean-host: maybe-maintainer-clean-m4
2329 maintainer-clean-host: maybe-maintainer-clean-readline
2330 maintainer-clean-host: maybe-maintainer-clean-sid
2331 maintainer-clean-host: maybe-maintainer-clean-sim
2332 maintainer-clean-host: maybe-maintainer-clean-texinfo
2333 maintainer-clean-host: maybe-maintainer-clean-zlib
2334 maintainer-clean-host: maybe-maintainer-clean-gnulib
2335 maintainer-clean-host: maybe-maintainer-clean-gdb
2336 maintainer-clean-host: maybe-maintainer-clean-expect
2337 maintainer-clean-host: maybe-maintainer-clean-guile
2338 maintainer-clean-host: maybe-maintainer-clean-tk
2339 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2340 maintainer-clean-host: maybe-maintainer-clean-utils
2341 maintainer-clean-host: maybe-maintainer-clean-gnattools
2342 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2343 maintainer-clean-host: maybe-maintainer-clean-libcc1
2344 maintainer-clean-host: maybe-maintainer-clean-gotools
2345 maintainer-clean-host: maybe-maintainer-clean-libctf
2347 .PHONY: maintainer-clean-target
2349 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2350 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2351 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2352 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2353 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2354 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2355 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2356 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2357 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2358 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2359 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2360 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2361 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2362 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2363 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2364 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2365 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2366 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2367 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2368 maintainer-clean-target: maybe-maintainer-clean-target-rda
2369 maintainer-clean-target: maybe-maintainer-clean-target-libada
2370 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2371 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2372 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2375 # Here are the targets which correspond to the do-X targets.
2377 .PHONY: info installcheck dvi pdf html
2378 .PHONY: install-info install-pdf install-html
2379 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2380 .PHONY: local-clean local-distclean local-maintainer-clean
2381 info: do-info
2382 installcheck: do-installcheck
2383 dvi: do-dvi
2384 pdf: do-pdf
2385 html: do-html
2387 # Make sure makeinfo is built before we do a `make info', if we're
2388 # in fact building texinfo.
2389 do-info: maybe-all-texinfo
2391 install-info: do-install-info dir.info
2392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2393 if [ -f dir.info ]; then \
2394 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2395 else true; fi
2397 install-pdf: do-install-pdf
2399 install-html: do-install-html
2401 local-clean:
2402 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2404 local-distclean:
2405 -rm -f Makefile config.status config.cache mh-frag mt-frag
2406 -rm -f maybedep.tmp serdep.tmp stage_final
2407 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2408 rm -rf $(TARGET_SUBDIR); \
2409 else true; fi
2410 -rm -rf $(BUILD_SUBDIR)
2411 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2412 rm -rf $(HOST_SUBDIR); \
2413 else true; fi
2414 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2415 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2416 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2417 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2418 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2419 -rmdir texinfo zlib 2>/dev/null
2420 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2422 local-maintainer-clean:
2423 @echo "This command is intended for maintainers to use;"
2424 @echo "it deletes files that may require special tools to rebuild."
2426 clean: do-clean local-clean
2427 mostlyclean: do-mostlyclean local-clean
2428 distclean: do-distclean local-clean local-distclean
2429 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2430 maintainer-clean: local-distclean
2431 realclean: maintainer-clean
2433 # Check target.
2435 .PHONY: check do-check
2436 check: do-check
2438 # Only include modules actually being configured and built.
2439 .PHONY: check-host
2440 check-host: \
2441 maybe-check-bfd \
2442 maybe-check-opcodes \
2443 maybe-check-binutils \
2444 maybe-check-bison \
2445 maybe-check-cgen \
2446 maybe-check-dejagnu \
2447 maybe-check-etc \
2448 maybe-check-fastjar \
2449 maybe-check-fixincludes \
2450 maybe-check-flex \
2451 maybe-check-gas \
2452 maybe-check-gcc \
2453 maybe-check-gmp \
2454 maybe-check-mpfr \
2455 maybe-check-mpc \
2456 maybe-check-isl \
2457 maybe-check-libelf \
2458 maybe-check-gold \
2459 maybe-check-gprof \
2460 maybe-check-intl \
2461 maybe-check-tcl \
2462 maybe-check-itcl \
2463 maybe-check-ld \
2464 maybe-check-libbacktrace \
2465 maybe-check-libcpp \
2466 maybe-check-libdecnumber \
2467 maybe-check-libgui \
2468 maybe-check-libiberty \
2469 maybe-check-libiberty-linker-plugin \
2470 maybe-check-libiconv \
2471 maybe-check-m4 \
2472 maybe-check-readline \
2473 maybe-check-sid \
2474 maybe-check-sim \
2475 maybe-check-texinfo \
2476 maybe-check-zlib \
2477 maybe-check-gnulib \
2478 maybe-check-gdb \
2479 maybe-check-expect \
2480 maybe-check-guile \
2481 maybe-check-tk \
2482 maybe-check-libtermcap \
2483 maybe-check-utils \
2484 maybe-check-gnattools \
2485 maybe-check-lto-plugin \
2486 maybe-check-libcc1 \
2487 maybe-check-gotools \
2488 maybe-check-libctf
2490 .PHONY: check-target
2491 check-target: \
2492 maybe-check-target-libstdc++-v3 \
2493 maybe-check-target-libsanitizer \
2494 maybe-check-target-libvtv \
2495 maybe-check-target-liboffloadmic \
2496 maybe-check-target-libssp \
2497 maybe-check-target-newlib \
2498 maybe-check-target-libgcc \
2499 maybe-check-target-libbacktrace \
2500 maybe-check-target-libquadmath \
2501 maybe-check-target-libgfortran \
2502 maybe-check-target-libobjc \
2503 maybe-check-target-libgo \
2504 maybe-check-target-libhsail-rt \
2505 maybe-check-target-libphobos \
2506 maybe-check-target-libtermcap \
2507 maybe-check-target-winsup \
2508 maybe-check-target-libgloss \
2509 maybe-check-target-libffi \
2510 maybe-check-target-zlib \
2511 maybe-check-target-rda \
2512 maybe-check-target-libada \
2513 maybe-check-target-libgomp \
2514 maybe-check-target-libitm \
2515 maybe-check-target-libatomic
2517 do-check:
2518 @: $(MAKE); $(unstage)
2519 @r=`${PWD_COMMAND}`; export r; \
2520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2523 # Automated reporting of test results.
2525 warning.log: build.log
2526 $(srcdir)/contrib/warn_summary build.log > $@
2528 mail-report.log:
2529 if test x'$(BOOT_CFLAGS)' != x''; then \
2530 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2531 fi; \
2532 $(srcdir)/contrib/test_summary -t >$@
2533 chmod +x $@
2534 echo If you really want to send e-mail, run ./$@ now
2536 mail-report-with-warnings.log: warning.log
2537 if test x'$(BOOT_CFLAGS)' != x''; then \
2538 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2539 fi; \
2540 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2541 chmod +x $@
2542 echo If you really want to send e-mail, run ./$@ now
2544 # Local Vim config
2546 $(srcdir)/.local.vimrc:
2547 $(LN_S) contrib/vimrc $@
2549 $(srcdir)/.lvimrc:
2550 $(LN_S) contrib/vimrc $@
2552 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2554 .PHONY: vimrc
2556 # clang-format config
2558 $(srcdir)/.clang-format:
2559 $(LN_S) contrib/clang-format $@
2561 clang-format: $(srcdir)/.clang-format
2563 .PHONY: clang-format
2565 # Installation targets.
2567 .PHONY: install uninstall
2568 install:
2569 @: $(MAKE); $(unstage)
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2574 .PHONY: install-host-nogcc
2575 install-host-nogcc: \
2576 maybe-install-bfd \
2577 maybe-install-opcodes \
2578 maybe-install-binutils \
2579 maybe-install-bison \
2580 maybe-install-cgen \
2581 maybe-install-dejagnu \
2582 maybe-install-etc \
2583 maybe-install-fastjar \
2584 maybe-install-fixincludes \
2585 maybe-install-flex \
2586 maybe-install-gas \
2587 maybe-install-gmp \
2588 maybe-install-mpfr \
2589 maybe-install-mpc \
2590 maybe-install-isl \
2591 maybe-install-libelf \
2592 maybe-install-gold \
2593 maybe-install-gprof \
2594 maybe-install-intl \
2595 maybe-install-tcl \
2596 maybe-install-itcl \
2597 maybe-install-ld \
2598 maybe-install-libbacktrace \
2599 maybe-install-libcpp \
2600 maybe-install-libdecnumber \
2601 maybe-install-libgui \
2602 maybe-install-libiberty \
2603 maybe-install-libiberty-linker-plugin \
2604 maybe-install-libiconv \
2605 maybe-install-m4 \
2606 maybe-install-readline \
2607 maybe-install-sid \
2608 maybe-install-sim \
2609 maybe-install-texinfo \
2610 maybe-install-zlib \
2611 maybe-install-gnulib \
2612 maybe-install-gdb \
2613 maybe-install-expect \
2614 maybe-install-guile \
2615 maybe-install-tk \
2616 maybe-install-libtermcap \
2617 maybe-install-utils \
2618 maybe-install-gnattools \
2619 maybe-install-lto-plugin \
2620 maybe-install-libcc1 \
2621 maybe-install-gotools \
2622 maybe-install-libctf
2624 .PHONY: install-host
2625 install-host: \
2626 maybe-install-bfd \
2627 maybe-install-opcodes \
2628 maybe-install-binutils \
2629 maybe-install-bison \
2630 maybe-install-cgen \
2631 maybe-install-dejagnu \
2632 maybe-install-etc \
2633 maybe-install-fastjar \
2634 maybe-install-fixincludes \
2635 maybe-install-flex \
2636 maybe-install-gas \
2637 maybe-install-gcc \
2638 maybe-install-gmp \
2639 maybe-install-mpfr \
2640 maybe-install-mpc \
2641 maybe-install-isl \
2642 maybe-install-libelf \
2643 maybe-install-gold \
2644 maybe-install-gprof \
2645 maybe-install-intl \
2646 maybe-install-tcl \
2647 maybe-install-itcl \
2648 maybe-install-ld \
2649 maybe-install-libbacktrace \
2650 maybe-install-libcpp \
2651 maybe-install-libdecnumber \
2652 maybe-install-libgui \
2653 maybe-install-libiberty \
2654 maybe-install-libiberty-linker-plugin \
2655 maybe-install-libiconv \
2656 maybe-install-m4 \
2657 maybe-install-readline \
2658 maybe-install-sid \
2659 maybe-install-sim \
2660 maybe-install-texinfo \
2661 maybe-install-zlib \
2662 maybe-install-gnulib \
2663 maybe-install-gdb \
2664 maybe-install-expect \
2665 maybe-install-guile \
2666 maybe-install-tk \
2667 maybe-install-libtermcap \
2668 maybe-install-utils \
2669 maybe-install-gnattools \
2670 maybe-install-lto-plugin \
2671 maybe-install-libcc1 \
2672 maybe-install-gotools \
2673 maybe-install-libctf
2675 .PHONY: install-target
2676 install-target: \
2677 maybe-install-target-libstdc++-v3 \
2678 maybe-install-target-libsanitizer \
2679 maybe-install-target-libvtv \
2680 maybe-install-target-liboffloadmic \
2681 maybe-install-target-libssp \
2682 maybe-install-target-newlib \
2683 maybe-install-target-libgcc \
2684 maybe-install-target-libbacktrace \
2685 maybe-install-target-libquadmath \
2686 maybe-install-target-libgfortran \
2687 maybe-install-target-libobjc \
2688 maybe-install-target-libgo \
2689 maybe-install-target-libhsail-rt \
2690 maybe-install-target-libphobos \
2691 maybe-install-target-libtermcap \
2692 maybe-install-target-winsup \
2693 maybe-install-target-libgloss \
2694 maybe-install-target-libffi \
2695 maybe-install-target-zlib \
2696 maybe-install-target-rda \
2697 maybe-install-target-libada \
2698 maybe-install-target-libgomp \
2699 maybe-install-target-libitm \
2700 maybe-install-target-libatomic
2702 uninstall:
2703 @echo "the uninstall target is not supported in this tree"
2705 .PHONY: install.all
2706 install.all: install-no-fixedincludes
2707 @if [ -f ./gcc/Makefile ]; then \
2708 r=`${PWD_COMMAND}`; export r; \
2709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2710 $(HOST_EXPORTS) \
2711 (cd ./gcc && \
2712 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2713 else \
2714 true; \
2717 # install-no-fixedincludes is used to allow the elaboration of binary packages
2718 # suitable for distribution, where we cannot include the fixed system header
2719 # files.
2720 .PHONY: install-no-fixedincludes
2721 install-no-fixedincludes: installdirs install-host-nogcc \
2722 install-target gcc-install-no-fixedincludes
2724 .PHONY: install-strip
2725 install-strip:
2726 @: $(MAKE); $(unstage)
2727 @r=`${PWD_COMMAND}`; export r; \
2728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2729 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2731 .PHONY: install-strip-host
2732 install-strip-host: \
2733 maybe-install-strip-bfd \
2734 maybe-install-strip-opcodes \
2735 maybe-install-strip-binutils \
2736 maybe-install-strip-bison \
2737 maybe-install-strip-cgen \
2738 maybe-install-strip-dejagnu \
2739 maybe-install-strip-etc \
2740 maybe-install-strip-fastjar \
2741 maybe-install-strip-fixincludes \
2742 maybe-install-strip-flex \
2743 maybe-install-strip-gas \
2744 maybe-install-strip-gcc \
2745 maybe-install-strip-gmp \
2746 maybe-install-strip-mpfr \
2747 maybe-install-strip-mpc \
2748 maybe-install-strip-isl \
2749 maybe-install-strip-libelf \
2750 maybe-install-strip-gold \
2751 maybe-install-strip-gprof \
2752 maybe-install-strip-intl \
2753 maybe-install-strip-tcl \
2754 maybe-install-strip-itcl \
2755 maybe-install-strip-ld \
2756 maybe-install-strip-libbacktrace \
2757 maybe-install-strip-libcpp \
2758 maybe-install-strip-libdecnumber \
2759 maybe-install-strip-libgui \
2760 maybe-install-strip-libiberty \
2761 maybe-install-strip-libiberty-linker-plugin \
2762 maybe-install-strip-libiconv \
2763 maybe-install-strip-m4 \
2764 maybe-install-strip-readline \
2765 maybe-install-strip-sid \
2766 maybe-install-strip-sim \
2767 maybe-install-strip-texinfo \
2768 maybe-install-strip-zlib \
2769 maybe-install-strip-gnulib \
2770 maybe-install-strip-gdb \
2771 maybe-install-strip-expect \
2772 maybe-install-strip-guile \
2773 maybe-install-strip-tk \
2774 maybe-install-strip-libtermcap \
2775 maybe-install-strip-utils \
2776 maybe-install-strip-gnattools \
2777 maybe-install-strip-lto-plugin \
2778 maybe-install-strip-libcc1 \
2779 maybe-install-strip-gotools \
2780 maybe-install-strip-libctf
2782 .PHONY: install-strip-target
2783 install-strip-target: \
2784 maybe-install-strip-target-libstdc++-v3 \
2785 maybe-install-strip-target-libsanitizer \
2786 maybe-install-strip-target-libvtv \
2787 maybe-install-strip-target-liboffloadmic \
2788 maybe-install-strip-target-libssp \
2789 maybe-install-strip-target-newlib \
2790 maybe-install-strip-target-libgcc \
2791 maybe-install-strip-target-libbacktrace \
2792 maybe-install-strip-target-libquadmath \
2793 maybe-install-strip-target-libgfortran \
2794 maybe-install-strip-target-libobjc \
2795 maybe-install-strip-target-libgo \
2796 maybe-install-strip-target-libhsail-rt \
2797 maybe-install-strip-target-libphobos \
2798 maybe-install-strip-target-libtermcap \
2799 maybe-install-strip-target-winsup \
2800 maybe-install-strip-target-libgloss \
2801 maybe-install-strip-target-libffi \
2802 maybe-install-strip-target-zlib \
2803 maybe-install-strip-target-rda \
2804 maybe-install-strip-target-libada \
2805 maybe-install-strip-target-libgomp \
2806 maybe-install-strip-target-libitm \
2807 maybe-install-strip-target-libatomic
2810 ### other supporting targets
2812 MAKEDIRS= \
2813 $(DESTDIR)$(prefix) \
2814 $(DESTDIR)$(exec_prefix)
2815 .PHONY: installdirs
2816 installdirs: mkinstalldirs
2817 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2819 dir.info: do-install-info
2820 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2821 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2822 mv -f dir.info.new dir.info; \
2823 else true; \
2826 dist:
2827 @echo "Building a full distribution of this tree isn't done"
2828 @echo "via 'make dist'. Check out the etc/ subdirectory"
2830 etags tags: TAGS
2832 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2833 # ability to use several tags files at once, so there is probably no need
2834 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2835 # (if we felt like it) have this Makefile write a piece of elisp which
2836 # the user could load to tell emacs19 where all the TAGS files we just
2837 # built are.
2838 TAGS: do-TAGS
2840 # ------------------------------------
2841 # Macros for configure and all targets
2842 # ------------------------------------
2848 # --------------------------------------
2849 # Modules which run on the build machine
2850 # --------------------------------------
2853 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2854 maybe-configure-build-libiberty:
2855 @if gcc-bootstrap
2856 configure-build-libiberty: stage_current
2857 @endif gcc-bootstrap
2858 @if build-libiberty
2859 maybe-configure-build-libiberty: configure-build-libiberty
2860 configure-build-libiberty:
2861 @: $(MAKE); $(unstage)
2862 @r=`${PWD_COMMAND}`; export r; \
2863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2864 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2865 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2866 $(BUILD_EXPORTS) \
2867 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2868 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2869 case $(srcdir) in \
2870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2871 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2873 esac; \
2874 module_srcdir=libiberty; \
2875 rm -f no-such-file || : ; \
2876 CONFIG_SITE=no-such-file $(SHELL) \
2877 $$s/$$module_srcdir/configure \
2878 --srcdir=$${topdir}/$$module_srcdir \
2879 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2880 --target=${target_alias} \
2881 || exit 1
2882 @endif build-libiberty
2888 .PHONY: all-build-libiberty maybe-all-build-libiberty
2889 maybe-all-build-libiberty:
2890 @if gcc-bootstrap
2891 all-build-libiberty: stage_current
2892 @endif gcc-bootstrap
2893 @if build-libiberty
2894 TARGET-build-libiberty=all
2895 maybe-all-build-libiberty: all-build-libiberty
2896 all-build-libiberty: configure-build-libiberty
2897 @: $(MAKE); $(unstage)
2898 @r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900 $(BUILD_EXPORTS) \
2901 (cd $(BUILD_SUBDIR)/libiberty && \
2902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2903 $(TARGET-build-libiberty))
2904 @endif build-libiberty
2910 .PHONY: configure-build-bison maybe-configure-build-bison
2911 maybe-configure-build-bison:
2912 @if gcc-bootstrap
2913 configure-build-bison: stage_current
2914 @endif gcc-bootstrap
2915 @if build-bison
2916 maybe-configure-build-bison: configure-build-bison
2917 configure-build-bison:
2918 @: $(MAKE); $(unstage)
2919 @r=`${PWD_COMMAND}`; export r; \
2920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2921 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2922 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2923 $(BUILD_EXPORTS) \
2924 echo Configuring in $(BUILD_SUBDIR)/bison; \
2925 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2926 case $(srcdir) in \
2927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2928 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2930 esac; \
2931 module_srcdir=bison; \
2932 rm -f no-such-file || : ; \
2933 CONFIG_SITE=no-such-file $(SHELL) \
2934 $$s/$$module_srcdir/configure \
2935 --srcdir=$${topdir}/$$module_srcdir \
2936 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2937 --target=${target_alias} \
2938 || exit 1
2939 @endif build-bison
2945 .PHONY: all-build-bison maybe-all-build-bison
2946 maybe-all-build-bison:
2947 @if gcc-bootstrap
2948 all-build-bison: stage_current
2949 @endif gcc-bootstrap
2950 @if build-bison
2951 TARGET-build-bison=all
2952 maybe-all-build-bison: all-build-bison
2953 all-build-bison: configure-build-bison
2954 @: $(MAKE); $(unstage)
2955 @r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 $(BUILD_EXPORTS) \
2958 (cd $(BUILD_SUBDIR)/bison && \
2959 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2960 $(TARGET-build-bison))
2961 @endif build-bison
2967 .PHONY: configure-build-flex maybe-configure-build-flex
2968 maybe-configure-build-flex:
2969 @if gcc-bootstrap
2970 configure-build-flex: stage_current
2971 @endif gcc-bootstrap
2972 @if build-flex
2973 maybe-configure-build-flex: configure-build-flex
2974 configure-build-flex:
2975 @: $(MAKE); $(unstage)
2976 @r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2979 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2980 $(BUILD_EXPORTS) \
2981 echo Configuring in $(BUILD_SUBDIR)/flex; \
2982 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2983 case $(srcdir) in \
2984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2985 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2987 esac; \
2988 module_srcdir=flex; \
2989 rm -f no-such-file || : ; \
2990 CONFIG_SITE=no-such-file $(SHELL) \
2991 $$s/$$module_srcdir/configure \
2992 --srcdir=$${topdir}/$$module_srcdir \
2993 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2994 --target=${target_alias} \
2995 || exit 1
2996 @endif build-flex
3002 .PHONY: all-build-flex maybe-all-build-flex
3003 maybe-all-build-flex:
3004 @if gcc-bootstrap
3005 all-build-flex: stage_current
3006 @endif gcc-bootstrap
3007 @if build-flex
3008 TARGET-build-flex=all
3009 maybe-all-build-flex: all-build-flex
3010 all-build-flex: configure-build-flex
3011 @: $(MAKE); $(unstage)
3012 @r=`${PWD_COMMAND}`; export r; \
3013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3014 $(BUILD_EXPORTS) \
3015 (cd $(BUILD_SUBDIR)/flex && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3017 $(TARGET-build-flex))
3018 @endif build-flex
3024 .PHONY: configure-build-m4 maybe-configure-build-m4
3025 maybe-configure-build-m4:
3026 @if gcc-bootstrap
3027 configure-build-m4: stage_current
3028 @endif gcc-bootstrap
3029 @if build-m4
3030 maybe-configure-build-m4: configure-build-m4
3031 configure-build-m4:
3032 @: $(MAKE); $(unstage)
3033 @r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3036 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3037 $(BUILD_EXPORTS) \
3038 echo Configuring in $(BUILD_SUBDIR)/m4; \
3039 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3040 case $(srcdir) in \
3041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3042 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3044 esac; \
3045 module_srcdir=m4; \
3046 rm -f no-such-file || : ; \
3047 CONFIG_SITE=no-such-file $(SHELL) \
3048 $$s/$$module_srcdir/configure \
3049 --srcdir=$${topdir}/$$module_srcdir \
3050 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3051 --target=${target_alias} \
3052 || exit 1
3053 @endif build-m4
3059 .PHONY: all-build-m4 maybe-all-build-m4
3060 maybe-all-build-m4:
3061 @if gcc-bootstrap
3062 all-build-m4: stage_current
3063 @endif gcc-bootstrap
3064 @if build-m4
3065 TARGET-build-m4=all
3066 maybe-all-build-m4: all-build-m4
3067 all-build-m4: configure-build-m4
3068 @: $(MAKE); $(unstage)
3069 @r=`${PWD_COMMAND}`; export r; \
3070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3071 $(BUILD_EXPORTS) \
3072 (cd $(BUILD_SUBDIR)/m4 && \
3073 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3074 $(TARGET-build-m4))
3075 @endif build-m4
3081 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3082 maybe-configure-build-texinfo:
3083 @if gcc-bootstrap
3084 configure-build-texinfo: stage_current
3085 @endif gcc-bootstrap
3086 @if build-texinfo
3087 maybe-configure-build-texinfo: configure-build-texinfo
3088 configure-build-texinfo:
3089 @: $(MAKE); $(unstage)
3090 @r=`${PWD_COMMAND}`; export r; \
3091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3092 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3093 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3094 $(BUILD_EXPORTS) \
3095 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3096 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3097 case $(srcdir) in \
3098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3099 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3101 esac; \
3102 module_srcdir=texinfo; \
3103 rm -f no-such-file || : ; \
3104 CONFIG_SITE=no-such-file $(SHELL) \
3105 $$s/$$module_srcdir/configure \
3106 --srcdir=$${topdir}/$$module_srcdir \
3107 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3108 --target=${target_alias} \
3109 || exit 1
3110 @endif build-texinfo
3116 .PHONY: all-build-texinfo maybe-all-build-texinfo
3117 maybe-all-build-texinfo:
3118 @if gcc-bootstrap
3119 all-build-texinfo: stage_current
3120 @endif gcc-bootstrap
3121 @if build-texinfo
3122 TARGET-build-texinfo=all
3123 maybe-all-build-texinfo: all-build-texinfo
3124 all-build-texinfo: configure-build-texinfo
3125 @: $(MAKE); $(unstage)
3126 @r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128 $(BUILD_EXPORTS) \
3129 (cd $(BUILD_SUBDIR)/texinfo && \
3130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3131 $(TARGET-build-texinfo))
3132 @endif build-texinfo
3138 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3139 maybe-configure-build-fixincludes:
3140 @if gcc-bootstrap
3141 configure-build-fixincludes: stage_current
3142 @endif gcc-bootstrap
3143 @if build-fixincludes
3144 maybe-configure-build-fixincludes: configure-build-fixincludes
3145 configure-build-fixincludes:
3146 @: $(MAKE); $(unstage)
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3149 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3150 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3151 $(BUILD_EXPORTS) \
3152 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3153 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3154 case $(srcdir) in \
3155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3156 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3158 esac; \
3159 module_srcdir=fixincludes; \
3160 rm -f no-such-file || : ; \
3161 CONFIG_SITE=no-such-file $(SHELL) \
3162 $$s/$$module_srcdir/configure \
3163 --srcdir=$${topdir}/$$module_srcdir \
3164 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3165 --target=${target_alias} \
3166 || exit 1
3167 @endif build-fixincludes
3173 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3174 maybe-all-build-fixincludes:
3175 @if gcc-bootstrap
3176 all-build-fixincludes: stage_current
3177 @endif gcc-bootstrap
3178 @if build-fixincludes
3179 TARGET-build-fixincludes=all
3180 maybe-all-build-fixincludes: all-build-fixincludes
3181 all-build-fixincludes: configure-build-fixincludes
3182 @: $(MAKE); $(unstage)
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 $(BUILD_EXPORTS) \
3186 (cd $(BUILD_SUBDIR)/fixincludes && \
3187 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3188 $(TARGET-build-fixincludes))
3189 @endif build-fixincludes
3195 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3196 maybe-configure-build-libcpp:
3197 @if gcc-bootstrap
3198 configure-build-libcpp: stage_current
3199 @endif gcc-bootstrap
3200 @if build-libcpp
3201 maybe-configure-build-libcpp: configure-build-libcpp
3202 configure-build-libcpp:
3203 @: $(MAKE); $(unstage)
3204 @r=`${PWD_COMMAND}`; export r; \
3205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3206 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3207 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3208 $(BUILD_EXPORTS) \
3209 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3210 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3211 case $(srcdir) in \
3212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3213 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3215 esac; \
3216 module_srcdir=libcpp; \
3217 rm -f no-such-file || : ; \
3218 CONFIG_SITE=no-such-file $(SHELL) \
3219 $$s/$$module_srcdir/configure \
3220 --srcdir=$${topdir}/$$module_srcdir \
3221 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3222 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3223 || exit 1
3224 @endif build-libcpp
3230 .PHONY: all-build-libcpp maybe-all-build-libcpp
3231 maybe-all-build-libcpp:
3232 @if gcc-bootstrap
3233 all-build-libcpp: stage_current
3234 @endif gcc-bootstrap
3235 @if build-libcpp
3236 TARGET-build-libcpp=all
3237 maybe-all-build-libcpp: all-build-libcpp
3238 all-build-libcpp: configure-build-libcpp
3239 @: $(MAKE); $(unstage)
3240 @r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3242 $(BUILD_EXPORTS) \
3243 (cd $(BUILD_SUBDIR)/libcpp && \
3244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3245 $(TARGET-build-libcpp))
3246 @endif build-libcpp
3252 # --------------------------------------
3253 # Modules which run on the host machine
3254 # --------------------------------------
3257 .PHONY: configure-bfd maybe-configure-bfd
3258 maybe-configure-bfd:
3259 @if gcc-bootstrap
3260 configure-bfd: stage_current
3261 @endif gcc-bootstrap
3262 @if bfd
3263 maybe-configure-bfd: configure-bfd
3264 configure-bfd:
3265 @r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3269 $(HOST_EXPORTS) \
3270 echo Configuring in $(HOST_SUBDIR)/bfd; \
3271 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3272 case $(srcdir) in \
3273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3274 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3276 esac; \
3277 module_srcdir=bfd; \
3278 $(SHELL) \
3279 $$s/$$module_srcdir/configure \
3280 --srcdir=$${topdir}/$$module_srcdir \
3281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3282 --target=${target_alias} \
3283 || exit 1
3284 @endif bfd
3288 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3289 maybe-configure-stage1-bfd:
3290 @if bfd-bootstrap
3291 maybe-configure-stage1-bfd: configure-stage1-bfd
3292 configure-stage1-bfd:
3293 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3295 @r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 TFLAGS="$(STAGE1_TFLAGS)"; \
3298 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3299 $(HOST_EXPORTS) \
3300 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3301 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3302 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3303 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3305 cd $(HOST_SUBDIR)/bfd || exit 1; \
3306 case $(srcdir) in \
3307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3308 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3310 esac; \
3311 module_srcdir=bfd; \
3312 $(SHELL) $$s/$$module_srcdir/configure \
3313 --srcdir=$${topdir}/$$module_srcdir \
3314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3315 --target=${target_alias} \
3317 $(STAGE1_CONFIGURE_FLAGS)
3318 @endif bfd-bootstrap
3320 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3321 maybe-configure-stage2-bfd:
3322 @if bfd-bootstrap
3323 maybe-configure-stage2-bfd: configure-stage2-bfd
3324 configure-stage2-bfd:
3325 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3327 @r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 TFLAGS="$(STAGE2_TFLAGS)"; \
3330 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3331 $(HOST_EXPORTS) \
3332 $(POSTSTAGE1_HOST_EXPORTS) \
3333 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3334 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3335 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3336 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3338 cd $(HOST_SUBDIR)/bfd || exit 1; \
3339 case $(srcdir) in \
3340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3341 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3343 esac; \
3344 module_srcdir=bfd; \
3345 $(SHELL) $$s/$$module_srcdir/configure \
3346 --srcdir=$${topdir}/$$module_srcdir \
3347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3348 --target=${target_alias} \
3349 --with-build-libsubdir=$(HOST_SUBDIR) \
3350 $(STAGE2_CONFIGURE_FLAGS)
3351 @endif bfd-bootstrap
3353 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3354 maybe-configure-stage3-bfd:
3355 @if bfd-bootstrap
3356 maybe-configure-stage3-bfd: configure-stage3-bfd
3357 configure-stage3-bfd:
3358 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3360 @r=`${PWD_COMMAND}`; export r; \
3361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3362 TFLAGS="$(STAGE3_TFLAGS)"; \
3363 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3364 $(HOST_EXPORTS) \
3365 $(POSTSTAGE1_HOST_EXPORTS) \
3366 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3367 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3368 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3369 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3371 cd $(HOST_SUBDIR)/bfd || exit 1; \
3372 case $(srcdir) in \
3373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3374 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3376 esac; \
3377 module_srcdir=bfd; \
3378 $(SHELL) $$s/$$module_srcdir/configure \
3379 --srcdir=$${topdir}/$$module_srcdir \
3380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3381 --target=${target_alias} \
3382 --with-build-libsubdir=$(HOST_SUBDIR) \
3383 $(STAGE3_CONFIGURE_FLAGS)
3384 @endif bfd-bootstrap
3386 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3387 maybe-configure-stage4-bfd:
3388 @if bfd-bootstrap
3389 maybe-configure-stage4-bfd: configure-stage4-bfd
3390 configure-stage4-bfd:
3391 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3393 @r=`${PWD_COMMAND}`; export r; \
3394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395 TFLAGS="$(STAGE4_TFLAGS)"; \
3396 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3397 $(HOST_EXPORTS) \
3398 $(POSTSTAGE1_HOST_EXPORTS) \
3399 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3400 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3401 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3402 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3404 cd $(HOST_SUBDIR)/bfd || exit 1; \
3405 case $(srcdir) in \
3406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3407 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3409 esac; \
3410 module_srcdir=bfd; \
3411 $(SHELL) $$s/$$module_srcdir/configure \
3412 --srcdir=$${topdir}/$$module_srcdir \
3413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3414 --target=${target_alias} \
3415 --with-build-libsubdir=$(HOST_SUBDIR) \
3416 $(STAGE4_CONFIGURE_FLAGS)
3417 @endif bfd-bootstrap
3419 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3420 maybe-configure-stageprofile-bfd:
3421 @if bfd-bootstrap
3422 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3423 configure-stageprofile-bfd:
3424 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3426 @r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3429 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3430 $(HOST_EXPORTS) \
3431 $(POSTSTAGE1_HOST_EXPORTS) \
3432 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3433 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3434 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3435 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3437 cd $(HOST_SUBDIR)/bfd || exit 1; \
3438 case $(srcdir) in \
3439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3440 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3442 esac; \
3443 module_srcdir=bfd; \
3444 $(SHELL) $$s/$$module_srcdir/configure \
3445 --srcdir=$${topdir}/$$module_srcdir \
3446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3447 --target=${target_alias} \
3448 --with-build-libsubdir=$(HOST_SUBDIR) \
3449 $(STAGEprofile_CONFIGURE_FLAGS)
3450 @endif bfd-bootstrap
3452 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3453 maybe-configure-stagetrain-bfd:
3454 @if bfd-bootstrap
3455 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3456 configure-stagetrain-bfd:
3457 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3459 @r=`${PWD_COMMAND}`; export r; \
3460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3461 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3462 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3463 $(HOST_EXPORTS) \
3464 $(POSTSTAGE1_HOST_EXPORTS) \
3465 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3466 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3467 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3468 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3470 cd $(HOST_SUBDIR)/bfd || exit 1; \
3471 case $(srcdir) in \
3472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3473 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3475 esac; \
3476 module_srcdir=bfd; \
3477 $(SHELL) $$s/$$module_srcdir/configure \
3478 --srcdir=$${topdir}/$$module_srcdir \
3479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3480 --target=${target_alias} \
3481 --with-build-libsubdir=$(HOST_SUBDIR) \
3482 $(STAGEtrain_CONFIGURE_FLAGS)
3483 @endif bfd-bootstrap
3485 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3486 maybe-configure-stagefeedback-bfd:
3487 @if bfd-bootstrap
3488 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3489 configure-stagefeedback-bfd:
3490 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3492 @r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3495 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3496 $(HOST_EXPORTS) \
3497 $(POSTSTAGE1_HOST_EXPORTS) \
3498 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3499 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3500 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3501 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3503 cd $(HOST_SUBDIR)/bfd || exit 1; \
3504 case $(srcdir) in \
3505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3506 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3508 esac; \
3509 module_srcdir=bfd; \
3510 $(SHELL) $$s/$$module_srcdir/configure \
3511 --srcdir=$${topdir}/$$module_srcdir \
3512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3513 --target=${target_alias} \
3514 --with-build-libsubdir=$(HOST_SUBDIR) \
3515 $(STAGEfeedback_CONFIGURE_FLAGS)
3516 @endif bfd-bootstrap
3518 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3519 maybe-configure-stageautoprofile-bfd:
3520 @if bfd-bootstrap
3521 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3522 configure-stageautoprofile-bfd:
3523 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3525 @r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3528 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3529 $(HOST_EXPORTS) \
3530 $(POSTSTAGE1_HOST_EXPORTS) \
3531 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3532 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3533 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3534 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3536 cd $(HOST_SUBDIR)/bfd || exit 1; \
3537 case $(srcdir) in \
3538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3539 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3541 esac; \
3542 module_srcdir=bfd; \
3543 $(SHELL) $$s/$$module_srcdir/configure \
3544 --srcdir=$${topdir}/$$module_srcdir \
3545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3546 --target=${target_alias} \
3547 --with-build-libsubdir=$(HOST_SUBDIR) \
3548 $(STAGEautoprofile_CONFIGURE_FLAGS)
3549 @endif bfd-bootstrap
3551 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3552 maybe-configure-stageautofeedback-bfd:
3553 @if bfd-bootstrap
3554 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3555 configure-stageautofeedback-bfd:
3556 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3558 @r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3561 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3562 $(HOST_EXPORTS) \
3563 $(POSTSTAGE1_HOST_EXPORTS) \
3564 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3565 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3566 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3567 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3569 cd $(HOST_SUBDIR)/bfd || exit 1; \
3570 case $(srcdir) in \
3571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3572 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3574 esac; \
3575 module_srcdir=bfd; \
3576 $(SHELL) $$s/$$module_srcdir/configure \
3577 --srcdir=$${topdir}/$$module_srcdir \
3578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3579 --target=${target_alias} \
3580 --with-build-libsubdir=$(HOST_SUBDIR) \
3581 $(STAGEautofeedback_CONFIGURE_FLAGS)
3582 @endif bfd-bootstrap
3588 .PHONY: all-bfd maybe-all-bfd
3589 maybe-all-bfd:
3590 @if gcc-bootstrap
3591 all-bfd: stage_current
3592 @endif gcc-bootstrap
3593 @if bfd
3594 TARGET-bfd=all
3595 maybe-all-bfd: all-bfd
3596 all-bfd: configure-bfd
3597 @r=`${PWD_COMMAND}`; export r; \
3598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 $(HOST_EXPORTS) \
3600 (cd $(HOST_SUBDIR)/bfd && \
3601 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3602 $(TARGET-bfd))
3603 @endif bfd
3607 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3608 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3609 maybe-all-stage1-bfd:
3610 maybe-clean-stage1-bfd:
3611 @if bfd-bootstrap
3612 maybe-all-stage1-bfd: all-stage1-bfd
3613 all-stage1: all-stage1-bfd
3614 TARGET-stage1-bfd = $(TARGET-bfd)
3615 all-stage1-bfd: configure-stage1-bfd
3616 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3617 @r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 TFLAGS="$(STAGE1_TFLAGS)"; \
3620 $(HOST_EXPORTS) \
3621 cd $(HOST_SUBDIR)/bfd && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3624 CFLAGS="$(STAGE1_CFLAGS)" \
3625 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3626 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3627 LIBCFLAGS="$(LIBCFLAGS)" \
3628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3631 $(EXTRA_HOST_FLAGS) \
3632 $(STAGE1_FLAGS_TO_PASS) \
3633 TFLAGS="$(STAGE1_TFLAGS)" \
3634 $(TARGET-stage1-bfd)
3636 maybe-clean-stage1-bfd: clean-stage1-bfd
3637 clean-stage1: clean-stage1-bfd
3638 clean-stage1-bfd:
3639 @if [ $(current_stage) = stage1 ]; then \
3640 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3641 else \
3642 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3643 $(MAKE) stage1-start; \
3644 fi; \
3645 cd $(HOST_SUBDIR)/bfd && \
3646 $(MAKE) $(EXTRA_HOST_FLAGS) \
3647 $(STAGE1_FLAGS_TO_PASS) clean
3648 @endif bfd-bootstrap
3651 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3652 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3653 maybe-all-stage2-bfd:
3654 maybe-clean-stage2-bfd:
3655 @if bfd-bootstrap
3656 maybe-all-stage2-bfd: all-stage2-bfd
3657 all-stage2: all-stage2-bfd
3658 TARGET-stage2-bfd = $(TARGET-bfd)
3659 all-stage2-bfd: configure-stage2-bfd
3660 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3661 @r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 TFLAGS="$(STAGE2_TFLAGS)"; \
3664 $(HOST_EXPORTS) \
3665 $(POSTSTAGE1_HOST_EXPORTS) \
3666 cd $(HOST_SUBDIR)/bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3669 CFLAGS="$(STAGE2_CFLAGS)" \
3670 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3671 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3672 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3676 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3677 TFLAGS="$(STAGE2_TFLAGS)" \
3678 $(TARGET-stage2-bfd)
3680 maybe-clean-stage2-bfd: clean-stage2-bfd
3681 clean-stage2: clean-stage2-bfd
3682 clean-stage2-bfd:
3683 @if [ $(current_stage) = stage2 ]; then \
3684 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3685 else \
3686 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3687 $(MAKE) stage2-start; \
3688 fi; \
3689 cd $(HOST_SUBDIR)/bfd && \
3690 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3691 @endif bfd-bootstrap
3694 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3695 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3696 maybe-all-stage3-bfd:
3697 maybe-clean-stage3-bfd:
3698 @if bfd-bootstrap
3699 maybe-all-stage3-bfd: all-stage3-bfd
3700 all-stage3: all-stage3-bfd
3701 TARGET-stage3-bfd = $(TARGET-bfd)
3702 all-stage3-bfd: configure-stage3-bfd
3703 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3704 @r=`${PWD_COMMAND}`; export r; \
3705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3706 TFLAGS="$(STAGE3_TFLAGS)"; \
3707 $(HOST_EXPORTS) \
3708 $(POSTSTAGE1_HOST_EXPORTS) \
3709 cd $(HOST_SUBDIR)/bfd && \
3711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3712 CFLAGS="$(STAGE3_CFLAGS)" \
3713 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3714 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3715 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3719 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3720 TFLAGS="$(STAGE3_TFLAGS)" \
3721 $(TARGET-stage3-bfd)
3723 maybe-clean-stage3-bfd: clean-stage3-bfd
3724 clean-stage3: clean-stage3-bfd
3725 clean-stage3-bfd:
3726 @if [ $(current_stage) = stage3 ]; then \
3727 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3728 else \
3729 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3730 $(MAKE) stage3-start; \
3731 fi; \
3732 cd $(HOST_SUBDIR)/bfd && \
3733 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3734 @endif bfd-bootstrap
3737 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3738 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3739 maybe-all-stage4-bfd:
3740 maybe-clean-stage4-bfd:
3741 @if bfd-bootstrap
3742 maybe-all-stage4-bfd: all-stage4-bfd
3743 all-stage4: all-stage4-bfd
3744 TARGET-stage4-bfd = $(TARGET-bfd)
3745 all-stage4-bfd: configure-stage4-bfd
3746 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3747 @r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 TFLAGS="$(STAGE4_TFLAGS)"; \
3750 $(HOST_EXPORTS) \
3751 $(POSTSTAGE1_HOST_EXPORTS) \
3752 cd $(HOST_SUBDIR)/bfd && \
3754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3755 CFLAGS="$(STAGE4_CFLAGS)" \
3756 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
3757 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3758 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3762 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3763 TFLAGS="$(STAGE4_TFLAGS)" \
3764 $(TARGET-stage4-bfd)
3766 maybe-clean-stage4-bfd: clean-stage4-bfd
3767 clean-stage4: clean-stage4-bfd
3768 clean-stage4-bfd:
3769 @if [ $(current_stage) = stage4 ]; then \
3770 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3771 else \
3772 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3773 $(MAKE) stage4-start; \
3774 fi; \
3775 cd $(HOST_SUBDIR)/bfd && \
3776 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3777 @endif bfd-bootstrap
3780 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3781 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3782 maybe-all-stageprofile-bfd:
3783 maybe-clean-stageprofile-bfd:
3784 @if bfd-bootstrap
3785 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3786 all-stageprofile: all-stageprofile-bfd
3787 TARGET-stageprofile-bfd = $(TARGET-bfd)
3788 all-stageprofile-bfd: configure-stageprofile-bfd
3789 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3790 @r=`${PWD_COMMAND}`; export r; \
3791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3792 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3793 $(HOST_EXPORTS) \
3794 $(POSTSTAGE1_HOST_EXPORTS) \
3795 cd $(HOST_SUBDIR)/bfd && \
3797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3798 CFLAGS="$(STAGEprofile_CFLAGS)" \
3799 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
3800 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3801 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3806 TFLAGS="$(STAGEprofile_TFLAGS)" \
3807 $(TARGET-stageprofile-bfd)
3809 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3810 clean-stageprofile: clean-stageprofile-bfd
3811 clean-stageprofile-bfd:
3812 @if [ $(current_stage) = stageprofile ]; then \
3813 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3814 else \
3815 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3816 $(MAKE) stageprofile-start; \
3817 fi; \
3818 cd $(HOST_SUBDIR)/bfd && \
3819 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3820 @endif bfd-bootstrap
3823 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3824 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3825 maybe-all-stagetrain-bfd:
3826 maybe-clean-stagetrain-bfd:
3827 @if bfd-bootstrap
3828 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3829 all-stagetrain: all-stagetrain-bfd
3830 TARGET-stagetrain-bfd = $(TARGET-bfd)
3831 all-stagetrain-bfd: configure-stagetrain-bfd
3832 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3833 @r=`${PWD_COMMAND}`; export r; \
3834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3836 $(HOST_EXPORTS) \
3837 $(POSTSTAGE1_HOST_EXPORTS) \
3838 cd $(HOST_SUBDIR)/bfd && \
3840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3841 CFLAGS="$(STAGEtrain_CFLAGS)" \
3842 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
3843 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3844 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3849 TFLAGS="$(STAGEtrain_TFLAGS)" \
3850 $(TARGET-stagetrain-bfd)
3852 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3853 clean-stagetrain: clean-stagetrain-bfd
3854 clean-stagetrain-bfd:
3855 @if [ $(current_stage) = stagetrain ]; then \
3856 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3857 else \
3858 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3859 $(MAKE) stagetrain-start; \
3860 fi; \
3861 cd $(HOST_SUBDIR)/bfd && \
3862 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3863 @endif bfd-bootstrap
3866 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3867 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3868 maybe-all-stagefeedback-bfd:
3869 maybe-clean-stagefeedback-bfd:
3870 @if bfd-bootstrap
3871 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3872 all-stagefeedback: all-stagefeedback-bfd
3873 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3874 all-stagefeedback-bfd: configure-stagefeedback-bfd
3875 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3876 @r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3879 $(HOST_EXPORTS) \
3880 $(POSTSTAGE1_HOST_EXPORTS) \
3881 cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3884 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3885 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
3886 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3887 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3891 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3892 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3893 $(TARGET-stagefeedback-bfd)
3895 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3896 clean-stagefeedback: clean-stagefeedback-bfd
3897 clean-stagefeedback-bfd:
3898 @if [ $(current_stage) = stagefeedback ]; then \
3899 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3900 else \
3901 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3902 $(MAKE) stagefeedback-start; \
3903 fi; \
3904 cd $(HOST_SUBDIR)/bfd && \
3905 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3906 @endif bfd-bootstrap
3909 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3910 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3911 maybe-all-stageautoprofile-bfd:
3912 maybe-clean-stageautoprofile-bfd:
3913 @if bfd-bootstrap
3914 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3915 all-stageautoprofile: all-stageautoprofile-bfd
3916 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3917 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3918 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3919 @r=`${PWD_COMMAND}`; export r; \
3920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3921 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3922 $(HOST_EXPORTS) \
3923 $(POSTSTAGE1_HOST_EXPORTS) \
3924 cd $(HOST_SUBDIR)/bfd && \
3925 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3927 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3928 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
3929 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3930 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3935 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3936 $(TARGET-stageautoprofile-bfd)
3938 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3939 clean-stageautoprofile: clean-stageautoprofile-bfd
3940 clean-stageautoprofile-bfd:
3941 @if [ $(current_stage) = stageautoprofile ]; then \
3942 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3943 else \
3944 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3945 $(MAKE) stageautoprofile-start; \
3946 fi; \
3947 cd $(HOST_SUBDIR)/bfd && \
3948 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3949 @endif bfd-bootstrap
3952 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3953 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3954 maybe-all-stageautofeedback-bfd:
3955 maybe-clean-stageautofeedback-bfd:
3956 @if bfd-bootstrap
3957 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3958 all-stageautofeedback: all-stageautofeedback-bfd
3959 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3960 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3961 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3962 @r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3965 $(HOST_EXPORTS) \
3966 $(POSTSTAGE1_HOST_EXPORTS) \
3967 cd $(HOST_SUBDIR)/bfd && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3970 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3971 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
3972 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3973 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3978 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3979 $(TARGET-stageautofeedback-bfd)
3981 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3982 clean-stageautofeedback: clean-stageautofeedback-bfd
3983 clean-stageautofeedback-bfd:
3984 @if [ $(current_stage) = stageautofeedback ]; then \
3985 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3986 else \
3987 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3988 $(MAKE) stageautofeedback-start; \
3989 fi; \
3990 cd $(HOST_SUBDIR)/bfd && \
3991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3992 @endif bfd-bootstrap
3998 .PHONY: check-bfd maybe-check-bfd
3999 maybe-check-bfd:
4000 @if bfd
4001 maybe-check-bfd: check-bfd
4003 check-bfd:
4004 @: $(MAKE); $(unstage)
4005 @r=`${PWD_COMMAND}`; export r; \
4006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4008 (cd $(HOST_SUBDIR)/bfd && \
4009 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4011 @endif bfd
4013 .PHONY: install-bfd maybe-install-bfd
4014 maybe-install-bfd:
4015 @if bfd
4016 maybe-install-bfd: install-bfd
4018 install-bfd: installdirs
4019 @: $(MAKE); $(unstage)
4020 @r=`${PWD_COMMAND}`; export r; \
4021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4022 $(HOST_EXPORTS) \
4023 (cd $(HOST_SUBDIR)/bfd && \
4024 $(MAKE) $(FLAGS_TO_PASS) install)
4026 @endif bfd
4028 .PHONY: install-strip-bfd maybe-install-strip-bfd
4029 maybe-install-strip-bfd:
4030 @if bfd
4031 maybe-install-strip-bfd: install-strip-bfd
4033 install-strip-bfd: installdirs
4034 @: $(MAKE); $(unstage)
4035 @r=`${PWD_COMMAND}`; export r; \
4036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4037 $(HOST_EXPORTS) \
4038 (cd $(HOST_SUBDIR)/bfd && \
4039 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4041 @endif bfd
4043 # Other targets (info, dvi, pdf, etc.)
4045 .PHONY: maybe-info-bfd info-bfd
4046 maybe-info-bfd:
4047 @if bfd
4048 maybe-info-bfd: info-bfd
4050 info-bfd: \
4051 configure-bfd
4052 @[ -f ./bfd/Makefile ] || exit 0; \
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4055 $(HOST_EXPORTS) \
4056 for flag in $(EXTRA_HOST_FLAGS) ; do \
4057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4058 done; \
4059 echo "Doing info in bfd"; \
4060 (cd $(HOST_SUBDIR)/bfd && \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4063 "RANLIB=$${RANLIB}" \
4064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4065 info) \
4066 || exit 1
4068 @endif bfd
4070 .PHONY: maybe-dvi-bfd dvi-bfd
4071 maybe-dvi-bfd:
4072 @if bfd
4073 maybe-dvi-bfd: dvi-bfd
4075 dvi-bfd: \
4076 configure-bfd
4077 @[ -f ./bfd/Makefile ] || exit 0; \
4078 r=`${PWD_COMMAND}`; export r; \
4079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4080 $(HOST_EXPORTS) \
4081 for flag in $(EXTRA_HOST_FLAGS) ; do \
4082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4083 done; \
4084 echo "Doing dvi in bfd"; \
4085 (cd $(HOST_SUBDIR)/bfd && \
4086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4088 "RANLIB=$${RANLIB}" \
4089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4090 dvi) \
4091 || exit 1
4093 @endif bfd
4095 .PHONY: maybe-pdf-bfd pdf-bfd
4096 maybe-pdf-bfd:
4097 @if bfd
4098 maybe-pdf-bfd: pdf-bfd
4100 pdf-bfd: \
4101 configure-bfd
4102 @[ -f ./bfd/Makefile ] || exit 0; \
4103 r=`${PWD_COMMAND}`; export r; \
4104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 $(HOST_EXPORTS) \
4106 for flag in $(EXTRA_HOST_FLAGS) ; do \
4107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4108 done; \
4109 echo "Doing pdf in bfd"; \
4110 (cd $(HOST_SUBDIR)/bfd && \
4111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4113 "RANLIB=$${RANLIB}" \
4114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4115 pdf) \
4116 || exit 1
4118 @endif bfd
4120 .PHONY: maybe-html-bfd html-bfd
4121 maybe-html-bfd:
4122 @if bfd
4123 maybe-html-bfd: html-bfd
4125 html-bfd: \
4126 configure-bfd
4127 @[ -f ./bfd/Makefile ] || exit 0; \
4128 r=`${PWD_COMMAND}`; export r; \
4129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4130 $(HOST_EXPORTS) \
4131 for flag in $(EXTRA_HOST_FLAGS) ; do \
4132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4133 done; \
4134 echo "Doing html in bfd"; \
4135 (cd $(HOST_SUBDIR)/bfd && \
4136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4138 "RANLIB=$${RANLIB}" \
4139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4140 html) \
4141 || exit 1
4143 @endif bfd
4145 .PHONY: maybe-TAGS-bfd TAGS-bfd
4146 maybe-TAGS-bfd:
4147 @if bfd
4148 maybe-TAGS-bfd: TAGS-bfd
4150 TAGS-bfd: \
4151 configure-bfd
4152 @[ -f ./bfd/Makefile ] || exit 0; \
4153 r=`${PWD_COMMAND}`; export r; \
4154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4155 $(HOST_EXPORTS) \
4156 for flag in $(EXTRA_HOST_FLAGS) ; do \
4157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4158 done; \
4159 echo "Doing TAGS in bfd"; \
4160 (cd $(HOST_SUBDIR)/bfd && \
4161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4163 "RANLIB=$${RANLIB}" \
4164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4165 TAGS) \
4166 || exit 1
4168 @endif bfd
4170 .PHONY: maybe-install-info-bfd install-info-bfd
4171 maybe-install-info-bfd:
4172 @if bfd
4173 maybe-install-info-bfd: install-info-bfd
4175 install-info-bfd: \
4176 configure-bfd \
4177 info-bfd
4178 @[ -f ./bfd/Makefile ] || exit 0; \
4179 r=`${PWD_COMMAND}`; export r; \
4180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4181 $(HOST_EXPORTS) \
4182 for flag in $(EXTRA_HOST_FLAGS) ; do \
4183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4184 done; \
4185 echo "Doing install-info in bfd"; \
4186 (cd $(HOST_SUBDIR)/bfd && \
4187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4189 "RANLIB=$${RANLIB}" \
4190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4191 install-info) \
4192 || exit 1
4194 @endif bfd
4196 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4197 maybe-install-pdf-bfd:
4198 @if bfd
4199 maybe-install-pdf-bfd: install-pdf-bfd
4201 install-pdf-bfd: \
4202 configure-bfd \
4203 pdf-bfd
4204 @[ -f ./bfd/Makefile ] || exit 0; \
4205 r=`${PWD_COMMAND}`; export r; \
4206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4207 $(HOST_EXPORTS) \
4208 for flag in $(EXTRA_HOST_FLAGS) ; do \
4209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4210 done; \
4211 echo "Doing install-pdf in bfd"; \
4212 (cd $(HOST_SUBDIR)/bfd && \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4215 "RANLIB=$${RANLIB}" \
4216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4217 install-pdf) \
4218 || exit 1
4220 @endif bfd
4222 .PHONY: maybe-install-html-bfd install-html-bfd
4223 maybe-install-html-bfd:
4224 @if bfd
4225 maybe-install-html-bfd: install-html-bfd
4227 install-html-bfd: \
4228 configure-bfd \
4229 html-bfd
4230 @[ -f ./bfd/Makefile ] || exit 0; \
4231 r=`${PWD_COMMAND}`; export r; \
4232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4233 $(HOST_EXPORTS) \
4234 for flag in $(EXTRA_HOST_FLAGS) ; do \
4235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4236 done; \
4237 echo "Doing install-html in bfd"; \
4238 (cd $(HOST_SUBDIR)/bfd && \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4241 "RANLIB=$${RANLIB}" \
4242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4243 install-html) \
4244 || exit 1
4246 @endif bfd
4248 .PHONY: maybe-installcheck-bfd installcheck-bfd
4249 maybe-installcheck-bfd:
4250 @if bfd
4251 maybe-installcheck-bfd: installcheck-bfd
4253 installcheck-bfd: \
4254 configure-bfd
4255 @[ -f ./bfd/Makefile ] || exit 0; \
4256 r=`${PWD_COMMAND}`; export r; \
4257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4258 $(HOST_EXPORTS) \
4259 for flag in $(EXTRA_HOST_FLAGS) ; do \
4260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4261 done; \
4262 echo "Doing installcheck in bfd"; \
4263 (cd $(HOST_SUBDIR)/bfd && \
4264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4266 "RANLIB=$${RANLIB}" \
4267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4268 installcheck) \
4269 || exit 1
4271 @endif bfd
4273 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4274 maybe-mostlyclean-bfd:
4275 @if bfd
4276 maybe-mostlyclean-bfd: mostlyclean-bfd
4278 mostlyclean-bfd:
4279 @[ -f ./bfd/Makefile ] || exit 0; \
4280 r=`${PWD_COMMAND}`; export r; \
4281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 $(HOST_EXPORTS) \
4283 for flag in $(EXTRA_HOST_FLAGS) ; do \
4284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4285 done; \
4286 echo "Doing mostlyclean in bfd"; \
4287 (cd $(HOST_SUBDIR)/bfd && \
4288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4290 "RANLIB=$${RANLIB}" \
4291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4292 mostlyclean) \
4293 || exit 1
4295 @endif bfd
4297 .PHONY: maybe-clean-bfd clean-bfd
4298 maybe-clean-bfd:
4299 @if bfd
4300 maybe-clean-bfd: clean-bfd
4302 clean-bfd:
4303 @[ -f ./bfd/Makefile ] || exit 0; \
4304 r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS) ; do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing clean in bfd"; \
4311 (cd $(HOST_SUBDIR)/bfd && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4316 clean) \
4317 || exit 1
4319 @endif bfd
4321 .PHONY: maybe-distclean-bfd distclean-bfd
4322 maybe-distclean-bfd:
4323 @if bfd
4324 maybe-distclean-bfd: distclean-bfd
4326 distclean-bfd:
4327 @[ -f ./bfd/Makefile ] || exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 for flag in $(EXTRA_HOST_FLAGS) ; do \
4332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4333 done; \
4334 echo "Doing distclean in bfd"; \
4335 (cd $(HOST_SUBDIR)/bfd && \
4336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4338 "RANLIB=$${RANLIB}" \
4339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4340 distclean) \
4341 || exit 1
4343 @endif bfd
4345 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4346 maybe-maintainer-clean-bfd:
4347 @if bfd
4348 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4350 maintainer-clean-bfd:
4351 @[ -f ./bfd/Makefile ] || exit 0; \
4352 r=`${PWD_COMMAND}`; export r; \
4353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4354 $(HOST_EXPORTS) \
4355 for flag in $(EXTRA_HOST_FLAGS) ; do \
4356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4357 done; \
4358 echo "Doing maintainer-clean in bfd"; \
4359 (cd $(HOST_SUBDIR)/bfd && \
4360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4362 "RANLIB=$${RANLIB}" \
4363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4364 maintainer-clean) \
4365 || exit 1
4367 @endif bfd
4371 .PHONY: configure-opcodes maybe-configure-opcodes
4372 maybe-configure-opcodes:
4373 @if gcc-bootstrap
4374 configure-opcodes: stage_current
4375 @endif gcc-bootstrap
4376 @if opcodes
4377 maybe-configure-opcodes: configure-opcodes
4378 configure-opcodes:
4379 @r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4383 $(HOST_EXPORTS) \
4384 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4385 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4386 case $(srcdir) in \
4387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4388 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4390 esac; \
4391 module_srcdir=opcodes; \
4392 $(SHELL) \
4393 $$s/$$module_srcdir/configure \
4394 --srcdir=$${topdir}/$$module_srcdir \
4395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4396 --target=${target_alias} \
4397 || exit 1
4398 @endif opcodes
4402 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4403 maybe-configure-stage1-opcodes:
4404 @if opcodes-bootstrap
4405 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4406 configure-stage1-opcodes:
4407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4409 @r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 TFLAGS="$(STAGE1_TFLAGS)"; \
4412 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4413 $(HOST_EXPORTS) \
4414 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4415 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4416 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4417 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4419 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4420 case $(srcdir) in \
4421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4422 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4424 esac; \
4425 module_srcdir=opcodes; \
4426 $(SHELL) $$s/$$module_srcdir/configure \
4427 --srcdir=$${topdir}/$$module_srcdir \
4428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4429 --target=${target_alias} \
4431 $(STAGE1_CONFIGURE_FLAGS)
4432 @endif opcodes-bootstrap
4434 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4435 maybe-configure-stage2-opcodes:
4436 @if opcodes-bootstrap
4437 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4438 configure-stage2-opcodes:
4439 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4441 @r=`${PWD_COMMAND}`; export r; \
4442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443 TFLAGS="$(STAGE2_TFLAGS)"; \
4444 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4445 $(HOST_EXPORTS) \
4446 $(POSTSTAGE1_HOST_EXPORTS) \
4447 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4448 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4449 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4450 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4452 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4453 case $(srcdir) in \
4454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4455 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4457 esac; \
4458 module_srcdir=opcodes; \
4459 $(SHELL) $$s/$$module_srcdir/configure \
4460 --srcdir=$${topdir}/$$module_srcdir \
4461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4462 --target=${target_alias} \
4463 --with-build-libsubdir=$(HOST_SUBDIR) \
4464 $(STAGE2_CONFIGURE_FLAGS)
4465 @endif opcodes-bootstrap
4467 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4468 maybe-configure-stage3-opcodes:
4469 @if opcodes-bootstrap
4470 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4471 configure-stage3-opcodes:
4472 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4474 @r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 TFLAGS="$(STAGE3_TFLAGS)"; \
4477 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4478 $(HOST_EXPORTS) \
4479 $(POSTSTAGE1_HOST_EXPORTS) \
4480 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4481 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4482 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4483 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4485 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4486 case $(srcdir) in \
4487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4488 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4490 esac; \
4491 module_srcdir=opcodes; \
4492 $(SHELL) $$s/$$module_srcdir/configure \
4493 --srcdir=$${topdir}/$$module_srcdir \
4494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4495 --target=${target_alias} \
4496 --with-build-libsubdir=$(HOST_SUBDIR) \
4497 $(STAGE3_CONFIGURE_FLAGS)
4498 @endif opcodes-bootstrap
4500 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4501 maybe-configure-stage4-opcodes:
4502 @if opcodes-bootstrap
4503 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4504 configure-stage4-opcodes:
4505 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4507 @r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 TFLAGS="$(STAGE4_TFLAGS)"; \
4510 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4511 $(HOST_EXPORTS) \
4512 $(POSTSTAGE1_HOST_EXPORTS) \
4513 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4514 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4515 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4516 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4518 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4519 case $(srcdir) in \
4520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4521 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4523 esac; \
4524 module_srcdir=opcodes; \
4525 $(SHELL) $$s/$$module_srcdir/configure \
4526 --srcdir=$${topdir}/$$module_srcdir \
4527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4528 --target=${target_alias} \
4529 --with-build-libsubdir=$(HOST_SUBDIR) \
4530 $(STAGE4_CONFIGURE_FLAGS)
4531 @endif opcodes-bootstrap
4533 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4534 maybe-configure-stageprofile-opcodes:
4535 @if opcodes-bootstrap
4536 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4537 configure-stageprofile-opcodes:
4538 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4540 @r=`${PWD_COMMAND}`; export r; \
4541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4542 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4543 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4544 $(HOST_EXPORTS) \
4545 $(POSTSTAGE1_HOST_EXPORTS) \
4546 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4547 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4548 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4549 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4551 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4552 case $(srcdir) in \
4553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4554 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4556 esac; \
4557 module_srcdir=opcodes; \
4558 $(SHELL) $$s/$$module_srcdir/configure \
4559 --srcdir=$${topdir}/$$module_srcdir \
4560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4561 --target=${target_alias} \
4562 --with-build-libsubdir=$(HOST_SUBDIR) \
4563 $(STAGEprofile_CONFIGURE_FLAGS)
4564 @endif opcodes-bootstrap
4566 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4567 maybe-configure-stagetrain-opcodes:
4568 @if opcodes-bootstrap
4569 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4570 configure-stagetrain-opcodes:
4571 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4573 @r=`${PWD_COMMAND}`; export r; \
4574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4575 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4576 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4577 $(HOST_EXPORTS) \
4578 $(POSTSTAGE1_HOST_EXPORTS) \
4579 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4580 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4581 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4582 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4584 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4585 case $(srcdir) in \
4586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4587 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4589 esac; \
4590 module_srcdir=opcodes; \
4591 $(SHELL) $$s/$$module_srcdir/configure \
4592 --srcdir=$${topdir}/$$module_srcdir \
4593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4594 --target=${target_alias} \
4595 --with-build-libsubdir=$(HOST_SUBDIR) \
4596 $(STAGEtrain_CONFIGURE_FLAGS)
4597 @endif opcodes-bootstrap
4599 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4600 maybe-configure-stagefeedback-opcodes:
4601 @if opcodes-bootstrap
4602 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4603 configure-stagefeedback-opcodes:
4604 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4606 @r=`${PWD_COMMAND}`; export r; \
4607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4608 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4609 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4610 $(HOST_EXPORTS) \
4611 $(POSTSTAGE1_HOST_EXPORTS) \
4612 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4613 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4614 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4615 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4617 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4618 case $(srcdir) in \
4619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4620 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4622 esac; \
4623 module_srcdir=opcodes; \
4624 $(SHELL) $$s/$$module_srcdir/configure \
4625 --srcdir=$${topdir}/$$module_srcdir \
4626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4627 --target=${target_alias} \
4628 --with-build-libsubdir=$(HOST_SUBDIR) \
4629 $(STAGEfeedback_CONFIGURE_FLAGS)
4630 @endif opcodes-bootstrap
4632 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4633 maybe-configure-stageautoprofile-opcodes:
4634 @if opcodes-bootstrap
4635 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4636 configure-stageautoprofile-opcodes:
4637 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4639 @r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4642 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4643 $(HOST_EXPORTS) \
4644 $(POSTSTAGE1_HOST_EXPORTS) \
4645 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4646 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4647 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4648 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4650 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4651 case $(srcdir) in \
4652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4653 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4655 esac; \
4656 module_srcdir=opcodes; \
4657 $(SHELL) $$s/$$module_srcdir/configure \
4658 --srcdir=$${topdir}/$$module_srcdir \
4659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4660 --target=${target_alias} \
4661 --with-build-libsubdir=$(HOST_SUBDIR) \
4662 $(STAGEautoprofile_CONFIGURE_FLAGS)
4663 @endif opcodes-bootstrap
4665 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4666 maybe-configure-stageautofeedback-opcodes:
4667 @if opcodes-bootstrap
4668 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4669 configure-stageautofeedback-opcodes:
4670 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4672 @r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4675 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4676 $(HOST_EXPORTS) \
4677 $(POSTSTAGE1_HOST_EXPORTS) \
4678 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4679 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4680 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4681 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4683 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4684 case $(srcdir) in \
4685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4686 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4688 esac; \
4689 module_srcdir=opcodes; \
4690 $(SHELL) $$s/$$module_srcdir/configure \
4691 --srcdir=$${topdir}/$$module_srcdir \
4692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4693 --target=${target_alias} \
4694 --with-build-libsubdir=$(HOST_SUBDIR) \
4695 $(STAGEautofeedback_CONFIGURE_FLAGS)
4696 @endif opcodes-bootstrap
4702 .PHONY: all-opcodes maybe-all-opcodes
4703 maybe-all-opcodes:
4704 @if gcc-bootstrap
4705 all-opcodes: stage_current
4706 @endif gcc-bootstrap
4707 @if opcodes
4708 TARGET-opcodes=all
4709 maybe-all-opcodes: all-opcodes
4710 all-opcodes: configure-opcodes
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 $(HOST_EXPORTS) \
4714 (cd $(HOST_SUBDIR)/opcodes && \
4715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4716 $(TARGET-opcodes))
4717 @endif opcodes
4721 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4722 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4723 maybe-all-stage1-opcodes:
4724 maybe-clean-stage1-opcodes:
4725 @if opcodes-bootstrap
4726 maybe-all-stage1-opcodes: all-stage1-opcodes
4727 all-stage1: all-stage1-opcodes
4728 TARGET-stage1-opcodes = $(TARGET-opcodes)
4729 all-stage1-opcodes: configure-stage1-opcodes
4730 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4731 @r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4733 TFLAGS="$(STAGE1_TFLAGS)"; \
4734 $(HOST_EXPORTS) \
4735 cd $(HOST_SUBDIR)/opcodes && \
4737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4738 CFLAGS="$(STAGE1_CFLAGS)" \
4739 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
4740 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4741 LIBCFLAGS="$(LIBCFLAGS)" \
4742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4745 $(EXTRA_HOST_FLAGS) \
4746 $(STAGE1_FLAGS_TO_PASS) \
4747 TFLAGS="$(STAGE1_TFLAGS)" \
4748 $(TARGET-stage1-opcodes)
4750 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4751 clean-stage1: clean-stage1-opcodes
4752 clean-stage1-opcodes:
4753 @if [ $(current_stage) = stage1 ]; then \
4754 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4755 else \
4756 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4757 $(MAKE) stage1-start; \
4758 fi; \
4759 cd $(HOST_SUBDIR)/opcodes && \
4760 $(MAKE) $(EXTRA_HOST_FLAGS) \
4761 $(STAGE1_FLAGS_TO_PASS) clean
4762 @endif opcodes-bootstrap
4765 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4766 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4767 maybe-all-stage2-opcodes:
4768 maybe-clean-stage2-opcodes:
4769 @if opcodes-bootstrap
4770 maybe-all-stage2-opcodes: all-stage2-opcodes
4771 all-stage2: all-stage2-opcodes
4772 TARGET-stage2-opcodes = $(TARGET-opcodes)
4773 all-stage2-opcodes: configure-stage2-opcodes
4774 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4775 @r=`${PWD_COMMAND}`; export r; \
4776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4777 TFLAGS="$(STAGE2_TFLAGS)"; \
4778 $(HOST_EXPORTS) \
4779 $(POSTSTAGE1_HOST_EXPORTS) \
4780 cd $(HOST_SUBDIR)/opcodes && \
4782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4783 CFLAGS="$(STAGE2_CFLAGS)" \
4784 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
4785 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4786 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4790 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4791 TFLAGS="$(STAGE2_TFLAGS)" \
4792 $(TARGET-stage2-opcodes)
4794 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4795 clean-stage2: clean-stage2-opcodes
4796 clean-stage2-opcodes:
4797 @if [ $(current_stage) = stage2 ]; then \
4798 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4799 else \
4800 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4801 $(MAKE) stage2-start; \
4802 fi; \
4803 cd $(HOST_SUBDIR)/opcodes && \
4804 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4805 @endif opcodes-bootstrap
4808 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4809 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4810 maybe-all-stage3-opcodes:
4811 maybe-clean-stage3-opcodes:
4812 @if opcodes-bootstrap
4813 maybe-all-stage3-opcodes: all-stage3-opcodes
4814 all-stage3: all-stage3-opcodes
4815 TARGET-stage3-opcodes = $(TARGET-opcodes)
4816 all-stage3-opcodes: configure-stage3-opcodes
4817 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4818 @r=`${PWD_COMMAND}`; export r; \
4819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 TFLAGS="$(STAGE3_TFLAGS)"; \
4821 $(HOST_EXPORTS) \
4822 $(POSTSTAGE1_HOST_EXPORTS) \
4823 cd $(HOST_SUBDIR)/opcodes && \
4825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4826 CFLAGS="$(STAGE3_CFLAGS)" \
4827 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
4828 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4829 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4833 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4834 TFLAGS="$(STAGE3_TFLAGS)" \
4835 $(TARGET-stage3-opcodes)
4837 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4838 clean-stage3: clean-stage3-opcodes
4839 clean-stage3-opcodes:
4840 @if [ $(current_stage) = stage3 ]; then \
4841 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4842 else \
4843 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4844 $(MAKE) stage3-start; \
4845 fi; \
4846 cd $(HOST_SUBDIR)/opcodes && \
4847 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4848 @endif opcodes-bootstrap
4851 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4852 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4853 maybe-all-stage4-opcodes:
4854 maybe-clean-stage4-opcodes:
4855 @if opcodes-bootstrap
4856 maybe-all-stage4-opcodes: all-stage4-opcodes
4857 all-stage4: all-stage4-opcodes
4858 TARGET-stage4-opcodes = $(TARGET-opcodes)
4859 all-stage4-opcodes: configure-stage4-opcodes
4860 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4861 @r=`${PWD_COMMAND}`; export r; \
4862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4863 TFLAGS="$(STAGE4_TFLAGS)"; \
4864 $(HOST_EXPORTS) \
4865 $(POSTSTAGE1_HOST_EXPORTS) \
4866 cd $(HOST_SUBDIR)/opcodes && \
4868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4869 CFLAGS="$(STAGE4_CFLAGS)" \
4870 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4871 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4872 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4873 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4874 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4875 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4876 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4877 TFLAGS="$(STAGE4_TFLAGS)" \
4878 $(TARGET-stage4-opcodes)
4880 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4881 clean-stage4: clean-stage4-opcodes
4882 clean-stage4-opcodes:
4883 @if [ $(current_stage) = stage4 ]; then \
4884 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4885 else \
4886 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4887 $(MAKE) stage4-start; \
4888 fi; \
4889 cd $(HOST_SUBDIR)/opcodes && \
4890 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4891 @endif opcodes-bootstrap
4894 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4895 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4896 maybe-all-stageprofile-opcodes:
4897 maybe-clean-stageprofile-opcodes:
4898 @if opcodes-bootstrap
4899 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4900 all-stageprofile: all-stageprofile-opcodes
4901 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4902 all-stageprofile-opcodes: configure-stageprofile-opcodes
4903 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4904 @r=`${PWD_COMMAND}`; export r; \
4905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4907 $(HOST_EXPORTS) \
4908 $(POSTSTAGE1_HOST_EXPORTS) \
4909 cd $(HOST_SUBDIR)/opcodes && \
4911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4912 CFLAGS="$(STAGEprofile_CFLAGS)" \
4913 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4914 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4915 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4920 TFLAGS="$(STAGEprofile_TFLAGS)" \
4921 $(TARGET-stageprofile-opcodes)
4923 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4924 clean-stageprofile: clean-stageprofile-opcodes
4925 clean-stageprofile-opcodes:
4926 @if [ $(current_stage) = stageprofile ]; then \
4927 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4928 else \
4929 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4930 $(MAKE) stageprofile-start; \
4931 fi; \
4932 cd $(HOST_SUBDIR)/opcodes && \
4933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4934 @endif opcodes-bootstrap
4937 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4938 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4939 maybe-all-stagetrain-opcodes:
4940 maybe-clean-stagetrain-opcodes:
4941 @if opcodes-bootstrap
4942 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4943 all-stagetrain: all-stagetrain-opcodes
4944 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4945 all-stagetrain-opcodes: configure-stagetrain-opcodes
4946 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4947 @r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4950 $(HOST_EXPORTS) \
4951 $(POSTSTAGE1_HOST_EXPORTS) \
4952 cd $(HOST_SUBDIR)/opcodes && \
4954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4955 CFLAGS="$(STAGEtrain_CFLAGS)" \
4956 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4957 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4958 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4963 TFLAGS="$(STAGEtrain_TFLAGS)" \
4964 $(TARGET-stagetrain-opcodes)
4966 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4967 clean-stagetrain: clean-stagetrain-opcodes
4968 clean-stagetrain-opcodes:
4969 @if [ $(current_stage) = stagetrain ]; then \
4970 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4971 else \
4972 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4973 $(MAKE) stagetrain-start; \
4974 fi; \
4975 cd $(HOST_SUBDIR)/opcodes && \
4976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4977 @endif opcodes-bootstrap
4980 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4981 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4982 maybe-all-stagefeedback-opcodes:
4983 maybe-clean-stagefeedback-opcodes:
4984 @if opcodes-bootstrap
4985 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4986 all-stagefeedback: all-stagefeedback-opcodes
4987 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4988 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4989 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4990 @r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4992 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4993 $(HOST_EXPORTS) \
4994 $(POSTSTAGE1_HOST_EXPORTS) \
4995 cd $(HOST_SUBDIR)/opcodes && \
4997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4998 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4999 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5000 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5001 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5005 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5006 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5007 $(TARGET-stagefeedback-opcodes)
5009 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5010 clean-stagefeedback: clean-stagefeedback-opcodes
5011 clean-stagefeedback-opcodes:
5012 @if [ $(current_stage) = stagefeedback ]; then \
5013 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5014 else \
5015 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5016 $(MAKE) stagefeedback-start; \
5017 fi; \
5018 cd $(HOST_SUBDIR)/opcodes && \
5019 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5020 @endif opcodes-bootstrap
5023 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5024 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5025 maybe-all-stageautoprofile-opcodes:
5026 maybe-clean-stageautoprofile-opcodes:
5027 @if opcodes-bootstrap
5028 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5029 all-stageautoprofile: all-stageautoprofile-opcodes
5030 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5031 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5032 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5033 @r=`${PWD_COMMAND}`; export r; \
5034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5036 $(HOST_EXPORTS) \
5037 $(POSTSTAGE1_HOST_EXPORTS) \
5038 cd $(HOST_SUBDIR)/opcodes && \
5039 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5041 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5042 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5043 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5044 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5048 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5049 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5050 $(TARGET-stageautoprofile-opcodes)
5052 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5053 clean-stageautoprofile: clean-stageautoprofile-opcodes
5054 clean-stageautoprofile-opcodes:
5055 @if [ $(current_stage) = stageautoprofile ]; then \
5056 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5057 else \
5058 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5059 $(MAKE) stageautoprofile-start; \
5060 fi; \
5061 cd $(HOST_SUBDIR)/opcodes && \
5062 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5063 @endif opcodes-bootstrap
5066 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5067 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5068 maybe-all-stageautofeedback-opcodes:
5069 maybe-clean-stageautofeedback-opcodes:
5070 @if opcodes-bootstrap
5071 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5072 all-stageautofeedback: all-stageautofeedback-opcodes
5073 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5074 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5075 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5076 @r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5078 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5079 $(HOST_EXPORTS) \
5080 $(POSTSTAGE1_HOST_EXPORTS) \
5081 cd $(HOST_SUBDIR)/opcodes && \
5083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5084 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5085 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5086 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5087 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5092 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5093 $(TARGET-stageautofeedback-opcodes)
5095 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5096 clean-stageautofeedback: clean-stageautofeedback-opcodes
5097 clean-stageautofeedback-opcodes:
5098 @if [ $(current_stage) = stageautofeedback ]; then \
5099 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5100 else \
5101 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5102 $(MAKE) stageautofeedback-start; \
5103 fi; \
5104 cd $(HOST_SUBDIR)/opcodes && \
5105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5106 @endif opcodes-bootstrap
5112 .PHONY: check-opcodes maybe-check-opcodes
5113 maybe-check-opcodes:
5114 @if opcodes
5115 maybe-check-opcodes: check-opcodes
5117 check-opcodes:
5118 @: $(MAKE); $(unstage)
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5122 (cd $(HOST_SUBDIR)/opcodes && \
5123 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5125 @endif opcodes
5127 .PHONY: install-opcodes maybe-install-opcodes
5128 maybe-install-opcodes:
5129 @if opcodes
5130 maybe-install-opcodes: install-opcodes
5132 install-opcodes: installdirs
5133 @: $(MAKE); $(unstage)
5134 @r=`${PWD_COMMAND}`; export r; \
5135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5136 $(HOST_EXPORTS) \
5137 (cd $(HOST_SUBDIR)/opcodes && \
5138 $(MAKE) $(FLAGS_TO_PASS) install)
5140 @endif opcodes
5142 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5143 maybe-install-strip-opcodes:
5144 @if opcodes
5145 maybe-install-strip-opcodes: install-strip-opcodes
5147 install-strip-opcodes: installdirs
5148 @: $(MAKE); $(unstage)
5149 @r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(HOST_EXPORTS) \
5152 (cd $(HOST_SUBDIR)/opcodes && \
5153 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5155 @endif opcodes
5157 # Other targets (info, dvi, pdf, etc.)
5159 .PHONY: maybe-info-opcodes info-opcodes
5160 maybe-info-opcodes:
5161 @if opcodes
5162 maybe-info-opcodes: info-opcodes
5164 info-opcodes: \
5165 configure-opcodes
5166 @[ -f ./opcodes/Makefile ] || exit 0; \
5167 r=`${PWD_COMMAND}`; export r; \
5168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 $(HOST_EXPORTS) \
5170 for flag in $(EXTRA_HOST_FLAGS) ; do \
5171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5172 done; \
5173 echo "Doing info in opcodes"; \
5174 (cd $(HOST_SUBDIR)/opcodes && \
5175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5177 "RANLIB=$${RANLIB}" \
5178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5179 info) \
5180 || exit 1
5182 @endif opcodes
5184 .PHONY: maybe-dvi-opcodes dvi-opcodes
5185 maybe-dvi-opcodes:
5186 @if opcodes
5187 maybe-dvi-opcodes: dvi-opcodes
5189 dvi-opcodes: \
5190 configure-opcodes
5191 @[ -f ./opcodes/Makefile ] || exit 0; \
5192 r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 for flag in $(EXTRA_HOST_FLAGS) ; do \
5196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 done; \
5198 echo "Doing dvi in opcodes"; \
5199 (cd $(HOST_SUBDIR)/opcodes && \
5200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5202 "RANLIB=$${RANLIB}" \
5203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5204 dvi) \
5205 || exit 1
5207 @endif opcodes
5209 .PHONY: maybe-pdf-opcodes pdf-opcodes
5210 maybe-pdf-opcodes:
5211 @if opcodes
5212 maybe-pdf-opcodes: pdf-opcodes
5214 pdf-opcodes: \
5215 configure-opcodes
5216 @[ -f ./opcodes/Makefile ] || exit 0; \
5217 r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 for flag in $(EXTRA_HOST_FLAGS) ; do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing pdf in opcodes"; \
5224 (cd $(HOST_SUBDIR)/opcodes && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5229 pdf) \
5230 || exit 1
5232 @endif opcodes
5234 .PHONY: maybe-html-opcodes html-opcodes
5235 maybe-html-opcodes:
5236 @if opcodes
5237 maybe-html-opcodes: html-opcodes
5239 html-opcodes: \
5240 configure-opcodes
5241 @[ -f ./opcodes/Makefile ] || exit 0; \
5242 r=`${PWD_COMMAND}`; export r; \
5243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244 $(HOST_EXPORTS) \
5245 for flag in $(EXTRA_HOST_FLAGS) ; do \
5246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5247 done; \
5248 echo "Doing html in opcodes"; \
5249 (cd $(HOST_SUBDIR)/opcodes && \
5250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252 "RANLIB=$${RANLIB}" \
5253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5254 html) \
5255 || exit 1
5257 @endif opcodes
5259 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5260 maybe-TAGS-opcodes:
5261 @if opcodes
5262 maybe-TAGS-opcodes: TAGS-opcodes
5264 TAGS-opcodes: \
5265 configure-opcodes
5266 @[ -f ./opcodes/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 for flag in $(EXTRA_HOST_FLAGS) ; do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272 done; \
5273 echo "Doing TAGS in opcodes"; \
5274 (cd $(HOST_SUBDIR)/opcodes && \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5279 TAGS) \
5280 || exit 1
5282 @endif opcodes
5284 .PHONY: maybe-install-info-opcodes install-info-opcodes
5285 maybe-install-info-opcodes:
5286 @if opcodes
5287 maybe-install-info-opcodes: install-info-opcodes
5289 install-info-opcodes: \
5290 configure-opcodes \
5291 info-opcodes
5292 @[ -f ./opcodes/Makefile ] || exit 0; \
5293 r=`${PWD_COMMAND}`; export r; \
5294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 $(HOST_EXPORTS) \
5296 for flag in $(EXTRA_HOST_FLAGS) ; do \
5297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5298 done; \
5299 echo "Doing install-info in opcodes"; \
5300 (cd $(HOST_SUBDIR)/opcodes && \
5301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5303 "RANLIB=$${RANLIB}" \
5304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5305 install-info) \
5306 || exit 1
5308 @endif opcodes
5310 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5311 maybe-install-pdf-opcodes:
5312 @if opcodes
5313 maybe-install-pdf-opcodes: install-pdf-opcodes
5315 install-pdf-opcodes: \
5316 configure-opcodes \
5317 pdf-opcodes
5318 @[ -f ./opcodes/Makefile ] || exit 0; \
5319 r=`${PWD_COMMAND}`; export r; \
5320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 $(HOST_EXPORTS) \
5322 for flag in $(EXTRA_HOST_FLAGS) ; do \
5323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324 done; \
5325 echo "Doing install-pdf in opcodes"; \
5326 (cd $(HOST_SUBDIR)/opcodes && \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329 "RANLIB=$${RANLIB}" \
5330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5331 install-pdf) \
5332 || exit 1
5334 @endif opcodes
5336 .PHONY: maybe-install-html-opcodes install-html-opcodes
5337 maybe-install-html-opcodes:
5338 @if opcodes
5339 maybe-install-html-opcodes: install-html-opcodes
5341 install-html-opcodes: \
5342 configure-opcodes \
5343 html-opcodes
5344 @[ -f ./opcodes/Makefile ] || exit 0; \
5345 r=`${PWD_COMMAND}`; export r; \
5346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 $(HOST_EXPORTS) \
5348 for flag in $(EXTRA_HOST_FLAGS) ; do \
5349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350 done; \
5351 echo "Doing install-html in opcodes"; \
5352 (cd $(HOST_SUBDIR)/opcodes && \
5353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355 "RANLIB=$${RANLIB}" \
5356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5357 install-html) \
5358 || exit 1
5360 @endif opcodes
5362 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5363 maybe-installcheck-opcodes:
5364 @if opcodes
5365 maybe-installcheck-opcodes: installcheck-opcodes
5367 installcheck-opcodes: \
5368 configure-opcodes
5369 @[ -f ./opcodes/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375 done; \
5376 echo "Doing installcheck in opcodes"; \
5377 (cd $(HOST_SUBDIR)/opcodes && \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5382 installcheck) \
5383 || exit 1
5385 @endif opcodes
5387 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5388 maybe-mostlyclean-opcodes:
5389 @if opcodes
5390 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5392 mostlyclean-opcodes:
5393 @[ -f ./opcodes/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing mostlyclean in opcodes"; \
5401 (cd $(HOST_SUBDIR)/opcodes && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5406 mostlyclean) \
5407 || exit 1
5409 @endif opcodes
5411 .PHONY: maybe-clean-opcodes clean-opcodes
5412 maybe-clean-opcodes:
5413 @if opcodes
5414 maybe-clean-opcodes: clean-opcodes
5416 clean-opcodes:
5417 @[ -f ./opcodes/Makefile ] || exit 0; \
5418 r=`${PWD_COMMAND}`; export r; \
5419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5420 $(HOST_EXPORTS) \
5421 for flag in $(EXTRA_HOST_FLAGS) ; do \
5422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5423 done; \
5424 echo "Doing clean in opcodes"; \
5425 (cd $(HOST_SUBDIR)/opcodes && \
5426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5428 "RANLIB=$${RANLIB}" \
5429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5430 clean) \
5431 || exit 1
5433 @endif opcodes
5435 .PHONY: maybe-distclean-opcodes distclean-opcodes
5436 maybe-distclean-opcodes:
5437 @if opcodes
5438 maybe-distclean-opcodes: distclean-opcodes
5440 distclean-opcodes:
5441 @[ -f ./opcodes/Makefile ] || exit 0; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5444 $(HOST_EXPORTS) \
5445 for flag in $(EXTRA_HOST_FLAGS) ; do \
5446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5447 done; \
5448 echo "Doing distclean in opcodes"; \
5449 (cd $(HOST_SUBDIR)/opcodes && \
5450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5452 "RANLIB=$${RANLIB}" \
5453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5454 distclean) \
5455 || exit 1
5457 @endif opcodes
5459 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5460 maybe-maintainer-clean-opcodes:
5461 @if opcodes
5462 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5464 maintainer-clean-opcodes:
5465 @[ -f ./opcodes/Makefile ] || exit 0; \
5466 r=`${PWD_COMMAND}`; export r; \
5467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5468 $(HOST_EXPORTS) \
5469 for flag in $(EXTRA_HOST_FLAGS) ; do \
5470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5471 done; \
5472 echo "Doing maintainer-clean in opcodes"; \
5473 (cd $(HOST_SUBDIR)/opcodes && \
5474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5476 "RANLIB=$${RANLIB}" \
5477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5478 maintainer-clean) \
5479 || exit 1
5481 @endif opcodes
5485 .PHONY: configure-binutils maybe-configure-binutils
5486 maybe-configure-binutils:
5487 @if gcc-bootstrap
5488 configure-binutils: stage_current
5489 @endif gcc-bootstrap
5490 @if binutils
5491 maybe-configure-binutils: configure-binutils
5492 configure-binutils:
5493 @r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5497 $(HOST_EXPORTS) \
5498 echo Configuring in $(HOST_SUBDIR)/binutils; \
5499 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5500 case $(srcdir) in \
5501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5502 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5504 esac; \
5505 module_srcdir=binutils; \
5506 $(SHELL) \
5507 $$s/$$module_srcdir/configure \
5508 --srcdir=$${topdir}/$$module_srcdir \
5509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5510 --target=${target_alias} \
5511 || exit 1
5512 @endif binutils
5516 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5517 maybe-configure-stage1-binutils:
5518 @if binutils-bootstrap
5519 maybe-configure-stage1-binutils: configure-stage1-binutils
5520 configure-stage1-binutils:
5521 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5523 @r=`${PWD_COMMAND}`; export r; \
5524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5525 TFLAGS="$(STAGE1_TFLAGS)"; \
5526 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5527 $(HOST_EXPORTS) \
5528 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5529 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5530 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5531 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5533 cd $(HOST_SUBDIR)/binutils || exit 1; \
5534 case $(srcdir) in \
5535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5536 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5538 esac; \
5539 module_srcdir=binutils; \
5540 $(SHELL) $$s/$$module_srcdir/configure \
5541 --srcdir=$${topdir}/$$module_srcdir \
5542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5543 --target=${target_alias} \
5545 $(STAGE1_CONFIGURE_FLAGS)
5546 @endif binutils-bootstrap
5548 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5549 maybe-configure-stage2-binutils:
5550 @if binutils-bootstrap
5551 maybe-configure-stage2-binutils: configure-stage2-binutils
5552 configure-stage2-binutils:
5553 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5555 @r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 TFLAGS="$(STAGE2_TFLAGS)"; \
5558 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5559 $(HOST_EXPORTS) \
5560 $(POSTSTAGE1_HOST_EXPORTS) \
5561 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5562 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5563 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5564 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5566 cd $(HOST_SUBDIR)/binutils || exit 1; \
5567 case $(srcdir) in \
5568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5569 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5571 esac; \
5572 module_srcdir=binutils; \
5573 $(SHELL) $$s/$$module_srcdir/configure \
5574 --srcdir=$${topdir}/$$module_srcdir \
5575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5576 --target=${target_alias} \
5577 --with-build-libsubdir=$(HOST_SUBDIR) \
5578 $(STAGE2_CONFIGURE_FLAGS)
5579 @endif binutils-bootstrap
5581 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5582 maybe-configure-stage3-binutils:
5583 @if binutils-bootstrap
5584 maybe-configure-stage3-binutils: configure-stage3-binutils
5585 configure-stage3-binutils:
5586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5588 @r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590 TFLAGS="$(STAGE3_TFLAGS)"; \
5591 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5592 $(HOST_EXPORTS) \
5593 $(POSTSTAGE1_HOST_EXPORTS) \
5594 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5595 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5596 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5597 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5599 cd $(HOST_SUBDIR)/binutils || exit 1; \
5600 case $(srcdir) in \
5601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5602 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5604 esac; \
5605 module_srcdir=binutils; \
5606 $(SHELL) $$s/$$module_srcdir/configure \
5607 --srcdir=$${topdir}/$$module_srcdir \
5608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5609 --target=${target_alias} \
5610 --with-build-libsubdir=$(HOST_SUBDIR) \
5611 $(STAGE3_CONFIGURE_FLAGS)
5612 @endif binutils-bootstrap
5614 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5615 maybe-configure-stage4-binutils:
5616 @if binutils-bootstrap
5617 maybe-configure-stage4-binutils: configure-stage4-binutils
5618 configure-stage4-binutils:
5619 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5621 @r=`${PWD_COMMAND}`; export r; \
5622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5623 TFLAGS="$(STAGE4_TFLAGS)"; \
5624 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5625 $(HOST_EXPORTS) \
5626 $(POSTSTAGE1_HOST_EXPORTS) \
5627 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5628 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5629 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5630 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5632 cd $(HOST_SUBDIR)/binutils || exit 1; \
5633 case $(srcdir) in \
5634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5635 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5637 esac; \
5638 module_srcdir=binutils; \
5639 $(SHELL) $$s/$$module_srcdir/configure \
5640 --srcdir=$${topdir}/$$module_srcdir \
5641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5642 --target=${target_alias} \
5643 --with-build-libsubdir=$(HOST_SUBDIR) \
5644 $(STAGE4_CONFIGURE_FLAGS)
5645 @endif binutils-bootstrap
5647 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5648 maybe-configure-stageprofile-binutils:
5649 @if binutils-bootstrap
5650 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5651 configure-stageprofile-binutils:
5652 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5654 @r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5656 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5657 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5658 $(HOST_EXPORTS) \
5659 $(POSTSTAGE1_HOST_EXPORTS) \
5660 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5661 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5662 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5663 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5665 cd $(HOST_SUBDIR)/binutils || exit 1; \
5666 case $(srcdir) in \
5667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5668 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5670 esac; \
5671 module_srcdir=binutils; \
5672 $(SHELL) $$s/$$module_srcdir/configure \
5673 --srcdir=$${topdir}/$$module_srcdir \
5674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5675 --target=${target_alias} \
5676 --with-build-libsubdir=$(HOST_SUBDIR) \
5677 $(STAGEprofile_CONFIGURE_FLAGS)
5678 @endif binutils-bootstrap
5680 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5681 maybe-configure-stagetrain-binutils:
5682 @if binutils-bootstrap
5683 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5684 configure-stagetrain-binutils:
5685 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5687 @r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5690 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5691 $(HOST_EXPORTS) \
5692 $(POSTSTAGE1_HOST_EXPORTS) \
5693 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5694 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5695 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5696 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5698 cd $(HOST_SUBDIR)/binutils || exit 1; \
5699 case $(srcdir) in \
5700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5701 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5703 esac; \
5704 module_srcdir=binutils; \
5705 $(SHELL) $$s/$$module_srcdir/configure \
5706 --srcdir=$${topdir}/$$module_srcdir \
5707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5708 --target=${target_alias} \
5709 --with-build-libsubdir=$(HOST_SUBDIR) \
5710 $(STAGEtrain_CONFIGURE_FLAGS)
5711 @endif binutils-bootstrap
5713 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5714 maybe-configure-stagefeedback-binutils:
5715 @if binutils-bootstrap
5716 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5717 configure-stagefeedback-binutils:
5718 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5720 @r=`${PWD_COMMAND}`; export r; \
5721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5722 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5723 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5724 $(HOST_EXPORTS) \
5725 $(POSTSTAGE1_HOST_EXPORTS) \
5726 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5727 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5728 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5729 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5731 cd $(HOST_SUBDIR)/binutils || exit 1; \
5732 case $(srcdir) in \
5733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5734 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5736 esac; \
5737 module_srcdir=binutils; \
5738 $(SHELL) $$s/$$module_srcdir/configure \
5739 --srcdir=$${topdir}/$$module_srcdir \
5740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5741 --target=${target_alias} \
5742 --with-build-libsubdir=$(HOST_SUBDIR) \
5743 $(STAGEfeedback_CONFIGURE_FLAGS)
5744 @endif binutils-bootstrap
5746 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5747 maybe-configure-stageautoprofile-binutils:
5748 @if binutils-bootstrap
5749 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5750 configure-stageautoprofile-binutils:
5751 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5753 @r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5755 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5756 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5757 $(HOST_EXPORTS) \
5758 $(POSTSTAGE1_HOST_EXPORTS) \
5759 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5760 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5761 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5762 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5764 cd $(HOST_SUBDIR)/binutils || exit 1; \
5765 case $(srcdir) in \
5766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5767 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5769 esac; \
5770 module_srcdir=binutils; \
5771 $(SHELL) $$s/$$module_srcdir/configure \
5772 --srcdir=$${topdir}/$$module_srcdir \
5773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5774 --target=${target_alias} \
5775 --with-build-libsubdir=$(HOST_SUBDIR) \
5776 $(STAGEautoprofile_CONFIGURE_FLAGS)
5777 @endif binutils-bootstrap
5779 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5780 maybe-configure-stageautofeedback-binutils:
5781 @if binutils-bootstrap
5782 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5783 configure-stageautofeedback-binutils:
5784 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5786 @r=`${PWD_COMMAND}`; export r; \
5787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5788 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5789 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5790 $(HOST_EXPORTS) \
5791 $(POSTSTAGE1_HOST_EXPORTS) \
5792 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5793 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5794 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5795 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5797 cd $(HOST_SUBDIR)/binutils || exit 1; \
5798 case $(srcdir) in \
5799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5800 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5802 esac; \
5803 module_srcdir=binutils; \
5804 $(SHELL) $$s/$$module_srcdir/configure \
5805 --srcdir=$${topdir}/$$module_srcdir \
5806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5807 --target=${target_alias} \
5808 --with-build-libsubdir=$(HOST_SUBDIR) \
5809 $(STAGEautofeedback_CONFIGURE_FLAGS)
5810 @endif binutils-bootstrap
5816 .PHONY: all-binutils maybe-all-binutils
5817 maybe-all-binutils:
5818 @if gcc-bootstrap
5819 all-binutils: stage_current
5820 @endif gcc-bootstrap
5821 @if binutils
5822 TARGET-binutils=all
5823 maybe-all-binutils: all-binutils
5824 all-binutils: configure-binutils
5825 @r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 $(HOST_EXPORTS) \
5828 (cd $(HOST_SUBDIR)/binutils && \
5829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5830 $(TARGET-binutils))
5831 @endif binutils
5835 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5836 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5837 maybe-all-stage1-binutils:
5838 maybe-clean-stage1-binutils:
5839 @if binutils-bootstrap
5840 maybe-all-stage1-binutils: all-stage1-binutils
5841 all-stage1: all-stage1-binutils
5842 TARGET-stage1-binutils = $(TARGET-binutils)
5843 all-stage1-binutils: configure-stage1-binutils
5844 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5845 @r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 TFLAGS="$(STAGE1_TFLAGS)"; \
5848 $(HOST_EXPORTS) \
5849 cd $(HOST_SUBDIR)/binutils && \
5851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5852 CFLAGS="$(STAGE1_CFLAGS)" \
5853 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5854 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5855 LIBCFLAGS="$(LIBCFLAGS)" \
5856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5859 $(EXTRA_HOST_FLAGS) \
5860 $(STAGE1_FLAGS_TO_PASS) \
5861 TFLAGS="$(STAGE1_TFLAGS)" \
5862 $(TARGET-stage1-binutils)
5864 maybe-clean-stage1-binutils: clean-stage1-binutils
5865 clean-stage1: clean-stage1-binutils
5866 clean-stage1-binutils:
5867 @if [ $(current_stage) = stage1 ]; then \
5868 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5869 else \
5870 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5871 $(MAKE) stage1-start; \
5872 fi; \
5873 cd $(HOST_SUBDIR)/binutils && \
5874 $(MAKE) $(EXTRA_HOST_FLAGS) \
5875 $(STAGE1_FLAGS_TO_PASS) clean
5876 @endif binutils-bootstrap
5879 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5880 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5881 maybe-all-stage2-binutils:
5882 maybe-clean-stage2-binutils:
5883 @if binutils-bootstrap
5884 maybe-all-stage2-binutils: all-stage2-binutils
5885 all-stage2: all-stage2-binutils
5886 TARGET-stage2-binutils = $(TARGET-binutils)
5887 all-stage2-binutils: configure-stage2-binutils
5888 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5889 @r=`${PWD_COMMAND}`; export r; \
5890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5891 TFLAGS="$(STAGE2_TFLAGS)"; \
5892 $(HOST_EXPORTS) \
5893 $(POSTSTAGE1_HOST_EXPORTS) \
5894 cd $(HOST_SUBDIR)/binutils && \
5896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5897 CFLAGS="$(STAGE2_CFLAGS)" \
5898 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5899 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5900 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5905 TFLAGS="$(STAGE2_TFLAGS)" \
5906 $(TARGET-stage2-binutils)
5908 maybe-clean-stage2-binutils: clean-stage2-binutils
5909 clean-stage2: clean-stage2-binutils
5910 clean-stage2-binutils:
5911 @if [ $(current_stage) = stage2 ]; then \
5912 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5913 else \
5914 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5915 $(MAKE) stage2-start; \
5916 fi; \
5917 cd $(HOST_SUBDIR)/binutils && \
5918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5919 @endif binutils-bootstrap
5922 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5923 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5924 maybe-all-stage3-binutils:
5925 maybe-clean-stage3-binutils:
5926 @if binutils-bootstrap
5927 maybe-all-stage3-binutils: all-stage3-binutils
5928 all-stage3: all-stage3-binutils
5929 TARGET-stage3-binutils = $(TARGET-binutils)
5930 all-stage3-binutils: configure-stage3-binutils
5931 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5932 @r=`${PWD_COMMAND}`; export r; \
5933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5934 TFLAGS="$(STAGE3_TFLAGS)"; \
5935 $(HOST_EXPORTS) \
5936 $(POSTSTAGE1_HOST_EXPORTS) \
5937 cd $(HOST_SUBDIR)/binutils && \
5939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5940 CFLAGS="$(STAGE3_CFLAGS)" \
5941 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5942 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5943 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5948 TFLAGS="$(STAGE3_TFLAGS)" \
5949 $(TARGET-stage3-binutils)
5951 maybe-clean-stage3-binutils: clean-stage3-binutils
5952 clean-stage3: clean-stage3-binutils
5953 clean-stage3-binutils:
5954 @if [ $(current_stage) = stage3 ]; then \
5955 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5956 else \
5957 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5958 $(MAKE) stage3-start; \
5959 fi; \
5960 cd $(HOST_SUBDIR)/binutils && \
5961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5962 @endif binutils-bootstrap
5965 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5966 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5967 maybe-all-stage4-binutils:
5968 maybe-clean-stage4-binutils:
5969 @if binutils-bootstrap
5970 maybe-all-stage4-binutils: all-stage4-binutils
5971 all-stage4: all-stage4-binutils
5972 TARGET-stage4-binutils = $(TARGET-binutils)
5973 all-stage4-binutils: configure-stage4-binutils
5974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5975 @r=`${PWD_COMMAND}`; export r; \
5976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5977 TFLAGS="$(STAGE4_TFLAGS)"; \
5978 $(HOST_EXPORTS) \
5979 $(POSTSTAGE1_HOST_EXPORTS) \
5980 cd $(HOST_SUBDIR)/binutils && \
5982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5983 CFLAGS="$(STAGE4_CFLAGS)" \
5984 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5985 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5986 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5991 TFLAGS="$(STAGE4_TFLAGS)" \
5992 $(TARGET-stage4-binutils)
5994 maybe-clean-stage4-binutils: clean-stage4-binutils
5995 clean-stage4: clean-stage4-binutils
5996 clean-stage4-binutils:
5997 @if [ $(current_stage) = stage4 ]; then \
5998 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5999 else \
6000 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6001 $(MAKE) stage4-start; \
6002 fi; \
6003 cd $(HOST_SUBDIR)/binutils && \
6004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6005 @endif binutils-bootstrap
6008 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6009 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6010 maybe-all-stageprofile-binutils:
6011 maybe-clean-stageprofile-binutils:
6012 @if binutils-bootstrap
6013 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6014 all-stageprofile: all-stageprofile-binutils
6015 TARGET-stageprofile-binutils = $(TARGET-binutils)
6016 all-stageprofile-binutils: configure-stageprofile-binutils
6017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6018 @r=`${PWD_COMMAND}`; export r; \
6019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6021 $(HOST_EXPORTS) \
6022 $(POSTSTAGE1_HOST_EXPORTS) \
6023 cd $(HOST_SUBDIR)/binutils && \
6025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6026 CFLAGS="$(STAGEprofile_CFLAGS)" \
6027 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6029 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6034 TFLAGS="$(STAGEprofile_TFLAGS)" \
6035 $(TARGET-stageprofile-binutils)
6037 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6038 clean-stageprofile: clean-stageprofile-binutils
6039 clean-stageprofile-binutils:
6040 @if [ $(current_stage) = stageprofile ]; then \
6041 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6042 else \
6043 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6044 $(MAKE) stageprofile-start; \
6045 fi; \
6046 cd $(HOST_SUBDIR)/binutils && \
6047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6048 @endif binutils-bootstrap
6051 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6052 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6053 maybe-all-stagetrain-binutils:
6054 maybe-clean-stagetrain-binutils:
6055 @if binutils-bootstrap
6056 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6057 all-stagetrain: all-stagetrain-binutils
6058 TARGET-stagetrain-binutils = $(TARGET-binutils)
6059 all-stagetrain-binutils: configure-stagetrain-binutils
6060 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6061 @r=`${PWD_COMMAND}`; export r; \
6062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6063 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6064 $(HOST_EXPORTS) \
6065 $(POSTSTAGE1_HOST_EXPORTS) \
6066 cd $(HOST_SUBDIR)/binutils && \
6068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6069 CFLAGS="$(STAGEtrain_CFLAGS)" \
6070 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6071 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6072 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6077 TFLAGS="$(STAGEtrain_TFLAGS)" \
6078 $(TARGET-stagetrain-binutils)
6080 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6081 clean-stagetrain: clean-stagetrain-binutils
6082 clean-stagetrain-binutils:
6083 @if [ $(current_stage) = stagetrain ]; then \
6084 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6085 else \
6086 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6087 $(MAKE) stagetrain-start; \
6088 fi; \
6089 cd $(HOST_SUBDIR)/binutils && \
6090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6091 @endif binutils-bootstrap
6094 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6095 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6096 maybe-all-stagefeedback-binutils:
6097 maybe-clean-stagefeedback-binutils:
6098 @if binutils-bootstrap
6099 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6100 all-stagefeedback: all-stagefeedback-binutils
6101 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6102 all-stagefeedback-binutils: configure-stagefeedback-binutils
6103 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6104 @r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6107 $(HOST_EXPORTS) \
6108 $(POSTSTAGE1_HOST_EXPORTS) \
6109 cd $(HOST_SUBDIR)/binutils && \
6111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6112 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6113 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6114 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6115 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6120 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6121 $(TARGET-stagefeedback-binutils)
6123 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6124 clean-stagefeedback: clean-stagefeedback-binutils
6125 clean-stagefeedback-binutils:
6126 @if [ $(current_stage) = stagefeedback ]; then \
6127 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6128 else \
6129 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6130 $(MAKE) stagefeedback-start; \
6131 fi; \
6132 cd $(HOST_SUBDIR)/binutils && \
6133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6134 @endif binutils-bootstrap
6137 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6138 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6139 maybe-all-stageautoprofile-binutils:
6140 maybe-clean-stageautoprofile-binutils:
6141 @if binutils-bootstrap
6142 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6143 all-stageautoprofile: all-stageautoprofile-binutils
6144 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6145 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6146 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6147 @r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6150 $(HOST_EXPORTS) \
6151 $(POSTSTAGE1_HOST_EXPORTS) \
6152 cd $(HOST_SUBDIR)/binutils && \
6153 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6155 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6156 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6157 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6158 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6162 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6163 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6164 $(TARGET-stageautoprofile-binutils)
6166 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6167 clean-stageautoprofile: clean-stageautoprofile-binutils
6168 clean-stageautoprofile-binutils:
6169 @if [ $(current_stage) = stageautoprofile ]; then \
6170 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6171 else \
6172 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6173 $(MAKE) stageautoprofile-start; \
6174 fi; \
6175 cd $(HOST_SUBDIR)/binutils && \
6176 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6177 @endif binutils-bootstrap
6180 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6181 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6182 maybe-all-stageautofeedback-binutils:
6183 maybe-clean-stageautofeedback-binutils:
6184 @if binutils-bootstrap
6185 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6186 all-stageautofeedback: all-stageautofeedback-binutils
6187 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6188 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6189 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6190 @r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6193 $(HOST_EXPORTS) \
6194 $(POSTSTAGE1_HOST_EXPORTS) \
6195 cd $(HOST_SUBDIR)/binutils && \
6197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6198 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6199 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6200 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6201 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6206 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6207 $(TARGET-stageautofeedback-binutils)
6209 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6210 clean-stageautofeedback: clean-stageautofeedback-binutils
6211 clean-stageautofeedback-binutils:
6212 @if [ $(current_stage) = stageautofeedback ]; then \
6213 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6214 else \
6215 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6216 $(MAKE) stageautofeedback-start; \
6217 fi; \
6218 cd $(HOST_SUBDIR)/binutils && \
6219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6220 @endif binutils-bootstrap
6226 .PHONY: check-binutils maybe-check-binutils
6227 maybe-check-binutils:
6228 @if binutils
6229 maybe-check-binutils: check-binutils
6231 check-binutils:
6232 @: $(MAKE); $(unstage)
6233 @r=`${PWD_COMMAND}`; export r; \
6234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6235 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6236 (cd $(HOST_SUBDIR)/binutils && \
6237 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6239 @endif binutils
6241 .PHONY: install-binutils maybe-install-binutils
6242 maybe-install-binutils:
6243 @if binutils
6244 maybe-install-binutils: install-binutils
6246 install-binutils: installdirs
6247 @: $(MAKE); $(unstage)
6248 @r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 $(HOST_EXPORTS) \
6251 (cd $(HOST_SUBDIR)/binutils && \
6252 $(MAKE) $(FLAGS_TO_PASS) install)
6254 @endif binutils
6256 .PHONY: install-strip-binutils maybe-install-strip-binutils
6257 maybe-install-strip-binutils:
6258 @if binutils
6259 maybe-install-strip-binutils: install-strip-binutils
6261 install-strip-binutils: installdirs
6262 @: $(MAKE); $(unstage)
6263 @r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 $(HOST_EXPORTS) \
6266 (cd $(HOST_SUBDIR)/binutils && \
6267 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6269 @endif binutils
6271 # Other targets (info, dvi, pdf, etc.)
6273 .PHONY: maybe-info-binutils info-binutils
6274 maybe-info-binutils:
6275 @if binutils
6276 maybe-info-binutils: info-binutils
6278 info-binutils: \
6279 configure-binutils
6280 @[ -f ./binutils/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 for flag in $(EXTRA_HOST_FLAGS) ; do \
6285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6286 done; \
6287 echo "Doing info in binutils"; \
6288 (cd $(HOST_SUBDIR)/binutils && \
6289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6291 "RANLIB=$${RANLIB}" \
6292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6293 info) \
6294 || exit 1
6296 @endif binutils
6298 .PHONY: maybe-dvi-binutils dvi-binutils
6299 maybe-dvi-binutils:
6300 @if binutils
6301 maybe-dvi-binutils: dvi-binutils
6303 dvi-binutils: \
6304 configure-binutils
6305 @[ -f ./binutils/Makefile ] || exit 0; \
6306 r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 $(HOST_EXPORTS) \
6309 for flag in $(EXTRA_HOST_FLAGS) ; do \
6310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6311 done; \
6312 echo "Doing dvi in binutils"; \
6313 (cd $(HOST_SUBDIR)/binutils && \
6314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6316 "RANLIB=$${RANLIB}" \
6317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6318 dvi) \
6319 || exit 1
6321 @endif binutils
6323 .PHONY: maybe-pdf-binutils pdf-binutils
6324 maybe-pdf-binutils:
6325 @if binutils
6326 maybe-pdf-binutils: pdf-binutils
6328 pdf-binutils: \
6329 configure-binutils
6330 @[ -f ./binutils/Makefile ] || exit 0; \
6331 r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(HOST_EXPORTS) \
6334 for flag in $(EXTRA_HOST_FLAGS) ; do \
6335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 done; \
6337 echo "Doing pdf in binutils"; \
6338 (cd $(HOST_SUBDIR)/binutils && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6341 "RANLIB=$${RANLIB}" \
6342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6343 pdf) \
6344 || exit 1
6346 @endif binutils
6348 .PHONY: maybe-html-binutils html-binutils
6349 maybe-html-binutils:
6350 @if binutils
6351 maybe-html-binutils: html-binutils
6353 html-binutils: \
6354 configure-binutils
6355 @[ -f ./binutils/Makefile ] || exit 0; \
6356 r=`${PWD_COMMAND}`; export r; \
6357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6358 $(HOST_EXPORTS) \
6359 for flag in $(EXTRA_HOST_FLAGS) ; do \
6360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6361 done; \
6362 echo "Doing html in binutils"; \
6363 (cd $(HOST_SUBDIR)/binutils && \
6364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6366 "RANLIB=$${RANLIB}" \
6367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6368 html) \
6369 || exit 1
6371 @endif binutils
6373 .PHONY: maybe-TAGS-binutils TAGS-binutils
6374 maybe-TAGS-binutils:
6375 @if binutils
6376 maybe-TAGS-binutils: TAGS-binutils
6378 TAGS-binutils: \
6379 configure-binutils
6380 @[ -f ./binutils/Makefile ] || exit 0; \
6381 r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 for flag in $(EXTRA_HOST_FLAGS) ; do \
6385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6386 done; \
6387 echo "Doing TAGS in binutils"; \
6388 (cd $(HOST_SUBDIR)/binutils && \
6389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391 "RANLIB=$${RANLIB}" \
6392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6393 TAGS) \
6394 || exit 1
6396 @endif binutils
6398 .PHONY: maybe-install-info-binutils install-info-binutils
6399 maybe-install-info-binutils:
6400 @if binutils
6401 maybe-install-info-binutils: install-info-binutils
6403 install-info-binutils: \
6404 configure-binutils \
6405 info-binutils
6406 @[ -f ./binutils/Makefile ] || exit 0; \
6407 r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 $(HOST_EXPORTS) \
6410 for flag in $(EXTRA_HOST_FLAGS) ; do \
6411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412 done; \
6413 echo "Doing install-info in binutils"; \
6414 (cd $(HOST_SUBDIR)/binutils && \
6415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6417 "RANLIB=$${RANLIB}" \
6418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6419 install-info) \
6420 || exit 1
6422 @endif binutils
6424 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6425 maybe-install-pdf-binutils:
6426 @if binutils
6427 maybe-install-pdf-binutils: install-pdf-binutils
6429 install-pdf-binutils: \
6430 configure-binutils \
6431 pdf-binutils
6432 @[ -f ./binutils/Makefile ] || exit 0; \
6433 r=`${PWD_COMMAND}`; export r; \
6434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6435 $(HOST_EXPORTS) \
6436 for flag in $(EXTRA_HOST_FLAGS) ; do \
6437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6438 done; \
6439 echo "Doing install-pdf in binutils"; \
6440 (cd $(HOST_SUBDIR)/binutils && \
6441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6443 "RANLIB=$${RANLIB}" \
6444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6445 install-pdf) \
6446 || exit 1
6448 @endif binutils
6450 .PHONY: maybe-install-html-binutils install-html-binutils
6451 maybe-install-html-binutils:
6452 @if binutils
6453 maybe-install-html-binutils: install-html-binutils
6455 install-html-binutils: \
6456 configure-binutils \
6457 html-binutils
6458 @[ -f ./binutils/Makefile ] || exit 0; \
6459 r=`${PWD_COMMAND}`; export r; \
6460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6461 $(HOST_EXPORTS) \
6462 for flag in $(EXTRA_HOST_FLAGS) ; do \
6463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6464 done; \
6465 echo "Doing install-html in binutils"; \
6466 (cd $(HOST_SUBDIR)/binutils && \
6467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6469 "RANLIB=$${RANLIB}" \
6470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6471 install-html) \
6472 || exit 1
6474 @endif binutils
6476 .PHONY: maybe-installcheck-binutils installcheck-binutils
6477 maybe-installcheck-binutils:
6478 @if binutils
6479 maybe-installcheck-binutils: installcheck-binutils
6481 installcheck-binutils: \
6482 configure-binutils
6483 @[ -f ./binutils/Makefile ] || exit 0; \
6484 r=`${PWD_COMMAND}`; export r; \
6485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6486 $(HOST_EXPORTS) \
6487 for flag in $(EXTRA_HOST_FLAGS) ; do \
6488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6489 done; \
6490 echo "Doing installcheck in binutils"; \
6491 (cd $(HOST_SUBDIR)/binutils && \
6492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6494 "RANLIB=$${RANLIB}" \
6495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6496 installcheck) \
6497 || exit 1
6499 @endif binutils
6501 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6502 maybe-mostlyclean-binutils:
6503 @if binutils
6504 maybe-mostlyclean-binutils: mostlyclean-binutils
6506 mostlyclean-binutils:
6507 @[ -f ./binutils/Makefile ] || exit 0; \
6508 r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510 $(HOST_EXPORTS) \
6511 for flag in $(EXTRA_HOST_FLAGS) ; do \
6512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6513 done; \
6514 echo "Doing mostlyclean in binutils"; \
6515 (cd $(HOST_SUBDIR)/binutils && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6518 "RANLIB=$${RANLIB}" \
6519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6520 mostlyclean) \
6521 || exit 1
6523 @endif binutils
6525 .PHONY: maybe-clean-binutils clean-binutils
6526 maybe-clean-binutils:
6527 @if binutils
6528 maybe-clean-binutils: clean-binutils
6530 clean-binutils:
6531 @[ -f ./binutils/Makefile ] || exit 0; \
6532 r=`${PWD_COMMAND}`; export r; \
6533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6534 $(HOST_EXPORTS) \
6535 for flag in $(EXTRA_HOST_FLAGS) ; do \
6536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6537 done; \
6538 echo "Doing clean in binutils"; \
6539 (cd $(HOST_SUBDIR)/binutils && \
6540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6542 "RANLIB=$${RANLIB}" \
6543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6544 clean) \
6545 || exit 1
6547 @endif binutils
6549 .PHONY: maybe-distclean-binutils distclean-binutils
6550 maybe-distclean-binutils:
6551 @if binutils
6552 maybe-distclean-binutils: distclean-binutils
6554 distclean-binutils:
6555 @[ -f ./binutils/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing distclean in binutils"; \
6563 (cd $(HOST_SUBDIR)/binutils && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6568 distclean) \
6569 || exit 1
6571 @endif binutils
6573 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6574 maybe-maintainer-clean-binutils:
6575 @if binutils
6576 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6578 maintainer-clean-binutils:
6579 @[ -f ./binutils/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 for flag in $(EXTRA_HOST_FLAGS) ; do \
6584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 done; \
6586 echo "Doing maintainer-clean in binutils"; \
6587 (cd $(HOST_SUBDIR)/binutils && \
6588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6590 "RANLIB=$${RANLIB}" \
6591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6592 maintainer-clean) \
6593 || exit 1
6595 @endif binutils
6599 .PHONY: configure-bison maybe-configure-bison
6600 maybe-configure-bison:
6601 @if gcc-bootstrap
6602 configure-bison: stage_current
6603 @endif gcc-bootstrap
6604 @if bison
6605 maybe-configure-bison: configure-bison
6606 configure-bison:
6607 @: $(MAKE); $(unstage)
6608 @r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6612 $(HOST_EXPORTS) \
6613 echo Configuring in $(HOST_SUBDIR)/bison; \
6614 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6615 case $(srcdir) in \
6616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6617 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6619 esac; \
6620 module_srcdir=bison; \
6621 $(SHELL) \
6622 $$s/$$module_srcdir/configure \
6623 --srcdir=$${topdir}/$$module_srcdir \
6624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6625 --target=${target_alias} \
6626 || exit 1
6627 @endif bison
6633 .PHONY: all-bison maybe-all-bison
6634 maybe-all-bison:
6635 @if gcc-bootstrap
6636 all-bison: stage_current
6637 @endif gcc-bootstrap
6638 @if bison
6639 TARGET-bison=all
6640 maybe-all-bison: all-bison
6641 all-bison: configure-bison
6642 @: $(MAKE); $(unstage)
6643 @r=`${PWD_COMMAND}`; export r; \
6644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6645 $(HOST_EXPORTS) \
6646 (cd $(HOST_SUBDIR)/bison && \
6647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6648 $(TARGET-bison))
6649 @endif bison
6654 .PHONY: check-bison maybe-check-bison
6655 maybe-check-bison:
6656 @if bison
6657 maybe-check-bison: check-bison
6659 # This module is only tested in a native toolchain.
6660 check-bison:
6661 @: $(MAKE); $(unstage)
6662 @if [ '$(host)' = '$(target)' ]; then \
6663 r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665 $(HOST_EXPORTS) \
6666 (cd $(HOST_SUBDIR)/bison && \
6667 $(MAKE) $(FLAGS_TO_PASS) check)
6670 @endif bison
6672 .PHONY: install-bison maybe-install-bison
6673 maybe-install-bison:
6674 @if bison
6675 maybe-install-bison: install-bison
6677 install-bison: installdirs
6678 @: $(MAKE); $(unstage)
6679 @r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 (cd $(HOST_SUBDIR)/bison && \
6683 $(MAKE) $(FLAGS_TO_PASS) install)
6685 @endif bison
6687 .PHONY: install-strip-bison maybe-install-strip-bison
6688 maybe-install-strip-bison:
6689 @if bison
6690 maybe-install-strip-bison: install-strip-bison
6692 install-strip-bison: installdirs
6693 @: $(MAKE); $(unstage)
6694 @r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 $(HOST_EXPORTS) \
6697 (cd $(HOST_SUBDIR)/bison && \
6698 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6700 @endif bison
6702 # Other targets (info, dvi, pdf, etc.)
6704 .PHONY: maybe-info-bison info-bison
6705 maybe-info-bison:
6706 @if bison
6707 maybe-info-bison: info-bison
6709 info-bison: \
6710 configure-bison
6711 @: $(MAKE); $(unstage)
6712 @[ -f ./bison/Makefile ] || exit 0; \
6713 r=`${PWD_COMMAND}`; export r; \
6714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6715 $(HOST_EXPORTS) \
6716 for flag in $(EXTRA_HOST_FLAGS) ; do \
6717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6718 done; \
6719 echo "Doing info in bison"; \
6720 (cd $(HOST_SUBDIR)/bison && \
6721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6723 "RANLIB=$${RANLIB}" \
6724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6725 info) \
6726 || exit 1
6728 @endif bison
6730 .PHONY: maybe-dvi-bison dvi-bison
6731 maybe-dvi-bison:
6732 @if bison
6733 maybe-dvi-bison: dvi-bison
6735 dvi-bison: \
6736 configure-bison
6737 @: $(MAKE); $(unstage)
6738 @[ -f ./bison/Makefile ] || exit 0; \
6739 r=`${PWD_COMMAND}`; export r; \
6740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 $(HOST_EXPORTS) \
6742 for flag in $(EXTRA_HOST_FLAGS) ; do \
6743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6744 done; \
6745 echo "Doing dvi in bison"; \
6746 (cd $(HOST_SUBDIR)/bison && \
6747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6749 "RANLIB=$${RANLIB}" \
6750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6751 dvi) \
6752 || exit 1
6754 @endif bison
6756 .PHONY: maybe-pdf-bison pdf-bison
6757 maybe-pdf-bison:
6758 @if bison
6759 maybe-pdf-bison: pdf-bison
6761 pdf-bison: \
6762 configure-bison
6763 @: $(MAKE); $(unstage)
6764 @[ -f ./bison/Makefile ] || exit 0; \
6765 r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(HOST_EXPORTS) \
6768 for flag in $(EXTRA_HOST_FLAGS) ; do \
6769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6770 done; \
6771 echo "Doing pdf in bison"; \
6772 (cd $(HOST_SUBDIR)/bison && \
6773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6775 "RANLIB=$${RANLIB}" \
6776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6777 pdf) \
6778 || exit 1
6780 @endif bison
6782 .PHONY: maybe-html-bison html-bison
6783 maybe-html-bison:
6784 @if bison
6785 maybe-html-bison: html-bison
6787 html-bison: \
6788 configure-bison
6789 @: $(MAKE); $(unstage)
6790 @[ -f ./bison/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793 $(HOST_EXPORTS) \
6794 for flag in $(EXTRA_HOST_FLAGS) ; do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796 done; \
6797 echo "Doing html in bison"; \
6798 (cd $(HOST_SUBDIR)/bison && \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6803 html) \
6804 || exit 1
6806 @endif bison
6808 .PHONY: maybe-TAGS-bison TAGS-bison
6809 maybe-TAGS-bison:
6810 @if bison
6811 maybe-TAGS-bison: TAGS-bison
6813 TAGS-bison: \
6814 configure-bison
6815 @: $(MAKE); $(unstage)
6816 @[ -f ./bison/Makefile ] || exit 0; \
6817 r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 $(HOST_EXPORTS) \
6820 for flag in $(EXTRA_HOST_FLAGS) ; do \
6821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 done; \
6823 echo "Doing TAGS in bison"; \
6824 (cd $(HOST_SUBDIR)/bison && \
6825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6827 "RANLIB=$${RANLIB}" \
6828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6829 TAGS) \
6830 || exit 1
6832 @endif bison
6834 .PHONY: maybe-install-info-bison install-info-bison
6835 maybe-install-info-bison:
6836 @if bison
6837 maybe-install-info-bison: install-info-bison
6839 install-info-bison: \
6840 configure-bison \
6841 info-bison
6842 @: $(MAKE); $(unstage)
6843 @[ -f ./bison/Makefile ] || exit 0; \
6844 r=`${PWD_COMMAND}`; export r; \
6845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 $(HOST_EXPORTS) \
6847 for flag in $(EXTRA_HOST_FLAGS) ; do \
6848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6849 done; \
6850 echo "Doing install-info in bison"; \
6851 (cd $(HOST_SUBDIR)/bison && \
6852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6854 "RANLIB=$${RANLIB}" \
6855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6856 install-info) \
6857 || exit 1
6859 @endif bison
6861 .PHONY: maybe-install-pdf-bison install-pdf-bison
6862 maybe-install-pdf-bison:
6863 @if bison
6864 maybe-install-pdf-bison: install-pdf-bison
6866 install-pdf-bison: \
6867 configure-bison \
6868 pdf-bison
6869 @: $(MAKE); $(unstage)
6870 @[ -f ./bison/Makefile ] || exit 0; \
6871 r=`${PWD_COMMAND}`; export r; \
6872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6873 $(HOST_EXPORTS) \
6874 for flag in $(EXTRA_HOST_FLAGS) ; do \
6875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6876 done; \
6877 echo "Doing install-pdf in bison"; \
6878 (cd $(HOST_SUBDIR)/bison && \
6879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6881 "RANLIB=$${RANLIB}" \
6882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6883 install-pdf) \
6884 || exit 1
6886 @endif bison
6888 .PHONY: maybe-install-html-bison install-html-bison
6889 maybe-install-html-bison:
6890 @if bison
6891 maybe-install-html-bison: install-html-bison
6893 install-html-bison: \
6894 configure-bison \
6895 html-bison
6896 @: $(MAKE); $(unstage)
6897 @[ -f ./bison/Makefile ] || exit 0; \
6898 r=`${PWD_COMMAND}`; export r; \
6899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6900 $(HOST_EXPORTS) \
6901 for flag in $(EXTRA_HOST_FLAGS) ; do \
6902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6903 done; \
6904 echo "Doing install-html in bison"; \
6905 (cd $(HOST_SUBDIR)/bison && \
6906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6908 "RANLIB=$${RANLIB}" \
6909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6910 install-html) \
6911 || exit 1
6913 @endif bison
6915 .PHONY: maybe-installcheck-bison installcheck-bison
6916 maybe-installcheck-bison:
6917 @if bison
6918 maybe-installcheck-bison: installcheck-bison
6920 installcheck-bison: \
6921 configure-bison
6922 @: $(MAKE); $(unstage)
6923 @[ -f ./bison/Makefile ] || exit 0; \
6924 r=`${PWD_COMMAND}`; export r; \
6925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6926 $(HOST_EXPORTS) \
6927 for flag in $(EXTRA_HOST_FLAGS) ; do \
6928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6929 done; \
6930 echo "Doing installcheck in bison"; \
6931 (cd $(HOST_SUBDIR)/bison && \
6932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6934 "RANLIB=$${RANLIB}" \
6935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6936 installcheck) \
6937 || exit 1
6939 @endif bison
6941 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6942 maybe-mostlyclean-bison:
6943 @if bison
6944 maybe-mostlyclean-bison: mostlyclean-bison
6946 mostlyclean-bison:
6947 @: $(MAKE); $(unstage)
6948 @[ -f ./bison/Makefile ] || exit 0; \
6949 r=`${PWD_COMMAND}`; export r; \
6950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6951 $(HOST_EXPORTS) \
6952 for flag in $(EXTRA_HOST_FLAGS) ; do \
6953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6954 done; \
6955 echo "Doing mostlyclean in bison"; \
6956 (cd $(HOST_SUBDIR)/bison && \
6957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6959 "RANLIB=$${RANLIB}" \
6960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6961 mostlyclean) \
6962 || exit 1
6964 @endif bison
6966 .PHONY: maybe-clean-bison clean-bison
6967 maybe-clean-bison:
6968 @if bison
6969 maybe-clean-bison: clean-bison
6971 clean-bison:
6972 @: $(MAKE); $(unstage)
6973 @[ -f ./bison/Makefile ] || exit 0; \
6974 r=`${PWD_COMMAND}`; export r; \
6975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6976 $(HOST_EXPORTS) \
6977 for flag in $(EXTRA_HOST_FLAGS) ; do \
6978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6979 done; \
6980 echo "Doing clean in bison"; \
6981 (cd $(HOST_SUBDIR)/bison && \
6982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6984 "RANLIB=$${RANLIB}" \
6985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6986 clean) \
6987 || exit 1
6989 @endif bison
6991 .PHONY: maybe-distclean-bison distclean-bison
6992 maybe-distclean-bison:
6993 @if bison
6994 maybe-distclean-bison: distclean-bison
6996 distclean-bison:
6997 @: $(MAKE); $(unstage)
6998 @[ -f ./bison/Makefile ] || exit 0; \
6999 r=`${PWD_COMMAND}`; export r; \
7000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7001 $(HOST_EXPORTS) \
7002 for flag in $(EXTRA_HOST_FLAGS) ; do \
7003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7004 done; \
7005 echo "Doing distclean in bison"; \
7006 (cd $(HOST_SUBDIR)/bison && \
7007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7009 "RANLIB=$${RANLIB}" \
7010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7011 distclean) \
7012 || exit 1
7014 @endif bison
7016 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7017 maybe-maintainer-clean-bison:
7018 @if bison
7019 maybe-maintainer-clean-bison: maintainer-clean-bison
7021 maintainer-clean-bison:
7022 @: $(MAKE); $(unstage)
7023 @[ -f ./bison/Makefile ] || exit 0; \
7024 r=`${PWD_COMMAND}`; export r; \
7025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7026 $(HOST_EXPORTS) \
7027 for flag in $(EXTRA_HOST_FLAGS) ; do \
7028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7029 done; \
7030 echo "Doing maintainer-clean in bison"; \
7031 (cd $(HOST_SUBDIR)/bison && \
7032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7034 "RANLIB=$${RANLIB}" \
7035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7036 maintainer-clean) \
7037 || exit 1
7039 @endif bison
7043 .PHONY: configure-cgen maybe-configure-cgen
7044 maybe-configure-cgen:
7045 @if gcc-bootstrap
7046 configure-cgen: stage_current
7047 @endif gcc-bootstrap
7048 @if cgen
7049 maybe-configure-cgen: configure-cgen
7050 configure-cgen:
7051 @: $(MAKE); $(unstage)
7052 @r=`${PWD_COMMAND}`; export r; \
7053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7054 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7056 $(HOST_EXPORTS) \
7057 echo Configuring in $(HOST_SUBDIR)/cgen; \
7058 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7059 case $(srcdir) in \
7060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7061 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7063 esac; \
7064 module_srcdir=cgen; \
7065 $(SHELL) \
7066 $$s/$$module_srcdir/configure \
7067 --srcdir=$${topdir}/$$module_srcdir \
7068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7069 --target=${target_alias} \
7070 || exit 1
7071 @endif cgen
7077 .PHONY: all-cgen maybe-all-cgen
7078 maybe-all-cgen:
7079 @if gcc-bootstrap
7080 all-cgen: stage_current
7081 @endif gcc-bootstrap
7082 @if cgen
7083 TARGET-cgen=all
7084 maybe-all-cgen: all-cgen
7085 all-cgen: configure-cgen
7086 @: $(MAKE); $(unstage)
7087 @r=`${PWD_COMMAND}`; export r; \
7088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7089 $(HOST_EXPORTS) \
7090 (cd $(HOST_SUBDIR)/cgen && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7092 $(TARGET-cgen))
7093 @endif cgen
7098 .PHONY: check-cgen maybe-check-cgen
7099 maybe-check-cgen:
7100 @if cgen
7101 maybe-check-cgen: check-cgen
7103 check-cgen:
7104 @: $(MAKE); $(unstage)
7105 @r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(HOST_EXPORTS) \
7108 (cd $(HOST_SUBDIR)/cgen && \
7109 $(MAKE) $(FLAGS_TO_PASS) check)
7111 @endif cgen
7113 .PHONY: install-cgen maybe-install-cgen
7114 maybe-install-cgen:
7115 @if cgen
7116 maybe-install-cgen: install-cgen
7118 install-cgen: installdirs
7119 @: $(MAKE); $(unstage)
7120 @r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7122 $(HOST_EXPORTS) \
7123 (cd $(HOST_SUBDIR)/cgen && \
7124 $(MAKE) $(FLAGS_TO_PASS) install)
7126 @endif cgen
7128 .PHONY: install-strip-cgen maybe-install-strip-cgen
7129 maybe-install-strip-cgen:
7130 @if cgen
7131 maybe-install-strip-cgen: install-strip-cgen
7133 install-strip-cgen: installdirs
7134 @: $(MAKE); $(unstage)
7135 @r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(HOST_EXPORTS) \
7138 (cd $(HOST_SUBDIR)/cgen && \
7139 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7141 @endif cgen
7143 # Other targets (info, dvi, pdf, etc.)
7145 .PHONY: maybe-info-cgen info-cgen
7146 maybe-info-cgen:
7147 @if cgen
7148 maybe-info-cgen: info-cgen
7150 info-cgen: \
7151 configure-cgen
7152 @: $(MAKE); $(unstage)
7153 @[ -f ./cgen/Makefile ] || exit 0; \
7154 r=`${PWD_COMMAND}`; export r; \
7155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7156 $(HOST_EXPORTS) \
7157 for flag in $(EXTRA_HOST_FLAGS) ; do \
7158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7159 done; \
7160 echo "Doing info in cgen"; \
7161 (cd $(HOST_SUBDIR)/cgen && \
7162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7164 "RANLIB=$${RANLIB}" \
7165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7166 info) \
7167 || exit 1
7169 @endif cgen
7171 .PHONY: maybe-dvi-cgen dvi-cgen
7172 maybe-dvi-cgen:
7173 @if cgen
7174 maybe-dvi-cgen: dvi-cgen
7176 dvi-cgen: \
7177 configure-cgen
7178 @: $(MAKE); $(unstage)
7179 @[ -f ./cgen/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing dvi in cgen"; \
7187 (cd $(HOST_SUBDIR)/cgen && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7192 dvi) \
7193 || exit 1
7195 @endif cgen
7197 .PHONY: maybe-pdf-cgen pdf-cgen
7198 maybe-pdf-cgen:
7199 @if cgen
7200 maybe-pdf-cgen: pdf-cgen
7202 pdf-cgen: \
7203 configure-cgen
7204 @: $(MAKE); $(unstage)
7205 @[ -f ./cgen/Makefile ] || exit 0; \
7206 r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(HOST_EXPORTS) \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing pdf in cgen"; \
7213 (cd $(HOST_SUBDIR)/cgen && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7218 pdf) \
7219 || exit 1
7221 @endif cgen
7223 .PHONY: maybe-html-cgen html-cgen
7224 maybe-html-cgen:
7225 @if cgen
7226 maybe-html-cgen: html-cgen
7228 html-cgen: \
7229 configure-cgen
7230 @: $(MAKE); $(unstage)
7231 @[ -f ./cgen/Makefile ] || exit 0; \
7232 r=`${PWD_COMMAND}`; export r; \
7233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7234 $(HOST_EXPORTS) \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7237 done; \
7238 echo "Doing html in cgen"; \
7239 (cd $(HOST_SUBDIR)/cgen && \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7244 html) \
7245 || exit 1
7247 @endif cgen
7249 .PHONY: maybe-TAGS-cgen TAGS-cgen
7250 maybe-TAGS-cgen:
7251 @if cgen
7252 maybe-TAGS-cgen: TAGS-cgen
7254 TAGS-cgen: \
7255 configure-cgen
7256 @: $(MAKE); $(unstage)
7257 @[ -f ./cgen/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(HOST_EXPORTS) \
7261 for flag in $(EXTRA_HOST_FLAGS) ; do \
7262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7263 done; \
7264 echo "Doing TAGS in cgen"; \
7265 (cd $(HOST_SUBDIR)/cgen && \
7266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7268 "RANLIB=$${RANLIB}" \
7269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7270 TAGS) \
7271 || exit 1
7273 @endif cgen
7275 .PHONY: maybe-install-info-cgen install-info-cgen
7276 maybe-install-info-cgen:
7277 @if cgen
7278 maybe-install-info-cgen: install-info-cgen
7280 install-info-cgen: \
7281 configure-cgen \
7282 info-cgen
7283 @: $(MAKE); $(unstage)
7284 @[ -f ./cgen/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing install-info in cgen"; \
7292 (cd $(HOST_SUBDIR)/cgen && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7297 install-info) \
7298 || exit 1
7300 @endif cgen
7302 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7303 maybe-install-pdf-cgen:
7304 @if cgen
7305 maybe-install-pdf-cgen: install-pdf-cgen
7307 install-pdf-cgen: \
7308 configure-cgen \
7309 pdf-cgen
7310 @: $(MAKE); $(unstage)
7311 @[ -f ./cgen/Makefile ] || exit 0; \
7312 r=`${PWD_COMMAND}`; export r; \
7313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7314 $(HOST_EXPORTS) \
7315 for flag in $(EXTRA_HOST_FLAGS) ; do \
7316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7317 done; \
7318 echo "Doing install-pdf in cgen"; \
7319 (cd $(HOST_SUBDIR)/cgen && \
7320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7322 "RANLIB=$${RANLIB}" \
7323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7324 install-pdf) \
7325 || exit 1
7327 @endif cgen
7329 .PHONY: maybe-install-html-cgen install-html-cgen
7330 maybe-install-html-cgen:
7331 @if cgen
7332 maybe-install-html-cgen: install-html-cgen
7334 install-html-cgen: \
7335 configure-cgen \
7336 html-cgen
7337 @: $(MAKE); $(unstage)
7338 @[ -f ./cgen/Makefile ] || exit 0; \
7339 r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7341 $(HOST_EXPORTS) \
7342 for flag in $(EXTRA_HOST_FLAGS) ; do \
7343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7344 done; \
7345 echo "Doing install-html in cgen"; \
7346 (cd $(HOST_SUBDIR)/cgen && \
7347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7349 "RANLIB=$${RANLIB}" \
7350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7351 install-html) \
7352 || exit 1
7354 @endif cgen
7356 .PHONY: maybe-installcheck-cgen installcheck-cgen
7357 maybe-installcheck-cgen:
7358 @if cgen
7359 maybe-installcheck-cgen: installcheck-cgen
7361 installcheck-cgen: \
7362 configure-cgen
7363 @: $(MAKE); $(unstage)
7364 @[ -f ./cgen/Makefile ] || exit 0; \
7365 r=`${PWD_COMMAND}`; export r; \
7366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7367 $(HOST_EXPORTS) \
7368 for flag in $(EXTRA_HOST_FLAGS) ; do \
7369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7370 done; \
7371 echo "Doing installcheck in cgen"; \
7372 (cd $(HOST_SUBDIR)/cgen && \
7373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7375 "RANLIB=$${RANLIB}" \
7376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7377 installcheck) \
7378 || exit 1
7380 @endif cgen
7382 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7383 maybe-mostlyclean-cgen:
7384 @if cgen
7385 maybe-mostlyclean-cgen: mostlyclean-cgen
7387 mostlyclean-cgen:
7388 @: $(MAKE); $(unstage)
7389 @[ -f ./cgen/Makefile ] || exit 0; \
7390 r=`${PWD_COMMAND}`; export r; \
7391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7392 $(HOST_EXPORTS) \
7393 for flag in $(EXTRA_HOST_FLAGS) ; do \
7394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7395 done; \
7396 echo "Doing mostlyclean in cgen"; \
7397 (cd $(HOST_SUBDIR)/cgen && \
7398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7400 "RANLIB=$${RANLIB}" \
7401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7402 mostlyclean) \
7403 || exit 1
7405 @endif cgen
7407 .PHONY: maybe-clean-cgen clean-cgen
7408 maybe-clean-cgen:
7409 @if cgen
7410 maybe-clean-cgen: clean-cgen
7412 clean-cgen:
7413 @: $(MAKE); $(unstage)
7414 @[ -f ./cgen/Makefile ] || exit 0; \
7415 r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 $(HOST_EXPORTS) \
7418 for flag in $(EXTRA_HOST_FLAGS) ; do \
7419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7420 done; \
7421 echo "Doing clean in cgen"; \
7422 (cd $(HOST_SUBDIR)/cgen && \
7423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7425 "RANLIB=$${RANLIB}" \
7426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7427 clean) \
7428 || exit 1
7430 @endif cgen
7432 .PHONY: maybe-distclean-cgen distclean-cgen
7433 maybe-distclean-cgen:
7434 @if cgen
7435 maybe-distclean-cgen: distclean-cgen
7437 distclean-cgen:
7438 @: $(MAKE); $(unstage)
7439 @[ -f ./cgen/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing distclean in cgen"; \
7447 (cd $(HOST_SUBDIR)/cgen && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7452 distclean) \
7453 || exit 1
7455 @endif cgen
7457 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7458 maybe-maintainer-clean-cgen:
7459 @if cgen
7460 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7462 maintainer-clean-cgen:
7463 @: $(MAKE); $(unstage)
7464 @[ -f ./cgen/Makefile ] || exit 0; \
7465 r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 $(HOST_EXPORTS) \
7468 for flag in $(EXTRA_HOST_FLAGS) ; do \
7469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7470 done; \
7471 echo "Doing maintainer-clean in cgen"; \
7472 (cd $(HOST_SUBDIR)/cgen && \
7473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7475 "RANLIB=$${RANLIB}" \
7476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7477 maintainer-clean) \
7478 || exit 1
7480 @endif cgen
7484 .PHONY: configure-dejagnu maybe-configure-dejagnu
7485 maybe-configure-dejagnu:
7486 @if gcc-bootstrap
7487 configure-dejagnu: stage_current
7488 @endif gcc-bootstrap
7489 @if dejagnu
7490 maybe-configure-dejagnu: configure-dejagnu
7491 configure-dejagnu:
7492 @: $(MAKE); $(unstage)
7493 @r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7497 $(HOST_EXPORTS) \
7498 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7499 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7500 case $(srcdir) in \
7501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7502 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7504 esac; \
7505 module_srcdir=dejagnu; \
7506 $(SHELL) \
7507 $$s/$$module_srcdir/configure \
7508 --srcdir=$${topdir}/$$module_srcdir \
7509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7510 --target=${target_alias} \
7511 || exit 1
7512 @endif dejagnu
7518 .PHONY: all-dejagnu maybe-all-dejagnu
7519 maybe-all-dejagnu:
7520 @if gcc-bootstrap
7521 all-dejagnu: stage_current
7522 @endif gcc-bootstrap
7523 @if dejagnu
7524 TARGET-dejagnu=all
7525 maybe-all-dejagnu: all-dejagnu
7526 all-dejagnu: configure-dejagnu
7527 @: $(MAKE); $(unstage)
7528 @r=`${PWD_COMMAND}`; export r; \
7529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7530 $(HOST_EXPORTS) \
7531 (cd $(HOST_SUBDIR)/dejagnu && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7533 $(TARGET-dejagnu))
7534 @endif dejagnu
7539 .PHONY: check-dejagnu maybe-check-dejagnu
7540 maybe-check-dejagnu:
7541 @if dejagnu
7542 maybe-check-dejagnu: check-dejagnu
7544 check-dejagnu:
7545 @: $(MAKE); $(unstage)
7546 @r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 (cd $(HOST_SUBDIR)/dejagnu && \
7550 $(MAKE) $(FLAGS_TO_PASS) check)
7552 @endif dejagnu
7554 .PHONY: install-dejagnu maybe-install-dejagnu
7555 maybe-install-dejagnu:
7556 @if dejagnu
7557 maybe-install-dejagnu: install-dejagnu
7559 install-dejagnu: installdirs
7560 @: $(MAKE); $(unstage)
7561 @r=`${PWD_COMMAND}`; export r; \
7562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7563 $(HOST_EXPORTS) \
7564 (cd $(HOST_SUBDIR)/dejagnu && \
7565 $(MAKE) $(FLAGS_TO_PASS) install)
7567 @endif dejagnu
7569 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7570 maybe-install-strip-dejagnu:
7571 @if dejagnu
7572 maybe-install-strip-dejagnu: install-strip-dejagnu
7574 install-strip-dejagnu: installdirs
7575 @: $(MAKE); $(unstage)
7576 @r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 (cd $(HOST_SUBDIR)/dejagnu && \
7580 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7582 @endif dejagnu
7584 # Other targets (info, dvi, pdf, etc.)
7586 .PHONY: maybe-info-dejagnu info-dejagnu
7587 maybe-info-dejagnu:
7588 @if dejagnu
7589 maybe-info-dejagnu: info-dejagnu
7591 info-dejagnu: \
7592 configure-dejagnu
7593 @: $(MAKE); $(unstage)
7594 @[ -f ./dejagnu/Makefile ] || exit 0; \
7595 r=`${PWD_COMMAND}`; export r; \
7596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7597 $(HOST_EXPORTS) \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600 done; \
7601 echo "Doing info in dejagnu"; \
7602 (cd $(HOST_SUBDIR)/dejagnu && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7607 info) \
7608 || exit 1
7610 @endif dejagnu
7612 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7613 maybe-dvi-dejagnu:
7614 @if dejagnu
7615 maybe-dvi-dejagnu: dvi-dejagnu
7617 dvi-dejagnu: \
7618 configure-dejagnu
7619 @: $(MAKE); $(unstage)
7620 @[ -f ./dejagnu/Makefile ] || exit 0; \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 for flag in $(EXTRA_HOST_FLAGS) ; do \
7625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 done; \
7627 echo "Doing dvi in dejagnu"; \
7628 (cd $(HOST_SUBDIR)/dejagnu && \
7629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7631 "RANLIB=$${RANLIB}" \
7632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7633 dvi) \
7634 || exit 1
7636 @endif dejagnu
7638 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7639 maybe-pdf-dejagnu:
7640 @if dejagnu
7641 maybe-pdf-dejagnu: pdf-dejagnu
7643 pdf-dejagnu: \
7644 configure-dejagnu
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./dejagnu/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing pdf in dejagnu"; \
7654 (cd $(HOST_SUBDIR)/dejagnu && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 pdf) \
7660 || exit 1
7662 @endif dejagnu
7664 .PHONY: maybe-html-dejagnu html-dejagnu
7665 maybe-html-dejagnu:
7666 @if dejagnu
7667 maybe-html-dejagnu: html-dejagnu
7669 html-dejagnu: \
7670 configure-dejagnu
7671 @: $(MAKE); $(unstage)
7672 @[ -f ./dejagnu/Makefile ] || exit 0; \
7673 r=`${PWD_COMMAND}`; export r; \
7674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7675 $(HOST_EXPORTS) \
7676 for flag in $(EXTRA_HOST_FLAGS) ; do \
7677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7678 done; \
7679 echo "Doing html in dejagnu"; \
7680 (cd $(HOST_SUBDIR)/dejagnu && \
7681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7683 "RANLIB=$${RANLIB}" \
7684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7685 html) \
7686 || exit 1
7688 @endif dejagnu
7690 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7691 maybe-TAGS-dejagnu:
7692 @if dejagnu
7693 maybe-TAGS-dejagnu: TAGS-dejagnu
7695 TAGS-dejagnu: \
7696 configure-dejagnu
7697 @: $(MAKE); $(unstage)
7698 @[ -f ./dejagnu/Makefile ] || exit 0; \
7699 r=`${PWD_COMMAND}`; export r; \
7700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7701 $(HOST_EXPORTS) \
7702 for flag in $(EXTRA_HOST_FLAGS) ; do \
7703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7704 done; \
7705 echo "Doing TAGS in dejagnu"; \
7706 (cd $(HOST_SUBDIR)/dejagnu && \
7707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7709 "RANLIB=$${RANLIB}" \
7710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7711 TAGS) \
7712 || exit 1
7714 @endif dejagnu
7716 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7717 maybe-install-info-dejagnu:
7718 @if dejagnu
7719 maybe-install-info-dejagnu: install-info-dejagnu
7721 install-info-dejagnu: \
7722 configure-dejagnu \
7723 info-dejagnu
7724 @: $(MAKE); $(unstage)
7725 @[ -f ./dejagnu/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(HOST_EXPORTS) \
7729 for flag in $(EXTRA_HOST_FLAGS) ; do \
7730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7731 done; \
7732 echo "Doing install-info in dejagnu"; \
7733 (cd $(HOST_SUBDIR)/dejagnu && \
7734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7736 "RANLIB=$${RANLIB}" \
7737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7738 install-info) \
7739 || exit 1
7741 @endif dejagnu
7743 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7744 maybe-install-pdf-dejagnu:
7745 @if dejagnu
7746 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7748 install-pdf-dejagnu: \
7749 configure-dejagnu \
7750 pdf-dejagnu
7751 @: $(MAKE); $(unstage)
7752 @[ -f ./dejagnu/Makefile ] || exit 0; \
7753 r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7755 $(HOST_EXPORTS) \
7756 for flag in $(EXTRA_HOST_FLAGS) ; do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7758 done; \
7759 echo "Doing install-pdf in dejagnu"; \
7760 (cd $(HOST_SUBDIR)/dejagnu && \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7765 install-pdf) \
7766 || exit 1
7768 @endif dejagnu
7770 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7771 maybe-install-html-dejagnu:
7772 @if dejagnu
7773 maybe-install-html-dejagnu: install-html-dejagnu
7775 install-html-dejagnu: \
7776 configure-dejagnu \
7777 html-dejagnu
7778 @: $(MAKE); $(unstage)
7779 @[ -f ./dejagnu/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 for flag in $(EXTRA_HOST_FLAGS) ; do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 done; \
7786 echo "Doing install-html in dejagnu"; \
7787 (cd $(HOST_SUBDIR)/dejagnu && \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7792 install-html) \
7793 || exit 1
7795 @endif dejagnu
7797 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7798 maybe-installcheck-dejagnu:
7799 @if dejagnu
7800 maybe-installcheck-dejagnu: installcheck-dejagnu
7802 installcheck-dejagnu: \
7803 configure-dejagnu
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./dejagnu/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing installcheck in dejagnu"; \
7813 (cd $(HOST_SUBDIR)/dejagnu && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7818 installcheck) \
7819 || exit 1
7821 @endif dejagnu
7823 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7824 maybe-mostlyclean-dejagnu:
7825 @if dejagnu
7826 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7828 mostlyclean-dejagnu:
7829 @: $(MAKE); $(unstage)
7830 @[ -f ./dejagnu/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(HOST_EXPORTS) \
7834 for flag in $(EXTRA_HOST_FLAGS) ; do \
7835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7836 done; \
7837 echo "Doing mostlyclean in dejagnu"; \
7838 (cd $(HOST_SUBDIR)/dejagnu && \
7839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7841 "RANLIB=$${RANLIB}" \
7842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7843 mostlyclean) \
7844 || exit 1
7846 @endif dejagnu
7848 .PHONY: maybe-clean-dejagnu clean-dejagnu
7849 maybe-clean-dejagnu:
7850 @if dejagnu
7851 maybe-clean-dejagnu: clean-dejagnu
7853 clean-dejagnu:
7854 @: $(MAKE); $(unstage)
7855 @[ -f ./dejagnu/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 for flag in $(EXTRA_HOST_FLAGS) ; do \
7860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7861 done; \
7862 echo "Doing clean in dejagnu"; \
7863 (cd $(HOST_SUBDIR)/dejagnu && \
7864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7866 "RANLIB=$${RANLIB}" \
7867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7868 clean) \
7869 || exit 1
7871 @endif dejagnu
7873 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7874 maybe-distclean-dejagnu:
7875 @if dejagnu
7876 maybe-distclean-dejagnu: distclean-dejagnu
7878 distclean-dejagnu:
7879 @: $(MAKE); $(unstage)
7880 @[ -f ./dejagnu/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 for flag in $(EXTRA_HOST_FLAGS) ; do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886 done; \
7887 echo "Doing distclean in dejagnu"; \
7888 (cd $(HOST_SUBDIR)/dejagnu && \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7893 distclean) \
7894 || exit 1
7896 @endif dejagnu
7898 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7899 maybe-maintainer-clean-dejagnu:
7900 @if dejagnu
7901 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7903 maintainer-clean-dejagnu:
7904 @: $(MAKE); $(unstage)
7905 @[ -f ./dejagnu/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 $(HOST_EXPORTS) \
7909 for flag in $(EXTRA_HOST_FLAGS) ; do \
7910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7911 done; \
7912 echo "Doing maintainer-clean in dejagnu"; \
7913 (cd $(HOST_SUBDIR)/dejagnu && \
7914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916 "RANLIB=$${RANLIB}" \
7917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7918 maintainer-clean) \
7919 || exit 1
7921 @endif dejagnu
7925 .PHONY: configure-etc maybe-configure-etc
7926 maybe-configure-etc:
7927 @if gcc-bootstrap
7928 configure-etc: stage_current
7929 @endif gcc-bootstrap
7930 @if etc
7931 maybe-configure-etc: configure-etc
7932 configure-etc:
7933 @: $(MAKE); $(unstage)
7934 @r=`${PWD_COMMAND}`; export r; \
7935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7936 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7938 $(HOST_EXPORTS) \
7939 echo Configuring in $(HOST_SUBDIR)/etc; \
7940 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7941 case $(srcdir) in \
7942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7943 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7945 esac; \
7946 module_srcdir=etc; \
7947 $(SHELL) \
7948 $$s/$$module_srcdir/configure \
7949 --srcdir=$${topdir}/$$module_srcdir \
7950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7951 --target=${target_alias} \
7952 || exit 1
7953 @endif etc
7959 .PHONY: all-etc maybe-all-etc
7960 maybe-all-etc:
7961 @if gcc-bootstrap
7962 all-etc: stage_current
7963 @endif gcc-bootstrap
7964 @if etc
7965 TARGET-etc=all
7966 maybe-all-etc: all-etc
7967 all-etc: configure-etc
7968 @: $(MAKE); $(unstage)
7969 @r=`${PWD_COMMAND}`; export r; \
7970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7971 $(HOST_EXPORTS) \
7972 (cd $(HOST_SUBDIR)/etc && \
7973 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7974 $(TARGET-etc))
7975 @endif etc
7980 .PHONY: check-etc maybe-check-etc
7981 maybe-check-etc:
7982 @if etc
7983 maybe-check-etc: check-etc
7985 check-etc:
7986 @: $(MAKE); $(unstage)
7987 @r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(HOST_EXPORTS) \
7990 (cd $(HOST_SUBDIR)/etc && \
7991 $(MAKE) $(FLAGS_TO_PASS) check)
7993 @endif etc
7995 .PHONY: install-etc maybe-install-etc
7996 maybe-install-etc:
7997 @if etc
7998 maybe-install-etc: install-etc
8000 install-etc: installdirs
8001 @: $(MAKE); $(unstage)
8002 @r=`${PWD_COMMAND}`; export r; \
8003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8004 $(HOST_EXPORTS) \
8005 (cd $(HOST_SUBDIR)/etc && \
8006 $(MAKE) $(FLAGS_TO_PASS) install)
8008 @endif etc
8010 .PHONY: install-strip-etc maybe-install-strip-etc
8011 maybe-install-strip-etc:
8012 @if etc
8013 maybe-install-strip-etc: install-strip-etc
8015 install-strip-etc: installdirs
8016 @: $(MAKE); $(unstage)
8017 @r=`${PWD_COMMAND}`; export r; \
8018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8019 $(HOST_EXPORTS) \
8020 (cd $(HOST_SUBDIR)/etc && \
8021 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8023 @endif etc
8025 # Other targets (info, dvi, pdf, etc.)
8027 .PHONY: maybe-info-etc info-etc
8028 maybe-info-etc:
8029 @if etc
8030 maybe-info-etc: info-etc
8032 info-etc: \
8033 configure-etc
8034 @: $(MAKE); $(unstage)
8035 @[ -f ./etc/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038 $(HOST_EXPORTS) \
8039 for flag in $(EXTRA_HOST_FLAGS) ; do \
8040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8041 done; \
8042 echo "Doing info in etc"; \
8043 (cd $(HOST_SUBDIR)/etc && \
8044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8046 "RANLIB=$${RANLIB}" \
8047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8048 info) \
8049 || exit 1
8051 @endif etc
8053 .PHONY: maybe-dvi-etc dvi-etc
8054 maybe-dvi-etc:
8055 @if etc
8056 maybe-dvi-etc: dvi-etc
8058 dvi-etc: \
8059 configure-etc
8060 @: $(MAKE); $(unstage)
8061 @[ -f ./etc/Makefile ] || exit 0; \
8062 r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 $(HOST_EXPORTS) \
8065 for flag in $(EXTRA_HOST_FLAGS) ; do \
8066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8067 done; \
8068 echo "Doing dvi in etc"; \
8069 (cd $(HOST_SUBDIR)/etc && \
8070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8072 "RANLIB=$${RANLIB}" \
8073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8074 dvi) \
8075 || exit 1
8077 @endif etc
8079 .PHONY: maybe-pdf-etc pdf-etc
8080 maybe-pdf-etc:
8081 @if etc
8082 maybe-pdf-etc: pdf-etc
8084 pdf-etc: \
8085 configure-etc
8086 @: $(MAKE); $(unstage)
8087 @[ -f ./etc/Makefile ] || exit 0; \
8088 r=`${PWD_COMMAND}`; export r; \
8089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8090 $(HOST_EXPORTS) \
8091 for flag in $(EXTRA_HOST_FLAGS) ; do \
8092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8093 done; \
8094 echo "Doing pdf in etc"; \
8095 (cd $(HOST_SUBDIR)/etc && \
8096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8098 "RANLIB=$${RANLIB}" \
8099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8100 pdf) \
8101 || exit 1
8103 @endif etc
8105 .PHONY: maybe-html-etc html-etc
8106 maybe-html-etc:
8107 @if etc
8108 maybe-html-etc: html-etc
8110 html-etc: \
8111 configure-etc
8112 @: $(MAKE); $(unstage)
8113 @[ -f ./etc/Makefile ] || exit 0; \
8114 r=`${PWD_COMMAND}`; export r; \
8115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8116 $(HOST_EXPORTS) \
8117 for flag in $(EXTRA_HOST_FLAGS) ; do \
8118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8119 done; \
8120 echo "Doing html in etc"; \
8121 (cd $(HOST_SUBDIR)/etc && \
8122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8124 "RANLIB=$${RANLIB}" \
8125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8126 html) \
8127 || exit 1
8129 @endif etc
8131 .PHONY: maybe-TAGS-etc TAGS-etc
8132 maybe-TAGS-etc:
8133 @if etc
8134 maybe-TAGS-etc: TAGS-etc
8136 TAGS-etc: \
8137 configure-etc
8138 @: $(MAKE); $(unstage)
8139 @[ -f ./etc/Makefile ] || exit 0; \
8140 r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 $(HOST_EXPORTS) \
8143 for flag in $(EXTRA_HOST_FLAGS) ; do \
8144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8145 done; \
8146 echo "Doing TAGS in etc"; \
8147 (cd $(HOST_SUBDIR)/etc && \
8148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8150 "RANLIB=$${RANLIB}" \
8151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8152 TAGS) \
8153 || exit 1
8155 @endif etc
8157 .PHONY: maybe-install-info-etc install-info-etc
8158 maybe-install-info-etc:
8159 @if etc
8160 maybe-install-info-etc: install-info-etc
8162 install-info-etc: \
8163 configure-etc \
8164 info-etc
8165 @: $(MAKE); $(unstage)
8166 @[ -f ./etc/Makefile ] || exit 0; \
8167 r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169 $(HOST_EXPORTS) \
8170 for flag in $(EXTRA_HOST_FLAGS) ; do \
8171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8172 done; \
8173 echo "Doing install-info in etc"; \
8174 (cd $(HOST_SUBDIR)/etc && \
8175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8177 "RANLIB=$${RANLIB}" \
8178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8179 install-info) \
8180 || exit 1
8182 @endif etc
8184 .PHONY: maybe-install-pdf-etc install-pdf-etc
8185 maybe-install-pdf-etc:
8186 @if etc
8187 maybe-install-pdf-etc: install-pdf-etc
8189 install-pdf-etc: \
8190 configure-etc \
8191 pdf-etc
8192 @: $(MAKE); $(unstage)
8193 @[ -f ./etc/Makefile ] || exit 0; \
8194 r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 $(HOST_EXPORTS) \
8197 for flag in $(EXTRA_HOST_FLAGS) ; do \
8198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 done; \
8200 echo "Doing install-pdf in etc"; \
8201 (cd $(HOST_SUBDIR)/etc && \
8202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8204 "RANLIB=$${RANLIB}" \
8205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8206 install-pdf) \
8207 || exit 1
8209 @endif etc
8211 .PHONY: maybe-install-html-etc install-html-etc
8212 maybe-install-html-etc:
8213 @if etc
8214 maybe-install-html-etc: install-html-etc
8216 install-html-etc: \
8217 configure-etc \
8218 html-etc
8219 @: $(MAKE); $(unstage)
8220 @[ -f ./etc/Makefile ] || exit 0; \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 for flag in $(EXTRA_HOST_FLAGS) ; do \
8225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8226 done; \
8227 echo "Doing install-html in etc"; \
8228 (cd $(HOST_SUBDIR)/etc && \
8229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8231 "RANLIB=$${RANLIB}" \
8232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8233 install-html) \
8234 || exit 1
8236 @endif etc
8238 .PHONY: maybe-installcheck-etc installcheck-etc
8239 maybe-installcheck-etc:
8240 @if etc
8241 maybe-installcheck-etc: installcheck-etc
8243 installcheck-etc: \
8244 configure-etc
8245 @: $(MAKE); $(unstage)
8246 @[ -f ./etc/Makefile ] || exit 0; \
8247 r=`${PWD_COMMAND}`; export r; \
8248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8249 $(HOST_EXPORTS) \
8250 for flag in $(EXTRA_HOST_FLAGS) ; do \
8251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8252 done; \
8253 echo "Doing installcheck in etc"; \
8254 (cd $(HOST_SUBDIR)/etc && \
8255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8257 "RANLIB=$${RANLIB}" \
8258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8259 installcheck) \
8260 || exit 1
8262 @endif etc
8264 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8265 maybe-mostlyclean-etc:
8266 @if etc
8267 maybe-mostlyclean-etc: mostlyclean-etc
8269 mostlyclean-etc:
8270 @: $(MAKE); $(unstage)
8271 @[ -f ./etc/Makefile ] || exit 0; \
8272 r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 $(HOST_EXPORTS) \
8275 for flag in $(EXTRA_HOST_FLAGS) ; do \
8276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8277 done; \
8278 echo "Doing mostlyclean in etc"; \
8279 (cd $(HOST_SUBDIR)/etc && \
8280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8282 "RANLIB=$${RANLIB}" \
8283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8284 mostlyclean) \
8285 || exit 1
8287 @endif etc
8289 .PHONY: maybe-clean-etc clean-etc
8290 maybe-clean-etc:
8291 @if etc
8292 maybe-clean-etc: clean-etc
8294 clean-etc:
8295 @: $(MAKE); $(unstage)
8296 @[ -f ./etc/Makefile ] || exit 0; \
8297 r=`${PWD_COMMAND}`; export r; \
8298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8299 $(HOST_EXPORTS) \
8300 for flag in $(EXTRA_HOST_FLAGS) ; do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8302 done; \
8303 echo "Doing clean in etc"; \
8304 (cd $(HOST_SUBDIR)/etc && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8309 clean) \
8310 || exit 1
8312 @endif etc
8314 .PHONY: maybe-distclean-etc distclean-etc
8315 maybe-distclean-etc:
8316 @if etc
8317 maybe-distclean-etc: distclean-etc
8319 distclean-etc:
8320 @: $(MAKE); $(unstage)
8321 @[ -f ./etc/Makefile ] || exit 0; \
8322 r=`${PWD_COMMAND}`; export r; \
8323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8324 $(HOST_EXPORTS) \
8325 for flag in $(EXTRA_HOST_FLAGS) ; do \
8326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8327 done; \
8328 echo "Doing distclean in etc"; \
8329 (cd $(HOST_SUBDIR)/etc && \
8330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8332 "RANLIB=$${RANLIB}" \
8333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8334 distclean) \
8335 || exit 1
8337 @endif etc
8339 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8340 maybe-maintainer-clean-etc:
8341 @if etc
8342 maybe-maintainer-clean-etc: maintainer-clean-etc
8344 maintainer-clean-etc:
8345 @: $(MAKE); $(unstage)
8346 @[ -f ./etc/Makefile ] || exit 0; \
8347 r=`${PWD_COMMAND}`; export r; \
8348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8349 $(HOST_EXPORTS) \
8350 for flag in $(EXTRA_HOST_FLAGS) ; do \
8351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8352 done; \
8353 echo "Doing maintainer-clean in etc"; \
8354 (cd $(HOST_SUBDIR)/etc && \
8355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8357 "RANLIB=$${RANLIB}" \
8358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8359 maintainer-clean) \
8360 || exit 1
8362 @endif etc
8366 .PHONY: configure-fastjar maybe-configure-fastjar
8367 maybe-configure-fastjar:
8368 @if gcc-bootstrap
8369 configure-fastjar: stage_current
8370 @endif gcc-bootstrap
8371 @if fastjar
8372 maybe-configure-fastjar: configure-fastjar
8373 configure-fastjar:
8374 @: $(MAKE); $(unstage)
8375 @r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8379 $(HOST_EXPORTS) \
8380 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8381 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8382 case $(srcdir) in \
8383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8384 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8386 esac; \
8387 module_srcdir=fastjar; \
8388 $(SHELL) \
8389 $$s/$$module_srcdir/configure \
8390 --srcdir=$${topdir}/$$module_srcdir \
8391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8392 --target=${target_alias} \
8393 || exit 1
8394 @endif fastjar
8400 .PHONY: all-fastjar maybe-all-fastjar
8401 maybe-all-fastjar:
8402 @if gcc-bootstrap
8403 all-fastjar: stage_current
8404 @endif gcc-bootstrap
8405 @if fastjar
8406 TARGET-fastjar=all
8407 maybe-all-fastjar: all-fastjar
8408 all-fastjar: configure-fastjar
8409 @: $(MAKE); $(unstage)
8410 @r=`${PWD_COMMAND}`; export r; \
8411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8412 $(HOST_EXPORTS) \
8413 (cd $(HOST_SUBDIR)/fastjar && \
8414 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8415 $(TARGET-fastjar))
8416 @endif fastjar
8421 .PHONY: check-fastjar maybe-check-fastjar
8422 maybe-check-fastjar:
8423 @if fastjar
8424 maybe-check-fastjar: check-fastjar
8426 # This module is only tested in a native toolchain.
8427 check-fastjar:
8428 @: $(MAKE); $(unstage)
8429 @if [ '$(host)' = '$(target)' ]; then \
8430 r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 $(HOST_EXPORTS) \
8433 (cd $(HOST_SUBDIR)/fastjar && \
8434 $(MAKE) $(FLAGS_TO_PASS) check)
8437 @endif fastjar
8439 .PHONY: install-fastjar maybe-install-fastjar
8440 maybe-install-fastjar:
8441 @if fastjar
8442 maybe-install-fastjar: install-fastjar
8444 install-fastjar: installdirs
8445 @: $(MAKE); $(unstage)
8446 @r=`${PWD_COMMAND}`; export r; \
8447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8448 $(HOST_EXPORTS) \
8449 (cd $(HOST_SUBDIR)/fastjar && \
8450 $(MAKE) $(FLAGS_TO_PASS) install)
8452 @endif fastjar
8454 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8455 maybe-install-strip-fastjar:
8456 @if fastjar
8457 maybe-install-strip-fastjar: install-strip-fastjar
8459 install-strip-fastjar: installdirs
8460 @: $(MAKE); $(unstage)
8461 @r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 (cd $(HOST_SUBDIR)/fastjar && \
8465 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8467 @endif fastjar
8469 # Other targets (info, dvi, pdf, etc.)
8471 .PHONY: maybe-info-fastjar info-fastjar
8472 maybe-info-fastjar:
8473 @if fastjar
8474 maybe-info-fastjar: info-fastjar
8476 info-fastjar: \
8477 configure-fastjar
8478 @: $(MAKE); $(unstage)
8479 @[ -f ./fastjar/Makefile ] || exit 0; \
8480 r=`${PWD_COMMAND}`; export r; \
8481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8482 $(HOST_EXPORTS) \
8483 for flag in $(EXTRA_HOST_FLAGS) ; do \
8484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8485 done; \
8486 echo "Doing info in fastjar"; \
8487 (cd $(HOST_SUBDIR)/fastjar && \
8488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8490 "RANLIB=$${RANLIB}" \
8491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8492 info) \
8493 || exit 1
8495 @endif fastjar
8497 .PHONY: maybe-dvi-fastjar dvi-fastjar
8498 maybe-dvi-fastjar:
8499 @if fastjar
8500 maybe-dvi-fastjar: dvi-fastjar
8502 dvi-fastjar: \
8503 configure-fastjar
8504 @: $(MAKE); $(unstage)
8505 @[ -f ./fastjar/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8508 $(HOST_EXPORTS) \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8511 done; \
8512 echo "Doing dvi in fastjar"; \
8513 (cd $(HOST_SUBDIR)/fastjar && \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8518 dvi) \
8519 || exit 1
8521 @endif fastjar
8523 .PHONY: maybe-pdf-fastjar pdf-fastjar
8524 maybe-pdf-fastjar:
8525 @if fastjar
8526 maybe-pdf-fastjar: pdf-fastjar
8528 pdf-fastjar: \
8529 configure-fastjar
8530 @: $(MAKE); $(unstage)
8531 @[ -f ./fastjar/Makefile ] || exit 0; \
8532 r=`${PWD_COMMAND}`; export r; \
8533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8534 $(HOST_EXPORTS) \
8535 for flag in $(EXTRA_HOST_FLAGS) ; do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 done; \
8538 echo "Doing pdf in fastjar"; \
8539 (cd $(HOST_SUBDIR)/fastjar && \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8544 pdf) \
8545 || exit 1
8547 @endif fastjar
8549 .PHONY: maybe-html-fastjar html-fastjar
8550 maybe-html-fastjar:
8551 @if fastjar
8552 maybe-html-fastjar: html-fastjar
8554 html-fastjar: \
8555 configure-fastjar
8556 @: $(MAKE); $(unstage)
8557 @[ -f ./fastjar/Makefile ] || exit 0; \
8558 r=`${PWD_COMMAND}`; export r; \
8559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 $(HOST_EXPORTS) \
8561 for flag in $(EXTRA_HOST_FLAGS) ; do \
8562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8563 done; \
8564 echo "Doing html in fastjar"; \
8565 (cd $(HOST_SUBDIR)/fastjar && \
8566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8568 "RANLIB=$${RANLIB}" \
8569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8570 html) \
8571 || exit 1
8573 @endif fastjar
8575 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8576 maybe-TAGS-fastjar:
8577 @if fastjar
8578 maybe-TAGS-fastjar: TAGS-fastjar
8580 TAGS-fastjar: \
8581 configure-fastjar
8582 @: $(MAKE); $(unstage)
8583 @[ -f ./fastjar/Makefile ] || exit 0; \
8584 r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 $(HOST_EXPORTS) \
8587 for flag in $(EXTRA_HOST_FLAGS) ; do \
8588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8589 done; \
8590 echo "Doing TAGS in fastjar"; \
8591 (cd $(HOST_SUBDIR)/fastjar && \
8592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8594 "RANLIB=$${RANLIB}" \
8595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8596 TAGS) \
8597 || exit 1
8599 @endif fastjar
8601 .PHONY: maybe-install-info-fastjar install-info-fastjar
8602 maybe-install-info-fastjar:
8603 @if fastjar
8604 maybe-install-info-fastjar: install-info-fastjar
8606 install-info-fastjar: \
8607 configure-fastjar \
8608 info-fastjar
8609 @: $(MAKE); $(unstage)
8610 @[ -f ./fastjar/Makefile ] || exit 0; \
8611 r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(HOST_EXPORTS) \
8614 for flag in $(EXTRA_HOST_FLAGS) ; do \
8615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8616 done; \
8617 echo "Doing install-info in fastjar"; \
8618 (cd $(HOST_SUBDIR)/fastjar && \
8619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8621 "RANLIB=$${RANLIB}" \
8622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8623 install-info) \
8624 || exit 1
8626 @endif fastjar
8628 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8629 maybe-install-pdf-fastjar:
8630 @if fastjar
8631 maybe-install-pdf-fastjar: install-pdf-fastjar
8633 install-pdf-fastjar: \
8634 configure-fastjar \
8635 pdf-fastjar
8636 @: $(MAKE); $(unstage)
8637 @[ -f ./fastjar/Makefile ] || exit 0; \
8638 r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 $(HOST_EXPORTS) \
8641 for flag in $(EXTRA_HOST_FLAGS) ; do \
8642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8643 done; \
8644 echo "Doing install-pdf in fastjar"; \
8645 (cd $(HOST_SUBDIR)/fastjar && \
8646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8648 "RANLIB=$${RANLIB}" \
8649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8650 install-pdf) \
8651 || exit 1
8653 @endif fastjar
8655 .PHONY: maybe-install-html-fastjar install-html-fastjar
8656 maybe-install-html-fastjar:
8657 @if fastjar
8658 maybe-install-html-fastjar: install-html-fastjar
8660 install-html-fastjar: \
8661 configure-fastjar \
8662 html-fastjar
8663 @: $(MAKE); $(unstage)
8664 @[ -f ./fastjar/Makefile ] || exit 0; \
8665 r=`${PWD_COMMAND}`; export r; \
8666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8667 $(HOST_EXPORTS) \
8668 for flag in $(EXTRA_HOST_FLAGS) ; do \
8669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8670 done; \
8671 echo "Doing install-html in fastjar"; \
8672 (cd $(HOST_SUBDIR)/fastjar && \
8673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8675 "RANLIB=$${RANLIB}" \
8676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8677 install-html) \
8678 || exit 1
8680 @endif fastjar
8682 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8683 maybe-installcheck-fastjar:
8684 @if fastjar
8685 maybe-installcheck-fastjar: installcheck-fastjar
8687 installcheck-fastjar: \
8688 configure-fastjar
8689 @: $(MAKE); $(unstage)
8690 @[ -f ./fastjar/Makefile ] || exit 0; \
8691 r=`${PWD_COMMAND}`; export r; \
8692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8693 $(HOST_EXPORTS) \
8694 for flag in $(EXTRA_HOST_FLAGS) ; do \
8695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8696 done; \
8697 echo "Doing installcheck in fastjar"; \
8698 (cd $(HOST_SUBDIR)/fastjar && \
8699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8701 "RANLIB=$${RANLIB}" \
8702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8703 installcheck) \
8704 || exit 1
8706 @endif fastjar
8708 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8709 maybe-mostlyclean-fastjar:
8710 @if fastjar
8711 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8713 mostlyclean-fastjar:
8714 @: $(MAKE); $(unstage)
8715 @[ -f ./fastjar/Makefile ] || exit 0; \
8716 r=`${PWD_COMMAND}`; export r; \
8717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 $(HOST_EXPORTS) \
8719 for flag in $(EXTRA_HOST_FLAGS) ; do \
8720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8721 done; \
8722 echo "Doing mostlyclean in fastjar"; \
8723 (cd $(HOST_SUBDIR)/fastjar && \
8724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8726 "RANLIB=$${RANLIB}" \
8727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8728 mostlyclean) \
8729 || exit 1
8731 @endif fastjar
8733 .PHONY: maybe-clean-fastjar clean-fastjar
8734 maybe-clean-fastjar:
8735 @if fastjar
8736 maybe-clean-fastjar: clean-fastjar
8738 clean-fastjar:
8739 @: $(MAKE); $(unstage)
8740 @[ -f ./fastjar/Makefile ] || exit 0; \
8741 r=`${PWD_COMMAND}`; export r; \
8742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8743 $(HOST_EXPORTS) \
8744 for flag in $(EXTRA_HOST_FLAGS) ; do \
8745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8746 done; \
8747 echo "Doing clean in fastjar"; \
8748 (cd $(HOST_SUBDIR)/fastjar && \
8749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8751 "RANLIB=$${RANLIB}" \
8752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8753 clean) \
8754 || exit 1
8756 @endif fastjar
8758 .PHONY: maybe-distclean-fastjar distclean-fastjar
8759 maybe-distclean-fastjar:
8760 @if fastjar
8761 maybe-distclean-fastjar: distclean-fastjar
8763 distclean-fastjar:
8764 @: $(MAKE); $(unstage)
8765 @[ -f ./fastjar/Makefile ] || exit 0; \
8766 r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 $(HOST_EXPORTS) \
8769 for flag in $(EXTRA_HOST_FLAGS) ; do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8771 done; \
8772 echo "Doing distclean in fastjar"; \
8773 (cd $(HOST_SUBDIR)/fastjar && \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8778 distclean) \
8779 || exit 1
8781 @endif fastjar
8783 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8784 maybe-maintainer-clean-fastjar:
8785 @if fastjar
8786 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8788 maintainer-clean-fastjar:
8789 @: $(MAKE); $(unstage)
8790 @[ -f ./fastjar/Makefile ] || exit 0; \
8791 r=`${PWD_COMMAND}`; export r; \
8792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8793 $(HOST_EXPORTS) \
8794 for flag in $(EXTRA_HOST_FLAGS) ; do \
8795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8796 done; \
8797 echo "Doing maintainer-clean in fastjar"; \
8798 (cd $(HOST_SUBDIR)/fastjar && \
8799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8801 "RANLIB=$${RANLIB}" \
8802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8803 maintainer-clean) \
8804 || exit 1
8806 @endif fastjar
8810 .PHONY: configure-fixincludes maybe-configure-fixincludes
8811 maybe-configure-fixincludes:
8812 @if gcc-bootstrap
8813 configure-fixincludes: stage_current
8814 @endif gcc-bootstrap
8815 @if fixincludes
8816 maybe-configure-fixincludes: configure-fixincludes
8817 configure-fixincludes:
8818 @r=`${PWD_COMMAND}`; export r; \
8819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8820 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8822 $(HOST_EXPORTS) \
8823 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8824 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8825 case $(srcdir) in \
8826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8827 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8829 esac; \
8830 module_srcdir=fixincludes; \
8831 $(SHELL) \
8832 $$s/$$module_srcdir/configure \
8833 --srcdir=$${topdir}/$$module_srcdir \
8834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8835 --target=${target_alias} \
8836 || exit 1
8837 @endif fixincludes
8841 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8842 maybe-configure-stage1-fixincludes:
8843 @if fixincludes-bootstrap
8844 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8845 configure-stage1-fixincludes:
8846 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8848 @r=`${PWD_COMMAND}`; export r; \
8849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8850 TFLAGS="$(STAGE1_TFLAGS)"; \
8851 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8852 $(HOST_EXPORTS) \
8853 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8854 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8855 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8856 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8858 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8859 case $(srcdir) in \
8860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8861 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8863 esac; \
8864 module_srcdir=fixincludes; \
8865 $(SHELL) $$s/$$module_srcdir/configure \
8866 --srcdir=$${topdir}/$$module_srcdir \
8867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8868 --target=${target_alias} \
8870 $(STAGE1_CONFIGURE_FLAGS)
8871 @endif fixincludes-bootstrap
8873 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8874 maybe-configure-stage2-fixincludes:
8875 @if fixincludes-bootstrap
8876 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8877 configure-stage2-fixincludes:
8878 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8880 @r=`${PWD_COMMAND}`; export r; \
8881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8882 TFLAGS="$(STAGE2_TFLAGS)"; \
8883 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8884 $(HOST_EXPORTS) \
8885 $(POSTSTAGE1_HOST_EXPORTS) \
8886 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8887 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8888 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8889 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8891 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8892 case $(srcdir) in \
8893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8894 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8896 esac; \
8897 module_srcdir=fixincludes; \
8898 $(SHELL) $$s/$$module_srcdir/configure \
8899 --srcdir=$${topdir}/$$module_srcdir \
8900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8901 --target=${target_alias} \
8902 --with-build-libsubdir=$(HOST_SUBDIR) \
8903 $(STAGE2_CONFIGURE_FLAGS)
8904 @endif fixincludes-bootstrap
8906 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8907 maybe-configure-stage3-fixincludes:
8908 @if fixincludes-bootstrap
8909 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8910 configure-stage3-fixincludes:
8911 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8913 @r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 TFLAGS="$(STAGE3_TFLAGS)"; \
8916 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8917 $(HOST_EXPORTS) \
8918 $(POSTSTAGE1_HOST_EXPORTS) \
8919 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8920 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8921 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8922 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8924 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8925 case $(srcdir) in \
8926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8927 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8929 esac; \
8930 module_srcdir=fixincludes; \
8931 $(SHELL) $$s/$$module_srcdir/configure \
8932 --srcdir=$${topdir}/$$module_srcdir \
8933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8934 --target=${target_alias} \
8935 --with-build-libsubdir=$(HOST_SUBDIR) \
8936 $(STAGE3_CONFIGURE_FLAGS)
8937 @endif fixincludes-bootstrap
8939 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8940 maybe-configure-stage4-fixincludes:
8941 @if fixincludes-bootstrap
8942 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8943 configure-stage4-fixincludes:
8944 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8946 @r=`${PWD_COMMAND}`; export r; \
8947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8948 TFLAGS="$(STAGE4_TFLAGS)"; \
8949 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8950 $(HOST_EXPORTS) \
8951 $(POSTSTAGE1_HOST_EXPORTS) \
8952 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8953 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8954 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8955 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8957 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8958 case $(srcdir) in \
8959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8960 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8962 esac; \
8963 module_srcdir=fixincludes; \
8964 $(SHELL) $$s/$$module_srcdir/configure \
8965 --srcdir=$${topdir}/$$module_srcdir \
8966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8967 --target=${target_alias} \
8968 --with-build-libsubdir=$(HOST_SUBDIR) \
8969 $(STAGE4_CONFIGURE_FLAGS)
8970 @endif fixincludes-bootstrap
8972 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8973 maybe-configure-stageprofile-fixincludes:
8974 @if fixincludes-bootstrap
8975 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8976 configure-stageprofile-fixincludes:
8977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8979 @r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8982 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8983 $(HOST_EXPORTS) \
8984 $(POSTSTAGE1_HOST_EXPORTS) \
8985 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8986 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8987 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8988 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8990 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8991 case $(srcdir) in \
8992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8993 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8995 esac; \
8996 module_srcdir=fixincludes; \
8997 $(SHELL) $$s/$$module_srcdir/configure \
8998 --srcdir=$${topdir}/$$module_srcdir \
8999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9000 --target=${target_alias} \
9001 --with-build-libsubdir=$(HOST_SUBDIR) \
9002 $(STAGEprofile_CONFIGURE_FLAGS)
9003 @endif fixincludes-bootstrap
9005 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9006 maybe-configure-stagetrain-fixincludes:
9007 @if fixincludes-bootstrap
9008 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9009 configure-stagetrain-fixincludes:
9010 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9012 @r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9015 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9016 $(HOST_EXPORTS) \
9017 $(POSTSTAGE1_HOST_EXPORTS) \
9018 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9019 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9020 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9021 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9023 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9024 case $(srcdir) in \
9025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9026 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9028 esac; \
9029 module_srcdir=fixincludes; \
9030 $(SHELL) $$s/$$module_srcdir/configure \
9031 --srcdir=$${topdir}/$$module_srcdir \
9032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9033 --target=${target_alias} \
9034 --with-build-libsubdir=$(HOST_SUBDIR) \
9035 $(STAGEtrain_CONFIGURE_FLAGS)
9036 @endif fixincludes-bootstrap
9038 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9039 maybe-configure-stagefeedback-fixincludes:
9040 @if fixincludes-bootstrap
9041 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9042 configure-stagefeedback-fixincludes:
9043 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9045 @r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9048 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9049 $(HOST_EXPORTS) \
9050 $(POSTSTAGE1_HOST_EXPORTS) \
9051 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9052 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9053 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9054 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9056 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9057 case $(srcdir) in \
9058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9059 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9061 esac; \
9062 module_srcdir=fixincludes; \
9063 $(SHELL) $$s/$$module_srcdir/configure \
9064 --srcdir=$${topdir}/$$module_srcdir \
9065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9066 --target=${target_alias} \
9067 --with-build-libsubdir=$(HOST_SUBDIR) \
9068 $(STAGEfeedback_CONFIGURE_FLAGS)
9069 @endif fixincludes-bootstrap
9071 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9072 maybe-configure-stageautoprofile-fixincludes:
9073 @if fixincludes-bootstrap
9074 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9075 configure-stageautoprofile-fixincludes:
9076 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9078 @r=`${PWD_COMMAND}`; export r; \
9079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9081 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9082 $(HOST_EXPORTS) \
9083 $(POSTSTAGE1_HOST_EXPORTS) \
9084 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9085 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9086 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9087 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9089 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9090 case $(srcdir) in \
9091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9092 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9094 esac; \
9095 module_srcdir=fixincludes; \
9096 $(SHELL) $$s/$$module_srcdir/configure \
9097 --srcdir=$${topdir}/$$module_srcdir \
9098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9099 --target=${target_alias} \
9100 --with-build-libsubdir=$(HOST_SUBDIR) \
9101 $(STAGEautoprofile_CONFIGURE_FLAGS)
9102 @endif fixincludes-bootstrap
9104 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9105 maybe-configure-stageautofeedback-fixincludes:
9106 @if fixincludes-bootstrap
9107 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9108 configure-stageautofeedback-fixincludes:
9109 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9111 @r=`${PWD_COMMAND}`; export r; \
9112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9113 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9114 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9115 $(HOST_EXPORTS) \
9116 $(POSTSTAGE1_HOST_EXPORTS) \
9117 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9118 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9119 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9120 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9122 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9123 case $(srcdir) in \
9124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9125 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9127 esac; \
9128 module_srcdir=fixincludes; \
9129 $(SHELL) $$s/$$module_srcdir/configure \
9130 --srcdir=$${topdir}/$$module_srcdir \
9131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9132 --target=${target_alias} \
9133 --with-build-libsubdir=$(HOST_SUBDIR) \
9134 $(STAGEautofeedback_CONFIGURE_FLAGS)
9135 @endif fixincludes-bootstrap
9141 .PHONY: all-fixincludes maybe-all-fixincludes
9142 maybe-all-fixincludes:
9143 @if gcc-bootstrap
9144 all-fixincludes: stage_current
9145 @endif gcc-bootstrap
9146 @if fixincludes
9147 TARGET-fixincludes=all
9148 maybe-all-fixincludes: all-fixincludes
9149 all-fixincludes: configure-fixincludes
9150 @r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 $(HOST_EXPORTS) \
9153 (cd $(HOST_SUBDIR)/fixincludes && \
9154 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9155 $(TARGET-fixincludes))
9156 @endif fixincludes
9160 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9161 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9162 maybe-all-stage1-fixincludes:
9163 maybe-clean-stage1-fixincludes:
9164 @if fixincludes-bootstrap
9165 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9166 all-stage1: all-stage1-fixincludes
9167 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9168 all-stage1-fixincludes: configure-stage1-fixincludes
9169 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 TFLAGS="$(STAGE1_TFLAGS)"; \
9173 $(HOST_EXPORTS) \
9174 cd $(HOST_SUBDIR)/fixincludes && \
9176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9177 CFLAGS="$(STAGE1_CFLAGS)" \
9178 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9179 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9180 LIBCFLAGS="$(LIBCFLAGS)" \
9181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9184 $(EXTRA_HOST_FLAGS) \
9185 $(STAGE1_FLAGS_TO_PASS) \
9186 TFLAGS="$(STAGE1_TFLAGS)" \
9187 $(TARGET-stage1-fixincludes)
9189 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9190 clean-stage1: clean-stage1-fixincludes
9191 clean-stage1-fixincludes:
9192 @if [ $(current_stage) = stage1 ]; then \
9193 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9194 else \
9195 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9196 $(MAKE) stage1-start; \
9197 fi; \
9198 cd $(HOST_SUBDIR)/fixincludes && \
9199 $(MAKE) $(EXTRA_HOST_FLAGS) \
9200 $(STAGE1_FLAGS_TO_PASS) clean
9201 @endif fixincludes-bootstrap
9204 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9205 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9206 maybe-all-stage2-fixincludes:
9207 maybe-clean-stage2-fixincludes:
9208 @if fixincludes-bootstrap
9209 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9210 all-stage2: all-stage2-fixincludes
9211 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9212 all-stage2-fixincludes: configure-stage2-fixincludes
9213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9214 @r=`${PWD_COMMAND}`; export r; \
9215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9216 TFLAGS="$(STAGE2_TFLAGS)"; \
9217 $(HOST_EXPORTS) \
9218 $(POSTSTAGE1_HOST_EXPORTS) \
9219 cd $(HOST_SUBDIR)/fixincludes && \
9221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9222 CFLAGS="$(STAGE2_CFLAGS)" \
9223 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9224 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9225 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9230 TFLAGS="$(STAGE2_TFLAGS)" \
9231 $(TARGET-stage2-fixincludes)
9233 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9234 clean-stage2: clean-stage2-fixincludes
9235 clean-stage2-fixincludes:
9236 @if [ $(current_stage) = stage2 ]; then \
9237 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9238 else \
9239 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9240 $(MAKE) stage2-start; \
9241 fi; \
9242 cd $(HOST_SUBDIR)/fixincludes && \
9243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9244 @endif fixincludes-bootstrap
9247 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9248 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9249 maybe-all-stage3-fixincludes:
9250 maybe-clean-stage3-fixincludes:
9251 @if fixincludes-bootstrap
9252 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9253 all-stage3: all-stage3-fixincludes
9254 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9255 all-stage3-fixincludes: configure-stage3-fixincludes
9256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9257 @r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259 TFLAGS="$(STAGE3_TFLAGS)"; \
9260 $(HOST_EXPORTS) \
9261 $(POSTSTAGE1_HOST_EXPORTS) \
9262 cd $(HOST_SUBDIR)/fixincludes && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9265 CFLAGS="$(STAGE3_CFLAGS)" \
9266 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9267 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9268 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9272 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9273 TFLAGS="$(STAGE3_TFLAGS)" \
9274 $(TARGET-stage3-fixincludes)
9276 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9277 clean-stage3: clean-stage3-fixincludes
9278 clean-stage3-fixincludes:
9279 @if [ $(current_stage) = stage3 ]; then \
9280 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9281 else \
9282 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9283 $(MAKE) stage3-start; \
9284 fi; \
9285 cd $(HOST_SUBDIR)/fixincludes && \
9286 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9287 @endif fixincludes-bootstrap
9290 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9291 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9292 maybe-all-stage4-fixincludes:
9293 maybe-clean-stage4-fixincludes:
9294 @if fixincludes-bootstrap
9295 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9296 all-stage4: all-stage4-fixincludes
9297 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9298 all-stage4-fixincludes: configure-stage4-fixincludes
9299 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9300 @r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 TFLAGS="$(STAGE4_TFLAGS)"; \
9303 $(HOST_EXPORTS) \
9304 $(POSTSTAGE1_HOST_EXPORTS) \
9305 cd $(HOST_SUBDIR)/fixincludes && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9308 CFLAGS="$(STAGE4_CFLAGS)" \
9309 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9310 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9311 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9316 TFLAGS="$(STAGE4_TFLAGS)" \
9317 $(TARGET-stage4-fixincludes)
9319 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9320 clean-stage4: clean-stage4-fixincludes
9321 clean-stage4-fixincludes:
9322 @if [ $(current_stage) = stage4 ]; then \
9323 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9324 else \
9325 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9326 $(MAKE) stage4-start; \
9327 fi; \
9328 cd $(HOST_SUBDIR)/fixincludes && \
9329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9330 @endif fixincludes-bootstrap
9333 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9334 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9335 maybe-all-stageprofile-fixincludes:
9336 maybe-clean-stageprofile-fixincludes:
9337 @if fixincludes-bootstrap
9338 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9339 all-stageprofile: all-stageprofile-fixincludes
9340 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9341 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9343 @r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9345 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9346 $(HOST_EXPORTS) \
9347 $(POSTSTAGE1_HOST_EXPORTS) \
9348 cd $(HOST_SUBDIR)/fixincludes && \
9350 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9351 CFLAGS="$(STAGEprofile_CFLAGS)" \
9352 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9353 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9354 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9359 TFLAGS="$(STAGEprofile_TFLAGS)" \
9360 $(TARGET-stageprofile-fixincludes)
9362 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9363 clean-stageprofile: clean-stageprofile-fixincludes
9364 clean-stageprofile-fixincludes:
9365 @if [ $(current_stage) = stageprofile ]; then \
9366 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9367 else \
9368 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9369 $(MAKE) stageprofile-start; \
9370 fi; \
9371 cd $(HOST_SUBDIR)/fixincludes && \
9372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9373 @endif fixincludes-bootstrap
9376 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9377 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9378 maybe-all-stagetrain-fixincludes:
9379 maybe-clean-stagetrain-fixincludes:
9380 @if fixincludes-bootstrap
9381 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9382 all-stagetrain: all-stagetrain-fixincludes
9383 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9384 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9385 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9386 @r=`${PWD_COMMAND}`; export r; \
9387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9388 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9389 $(HOST_EXPORTS) \
9390 $(POSTSTAGE1_HOST_EXPORTS) \
9391 cd $(HOST_SUBDIR)/fixincludes && \
9393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9394 CFLAGS="$(STAGEtrain_CFLAGS)" \
9395 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9396 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9397 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9402 TFLAGS="$(STAGEtrain_TFLAGS)" \
9403 $(TARGET-stagetrain-fixincludes)
9405 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9406 clean-stagetrain: clean-stagetrain-fixincludes
9407 clean-stagetrain-fixincludes:
9408 @if [ $(current_stage) = stagetrain ]; then \
9409 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9410 else \
9411 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9412 $(MAKE) stagetrain-start; \
9413 fi; \
9414 cd $(HOST_SUBDIR)/fixincludes && \
9415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9416 @endif fixincludes-bootstrap
9419 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9420 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9421 maybe-all-stagefeedback-fixincludes:
9422 maybe-clean-stagefeedback-fixincludes:
9423 @if fixincludes-bootstrap
9424 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9425 all-stagefeedback: all-stagefeedback-fixincludes
9426 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9427 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9428 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9429 @r=`${PWD_COMMAND}`; export r; \
9430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9431 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9432 $(HOST_EXPORTS) \
9433 $(POSTSTAGE1_HOST_EXPORTS) \
9434 cd $(HOST_SUBDIR)/fixincludes && \
9436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9437 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9438 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9439 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9440 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9444 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9445 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9446 $(TARGET-stagefeedback-fixincludes)
9448 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9449 clean-stagefeedback: clean-stagefeedback-fixincludes
9450 clean-stagefeedback-fixincludes:
9451 @if [ $(current_stage) = stagefeedback ]; then \
9452 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9453 else \
9454 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9455 $(MAKE) stagefeedback-start; \
9456 fi; \
9457 cd $(HOST_SUBDIR)/fixincludes && \
9458 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9459 @endif fixincludes-bootstrap
9462 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9463 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9464 maybe-all-stageautoprofile-fixincludes:
9465 maybe-clean-stageautoprofile-fixincludes:
9466 @if fixincludes-bootstrap
9467 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9468 all-stageautoprofile: all-stageautoprofile-fixincludes
9469 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9470 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9471 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9472 @r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9475 $(HOST_EXPORTS) \
9476 $(POSTSTAGE1_HOST_EXPORTS) \
9477 cd $(HOST_SUBDIR)/fixincludes && \
9478 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9480 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9481 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9482 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9483 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9488 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9489 $(TARGET-stageautoprofile-fixincludes)
9491 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9492 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9493 clean-stageautoprofile-fixincludes:
9494 @if [ $(current_stage) = stageautoprofile ]; then \
9495 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9496 else \
9497 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9498 $(MAKE) stageautoprofile-start; \
9499 fi; \
9500 cd $(HOST_SUBDIR)/fixincludes && \
9501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9502 @endif fixincludes-bootstrap
9505 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9506 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9507 maybe-all-stageautofeedback-fixincludes:
9508 maybe-clean-stageautofeedback-fixincludes:
9509 @if fixincludes-bootstrap
9510 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9511 all-stageautofeedback: all-stageautofeedback-fixincludes
9512 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9513 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9514 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9515 @r=`${PWD_COMMAND}`; export r; \
9516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9518 $(HOST_EXPORTS) \
9519 $(POSTSTAGE1_HOST_EXPORTS) \
9520 cd $(HOST_SUBDIR)/fixincludes && \
9522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9523 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9524 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9525 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9526 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9530 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9531 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9532 $(TARGET-stageautofeedback-fixincludes)
9534 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9535 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9536 clean-stageautofeedback-fixincludes:
9537 @if [ $(current_stage) = stageautofeedback ]; then \
9538 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9539 else \
9540 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9541 $(MAKE) stageautofeedback-start; \
9542 fi; \
9543 cd $(HOST_SUBDIR)/fixincludes && \
9544 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9545 @endif fixincludes-bootstrap
9551 .PHONY: check-fixincludes maybe-check-fixincludes
9552 maybe-check-fixincludes:
9553 @if fixincludes
9554 maybe-check-fixincludes: check-fixincludes
9556 check-fixincludes:
9557 @: $(MAKE); $(unstage)
9558 @r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9561 (cd $(HOST_SUBDIR)/fixincludes && \
9562 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9564 @endif fixincludes
9566 .PHONY: install-fixincludes maybe-install-fixincludes
9567 maybe-install-fixincludes:
9568 @if fixincludes
9569 maybe-install-fixincludes: install-fixincludes
9571 install-fixincludes: installdirs
9572 @: $(MAKE); $(unstage)
9573 @r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 $(HOST_EXPORTS) \
9576 (cd $(HOST_SUBDIR)/fixincludes && \
9577 $(MAKE) $(FLAGS_TO_PASS) install)
9579 @endif fixincludes
9581 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9582 maybe-install-strip-fixincludes:
9583 @if fixincludes
9584 maybe-install-strip-fixincludes: install-strip-fixincludes
9586 install-strip-fixincludes: installdirs
9587 @: $(MAKE); $(unstage)
9588 @r=`${PWD_COMMAND}`; export r; \
9589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9590 $(HOST_EXPORTS) \
9591 (cd $(HOST_SUBDIR)/fixincludes && \
9592 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9594 @endif fixincludes
9596 # Other targets (info, dvi, pdf, etc.)
9598 .PHONY: maybe-info-fixincludes info-fixincludes
9599 maybe-info-fixincludes:
9600 @if fixincludes
9601 maybe-info-fixincludes: info-fixincludes
9603 info-fixincludes: \
9604 configure-fixincludes
9605 @[ -f ./fixincludes/Makefile ] || exit 0; \
9606 r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 $(HOST_EXPORTS) \
9609 for flag in $(EXTRA_HOST_FLAGS) ; do \
9610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9611 done; \
9612 echo "Doing info in fixincludes"; \
9613 (cd $(HOST_SUBDIR)/fixincludes && \
9614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9616 "RANLIB=$${RANLIB}" \
9617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9618 info) \
9619 || exit 1
9621 @endif fixincludes
9623 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9624 maybe-dvi-fixincludes:
9625 @if fixincludes
9626 maybe-dvi-fixincludes: dvi-fixincludes
9628 dvi-fixincludes: \
9629 configure-fixincludes
9630 @[ -f ./fixincludes/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing dvi in fixincludes"; \
9638 (cd $(HOST_SUBDIR)/fixincludes && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9643 dvi) \
9644 || exit 1
9646 @endif fixincludes
9648 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9649 maybe-pdf-fixincludes:
9650 @if fixincludes
9651 maybe-pdf-fixincludes: pdf-fixincludes
9653 pdf-fixincludes: \
9654 configure-fixincludes
9655 @[ -f ./fixincludes/Makefile ] || exit 0; \
9656 r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658 $(HOST_EXPORTS) \
9659 for flag in $(EXTRA_HOST_FLAGS) ; do \
9660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9661 done; \
9662 echo "Doing pdf in fixincludes"; \
9663 (cd $(HOST_SUBDIR)/fixincludes && \
9664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9666 "RANLIB=$${RANLIB}" \
9667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9668 pdf) \
9669 || exit 1
9671 @endif fixincludes
9673 .PHONY: maybe-html-fixincludes html-fixincludes
9674 maybe-html-fixincludes:
9675 @if fixincludes
9676 maybe-html-fixincludes: html-fixincludes
9678 html-fixincludes: \
9679 configure-fixincludes
9680 @[ -f ./fixincludes/Makefile ] || exit 0; \
9681 r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 $(HOST_EXPORTS) \
9684 for flag in $(EXTRA_HOST_FLAGS) ; do \
9685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9686 done; \
9687 echo "Doing html in fixincludes"; \
9688 (cd $(HOST_SUBDIR)/fixincludes && \
9689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9691 "RANLIB=$${RANLIB}" \
9692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9693 html) \
9694 || exit 1
9696 @endif fixincludes
9698 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9699 maybe-TAGS-fixincludes:
9700 @if fixincludes
9701 maybe-TAGS-fixincludes: TAGS-fixincludes
9703 # fixincludes doesn't support TAGS.
9704 TAGS-fixincludes:
9706 @endif fixincludes
9708 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9709 maybe-install-info-fixincludes:
9710 @if fixincludes
9711 maybe-install-info-fixincludes: install-info-fixincludes
9713 install-info-fixincludes: \
9714 configure-fixincludes \
9715 info-fixincludes
9716 @[ -f ./fixincludes/Makefile ] || exit 0; \
9717 r=`${PWD_COMMAND}`; export r; \
9718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9719 $(HOST_EXPORTS) \
9720 for flag in $(EXTRA_HOST_FLAGS) ; do \
9721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9722 done; \
9723 echo "Doing install-info in fixincludes"; \
9724 (cd $(HOST_SUBDIR)/fixincludes && \
9725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9727 "RANLIB=$${RANLIB}" \
9728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9729 install-info) \
9730 || exit 1
9732 @endif fixincludes
9734 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9735 maybe-install-pdf-fixincludes:
9736 @if fixincludes
9737 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9739 install-pdf-fixincludes: \
9740 configure-fixincludes \
9741 pdf-fixincludes
9742 @[ -f ./fixincludes/Makefile ] || exit 0; \
9743 r=`${PWD_COMMAND}`; export r; \
9744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9745 $(HOST_EXPORTS) \
9746 for flag in $(EXTRA_HOST_FLAGS) ; do \
9747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9748 done; \
9749 echo "Doing install-pdf in fixincludes"; \
9750 (cd $(HOST_SUBDIR)/fixincludes && \
9751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9753 "RANLIB=$${RANLIB}" \
9754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9755 install-pdf) \
9756 || exit 1
9758 @endif fixincludes
9760 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9761 maybe-install-html-fixincludes:
9762 @if fixincludes
9763 maybe-install-html-fixincludes: install-html-fixincludes
9765 install-html-fixincludes: \
9766 configure-fixincludes \
9767 html-fixincludes
9768 @[ -f ./fixincludes/Makefile ] || exit 0; \
9769 r=`${PWD_COMMAND}`; export r; \
9770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9771 $(HOST_EXPORTS) \
9772 for flag in $(EXTRA_HOST_FLAGS) ; do \
9773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9774 done; \
9775 echo "Doing install-html in fixincludes"; \
9776 (cd $(HOST_SUBDIR)/fixincludes && \
9777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9779 "RANLIB=$${RANLIB}" \
9780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9781 install-html) \
9782 || exit 1
9784 @endif fixincludes
9786 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9787 maybe-installcheck-fixincludes:
9788 @if fixincludes
9789 maybe-installcheck-fixincludes: installcheck-fixincludes
9791 installcheck-fixincludes: \
9792 configure-fixincludes
9793 @[ -f ./fixincludes/Makefile ] || exit 0; \
9794 r=`${PWD_COMMAND}`; export r; \
9795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9796 $(HOST_EXPORTS) \
9797 for flag in $(EXTRA_HOST_FLAGS) ; do \
9798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9799 done; \
9800 echo "Doing installcheck in fixincludes"; \
9801 (cd $(HOST_SUBDIR)/fixincludes && \
9802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9804 "RANLIB=$${RANLIB}" \
9805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9806 installcheck) \
9807 || exit 1
9809 @endif fixincludes
9811 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9812 maybe-mostlyclean-fixincludes:
9813 @if fixincludes
9814 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9816 mostlyclean-fixincludes:
9817 @[ -f ./fixincludes/Makefile ] || exit 0; \
9818 r=`${PWD_COMMAND}`; export r; \
9819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9820 $(HOST_EXPORTS) \
9821 for flag in $(EXTRA_HOST_FLAGS) ; do \
9822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9823 done; \
9824 echo "Doing mostlyclean in fixincludes"; \
9825 (cd $(HOST_SUBDIR)/fixincludes && \
9826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9828 "RANLIB=$${RANLIB}" \
9829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9830 mostlyclean) \
9831 || exit 1
9833 @endif fixincludes
9835 .PHONY: maybe-clean-fixincludes clean-fixincludes
9836 maybe-clean-fixincludes:
9837 @if fixincludes
9838 maybe-clean-fixincludes: clean-fixincludes
9840 clean-fixincludes:
9841 @[ -f ./fixincludes/Makefile ] || exit 0; \
9842 r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9844 $(HOST_EXPORTS) \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9847 done; \
9848 echo "Doing clean in fixincludes"; \
9849 (cd $(HOST_SUBDIR)/fixincludes && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9854 clean) \
9855 || exit 1
9857 @endif fixincludes
9859 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9860 maybe-distclean-fixincludes:
9861 @if fixincludes
9862 maybe-distclean-fixincludes: distclean-fixincludes
9864 distclean-fixincludes:
9865 @[ -f ./fixincludes/Makefile ] || exit 0; \
9866 r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 $(HOST_EXPORTS) \
9869 for flag in $(EXTRA_HOST_FLAGS) ; do \
9870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9871 done; \
9872 echo "Doing distclean in fixincludes"; \
9873 (cd $(HOST_SUBDIR)/fixincludes && \
9874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9876 "RANLIB=$${RANLIB}" \
9877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9878 distclean) \
9879 || exit 1
9881 @endif fixincludes
9883 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9884 maybe-maintainer-clean-fixincludes:
9885 @if fixincludes
9886 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9888 maintainer-clean-fixincludes:
9889 @[ -f ./fixincludes/Makefile ] || exit 0; \
9890 r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892 $(HOST_EXPORTS) \
9893 for flag in $(EXTRA_HOST_FLAGS) ; do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9895 done; \
9896 echo "Doing maintainer-clean in fixincludes"; \
9897 (cd $(HOST_SUBDIR)/fixincludes && \
9898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9900 "RANLIB=$${RANLIB}" \
9901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9902 maintainer-clean) \
9903 || exit 1
9905 @endif fixincludes
9909 .PHONY: configure-flex maybe-configure-flex
9910 maybe-configure-flex:
9911 @if gcc-bootstrap
9912 configure-flex: stage_current
9913 @endif gcc-bootstrap
9914 @if flex
9915 maybe-configure-flex: configure-flex
9916 configure-flex:
9917 @: $(MAKE); $(unstage)
9918 @r=`${PWD_COMMAND}`; export r; \
9919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9922 $(HOST_EXPORTS) \
9923 echo Configuring in $(HOST_SUBDIR)/flex; \
9924 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9925 case $(srcdir) in \
9926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9927 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9929 esac; \
9930 module_srcdir=flex; \
9931 $(SHELL) \
9932 $$s/$$module_srcdir/configure \
9933 --srcdir=$${topdir}/$$module_srcdir \
9934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9935 --target=${target_alias} \
9936 || exit 1
9937 @endif flex
9943 .PHONY: all-flex maybe-all-flex
9944 maybe-all-flex:
9945 @if gcc-bootstrap
9946 all-flex: stage_current
9947 @endif gcc-bootstrap
9948 @if flex
9949 TARGET-flex=all
9950 maybe-all-flex: all-flex
9951 all-flex: configure-flex
9952 @: $(MAKE); $(unstage)
9953 @r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9955 $(HOST_EXPORTS) \
9956 (cd $(HOST_SUBDIR)/flex && \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9958 $(TARGET-flex))
9959 @endif flex
9964 .PHONY: check-flex maybe-check-flex
9965 maybe-check-flex:
9966 @if flex
9967 maybe-check-flex: check-flex
9969 # This module is only tested in a native toolchain.
9970 check-flex:
9971 @: $(MAKE); $(unstage)
9972 @if [ '$(host)' = '$(target)' ]; then \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 (cd $(HOST_SUBDIR)/flex && \
9977 $(MAKE) $(FLAGS_TO_PASS) check)
9980 @endif flex
9982 .PHONY: install-flex maybe-install-flex
9983 maybe-install-flex:
9984 @if flex
9985 maybe-install-flex: install-flex
9987 install-flex: installdirs
9988 @: $(MAKE); $(unstage)
9989 @r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 (cd $(HOST_SUBDIR)/flex && \
9993 $(MAKE) $(FLAGS_TO_PASS) install)
9995 @endif flex
9997 .PHONY: install-strip-flex maybe-install-strip-flex
9998 maybe-install-strip-flex:
9999 @if flex
10000 maybe-install-strip-flex: install-strip-flex
10002 install-strip-flex: installdirs
10003 @: $(MAKE); $(unstage)
10004 @r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 (cd $(HOST_SUBDIR)/flex && \
10008 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10010 @endif flex
10012 # Other targets (info, dvi, pdf, etc.)
10014 .PHONY: maybe-info-flex info-flex
10015 maybe-info-flex:
10016 @if flex
10017 maybe-info-flex: info-flex
10019 info-flex: \
10020 configure-flex
10021 @: $(MAKE); $(unstage)
10022 @[ -f ./flex/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(HOST_EXPORTS) \
10026 for flag in $(EXTRA_HOST_FLAGS) ; do \
10027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10028 done; \
10029 echo "Doing info in flex"; \
10030 (cd $(HOST_SUBDIR)/flex && \
10031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10033 "RANLIB=$${RANLIB}" \
10034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10035 info) \
10036 || exit 1
10038 @endif flex
10040 .PHONY: maybe-dvi-flex dvi-flex
10041 maybe-dvi-flex:
10042 @if flex
10043 maybe-dvi-flex: dvi-flex
10045 dvi-flex: \
10046 configure-flex
10047 @: $(MAKE); $(unstage)
10048 @[ -f ./flex/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing dvi in flex"; \
10056 (cd $(HOST_SUBDIR)/flex && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10061 dvi) \
10062 || exit 1
10064 @endif flex
10066 .PHONY: maybe-pdf-flex pdf-flex
10067 maybe-pdf-flex:
10068 @if flex
10069 maybe-pdf-flex: pdf-flex
10071 pdf-flex: \
10072 configure-flex
10073 @: $(MAKE); $(unstage)
10074 @[ -f ./flex/Makefile ] || exit 0; \
10075 r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 for flag in $(EXTRA_HOST_FLAGS) ; do \
10079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 done; \
10081 echo "Doing pdf in flex"; \
10082 (cd $(HOST_SUBDIR)/flex && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10087 pdf) \
10088 || exit 1
10090 @endif flex
10092 .PHONY: maybe-html-flex html-flex
10093 maybe-html-flex:
10094 @if flex
10095 maybe-html-flex: html-flex
10097 html-flex: \
10098 configure-flex
10099 @: $(MAKE); $(unstage)
10100 @[ -f ./flex/Makefile ] || exit 0; \
10101 r=`${PWD_COMMAND}`; export r; \
10102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10103 $(HOST_EXPORTS) \
10104 for flag in $(EXTRA_HOST_FLAGS) ; do \
10105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10106 done; \
10107 echo "Doing html in flex"; \
10108 (cd $(HOST_SUBDIR)/flex && \
10109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10111 "RANLIB=$${RANLIB}" \
10112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10113 html) \
10114 || exit 1
10116 @endif flex
10118 .PHONY: maybe-TAGS-flex TAGS-flex
10119 maybe-TAGS-flex:
10120 @if flex
10121 maybe-TAGS-flex: TAGS-flex
10123 TAGS-flex: \
10124 configure-flex
10125 @: $(MAKE); $(unstage)
10126 @[ -f ./flex/Makefile ] || exit 0; \
10127 r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10129 $(HOST_EXPORTS) \
10130 for flag in $(EXTRA_HOST_FLAGS) ; do \
10131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10132 done; \
10133 echo "Doing TAGS in flex"; \
10134 (cd $(HOST_SUBDIR)/flex && \
10135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10137 "RANLIB=$${RANLIB}" \
10138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10139 TAGS) \
10140 || exit 1
10142 @endif flex
10144 .PHONY: maybe-install-info-flex install-info-flex
10145 maybe-install-info-flex:
10146 @if flex
10147 maybe-install-info-flex: install-info-flex
10149 install-info-flex: \
10150 configure-flex \
10151 info-flex
10152 @: $(MAKE); $(unstage)
10153 @[ -f ./flex/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing install-info in flex"; \
10161 (cd $(HOST_SUBDIR)/flex && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10166 install-info) \
10167 || exit 1
10169 @endif flex
10171 .PHONY: maybe-install-pdf-flex install-pdf-flex
10172 maybe-install-pdf-flex:
10173 @if flex
10174 maybe-install-pdf-flex: install-pdf-flex
10176 install-pdf-flex: \
10177 configure-flex \
10178 pdf-flex
10179 @: $(MAKE); $(unstage)
10180 @[ -f ./flex/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10183 $(HOST_EXPORTS) \
10184 for flag in $(EXTRA_HOST_FLAGS) ; do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10186 done; \
10187 echo "Doing install-pdf in flex"; \
10188 (cd $(HOST_SUBDIR)/flex && \
10189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10191 "RANLIB=$${RANLIB}" \
10192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10193 install-pdf) \
10194 || exit 1
10196 @endif flex
10198 .PHONY: maybe-install-html-flex install-html-flex
10199 maybe-install-html-flex:
10200 @if flex
10201 maybe-install-html-flex: install-html-flex
10203 install-html-flex: \
10204 configure-flex \
10205 html-flex
10206 @: $(MAKE); $(unstage)
10207 @[ -f ./flex/Makefile ] || exit 0; \
10208 r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 $(HOST_EXPORTS) \
10211 for flag in $(EXTRA_HOST_FLAGS) ; do \
10212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10213 done; \
10214 echo "Doing install-html in flex"; \
10215 (cd $(HOST_SUBDIR)/flex && \
10216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10218 "RANLIB=$${RANLIB}" \
10219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10220 install-html) \
10221 || exit 1
10223 @endif flex
10225 .PHONY: maybe-installcheck-flex installcheck-flex
10226 maybe-installcheck-flex:
10227 @if flex
10228 maybe-installcheck-flex: installcheck-flex
10230 installcheck-flex: \
10231 configure-flex
10232 @: $(MAKE); $(unstage)
10233 @[ -f ./flex/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing installcheck in flex"; \
10241 (cd $(HOST_SUBDIR)/flex && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10246 installcheck) \
10247 || exit 1
10249 @endif flex
10251 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10252 maybe-mostlyclean-flex:
10253 @if flex
10254 maybe-mostlyclean-flex: mostlyclean-flex
10256 mostlyclean-flex:
10257 @: $(MAKE); $(unstage)
10258 @[ -f ./flex/Makefile ] || exit 0; \
10259 r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 $(HOST_EXPORTS) \
10262 for flag in $(EXTRA_HOST_FLAGS) ; do \
10263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10264 done; \
10265 echo "Doing mostlyclean in flex"; \
10266 (cd $(HOST_SUBDIR)/flex && \
10267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10269 "RANLIB=$${RANLIB}" \
10270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10271 mostlyclean) \
10272 || exit 1
10274 @endif flex
10276 .PHONY: maybe-clean-flex clean-flex
10277 maybe-clean-flex:
10278 @if flex
10279 maybe-clean-flex: clean-flex
10281 clean-flex:
10282 @: $(MAKE); $(unstage)
10283 @[ -f ./flex/Makefile ] || exit 0; \
10284 r=`${PWD_COMMAND}`; export r; \
10285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 $(HOST_EXPORTS) \
10287 for flag in $(EXTRA_HOST_FLAGS) ; do \
10288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10289 done; \
10290 echo "Doing clean in flex"; \
10291 (cd $(HOST_SUBDIR)/flex && \
10292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10294 "RANLIB=$${RANLIB}" \
10295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10296 clean) \
10297 || exit 1
10299 @endif flex
10301 .PHONY: maybe-distclean-flex distclean-flex
10302 maybe-distclean-flex:
10303 @if flex
10304 maybe-distclean-flex: distclean-flex
10306 distclean-flex:
10307 @: $(MAKE); $(unstage)
10308 @[ -f ./flex/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing distclean in flex"; \
10316 (cd $(HOST_SUBDIR)/flex && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10321 distclean) \
10322 || exit 1
10324 @endif flex
10326 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10327 maybe-maintainer-clean-flex:
10328 @if flex
10329 maybe-maintainer-clean-flex: maintainer-clean-flex
10331 maintainer-clean-flex:
10332 @: $(MAKE); $(unstage)
10333 @[ -f ./flex/Makefile ] || exit 0; \
10334 r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(HOST_EXPORTS) \
10337 for flag in $(EXTRA_HOST_FLAGS) ; do \
10338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10339 done; \
10340 echo "Doing maintainer-clean in flex"; \
10341 (cd $(HOST_SUBDIR)/flex && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10344 "RANLIB=$${RANLIB}" \
10345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10346 maintainer-clean) \
10347 || exit 1
10349 @endif flex
10353 .PHONY: configure-gas maybe-configure-gas
10354 maybe-configure-gas:
10355 @if gcc-bootstrap
10356 configure-gas: stage_current
10357 @endif gcc-bootstrap
10358 @if gas
10359 maybe-configure-gas: configure-gas
10360 configure-gas:
10361 @r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10365 $(HOST_EXPORTS) \
10366 echo Configuring in $(HOST_SUBDIR)/gas; \
10367 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10368 case $(srcdir) in \
10369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10370 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10372 esac; \
10373 module_srcdir=gas; \
10374 $(SHELL) \
10375 $$s/$$module_srcdir/configure \
10376 --srcdir=$${topdir}/$$module_srcdir \
10377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10378 --target=${target_alias} \
10379 || exit 1
10380 @endif gas
10384 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10385 maybe-configure-stage1-gas:
10386 @if gas-bootstrap
10387 maybe-configure-stage1-gas: configure-stage1-gas
10388 configure-stage1-gas:
10389 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10391 @r=`${PWD_COMMAND}`; export r; \
10392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10393 TFLAGS="$(STAGE1_TFLAGS)"; \
10394 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10395 $(HOST_EXPORTS) \
10396 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10397 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10398 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10399 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10401 cd $(HOST_SUBDIR)/gas || exit 1; \
10402 case $(srcdir) in \
10403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10404 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10406 esac; \
10407 module_srcdir=gas; \
10408 $(SHELL) $$s/$$module_srcdir/configure \
10409 --srcdir=$${topdir}/$$module_srcdir \
10410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10411 --target=${target_alias} \
10413 $(STAGE1_CONFIGURE_FLAGS)
10414 @endif gas-bootstrap
10416 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10417 maybe-configure-stage2-gas:
10418 @if gas-bootstrap
10419 maybe-configure-stage2-gas: configure-stage2-gas
10420 configure-stage2-gas:
10421 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10423 @r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 TFLAGS="$(STAGE2_TFLAGS)"; \
10426 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10427 $(HOST_EXPORTS) \
10428 $(POSTSTAGE1_HOST_EXPORTS) \
10429 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10430 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10431 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10432 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10434 cd $(HOST_SUBDIR)/gas || exit 1; \
10435 case $(srcdir) in \
10436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10437 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10439 esac; \
10440 module_srcdir=gas; \
10441 $(SHELL) $$s/$$module_srcdir/configure \
10442 --srcdir=$${topdir}/$$module_srcdir \
10443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10444 --target=${target_alias} \
10445 --with-build-libsubdir=$(HOST_SUBDIR) \
10446 $(STAGE2_CONFIGURE_FLAGS)
10447 @endif gas-bootstrap
10449 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10450 maybe-configure-stage3-gas:
10451 @if gas-bootstrap
10452 maybe-configure-stage3-gas: configure-stage3-gas
10453 configure-stage3-gas:
10454 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10456 @r=`${PWD_COMMAND}`; export r; \
10457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10458 TFLAGS="$(STAGE3_TFLAGS)"; \
10459 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10460 $(HOST_EXPORTS) \
10461 $(POSTSTAGE1_HOST_EXPORTS) \
10462 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10463 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10464 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10465 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10467 cd $(HOST_SUBDIR)/gas || exit 1; \
10468 case $(srcdir) in \
10469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10470 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10472 esac; \
10473 module_srcdir=gas; \
10474 $(SHELL) $$s/$$module_srcdir/configure \
10475 --srcdir=$${topdir}/$$module_srcdir \
10476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10477 --target=${target_alias} \
10478 --with-build-libsubdir=$(HOST_SUBDIR) \
10479 $(STAGE3_CONFIGURE_FLAGS)
10480 @endif gas-bootstrap
10482 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10483 maybe-configure-stage4-gas:
10484 @if gas-bootstrap
10485 maybe-configure-stage4-gas: configure-stage4-gas
10486 configure-stage4-gas:
10487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10489 @r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 TFLAGS="$(STAGE4_TFLAGS)"; \
10492 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10493 $(HOST_EXPORTS) \
10494 $(POSTSTAGE1_HOST_EXPORTS) \
10495 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10496 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10497 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10498 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10500 cd $(HOST_SUBDIR)/gas || exit 1; \
10501 case $(srcdir) in \
10502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10503 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10505 esac; \
10506 module_srcdir=gas; \
10507 $(SHELL) $$s/$$module_srcdir/configure \
10508 --srcdir=$${topdir}/$$module_srcdir \
10509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10510 --target=${target_alias} \
10511 --with-build-libsubdir=$(HOST_SUBDIR) \
10512 $(STAGE4_CONFIGURE_FLAGS)
10513 @endif gas-bootstrap
10515 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10516 maybe-configure-stageprofile-gas:
10517 @if gas-bootstrap
10518 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10519 configure-stageprofile-gas:
10520 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10521 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10522 @r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10525 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10526 $(HOST_EXPORTS) \
10527 $(POSTSTAGE1_HOST_EXPORTS) \
10528 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10529 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10530 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10531 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10533 cd $(HOST_SUBDIR)/gas || exit 1; \
10534 case $(srcdir) in \
10535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10536 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10538 esac; \
10539 module_srcdir=gas; \
10540 $(SHELL) $$s/$$module_srcdir/configure \
10541 --srcdir=$${topdir}/$$module_srcdir \
10542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10543 --target=${target_alias} \
10544 --with-build-libsubdir=$(HOST_SUBDIR) \
10545 $(STAGEprofile_CONFIGURE_FLAGS)
10546 @endif gas-bootstrap
10548 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10549 maybe-configure-stagetrain-gas:
10550 @if gas-bootstrap
10551 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10552 configure-stagetrain-gas:
10553 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10555 @r=`${PWD_COMMAND}`; export r; \
10556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10557 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10558 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10559 $(HOST_EXPORTS) \
10560 $(POSTSTAGE1_HOST_EXPORTS) \
10561 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10562 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10563 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10564 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10566 cd $(HOST_SUBDIR)/gas || exit 1; \
10567 case $(srcdir) in \
10568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10569 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10571 esac; \
10572 module_srcdir=gas; \
10573 $(SHELL) $$s/$$module_srcdir/configure \
10574 --srcdir=$${topdir}/$$module_srcdir \
10575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10576 --target=${target_alias} \
10577 --with-build-libsubdir=$(HOST_SUBDIR) \
10578 $(STAGEtrain_CONFIGURE_FLAGS)
10579 @endif gas-bootstrap
10581 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10582 maybe-configure-stagefeedback-gas:
10583 @if gas-bootstrap
10584 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10585 configure-stagefeedback-gas:
10586 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10588 @r=`${PWD_COMMAND}`; export r; \
10589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10590 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10591 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10592 $(HOST_EXPORTS) \
10593 $(POSTSTAGE1_HOST_EXPORTS) \
10594 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10595 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10596 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10597 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10599 cd $(HOST_SUBDIR)/gas || exit 1; \
10600 case $(srcdir) in \
10601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10602 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10604 esac; \
10605 module_srcdir=gas; \
10606 $(SHELL) $$s/$$module_srcdir/configure \
10607 --srcdir=$${topdir}/$$module_srcdir \
10608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10609 --target=${target_alias} \
10610 --with-build-libsubdir=$(HOST_SUBDIR) \
10611 $(STAGEfeedback_CONFIGURE_FLAGS)
10612 @endif gas-bootstrap
10614 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10615 maybe-configure-stageautoprofile-gas:
10616 @if gas-bootstrap
10617 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10618 configure-stageautoprofile-gas:
10619 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10621 @r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10624 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10625 $(HOST_EXPORTS) \
10626 $(POSTSTAGE1_HOST_EXPORTS) \
10627 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10628 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10629 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10630 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10632 cd $(HOST_SUBDIR)/gas || exit 1; \
10633 case $(srcdir) in \
10634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10635 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10637 esac; \
10638 module_srcdir=gas; \
10639 $(SHELL) $$s/$$module_srcdir/configure \
10640 --srcdir=$${topdir}/$$module_srcdir \
10641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10642 --target=${target_alias} \
10643 --with-build-libsubdir=$(HOST_SUBDIR) \
10644 $(STAGEautoprofile_CONFIGURE_FLAGS)
10645 @endif gas-bootstrap
10647 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10648 maybe-configure-stageautofeedback-gas:
10649 @if gas-bootstrap
10650 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10651 configure-stageautofeedback-gas:
10652 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10654 @r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10657 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10658 $(HOST_EXPORTS) \
10659 $(POSTSTAGE1_HOST_EXPORTS) \
10660 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10661 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10662 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10663 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10665 cd $(HOST_SUBDIR)/gas || exit 1; \
10666 case $(srcdir) in \
10667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10668 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10670 esac; \
10671 module_srcdir=gas; \
10672 $(SHELL) $$s/$$module_srcdir/configure \
10673 --srcdir=$${topdir}/$$module_srcdir \
10674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10675 --target=${target_alias} \
10676 --with-build-libsubdir=$(HOST_SUBDIR) \
10677 $(STAGEautofeedback_CONFIGURE_FLAGS)
10678 @endif gas-bootstrap
10684 .PHONY: all-gas maybe-all-gas
10685 maybe-all-gas:
10686 @if gcc-bootstrap
10687 all-gas: stage_current
10688 @endif gcc-bootstrap
10689 @if gas
10690 TARGET-gas=all
10691 maybe-all-gas: all-gas
10692 all-gas: configure-gas
10693 @r=`${PWD_COMMAND}`; export r; \
10694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695 $(HOST_EXPORTS) \
10696 (cd $(HOST_SUBDIR)/gas && \
10697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10698 $(TARGET-gas))
10699 @endif gas
10703 .PHONY: all-stage1-gas maybe-all-stage1-gas
10704 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10705 maybe-all-stage1-gas:
10706 maybe-clean-stage1-gas:
10707 @if gas-bootstrap
10708 maybe-all-stage1-gas: all-stage1-gas
10709 all-stage1: all-stage1-gas
10710 TARGET-stage1-gas = $(TARGET-gas)
10711 all-stage1-gas: configure-stage1-gas
10712 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10713 @r=`${PWD_COMMAND}`; export r; \
10714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10715 TFLAGS="$(STAGE1_TFLAGS)"; \
10716 $(HOST_EXPORTS) \
10717 cd $(HOST_SUBDIR)/gas && \
10719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10720 CFLAGS="$(STAGE1_CFLAGS)" \
10721 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
10722 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10723 LIBCFLAGS="$(LIBCFLAGS)" \
10724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10727 $(EXTRA_HOST_FLAGS) \
10728 $(STAGE1_FLAGS_TO_PASS) \
10729 TFLAGS="$(STAGE1_TFLAGS)" \
10730 $(TARGET-stage1-gas)
10732 maybe-clean-stage1-gas: clean-stage1-gas
10733 clean-stage1: clean-stage1-gas
10734 clean-stage1-gas:
10735 @if [ $(current_stage) = stage1 ]; then \
10736 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10737 else \
10738 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10739 $(MAKE) stage1-start; \
10740 fi; \
10741 cd $(HOST_SUBDIR)/gas && \
10742 $(MAKE) $(EXTRA_HOST_FLAGS) \
10743 $(STAGE1_FLAGS_TO_PASS) clean
10744 @endif gas-bootstrap
10747 .PHONY: all-stage2-gas maybe-all-stage2-gas
10748 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10749 maybe-all-stage2-gas:
10750 maybe-clean-stage2-gas:
10751 @if gas-bootstrap
10752 maybe-all-stage2-gas: all-stage2-gas
10753 all-stage2: all-stage2-gas
10754 TARGET-stage2-gas = $(TARGET-gas)
10755 all-stage2-gas: configure-stage2-gas
10756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10757 @r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 TFLAGS="$(STAGE2_TFLAGS)"; \
10760 $(HOST_EXPORTS) \
10761 $(POSTSTAGE1_HOST_EXPORTS) \
10762 cd $(HOST_SUBDIR)/gas && \
10764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10765 CFLAGS="$(STAGE2_CFLAGS)" \
10766 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
10767 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10768 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10772 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10773 TFLAGS="$(STAGE2_TFLAGS)" \
10774 $(TARGET-stage2-gas)
10776 maybe-clean-stage2-gas: clean-stage2-gas
10777 clean-stage2: clean-stage2-gas
10778 clean-stage2-gas:
10779 @if [ $(current_stage) = stage2 ]; then \
10780 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10781 else \
10782 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10783 $(MAKE) stage2-start; \
10784 fi; \
10785 cd $(HOST_SUBDIR)/gas && \
10786 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10787 @endif gas-bootstrap
10790 .PHONY: all-stage3-gas maybe-all-stage3-gas
10791 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10792 maybe-all-stage3-gas:
10793 maybe-clean-stage3-gas:
10794 @if gas-bootstrap
10795 maybe-all-stage3-gas: all-stage3-gas
10796 all-stage3: all-stage3-gas
10797 TARGET-stage3-gas = $(TARGET-gas)
10798 all-stage3-gas: configure-stage3-gas
10799 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10800 @r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10802 TFLAGS="$(STAGE3_TFLAGS)"; \
10803 $(HOST_EXPORTS) \
10804 $(POSTSTAGE1_HOST_EXPORTS) \
10805 cd $(HOST_SUBDIR)/gas && \
10807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10808 CFLAGS="$(STAGE3_CFLAGS)" \
10809 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
10810 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10811 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10812 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10813 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10814 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10815 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10816 TFLAGS="$(STAGE3_TFLAGS)" \
10817 $(TARGET-stage3-gas)
10819 maybe-clean-stage3-gas: clean-stage3-gas
10820 clean-stage3: clean-stage3-gas
10821 clean-stage3-gas:
10822 @if [ $(current_stage) = stage3 ]; then \
10823 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10824 else \
10825 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10826 $(MAKE) stage3-start; \
10827 fi; \
10828 cd $(HOST_SUBDIR)/gas && \
10829 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10830 @endif gas-bootstrap
10833 .PHONY: all-stage4-gas maybe-all-stage4-gas
10834 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10835 maybe-all-stage4-gas:
10836 maybe-clean-stage4-gas:
10837 @if gas-bootstrap
10838 maybe-all-stage4-gas: all-stage4-gas
10839 all-stage4: all-stage4-gas
10840 TARGET-stage4-gas = $(TARGET-gas)
10841 all-stage4-gas: configure-stage4-gas
10842 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10843 @r=`${PWD_COMMAND}`; export r; \
10844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10845 TFLAGS="$(STAGE4_TFLAGS)"; \
10846 $(HOST_EXPORTS) \
10847 $(POSTSTAGE1_HOST_EXPORTS) \
10848 cd $(HOST_SUBDIR)/gas && \
10850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10851 CFLAGS="$(STAGE4_CFLAGS)" \
10852 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
10853 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10854 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10858 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10859 TFLAGS="$(STAGE4_TFLAGS)" \
10860 $(TARGET-stage4-gas)
10862 maybe-clean-stage4-gas: clean-stage4-gas
10863 clean-stage4: clean-stage4-gas
10864 clean-stage4-gas:
10865 @if [ $(current_stage) = stage4 ]; then \
10866 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10867 else \
10868 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10869 $(MAKE) stage4-start; \
10870 fi; \
10871 cd $(HOST_SUBDIR)/gas && \
10872 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10873 @endif gas-bootstrap
10876 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10877 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10878 maybe-all-stageprofile-gas:
10879 maybe-clean-stageprofile-gas:
10880 @if gas-bootstrap
10881 maybe-all-stageprofile-gas: all-stageprofile-gas
10882 all-stageprofile: all-stageprofile-gas
10883 TARGET-stageprofile-gas = $(TARGET-gas)
10884 all-stageprofile-gas: configure-stageprofile-gas
10885 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10886 @r=`${PWD_COMMAND}`; export r; \
10887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10888 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10889 $(HOST_EXPORTS) \
10890 $(POSTSTAGE1_HOST_EXPORTS) \
10891 cd $(HOST_SUBDIR)/gas && \
10893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10894 CFLAGS="$(STAGEprofile_CFLAGS)" \
10895 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
10896 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10897 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10902 TFLAGS="$(STAGEprofile_TFLAGS)" \
10903 $(TARGET-stageprofile-gas)
10905 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10906 clean-stageprofile: clean-stageprofile-gas
10907 clean-stageprofile-gas:
10908 @if [ $(current_stage) = stageprofile ]; then \
10909 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10910 else \
10911 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10912 $(MAKE) stageprofile-start; \
10913 fi; \
10914 cd $(HOST_SUBDIR)/gas && \
10915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10916 @endif gas-bootstrap
10919 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10920 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10921 maybe-all-stagetrain-gas:
10922 maybe-clean-stagetrain-gas:
10923 @if gas-bootstrap
10924 maybe-all-stagetrain-gas: all-stagetrain-gas
10925 all-stagetrain: all-stagetrain-gas
10926 TARGET-stagetrain-gas = $(TARGET-gas)
10927 all-stagetrain-gas: configure-stagetrain-gas
10928 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10929 @r=`${PWD_COMMAND}`; export r; \
10930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10932 $(HOST_EXPORTS) \
10933 $(POSTSTAGE1_HOST_EXPORTS) \
10934 cd $(HOST_SUBDIR)/gas && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10937 CFLAGS="$(STAGEtrain_CFLAGS)" \
10938 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
10939 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10940 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10945 TFLAGS="$(STAGEtrain_TFLAGS)" \
10946 $(TARGET-stagetrain-gas)
10948 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10949 clean-stagetrain: clean-stagetrain-gas
10950 clean-stagetrain-gas:
10951 @if [ $(current_stage) = stagetrain ]; then \
10952 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10953 else \
10954 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10955 $(MAKE) stagetrain-start; \
10956 fi; \
10957 cd $(HOST_SUBDIR)/gas && \
10958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10959 @endif gas-bootstrap
10962 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10963 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10964 maybe-all-stagefeedback-gas:
10965 maybe-clean-stagefeedback-gas:
10966 @if gas-bootstrap
10967 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10968 all-stagefeedback: all-stagefeedback-gas
10969 TARGET-stagefeedback-gas = $(TARGET-gas)
10970 all-stagefeedback-gas: configure-stagefeedback-gas
10971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10972 @r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10975 $(HOST_EXPORTS) \
10976 $(POSTSTAGE1_HOST_EXPORTS) \
10977 cd $(HOST_SUBDIR)/gas && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10980 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10981 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
10982 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10983 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10988 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10989 $(TARGET-stagefeedback-gas)
10991 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10992 clean-stagefeedback: clean-stagefeedback-gas
10993 clean-stagefeedback-gas:
10994 @if [ $(current_stage) = stagefeedback ]; then \
10995 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10996 else \
10997 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10998 $(MAKE) stagefeedback-start; \
10999 fi; \
11000 cd $(HOST_SUBDIR)/gas && \
11001 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11002 @endif gas-bootstrap
11005 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11006 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11007 maybe-all-stageautoprofile-gas:
11008 maybe-clean-stageautoprofile-gas:
11009 @if gas-bootstrap
11010 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11011 all-stageautoprofile: all-stageautoprofile-gas
11012 TARGET-stageautoprofile-gas = $(TARGET-gas)
11013 all-stageautoprofile-gas: configure-stageautoprofile-gas
11014 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11015 @r=`${PWD_COMMAND}`; export r; \
11016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11017 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11018 $(HOST_EXPORTS) \
11019 $(POSTSTAGE1_HOST_EXPORTS) \
11020 cd $(HOST_SUBDIR)/gas && \
11021 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11023 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11024 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11025 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11026 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11031 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11032 $(TARGET-stageautoprofile-gas)
11034 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11035 clean-stageautoprofile: clean-stageautoprofile-gas
11036 clean-stageautoprofile-gas:
11037 @if [ $(current_stage) = stageautoprofile ]; then \
11038 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11039 else \
11040 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11041 $(MAKE) stageautoprofile-start; \
11042 fi; \
11043 cd $(HOST_SUBDIR)/gas && \
11044 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11045 @endif gas-bootstrap
11048 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11049 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11050 maybe-all-stageautofeedback-gas:
11051 maybe-clean-stageautofeedback-gas:
11052 @if gas-bootstrap
11053 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11054 all-stageautofeedback: all-stageautofeedback-gas
11055 TARGET-stageautofeedback-gas = $(TARGET-gas)
11056 all-stageautofeedback-gas: configure-stageautofeedback-gas
11057 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11058 @r=`${PWD_COMMAND}`; export r; \
11059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11060 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11061 $(HOST_EXPORTS) \
11062 $(POSTSTAGE1_HOST_EXPORTS) \
11063 cd $(HOST_SUBDIR)/gas && \
11065 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11066 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11067 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11068 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11069 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11074 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11075 $(TARGET-stageautofeedback-gas)
11077 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11078 clean-stageautofeedback: clean-stageautofeedback-gas
11079 clean-stageautofeedback-gas:
11080 @if [ $(current_stage) = stageautofeedback ]; then \
11081 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11082 else \
11083 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11084 $(MAKE) stageautofeedback-start; \
11085 fi; \
11086 cd $(HOST_SUBDIR)/gas && \
11087 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11088 @endif gas-bootstrap
11094 .PHONY: check-gas maybe-check-gas
11095 maybe-check-gas:
11096 @if gas
11097 maybe-check-gas: check-gas
11099 check-gas:
11100 @: $(MAKE); $(unstage)
11101 @r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11104 (cd $(HOST_SUBDIR)/gas && \
11105 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11107 @endif gas
11109 .PHONY: install-gas maybe-install-gas
11110 maybe-install-gas:
11111 @if gas
11112 maybe-install-gas: install-gas
11114 install-gas: installdirs
11115 @: $(MAKE); $(unstage)
11116 @r=`${PWD_COMMAND}`; export r; \
11117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11118 $(HOST_EXPORTS) \
11119 (cd $(HOST_SUBDIR)/gas && \
11120 $(MAKE) $(FLAGS_TO_PASS) install)
11122 @endif gas
11124 .PHONY: install-strip-gas maybe-install-strip-gas
11125 maybe-install-strip-gas:
11126 @if gas
11127 maybe-install-strip-gas: install-strip-gas
11129 install-strip-gas: installdirs
11130 @: $(MAKE); $(unstage)
11131 @r=`${PWD_COMMAND}`; export r; \
11132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11133 $(HOST_EXPORTS) \
11134 (cd $(HOST_SUBDIR)/gas && \
11135 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11137 @endif gas
11139 # Other targets (info, dvi, pdf, etc.)
11141 .PHONY: maybe-info-gas info-gas
11142 maybe-info-gas:
11143 @if gas
11144 maybe-info-gas: info-gas
11146 info-gas: \
11147 configure-gas
11148 @[ -f ./gas/Makefile ] || exit 0; \
11149 r=`${PWD_COMMAND}`; export r; \
11150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 $(HOST_EXPORTS) \
11152 for flag in $(EXTRA_HOST_FLAGS) ; do \
11153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11154 done; \
11155 echo "Doing info in gas"; \
11156 (cd $(HOST_SUBDIR)/gas && \
11157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11159 "RANLIB=$${RANLIB}" \
11160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11161 info) \
11162 || exit 1
11164 @endif gas
11166 .PHONY: maybe-dvi-gas dvi-gas
11167 maybe-dvi-gas:
11168 @if gas
11169 maybe-dvi-gas: dvi-gas
11171 dvi-gas: \
11172 configure-gas
11173 @[ -f ./gas/Makefile ] || exit 0; \
11174 r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 $(HOST_EXPORTS) \
11177 for flag in $(EXTRA_HOST_FLAGS) ; do \
11178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11179 done; \
11180 echo "Doing dvi in gas"; \
11181 (cd $(HOST_SUBDIR)/gas && \
11182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11184 "RANLIB=$${RANLIB}" \
11185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11186 dvi) \
11187 || exit 1
11189 @endif gas
11191 .PHONY: maybe-pdf-gas pdf-gas
11192 maybe-pdf-gas:
11193 @if gas
11194 maybe-pdf-gas: pdf-gas
11196 pdf-gas: \
11197 configure-gas
11198 @[ -f ./gas/Makefile ] || exit 0; \
11199 r=`${PWD_COMMAND}`; export r; \
11200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11201 $(HOST_EXPORTS) \
11202 for flag in $(EXTRA_HOST_FLAGS) ; do \
11203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11204 done; \
11205 echo "Doing pdf in gas"; \
11206 (cd $(HOST_SUBDIR)/gas && \
11207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11209 "RANLIB=$${RANLIB}" \
11210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11211 pdf) \
11212 || exit 1
11214 @endif gas
11216 .PHONY: maybe-html-gas html-gas
11217 maybe-html-gas:
11218 @if gas
11219 maybe-html-gas: html-gas
11221 html-gas: \
11222 configure-gas
11223 @[ -f ./gas/Makefile ] || exit 0; \
11224 r=`${PWD_COMMAND}`; export r; \
11225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11226 $(HOST_EXPORTS) \
11227 for flag in $(EXTRA_HOST_FLAGS) ; do \
11228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11229 done; \
11230 echo "Doing html in gas"; \
11231 (cd $(HOST_SUBDIR)/gas && \
11232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11234 "RANLIB=$${RANLIB}" \
11235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11236 html) \
11237 || exit 1
11239 @endif gas
11241 .PHONY: maybe-TAGS-gas TAGS-gas
11242 maybe-TAGS-gas:
11243 @if gas
11244 maybe-TAGS-gas: TAGS-gas
11246 TAGS-gas: \
11247 configure-gas
11248 @[ -f ./gas/Makefile ] || exit 0; \
11249 r=`${PWD_COMMAND}`; export r; \
11250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 $(HOST_EXPORTS) \
11252 for flag in $(EXTRA_HOST_FLAGS) ; do \
11253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11254 done; \
11255 echo "Doing TAGS in gas"; \
11256 (cd $(HOST_SUBDIR)/gas && \
11257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11259 "RANLIB=$${RANLIB}" \
11260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11261 TAGS) \
11262 || exit 1
11264 @endif gas
11266 .PHONY: maybe-install-info-gas install-info-gas
11267 maybe-install-info-gas:
11268 @if gas
11269 maybe-install-info-gas: install-info-gas
11271 install-info-gas: \
11272 configure-gas \
11273 info-gas
11274 @[ -f ./gas/Makefile ] || exit 0; \
11275 r=`${PWD_COMMAND}`; export r; \
11276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 $(HOST_EXPORTS) \
11278 for flag in $(EXTRA_HOST_FLAGS) ; do \
11279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11280 done; \
11281 echo "Doing install-info in gas"; \
11282 (cd $(HOST_SUBDIR)/gas && \
11283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11285 "RANLIB=$${RANLIB}" \
11286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11287 install-info) \
11288 || exit 1
11290 @endif gas
11292 .PHONY: maybe-install-pdf-gas install-pdf-gas
11293 maybe-install-pdf-gas:
11294 @if gas
11295 maybe-install-pdf-gas: install-pdf-gas
11297 install-pdf-gas: \
11298 configure-gas \
11299 pdf-gas
11300 @[ -f ./gas/Makefile ] || exit 0; \
11301 r=`${PWD_COMMAND}`; export r; \
11302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 $(HOST_EXPORTS) \
11304 for flag in $(EXTRA_HOST_FLAGS) ; do \
11305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11306 done; \
11307 echo "Doing install-pdf in gas"; \
11308 (cd $(HOST_SUBDIR)/gas && \
11309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11311 "RANLIB=$${RANLIB}" \
11312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11313 install-pdf) \
11314 || exit 1
11316 @endif gas
11318 .PHONY: maybe-install-html-gas install-html-gas
11319 maybe-install-html-gas:
11320 @if gas
11321 maybe-install-html-gas: install-html-gas
11323 install-html-gas: \
11324 configure-gas \
11325 html-gas
11326 @[ -f ./gas/Makefile ] || exit 0; \
11327 r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 $(HOST_EXPORTS) \
11330 for flag in $(EXTRA_HOST_FLAGS) ; do \
11331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11332 done; \
11333 echo "Doing install-html in gas"; \
11334 (cd $(HOST_SUBDIR)/gas && \
11335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11337 "RANLIB=$${RANLIB}" \
11338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11339 install-html) \
11340 || exit 1
11342 @endif gas
11344 .PHONY: maybe-installcheck-gas installcheck-gas
11345 maybe-installcheck-gas:
11346 @if gas
11347 maybe-installcheck-gas: installcheck-gas
11349 installcheck-gas: \
11350 configure-gas
11351 @[ -f ./gas/Makefile ] || exit 0; \
11352 r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 $(HOST_EXPORTS) \
11355 for flag in $(EXTRA_HOST_FLAGS) ; do \
11356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11357 done; \
11358 echo "Doing installcheck in gas"; \
11359 (cd $(HOST_SUBDIR)/gas && \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11362 "RANLIB=$${RANLIB}" \
11363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11364 installcheck) \
11365 || exit 1
11367 @endif gas
11369 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11370 maybe-mostlyclean-gas:
11371 @if gas
11372 maybe-mostlyclean-gas: mostlyclean-gas
11374 mostlyclean-gas:
11375 @[ -f ./gas/Makefile ] || exit 0; \
11376 r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 $(HOST_EXPORTS) \
11379 for flag in $(EXTRA_HOST_FLAGS) ; do \
11380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11381 done; \
11382 echo "Doing mostlyclean in gas"; \
11383 (cd $(HOST_SUBDIR)/gas && \
11384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11386 "RANLIB=$${RANLIB}" \
11387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11388 mostlyclean) \
11389 || exit 1
11391 @endif gas
11393 .PHONY: maybe-clean-gas clean-gas
11394 maybe-clean-gas:
11395 @if gas
11396 maybe-clean-gas: clean-gas
11398 clean-gas:
11399 @[ -f ./gas/Makefile ] || exit 0; \
11400 r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(HOST_EXPORTS) \
11403 for flag in $(EXTRA_HOST_FLAGS) ; do \
11404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11405 done; \
11406 echo "Doing clean in gas"; \
11407 (cd $(HOST_SUBDIR)/gas && \
11408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11410 "RANLIB=$${RANLIB}" \
11411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11412 clean) \
11413 || exit 1
11415 @endif gas
11417 .PHONY: maybe-distclean-gas distclean-gas
11418 maybe-distclean-gas:
11419 @if gas
11420 maybe-distclean-gas: distclean-gas
11422 distclean-gas:
11423 @[ -f ./gas/Makefile ] || exit 0; \
11424 r=`${PWD_COMMAND}`; export r; \
11425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11426 $(HOST_EXPORTS) \
11427 for flag in $(EXTRA_HOST_FLAGS) ; do \
11428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11429 done; \
11430 echo "Doing distclean in gas"; \
11431 (cd $(HOST_SUBDIR)/gas && \
11432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11434 "RANLIB=$${RANLIB}" \
11435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11436 distclean) \
11437 || exit 1
11439 @endif gas
11441 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11442 maybe-maintainer-clean-gas:
11443 @if gas
11444 maybe-maintainer-clean-gas: maintainer-clean-gas
11446 maintainer-clean-gas:
11447 @[ -f ./gas/Makefile ] || exit 0; \
11448 r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11450 $(HOST_EXPORTS) \
11451 for flag in $(EXTRA_HOST_FLAGS) ; do \
11452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11453 done; \
11454 echo "Doing maintainer-clean in gas"; \
11455 (cd $(HOST_SUBDIR)/gas && \
11456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11458 "RANLIB=$${RANLIB}" \
11459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11460 maintainer-clean) \
11461 || exit 1
11463 @endif gas
11467 .PHONY: configure-gcc maybe-configure-gcc
11468 maybe-configure-gcc:
11469 @if gcc-bootstrap
11470 configure-gcc: stage_current
11471 @endif gcc-bootstrap
11472 @if gcc
11473 maybe-configure-gcc: configure-gcc
11474 configure-gcc:
11475 @r=`${PWD_COMMAND}`; export r; \
11476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11477 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11478 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11479 $(HOST_EXPORTS) \
11480 echo Configuring in $(HOST_SUBDIR)/gcc; \
11481 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11482 case $(srcdir) in \
11483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11484 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11486 esac; \
11487 module_srcdir=gcc; \
11488 $(SHELL) \
11489 $$s/$$module_srcdir/configure \
11490 --srcdir=$${topdir}/$$module_srcdir \
11491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11492 --target=${target_alias} \
11493 || exit 1
11494 @endif gcc
11498 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11499 maybe-configure-stage1-gcc:
11500 @if gcc-bootstrap
11501 maybe-configure-stage1-gcc: configure-stage1-gcc
11502 configure-stage1-gcc:
11503 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11505 @r=`${PWD_COMMAND}`; export r; \
11506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11507 TFLAGS="$(STAGE1_TFLAGS)"; \
11508 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11509 $(HOST_EXPORTS) \
11510 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11511 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11512 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11513 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11515 cd $(HOST_SUBDIR)/gcc || exit 1; \
11516 case $(srcdir) in \
11517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11518 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11520 esac; \
11521 module_srcdir=gcc; \
11522 $(SHELL) $$s/$$module_srcdir/configure \
11523 --srcdir=$${topdir}/$$module_srcdir \
11524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11525 --target=${target_alias} \
11527 $(STAGE1_CONFIGURE_FLAGS)
11528 @endif gcc-bootstrap
11530 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11531 maybe-configure-stage2-gcc:
11532 @if gcc-bootstrap
11533 maybe-configure-stage2-gcc: configure-stage2-gcc
11534 configure-stage2-gcc:
11535 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11537 @r=`${PWD_COMMAND}`; export r; \
11538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11539 TFLAGS="$(STAGE2_TFLAGS)"; \
11540 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11541 $(HOST_EXPORTS) \
11542 $(POSTSTAGE1_HOST_EXPORTS) \
11543 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11544 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11545 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11546 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11548 cd $(HOST_SUBDIR)/gcc || exit 1; \
11549 case $(srcdir) in \
11550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11551 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11553 esac; \
11554 module_srcdir=gcc; \
11555 $(SHELL) $$s/$$module_srcdir/configure \
11556 --srcdir=$${topdir}/$$module_srcdir \
11557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11558 --target=${target_alias} \
11559 --with-build-libsubdir=$(HOST_SUBDIR) \
11560 $(STAGE2_CONFIGURE_FLAGS)
11561 @endif gcc-bootstrap
11563 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11564 maybe-configure-stage3-gcc:
11565 @if gcc-bootstrap
11566 maybe-configure-stage3-gcc: configure-stage3-gcc
11567 configure-stage3-gcc:
11568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11570 @r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572 TFLAGS="$(STAGE3_TFLAGS)"; \
11573 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11574 $(HOST_EXPORTS) \
11575 $(POSTSTAGE1_HOST_EXPORTS) \
11576 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11577 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11578 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11579 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11581 cd $(HOST_SUBDIR)/gcc || exit 1; \
11582 case $(srcdir) in \
11583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11584 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11586 esac; \
11587 module_srcdir=gcc; \
11588 $(SHELL) $$s/$$module_srcdir/configure \
11589 --srcdir=$${topdir}/$$module_srcdir \
11590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11591 --target=${target_alias} \
11592 --with-build-libsubdir=$(HOST_SUBDIR) \
11593 $(STAGE3_CONFIGURE_FLAGS)
11594 @endif gcc-bootstrap
11596 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11597 maybe-configure-stage4-gcc:
11598 @if gcc-bootstrap
11599 maybe-configure-stage4-gcc: configure-stage4-gcc
11600 configure-stage4-gcc:
11601 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11603 @r=`${PWD_COMMAND}`; export r; \
11604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11605 TFLAGS="$(STAGE4_TFLAGS)"; \
11606 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11607 $(HOST_EXPORTS) \
11608 $(POSTSTAGE1_HOST_EXPORTS) \
11609 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11610 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11611 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11612 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11614 cd $(HOST_SUBDIR)/gcc || exit 1; \
11615 case $(srcdir) in \
11616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11617 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11619 esac; \
11620 module_srcdir=gcc; \
11621 $(SHELL) $$s/$$module_srcdir/configure \
11622 --srcdir=$${topdir}/$$module_srcdir \
11623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11624 --target=${target_alias} \
11625 --with-build-libsubdir=$(HOST_SUBDIR) \
11626 $(STAGE4_CONFIGURE_FLAGS)
11627 @endif gcc-bootstrap
11629 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11630 maybe-configure-stageprofile-gcc:
11631 @if gcc-bootstrap
11632 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11633 configure-stageprofile-gcc:
11634 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11636 @r=`${PWD_COMMAND}`; export r; \
11637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11638 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11639 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11640 $(HOST_EXPORTS) \
11641 $(POSTSTAGE1_HOST_EXPORTS) \
11642 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11643 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11644 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11645 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11647 cd $(HOST_SUBDIR)/gcc || exit 1; \
11648 case $(srcdir) in \
11649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11650 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11652 esac; \
11653 module_srcdir=gcc; \
11654 $(SHELL) $$s/$$module_srcdir/configure \
11655 --srcdir=$${topdir}/$$module_srcdir \
11656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11657 --target=${target_alias} \
11658 --with-build-libsubdir=$(HOST_SUBDIR) \
11659 $(STAGEprofile_CONFIGURE_FLAGS)
11660 @endif gcc-bootstrap
11662 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11663 maybe-configure-stagetrain-gcc:
11664 @if gcc-bootstrap
11665 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11666 configure-stagetrain-gcc:
11667 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11669 @r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11672 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11673 $(HOST_EXPORTS) \
11674 $(POSTSTAGE1_HOST_EXPORTS) \
11675 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11676 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11677 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11678 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11680 cd $(HOST_SUBDIR)/gcc || exit 1; \
11681 case $(srcdir) in \
11682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11683 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11685 esac; \
11686 module_srcdir=gcc; \
11687 $(SHELL) $$s/$$module_srcdir/configure \
11688 --srcdir=$${topdir}/$$module_srcdir \
11689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11690 --target=${target_alias} \
11691 --with-build-libsubdir=$(HOST_SUBDIR) \
11692 $(STAGEtrain_CONFIGURE_FLAGS)
11693 @endif gcc-bootstrap
11695 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11696 maybe-configure-stagefeedback-gcc:
11697 @if gcc-bootstrap
11698 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11699 configure-stagefeedback-gcc:
11700 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11702 @r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11705 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11706 $(HOST_EXPORTS) \
11707 $(POSTSTAGE1_HOST_EXPORTS) \
11708 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11709 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11710 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11711 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11713 cd $(HOST_SUBDIR)/gcc || exit 1; \
11714 case $(srcdir) in \
11715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11716 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11718 esac; \
11719 module_srcdir=gcc; \
11720 $(SHELL) $$s/$$module_srcdir/configure \
11721 --srcdir=$${topdir}/$$module_srcdir \
11722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11723 --target=${target_alias} \
11724 --with-build-libsubdir=$(HOST_SUBDIR) \
11725 $(STAGEfeedback_CONFIGURE_FLAGS)
11726 @endif gcc-bootstrap
11728 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11729 maybe-configure-stageautoprofile-gcc:
11730 @if gcc-bootstrap
11731 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11732 configure-stageautoprofile-gcc:
11733 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11735 @r=`${PWD_COMMAND}`; export r; \
11736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11737 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11738 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11739 $(HOST_EXPORTS) \
11740 $(POSTSTAGE1_HOST_EXPORTS) \
11741 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11742 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11743 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11744 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11746 cd $(HOST_SUBDIR)/gcc || exit 1; \
11747 case $(srcdir) in \
11748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11749 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11751 esac; \
11752 module_srcdir=gcc; \
11753 $(SHELL) $$s/$$module_srcdir/configure \
11754 --srcdir=$${topdir}/$$module_srcdir \
11755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11756 --target=${target_alias} \
11757 --with-build-libsubdir=$(HOST_SUBDIR) \
11758 $(STAGEautoprofile_CONFIGURE_FLAGS)
11759 @endif gcc-bootstrap
11761 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11762 maybe-configure-stageautofeedback-gcc:
11763 @if gcc-bootstrap
11764 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11765 configure-stageautofeedback-gcc:
11766 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11768 @r=`${PWD_COMMAND}`; export r; \
11769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11770 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11771 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11772 $(HOST_EXPORTS) \
11773 $(POSTSTAGE1_HOST_EXPORTS) \
11774 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11775 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11776 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11777 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11779 cd $(HOST_SUBDIR)/gcc || exit 1; \
11780 case $(srcdir) in \
11781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11782 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11784 esac; \
11785 module_srcdir=gcc; \
11786 $(SHELL) $$s/$$module_srcdir/configure \
11787 --srcdir=$${topdir}/$$module_srcdir \
11788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11789 --target=${target_alias} \
11790 --with-build-libsubdir=$(HOST_SUBDIR) \
11791 $(STAGEautofeedback_CONFIGURE_FLAGS)
11792 @endif gcc-bootstrap
11798 .PHONY: all-gcc maybe-all-gcc
11799 maybe-all-gcc:
11800 @if gcc-bootstrap
11801 all-gcc: stage_current
11802 @endif gcc-bootstrap
11803 @if gcc
11804 TARGET-gcc=all
11805 maybe-all-gcc: all-gcc
11806 all-gcc: configure-gcc
11807 @r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 $(HOST_EXPORTS) \
11810 (cd $(HOST_SUBDIR)/gcc && \
11811 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11812 $(TARGET-gcc))
11813 @endif gcc
11817 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11818 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11819 maybe-all-stage1-gcc:
11820 maybe-clean-stage1-gcc:
11821 @if gcc-bootstrap
11822 maybe-all-stage1-gcc: all-stage1-gcc
11823 all-stage1: all-stage1-gcc
11824 TARGET-stage1-gcc = $(TARGET-gcc)
11825 all-stage1-gcc: configure-stage1-gcc
11826 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11827 @r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 TFLAGS="$(STAGE1_TFLAGS)"; \
11830 $(HOST_EXPORTS) \
11831 cd $(HOST_SUBDIR)/gcc && \
11833 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11834 CFLAGS="$(STAGE1_CFLAGS)" \
11835 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11836 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11837 LIBCFLAGS="$(LIBCFLAGS)" \
11838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11841 $(EXTRA_HOST_FLAGS) \
11842 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11843 TFLAGS="$(STAGE1_TFLAGS)" \
11844 $(TARGET-stage1-gcc)
11846 maybe-clean-stage1-gcc: clean-stage1-gcc
11847 clean-stage1: clean-stage1-gcc
11848 clean-stage1-gcc:
11849 @if [ $(current_stage) = stage1 ]; then \
11850 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11851 else \
11852 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11853 $(MAKE) stage1-start; \
11854 fi; \
11855 cd $(HOST_SUBDIR)/gcc && \
11856 $(MAKE) $(EXTRA_HOST_FLAGS) \
11857 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11858 @endif gcc-bootstrap
11861 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11862 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11863 maybe-all-stage2-gcc:
11864 maybe-clean-stage2-gcc:
11865 @if gcc-bootstrap
11866 maybe-all-stage2-gcc: all-stage2-gcc
11867 all-stage2: all-stage2-gcc
11868 TARGET-stage2-gcc = $(TARGET-gcc)
11869 all-stage2-gcc: configure-stage2-gcc
11870 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11871 @r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 TFLAGS="$(STAGE2_TFLAGS)"; \
11874 $(HOST_EXPORTS) \
11875 $(POSTSTAGE1_HOST_EXPORTS) \
11876 cd $(HOST_SUBDIR)/gcc && \
11878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11879 CFLAGS="$(STAGE2_CFLAGS)" \
11880 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11881 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11882 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11886 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11887 TFLAGS="$(STAGE2_TFLAGS)" \
11888 $(TARGET-stage2-gcc)
11890 maybe-clean-stage2-gcc: clean-stage2-gcc
11891 clean-stage2: clean-stage2-gcc
11892 clean-stage2-gcc:
11893 @if [ $(current_stage) = stage2 ]; then \
11894 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11895 else \
11896 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11897 $(MAKE) stage2-start; \
11898 fi; \
11899 cd $(HOST_SUBDIR)/gcc && \
11900 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11901 @endif gcc-bootstrap
11904 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11905 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11906 maybe-all-stage3-gcc:
11907 maybe-clean-stage3-gcc:
11908 @if gcc-bootstrap
11909 maybe-all-stage3-gcc: all-stage3-gcc
11910 all-stage3: all-stage3-gcc
11911 TARGET-stage3-gcc = $(TARGET-gcc)
11912 all-stage3-gcc: configure-stage3-gcc
11913 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11914 @r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 TFLAGS="$(STAGE3_TFLAGS)"; \
11917 $(HOST_EXPORTS) \
11918 $(POSTSTAGE1_HOST_EXPORTS) \
11919 cd $(HOST_SUBDIR)/gcc && \
11921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11922 CFLAGS="$(STAGE3_CFLAGS)" \
11923 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11924 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11925 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11929 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11930 TFLAGS="$(STAGE3_TFLAGS)" \
11931 $(TARGET-stage3-gcc)
11933 maybe-clean-stage3-gcc: clean-stage3-gcc
11934 clean-stage3: clean-stage3-gcc
11935 clean-stage3-gcc:
11936 @if [ $(current_stage) = stage3 ]; then \
11937 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11938 else \
11939 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11940 $(MAKE) stage3-start; \
11941 fi; \
11942 cd $(HOST_SUBDIR)/gcc && \
11943 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11944 @endif gcc-bootstrap
11947 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11948 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11949 maybe-all-stage4-gcc:
11950 maybe-clean-stage4-gcc:
11951 @if gcc-bootstrap
11952 maybe-all-stage4-gcc: all-stage4-gcc
11953 all-stage4: all-stage4-gcc
11954 TARGET-stage4-gcc = $(TARGET-gcc)
11955 all-stage4-gcc: configure-stage4-gcc
11956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11957 @r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 TFLAGS="$(STAGE4_TFLAGS)"; \
11960 $(HOST_EXPORTS) \
11961 $(POSTSTAGE1_HOST_EXPORTS) \
11962 cd $(HOST_SUBDIR)/gcc && \
11964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11965 CFLAGS="$(STAGE4_CFLAGS)" \
11966 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11967 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11968 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11972 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11973 TFLAGS="$(STAGE4_TFLAGS)" \
11974 $(TARGET-stage4-gcc)
11976 maybe-clean-stage4-gcc: clean-stage4-gcc
11977 clean-stage4: clean-stage4-gcc
11978 clean-stage4-gcc:
11979 @if [ $(current_stage) = stage4 ]; then \
11980 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11981 else \
11982 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11983 $(MAKE) stage4-start; \
11984 fi; \
11985 cd $(HOST_SUBDIR)/gcc && \
11986 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11987 @endif gcc-bootstrap
11990 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11991 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11992 maybe-all-stageprofile-gcc:
11993 maybe-clean-stageprofile-gcc:
11994 @if gcc-bootstrap
11995 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11996 all-stageprofile: all-stageprofile-gcc
11997 TARGET-stageprofile-gcc = $(TARGET-gcc)
11998 all-stageprofile-gcc: configure-stageprofile-gcc
11999 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12000 @r=`${PWD_COMMAND}`; export r; \
12001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12002 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12003 $(HOST_EXPORTS) \
12004 $(POSTSTAGE1_HOST_EXPORTS) \
12005 cd $(HOST_SUBDIR)/gcc && \
12007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12008 CFLAGS="$(STAGEprofile_CFLAGS)" \
12009 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12010 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12011 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12015 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12016 TFLAGS="$(STAGEprofile_TFLAGS)" \
12017 $(TARGET-stageprofile-gcc)
12019 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12020 clean-stageprofile: clean-stageprofile-gcc
12021 clean-stageprofile-gcc:
12022 @if [ $(current_stage) = stageprofile ]; then \
12023 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12024 else \
12025 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12026 $(MAKE) stageprofile-start; \
12027 fi; \
12028 cd $(HOST_SUBDIR)/gcc && \
12029 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12030 @endif gcc-bootstrap
12033 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12034 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12035 maybe-all-stagetrain-gcc:
12036 maybe-clean-stagetrain-gcc:
12037 @if gcc-bootstrap
12038 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12039 all-stagetrain: all-stagetrain-gcc
12040 TARGET-stagetrain-gcc = $(TARGET-gcc)
12041 all-stagetrain-gcc: configure-stagetrain-gcc
12042 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12043 @r=`${PWD_COMMAND}`; export r; \
12044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12045 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12046 $(HOST_EXPORTS) \
12047 $(POSTSTAGE1_HOST_EXPORTS) \
12048 cd $(HOST_SUBDIR)/gcc && \
12050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12051 CFLAGS="$(STAGEtrain_CFLAGS)" \
12052 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12053 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12054 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12059 TFLAGS="$(STAGEtrain_TFLAGS)" \
12060 $(TARGET-stagetrain-gcc)
12062 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12063 clean-stagetrain: clean-stagetrain-gcc
12064 clean-stagetrain-gcc:
12065 @if [ $(current_stage) = stagetrain ]; then \
12066 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12067 else \
12068 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12069 $(MAKE) stagetrain-start; \
12070 fi; \
12071 cd $(HOST_SUBDIR)/gcc && \
12072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12073 @endif gcc-bootstrap
12076 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12077 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12078 maybe-all-stagefeedback-gcc:
12079 maybe-clean-stagefeedback-gcc:
12080 @if gcc-bootstrap
12081 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12082 all-stagefeedback: all-stagefeedback-gcc
12083 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12084 all-stagefeedback-gcc: configure-stagefeedback-gcc
12085 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12086 @r=`${PWD_COMMAND}`; export r; \
12087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12088 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12089 $(HOST_EXPORTS) \
12090 $(POSTSTAGE1_HOST_EXPORTS) \
12091 cd $(HOST_SUBDIR)/gcc && \
12093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12094 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12095 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12096 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12097 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12102 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12103 $(TARGET-stagefeedback-gcc)
12105 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12106 clean-stagefeedback: clean-stagefeedback-gcc
12107 clean-stagefeedback-gcc:
12108 @if [ $(current_stage) = stagefeedback ]; then \
12109 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12110 else \
12111 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12112 $(MAKE) stagefeedback-start; \
12113 fi; \
12114 cd $(HOST_SUBDIR)/gcc && \
12115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12116 @endif gcc-bootstrap
12119 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12120 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12121 maybe-all-stageautoprofile-gcc:
12122 maybe-clean-stageautoprofile-gcc:
12123 @if gcc-bootstrap
12124 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12125 all-stageautoprofile: all-stageautoprofile-gcc
12126 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12127 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12128 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12129 @r=`${PWD_COMMAND}`; export r; \
12130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12131 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12132 $(HOST_EXPORTS) \
12133 $(POSTSTAGE1_HOST_EXPORTS) \
12134 cd $(HOST_SUBDIR)/gcc && \
12135 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12137 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12138 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12139 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12140 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12145 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12146 $(TARGET-stageautoprofile-gcc)
12148 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12149 clean-stageautoprofile: clean-stageautoprofile-gcc
12150 clean-stageautoprofile-gcc:
12151 @if [ $(current_stage) = stageautoprofile ]; then \
12152 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12153 else \
12154 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12155 $(MAKE) stageautoprofile-start; \
12156 fi; \
12157 cd $(HOST_SUBDIR)/gcc && \
12158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12159 @endif gcc-bootstrap
12162 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12163 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12164 maybe-all-stageautofeedback-gcc:
12165 maybe-clean-stageautofeedback-gcc:
12166 @if gcc-bootstrap
12167 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12168 all-stageautofeedback: all-stageautofeedback-gcc
12169 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12170 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12171 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12172 @r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12175 $(HOST_EXPORTS) \
12176 $(POSTSTAGE1_HOST_EXPORTS) \
12177 cd $(HOST_SUBDIR)/gcc && \
12179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12180 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12181 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12182 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12183 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12188 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12189 $(TARGET-stageautofeedback-gcc)
12191 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12192 clean-stageautofeedback: clean-stageautofeedback-gcc
12193 clean-stageautofeedback-gcc:
12194 @if [ $(current_stage) = stageautofeedback ]; then \
12195 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12196 else \
12197 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12198 $(MAKE) stageautofeedback-start; \
12199 fi; \
12200 cd $(HOST_SUBDIR)/gcc && \
12201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12202 @endif gcc-bootstrap
12208 .PHONY: check-gcc maybe-check-gcc
12209 maybe-check-gcc:
12210 @if gcc
12211 maybe-check-gcc: check-gcc
12213 check-gcc:
12214 @: $(MAKE); $(unstage)
12215 @r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12218 (cd $(HOST_SUBDIR)/gcc && \
12219 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12221 @endif gcc
12223 .PHONY: install-gcc maybe-install-gcc
12224 maybe-install-gcc:
12225 @if gcc
12226 maybe-install-gcc: install-gcc
12228 install-gcc: installdirs
12229 @: $(MAKE); $(unstage)
12230 @r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(HOST_EXPORTS) \
12233 (cd $(HOST_SUBDIR)/gcc && \
12234 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12236 @endif gcc
12238 .PHONY: install-strip-gcc maybe-install-strip-gcc
12239 maybe-install-strip-gcc:
12240 @if gcc
12241 maybe-install-strip-gcc: install-strip-gcc
12243 install-strip-gcc: installdirs
12244 @: $(MAKE); $(unstage)
12245 @r=`${PWD_COMMAND}`; export r; \
12246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12247 $(HOST_EXPORTS) \
12248 (cd $(HOST_SUBDIR)/gcc && \
12249 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12251 @endif gcc
12253 # Other targets (info, dvi, pdf, etc.)
12255 .PHONY: maybe-info-gcc info-gcc
12256 maybe-info-gcc:
12257 @if gcc
12258 maybe-info-gcc: info-gcc
12260 info-gcc: \
12261 configure-gcc
12262 @[ -f ./gcc/Makefile ] || exit 0; \
12263 r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 $(HOST_EXPORTS) \
12266 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12268 done; \
12269 echo "Doing info in gcc"; \
12270 (cd $(HOST_SUBDIR)/gcc && \
12271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12273 "RANLIB=$${RANLIB}" \
12274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12275 info) \
12276 || exit 1
12278 @endif gcc
12280 .PHONY: maybe-dvi-gcc dvi-gcc
12281 maybe-dvi-gcc:
12282 @if gcc
12283 maybe-dvi-gcc: dvi-gcc
12285 dvi-gcc: \
12286 configure-gcc
12287 @[ -f ./gcc/Makefile ] || exit 0; \
12288 r=`${PWD_COMMAND}`; export r; \
12289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12290 $(HOST_EXPORTS) \
12291 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12293 done; \
12294 echo "Doing dvi in gcc"; \
12295 (cd $(HOST_SUBDIR)/gcc && \
12296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12298 "RANLIB=$${RANLIB}" \
12299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12300 dvi) \
12301 || exit 1
12303 @endif gcc
12305 .PHONY: maybe-pdf-gcc pdf-gcc
12306 maybe-pdf-gcc:
12307 @if gcc
12308 maybe-pdf-gcc: pdf-gcc
12310 pdf-gcc: \
12311 configure-gcc
12312 @[ -f ./gcc/Makefile ] || exit 0; \
12313 r=`${PWD_COMMAND}`; export r; \
12314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315 $(HOST_EXPORTS) \
12316 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12318 done; \
12319 echo "Doing pdf in gcc"; \
12320 (cd $(HOST_SUBDIR)/gcc && \
12321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12323 "RANLIB=$${RANLIB}" \
12324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12325 pdf) \
12326 || exit 1
12328 @endif gcc
12330 .PHONY: maybe-html-gcc html-gcc
12331 maybe-html-gcc:
12332 @if gcc
12333 maybe-html-gcc: html-gcc
12335 html-gcc: \
12336 configure-gcc
12337 @[ -f ./gcc/Makefile ] || exit 0; \
12338 r=`${PWD_COMMAND}`; export r; \
12339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12340 $(HOST_EXPORTS) \
12341 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12343 done; \
12344 echo "Doing html in gcc"; \
12345 (cd $(HOST_SUBDIR)/gcc && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12348 "RANLIB=$${RANLIB}" \
12349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12350 html) \
12351 || exit 1
12353 @endif gcc
12355 .PHONY: maybe-TAGS-gcc TAGS-gcc
12356 maybe-TAGS-gcc:
12357 @if gcc
12358 maybe-TAGS-gcc: TAGS-gcc
12360 TAGS-gcc: \
12361 configure-gcc
12362 @[ -f ./gcc/Makefile ] || exit 0; \
12363 r=`${PWD_COMMAND}`; export r; \
12364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12365 $(HOST_EXPORTS) \
12366 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12368 done; \
12369 echo "Doing TAGS in gcc"; \
12370 (cd $(HOST_SUBDIR)/gcc && \
12371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12373 "RANLIB=$${RANLIB}" \
12374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12375 TAGS) \
12376 || exit 1
12378 @endif gcc
12380 .PHONY: maybe-install-info-gcc install-info-gcc
12381 maybe-install-info-gcc:
12382 @if gcc
12383 maybe-install-info-gcc: install-info-gcc
12385 install-info-gcc: \
12386 configure-gcc \
12387 info-gcc
12388 @[ -f ./gcc/Makefile ] || exit 0; \
12389 r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12391 $(HOST_EXPORTS) \
12392 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12394 done; \
12395 echo "Doing install-info in gcc"; \
12396 (cd $(HOST_SUBDIR)/gcc && \
12397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12399 "RANLIB=$${RANLIB}" \
12400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12401 install-info) \
12402 || exit 1
12404 @endif gcc
12406 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12407 maybe-install-pdf-gcc:
12408 @if gcc
12409 maybe-install-pdf-gcc: install-pdf-gcc
12411 install-pdf-gcc: \
12412 configure-gcc \
12413 pdf-gcc
12414 @[ -f ./gcc/Makefile ] || exit 0; \
12415 r=`${PWD_COMMAND}`; export r; \
12416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12417 $(HOST_EXPORTS) \
12418 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12420 done; \
12421 echo "Doing install-pdf in gcc"; \
12422 (cd $(HOST_SUBDIR)/gcc && \
12423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12425 "RANLIB=$${RANLIB}" \
12426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12427 install-pdf) \
12428 || exit 1
12430 @endif gcc
12432 .PHONY: maybe-install-html-gcc install-html-gcc
12433 maybe-install-html-gcc:
12434 @if gcc
12435 maybe-install-html-gcc: install-html-gcc
12437 install-html-gcc: \
12438 configure-gcc \
12439 html-gcc
12440 @[ -f ./gcc/Makefile ] || exit 0; \
12441 r=`${PWD_COMMAND}`; export r; \
12442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12443 $(HOST_EXPORTS) \
12444 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12446 done; \
12447 echo "Doing install-html in gcc"; \
12448 (cd $(HOST_SUBDIR)/gcc && \
12449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12451 "RANLIB=$${RANLIB}" \
12452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12453 install-html) \
12454 || exit 1
12456 @endif gcc
12458 .PHONY: maybe-installcheck-gcc installcheck-gcc
12459 maybe-installcheck-gcc:
12460 @if gcc
12461 maybe-installcheck-gcc: installcheck-gcc
12463 installcheck-gcc: \
12464 configure-gcc
12465 @[ -f ./gcc/Makefile ] || exit 0; \
12466 r=`${PWD_COMMAND}`; export r; \
12467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12468 $(HOST_EXPORTS) \
12469 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12471 done; \
12472 echo "Doing installcheck in gcc"; \
12473 (cd $(HOST_SUBDIR)/gcc && \
12474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12476 "RANLIB=$${RANLIB}" \
12477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12478 installcheck) \
12479 || exit 1
12481 @endif gcc
12483 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12484 maybe-mostlyclean-gcc:
12485 @if gcc
12486 maybe-mostlyclean-gcc: mostlyclean-gcc
12488 mostlyclean-gcc:
12489 @[ -f ./gcc/Makefile ] || exit 0; \
12490 r=`${PWD_COMMAND}`; export r; \
12491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12492 $(HOST_EXPORTS) \
12493 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12495 done; \
12496 echo "Doing mostlyclean in gcc"; \
12497 (cd $(HOST_SUBDIR)/gcc && \
12498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12500 "RANLIB=$${RANLIB}" \
12501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12502 mostlyclean) \
12503 || exit 1
12505 @endif gcc
12507 .PHONY: maybe-clean-gcc clean-gcc
12508 maybe-clean-gcc:
12509 @if gcc
12510 maybe-clean-gcc: clean-gcc
12512 clean-gcc:
12513 @[ -f ./gcc/Makefile ] || exit 0; \
12514 r=`${PWD_COMMAND}`; export r; \
12515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12516 $(HOST_EXPORTS) \
12517 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12519 done; \
12520 echo "Doing clean in gcc"; \
12521 (cd $(HOST_SUBDIR)/gcc && \
12522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12524 "RANLIB=$${RANLIB}" \
12525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12526 clean) \
12527 || exit 1
12529 @endif gcc
12531 .PHONY: maybe-distclean-gcc distclean-gcc
12532 maybe-distclean-gcc:
12533 @if gcc
12534 maybe-distclean-gcc: distclean-gcc
12536 distclean-gcc:
12537 @[ -f ./gcc/Makefile ] || exit 0; \
12538 r=`${PWD_COMMAND}`; export r; \
12539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12540 $(HOST_EXPORTS) \
12541 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12543 done; \
12544 echo "Doing distclean in gcc"; \
12545 (cd $(HOST_SUBDIR)/gcc && \
12546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12548 "RANLIB=$${RANLIB}" \
12549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12550 distclean) \
12551 || exit 1
12553 @endif gcc
12555 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12556 maybe-maintainer-clean-gcc:
12557 @if gcc
12558 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12560 maintainer-clean-gcc:
12561 @[ -f ./gcc/Makefile ] || exit 0; \
12562 r=`${PWD_COMMAND}`; export r; \
12563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12564 $(HOST_EXPORTS) \
12565 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12567 done; \
12568 echo "Doing maintainer-clean in gcc"; \
12569 (cd $(HOST_SUBDIR)/gcc && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12572 "RANLIB=$${RANLIB}" \
12573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12574 maintainer-clean) \
12575 || exit 1
12577 @endif gcc
12581 .PHONY: configure-gmp maybe-configure-gmp
12582 maybe-configure-gmp:
12583 @if gcc-bootstrap
12584 configure-gmp: stage_current
12585 @endif gcc-bootstrap
12586 @if gmp
12587 maybe-configure-gmp: configure-gmp
12588 configure-gmp:
12589 @r=`${PWD_COMMAND}`; export r; \
12590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12591 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12593 $(HOST_EXPORTS) \
12594 echo Configuring in $(HOST_SUBDIR)/gmp; \
12595 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12596 case $(srcdir) in \
12597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12598 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12600 esac; \
12601 module_srcdir=gmp; \
12602 $(SHELL) \
12603 $$s/$$module_srcdir/configure \
12604 --srcdir=$${topdir}/$$module_srcdir \
12605 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12606 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12607 || exit 1
12608 @endif gmp
12612 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12613 maybe-configure-stage1-gmp:
12614 @if gmp-bootstrap
12615 maybe-configure-stage1-gmp: configure-stage1-gmp
12616 configure-stage1-gmp:
12617 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12619 @r=`${PWD_COMMAND}`; export r; \
12620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 TFLAGS="$(STAGE1_TFLAGS)"; \
12622 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12623 $(HOST_EXPORTS) \
12624 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12625 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12626 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12627 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12629 cd $(HOST_SUBDIR)/gmp || exit 1; \
12630 case $(srcdir) in \
12631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12632 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12634 esac; \
12635 module_srcdir=gmp; \
12636 $(SHELL) $$s/$$module_srcdir/configure \
12637 --srcdir=$${topdir}/$$module_srcdir \
12638 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12639 --target=none-${host_vendor}-${host_os} \
12641 $(STAGE1_CONFIGURE_FLAGS) \
12642 --disable-shared LEX="touch lex.yy.c"
12643 @endif gmp-bootstrap
12645 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12646 maybe-configure-stage2-gmp:
12647 @if gmp-bootstrap
12648 maybe-configure-stage2-gmp: configure-stage2-gmp
12649 configure-stage2-gmp:
12650 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12652 @r=`${PWD_COMMAND}`; export r; \
12653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 TFLAGS="$(STAGE2_TFLAGS)"; \
12655 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12656 $(HOST_EXPORTS) \
12657 $(POSTSTAGE1_HOST_EXPORTS) \
12658 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12659 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12660 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12661 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12663 cd $(HOST_SUBDIR)/gmp || exit 1; \
12664 case $(srcdir) in \
12665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12666 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12668 esac; \
12669 module_srcdir=gmp; \
12670 $(SHELL) $$s/$$module_srcdir/configure \
12671 --srcdir=$${topdir}/$$module_srcdir \
12672 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12673 --target=none-${host_vendor}-${host_os} \
12674 --with-build-libsubdir=$(HOST_SUBDIR) \
12675 $(STAGE2_CONFIGURE_FLAGS) \
12676 --disable-shared LEX="touch lex.yy.c"
12677 @endif gmp-bootstrap
12679 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12680 maybe-configure-stage3-gmp:
12681 @if gmp-bootstrap
12682 maybe-configure-stage3-gmp: configure-stage3-gmp
12683 configure-stage3-gmp:
12684 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12686 @r=`${PWD_COMMAND}`; export r; \
12687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12688 TFLAGS="$(STAGE3_TFLAGS)"; \
12689 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12690 $(HOST_EXPORTS) \
12691 $(POSTSTAGE1_HOST_EXPORTS) \
12692 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12693 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12694 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12695 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12697 cd $(HOST_SUBDIR)/gmp || exit 1; \
12698 case $(srcdir) in \
12699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12700 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12702 esac; \
12703 module_srcdir=gmp; \
12704 $(SHELL) $$s/$$module_srcdir/configure \
12705 --srcdir=$${topdir}/$$module_srcdir \
12706 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12707 --target=none-${host_vendor}-${host_os} \
12708 --with-build-libsubdir=$(HOST_SUBDIR) \
12709 $(STAGE3_CONFIGURE_FLAGS) \
12710 --disable-shared LEX="touch lex.yy.c"
12711 @endif gmp-bootstrap
12713 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12714 maybe-configure-stage4-gmp:
12715 @if gmp-bootstrap
12716 maybe-configure-stage4-gmp: configure-stage4-gmp
12717 configure-stage4-gmp:
12718 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12720 @r=`${PWD_COMMAND}`; export r; \
12721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 TFLAGS="$(STAGE4_TFLAGS)"; \
12723 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12724 $(HOST_EXPORTS) \
12725 $(POSTSTAGE1_HOST_EXPORTS) \
12726 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12727 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12728 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12729 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12731 cd $(HOST_SUBDIR)/gmp || exit 1; \
12732 case $(srcdir) in \
12733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12734 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12736 esac; \
12737 module_srcdir=gmp; \
12738 $(SHELL) $$s/$$module_srcdir/configure \
12739 --srcdir=$${topdir}/$$module_srcdir \
12740 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12741 --target=none-${host_vendor}-${host_os} \
12742 --with-build-libsubdir=$(HOST_SUBDIR) \
12743 $(STAGE4_CONFIGURE_FLAGS) \
12744 --disable-shared LEX="touch lex.yy.c"
12745 @endif gmp-bootstrap
12747 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12748 maybe-configure-stageprofile-gmp:
12749 @if gmp-bootstrap
12750 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12751 configure-stageprofile-gmp:
12752 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12754 @r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12757 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12758 $(HOST_EXPORTS) \
12759 $(POSTSTAGE1_HOST_EXPORTS) \
12760 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12761 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12762 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12763 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12765 cd $(HOST_SUBDIR)/gmp || exit 1; \
12766 case $(srcdir) in \
12767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12768 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12770 esac; \
12771 module_srcdir=gmp; \
12772 $(SHELL) $$s/$$module_srcdir/configure \
12773 --srcdir=$${topdir}/$$module_srcdir \
12774 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12775 --target=none-${host_vendor}-${host_os} \
12776 --with-build-libsubdir=$(HOST_SUBDIR) \
12777 $(STAGEprofile_CONFIGURE_FLAGS) \
12778 --disable-shared LEX="touch lex.yy.c"
12779 @endif gmp-bootstrap
12781 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12782 maybe-configure-stagetrain-gmp:
12783 @if gmp-bootstrap
12784 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12785 configure-stagetrain-gmp:
12786 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12788 @r=`${PWD_COMMAND}`; export r; \
12789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12790 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12791 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12792 $(HOST_EXPORTS) \
12793 $(POSTSTAGE1_HOST_EXPORTS) \
12794 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12795 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12796 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12797 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12799 cd $(HOST_SUBDIR)/gmp || exit 1; \
12800 case $(srcdir) in \
12801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12802 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12804 esac; \
12805 module_srcdir=gmp; \
12806 $(SHELL) $$s/$$module_srcdir/configure \
12807 --srcdir=$${topdir}/$$module_srcdir \
12808 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12809 --target=none-${host_vendor}-${host_os} \
12810 --with-build-libsubdir=$(HOST_SUBDIR) \
12811 $(STAGEtrain_CONFIGURE_FLAGS) \
12812 --disable-shared LEX="touch lex.yy.c"
12813 @endif gmp-bootstrap
12815 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12816 maybe-configure-stagefeedback-gmp:
12817 @if gmp-bootstrap
12818 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12819 configure-stagefeedback-gmp:
12820 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12822 @r=`${PWD_COMMAND}`; export r; \
12823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12825 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12826 $(HOST_EXPORTS) \
12827 $(POSTSTAGE1_HOST_EXPORTS) \
12828 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12829 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12830 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12831 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12833 cd $(HOST_SUBDIR)/gmp || exit 1; \
12834 case $(srcdir) in \
12835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12836 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12838 esac; \
12839 module_srcdir=gmp; \
12840 $(SHELL) $$s/$$module_srcdir/configure \
12841 --srcdir=$${topdir}/$$module_srcdir \
12842 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12843 --target=none-${host_vendor}-${host_os} \
12844 --with-build-libsubdir=$(HOST_SUBDIR) \
12845 $(STAGEfeedback_CONFIGURE_FLAGS) \
12846 --disable-shared LEX="touch lex.yy.c"
12847 @endif gmp-bootstrap
12849 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12850 maybe-configure-stageautoprofile-gmp:
12851 @if gmp-bootstrap
12852 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12853 configure-stageautoprofile-gmp:
12854 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12856 @r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12859 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12860 $(HOST_EXPORTS) \
12861 $(POSTSTAGE1_HOST_EXPORTS) \
12862 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12863 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12864 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12865 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12867 cd $(HOST_SUBDIR)/gmp || exit 1; \
12868 case $(srcdir) in \
12869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12870 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12872 esac; \
12873 module_srcdir=gmp; \
12874 $(SHELL) $$s/$$module_srcdir/configure \
12875 --srcdir=$${topdir}/$$module_srcdir \
12876 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12877 --target=none-${host_vendor}-${host_os} \
12878 --with-build-libsubdir=$(HOST_SUBDIR) \
12879 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12880 --disable-shared LEX="touch lex.yy.c"
12881 @endif gmp-bootstrap
12883 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12884 maybe-configure-stageautofeedback-gmp:
12885 @if gmp-bootstrap
12886 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12887 configure-stageautofeedback-gmp:
12888 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12889 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12890 @r=`${PWD_COMMAND}`; export r; \
12891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12892 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12893 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12894 $(HOST_EXPORTS) \
12895 $(POSTSTAGE1_HOST_EXPORTS) \
12896 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12897 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12898 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12899 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12901 cd $(HOST_SUBDIR)/gmp || exit 1; \
12902 case $(srcdir) in \
12903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12904 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12906 esac; \
12907 module_srcdir=gmp; \
12908 $(SHELL) $$s/$$module_srcdir/configure \
12909 --srcdir=$${topdir}/$$module_srcdir \
12910 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12911 --target=none-${host_vendor}-${host_os} \
12912 --with-build-libsubdir=$(HOST_SUBDIR) \
12913 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12914 --disable-shared LEX="touch lex.yy.c"
12915 @endif gmp-bootstrap
12921 .PHONY: all-gmp maybe-all-gmp
12922 maybe-all-gmp:
12923 @if gcc-bootstrap
12924 all-gmp: stage_current
12925 @endif gcc-bootstrap
12926 @if gmp
12927 TARGET-gmp=all
12928 maybe-all-gmp: all-gmp
12929 all-gmp: configure-gmp
12930 @r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(HOST_EXPORTS) \
12933 (cd $(HOST_SUBDIR)/gmp && \
12934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12935 $(TARGET-gmp))
12936 @endif gmp
12940 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12941 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12942 maybe-all-stage1-gmp:
12943 maybe-clean-stage1-gmp:
12944 @if gmp-bootstrap
12945 maybe-all-stage1-gmp: all-stage1-gmp
12946 all-stage1: all-stage1-gmp
12947 TARGET-stage1-gmp = $(TARGET-gmp)
12948 all-stage1-gmp: configure-stage1-gmp
12949 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12950 @r=`${PWD_COMMAND}`; export r; \
12951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12952 TFLAGS="$(STAGE1_TFLAGS)"; \
12953 $(HOST_EXPORTS) \
12954 cd $(HOST_SUBDIR)/gmp && \
12956 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12957 CFLAGS="$(STAGE1_CFLAGS)" \
12958 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12959 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12960 LIBCFLAGS="$(LIBCFLAGS)" \
12961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12964 $(EXTRA_HOST_FLAGS) \
12965 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12966 TFLAGS="$(STAGE1_TFLAGS)" \
12967 $(TARGET-stage1-gmp)
12969 maybe-clean-stage1-gmp: clean-stage1-gmp
12970 clean-stage1: clean-stage1-gmp
12971 clean-stage1-gmp:
12972 @if [ $(current_stage) = stage1 ]; then \
12973 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12974 else \
12975 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12976 $(MAKE) stage1-start; \
12977 fi; \
12978 cd $(HOST_SUBDIR)/gmp && \
12979 $(MAKE) $(EXTRA_HOST_FLAGS) \
12980 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12981 @endif gmp-bootstrap
12984 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12985 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12986 maybe-all-stage2-gmp:
12987 maybe-clean-stage2-gmp:
12988 @if gmp-bootstrap
12989 maybe-all-stage2-gmp: all-stage2-gmp
12990 all-stage2: all-stage2-gmp
12991 TARGET-stage2-gmp = $(TARGET-gmp)
12992 all-stage2-gmp: configure-stage2-gmp
12993 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12994 @r=`${PWD_COMMAND}`; export r; \
12995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12996 TFLAGS="$(STAGE2_TFLAGS)"; \
12997 $(HOST_EXPORTS) \
12998 $(POSTSTAGE1_HOST_EXPORTS) \
12999 cd $(HOST_SUBDIR)/gmp && \
13001 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13002 CFLAGS="$(STAGE2_CFLAGS)" \
13003 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13004 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13005 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13010 TFLAGS="$(STAGE2_TFLAGS)" \
13011 $(TARGET-stage2-gmp)
13013 maybe-clean-stage2-gmp: clean-stage2-gmp
13014 clean-stage2: clean-stage2-gmp
13015 clean-stage2-gmp:
13016 @if [ $(current_stage) = stage2 ]; then \
13017 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13018 else \
13019 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13020 $(MAKE) stage2-start; \
13021 fi; \
13022 cd $(HOST_SUBDIR)/gmp && \
13023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13024 @endif gmp-bootstrap
13027 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13028 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13029 maybe-all-stage3-gmp:
13030 maybe-clean-stage3-gmp:
13031 @if gmp-bootstrap
13032 maybe-all-stage3-gmp: all-stage3-gmp
13033 all-stage3: all-stage3-gmp
13034 TARGET-stage3-gmp = $(TARGET-gmp)
13035 all-stage3-gmp: configure-stage3-gmp
13036 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13037 @r=`${PWD_COMMAND}`; export r; \
13038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13039 TFLAGS="$(STAGE3_TFLAGS)"; \
13040 $(HOST_EXPORTS) \
13041 $(POSTSTAGE1_HOST_EXPORTS) \
13042 cd $(HOST_SUBDIR)/gmp && \
13044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13045 CFLAGS="$(STAGE3_CFLAGS)" \
13046 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13047 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13048 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13053 TFLAGS="$(STAGE3_TFLAGS)" \
13054 $(TARGET-stage3-gmp)
13056 maybe-clean-stage3-gmp: clean-stage3-gmp
13057 clean-stage3: clean-stage3-gmp
13058 clean-stage3-gmp:
13059 @if [ $(current_stage) = stage3 ]; then \
13060 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13061 else \
13062 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13063 $(MAKE) stage3-start; \
13064 fi; \
13065 cd $(HOST_SUBDIR)/gmp && \
13066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13067 @endif gmp-bootstrap
13070 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13071 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13072 maybe-all-stage4-gmp:
13073 maybe-clean-stage4-gmp:
13074 @if gmp-bootstrap
13075 maybe-all-stage4-gmp: all-stage4-gmp
13076 all-stage4: all-stage4-gmp
13077 TARGET-stage4-gmp = $(TARGET-gmp)
13078 all-stage4-gmp: configure-stage4-gmp
13079 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13080 @r=`${PWD_COMMAND}`; export r; \
13081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13082 TFLAGS="$(STAGE4_TFLAGS)"; \
13083 $(HOST_EXPORTS) \
13084 $(POSTSTAGE1_HOST_EXPORTS) \
13085 cd $(HOST_SUBDIR)/gmp && \
13087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13088 CFLAGS="$(STAGE4_CFLAGS)" \
13089 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13090 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13091 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13096 TFLAGS="$(STAGE4_TFLAGS)" \
13097 $(TARGET-stage4-gmp)
13099 maybe-clean-stage4-gmp: clean-stage4-gmp
13100 clean-stage4: clean-stage4-gmp
13101 clean-stage4-gmp:
13102 @if [ $(current_stage) = stage4 ]; then \
13103 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13104 else \
13105 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13106 $(MAKE) stage4-start; \
13107 fi; \
13108 cd $(HOST_SUBDIR)/gmp && \
13109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13110 @endif gmp-bootstrap
13113 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13114 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13115 maybe-all-stageprofile-gmp:
13116 maybe-clean-stageprofile-gmp:
13117 @if gmp-bootstrap
13118 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13119 all-stageprofile: all-stageprofile-gmp
13120 TARGET-stageprofile-gmp = $(TARGET-gmp)
13121 all-stageprofile-gmp: configure-stageprofile-gmp
13122 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13123 @r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13126 $(HOST_EXPORTS) \
13127 $(POSTSTAGE1_HOST_EXPORTS) \
13128 cd $(HOST_SUBDIR)/gmp && \
13130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13131 CFLAGS="$(STAGEprofile_CFLAGS)" \
13132 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13133 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13134 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13139 TFLAGS="$(STAGEprofile_TFLAGS)" \
13140 $(TARGET-stageprofile-gmp)
13142 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13143 clean-stageprofile: clean-stageprofile-gmp
13144 clean-stageprofile-gmp:
13145 @if [ $(current_stage) = stageprofile ]; then \
13146 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13147 else \
13148 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13149 $(MAKE) stageprofile-start; \
13150 fi; \
13151 cd $(HOST_SUBDIR)/gmp && \
13152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13153 @endif gmp-bootstrap
13156 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13157 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13158 maybe-all-stagetrain-gmp:
13159 maybe-clean-stagetrain-gmp:
13160 @if gmp-bootstrap
13161 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13162 all-stagetrain: all-stagetrain-gmp
13163 TARGET-stagetrain-gmp = $(TARGET-gmp)
13164 all-stagetrain-gmp: configure-stagetrain-gmp
13165 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13166 @r=`${PWD_COMMAND}`; export r; \
13167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13168 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13169 $(HOST_EXPORTS) \
13170 $(POSTSTAGE1_HOST_EXPORTS) \
13171 cd $(HOST_SUBDIR)/gmp && \
13173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13174 CFLAGS="$(STAGEtrain_CFLAGS)" \
13175 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13176 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13177 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13182 TFLAGS="$(STAGEtrain_TFLAGS)" \
13183 $(TARGET-stagetrain-gmp)
13185 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13186 clean-stagetrain: clean-stagetrain-gmp
13187 clean-stagetrain-gmp:
13188 @if [ $(current_stage) = stagetrain ]; then \
13189 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13190 else \
13191 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13192 $(MAKE) stagetrain-start; \
13193 fi; \
13194 cd $(HOST_SUBDIR)/gmp && \
13195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13196 @endif gmp-bootstrap
13199 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13200 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13201 maybe-all-stagefeedback-gmp:
13202 maybe-clean-stagefeedback-gmp:
13203 @if gmp-bootstrap
13204 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13205 all-stagefeedback: all-stagefeedback-gmp
13206 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13207 all-stagefeedback-gmp: configure-stagefeedback-gmp
13208 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13209 @r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13212 $(HOST_EXPORTS) \
13213 $(POSTSTAGE1_HOST_EXPORTS) \
13214 cd $(HOST_SUBDIR)/gmp && \
13216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13217 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13218 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13219 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13220 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13225 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13226 $(TARGET-stagefeedback-gmp)
13228 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13229 clean-stagefeedback: clean-stagefeedback-gmp
13230 clean-stagefeedback-gmp:
13231 @if [ $(current_stage) = stagefeedback ]; then \
13232 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13233 else \
13234 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13235 $(MAKE) stagefeedback-start; \
13236 fi; \
13237 cd $(HOST_SUBDIR)/gmp && \
13238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13239 @endif gmp-bootstrap
13242 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13243 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13244 maybe-all-stageautoprofile-gmp:
13245 maybe-clean-stageautoprofile-gmp:
13246 @if gmp-bootstrap
13247 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13248 all-stageautoprofile: all-stageautoprofile-gmp
13249 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13250 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13251 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13252 @r=`${PWD_COMMAND}`; export r; \
13253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13254 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13255 $(HOST_EXPORTS) \
13256 $(POSTSTAGE1_HOST_EXPORTS) \
13257 cd $(HOST_SUBDIR)/gmp && \
13258 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13260 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13261 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13262 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13263 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13268 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13269 $(TARGET-stageautoprofile-gmp)
13271 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13272 clean-stageautoprofile: clean-stageautoprofile-gmp
13273 clean-stageautoprofile-gmp:
13274 @if [ $(current_stage) = stageautoprofile ]; then \
13275 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13276 else \
13277 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13278 $(MAKE) stageautoprofile-start; \
13279 fi; \
13280 cd $(HOST_SUBDIR)/gmp && \
13281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13282 @endif gmp-bootstrap
13285 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13286 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13287 maybe-all-stageautofeedback-gmp:
13288 maybe-clean-stageautofeedback-gmp:
13289 @if gmp-bootstrap
13290 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13291 all-stageautofeedback: all-stageautofeedback-gmp
13292 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13293 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13294 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13295 @r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13298 $(HOST_EXPORTS) \
13299 $(POSTSTAGE1_HOST_EXPORTS) \
13300 cd $(HOST_SUBDIR)/gmp && \
13302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13303 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13304 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13305 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13306 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13311 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13312 $(TARGET-stageautofeedback-gmp)
13314 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13315 clean-stageautofeedback: clean-stageautofeedback-gmp
13316 clean-stageautofeedback-gmp:
13317 @if [ $(current_stage) = stageautofeedback ]; then \
13318 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13319 else \
13320 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13321 $(MAKE) stageautofeedback-start; \
13322 fi; \
13323 cd $(HOST_SUBDIR)/gmp && \
13324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13325 @endif gmp-bootstrap
13331 .PHONY: check-gmp maybe-check-gmp
13332 maybe-check-gmp:
13333 @if gmp
13334 maybe-check-gmp: check-gmp
13336 check-gmp:
13337 @: $(MAKE); $(unstage)
13338 @r=`${PWD_COMMAND}`; export r; \
13339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13340 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13341 (cd $(HOST_SUBDIR)/gmp && \
13342 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13344 @endif gmp
13346 .PHONY: install-gmp maybe-install-gmp
13347 maybe-install-gmp:
13348 @if gmp
13349 maybe-install-gmp: install-gmp
13351 install-gmp:
13353 @endif gmp
13355 .PHONY: install-strip-gmp maybe-install-strip-gmp
13356 maybe-install-strip-gmp:
13357 @if gmp
13358 maybe-install-strip-gmp: install-strip-gmp
13360 install-strip-gmp:
13362 @endif gmp
13364 # Other targets (info, dvi, pdf, etc.)
13366 .PHONY: maybe-info-gmp info-gmp
13367 maybe-info-gmp:
13368 @if gmp
13369 maybe-info-gmp: info-gmp
13371 info-gmp: \
13372 configure-gmp
13373 @[ -f ./gmp/Makefile ] || exit 0; \
13374 r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing info in gmp"; \
13381 (cd $(HOST_SUBDIR)/gmp && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13386 info) \
13387 || exit 1
13389 @endif gmp
13391 .PHONY: maybe-dvi-gmp dvi-gmp
13392 maybe-dvi-gmp:
13393 @if gmp
13394 maybe-dvi-gmp: dvi-gmp
13396 dvi-gmp: \
13397 configure-gmp
13398 @[ -f ./gmp/Makefile ] || exit 0; \
13399 r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 $(HOST_EXPORTS) \
13402 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13404 done; \
13405 echo "Doing dvi in gmp"; \
13406 (cd $(HOST_SUBDIR)/gmp && \
13407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13409 "RANLIB=$${RANLIB}" \
13410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13411 dvi) \
13412 || exit 1
13414 @endif gmp
13416 .PHONY: maybe-pdf-gmp pdf-gmp
13417 maybe-pdf-gmp:
13418 @if gmp
13419 maybe-pdf-gmp: pdf-gmp
13421 pdf-gmp: \
13422 configure-gmp
13423 @[ -f ./gmp/Makefile ] || exit 0; \
13424 r=`${PWD_COMMAND}`; export r; \
13425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13426 $(HOST_EXPORTS) \
13427 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13429 done; \
13430 echo "Doing pdf in gmp"; \
13431 (cd $(HOST_SUBDIR)/gmp && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13436 pdf) \
13437 || exit 1
13439 @endif gmp
13441 .PHONY: maybe-html-gmp html-gmp
13442 maybe-html-gmp:
13443 @if gmp
13444 maybe-html-gmp: html-gmp
13446 html-gmp: \
13447 configure-gmp
13448 @[ -f ./gmp/Makefile ] || exit 0; \
13449 r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 $(HOST_EXPORTS) \
13452 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454 done; \
13455 echo "Doing html in gmp"; \
13456 (cd $(HOST_SUBDIR)/gmp && \
13457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13459 "RANLIB=$${RANLIB}" \
13460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13461 html) \
13462 || exit 1
13464 @endif gmp
13466 .PHONY: maybe-TAGS-gmp TAGS-gmp
13467 maybe-TAGS-gmp:
13468 @if gmp
13469 maybe-TAGS-gmp: TAGS-gmp
13471 TAGS-gmp: \
13472 configure-gmp
13473 @[ -f ./gmp/Makefile ] || exit 0; \
13474 r=`${PWD_COMMAND}`; export r; \
13475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13476 $(HOST_EXPORTS) \
13477 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13479 done; \
13480 echo "Doing TAGS in gmp"; \
13481 (cd $(HOST_SUBDIR)/gmp && \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13484 "RANLIB=$${RANLIB}" \
13485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13486 TAGS) \
13487 || exit 1
13489 @endif gmp
13491 .PHONY: maybe-install-info-gmp install-info-gmp
13492 maybe-install-info-gmp:
13493 @if gmp
13494 maybe-install-info-gmp: install-info-gmp
13496 install-info-gmp: \
13497 configure-gmp \
13498 info-gmp
13499 @[ -f ./gmp/Makefile ] || exit 0; \
13500 r=`${PWD_COMMAND}`; export r; \
13501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13502 $(HOST_EXPORTS) \
13503 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 done; \
13506 echo "Doing install-info in gmp"; \
13507 (cd $(HOST_SUBDIR)/gmp && \
13508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13510 "RANLIB=$${RANLIB}" \
13511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13512 install-info) \
13513 || exit 1
13515 @endif gmp
13517 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13518 maybe-install-pdf-gmp:
13519 @if gmp
13520 maybe-install-pdf-gmp: install-pdf-gmp
13522 install-pdf-gmp: \
13523 configure-gmp \
13524 pdf-gmp
13525 @[ -f ./gmp/Makefile ] || exit 0; \
13526 r=`${PWD_COMMAND}`; export r; \
13527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13528 $(HOST_EXPORTS) \
13529 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13531 done; \
13532 echo "Doing install-pdf in gmp"; \
13533 (cd $(HOST_SUBDIR)/gmp && \
13534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13536 "RANLIB=$${RANLIB}" \
13537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13538 install-pdf) \
13539 || exit 1
13541 @endif gmp
13543 .PHONY: maybe-install-html-gmp install-html-gmp
13544 maybe-install-html-gmp:
13545 @if gmp
13546 maybe-install-html-gmp: install-html-gmp
13548 install-html-gmp: \
13549 configure-gmp \
13550 html-gmp
13551 @[ -f ./gmp/Makefile ] || exit 0; \
13552 r=`${PWD_COMMAND}`; export r; \
13553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 $(HOST_EXPORTS) \
13555 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13557 done; \
13558 echo "Doing install-html in gmp"; \
13559 (cd $(HOST_SUBDIR)/gmp && \
13560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13562 "RANLIB=$${RANLIB}" \
13563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13564 install-html) \
13565 || exit 1
13567 @endif gmp
13569 .PHONY: maybe-installcheck-gmp installcheck-gmp
13570 maybe-installcheck-gmp:
13571 @if gmp
13572 maybe-installcheck-gmp: installcheck-gmp
13574 installcheck-gmp: \
13575 configure-gmp
13576 @[ -f ./gmp/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(HOST_EXPORTS) \
13580 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 echo "Doing installcheck in gmp"; \
13584 (cd $(HOST_SUBDIR)/gmp && \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13589 installcheck) \
13590 || exit 1
13592 @endif gmp
13594 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13595 maybe-mostlyclean-gmp:
13596 @if gmp
13597 maybe-mostlyclean-gmp: mostlyclean-gmp
13599 mostlyclean-gmp:
13600 @[ -f ./gmp/Makefile ] || exit 0; \
13601 r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing mostlyclean in gmp"; \
13608 (cd $(HOST_SUBDIR)/gmp && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13613 mostlyclean) \
13614 || exit 1
13616 @endif gmp
13618 .PHONY: maybe-clean-gmp clean-gmp
13619 maybe-clean-gmp:
13620 @if gmp
13621 maybe-clean-gmp: clean-gmp
13623 clean-gmp:
13624 @[ -f ./gmp/Makefile ] || exit 0; \
13625 r=`${PWD_COMMAND}`; export r; \
13626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13627 $(HOST_EXPORTS) \
13628 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13630 done; \
13631 echo "Doing clean in gmp"; \
13632 (cd $(HOST_SUBDIR)/gmp && \
13633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13635 "RANLIB=$${RANLIB}" \
13636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13637 clean) \
13638 || exit 1
13640 @endif gmp
13642 .PHONY: maybe-distclean-gmp distclean-gmp
13643 maybe-distclean-gmp:
13644 @if gmp
13645 maybe-distclean-gmp: distclean-gmp
13647 distclean-gmp:
13648 @[ -f ./gmp/Makefile ] || exit 0; \
13649 r=`${PWD_COMMAND}`; export r; \
13650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13651 $(HOST_EXPORTS) \
13652 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13654 done; \
13655 echo "Doing distclean in gmp"; \
13656 (cd $(HOST_SUBDIR)/gmp && \
13657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13659 "RANLIB=$${RANLIB}" \
13660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13661 distclean) \
13662 || exit 1
13664 @endif gmp
13666 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13667 maybe-maintainer-clean-gmp:
13668 @if gmp
13669 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13671 maintainer-clean-gmp:
13672 @[ -f ./gmp/Makefile ] || exit 0; \
13673 r=`${PWD_COMMAND}`; export r; \
13674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13675 $(HOST_EXPORTS) \
13676 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13678 done; \
13679 echo "Doing maintainer-clean in gmp"; \
13680 (cd $(HOST_SUBDIR)/gmp && \
13681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13683 "RANLIB=$${RANLIB}" \
13684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13685 maintainer-clean) \
13686 || exit 1
13688 @endif gmp
13692 .PHONY: configure-mpfr maybe-configure-mpfr
13693 maybe-configure-mpfr:
13694 @if gcc-bootstrap
13695 configure-mpfr: stage_current
13696 @endif gcc-bootstrap
13697 @if mpfr
13698 maybe-configure-mpfr: configure-mpfr
13699 configure-mpfr:
13700 @r=`${PWD_COMMAND}`; export r; \
13701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13702 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13704 $(HOST_EXPORTS) \
13705 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13706 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13707 case $(srcdir) in \
13708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13709 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13711 esac; \
13712 module_srcdir=mpfr; \
13713 $(SHELL) \
13714 $$s/$$module_srcdir/configure \
13715 --srcdir=$${topdir}/$$module_srcdir \
13716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13717 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13718 || exit 1
13719 @endif mpfr
13723 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13724 maybe-configure-stage1-mpfr:
13725 @if mpfr-bootstrap
13726 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13727 configure-stage1-mpfr:
13728 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13730 @r=`${PWD_COMMAND}`; export r; \
13731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 TFLAGS="$(STAGE1_TFLAGS)"; \
13733 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13734 $(HOST_EXPORTS) \
13735 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13736 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13737 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13738 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13740 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13741 case $(srcdir) in \
13742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13743 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13745 esac; \
13746 module_srcdir=mpfr; \
13747 $(SHELL) $$s/$$module_srcdir/configure \
13748 --srcdir=$${topdir}/$$module_srcdir \
13749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13750 --target=${target_alias} \
13752 $(STAGE1_CONFIGURE_FLAGS) \
13753 --disable-shared @extra_mpfr_configure_flags@
13754 @endif mpfr-bootstrap
13756 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13757 maybe-configure-stage2-mpfr:
13758 @if mpfr-bootstrap
13759 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13760 configure-stage2-mpfr:
13761 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13763 @r=`${PWD_COMMAND}`; export r; \
13764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13765 TFLAGS="$(STAGE2_TFLAGS)"; \
13766 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13767 $(HOST_EXPORTS) \
13768 $(POSTSTAGE1_HOST_EXPORTS) \
13769 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13770 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13771 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13772 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13774 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13775 case $(srcdir) in \
13776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13777 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13779 esac; \
13780 module_srcdir=mpfr; \
13781 $(SHELL) $$s/$$module_srcdir/configure \
13782 --srcdir=$${topdir}/$$module_srcdir \
13783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13784 --target=${target_alias} \
13785 --with-build-libsubdir=$(HOST_SUBDIR) \
13786 $(STAGE2_CONFIGURE_FLAGS) \
13787 --disable-shared @extra_mpfr_configure_flags@
13788 @endif mpfr-bootstrap
13790 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13791 maybe-configure-stage3-mpfr:
13792 @if mpfr-bootstrap
13793 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13794 configure-stage3-mpfr:
13795 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13797 @r=`${PWD_COMMAND}`; export r; \
13798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13799 TFLAGS="$(STAGE3_TFLAGS)"; \
13800 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13801 $(HOST_EXPORTS) \
13802 $(POSTSTAGE1_HOST_EXPORTS) \
13803 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13804 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13805 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13806 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13808 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13809 case $(srcdir) in \
13810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13811 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13813 esac; \
13814 module_srcdir=mpfr; \
13815 $(SHELL) $$s/$$module_srcdir/configure \
13816 --srcdir=$${topdir}/$$module_srcdir \
13817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13818 --target=${target_alias} \
13819 --with-build-libsubdir=$(HOST_SUBDIR) \
13820 $(STAGE3_CONFIGURE_FLAGS) \
13821 --disable-shared @extra_mpfr_configure_flags@
13822 @endif mpfr-bootstrap
13824 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13825 maybe-configure-stage4-mpfr:
13826 @if mpfr-bootstrap
13827 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13828 configure-stage4-mpfr:
13829 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13831 @r=`${PWD_COMMAND}`; export r; \
13832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13833 TFLAGS="$(STAGE4_TFLAGS)"; \
13834 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13835 $(HOST_EXPORTS) \
13836 $(POSTSTAGE1_HOST_EXPORTS) \
13837 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13838 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13839 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13840 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13842 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13843 case $(srcdir) in \
13844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13845 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13847 esac; \
13848 module_srcdir=mpfr; \
13849 $(SHELL) $$s/$$module_srcdir/configure \
13850 --srcdir=$${topdir}/$$module_srcdir \
13851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13852 --target=${target_alias} \
13853 --with-build-libsubdir=$(HOST_SUBDIR) \
13854 $(STAGE4_CONFIGURE_FLAGS) \
13855 --disable-shared @extra_mpfr_configure_flags@
13856 @endif mpfr-bootstrap
13858 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13859 maybe-configure-stageprofile-mpfr:
13860 @if mpfr-bootstrap
13861 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13862 configure-stageprofile-mpfr:
13863 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13864 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13865 @r=`${PWD_COMMAND}`; export r; \
13866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13867 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13868 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13869 $(HOST_EXPORTS) \
13870 $(POSTSTAGE1_HOST_EXPORTS) \
13871 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13872 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13873 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13874 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13876 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13877 case $(srcdir) in \
13878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13879 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13881 esac; \
13882 module_srcdir=mpfr; \
13883 $(SHELL) $$s/$$module_srcdir/configure \
13884 --srcdir=$${topdir}/$$module_srcdir \
13885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13886 --target=${target_alias} \
13887 --with-build-libsubdir=$(HOST_SUBDIR) \
13888 $(STAGEprofile_CONFIGURE_FLAGS) \
13889 --disable-shared @extra_mpfr_configure_flags@
13890 @endif mpfr-bootstrap
13892 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13893 maybe-configure-stagetrain-mpfr:
13894 @if mpfr-bootstrap
13895 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13896 configure-stagetrain-mpfr:
13897 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13898 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13899 @r=`${PWD_COMMAND}`; export r; \
13900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13901 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13902 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13903 $(HOST_EXPORTS) \
13904 $(POSTSTAGE1_HOST_EXPORTS) \
13905 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13906 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13907 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13908 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13910 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13911 case $(srcdir) in \
13912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13913 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13915 esac; \
13916 module_srcdir=mpfr; \
13917 $(SHELL) $$s/$$module_srcdir/configure \
13918 --srcdir=$${topdir}/$$module_srcdir \
13919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13920 --target=${target_alias} \
13921 --with-build-libsubdir=$(HOST_SUBDIR) \
13922 $(STAGEtrain_CONFIGURE_FLAGS) \
13923 --disable-shared @extra_mpfr_configure_flags@
13924 @endif mpfr-bootstrap
13926 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13927 maybe-configure-stagefeedback-mpfr:
13928 @if mpfr-bootstrap
13929 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13930 configure-stagefeedback-mpfr:
13931 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13933 @r=`${PWD_COMMAND}`; export r; \
13934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13935 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13936 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13937 $(HOST_EXPORTS) \
13938 $(POSTSTAGE1_HOST_EXPORTS) \
13939 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13940 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13941 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13942 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13944 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13945 case $(srcdir) in \
13946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13947 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13949 esac; \
13950 module_srcdir=mpfr; \
13951 $(SHELL) $$s/$$module_srcdir/configure \
13952 --srcdir=$${topdir}/$$module_srcdir \
13953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13954 --target=${target_alias} \
13955 --with-build-libsubdir=$(HOST_SUBDIR) \
13956 $(STAGEfeedback_CONFIGURE_FLAGS) \
13957 --disable-shared @extra_mpfr_configure_flags@
13958 @endif mpfr-bootstrap
13960 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13961 maybe-configure-stageautoprofile-mpfr:
13962 @if mpfr-bootstrap
13963 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13964 configure-stageautoprofile-mpfr:
13965 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13967 @r=`${PWD_COMMAND}`; export r; \
13968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13969 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13970 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13971 $(HOST_EXPORTS) \
13972 $(POSTSTAGE1_HOST_EXPORTS) \
13973 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13974 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13975 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13976 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13978 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13979 case $(srcdir) in \
13980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13981 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13983 esac; \
13984 module_srcdir=mpfr; \
13985 $(SHELL) $$s/$$module_srcdir/configure \
13986 --srcdir=$${topdir}/$$module_srcdir \
13987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13988 --target=${target_alias} \
13989 --with-build-libsubdir=$(HOST_SUBDIR) \
13990 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13991 --disable-shared @extra_mpfr_configure_flags@
13992 @endif mpfr-bootstrap
13994 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13995 maybe-configure-stageautofeedback-mpfr:
13996 @if mpfr-bootstrap
13997 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13998 configure-stageautofeedback-mpfr:
13999 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14001 @r=`${PWD_COMMAND}`; export r; \
14002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14003 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14004 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14005 $(HOST_EXPORTS) \
14006 $(POSTSTAGE1_HOST_EXPORTS) \
14007 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14008 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14009 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14010 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14012 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14013 case $(srcdir) in \
14014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14015 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14017 esac; \
14018 module_srcdir=mpfr; \
14019 $(SHELL) $$s/$$module_srcdir/configure \
14020 --srcdir=$${topdir}/$$module_srcdir \
14021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14022 --target=${target_alias} \
14023 --with-build-libsubdir=$(HOST_SUBDIR) \
14024 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14025 --disable-shared @extra_mpfr_configure_flags@
14026 @endif mpfr-bootstrap
14032 .PHONY: all-mpfr maybe-all-mpfr
14033 maybe-all-mpfr:
14034 @if gcc-bootstrap
14035 all-mpfr: stage_current
14036 @endif gcc-bootstrap
14037 @if mpfr
14038 TARGET-mpfr=all
14039 maybe-all-mpfr: all-mpfr
14040 all-mpfr: configure-mpfr
14041 @r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 $(HOST_EXPORTS) \
14044 (cd $(HOST_SUBDIR)/mpfr && \
14045 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14046 $(TARGET-mpfr))
14047 @endif mpfr
14051 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14052 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14053 maybe-all-stage1-mpfr:
14054 maybe-clean-stage1-mpfr:
14055 @if mpfr-bootstrap
14056 maybe-all-stage1-mpfr: all-stage1-mpfr
14057 all-stage1: all-stage1-mpfr
14058 TARGET-stage1-mpfr = $(TARGET-mpfr)
14059 all-stage1-mpfr: configure-stage1-mpfr
14060 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14061 @r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 TFLAGS="$(STAGE1_TFLAGS)"; \
14064 $(HOST_EXPORTS) \
14065 cd $(HOST_SUBDIR)/mpfr && \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14068 CFLAGS="$(STAGE1_CFLAGS)" \
14069 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14070 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14071 LIBCFLAGS="$(LIBCFLAGS)" \
14072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14075 $(EXTRA_HOST_FLAGS) \
14076 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14077 TFLAGS="$(STAGE1_TFLAGS)" \
14078 $(TARGET-stage1-mpfr)
14080 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14081 clean-stage1: clean-stage1-mpfr
14082 clean-stage1-mpfr:
14083 @if [ $(current_stage) = stage1 ]; then \
14084 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14085 else \
14086 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14087 $(MAKE) stage1-start; \
14088 fi; \
14089 cd $(HOST_SUBDIR)/mpfr && \
14090 $(MAKE) $(EXTRA_HOST_FLAGS) \
14091 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14092 @endif mpfr-bootstrap
14095 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14096 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14097 maybe-all-stage2-mpfr:
14098 maybe-clean-stage2-mpfr:
14099 @if mpfr-bootstrap
14100 maybe-all-stage2-mpfr: all-stage2-mpfr
14101 all-stage2: all-stage2-mpfr
14102 TARGET-stage2-mpfr = $(TARGET-mpfr)
14103 all-stage2-mpfr: configure-stage2-mpfr
14104 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14105 @r=`${PWD_COMMAND}`; export r; \
14106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14107 TFLAGS="$(STAGE2_TFLAGS)"; \
14108 $(HOST_EXPORTS) \
14109 $(POSTSTAGE1_HOST_EXPORTS) \
14110 cd $(HOST_SUBDIR)/mpfr && \
14112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14113 CFLAGS="$(STAGE2_CFLAGS)" \
14114 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14115 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14116 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14121 TFLAGS="$(STAGE2_TFLAGS)" \
14122 $(TARGET-stage2-mpfr)
14124 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14125 clean-stage2: clean-stage2-mpfr
14126 clean-stage2-mpfr:
14127 @if [ $(current_stage) = stage2 ]; then \
14128 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14129 else \
14130 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14131 $(MAKE) stage2-start; \
14132 fi; \
14133 cd $(HOST_SUBDIR)/mpfr && \
14134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14135 @endif mpfr-bootstrap
14138 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14139 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14140 maybe-all-stage3-mpfr:
14141 maybe-clean-stage3-mpfr:
14142 @if mpfr-bootstrap
14143 maybe-all-stage3-mpfr: all-stage3-mpfr
14144 all-stage3: all-stage3-mpfr
14145 TARGET-stage3-mpfr = $(TARGET-mpfr)
14146 all-stage3-mpfr: configure-stage3-mpfr
14147 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14148 @r=`${PWD_COMMAND}`; export r; \
14149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14150 TFLAGS="$(STAGE3_TFLAGS)"; \
14151 $(HOST_EXPORTS) \
14152 $(POSTSTAGE1_HOST_EXPORTS) \
14153 cd $(HOST_SUBDIR)/mpfr && \
14155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14156 CFLAGS="$(STAGE3_CFLAGS)" \
14157 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14158 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14159 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14164 TFLAGS="$(STAGE3_TFLAGS)" \
14165 $(TARGET-stage3-mpfr)
14167 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14168 clean-stage3: clean-stage3-mpfr
14169 clean-stage3-mpfr:
14170 @if [ $(current_stage) = stage3 ]; then \
14171 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14172 else \
14173 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14174 $(MAKE) stage3-start; \
14175 fi; \
14176 cd $(HOST_SUBDIR)/mpfr && \
14177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14178 @endif mpfr-bootstrap
14181 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14182 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14183 maybe-all-stage4-mpfr:
14184 maybe-clean-stage4-mpfr:
14185 @if mpfr-bootstrap
14186 maybe-all-stage4-mpfr: all-stage4-mpfr
14187 all-stage4: all-stage4-mpfr
14188 TARGET-stage4-mpfr = $(TARGET-mpfr)
14189 all-stage4-mpfr: configure-stage4-mpfr
14190 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14191 @r=`${PWD_COMMAND}`; export r; \
14192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14193 TFLAGS="$(STAGE4_TFLAGS)"; \
14194 $(HOST_EXPORTS) \
14195 $(POSTSTAGE1_HOST_EXPORTS) \
14196 cd $(HOST_SUBDIR)/mpfr && \
14198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14199 CFLAGS="$(STAGE4_CFLAGS)" \
14200 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14201 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14202 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14207 TFLAGS="$(STAGE4_TFLAGS)" \
14208 $(TARGET-stage4-mpfr)
14210 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14211 clean-stage4: clean-stage4-mpfr
14212 clean-stage4-mpfr:
14213 @if [ $(current_stage) = stage4 ]; then \
14214 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14215 else \
14216 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14217 $(MAKE) stage4-start; \
14218 fi; \
14219 cd $(HOST_SUBDIR)/mpfr && \
14220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14221 @endif mpfr-bootstrap
14224 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14225 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14226 maybe-all-stageprofile-mpfr:
14227 maybe-clean-stageprofile-mpfr:
14228 @if mpfr-bootstrap
14229 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14230 all-stageprofile: all-stageprofile-mpfr
14231 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14232 all-stageprofile-mpfr: configure-stageprofile-mpfr
14233 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14234 @r=`${PWD_COMMAND}`; export r; \
14235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14236 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14237 $(HOST_EXPORTS) \
14238 $(POSTSTAGE1_HOST_EXPORTS) \
14239 cd $(HOST_SUBDIR)/mpfr && \
14241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14242 CFLAGS="$(STAGEprofile_CFLAGS)" \
14243 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14244 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14245 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14250 TFLAGS="$(STAGEprofile_TFLAGS)" \
14251 $(TARGET-stageprofile-mpfr)
14253 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14254 clean-stageprofile: clean-stageprofile-mpfr
14255 clean-stageprofile-mpfr:
14256 @if [ $(current_stage) = stageprofile ]; then \
14257 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14258 else \
14259 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14260 $(MAKE) stageprofile-start; \
14261 fi; \
14262 cd $(HOST_SUBDIR)/mpfr && \
14263 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14264 @endif mpfr-bootstrap
14267 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14268 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14269 maybe-all-stagetrain-mpfr:
14270 maybe-clean-stagetrain-mpfr:
14271 @if mpfr-bootstrap
14272 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14273 all-stagetrain: all-stagetrain-mpfr
14274 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14275 all-stagetrain-mpfr: configure-stagetrain-mpfr
14276 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14277 @r=`${PWD_COMMAND}`; export r; \
14278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14279 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14280 $(HOST_EXPORTS) \
14281 $(POSTSTAGE1_HOST_EXPORTS) \
14282 cd $(HOST_SUBDIR)/mpfr && \
14284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14285 CFLAGS="$(STAGEtrain_CFLAGS)" \
14286 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14287 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14288 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14292 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14293 TFLAGS="$(STAGEtrain_TFLAGS)" \
14294 $(TARGET-stagetrain-mpfr)
14296 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14297 clean-stagetrain: clean-stagetrain-mpfr
14298 clean-stagetrain-mpfr:
14299 @if [ $(current_stage) = stagetrain ]; then \
14300 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14301 else \
14302 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14303 $(MAKE) stagetrain-start; \
14304 fi; \
14305 cd $(HOST_SUBDIR)/mpfr && \
14306 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14307 @endif mpfr-bootstrap
14310 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14311 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14312 maybe-all-stagefeedback-mpfr:
14313 maybe-clean-stagefeedback-mpfr:
14314 @if mpfr-bootstrap
14315 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14316 all-stagefeedback: all-stagefeedback-mpfr
14317 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14318 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14319 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14320 @r=`${PWD_COMMAND}`; export r; \
14321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14322 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14323 $(HOST_EXPORTS) \
14324 $(POSTSTAGE1_HOST_EXPORTS) \
14325 cd $(HOST_SUBDIR)/mpfr && \
14327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14328 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14329 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14330 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14331 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14336 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14337 $(TARGET-stagefeedback-mpfr)
14339 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14340 clean-stagefeedback: clean-stagefeedback-mpfr
14341 clean-stagefeedback-mpfr:
14342 @if [ $(current_stage) = stagefeedback ]; then \
14343 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14344 else \
14345 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14346 $(MAKE) stagefeedback-start; \
14347 fi; \
14348 cd $(HOST_SUBDIR)/mpfr && \
14349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14350 @endif mpfr-bootstrap
14353 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14354 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14355 maybe-all-stageautoprofile-mpfr:
14356 maybe-clean-stageautoprofile-mpfr:
14357 @if mpfr-bootstrap
14358 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14359 all-stageautoprofile: all-stageautoprofile-mpfr
14360 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14361 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14362 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14363 @r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14366 $(HOST_EXPORTS) \
14367 $(POSTSTAGE1_HOST_EXPORTS) \
14368 cd $(HOST_SUBDIR)/mpfr && \
14369 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14371 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14372 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14373 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14374 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14379 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14380 $(TARGET-stageautoprofile-mpfr)
14382 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14383 clean-stageautoprofile: clean-stageautoprofile-mpfr
14384 clean-stageautoprofile-mpfr:
14385 @if [ $(current_stage) = stageautoprofile ]; then \
14386 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14387 else \
14388 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14389 $(MAKE) stageautoprofile-start; \
14390 fi; \
14391 cd $(HOST_SUBDIR)/mpfr && \
14392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14393 @endif mpfr-bootstrap
14396 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14397 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14398 maybe-all-stageautofeedback-mpfr:
14399 maybe-clean-stageautofeedback-mpfr:
14400 @if mpfr-bootstrap
14401 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14402 all-stageautofeedback: all-stageautofeedback-mpfr
14403 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14404 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14405 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14406 @r=`${PWD_COMMAND}`; export r; \
14407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14408 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14409 $(HOST_EXPORTS) \
14410 $(POSTSTAGE1_HOST_EXPORTS) \
14411 cd $(HOST_SUBDIR)/mpfr && \
14413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14414 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14415 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14416 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14417 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14422 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14423 $(TARGET-stageautofeedback-mpfr)
14425 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14426 clean-stageautofeedback: clean-stageautofeedback-mpfr
14427 clean-stageautofeedback-mpfr:
14428 @if [ $(current_stage) = stageautofeedback ]; then \
14429 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14430 else \
14431 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14432 $(MAKE) stageautofeedback-start; \
14433 fi; \
14434 cd $(HOST_SUBDIR)/mpfr && \
14435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14436 @endif mpfr-bootstrap
14442 .PHONY: check-mpfr maybe-check-mpfr
14443 maybe-check-mpfr:
14444 @if mpfr
14445 maybe-check-mpfr: check-mpfr
14447 check-mpfr:
14448 @: $(MAKE); $(unstage)
14449 @r=`${PWD_COMMAND}`; export r; \
14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14452 (cd $(HOST_SUBDIR)/mpfr && \
14453 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14455 @endif mpfr
14457 .PHONY: install-mpfr maybe-install-mpfr
14458 maybe-install-mpfr:
14459 @if mpfr
14460 maybe-install-mpfr: install-mpfr
14462 install-mpfr:
14464 @endif mpfr
14466 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14467 maybe-install-strip-mpfr:
14468 @if mpfr
14469 maybe-install-strip-mpfr: install-strip-mpfr
14471 install-strip-mpfr:
14473 @endif mpfr
14475 # Other targets (info, dvi, pdf, etc.)
14477 .PHONY: maybe-info-mpfr info-mpfr
14478 maybe-info-mpfr:
14479 @if mpfr
14480 maybe-info-mpfr: info-mpfr
14482 info-mpfr: \
14483 configure-mpfr
14484 @[ -f ./mpfr/Makefile ] || exit 0; \
14485 r=`${PWD_COMMAND}`; export r; \
14486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 $(HOST_EXPORTS) \
14488 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14490 done; \
14491 echo "Doing info in mpfr"; \
14492 (cd $(HOST_SUBDIR)/mpfr && \
14493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14495 "RANLIB=$${RANLIB}" \
14496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14497 info) \
14498 || exit 1
14500 @endif mpfr
14502 .PHONY: maybe-dvi-mpfr dvi-mpfr
14503 maybe-dvi-mpfr:
14504 @if mpfr
14505 maybe-dvi-mpfr: dvi-mpfr
14507 dvi-mpfr: \
14508 configure-mpfr
14509 @[ -f ./mpfr/Makefile ] || exit 0; \
14510 r=`${PWD_COMMAND}`; export r; \
14511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14512 $(HOST_EXPORTS) \
14513 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14515 done; \
14516 echo "Doing dvi in mpfr"; \
14517 (cd $(HOST_SUBDIR)/mpfr && \
14518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14520 "RANLIB=$${RANLIB}" \
14521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14522 dvi) \
14523 || exit 1
14525 @endif mpfr
14527 .PHONY: maybe-pdf-mpfr pdf-mpfr
14528 maybe-pdf-mpfr:
14529 @if mpfr
14530 maybe-pdf-mpfr: pdf-mpfr
14532 pdf-mpfr: \
14533 configure-mpfr
14534 @[ -f ./mpfr/Makefile ] || exit 0; \
14535 r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537 $(HOST_EXPORTS) \
14538 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14540 done; \
14541 echo "Doing pdf in mpfr"; \
14542 (cd $(HOST_SUBDIR)/mpfr && \
14543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14545 "RANLIB=$${RANLIB}" \
14546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14547 pdf) \
14548 || exit 1
14550 @endif mpfr
14552 .PHONY: maybe-html-mpfr html-mpfr
14553 maybe-html-mpfr:
14554 @if mpfr
14555 maybe-html-mpfr: html-mpfr
14557 html-mpfr: \
14558 configure-mpfr
14559 @[ -f ./mpfr/Makefile ] || exit 0; \
14560 r=`${PWD_COMMAND}`; export r; \
14561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14562 $(HOST_EXPORTS) \
14563 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14565 done; \
14566 echo "Doing html in mpfr"; \
14567 (cd $(HOST_SUBDIR)/mpfr && \
14568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14570 "RANLIB=$${RANLIB}" \
14571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14572 html) \
14573 || exit 1
14575 @endif mpfr
14577 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14578 maybe-TAGS-mpfr:
14579 @if mpfr
14580 maybe-TAGS-mpfr: TAGS-mpfr
14582 TAGS-mpfr: \
14583 configure-mpfr
14584 @[ -f ./mpfr/Makefile ] || exit 0; \
14585 r=`${PWD_COMMAND}`; export r; \
14586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14587 $(HOST_EXPORTS) \
14588 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14590 done; \
14591 echo "Doing TAGS in mpfr"; \
14592 (cd $(HOST_SUBDIR)/mpfr && \
14593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14595 "RANLIB=$${RANLIB}" \
14596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14597 TAGS) \
14598 || exit 1
14600 @endif mpfr
14602 .PHONY: maybe-install-info-mpfr install-info-mpfr
14603 maybe-install-info-mpfr:
14604 @if mpfr
14605 maybe-install-info-mpfr: install-info-mpfr
14607 install-info-mpfr: \
14608 configure-mpfr \
14609 info-mpfr
14610 @[ -f ./mpfr/Makefile ] || exit 0; \
14611 r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613 $(HOST_EXPORTS) \
14614 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14616 done; \
14617 echo "Doing install-info in mpfr"; \
14618 (cd $(HOST_SUBDIR)/mpfr && \
14619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14621 "RANLIB=$${RANLIB}" \
14622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14623 install-info) \
14624 || exit 1
14626 @endif mpfr
14628 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14629 maybe-install-pdf-mpfr:
14630 @if mpfr
14631 maybe-install-pdf-mpfr: install-pdf-mpfr
14633 install-pdf-mpfr: \
14634 configure-mpfr \
14635 pdf-mpfr
14636 @[ -f ./mpfr/Makefile ] || exit 0; \
14637 r=`${PWD_COMMAND}`; export r; \
14638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14639 $(HOST_EXPORTS) \
14640 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14642 done; \
14643 echo "Doing install-pdf in mpfr"; \
14644 (cd $(HOST_SUBDIR)/mpfr && \
14645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14647 "RANLIB=$${RANLIB}" \
14648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14649 install-pdf) \
14650 || exit 1
14652 @endif mpfr
14654 .PHONY: maybe-install-html-mpfr install-html-mpfr
14655 maybe-install-html-mpfr:
14656 @if mpfr
14657 maybe-install-html-mpfr: install-html-mpfr
14659 install-html-mpfr: \
14660 configure-mpfr \
14661 html-mpfr
14662 @[ -f ./mpfr/Makefile ] || exit 0; \
14663 r=`${PWD_COMMAND}`; export r; \
14664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14665 $(HOST_EXPORTS) \
14666 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14668 done; \
14669 echo "Doing install-html in mpfr"; \
14670 (cd $(HOST_SUBDIR)/mpfr && \
14671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14673 "RANLIB=$${RANLIB}" \
14674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14675 install-html) \
14676 || exit 1
14678 @endif mpfr
14680 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14681 maybe-installcheck-mpfr:
14682 @if mpfr
14683 maybe-installcheck-mpfr: installcheck-mpfr
14685 installcheck-mpfr: \
14686 configure-mpfr
14687 @[ -f ./mpfr/Makefile ] || exit 0; \
14688 r=`${PWD_COMMAND}`; export r; \
14689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 $(HOST_EXPORTS) \
14691 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14693 done; \
14694 echo "Doing installcheck in mpfr"; \
14695 (cd $(HOST_SUBDIR)/mpfr && \
14696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14698 "RANLIB=$${RANLIB}" \
14699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14700 installcheck) \
14701 || exit 1
14703 @endif mpfr
14705 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14706 maybe-mostlyclean-mpfr:
14707 @if mpfr
14708 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14710 mostlyclean-mpfr:
14711 @[ -f ./mpfr/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing mostlyclean in mpfr"; \
14719 (cd $(HOST_SUBDIR)/mpfr && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14724 mostlyclean) \
14725 || exit 1
14727 @endif mpfr
14729 .PHONY: maybe-clean-mpfr clean-mpfr
14730 maybe-clean-mpfr:
14731 @if mpfr
14732 maybe-clean-mpfr: clean-mpfr
14734 clean-mpfr:
14735 @[ -f ./mpfr/Makefile ] || exit 0; \
14736 r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing clean in mpfr"; \
14743 (cd $(HOST_SUBDIR)/mpfr && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14748 clean) \
14749 || exit 1
14751 @endif mpfr
14753 .PHONY: maybe-distclean-mpfr distclean-mpfr
14754 maybe-distclean-mpfr:
14755 @if mpfr
14756 maybe-distclean-mpfr: distclean-mpfr
14758 distclean-mpfr:
14759 @[ -f ./mpfr/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 $(HOST_EXPORTS) \
14763 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14765 done; \
14766 echo "Doing distclean in mpfr"; \
14767 (cd $(HOST_SUBDIR)/mpfr && \
14768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770 "RANLIB=$${RANLIB}" \
14771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14772 distclean) \
14773 || exit 1
14775 @endif mpfr
14777 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14778 maybe-maintainer-clean-mpfr:
14779 @if mpfr
14780 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14782 maintainer-clean-mpfr:
14783 @[ -f ./mpfr/Makefile ] || exit 0; \
14784 r=`${PWD_COMMAND}`; export r; \
14785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14786 $(HOST_EXPORTS) \
14787 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14789 done; \
14790 echo "Doing maintainer-clean in mpfr"; \
14791 (cd $(HOST_SUBDIR)/mpfr && \
14792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14794 "RANLIB=$${RANLIB}" \
14795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14796 maintainer-clean) \
14797 || exit 1
14799 @endif mpfr
14803 .PHONY: configure-mpc maybe-configure-mpc
14804 maybe-configure-mpc:
14805 @if gcc-bootstrap
14806 configure-mpc: stage_current
14807 @endif gcc-bootstrap
14808 @if mpc
14809 maybe-configure-mpc: configure-mpc
14810 configure-mpc:
14811 @r=`${PWD_COMMAND}`; export r; \
14812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14813 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14815 $(HOST_EXPORTS) \
14816 echo Configuring in $(HOST_SUBDIR)/mpc; \
14817 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14818 case $(srcdir) in \
14819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14820 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14822 esac; \
14823 module_srcdir=mpc; \
14824 $(SHELL) \
14825 $$s/$$module_srcdir/configure \
14826 --srcdir=$${topdir}/$$module_srcdir \
14827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14828 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14829 || exit 1
14830 @endif mpc
14834 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14835 maybe-configure-stage1-mpc:
14836 @if mpc-bootstrap
14837 maybe-configure-stage1-mpc: configure-stage1-mpc
14838 configure-stage1-mpc:
14839 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14841 @r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 TFLAGS="$(STAGE1_TFLAGS)"; \
14844 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14845 $(HOST_EXPORTS) \
14846 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14847 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14848 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14849 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14851 cd $(HOST_SUBDIR)/mpc || exit 1; \
14852 case $(srcdir) in \
14853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14854 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14856 esac; \
14857 module_srcdir=mpc; \
14858 $(SHELL) $$s/$$module_srcdir/configure \
14859 --srcdir=$${topdir}/$$module_srcdir \
14860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14861 --target=${target_alias} \
14863 $(STAGE1_CONFIGURE_FLAGS) \
14864 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14865 @endif mpc-bootstrap
14867 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14868 maybe-configure-stage2-mpc:
14869 @if mpc-bootstrap
14870 maybe-configure-stage2-mpc: configure-stage2-mpc
14871 configure-stage2-mpc:
14872 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14874 @r=`${PWD_COMMAND}`; export r; \
14875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876 TFLAGS="$(STAGE2_TFLAGS)"; \
14877 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14878 $(HOST_EXPORTS) \
14879 $(POSTSTAGE1_HOST_EXPORTS) \
14880 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14881 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14882 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14883 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14885 cd $(HOST_SUBDIR)/mpc || exit 1; \
14886 case $(srcdir) in \
14887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14888 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14890 esac; \
14891 module_srcdir=mpc; \
14892 $(SHELL) $$s/$$module_srcdir/configure \
14893 --srcdir=$${topdir}/$$module_srcdir \
14894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14895 --target=${target_alias} \
14896 --with-build-libsubdir=$(HOST_SUBDIR) \
14897 $(STAGE2_CONFIGURE_FLAGS) \
14898 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14899 @endif mpc-bootstrap
14901 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14902 maybe-configure-stage3-mpc:
14903 @if mpc-bootstrap
14904 maybe-configure-stage3-mpc: configure-stage3-mpc
14905 configure-stage3-mpc:
14906 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14908 @r=`${PWD_COMMAND}`; export r; \
14909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14910 TFLAGS="$(STAGE3_TFLAGS)"; \
14911 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14912 $(HOST_EXPORTS) \
14913 $(POSTSTAGE1_HOST_EXPORTS) \
14914 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14915 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14916 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14917 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14919 cd $(HOST_SUBDIR)/mpc || exit 1; \
14920 case $(srcdir) in \
14921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14922 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14924 esac; \
14925 module_srcdir=mpc; \
14926 $(SHELL) $$s/$$module_srcdir/configure \
14927 --srcdir=$${topdir}/$$module_srcdir \
14928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14929 --target=${target_alias} \
14930 --with-build-libsubdir=$(HOST_SUBDIR) \
14931 $(STAGE3_CONFIGURE_FLAGS) \
14932 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14933 @endif mpc-bootstrap
14935 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14936 maybe-configure-stage4-mpc:
14937 @if mpc-bootstrap
14938 maybe-configure-stage4-mpc: configure-stage4-mpc
14939 configure-stage4-mpc:
14940 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14942 @r=`${PWD_COMMAND}`; export r; \
14943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 TFLAGS="$(STAGE4_TFLAGS)"; \
14945 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14946 $(HOST_EXPORTS) \
14947 $(POSTSTAGE1_HOST_EXPORTS) \
14948 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14949 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14950 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14951 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14953 cd $(HOST_SUBDIR)/mpc || exit 1; \
14954 case $(srcdir) in \
14955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14956 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14958 esac; \
14959 module_srcdir=mpc; \
14960 $(SHELL) $$s/$$module_srcdir/configure \
14961 --srcdir=$${topdir}/$$module_srcdir \
14962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14963 --target=${target_alias} \
14964 --with-build-libsubdir=$(HOST_SUBDIR) \
14965 $(STAGE4_CONFIGURE_FLAGS) \
14966 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14967 @endif mpc-bootstrap
14969 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14970 maybe-configure-stageprofile-mpc:
14971 @if mpc-bootstrap
14972 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14973 configure-stageprofile-mpc:
14974 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14976 @r=`${PWD_COMMAND}`; export r; \
14977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14978 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14979 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14980 $(HOST_EXPORTS) \
14981 $(POSTSTAGE1_HOST_EXPORTS) \
14982 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14983 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14984 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14985 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14987 cd $(HOST_SUBDIR)/mpc || exit 1; \
14988 case $(srcdir) in \
14989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14990 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14992 esac; \
14993 module_srcdir=mpc; \
14994 $(SHELL) $$s/$$module_srcdir/configure \
14995 --srcdir=$${topdir}/$$module_srcdir \
14996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14997 --target=${target_alias} \
14998 --with-build-libsubdir=$(HOST_SUBDIR) \
14999 $(STAGEprofile_CONFIGURE_FLAGS) \
15000 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15001 @endif mpc-bootstrap
15003 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15004 maybe-configure-stagetrain-mpc:
15005 @if mpc-bootstrap
15006 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15007 configure-stagetrain-mpc:
15008 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15010 @r=`${PWD_COMMAND}`; export r; \
15011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15012 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15013 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15014 $(HOST_EXPORTS) \
15015 $(POSTSTAGE1_HOST_EXPORTS) \
15016 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15017 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15018 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15019 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15021 cd $(HOST_SUBDIR)/mpc || exit 1; \
15022 case $(srcdir) in \
15023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15024 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15026 esac; \
15027 module_srcdir=mpc; \
15028 $(SHELL) $$s/$$module_srcdir/configure \
15029 --srcdir=$${topdir}/$$module_srcdir \
15030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15031 --target=${target_alias} \
15032 --with-build-libsubdir=$(HOST_SUBDIR) \
15033 $(STAGEtrain_CONFIGURE_FLAGS) \
15034 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15035 @endif mpc-bootstrap
15037 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15038 maybe-configure-stagefeedback-mpc:
15039 @if mpc-bootstrap
15040 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15041 configure-stagefeedback-mpc:
15042 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15044 @r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15047 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15048 $(HOST_EXPORTS) \
15049 $(POSTSTAGE1_HOST_EXPORTS) \
15050 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15051 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15052 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15053 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15055 cd $(HOST_SUBDIR)/mpc || exit 1; \
15056 case $(srcdir) in \
15057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15058 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15060 esac; \
15061 module_srcdir=mpc; \
15062 $(SHELL) $$s/$$module_srcdir/configure \
15063 --srcdir=$${topdir}/$$module_srcdir \
15064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15065 --target=${target_alias} \
15066 --with-build-libsubdir=$(HOST_SUBDIR) \
15067 $(STAGEfeedback_CONFIGURE_FLAGS) \
15068 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15069 @endif mpc-bootstrap
15071 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15072 maybe-configure-stageautoprofile-mpc:
15073 @if mpc-bootstrap
15074 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15075 configure-stageautoprofile-mpc:
15076 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15078 @r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15081 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15082 $(HOST_EXPORTS) \
15083 $(POSTSTAGE1_HOST_EXPORTS) \
15084 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15085 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15086 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15087 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15089 cd $(HOST_SUBDIR)/mpc || exit 1; \
15090 case $(srcdir) in \
15091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15092 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15094 esac; \
15095 module_srcdir=mpc; \
15096 $(SHELL) $$s/$$module_srcdir/configure \
15097 --srcdir=$${topdir}/$$module_srcdir \
15098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15099 --target=${target_alias} \
15100 --with-build-libsubdir=$(HOST_SUBDIR) \
15101 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15102 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15103 @endif mpc-bootstrap
15105 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15106 maybe-configure-stageautofeedback-mpc:
15107 @if mpc-bootstrap
15108 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15109 configure-stageautofeedback-mpc:
15110 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15112 @r=`${PWD_COMMAND}`; export r; \
15113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15114 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15115 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15116 $(HOST_EXPORTS) \
15117 $(POSTSTAGE1_HOST_EXPORTS) \
15118 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15119 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15120 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15121 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15123 cd $(HOST_SUBDIR)/mpc || exit 1; \
15124 case $(srcdir) in \
15125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15126 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15128 esac; \
15129 module_srcdir=mpc; \
15130 $(SHELL) $$s/$$module_srcdir/configure \
15131 --srcdir=$${topdir}/$$module_srcdir \
15132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15133 --target=${target_alias} \
15134 --with-build-libsubdir=$(HOST_SUBDIR) \
15135 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15136 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15137 @endif mpc-bootstrap
15143 .PHONY: all-mpc maybe-all-mpc
15144 maybe-all-mpc:
15145 @if gcc-bootstrap
15146 all-mpc: stage_current
15147 @endif gcc-bootstrap
15148 @if mpc
15149 TARGET-mpc=all
15150 maybe-all-mpc: all-mpc
15151 all-mpc: configure-mpc
15152 @r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(HOST_EXPORTS) \
15155 (cd $(HOST_SUBDIR)/mpc && \
15156 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15157 $(TARGET-mpc))
15158 @endif mpc
15162 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15163 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15164 maybe-all-stage1-mpc:
15165 maybe-clean-stage1-mpc:
15166 @if mpc-bootstrap
15167 maybe-all-stage1-mpc: all-stage1-mpc
15168 all-stage1: all-stage1-mpc
15169 TARGET-stage1-mpc = $(TARGET-mpc)
15170 all-stage1-mpc: configure-stage1-mpc
15171 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15172 @r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174 TFLAGS="$(STAGE1_TFLAGS)"; \
15175 $(HOST_EXPORTS) \
15176 cd $(HOST_SUBDIR)/mpc && \
15178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15179 CFLAGS="$(STAGE1_CFLAGS)" \
15180 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15181 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15182 LIBCFLAGS="$(LIBCFLAGS)" \
15183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15186 $(EXTRA_HOST_FLAGS) \
15187 $(STAGE1_FLAGS_TO_PASS) \
15188 TFLAGS="$(STAGE1_TFLAGS)" \
15189 $(TARGET-stage1-mpc)
15191 maybe-clean-stage1-mpc: clean-stage1-mpc
15192 clean-stage1: clean-stage1-mpc
15193 clean-stage1-mpc:
15194 @if [ $(current_stage) = stage1 ]; then \
15195 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15196 else \
15197 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15198 $(MAKE) stage1-start; \
15199 fi; \
15200 cd $(HOST_SUBDIR)/mpc && \
15201 $(MAKE) $(EXTRA_HOST_FLAGS) \
15202 $(STAGE1_FLAGS_TO_PASS) clean
15203 @endif mpc-bootstrap
15206 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15207 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15208 maybe-all-stage2-mpc:
15209 maybe-clean-stage2-mpc:
15210 @if mpc-bootstrap
15211 maybe-all-stage2-mpc: all-stage2-mpc
15212 all-stage2: all-stage2-mpc
15213 TARGET-stage2-mpc = $(TARGET-mpc)
15214 all-stage2-mpc: configure-stage2-mpc
15215 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 TFLAGS="$(STAGE2_TFLAGS)"; \
15219 $(HOST_EXPORTS) \
15220 $(POSTSTAGE1_HOST_EXPORTS) \
15221 cd $(HOST_SUBDIR)/mpc && \
15223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15224 CFLAGS="$(STAGE2_CFLAGS)" \
15225 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15226 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15227 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15232 TFLAGS="$(STAGE2_TFLAGS)" \
15233 $(TARGET-stage2-mpc)
15235 maybe-clean-stage2-mpc: clean-stage2-mpc
15236 clean-stage2: clean-stage2-mpc
15237 clean-stage2-mpc:
15238 @if [ $(current_stage) = stage2 ]; then \
15239 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15240 else \
15241 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15242 $(MAKE) stage2-start; \
15243 fi; \
15244 cd $(HOST_SUBDIR)/mpc && \
15245 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15246 @endif mpc-bootstrap
15249 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15250 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15251 maybe-all-stage3-mpc:
15252 maybe-clean-stage3-mpc:
15253 @if mpc-bootstrap
15254 maybe-all-stage3-mpc: all-stage3-mpc
15255 all-stage3: all-stage3-mpc
15256 TARGET-stage3-mpc = $(TARGET-mpc)
15257 all-stage3-mpc: configure-stage3-mpc
15258 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15259 @r=`${PWD_COMMAND}`; export r; \
15260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15261 TFLAGS="$(STAGE3_TFLAGS)"; \
15262 $(HOST_EXPORTS) \
15263 $(POSTSTAGE1_HOST_EXPORTS) \
15264 cd $(HOST_SUBDIR)/mpc && \
15266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15267 CFLAGS="$(STAGE3_CFLAGS)" \
15268 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15269 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15270 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15275 TFLAGS="$(STAGE3_TFLAGS)" \
15276 $(TARGET-stage3-mpc)
15278 maybe-clean-stage3-mpc: clean-stage3-mpc
15279 clean-stage3: clean-stage3-mpc
15280 clean-stage3-mpc:
15281 @if [ $(current_stage) = stage3 ]; then \
15282 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15283 else \
15284 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15285 $(MAKE) stage3-start; \
15286 fi; \
15287 cd $(HOST_SUBDIR)/mpc && \
15288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15289 @endif mpc-bootstrap
15292 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15293 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15294 maybe-all-stage4-mpc:
15295 maybe-clean-stage4-mpc:
15296 @if mpc-bootstrap
15297 maybe-all-stage4-mpc: all-stage4-mpc
15298 all-stage4: all-stage4-mpc
15299 TARGET-stage4-mpc = $(TARGET-mpc)
15300 all-stage4-mpc: configure-stage4-mpc
15301 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15302 @r=`${PWD_COMMAND}`; export r; \
15303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304 TFLAGS="$(STAGE4_TFLAGS)"; \
15305 $(HOST_EXPORTS) \
15306 $(POSTSTAGE1_HOST_EXPORTS) \
15307 cd $(HOST_SUBDIR)/mpc && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15310 CFLAGS="$(STAGE4_CFLAGS)" \
15311 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15312 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15313 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15318 TFLAGS="$(STAGE4_TFLAGS)" \
15319 $(TARGET-stage4-mpc)
15321 maybe-clean-stage4-mpc: clean-stage4-mpc
15322 clean-stage4: clean-stage4-mpc
15323 clean-stage4-mpc:
15324 @if [ $(current_stage) = stage4 ]; then \
15325 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15326 else \
15327 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15328 $(MAKE) stage4-start; \
15329 fi; \
15330 cd $(HOST_SUBDIR)/mpc && \
15331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15332 @endif mpc-bootstrap
15335 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15336 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15337 maybe-all-stageprofile-mpc:
15338 maybe-clean-stageprofile-mpc:
15339 @if mpc-bootstrap
15340 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15341 all-stageprofile: all-stageprofile-mpc
15342 TARGET-stageprofile-mpc = $(TARGET-mpc)
15343 all-stageprofile-mpc: configure-stageprofile-mpc
15344 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15345 @r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15348 $(HOST_EXPORTS) \
15349 $(POSTSTAGE1_HOST_EXPORTS) \
15350 cd $(HOST_SUBDIR)/mpc && \
15352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15353 CFLAGS="$(STAGEprofile_CFLAGS)" \
15354 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15355 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15356 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15361 TFLAGS="$(STAGEprofile_TFLAGS)" \
15362 $(TARGET-stageprofile-mpc)
15364 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15365 clean-stageprofile: clean-stageprofile-mpc
15366 clean-stageprofile-mpc:
15367 @if [ $(current_stage) = stageprofile ]; then \
15368 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15369 else \
15370 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15371 $(MAKE) stageprofile-start; \
15372 fi; \
15373 cd $(HOST_SUBDIR)/mpc && \
15374 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15375 @endif mpc-bootstrap
15378 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15379 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15380 maybe-all-stagetrain-mpc:
15381 maybe-clean-stagetrain-mpc:
15382 @if mpc-bootstrap
15383 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15384 all-stagetrain: all-stagetrain-mpc
15385 TARGET-stagetrain-mpc = $(TARGET-mpc)
15386 all-stagetrain-mpc: configure-stagetrain-mpc
15387 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15388 @r=`${PWD_COMMAND}`; export r; \
15389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15390 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15391 $(HOST_EXPORTS) \
15392 $(POSTSTAGE1_HOST_EXPORTS) \
15393 cd $(HOST_SUBDIR)/mpc && \
15395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15396 CFLAGS="$(STAGEtrain_CFLAGS)" \
15397 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
15398 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15399 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15404 TFLAGS="$(STAGEtrain_TFLAGS)" \
15405 $(TARGET-stagetrain-mpc)
15407 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15408 clean-stagetrain: clean-stagetrain-mpc
15409 clean-stagetrain-mpc:
15410 @if [ $(current_stage) = stagetrain ]; then \
15411 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15412 else \
15413 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15414 $(MAKE) stagetrain-start; \
15415 fi; \
15416 cd $(HOST_SUBDIR)/mpc && \
15417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15418 @endif mpc-bootstrap
15421 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15422 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15423 maybe-all-stagefeedback-mpc:
15424 maybe-clean-stagefeedback-mpc:
15425 @if mpc-bootstrap
15426 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15427 all-stagefeedback: all-stagefeedback-mpc
15428 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15429 all-stagefeedback-mpc: configure-stagefeedback-mpc
15430 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15431 @r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15434 $(HOST_EXPORTS) \
15435 $(POSTSTAGE1_HOST_EXPORTS) \
15436 cd $(HOST_SUBDIR)/mpc && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15439 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15440 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
15441 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15442 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15447 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15448 $(TARGET-stagefeedback-mpc)
15450 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15451 clean-stagefeedback: clean-stagefeedback-mpc
15452 clean-stagefeedback-mpc:
15453 @if [ $(current_stage) = stagefeedback ]; then \
15454 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15455 else \
15456 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15457 $(MAKE) stagefeedback-start; \
15458 fi; \
15459 cd $(HOST_SUBDIR)/mpc && \
15460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15461 @endif mpc-bootstrap
15464 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15465 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15466 maybe-all-stageautoprofile-mpc:
15467 maybe-clean-stageautoprofile-mpc:
15468 @if mpc-bootstrap
15469 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15470 all-stageautoprofile: all-stageautoprofile-mpc
15471 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15472 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15473 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15474 @r=`${PWD_COMMAND}`; export r; \
15475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15476 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15477 $(HOST_EXPORTS) \
15478 $(POSTSTAGE1_HOST_EXPORTS) \
15479 cd $(HOST_SUBDIR)/mpc && \
15480 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15482 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15483 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
15484 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15485 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15490 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15491 $(TARGET-stageautoprofile-mpc)
15493 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15494 clean-stageautoprofile: clean-stageautoprofile-mpc
15495 clean-stageautoprofile-mpc:
15496 @if [ $(current_stage) = stageautoprofile ]; then \
15497 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15498 else \
15499 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15500 $(MAKE) stageautoprofile-start; \
15501 fi; \
15502 cd $(HOST_SUBDIR)/mpc && \
15503 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15504 @endif mpc-bootstrap
15507 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15508 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15509 maybe-all-stageautofeedback-mpc:
15510 maybe-clean-stageautofeedback-mpc:
15511 @if mpc-bootstrap
15512 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15513 all-stageautofeedback: all-stageautofeedback-mpc
15514 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15515 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15516 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15517 @r=`${PWD_COMMAND}`; export r; \
15518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15519 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15520 $(HOST_EXPORTS) \
15521 $(POSTSTAGE1_HOST_EXPORTS) \
15522 cd $(HOST_SUBDIR)/mpc && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15525 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15526 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
15527 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15528 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15533 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15534 $(TARGET-stageautofeedback-mpc)
15536 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15537 clean-stageautofeedback: clean-stageautofeedback-mpc
15538 clean-stageautofeedback-mpc:
15539 @if [ $(current_stage) = stageautofeedback ]; then \
15540 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15541 else \
15542 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15543 $(MAKE) stageautofeedback-start; \
15544 fi; \
15545 cd $(HOST_SUBDIR)/mpc && \
15546 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15547 @endif mpc-bootstrap
15553 .PHONY: check-mpc maybe-check-mpc
15554 maybe-check-mpc:
15555 @if mpc
15556 maybe-check-mpc: check-mpc
15558 check-mpc:
15559 @: $(MAKE); $(unstage)
15560 @r=`${PWD_COMMAND}`; export r; \
15561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15562 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15563 (cd $(HOST_SUBDIR)/mpc && \
15564 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15566 @endif mpc
15568 .PHONY: install-mpc maybe-install-mpc
15569 maybe-install-mpc:
15570 @if mpc
15571 maybe-install-mpc: install-mpc
15573 install-mpc:
15575 @endif mpc
15577 .PHONY: install-strip-mpc maybe-install-strip-mpc
15578 maybe-install-strip-mpc:
15579 @if mpc
15580 maybe-install-strip-mpc: install-strip-mpc
15582 install-strip-mpc:
15584 @endif mpc
15586 # Other targets (info, dvi, pdf, etc.)
15588 .PHONY: maybe-info-mpc info-mpc
15589 maybe-info-mpc:
15590 @if mpc
15591 maybe-info-mpc: info-mpc
15593 info-mpc: \
15594 configure-mpc
15595 @[ -f ./mpc/Makefile ] || exit 0; \
15596 r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 $(HOST_EXPORTS) \
15599 for flag in $(EXTRA_HOST_FLAGS) ; do \
15600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15601 done; \
15602 echo "Doing info in mpc"; \
15603 (cd $(HOST_SUBDIR)/mpc && \
15604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15606 "RANLIB=$${RANLIB}" \
15607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15608 info) \
15609 || exit 1
15611 @endif mpc
15613 .PHONY: maybe-dvi-mpc dvi-mpc
15614 maybe-dvi-mpc:
15615 @if mpc
15616 maybe-dvi-mpc: dvi-mpc
15618 dvi-mpc: \
15619 configure-mpc
15620 @[ -f ./mpc/Makefile ] || exit 0; \
15621 r=`${PWD_COMMAND}`; export r; \
15622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15623 $(HOST_EXPORTS) \
15624 for flag in $(EXTRA_HOST_FLAGS) ; do \
15625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15626 done; \
15627 echo "Doing dvi in mpc"; \
15628 (cd $(HOST_SUBDIR)/mpc && \
15629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15631 "RANLIB=$${RANLIB}" \
15632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15633 dvi) \
15634 || exit 1
15636 @endif mpc
15638 .PHONY: maybe-pdf-mpc pdf-mpc
15639 maybe-pdf-mpc:
15640 @if mpc
15641 maybe-pdf-mpc: pdf-mpc
15643 pdf-mpc: \
15644 configure-mpc
15645 @[ -f ./mpc/Makefile ] || exit 0; \
15646 r=`${PWD_COMMAND}`; export r; \
15647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15648 $(HOST_EXPORTS) \
15649 for flag in $(EXTRA_HOST_FLAGS) ; do \
15650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15651 done; \
15652 echo "Doing pdf in mpc"; \
15653 (cd $(HOST_SUBDIR)/mpc && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15656 "RANLIB=$${RANLIB}" \
15657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15658 pdf) \
15659 || exit 1
15661 @endif mpc
15663 .PHONY: maybe-html-mpc html-mpc
15664 maybe-html-mpc:
15665 @if mpc
15666 maybe-html-mpc: html-mpc
15668 html-mpc: \
15669 configure-mpc
15670 @[ -f ./mpc/Makefile ] || exit 0; \
15671 r=`${PWD_COMMAND}`; export r; \
15672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15673 $(HOST_EXPORTS) \
15674 for flag in $(EXTRA_HOST_FLAGS) ; do \
15675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15676 done; \
15677 echo "Doing html in mpc"; \
15678 (cd $(HOST_SUBDIR)/mpc && \
15679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15681 "RANLIB=$${RANLIB}" \
15682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15683 html) \
15684 || exit 1
15686 @endif mpc
15688 .PHONY: maybe-TAGS-mpc TAGS-mpc
15689 maybe-TAGS-mpc:
15690 @if mpc
15691 maybe-TAGS-mpc: TAGS-mpc
15693 TAGS-mpc: \
15694 configure-mpc
15695 @[ -f ./mpc/Makefile ] || exit 0; \
15696 r=`${PWD_COMMAND}`; export r; \
15697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15698 $(HOST_EXPORTS) \
15699 for flag in $(EXTRA_HOST_FLAGS) ; do \
15700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15701 done; \
15702 echo "Doing TAGS in mpc"; \
15703 (cd $(HOST_SUBDIR)/mpc && \
15704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15706 "RANLIB=$${RANLIB}" \
15707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15708 TAGS) \
15709 || exit 1
15711 @endif mpc
15713 .PHONY: maybe-install-info-mpc install-info-mpc
15714 maybe-install-info-mpc:
15715 @if mpc
15716 maybe-install-info-mpc: install-info-mpc
15718 install-info-mpc: \
15719 configure-mpc \
15720 info-mpc
15721 @[ -f ./mpc/Makefile ] || exit 0; \
15722 r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 $(HOST_EXPORTS) \
15725 for flag in $(EXTRA_HOST_FLAGS) ; do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 done; \
15728 echo "Doing install-info in mpc"; \
15729 (cd $(HOST_SUBDIR)/mpc && \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15734 install-info) \
15735 || exit 1
15737 @endif mpc
15739 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15740 maybe-install-pdf-mpc:
15741 @if mpc
15742 maybe-install-pdf-mpc: install-pdf-mpc
15744 install-pdf-mpc: \
15745 configure-mpc \
15746 pdf-mpc
15747 @[ -f ./mpc/Makefile ] || exit 0; \
15748 r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 $(HOST_EXPORTS) \
15751 for flag in $(EXTRA_HOST_FLAGS) ; do \
15752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15753 done; \
15754 echo "Doing install-pdf in mpc"; \
15755 (cd $(HOST_SUBDIR)/mpc && \
15756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15758 "RANLIB=$${RANLIB}" \
15759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15760 install-pdf) \
15761 || exit 1
15763 @endif mpc
15765 .PHONY: maybe-install-html-mpc install-html-mpc
15766 maybe-install-html-mpc:
15767 @if mpc
15768 maybe-install-html-mpc: install-html-mpc
15770 install-html-mpc: \
15771 configure-mpc \
15772 html-mpc
15773 @[ -f ./mpc/Makefile ] || exit 0; \
15774 r=`${PWD_COMMAND}`; export r; \
15775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15776 $(HOST_EXPORTS) \
15777 for flag in $(EXTRA_HOST_FLAGS) ; do \
15778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15779 done; \
15780 echo "Doing install-html in mpc"; \
15781 (cd $(HOST_SUBDIR)/mpc && \
15782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15784 "RANLIB=$${RANLIB}" \
15785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15786 install-html) \
15787 || exit 1
15789 @endif mpc
15791 .PHONY: maybe-installcheck-mpc installcheck-mpc
15792 maybe-installcheck-mpc:
15793 @if mpc
15794 maybe-installcheck-mpc: installcheck-mpc
15796 installcheck-mpc: \
15797 configure-mpc
15798 @[ -f ./mpc/Makefile ] || exit 0; \
15799 r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(HOST_EXPORTS) \
15802 for flag in $(EXTRA_HOST_FLAGS) ; do \
15803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15804 done; \
15805 echo "Doing installcheck in mpc"; \
15806 (cd $(HOST_SUBDIR)/mpc && \
15807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15809 "RANLIB=$${RANLIB}" \
15810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15811 installcheck) \
15812 || exit 1
15814 @endif mpc
15816 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15817 maybe-mostlyclean-mpc:
15818 @if mpc
15819 maybe-mostlyclean-mpc: mostlyclean-mpc
15821 mostlyclean-mpc:
15822 @[ -f ./mpc/Makefile ] || exit 0; \
15823 r=`${PWD_COMMAND}`; export r; \
15824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 $(HOST_EXPORTS) \
15826 for flag in $(EXTRA_HOST_FLAGS) ; do \
15827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15828 done; \
15829 echo "Doing mostlyclean in mpc"; \
15830 (cd $(HOST_SUBDIR)/mpc && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15833 "RANLIB=$${RANLIB}" \
15834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15835 mostlyclean) \
15836 || exit 1
15838 @endif mpc
15840 .PHONY: maybe-clean-mpc clean-mpc
15841 maybe-clean-mpc:
15842 @if mpc
15843 maybe-clean-mpc: clean-mpc
15845 clean-mpc:
15846 @[ -f ./mpc/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 for flag in $(EXTRA_HOST_FLAGS) ; do \
15851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15852 done; \
15853 echo "Doing clean in mpc"; \
15854 (cd $(HOST_SUBDIR)/mpc && \
15855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15857 "RANLIB=$${RANLIB}" \
15858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15859 clean) \
15860 || exit 1
15862 @endif mpc
15864 .PHONY: maybe-distclean-mpc distclean-mpc
15865 maybe-distclean-mpc:
15866 @if mpc
15867 maybe-distclean-mpc: distclean-mpc
15869 distclean-mpc:
15870 @[ -f ./mpc/Makefile ] || exit 0; \
15871 r=`${PWD_COMMAND}`; export r; \
15872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15873 $(HOST_EXPORTS) \
15874 for flag in $(EXTRA_HOST_FLAGS) ; do \
15875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15876 done; \
15877 echo "Doing distclean in mpc"; \
15878 (cd $(HOST_SUBDIR)/mpc && \
15879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15881 "RANLIB=$${RANLIB}" \
15882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15883 distclean) \
15884 || exit 1
15886 @endif mpc
15888 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15889 maybe-maintainer-clean-mpc:
15890 @if mpc
15891 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15893 maintainer-clean-mpc:
15894 @[ -f ./mpc/Makefile ] || exit 0; \
15895 r=`${PWD_COMMAND}`; export r; \
15896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15897 $(HOST_EXPORTS) \
15898 for flag in $(EXTRA_HOST_FLAGS) ; do \
15899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15900 done; \
15901 echo "Doing maintainer-clean in mpc"; \
15902 (cd $(HOST_SUBDIR)/mpc && \
15903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15905 "RANLIB=$${RANLIB}" \
15906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15907 maintainer-clean) \
15908 || exit 1
15910 @endif mpc
15914 .PHONY: configure-isl maybe-configure-isl
15915 maybe-configure-isl:
15916 @if gcc-bootstrap
15917 configure-isl: stage_current
15918 @endif gcc-bootstrap
15919 @if isl
15920 maybe-configure-isl: configure-isl
15921 configure-isl:
15922 @r=`${PWD_COMMAND}`; export r; \
15923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15924 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15926 $(HOST_EXPORTS) \
15927 echo Configuring in $(HOST_SUBDIR)/isl; \
15928 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15929 case $(srcdir) in \
15930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15931 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15933 esac; \
15934 module_srcdir=isl; \
15935 $(SHELL) \
15936 $$s/$$module_srcdir/configure \
15937 --srcdir=$${topdir}/$$module_srcdir \
15938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15939 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15940 || exit 1
15941 @endif isl
15945 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15946 maybe-configure-stage1-isl:
15947 @if isl-bootstrap
15948 maybe-configure-stage1-isl: configure-stage1-isl
15949 configure-stage1-isl:
15950 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15952 @r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954 TFLAGS="$(STAGE1_TFLAGS)"; \
15955 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15956 $(HOST_EXPORTS) \
15957 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15958 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15959 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15960 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15962 cd $(HOST_SUBDIR)/isl || exit 1; \
15963 case $(srcdir) in \
15964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15965 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15967 esac; \
15968 module_srcdir=isl; \
15969 $(SHELL) $$s/$$module_srcdir/configure \
15970 --srcdir=$${topdir}/$$module_srcdir \
15971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15972 --target=${target_alias} \
15974 $(STAGE1_CONFIGURE_FLAGS) \
15975 --disable-shared @extra_isl_gmp_configure_flags@
15976 @endif isl-bootstrap
15978 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15979 maybe-configure-stage2-isl:
15980 @if isl-bootstrap
15981 maybe-configure-stage2-isl: configure-stage2-isl
15982 configure-stage2-isl:
15983 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15985 @r=`${PWD_COMMAND}`; export r; \
15986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15987 TFLAGS="$(STAGE2_TFLAGS)"; \
15988 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15989 $(HOST_EXPORTS) \
15990 $(POSTSTAGE1_HOST_EXPORTS) \
15991 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15992 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15993 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15994 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15996 cd $(HOST_SUBDIR)/isl || exit 1; \
15997 case $(srcdir) in \
15998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15999 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16001 esac; \
16002 module_srcdir=isl; \
16003 $(SHELL) $$s/$$module_srcdir/configure \
16004 --srcdir=$${topdir}/$$module_srcdir \
16005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16006 --target=${target_alias} \
16007 --with-build-libsubdir=$(HOST_SUBDIR) \
16008 $(STAGE2_CONFIGURE_FLAGS) \
16009 --disable-shared @extra_isl_gmp_configure_flags@
16010 @endif isl-bootstrap
16012 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16013 maybe-configure-stage3-isl:
16014 @if isl-bootstrap
16015 maybe-configure-stage3-isl: configure-stage3-isl
16016 configure-stage3-isl:
16017 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16019 @r=`${PWD_COMMAND}`; export r; \
16020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16021 TFLAGS="$(STAGE3_TFLAGS)"; \
16022 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16023 $(HOST_EXPORTS) \
16024 $(POSTSTAGE1_HOST_EXPORTS) \
16025 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16026 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16027 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16028 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16030 cd $(HOST_SUBDIR)/isl || exit 1; \
16031 case $(srcdir) in \
16032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16033 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16035 esac; \
16036 module_srcdir=isl; \
16037 $(SHELL) $$s/$$module_srcdir/configure \
16038 --srcdir=$${topdir}/$$module_srcdir \
16039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16040 --target=${target_alias} \
16041 --with-build-libsubdir=$(HOST_SUBDIR) \
16042 $(STAGE3_CONFIGURE_FLAGS) \
16043 --disable-shared @extra_isl_gmp_configure_flags@
16044 @endif isl-bootstrap
16046 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16047 maybe-configure-stage4-isl:
16048 @if isl-bootstrap
16049 maybe-configure-stage4-isl: configure-stage4-isl
16050 configure-stage4-isl:
16051 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16053 @r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 TFLAGS="$(STAGE4_TFLAGS)"; \
16056 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16057 $(HOST_EXPORTS) \
16058 $(POSTSTAGE1_HOST_EXPORTS) \
16059 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16060 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16061 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16062 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16064 cd $(HOST_SUBDIR)/isl || exit 1; \
16065 case $(srcdir) in \
16066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16067 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16069 esac; \
16070 module_srcdir=isl; \
16071 $(SHELL) $$s/$$module_srcdir/configure \
16072 --srcdir=$${topdir}/$$module_srcdir \
16073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16074 --target=${target_alias} \
16075 --with-build-libsubdir=$(HOST_SUBDIR) \
16076 $(STAGE4_CONFIGURE_FLAGS) \
16077 --disable-shared @extra_isl_gmp_configure_flags@
16078 @endif isl-bootstrap
16080 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16081 maybe-configure-stageprofile-isl:
16082 @if isl-bootstrap
16083 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16084 configure-stageprofile-isl:
16085 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16087 @r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16090 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16091 $(HOST_EXPORTS) \
16092 $(POSTSTAGE1_HOST_EXPORTS) \
16093 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16094 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16095 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16096 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16098 cd $(HOST_SUBDIR)/isl || exit 1; \
16099 case $(srcdir) in \
16100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16101 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16103 esac; \
16104 module_srcdir=isl; \
16105 $(SHELL) $$s/$$module_srcdir/configure \
16106 --srcdir=$${topdir}/$$module_srcdir \
16107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16108 --target=${target_alias} \
16109 --with-build-libsubdir=$(HOST_SUBDIR) \
16110 $(STAGEprofile_CONFIGURE_FLAGS) \
16111 --disable-shared @extra_isl_gmp_configure_flags@
16112 @endif isl-bootstrap
16114 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16115 maybe-configure-stagetrain-isl:
16116 @if isl-bootstrap
16117 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16118 configure-stagetrain-isl:
16119 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16121 @r=`${PWD_COMMAND}`; export r; \
16122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16123 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16124 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16125 $(HOST_EXPORTS) \
16126 $(POSTSTAGE1_HOST_EXPORTS) \
16127 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16128 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16129 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16130 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16132 cd $(HOST_SUBDIR)/isl || exit 1; \
16133 case $(srcdir) in \
16134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16135 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16137 esac; \
16138 module_srcdir=isl; \
16139 $(SHELL) $$s/$$module_srcdir/configure \
16140 --srcdir=$${topdir}/$$module_srcdir \
16141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16142 --target=${target_alias} \
16143 --with-build-libsubdir=$(HOST_SUBDIR) \
16144 $(STAGEtrain_CONFIGURE_FLAGS) \
16145 --disable-shared @extra_isl_gmp_configure_flags@
16146 @endif isl-bootstrap
16148 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16149 maybe-configure-stagefeedback-isl:
16150 @if isl-bootstrap
16151 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16152 configure-stagefeedback-isl:
16153 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16155 @r=`${PWD_COMMAND}`; export r; \
16156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16157 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16158 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16159 $(HOST_EXPORTS) \
16160 $(POSTSTAGE1_HOST_EXPORTS) \
16161 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16162 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16163 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16164 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16166 cd $(HOST_SUBDIR)/isl || exit 1; \
16167 case $(srcdir) in \
16168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16169 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16171 esac; \
16172 module_srcdir=isl; \
16173 $(SHELL) $$s/$$module_srcdir/configure \
16174 --srcdir=$${topdir}/$$module_srcdir \
16175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16176 --target=${target_alias} \
16177 --with-build-libsubdir=$(HOST_SUBDIR) \
16178 $(STAGEfeedback_CONFIGURE_FLAGS) \
16179 --disable-shared @extra_isl_gmp_configure_flags@
16180 @endif isl-bootstrap
16182 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16183 maybe-configure-stageautoprofile-isl:
16184 @if isl-bootstrap
16185 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16186 configure-stageautoprofile-isl:
16187 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16189 @r=`${PWD_COMMAND}`; export r; \
16190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16191 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16192 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16193 $(HOST_EXPORTS) \
16194 $(POSTSTAGE1_HOST_EXPORTS) \
16195 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16196 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16197 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16198 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16200 cd $(HOST_SUBDIR)/isl || exit 1; \
16201 case $(srcdir) in \
16202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16203 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16205 esac; \
16206 module_srcdir=isl; \
16207 $(SHELL) $$s/$$module_srcdir/configure \
16208 --srcdir=$${topdir}/$$module_srcdir \
16209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16210 --target=${target_alias} \
16211 --with-build-libsubdir=$(HOST_SUBDIR) \
16212 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16213 --disable-shared @extra_isl_gmp_configure_flags@
16214 @endif isl-bootstrap
16216 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16217 maybe-configure-stageautofeedback-isl:
16218 @if isl-bootstrap
16219 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16220 configure-stageautofeedback-isl:
16221 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16223 @r=`${PWD_COMMAND}`; export r; \
16224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16225 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16226 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16227 $(HOST_EXPORTS) \
16228 $(POSTSTAGE1_HOST_EXPORTS) \
16229 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16230 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16231 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16232 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16234 cd $(HOST_SUBDIR)/isl || exit 1; \
16235 case $(srcdir) in \
16236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16237 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16239 esac; \
16240 module_srcdir=isl; \
16241 $(SHELL) $$s/$$module_srcdir/configure \
16242 --srcdir=$${topdir}/$$module_srcdir \
16243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16244 --target=${target_alias} \
16245 --with-build-libsubdir=$(HOST_SUBDIR) \
16246 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16247 --disable-shared @extra_isl_gmp_configure_flags@
16248 @endif isl-bootstrap
16254 .PHONY: all-isl maybe-all-isl
16255 maybe-all-isl:
16256 @if gcc-bootstrap
16257 all-isl: stage_current
16258 @endif gcc-bootstrap
16259 @if isl
16260 TARGET-isl=all
16261 maybe-all-isl: all-isl
16262 all-isl: configure-isl
16263 @r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(HOST_EXPORTS) \
16266 (cd $(HOST_SUBDIR)/isl && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16268 $(TARGET-isl))
16269 @endif isl
16273 .PHONY: all-stage1-isl maybe-all-stage1-isl
16274 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16275 maybe-all-stage1-isl:
16276 maybe-clean-stage1-isl:
16277 @if isl-bootstrap
16278 maybe-all-stage1-isl: all-stage1-isl
16279 all-stage1: all-stage1-isl
16280 TARGET-stage1-isl = $(TARGET-isl)
16281 all-stage1-isl: configure-stage1-isl
16282 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16283 @r=`${PWD_COMMAND}`; export r; \
16284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16285 TFLAGS="$(STAGE1_TFLAGS)"; \
16286 $(HOST_EXPORTS) \
16287 cd $(HOST_SUBDIR)/isl && \
16289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16290 CFLAGS="$(STAGE1_CFLAGS)" \
16291 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16292 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16293 LIBCFLAGS="$(LIBCFLAGS)" \
16294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16297 $(EXTRA_HOST_FLAGS) \
16298 $(STAGE1_FLAGS_TO_PASS) V=1 \
16299 TFLAGS="$(STAGE1_TFLAGS)" \
16300 $(TARGET-stage1-isl)
16302 maybe-clean-stage1-isl: clean-stage1-isl
16303 clean-stage1: clean-stage1-isl
16304 clean-stage1-isl:
16305 @if [ $(current_stage) = stage1 ]; then \
16306 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16307 else \
16308 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16309 $(MAKE) stage1-start; \
16310 fi; \
16311 cd $(HOST_SUBDIR)/isl && \
16312 $(MAKE) $(EXTRA_HOST_FLAGS) \
16313 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16314 @endif isl-bootstrap
16317 .PHONY: all-stage2-isl maybe-all-stage2-isl
16318 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16319 maybe-all-stage2-isl:
16320 maybe-clean-stage2-isl:
16321 @if isl-bootstrap
16322 maybe-all-stage2-isl: all-stage2-isl
16323 all-stage2: all-stage2-isl
16324 TARGET-stage2-isl = $(TARGET-isl)
16325 all-stage2-isl: configure-stage2-isl
16326 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16327 @r=`${PWD_COMMAND}`; export r; \
16328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329 TFLAGS="$(STAGE2_TFLAGS)"; \
16330 $(HOST_EXPORTS) \
16331 $(POSTSTAGE1_HOST_EXPORTS) \
16332 cd $(HOST_SUBDIR)/isl && \
16334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16335 CFLAGS="$(STAGE2_CFLAGS)" \
16336 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16337 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16338 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16339 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16340 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16341 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16342 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16343 TFLAGS="$(STAGE2_TFLAGS)" \
16344 $(TARGET-stage2-isl)
16346 maybe-clean-stage2-isl: clean-stage2-isl
16347 clean-stage2: clean-stage2-isl
16348 clean-stage2-isl:
16349 @if [ $(current_stage) = stage2 ]; then \
16350 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16351 else \
16352 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16353 $(MAKE) stage2-start; \
16354 fi; \
16355 cd $(HOST_SUBDIR)/isl && \
16356 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16357 @endif isl-bootstrap
16360 .PHONY: all-stage3-isl maybe-all-stage3-isl
16361 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16362 maybe-all-stage3-isl:
16363 maybe-clean-stage3-isl:
16364 @if isl-bootstrap
16365 maybe-all-stage3-isl: all-stage3-isl
16366 all-stage3: all-stage3-isl
16367 TARGET-stage3-isl = $(TARGET-isl)
16368 all-stage3-isl: configure-stage3-isl
16369 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16370 @r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 TFLAGS="$(STAGE3_TFLAGS)"; \
16373 $(HOST_EXPORTS) \
16374 $(POSTSTAGE1_HOST_EXPORTS) \
16375 cd $(HOST_SUBDIR)/isl && \
16377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16378 CFLAGS="$(STAGE3_CFLAGS)" \
16379 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
16380 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16381 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16386 TFLAGS="$(STAGE3_TFLAGS)" \
16387 $(TARGET-stage3-isl)
16389 maybe-clean-stage3-isl: clean-stage3-isl
16390 clean-stage3: clean-stage3-isl
16391 clean-stage3-isl:
16392 @if [ $(current_stage) = stage3 ]; then \
16393 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16394 else \
16395 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16396 $(MAKE) stage3-start; \
16397 fi; \
16398 cd $(HOST_SUBDIR)/isl && \
16399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16400 @endif isl-bootstrap
16403 .PHONY: all-stage4-isl maybe-all-stage4-isl
16404 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16405 maybe-all-stage4-isl:
16406 maybe-clean-stage4-isl:
16407 @if isl-bootstrap
16408 maybe-all-stage4-isl: all-stage4-isl
16409 all-stage4: all-stage4-isl
16410 TARGET-stage4-isl = $(TARGET-isl)
16411 all-stage4-isl: configure-stage4-isl
16412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16413 @r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 TFLAGS="$(STAGE4_TFLAGS)"; \
16416 $(HOST_EXPORTS) \
16417 $(POSTSTAGE1_HOST_EXPORTS) \
16418 cd $(HOST_SUBDIR)/isl && \
16420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16421 CFLAGS="$(STAGE4_CFLAGS)" \
16422 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
16423 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16424 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16428 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16429 TFLAGS="$(STAGE4_TFLAGS)" \
16430 $(TARGET-stage4-isl)
16432 maybe-clean-stage4-isl: clean-stage4-isl
16433 clean-stage4: clean-stage4-isl
16434 clean-stage4-isl:
16435 @if [ $(current_stage) = stage4 ]; then \
16436 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16437 else \
16438 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16439 $(MAKE) stage4-start; \
16440 fi; \
16441 cd $(HOST_SUBDIR)/isl && \
16442 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16443 @endif isl-bootstrap
16446 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16447 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16448 maybe-all-stageprofile-isl:
16449 maybe-clean-stageprofile-isl:
16450 @if isl-bootstrap
16451 maybe-all-stageprofile-isl: all-stageprofile-isl
16452 all-stageprofile: all-stageprofile-isl
16453 TARGET-stageprofile-isl = $(TARGET-isl)
16454 all-stageprofile-isl: configure-stageprofile-isl
16455 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16456 @r=`${PWD_COMMAND}`; export r; \
16457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16458 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16459 $(HOST_EXPORTS) \
16460 $(POSTSTAGE1_HOST_EXPORTS) \
16461 cd $(HOST_SUBDIR)/isl && \
16463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16464 CFLAGS="$(STAGEprofile_CFLAGS)" \
16465 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
16466 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16467 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16468 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16469 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16470 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16471 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16472 TFLAGS="$(STAGEprofile_TFLAGS)" \
16473 $(TARGET-stageprofile-isl)
16475 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16476 clean-stageprofile: clean-stageprofile-isl
16477 clean-stageprofile-isl:
16478 @if [ $(current_stage) = stageprofile ]; then \
16479 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16480 else \
16481 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16482 $(MAKE) stageprofile-start; \
16483 fi; \
16484 cd $(HOST_SUBDIR)/isl && \
16485 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16486 @endif isl-bootstrap
16489 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16490 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16491 maybe-all-stagetrain-isl:
16492 maybe-clean-stagetrain-isl:
16493 @if isl-bootstrap
16494 maybe-all-stagetrain-isl: all-stagetrain-isl
16495 all-stagetrain: all-stagetrain-isl
16496 TARGET-stagetrain-isl = $(TARGET-isl)
16497 all-stagetrain-isl: configure-stagetrain-isl
16498 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16499 @r=`${PWD_COMMAND}`; export r; \
16500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16501 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16502 $(HOST_EXPORTS) \
16503 $(POSTSTAGE1_HOST_EXPORTS) \
16504 cd $(HOST_SUBDIR)/isl && \
16506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16507 CFLAGS="$(STAGEtrain_CFLAGS)" \
16508 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16509 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16510 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16514 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16515 TFLAGS="$(STAGEtrain_TFLAGS)" \
16516 $(TARGET-stagetrain-isl)
16518 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16519 clean-stagetrain: clean-stagetrain-isl
16520 clean-stagetrain-isl:
16521 @if [ $(current_stage) = stagetrain ]; then \
16522 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16523 else \
16524 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16525 $(MAKE) stagetrain-start; \
16526 fi; \
16527 cd $(HOST_SUBDIR)/isl && \
16528 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16529 @endif isl-bootstrap
16532 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16533 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16534 maybe-all-stagefeedback-isl:
16535 maybe-clean-stagefeedback-isl:
16536 @if isl-bootstrap
16537 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16538 all-stagefeedback: all-stagefeedback-isl
16539 TARGET-stagefeedback-isl = $(TARGET-isl)
16540 all-stagefeedback-isl: configure-stagefeedback-isl
16541 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16545 $(HOST_EXPORTS) \
16546 $(POSTSTAGE1_HOST_EXPORTS) \
16547 cd $(HOST_SUBDIR)/isl && \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16550 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16551 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16552 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16553 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16558 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16559 $(TARGET-stagefeedback-isl)
16561 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16562 clean-stagefeedback: clean-stagefeedback-isl
16563 clean-stagefeedback-isl:
16564 @if [ $(current_stage) = stagefeedback ]; then \
16565 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16566 else \
16567 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16568 $(MAKE) stagefeedback-start; \
16569 fi; \
16570 cd $(HOST_SUBDIR)/isl && \
16571 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16572 @endif isl-bootstrap
16575 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16576 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16577 maybe-all-stageautoprofile-isl:
16578 maybe-clean-stageautoprofile-isl:
16579 @if isl-bootstrap
16580 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16581 all-stageautoprofile: all-stageautoprofile-isl
16582 TARGET-stageautoprofile-isl = $(TARGET-isl)
16583 all-stageautoprofile-isl: configure-stageautoprofile-isl
16584 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16585 @r=`${PWD_COMMAND}`; export r; \
16586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16587 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16588 $(HOST_EXPORTS) \
16589 $(POSTSTAGE1_HOST_EXPORTS) \
16590 cd $(HOST_SUBDIR)/isl && \
16591 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16593 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16594 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16595 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16596 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16601 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16602 $(TARGET-stageautoprofile-isl)
16604 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16605 clean-stageautoprofile: clean-stageautoprofile-isl
16606 clean-stageautoprofile-isl:
16607 @if [ $(current_stage) = stageautoprofile ]; then \
16608 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16609 else \
16610 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16611 $(MAKE) stageautoprofile-start; \
16612 fi; \
16613 cd $(HOST_SUBDIR)/isl && \
16614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16615 @endif isl-bootstrap
16618 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16619 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16620 maybe-all-stageautofeedback-isl:
16621 maybe-clean-stageautofeedback-isl:
16622 @if isl-bootstrap
16623 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16624 all-stageautofeedback: all-stageautofeedback-isl
16625 TARGET-stageautofeedback-isl = $(TARGET-isl)
16626 all-stageautofeedback-isl: configure-stageautofeedback-isl
16627 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16628 @r=`${PWD_COMMAND}`; export r; \
16629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16630 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16631 $(HOST_EXPORTS) \
16632 $(POSTSTAGE1_HOST_EXPORTS) \
16633 cd $(HOST_SUBDIR)/isl && \
16635 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16636 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16637 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16638 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16639 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16643 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16644 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16645 $(TARGET-stageautofeedback-isl)
16647 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16648 clean-stageautofeedback: clean-stageautofeedback-isl
16649 clean-stageautofeedback-isl:
16650 @if [ $(current_stage) = stageautofeedback ]; then \
16651 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16652 else \
16653 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16654 $(MAKE) stageautofeedback-start; \
16655 fi; \
16656 cd $(HOST_SUBDIR)/isl && \
16657 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16658 @endif isl-bootstrap
16664 .PHONY: check-isl maybe-check-isl
16665 maybe-check-isl:
16666 @if isl
16667 maybe-check-isl: check-isl
16669 check-isl:
16670 @: $(MAKE); $(unstage)
16671 @r=`${PWD_COMMAND}`; export r; \
16672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16673 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16674 (cd $(HOST_SUBDIR)/isl && \
16675 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16677 @endif isl
16679 .PHONY: install-isl maybe-install-isl
16680 maybe-install-isl:
16681 @if isl
16682 maybe-install-isl: install-isl
16684 install-isl:
16686 @endif isl
16688 .PHONY: install-strip-isl maybe-install-strip-isl
16689 maybe-install-strip-isl:
16690 @if isl
16691 maybe-install-strip-isl: install-strip-isl
16693 install-strip-isl:
16695 @endif isl
16697 # Other targets (info, dvi, pdf, etc.)
16699 .PHONY: maybe-info-isl info-isl
16700 maybe-info-isl:
16701 @if isl
16702 maybe-info-isl: info-isl
16704 info-isl: \
16705 configure-isl
16706 @[ -f ./isl/Makefile ] || exit 0; \
16707 r=`${PWD_COMMAND}`; export r; \
16708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16709 $(HOST_EXPORTS) \
16710 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16712 done; \
16713 echo "Doing info in isl"; \
16714 (cd $(HOST_SUBDIR)/isl && \
16715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16717 "RANLIB=$${RANLIB}" \
16718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16719 info) \
16720 || exit 1
16722 @endif isl
16724 .PHONY: maybe-dvi-isl dvi-isl
16725 maybe-dvi-isl:
16726 @if isl
16727 maybe-dvi-isl: dvi-isl
16729 dvi-isl: \
16730 configure-isl
16731 @[ -f ./isl/Makefile ] || exit 0; \
16732 r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(HOST_EXPORTS) \
16735 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16737 done; \
16738 echo "Doing dvi in isl"; \
16739 (cd $(HOST_SUBDIR)/isl && \
16740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16742 "RANLIB=$${RANLIB}" \
16743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16744 dvi) \
16745 || exit 1
16747 @endif isl
16749 .PHONY: maybe-pdf-isl pdf-isl
16750 maybe-pdf-isl:
16751 @if isl
16752 maybe-pdf-isl: pdf-isl
16754 pdf-isl: \
16755 configure-isl
16756 @[ -f ./isl/Makefile ] || exit 0; \
16757 r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(HOST_EXPORTS) \
16760 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16762 done; \
16763 echo "Doing pdf in isl"; \
16764 (cd $(HOST_SUBDIR)/isl && \
16765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16767 "RANLIB=$${RANLIB}" \
16768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16769 pdf) \
16770 || exit 1
16772 @endif isl
16774 .PHONY: maybe-html-isl html-isl
16775 maybe-html-isl:
16776 @if isl
16777 maybe-html-isl: html-isl
16779 html-isl: \
16780 configure-isl
16781 @[ -f ./isl/Makefile ] || exit 0; \
16782 r=`${PWD_COMMAND}`; export r; \
16783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16784 $(HOST_EXPORTS) \
16785 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16787 done; \
16788 echo "Doing html in isl"; \
16789 (cd $(HOST_SUBDIR)/isl && \
16790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16792 "RANLIB=$${RANLIB}" \
16793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16794 html) \
16795 || exit 1
16797 @endif isl
16799 .PHONY: maybe-TAGS-isl TAGS-isl
16800 maybe-TAGS-isl:
16801 @if isl
16802 maybe-TAGS-isl: TAGS-isl
16804 TAGS-isl: \
16805 configure-isl
16806 @[ -f ./isl/Makefile ] || exit 0; \
16807 r=`${PWD_COMMAND}`; export r; \
16808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16809 $(HOST_EXPORTS) \
16810 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16812 done; \
16813 echo "Doing TAGS in isl"; \
16814 (cd $(HOST_SUBDIR)/isl && \
16815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16817 "RANLIB=$${RANLIB}" \
16818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16819 TAGS) \
16820 || exit 1
16822 @endif isl
16824 .PHONY: maybe-install-info-isl install-info-isl
16825 maybe-install-info-isl:
16826 @if isl
16827 maybe-install-info-isl: install-info-isl
16829 install-info-isl: \
16830 configure-isl \
16831 info-isl
16832 @[ -f ./isl/Makefile ] || exit 0; \
16833 r=`${PWD_COMMAND}`; export r; \
16834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16835 $(HOST_EXPORTS) \
16836 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16838 done; \
16839 echo "Doing install-info in isl"; \
16840 (cd $(HOST_SUBDIR)/isl && \
16841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16843 "RANLIB=$${RANLIB}" \
16844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16845 install-info) \
16846 || exit 1
16848 @endif isl
16850 .PHONY: maybe-install-pdf-isl install-pdf-isl
16851 maybe-install-pdf-isl:
16852 @if isl
16853 maybe-install-pdf-isl: install-pdf-isl
16855 install-pdf-isl: \
16856 configure-isl \
16857 pdf-isl
16858 @[ -f ./isl/Makefile ] || exit 0; \
16859 r=`${PWD_COMMAND}`; export r; \
16860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16861 $(HOST_EXPORTS) \
16862 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16864 done; \
16865 echo "Doing install-pdf in isl"; \
16866 (cd $(HOST_SUBDIR)/isl && \
16867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16869 "RANLIB=$${RANLIB}" \
16870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16871 install-pdf) \
16872 || exit 1
16874 @endif isl
16876 .PHONY: maybe-install-html-isl install-html-isl
16877 maybe-install-html-isl:
16878 @if isl
16879 maybe-install-html-isl: install-html-isl
16881 install-html-isl: \
16882 configure-isl \
16883 html-isl
16884 @[ -f ./isl/Makefile ] || exit 0; \
16885 r=`${PWD_COMMAND}`; export r; \
16886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 $(HOST_EXPORTS) \
16888 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 done; \
16891 echo "Doing install-html in isl"; \
16892 (cd $(HOST_SUBDIR)/isl && \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16897 install-html) \
16898 || exit 1
16900 @endif isl
16902 .PHONY: maybe-installcheck-isl installcheck-isl
16903 maybe-installcheck-isl:
16904 @if isl
16905 maybe-installcheck-isl: installcheck-isl
16907 installcheck-isl: \
16908 configure-isl
16909 @[ -f ./isl/Makefile ] || exit 0; \
16910 r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 $(HOST_EXPORTS) \
16913 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16915 done; \
16916 echo "Doing installcheck in isl"; \
16917 (cd $(HOST_SUBDIR)/isl && \
16918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16920 "RANLIB=$${RANLIB}" \
16921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16922 installcheck) \
16923 || exit 1
16925 @endif isl
16927 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16928 maybe-mostlyclean-isl:
16929 @if isl
16930 maybe-mostlyclean-isl: mostlyclean-isl
16932 mostlyclean-isl:
16933 @[ -f ./isl/Makefile ] || exit 0; \
16934 r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 $(HOST_EXPORTS) \
16937 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16939 done; \
16940 echo "Doing mostlyclean in isl"; \
16941 (cd $(HOST_SUBDIR)/isl && \
16942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16944 "RANLIB=$${RANLIB}" \
16945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16946 mostlyclean) \
16947 || exit 1
16949 @endif isl
16951 .PHONY: maybe-clean-isl clean-isl
16952 maybe-clean-isl:
16953 @if isl
16954 maybe-clean-isl: clean-isl
16956 clean-isl:
16957 @[ -f ./isl/Makefile ] || exit 0; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 $(HOST_EXPORTS) \
16961 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 done; \
16964 echo "Doing clean in isl"; \
16965 (cd $(HOST_SUBDIR)/isl && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16970 clean) \
16971 || exit 1
16973 @endif isl
16975 .PHONY: maybe-distclean-isl distclean-isl
16976 maybe-distclean-isl:
16977 @if isl
16978 maybe-distclean-isl: distclean-isl
16980 distclean-isl:
16981 @[ -f ./isl/Makefile ] || exit 0; \
16982 r=`${PWD_COMMAND}`; export r; \
16983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16984 $(HOST_EXPORTS) \
16985 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16987 done; \
16988 echo "Doing distclean in isl"; \
16989 (cd $(HOST_SUBDIR)/isl && \
16990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16992 "RANLIB=$${RANLIB}" \
16993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16994 distclean) \
16995 || exit 1
16997 @endif isl
16999 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17000 maybe-maintainer-clean-isl:
17001 @if isl
17002 maybe-maintainer-clean-isl: maintainer-clean-isl
17004 maintainer-clean-isl:
17005 @[ -f ./isl/Makefile ] || exit 0; \
17006 r=`${PWD_COMMAND}`; export r; \
17007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17008 $(HOST_EXPORTS) \
17009 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17011 done; \
17012 echo "Doing maintainer-clean in isl"; \
17013 (cd $(HOST_SUBDIR)/isl && \
17014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17016 "RANLIB=$${RANLIB}" \
17017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17018 maintainer-clean) \
17019 || exit 1
17021 @endif isl
17025 .PHONY: configure-libelf maybe-configure-libelf
17026 maybe-configure-libelf:
17027 @if gcc-bootstrap
17028 configure-libelf: stage_current
17029 @endif gcc-bootstrap
17030 @if libelf
17031 maybe-configure-libelf: configure-libelf
17032 configure-libelf:
17033 @r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17037 $(HOST_EXPORTS) \
17038 echo Configuring in $(HOST_SUBDIR)/libelf; \
17039 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17040 case $(srcdir) in \
17041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17042 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17044 esac; \
17045 module_srcdir=libelf; \
17046 $(SHELL) \
17047 $$s/$$module_srcdir/configure \
17048 --srcdir=$${topdir}/$$module_srcdir \
17049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17050 --target=${target_alias} --disable-shared \
17051 || exit 1
17052 @endif libelf
17056 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17057 maybe-configure-stage1-libelf:
17058 @if libelf-bootstrap
17059 maybe-configure-stage1-libelf: configure-stage1-libelf
17060 configure-stage1-libelf:
17061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17063 @r=`${PWD_COMMAND}`; export r; \
17064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17065 TFLAGS="$(STAGE1_TFLAGS)"; \
17066 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17067 $(HOST_EXPORTS) \
17068 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17069 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17070 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17071 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17073 cd $(HOST_SUBDIR)/libelf || exit 1; \
17074 case $(srcdir) in \
17075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17076 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17078 esac; \
17079 module_srcdir=libelf; \
17080 $(SHELL) $$s/$$module_srcdir/configure \
17081 --srcdir=$${topdir}/$$module_srcdir \
17082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17083 --target=${target_alias} \
17085 $(STAGE1_CONFIGURE_FLAGS) \
17086 --disable-shared
17087 @endif libelf-bootstrap
17089 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17090 maybe-configure-stage2-libelf:
17091 @if libelf-bootstrap
17092 maybe-configure-stage2-libelf: configure-stage2-libelf
17093 configure-stage2-libelf:
17094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17096 @r=`${PWD_COMMAND}`; export r; \
17097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17098 TFLAGS="$(STAGE2_TFLAGS)"; \
17099 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17100 $(HOST_EXPORTS) \
17101 $(POSTSTAGE1_HOST_EXPORTS) \
17102 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17103 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17104 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17105 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17107 cd $(HOST_SUBDIR)/libelf || exit 1; \
17108 case $(srcdir) in \
17109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17110 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17112 esac; \
17113 module_srcdir=libelf; \
17114 $(SHELL) $$s/$$module_srcdir/configure \
17115 --srcdir=$${topdir}/$$module_srcdir \
17116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17117 --target=${target_alias} \
17118 --with-build-libsubdir=$(HOST_SUBDIR) \
17119 $(STAGE2_CONFIGURE_FLAGS) \
17120 --disable-shared
17121 @endif libelf-bootstrap
17123 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17124 maybe-configure-stage3-libelf:
17125 @if libelf-bootstrap
17126 maybe-configure-stage3-libelf: configure-stage3-libelf
17127 configure-stage3-libelf:
17128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17130 @r=`${PWD_COMMAND}`; export r; \
17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132 TFLAGS="$(STAGE3_TFLAGS)"; \
17133 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17134 $(HOST_EXPORTS) \
17135 $(POSTSTAGE1_HOST_EXPORTS) \
17136 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17137 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17138 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17139 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17141 cd $(HOST_SUBDIR)/libelf || exit 1; \
17142 case $(srcdir) in \
17143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17144 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17146 esac; \
17147 module_srcdir=libelf; \
17148 $(SHELL) $$s/$$module_srcdir/configure \
17149 --srcdir=$${topdir}/$$module_srcdir \
17150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17151 --target=${target_alias} \
17152 --with-build-libsubdir=$(HOST_SUBDIR) \
17153 $(STAGE3_CONFIGURE_FLAGS) \
17154 --disable-shared
17155 @endif libelf-bootstrap
17157 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17158 maybe-configure-stage4-libelf:
17159 @if libelf-bootstrap
17160 maybe-configure-stage4-libelf: configure-stage4-libelf
17161 configure-stage4-libelf:
17162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17164 @r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 TFLAGS="$(STAGE4_TFLAGS)"; \
17167 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17168 $(HOST_EXPORTS) \
17169 $(POSTSTAGE1_HOST_EXPORTS) \
17170 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17171 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17172 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17173 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17175 cd $(HOST_SUBDIR)/libelf || exit 1; \
17176 case $(srcdir) in \
17177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17178 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17180 esac; \
17181 module_srcdir=libelf; \
17182 $(SHELL) $$s/$$module_srcdir/configure \
17183 --srcdir=$${topdir}/$$module_srcdir \
17184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17185 --target=${target_alias} \
17186 --with-build-libsubdir=$(HOST_SUBDIR) \
17187 $(STAGE4_CONFIGURE_FLAGS) \
17188 --disable-shared
17189 @endif libelf-bootstrap
17191 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17192 maybe-configure-stageprofile-libelf:
17193 @if libelf-bootstrap
17194 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17195 configure-stageprofile-libelf:
17196 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17198 @r=`${PWD_COMMAND}`; export r; \
17199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17200 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17201 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17202 $(HOST_EXPORTS) \
17203 $(POSTSTAGE1_HOST_EXPORTS) \
17204 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17205 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17206 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17207 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17209 cd $(HOST_SUBDIR)/libelf || exit 1; \
17210 case $(srcdir) in \
17211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17212 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17214 esac; \
17215 module_srcdir=libelf; \
17216 $(SHELL) $$s/$$module_srcdir/configure \
17217 --srcdir=$${topdir}/$$module_srcdir \
17218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17219 --target=${target_alias} \
17220 --with-build-libsubdir=$(HOST_SUBDIR) \
17221 $(STAGEprofile_CONFIGURE_FLAGS) \
17222 --disable-shared
17223 @endif libelf-bootstrap
17225 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17226 maybe-configure-stagetrain-libelf:
17227 @if libelf-bootstrap
17228 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17229 configure-stagetrain-libelf:
17230 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17232 @r=`${PWD_COMMAND}`; export r; \
17233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17234 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17235 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17236 $(HOST_EXPORTS) \
17237 $(POSTSTAGE1_HOST_EXPORTS) \
17238 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17239 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17240 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17241 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17243 cd $(HOST_SUBDIR)/libelf || exit 1; \
17244 case $(srcdir) in \
17245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17246 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17248 esac; \
17249 module_srcdir=libelf; \
17250 $(SHELL) $$s/$$module_srcdir/configure \
17251 --srcdir=$${topdir}/$$module_srcdir \
17252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17253 --target=${target_alias} \
17254 --with-build-libsubdir=$(HOST_SUBDIR) \
17255 $(STAGEtrain_CONFIGURE_FLAGS) \
17256 --disable-shared
17257 @endif libelf-bootstrap
17259 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17260 maybe-configure-stagefeedback-libelf:
17261 @if libelf-bootstrap
17262 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17263 configure-stagefeedback-libelf:
17264 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17266 @r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17269 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17270 $(HOST_EXPORTS) \
17271 $(POSTSTAGE1_HOST_EXPORTS) \
17272 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17273 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17274 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17275 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17277 cd $(HOST_SUBDIR)/libelf || exit 1; \
17278 case $(srcdir) in \
17279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17280 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17282 esac; \
17283 module_srcdir=libelf; \
17284 $(SHELL) $$s/$$module_srcdir/configure \
17285 --srcdir=$${topdir}/$$module_srcdir \
17286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17287 --target=${target_alias} \
17288 --with-build-libsubdir=$(HOST_SUBDIR) \
17289 $(STAGEfeedback_CONFIGURE_FLAGS) \
17290 --disable-shared
17291 @endif libelf-bootstrap
17293 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17294 maybe-configure-stageautoprofile-libelf:
17295 @if libelf-bootstrap
17296 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17297 configure-stageautoprofile-libelf:
17298 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17300 @r=`${PWD_COMMAND}`; export r; \
17301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17302 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17303 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17304 $(HOST_EXPORTS) \
17305 $(POSTSTAGE1_HOST_EXPORTS) \
17306 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17307 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17308 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17309 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17311 cd $(HOST_SUBDIR)/libelf || exit 1; \
17312 case $(srcdir) in \
17313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17314 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17316 esac; \
17317 module_srcdir=libelf; \
17318 $(SHELL) $$s/$$module_srcdir/configure \
17319 --srcdir=$${topdir}/$$module_srcdir \
17320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17321 --target=${target_alias} \
17322 --with-build-libsubdir=$(HOST_SUBDIR) \
17323 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17324 --disable-shared
17325 @endif libelf-bootstrap
17327 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17328 maybe-configure-stageautofeedback-libelf:
17329 @if libelf-bootstrap
17330 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17331 configure-stageautofeedback-libelf:
17332 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17334 @r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17337 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17338 $(HOST_EXPORTS) \
17339 $(POSTSTAGE1_HOST_EXPORTS) \
17340 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17341 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17342 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17343 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17345 cd $(HOST_SUBDIR)/libelf || exit 1; \
17346 case $(srcdir) in \
17347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17348 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17350 esac; \
17351 module_srcdir=libelf; \
17352 $(SHELL) $$s/$$module_srcdir/configure \
17353 --srcdir=$${topdir}/$$module_srcdir \
17354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17355 --target=${target_alias} \
17356 --with-build-libsubdir=$(HOST_SUBDIR) \
17357 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17358 --disable-shared
17359 @endif libelf-bootstrap
17365 .PHONY: all-libelf maybe-all-libelf
17366 maybe-all-libelf:
17367 @if gcc-bootstrap
17368 all-libelf: stage_current
17369 @endif gcc-bootstrap
17370 @if libelf
17371 TARGET-libelf=all
17372 maybe-all-libelf: all-libelf
17373 all-libelf: configure-libelf
17374 @r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 $(HOST_EXPORTS) \
17377 (cd $(HOST_SUBDIR)/libelf && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17379 $(TARGET-libelf))
17380 @endif libelf
17384 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17385 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17386 maybe-all-stage1-libelf:
17387 maybe-clean-stage1-libelf:
17388 @if libelf-bootstrap
17389 maybe-all-stage1-libelf: all-stage1-libelf
17390 all-stage1: all-stage1-libelf
17391 TARGET-stage1-libelf = $(TARGET-libelf)
17392 all-stage1-libelf: configure-stage1-libelf
17393 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17394 @r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 TFLAGS="$(STAGE1_TFLAGS)"; \
17397 $(HOST_EXPORTS) \
17398 cd $(HOST_SUBDIR)/libelf && \
17400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17401 CFLAGS="$(STAGE1_CFLAGS)" \
17402 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
17403 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17404 LIBCFLAGS="$(LIBCFLAGS)" \
17405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17408 $(EXTRA_HOST_FLAGS) \
17409 $(STAGE1_FLAGS_TO_PASS) \
17410 TFLAGS="$(STAGE1_TFLAGS)" \
17411 $(TARGET-stage1-libelf)
17413 maybe-clean-stage1-libelf: clean-stage1-libelf
17414 clean-stage1: clean-stage1-libelf
17415 clean-stage1-libelf:
17416 @if [ $(current_stage) = stage1 ]; then \
17417 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17418 else \
17419 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17420 $(MAKE) stage1-start; \
17421 fi; \
17422 cd $(HOST_SUBDIR)/libelf && \
17423 $(MAKE) $(EXTRA_HOST_FLAGS) \
17424 $(STAGE1_FLAGS_TO_PASS) clean
17425 @endif libelf-bootstrap
17428 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17429 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17430 maybe-all-stage2-libelf:
17431 maybe-clean-stage2-libelf:
17432 @if libelf-bootstrap
17433 maybe-all-stage2-libelf: all-stage2-libelf
17434 all-stage2: all-stage2-libelf
17435 TARGET-stage2-libelf = $(TARGET-libelf)
17436 all-stage2-libelf: configure-stage2-libelf
17437 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17438 @r=`${PWD_COMMAND}`; export r; \
17439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17440 TFLAGS="$(STAGE2_TFLAGS)"; \
17441 $(HOST_EXPORTS) \
17442 $(POSTSTAGE1_HOST_EXPORTS) \
17443 cd $(HOST_SUBDIR)/libelf && \
17445 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17446 CFLAGS="$(STAGE2_CFLAGS)" \
17447 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
17448 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17449 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17453 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17454 TFLAGS="$(STAGE2_TFLAGS)" \
17455 $(TARGET-stage2-libelf)
17457 maybe-clean-stage2-libelf: clean-stage2-libelf
17458 clean-stage2: clean-stage2-libelf
17459 clean-stage2-libelf:
17460 @if [ $(current_stage) = stage2 ]; then \
17461 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17462 else \
17463 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17464 $(MAKE) stage2-start; \
17465 fi; \
17466 cd $(HOST_SUBDIR)/libelf && \
17467 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17468 @endif libelf-bootstrap
17471 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17472 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17473 maybe-all-stage3-libelf:
17474 maybe-clean-stage3-libelf:
17475 @if libelf-bootstrap
17476 maybe-all-stage3-libelf: all-stage3-libelf
17477 all-stage3: all-stage3-libelf
17478 TARGET-stage3-libelf = $(TARGET-libelf)
17479 all-stage3-libelf: configure-stage3-libelf
17480 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17481 @r=`${PWD_COMMAND}`; export r; \
17482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17483 TFLAGS="$(STAGE3_TFLAGS)"; \
17484 $(HOST_EXPORTS) \
17485 $(POSTSTAGE1_HOST_EXPORTS) \
17486 cd $(HOST_SUBDIR)/libelf && \
17488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17489 CFLAGS="$(STAGE3_CFLAGS)" \
17490 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17491 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17492 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17497 TFLAGS="$(STAGE3_TFLAGS)" \
17498 $(TARGET-stage3-libelf)
17500 maybe-clean-stage3-libelf: clean-stage3-libelf
17501 clean-stage3: clean-stage3-libelf
17502 clean-stage3-libelf:
17503 @if [ $(current_stage) = stage3 ]; then \
17504 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17505 else \
17506 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17507 $(MAKE) stage3-start; \
17508 fi; \
17509 cd $(HOST_SUBDIR)/libelf && \
17510 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17511 @endif libelf-bootstrap
17514 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17515 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17516 maybe-all-stage4-libelf:
17517 maybe-clean-stage4-libelf:
17518 @if libelf-bootstrap
17519 maybe-all-stage4-libelf: all-stage4-libelf
17520 all-stage4: all-stage4-libelf
17521 TARGET-stage4-libelf = $(TARGET-libelf)
17522 all-stage4-libelf: configure-stage4-libelf
17523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17524 @r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 TFLAGS="$(STAGE4_TFLAGS)"; \
17527 $(HOST_EXPORTS) \
17528 $(POSTSTAGE1_HOST_EXPORTS) \
17529 cd $(HOST_SUBDIR)/libelf && \
17531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17532 CFLAGS="$(STAGE4_CFLAGS)" \
17533 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17534 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17535 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17540 TFLAGS="$(STAGE4_TFLAGS)" \
17541 $(TARGET-stage4-libelf)
17543 maybe-clean-stage4-libelf: clean-stage4-libelf
17544 clean-stage4: clean-stage4-libelf
17545 clean-stage4-libelf:
17546 @if [ $(current_stage) = stage4 ]; then \
17547 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17548 else \
17549 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17550 $(MAKE) stage4-start; \
17551 fi; \
17552 cd $(HOST_SUBDIR)/libelf && \
17553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17554 @endif libelf-bootstrap
17557 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17558 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17559 maybe-all-stageprofile-libelf:
17560 maybe-clean-stageprofile-libelf:
17561 @if libelf-bootstrap
17562 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17563 all-stageprofile: all-stageprofile-libelf
17564 TARGET-stageprofile-libelf = $(TARGET-libelf)
17565 all-stageprofile-libelf: configure-stageprofile-libelf
17566 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17567 @r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17570 $(HOST_EXPORTS) \
17571 $(POSTSTAGE1_HOST_EXPORTS) \
17572 cd $(HOST_SUBDIR)/libelf && \
17574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17575 CFLAGS="$(STAGEprofile_CFLAGS)" \
17576 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17577 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17578 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17583 TFLAGS="$(STAGEprofile_TFLAGS)" \
17584 $(TARGET-stageprofile-libelf)
17586 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17587 clean-stageprofile: clean-stageprofile-libelf
17588 clean-stageprofile-libelf:
17589 @if [ $(current_stage) = stageprofile ]; then \
17590 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17591 else \
17592 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17593 $(MAKE) stageprofile-start; \
17594 fi; \
17595 cd $(HOST_SUBDIR)/libelf && \
17596 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17597 @endif libelf-bootstrap
17600 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17601 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17602 maybe-all-stagetrain-libelf:
17603 maybe-clean-stagetrain-libelf:
17604 @if libelf-bootstrap
17605 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17606 all-stagetrain: all-stagetrain-libelf
17607 TARGET-stagetrain-libelf = $(TARGET-libelf)
17608 all-stagetrain-libelf: configure-stagetrain-libelf
17609 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17610 @r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17613 $(HOST_EXPORTS) \
17614 $(POSTSTAGE1_HOST_EXPORTS) \
17615 cd $(HOST_SUBDIR)/libelf && \
17617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17618 CFLAGS="$(STAGEtrain_CFLAGS)" \
17619 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17620 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17621 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17625 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17626 TFLAGS="$(STAGEtrain_TFLAGS)" \
17627 $(TARGET-stagetrain-libelf)
17629 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17630 clean-stagetrain: clean-stagetrain-libelf
17631 clean-stagetrain-libelf:
17632 @if [ $(current_stage) = stagetrain ]; then \
17633 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17634 else \
17635 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17636 $(MAKE) stagetrain-start; \
17637 fi; \
17638 cd $(HOST_SUBDIR)/libelf && \
17639 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17640 @endif libelf-bootstrap
17643 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17644 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17645 maybe-all-stagefeedback-libelf:
17646 maybe-clean-stagefeedback-libelf:
17647 @if libelf-bootstrap
17648 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17649 all-stagefeedback: all-stagefeedback-libelf
17650 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17651 all-stagefeedback-libelf: configure-stagefeedback-libelf
17652 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17653 @r=`${PWD_COMMAND}`; export r; \
17654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17655 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17656 $(HOST_EXPORTS) \
17657 $(POSTSTAGE1_HOST_EXPORTS) \
17658 cd $(HOST_SUBDIR)/libelf && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17661 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17662 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17663 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17664 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17668 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17669 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17670 $(TARGET-stagefeedback-libelf)
17672 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17673 clean-stagefeedback: clean-stagefeedback-libelf
17674 clean-stagefeedback-libelf:
17675 @if [ $(current_stage) = stagefeedback ]; then \
17676 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17677 else \
17678 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17679 $(MAKE) stagefeedback-start; \
17680 fi; \
17681 cd $(HOST_SUBDIR)/libelf && \
17682 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17683 @endif libelf-bootstrap
17686 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17687 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17688 maybe-all-stageautoprofile-libelf:
17689 maybe-clean-stageautoprofile-libelf:
17690 @if libelf-bootstrap
17691 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17692 all-stageautoprofile: all-stageautoprofile-libelf
17693 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17694 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17695 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17696 @r=`${PWD_COMMAND}`; export r; \
17697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17698 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17699 $(HOST_EXPORTS) \
17700 $(POSTSTAGE1_HOST_EXPORTS) \
17701 cd $(HOST_SUBDIR)/libelf && \
17702 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17704 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17705 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17706 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17707 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17712 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17713 $(TARGET-stageautoprofile-libelf)
17715 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17716 clean-stageautoprofile: clean-stageautoprofile-libelf
17717 clean-stageautoprofile-libelf:
17718 @if [ $(current_stage) = stageautoprofile ]; then \
17719 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17720 else \
17721 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17722 $(MAKE) stageautoprofile-start; \
17723 fi; \
17724 cd $(HOST_SUBDIR)/libelf && \
17725 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17726 @endif libelf-bootstrap
17729 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17730 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17731 maybe-all-stageautofeedback-libelf:
17732 maybe-clean-stageautofeedback-libelf:
17733 @if libelf-bootstrap
17734 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17735 all-stageautofeedback: all-stageautofeedback-libelf
17736 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17737 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17738 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17739 @r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17742 $(HOST_EXPORTS) \
17743 $(POSTSTAGE1_HOST_EXPORTS) \
17744 cd $(HOST_SUBDIR)/libelf && \
17746 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17747 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17748 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17749 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17750 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17754 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17755 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17756 $(TARGET-stageautofeedback-libelf)
17758 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17759 clean-stageautofeedback: clean-stageautofeedback-libelf
17760 clean-stageautofeedback-libelf:
17761 @if [ $(current_stage) = stageautofeedback ]; then \
17762 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17763 else \
17764 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17765 $(MAKE) stageautofeedback-start; \
17766 fi; \
17767 cd $(HOST_SUBDIR)/libelf && \
17768 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17769 @endif libelf-bootstrap
17775 .PHONY: check-libelf maybe-check-libelf
17776 maybe-check-libelf:
17777 @if libelf
17778 maybe-check-libelf: check-libelf
17780 check-libelf:
17781 @: $(MAKE); $(unstage)
17782 @r=`${PWD_COMMAND}`; export r; \
17783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17785 (cd $(HOST_SUBDIR)/libelf && \
17786 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17788 @endif libelf
17790 .PHONY: install-libelf maybe-install-libelf
17791 maybe-install-libelf:
17792 @if libelf
17793 maybe-install-libelf: install-libelf
17795 install-libelf:
17797 @endif libelf
17799 .PHONY: install-strip-libelf maybe-install-strip-libelf
17800 maybe-install-strip-libelf:
17801 @if libelf
17802 maybe-install-strip-libelf: install-strip-libelf
17804 install-strip-libelf:
17806 @endif libelf
17808 # Other targets (info, dvi, pdf, etc.)
17810 .PHONY: maybe-info-libelf info-libelf
17811 maybe-info-libelf:
17812 @if libelf
17813 maybe-info-libelf: info-libelf
17815 info-libelf: \
17816 configure-libelf
17817 @[ -f ./libelf/Makefile ] || exit 0; \
17818 r=`${PWD_COMMAND}`; export r; \
17819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17820 $(HOST_EXPORTS) \
17821 for flag in $(EXTRA_HOST_FLAGS) ; do \
17822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17823 done; \
17824 echo "Doing info in libelf"; \
17825 (cd $(HOST_SUBDIR)/libelf && \
17826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17828 "RANLIB=$${RANLIB}" \
17829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17830 info) \
17831 || exit 1
17833 @endif libelf
17835 .PHONY: maybe-dvi-libelf dvi-libelf
17836 maybe-dvi-libelf:
17837 @if libelf
17838 maybe-dvi-libelf: dvi-libelf
17840 dvi-libelf: \
17841 configure-libelf
17842 @[ -f ./libelf/Makefile ] || exit 0; \
17843 r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 for flag in $(EXTRA_HOST_FLAGS) ; do \
17847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17848 done; \
17849 echo "Doing dvi in libelf"; \
17850 (cd $(HOST_SUBDIR)/libelf && \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853 "RANLIB=$${RANLIB}" \
17854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17855 dvi) \
17856 || exit 1
17858 @endif libelf
17860 .PHONY: maybe-pdf-libelf pdf-libelf
17861 maybe-pdf-libelf:
17862 @if libelf
17863 maybe-pdf-libelf: pdf-libelf
17865 pdf-libelf: \
17866 configure-libelf
17867 @[ -f ./libelf/Makefile ] || exit 0; \
17868 r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 $(HOST_EXPORTS) \
17871 for flag in $(EXTRA_HOST_FLAGS) ; do \
17872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17873 done; \
17874 echo "Doing pdf in libelf"; \
17875 (cd $(HOST_SUBDIR)/libelf && \
17876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17878 "RANLIB=$${RANLIB}" \
17879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17880 pdf) \
17881 || exit 1
17883 @endif libelf
17885 .PHONY: maybe-html-libelf html-libelf
17886 maybe-html-libelf:
17887 @if libelf
17888 maybe-html-libelf: html-libelf
17890 html-libelf: \
17891 configure-libelf
17892 @[ -f ./libelf/Makefile ] || exit 0; \
17893 r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing html in libelf"; \
17900 (cd $(HOST_SUBDIR)/libelf && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17905 html) \
17906 || exit 1
17908 @endif libelf
17910 .PHONY: maybe-TAGS-libelf TAGS-libelf
17911 maybe-TAGS-libelf:
17912 @if libelf
17913 maybe-TAGS-libelf: TAGS-libelf
17915 TAGS-libelf: \
17916 configure-libelf
17917 @[ -f ./libelf/Makefile ] || exit 0; \
17918 r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 for flag in $(EXTRA_HOST_FLAGS) ; do \
17922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17923 done; \
17924 echo "Doing TAGS in libelf"; \
17925 (cd $(HOST_SUBDIR)/libelf && \
17926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17928 "RANLIB=$${RANLIB}" \
17929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17930 TAGS) \
17931 || exit 1
17933 @endif libelf
17935 .PHONY: maybe-install-info-libelf install-info-libelf
17936 maybe-install-info-libelf:
17937 @if libelf
17938 maybe-install-info-libelf: install-info-libelf
17940 install-info-libelf: \
17941 configure-libelf \
17942 info-libelf
17943 @[ -f ./libelf/Makefile ] || exit 0; \
17944 r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 $(HOST_EXPORTS) \
17947 for flag in $(EXTRA_HOST_FLAGS) ; do \
17948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17949 done; \
17950 echo "Doing install-info in libelf"; \
17951 (cd $(HOST_SUBDIR)/libelf && \
17952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17954 "RANLIB=$${RANLIB}" \
17955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17956 install-info) \
17957 || exit 1
17959 @endif libelf
17961 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17962 maybe-install-pdf-libelf:
17963 @if libelf
17964 maybe-install-pdf-libelf: install-pdf-libelf
17966 install-pdf-libelf: \
17967 configure-libelf \
17968 pdf-libelf
17969 @[ -f ./libelf/Makefile ] || exit 0; \
17970 r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 $(HOST_EXPORTS) \
17973 for flag in $(EXTRA_HOST_FLAGS) ; do \
17974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17975 done; \
17976 echo "Doing install-pdf in libelf"; \
17977 (cd $(HOST_SUBDIR)/libelf && \
17978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17980 "RANLIB=$${RANLIB}" \
17981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17982 install-pdf) \
17983 || exit 1
17985 @endif libelf
17987 .PHONY: maybe-install-html-libelf install-html-libelf
17988 maybe-install-html-libelf:
17989 @if libelf
17990 maybe-install-html-libelf: install-html-libelf
17992 install-html-libelf: \
17993 configure-libelf \
17994 html-libelf
17995 @[ -f ./libelf/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(HOST_EXPORTS) \
17999 for flag in $(EXTRA_HOST_FLAGS) ; do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 done; \
18002 echo "Doing install-html in libelf"; \
18003 (cd $(HOST_SUBDIR)/libelf && \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18008 install-html) \
18009 || exit 1
18011 @endif libelf
18013 .PHONY: maybe-installcheck-libelf installcheck-libelf
18014 maybe-installcheck-libelf:
18015 @if libelf
18016 maybe-installcheck-libelf: installcheck-libelf
18018 installcheck-libelf: \
18019 configure-libelf
18020 @[ -f ./libelf/Makefile ] || exit 0; \
18021 r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 $(HOST_EXPORTS) \
18024 for flag in $(EXTRA_HOST_FLAGS) ; do \
18025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18026 done; \
18027 echo "Doing installcheck in libelf"; \
18028 (cd $(HOST_SUBDIR)/libelf && \
18029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18031 "RANLIB=$${RANLIB}" \
18032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18033 installcheck) \
18034 || exit 1
18036 @endif libelf
18038 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18039 maybe-mostlyclean-libelf:
18040 @if libelf
18041 maybe-mostlyclean-libelf: mostlyclean-libelf
18043 mostlyclean-libelf:
18044 @[ -f ./libelf/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047 $(HOST_EXPORTS) \
18048 for flag in $(EXTRA_HOST_FLAGS) ; do \
18049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18050 done; \
18051 echo "Doing mostlyclean in libelf"; \
18052 (cd $(HOST_SUBDIR)/libelf && \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055 "RANLIB=$${RANLIB}" \
18056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18057 mostlyclean) \
18058 || exit 1
18060 @endif libelf
18062 .PHONY: maybe-clean-libelf clean-libelf
18063 maybe-clean-libelf:
18064 @if libelf
18065 maybe-clean-libelf: clean-libelf
18067 clean-libelf:
18068 @[ -f ./libelf/Makefile ] || exit 0; \
18069 r=`${PWD_COMMAND}`; export r; \
18070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18071 $(HOST_EXPORTS) \
18072 for flag in $(EXTRA_HOST_FLAGS) ; do \
18073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18074 done; \
18075 echo "Doing clean in libelf"; \
18076 (cd $(HOST_SUBDIR)/libelf && \
18077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18079 "RANLIB=$${RANLIB}" \
18080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18081 clean) \
18082 || exit 1
18084 @endif libelf
18086 .PHONY: maybe-distclean-libelf distclean-libelf
18087 maybe-distclean-libelf:
18088 @if libelf
18089 maybe-distclean-libelf: distclean-libelf
18091 distclean-libelf:
18092 @[ -f ./libelf/Makefile ] || exit 0; \
18093 r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS) ; do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing distclean in libelf"; \
18100 (cd $(HOST_SUBDIR)/libelf && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18105 distclean) \
18106 || exit 1
18108 @endif libelf
18110 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18111 maybe-maintainer-clean-libelf:
18112 @if libelf
18113 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18115 maintainer-clean-libelf:
18116 @[ -f ./libelf/Makefile ] || exit 0; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18119 $(HOST_EXPORTS) \
18120 for flag in $(EXTRA_HOST_FLAGS) ; do \
18121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18122 done; \
18123 echo "Doing maintainer-clean in libelf"; \
18124 (cd $(HOST_SUBDIR)/libelf && \
18125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18127 "RANLIB=$${RANLIB}" \
18128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18129 maintainer-clean) \
18130 || exit 1
18132 @endif libelf
18136 .PHONY: configure-gold maybe-configure-gold
18137 maybe-configure-gold:
18138 @if gcc-bootstrap
18139 configure-gold: stage_current
18140 @endif gcc-bootstrap
18141 @if gold
18142 maybe-configure-gold: configure-gold
18143 configure-gold:
18144 @r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18148 $(HOST_EXPORTS) \
18149 echo Configuring in $(HOST_SUBDIR)/gold; \
18150 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18151 case $(srcdir) in \
18152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18153 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18155 esac; \
18156 module_srcdir=gold; \
18157 $(SHELL) \
18158 $$s/$$module_srcdir/configure \
18159 --srcdir=$${topdir}/$$module_srcdir \
18160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18161 --target=${target_alias} \
18162 || exit 1
18163 @endif gold
18167 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18168 maybe-configure-stage1-gold:
18169 @if gold-bootstrap
18170 maybe-configure-stage1-gold: configure-stage1-gold
18171 configure-stage1-gold:
18172 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18174 @r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 TFLAGS="$(STAGE1_TFLAGS)"; \
18177 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18178 $(HOST_EXPORTS) \
18179 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18180 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18181 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18182 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18184 cd $(HOST_SUBDIR)/gold || exit 1; \
18185 case $(srcdir) in \
18186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18187 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18189 esac; \
18190 module_srcdir=gold; \
18191 $(SHELL) $$s/$$module_srcdir/configure \
18192 --srcdir=$${topdir}/$$module_srcdir \
18193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18194 --target=${target_alias} \
18196 $(STAGE1_CONFIGURE_FLAGS)
18197 @endif gold-bootstrap
18199 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18200 maybe-configure-stage2-gold:
18201 @if gold-bootstrap
18202 maybe-configure-stage2-gold: configure-stage2-gold
18203 configure-stage2-gold:
18204 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18206 @r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 TFLAGS="$(STAGE2_TFLAGS)"; \
18209 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18210 $(HOST_EXPORTS) \
18211 $(POSTSTAGE1_HOST_EXPORTS) \
18212 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18213 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18214 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18215 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18217 cd $(HOST_SUBDIR)/gold || exit 1; \
18218 case $(srcdir) in \
18219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18220 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18222 esac; \
18223 module_srcdir=gold; \
18224 $(SHELL) $$s/$$module_srcdir/configure \
18225 --srcdir=$${topdir}/$$module_srcdir \
18226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18227 --target=${target_alias} \
18228 --with-build-libsubdir=$(HOST_SUBDIR) \
18229 $(STAGE2_CONFIGURE_FLAGS)
18230 @endif gold-bootstrap
18232 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18233 maybe-configure-stage3-gold:
18234 @if gold-bootstrap
18235 maybe-configure-stage3-gold: configure-stage3-gold
18236 configure-stage3-gold:
18237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18239 @r=`${PWD_COMMAND}`; export r; \
18240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18241 TFLAGS="$(STAGE3_TFLAGS)"; \
18242 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18243 $(HOST_EXPORTS) \
18244 $(POSTSTAGE1_HOST_EXPORTS) \
18245 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18246 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18247 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18248 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18250 cd $(HOST_SUBDIR)/gold || exit 1; \
18251 case $(srcdir) in \
18252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18253 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18255 esac; \
18256 module_srcdir=gold; \
18257 $(SHELL) $$s/$$module_srcdir/configure \
18258 --srcdir=$${topdir}/$$module_srcdir \
18259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18260 --target=${target_alias} \
18261 --with-build-libsubdir=$(HOST_SUBDIR) \
18262 $(STAGE3_CONFIGURE_FLAGS)
18263 @endif gold-bootstrap
18265 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18266 maybe-configure-stage4-gold:
18267 @if gold-bootstrap
18268 maybe-configure-stage4-gold: configure-stage4-gold
18269 configure-stage4-gold:
18270 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18272 @r=`${PWD_COMMAND}`; export r; \
18273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18274 TFLAGS="$(STAGE4_TFLAGS)"; \
18275 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18276 $(HOST_EXPORTS) \
18277 $(POSTSTAGE1_HOST_EXPORTS) \
18278 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18279 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18280 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18281 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18283 cd $(HOST_SUBDIR)/gold || exit 1; \
18284 case $(srcdir) in \
18285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18286 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18288 esac; \
18289 module_srcdir=gold; \
18290 $(SHELL) $$s/$$module_srcdir/configure \
18291 --srcdir=$${topdir}/$$module_srcdir \
18292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18293 --target=${target_alias} \
18294 --with-build-libsubdir=$(HOST_SUBDIR) \
18295 $(STAGE4_CONFIGURE_FLAGS)
18296 @endif gold-bootstrap
18298 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18299 maybe-configure-stageprofile-gold:
18300 @if gold-bootstrap
18301 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18302 configure-stageprofile-gold:
18303 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18305 @r=`${PWD_COMMAND}`; export r; \
18306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18308 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18309 $(HOST_EXPORTS) \
18310 $(POSTSTAGE1_HOST_EXPORTS) \
18311 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18312 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18313 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18314 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18316 cd $(HOST_SUBDIR)/gold || exit 1; \
18317 case $(srcdir) in \
18318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18319 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18321 esac; \
18322 module_srcdir=gold; \
18323 $(SHELL) $$s/$$module_srcdir/configure \
18324 --srcdir=$${topdir}/$$module_srcdir \
18325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18326 --target=${target_alias} \
18327 --with-build-libsubdir=$(HOST_SUBDIR) \
18328 $(STAGEprofile_CONFIGURE_FLAGS)
18329 @endif gold-bootstrap
18331 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18332 maybe-configure-stagetrain-gold:
18333 @if gold-bootstrap
18334 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18335 configure-stagetrain-gold:
18336 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18338 @r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18341 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18342 $(HOST_EXPORTS) \
18343 $(POSTSTAGE1_HOST_EXPORTS) \
18344 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18345 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18346 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18347 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18349 cd $(HOST_SUBDIR)/gold || exit 1; \
18350 case $(srcdir) in \
18351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18352 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18354 esac; \
18355 module_srcdir=gold; \
18356 $(SHELL) $$s/$$module_srcdir/configure \
18357 --srcdir=$${topdir}/$$module_srcdir \
18358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18359 --target=${target_alias} \
18360 --with-build-libsubdir=$(HOST_SUBDIR) \
18361 $(STAGEtrain_CONFIGURE_FLAGS)
18362 @endif gold-bootstrap
18364 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18365 maybe-configure-stagefeedback-gold:
18366 @if gold-bootstrap
18367 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18368 configure-stagefeedback-gold:
18369 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18371 @r=`${PWD_COMMAND}`; export r; \
18372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18373 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18374 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18375 $(HOST_EXPORTS) \
18376 $(POSTSTAGE1_HOST_EXPORTS) \
18377 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18378 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18379 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18380 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18382 cd $(HOST_SUBDIR)/gold || exit 1; \
18383 case $(srcdir) in \
18384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18385 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18387 esac; \
18388 module_srcdir=gold; \
18389 $(SHELL) $$s/$$module_srcdir/configure \
18390 --srcdir=$${topdir}/$$module_srcdir \
18391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18392 --target=${target_alias} \
18393 --with-build-libsubdir=$(HOST_SUBDIR) \
18394 $(STAGEfeedback_CONFIGURE_FLAGS)
18395 @endif gold-bootstrap
18397 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18398 maybe-configure-stageautoprofile-gold:
18399 @if gold-bootstrap
18400 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18401 configure-stageautoprofile-gold:
18402 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18404 @r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18407 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18408 $(HOST_EXPORTS) \
18409 $(POSTSTAGE1_HOST_EXPORTS) \
18410 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18411 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18412 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18413 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18415 cd $(HOST_SUBDIR)/gold || exit 1; \
18416 case $(srcdir) in \
18417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18418 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18420 esac; \
18421 module_srcdir=gold; \
18422 $(SHELL) $$s/$$module_srcdir/configure \
18423 --srcdir=$${topdir}/$$module_srcdir \
18424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18425 --target=${target_alias} \
18426 --with-build-libsubdir=$(HOST_SUBDIR) \
18427 $(STAGEautoprofile_CONFIGURE_FLAGS)
18428 @endif gold-bootstrap
18430 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18431 maybe-configure-stageautofeedback-gold:
18432 @if gold-bootstrap
18433 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18434 configure-stageautofeedback-gold:
18435 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18437 @r=`${PWD_COMMAND}`; export r; \
18438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18439 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18440 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18441 $(HOST_EXPORTS) \
18442 $(POSTSTAGE1_HOST_EXPORTS) \
18443 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18444 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18445 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18446 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18448 cd $(HOST_SUBDIR)/gold || exit 1; \
18449 case $(srcdir) in \
18450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18451 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18453 esac; \
18454 module_srcdir=gold; \
18455 $(SHELL) $$s/$$module_srcdir/configure \
18456 --srcdir=$${topdir}/$$module_srcdir \
18457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18458 --target=${target_alias} \
18459 --with-build-libsubdir=$(HOST_SUBDIR) \
18460 $(STAGEautofeedback_CONFIGURE_FLAGS)
18461 @endif gold-bootstrap
18467 .PHONY: all-gold maybe-all-gold
18468 maybe-all-gold:
18469 @if gcc-bootstrap
18470 all-gold: stage_current
18471 @endif gcc-bootstrap
18472 @if gold
18473 TARGET-gold=all
18474 maybe-all-gold: all-gold
18475 all-gold: configure-gold
18476 @r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 $(HOST_EXPORTS) \
18479 (cd $(HOST_SUBDIR)/gold && \
18480 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18481 $(TARGET-gold))
18482 @endif gold
18486 .PHONY: all-stage1-gold maybe-all-stage1-gold
18487 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18488 maybe-all-stage1-gold:
18489 maybe-clean-stage1-gold:
18490 @if gold-bootstrap
18491 maybe-all-stage1-gold: all-stage1-gold
18492 all-stage1: all-stage1-gold
18493 TARGET-stage1-gold = $(TARGET-gold)
18494 all-stage1-gold: configure-stage1-gold
18495 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18496 @r=`${PWD_COMMAND}`; export r; \
18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18498 TFLAGS="$(STAGE1_TFLAGS)"; \
18499 $(HOST_EXPORTS) \
18500 cd $(HOST_SUBDIR)/gold && \
18502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18503 CFLAGS="$(STAGE1_CFLAGS)" \
18504 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18505 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18506 LIBCFLAGS="$(LIBCFLAGS)" \
18507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18510 $(EXTRA_HOST_FLAGS) \
18511 $(STAGE1_FLAGS_TO_PASS) \
18512 TFLAGS="$(STAGE1_TFLAGS)" \
18513 $(TARGET-stage1-gold)
18515 maybe-clean-stage1-gold: clean-stage1-gold
18516 clean-stage1: clean-stage1-gold
18517 clean-stage1-gold:
18518 @if [ $(current_stage) = stage1 ]; then \
18519 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18520 else \
18521 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18522 $(MAKE) stage1-start; \
18523 fi; \
18524 cd $(HOST_SUBDIR)/gold && \
18525 $(MAKE) $(EXTRA_HOST_FLAGS) \
18526 $(STAGE1_FLAGS_TO_PASS) clean
18527 @endif gold-bootstrap
18530 .PHONY: all-stage2-gold maybe-all-stage2-gold
18531 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18532 maybe-all-stage2-gold:
18533 maybe-clean-stage2-gold:
18534 @if gold-bootstrap
18535 maybe-all-stage2-gold: all-stage2-gold
18536 all-stage2: all-stage2-gold
18537 TARGET-stage2-gold = $(TARGET-gold)
18538 all-stage2-gold: configure-stage2-gold
18539 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18540 @r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 TFLAGS="$(STAGE2_TFLAGS)"; \
18543 $(HOST_EXPORTS) \
18544 $(POSTSTAGE1_HOST_EXPORTS) \
18545 cd $(HOST_SUBDIR)/gold && \
18547 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18548 CFLAGS="$(STAGE2_CFLAGS)" \
18549 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18550 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18551 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18556 TFLAGS="$(STAGE2_TFLAGS)" \
18557 $(TARGET-stage2-gold)
18559 maybe-clean-stage2-gold: clean-stage2-gold
18560 clean-stage2: clean-stage2-gold
18561 clean-stage2-gold:
18562 @if [ $(current_stage) = stage2 ]; then \
18563 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18564 else \
18565 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18566 $(MAKE) stage2-start; \
18567 fi; \
18568 cd $(HOST_SUBDIR)/gold && \
18569 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18570 @endif gold-bootstrap
18573 .PHONY: all-stage3-gold maybe-all-stage3-gold
18574 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18575 maybe-all-stage3-gold:
18576 maybe-clean-stage3-gold:
18577 @if gold-bootstrap
18578 maybe-all-stage3-gold: all-stage3-gold
18579 all-stage3: all-stage3-gold
18580 TARGET-stage3-gold = $(TARGET-gold)
18581 all-stage3-gold: configure-stage3-gold
18582 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18583 @r=`${PWD_COMMAND}`; export r; \
18584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18585 TFLAGS="$(STAGE3_TFLAGS)"; \
18586 $(HOST_EXPORTS) \
18587 $(POSTSTAGE1_HOST_EXPORTS) \
18588 cd $(HOST_SUBDIR)/gold && \
18590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18591 CFLAGS="$(STAGE3_CFLAGS)" \
18592 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18593 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18594 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18599 TFLAGS="$(STAGE3_TFLAGS)" \
18600 $(TARGET-stage3-gold)
18602 maybe-clean-stage3-gold: clean-stage3-gold
18603 clean-stage3: clean-stage3-gold
18604 clean-stage3-gold:
18605 @if [ $(current_stage) = stage3 ]; then \
18606 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18607 else \
18608 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18609 $(MAKE) stage3-start; \
18610 fi; \
18611 cd $(HOST_SUBDIR)/gold && \
18612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18613 @endif gold-bootstrap
18616 .PHONY: all-stage4-gold maybe-all-stage4-gold
18617 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18618 maybe-all-stage4-gold:
18619 maybe-clean-stage4-gold:
18620 @if gold-bootstrap
18621 maybe-all-stage4-gold: all-stage4-gold
18622 all-stage4: all-stage4-gold
18623 TARGET-stage4-gold = $(TARGET-gold)
18624 all-stage4-gold: configure-stage4-gold
18625 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18626 @r=`${PWD_COMMAND}`; export r; \
18627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18628 TFLAGS="$(STAGE4_TFLAGS)"; \
18629 $(HOST_EXPORTS) \
18630 $(POSTSTAGE1_HOST_EXPORTS) \
18631 cd $(HOST_SUBDIR)/gold && \
18633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18634 CFLAGS="$(STAGE4_CFLAGS)" \
18635 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18636 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18637 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18642 TFLAGS="$(STAGE4_TFLAGS)" \
18643 $(TARGET-stage4-gold)
18645 maybe-clean-stage4-gold: clean-stage4-gold
18646 clean-stage4: clean-stage4-gold
18647 clean-stage4-gold:
18648 @if [ $(current_stage) = stage4 ]; then \
18649 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18650 else \
18651 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18652 $(MAKE) stage4-start; \
18653 fi; \
18654 cd $(HOST_SUBDIR)/gold && \
18655 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18656 @endif gold-bootstrap
18659 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18660 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18661 maybe-all-stageprofile-gold:
18662 maybe-clean-stageprofile-gold:
18663 @if gold-bootstrap
18664 maybe-all-stageprofile-gold: all-stageprofile-gold
18665 all-stageprofile: all-stageprofile-gold
18666 TARGET-stageprofile-gold = $(TARGET-gold)
18667 all-stageprofile-gold: configure-stageprofile-gold
18668 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18669 @r=`${PWD_COMMAND}`; export r; \
18670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18671 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18672 $(HOST_EXPORTS) \
18673 $(POSTSTAGE1_HOST_EXPORTS) \
18674 cd $(HOST_SUBDIR)/gold && \
18676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18677 CFLAGS="$(STAGEprofile_CFLAGS)" \
18678 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18680 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18681 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18682 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18683 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18684 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18685 TFLAGS="$(STAGEprofile_TFLAGS)" \
18686 $(TARGET-stageprofile-gold)
18688 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18689 clean-stageprofile: clean-stageprofile-gold
18690 clean-stageprofile-gold:
18691 @if [ $(current_stage) = stageprofile ]; then \
18692 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18693 else \
18694 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18695 $(MAKE) stageprofile-start; \
18696 fi; \
18697 cd $(HOST_SUBDIR)/gold && \
18698 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18699 @endif gold-bootstrap
18702 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18703 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18704 maybe-all-stagetrain-gold:
18705 maybe-clean-stagetrain-gold:
18706 @if gold-bootstrap
18707 maybe-all-stagetrain-gold: all-stagetrain-gold
18708 all-stagetrain: all-stagetrain-gold
18709 TARGET-stagetrain-gold = $(TARGET-gold)
18710 all-stagetrain-gold: configure-stagetrain-gold
18711 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18712 @r=`${PWD_COMMAND}`; export r; \
18713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18714 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18715 $(HOST_EXPORTS) \
18716 $(POSTSTAGE1_HOST_EXPORTS) \
18717 cd $(HOST_SUBDIR)/gold && \
18719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18720 CFLAGS="$(STAGEtrain_CFLAGS)" \
18721 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18722 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18723 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18727 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18728 TFLAGS="$(STAGEtrain_TFLAGS)" \
18729 $(TARGET-stagetrain-gold)
18731 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18732 clean-stagetrain: clean-stagetrain-gold
18733 clean-stagetrain-gold:
18734 @if [ $(current_stage) = stagetrain ]; then \
18735 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18736 else \
18737 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18738 $(MAKE) stagetrain-start; \
18739 fi; \
18740 cd $(HOST_SUBDIR)/gold && \
18741 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18742 @endif gold-bootstrap
18745 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18746 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18747 maybe-all-stagefeedback-gold:
18748 maybe-clean-stagefeedback-gold:
18749 @if gold-bootstrap
18750 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18751 all-stagefeedback: all-stagefeedback-gold
18752 TARGET-stagefeedback-gold = $(TARGET-gold)
18753 all-stagefeedback-gold: configure-stagefeedback-gold
18754 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18755 @r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18758 $(HOST_EXPORTS) \
18759 $(POSTSTAGE1_HOST_EXPORTS) \
18760 cd $(HOST_SUBDIR)/gold && \
18762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18763 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18764 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18765 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18766 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18771 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18772 $(TARGET-stagefeedback-gold)
18774 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18775 clean-stagefeedback: clean-stagefeedback-gold
18776 clean-stagefeedback-gold:
18777 @if [ $(current_stage) = stagefeedback ]; then \
18778 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18779 else \
18780 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18781 $(MAKE) stagefeedback-start; \
18782 fi; \
18783 cd $(HOST_SUBDIR)/gold && \
18784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18785 @endif gold-bootstrap
18788 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18789 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18790 maybe-all-stageautoprofile-gold:
18791 maybe-clean-stageautoprofile-gold:
18792 @if gold-bootstrap
18793 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18794 all-stageautoprofile: all-stageautoprofile-gold
18795 TARGET-stageautoprofile-gold = $(TARGET-gold)
18796 all-stageautoprofile-gold: configure-stageautoprofile-gold
18797 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18798 @r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18801 $(HOST_EXPORTS) \
18802 $(POSTSTAGE1_HOST_EXPORTS) \
18803 cd $(HOST_SUBDIR)/gold && \
18804 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18805 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18806 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18807 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18808 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18809 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18814 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18815 $(TARGET-stageautoprofile-gold)
18817 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18818 clean-stageautoprofile: clean-stageautoprofile-gold
18819 clean-stageautoprofile-gold:
18820 @if [ $(current_stage) = stageautoprofile ]; then \
18821 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18822 else \
18823 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18824 $(MAKE) stageautoprofile-start; \
18825 fi; \
18826 cd $(HOST_SUBDIR)/gold && \
18827 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18828 @endif gold-bootstrap
18831 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18832 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18833 maybe-all-stageautofeedback-gold:
18834 maybe-clean-stageautofeedback-gold:
18835 @if gold-bootstrap
18836 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18837 all-stageautofeedback: all-stageautofeedback-gold
18838 TARGET-stageautofeedback-gold = $(TARGET-gold)
18839 all-stageautofeedback-gold: configure-stageautofeedback-gold
18840 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18841 @r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18844 $(HOST_EXPORTS) \
18845 $(POSTSTAGE1_HOST_EXPORTS) \
18846 cd $(HOST_SUBDIR)/gold && \
18848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18849 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18850 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18851 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18852 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18857 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18858 $(TARGET-stageautofeedback-gold)
18860 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18861 clean-stageautofeedback: clean-stageautofeedback-gold
18862 clean-stageautofeedback-gold:
18863 @if [ $(current_stage) = stageautofeedback ]; then \
18864 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18865 else \
18866 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18867 $(MAKE) stageautofeedback-start; \
18868 fi; \
18869 cd $(HOST_SUBDIR)/gold && \
18870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18871 @endif gold-bootstrap
18877 .PHONY: check-gold maybe-check-gold
18878 maybe-check-gold:
18879 @if gold
18880 maybe-check-gold: check-gold
18882 check-gold:
18883 @: $(MAKE); $(unstage)
18884 @r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18887 (cd $(HOST_SUBDIR)/gold && \
18888 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18890 @endif gold
18892 .PHONY: install-gold maybe-install-gold
18893 maybe-install-gold:
18894 @if gold
18895 maybe-install-gold: install-gold
18897 install-gold: installdirs
18898 @: $(MAKE); $(unstage)
18899 @r=`${PWD_COMMAND}`; export r; \
18900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18901 $(HOST_EXPORTS) \
18902 (cd $(HOST_SUBDIR)/gold && \
18903 $(MAKE) $(FLAGS_TO_PASS) install)
18905 @endif gold
18907 .PHONY: install-strip-gold maybe-install-strip-gold
18908 maybe-install-strip-gold:
18909 @if gold
18910 maybe-install-strip-gold: install-strip-gold
18912 install-strip-gold: installdirs
18913 @: $(MAKE); $(unstage)
18914 @r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 $(HOST_EXPORTS) \
18917 (cd $(HOST_SUBDIR)/gold && \
18918 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18920 @endif gold
18922 # Other targets (info, dvi, pdf, etc.)
18924 .PHONY: maybe-info-gold info-gold
18925 maybe-info-gold:
18926 @if gold
18927 maybe-info-gold: info-gold
18929 info-gold: \
18930 configure-gold
18931 @[ -f ./gold/Makefile ] || exit 0; \
18932 r=`${PWD_COMMAND}`; export r; \
18933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18934 $(HOST_EXPORTS) \
18935 for flag in $(EXTRA_HOST_FLAGS) ; do \
18936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18937 done; \
18938 echo "Doing info in gold"; \
18939 (cd $(HOST_SUBDIR)/gold && \
18940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18942 "RANLIB=$${RANLIB}" \
18943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18944 info) \
18945 || exit 1
18947 @endif gold
18949 .PHONY: maybe-dvi-gold dvi-gold
18950 maybe-dvi-gold:
18951 @if gold
18952 maybe-dvi-gold: dvi-gold
18954 dvi-gold: \
18955 configure-gold
18956 @[ -f ./gold/Makefile ] || exit 0; \
18957 r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 $(HOST_EXPORTS) \
18960 for flag in $(EXTRA_HOST_FLAGS) ; do \
18961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18962 done; \
18963 echo "Doing dvi in gold"; \
18964 (cd $(HOST_SUBDIR)/gold && \
18965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18967 "RANLIB=$${RANLIB}" \
18968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18969 dvi) \
18970 || exit 1
18972 @endif gold
18974 .PHONY: maybe-pdf-gold pdf-gold
18975 maybe-pdf-gold:
18976 @if gold
18977 maybe-pdf-gold: pdf-gold
18979 pdf-gold: \
18980 configure-gold
18981 @[ -f ./gold/Makefile ] || exit 0; \
18982 r=`${PWD_COMMAND}`; export r; \
18983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18984 $(HOST_EXPORTS) \
18985 for flag in $(EXTRA_HOST_FLAGS) ; do \
18986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18987 done; \
18988 echo "Doing pdf in gold"; \
18989 (cd $(HOST_SUBDIR)/gold && \
18990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18992 "RANLIB=$${RANLIB}" \
18993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18994 pdf) \
18995 || exit 1
18997 @endif gold
18999 .PHONY: maybe-html-gold html-gold
19000 maybe-html-gold:
19001 @if gold
19002 maybe-html-gold: html-gold
19004 html-gold: \
19005 configure-gold
19006 @[ -f ./gold/Makefile ] || exit 0; \
19007 r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009 $(HOST_EXPORTS) \
19010 for flag in $(EXTRA_HOST_FLAGS) ; do \
19011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19012 done; \
19013 echo "Doing html in gold"; \
19014 (cd $(HOST_SUBDIR)/gold && \
19015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19017 "RANLIB=$${RANLIB}" \
19018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19019 html) \
19020 || exit 1
19022 @endif gold
19024 .PHONY: maybe-TAGS-gold TAGS-gold
19025 maybe-TAGS-gold:
19026 @if gold
19027 maybe-TAGS-gold: TAGS-gold
19029 TAGS-gold: \
19030 configure-gold
19031 @[ -f ./gold/Makefile ] || exit 0; \
19032 r=`${PWD_COMMAND}`; export r; \
19033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19034 $(HOST_EXPORTS) \
19035 for flag in $(EXTRA_HOST_FLAGS) ; do \
19036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19037 done; \
19038 echo "Doing TAGS in gold"; \
19039 (cd $(HOST_SUBDIR)/gold && \
19040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19042 "RANLIB=$${RANLIB}" \
19043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19044 TAGS) \
19045 || exit 1
19047 @endif gold
19049 .PHONY: maybe-install-info-gold install-info-gold
19050 maybe-install-info-gold:
19051 @if gold
19052 maybe-install-info-gold: install-info-gold
19054 install-info-gold: \
19055 configure-gold \
19056 info-gold
19057 @[ -f ./gold/Makefile ] || exit 0; \
19058 r=`${PWD_COMMAND}`; export r; \
19059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19060 $(HOST_EXPORTS) \
19061 for flag in $(EXTRA_HOST_FLAGS) ; do \
19062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19063 done; \
19064 echo "Doing install-info in gold"; \
19065 (cd $(HOST_SUBDIR)/gold && \
19066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19068 "RANLIB=$${RANLIB}" \
19069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19070 install-info) \
19071 || exit 1
19073 @endif gold
19075 .PHONY: maybe-install-pdf-gold install-pdf-gold
19076 maybe-install-pdf-gold:
19077 @if gold
19078 maybe-install-pdf-gold: install-pdf-gold
19080 install-pdf-gold: \
19081 configure-gold \
19082 pdf-gold
19083 @[ -f ./gold/Makefile ] || exit 0; \
19084 r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086 $(HOST_EXPORTS) \
19087 for flag in $(EXTRA_HOST_FLAGS) ; do \
19088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19089 done; \
19090 echo "Doing install-pdf in gold"; \
19091 (cd $(HOST_SUBDIR)/gold && \
19092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19094 "RANLIB=$${RANLIB}" \
19095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19096 install-pdf) \
19097 || exit 1
19099 @endif gold
19101 .PHONY: maybe-install-html-gold install-html-gold
19102 maybe-install-html-gold:
19103 @if gold
19104 maybe-install-html-gold: install-html-gold
19106 install-html-gold: \
19107 configure-gold \
19108 html-gold
19109 @[ -f ./gold/Makefile ] || exit 0; \
19110 r=`${PWD_COMMAND}`; export r; \
19111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19112 $(HOST_EXPORTS) \
19113 for flag in $(EXTRA_HOST_FLAGS) ; do \
19114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19115 done; \
19116 echo "Doing install-html in gold"; \
19117 (cd $(HOST_SUBDIR)/gold && \
19118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19120 "RANLIB=$${RANLIB}" \
19121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19122 install-html) \
19123 || exit 1
19125 @endif gold
19127 .PHONY: maybe-installcheck-gold installcheck-gold
19128 maybe-installcheck-gold:
19129 @if gold
19130 maybe-installcheck-gold: installcheck-gold
19132 installcheck-gold: \
19133 configure-gold
19134 @[ -f ./gold/Makefile ] || exit 0; \
19135 r=`${PWD_COMMAND}`; export r; \
19136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19137 $(HOST_EXPORTS) \
19138 for flag in $(EXTRA_HOST_FLAGS) ; do \
19139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19140 done; \
19141 echo "Doing installcheck in gold"; \
19142 (cd $(HOST_SUBDIR)/gold && \
19143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19145 "RANLIB=$${RANLIB}" \
19146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19147 installcheck) \
19148 || exit 1
19150 @endif gold
19152 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19153 maybe-mostlyclean-gold:
19154 @if gold
19155 maybe-mostlyclean-gold: mostlyclean-gold
19157 mostlyclean-gold:
19158 @[ -f ./gold/Makefile ] || exit 0; \
19159 r=`${PWD_COMMAND}`; export r; \
19160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161 $(HOST_EXPORTS) \
19162 for flag in $(EXTRA_HOST_FLAGS) ; do \
19163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19164 done; \
19165 echo "Doing mostlyclean in gold"; \
19166 (cd $(HOST_SUBDIR)/gold && \
19167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19169 "RANLIB=$${RANLIB}" \
19170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19171 mostlyclean) \
19172 || exit 1
19174 @endif gold
19176 .PHONY: maybe-clean-gold clean-gold
19177 maybe-clean-gold:
19178 @if gold
19179 maybe-clean-gold: clean-gold
19181 clean-gold:
19182 @[ -f ./gold/Makefile ] || exit 0; \
19183 r=`${PWD_COMMAND}`; export r; \
19184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19185 $(HOST_EXPORTS) \
19186 for flag in $(EXTRA_HOST_FLAGS) ; do \
19187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19188 done; \
19189 echo "Doing clean in gold"; \
19190 (cd $(HOST_SUBDIR)/gold && \
19191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19193 "RANLIB=$${RANLIB}" \
19194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19195 clean) \
19196 || exit 1
19198 @endif gold
19200 .PHONY: maybe-distclean-gold distclean-gold
19201 maybe-distclean-gold:
19202 @if gold
19203 maybe-distclean-gold: distclean-gold
19205 distclean-gold:
19206 @[ -f ./gold/Makefile ] || exit 0; \
19207 r=`${PWD_COMMAND}`; export r; \
19208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 $(HOST_EXPORTS) \
19210 for flag in $(EXTRA_HOST_FLAGS) ; do \
19211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19212 done; \
19213 echo "Doing distclean in gold"; \
19214 (cd $(HOST_SUBDIR)/gold && \
19215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19217 "RANLIB=$${RANLIB}" \
19218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19219 distclean) \
19220 || exit 1
19222 @endif gold
19224 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19225 maybe-maintainer-clean-gold:
19226 @if gold
19227 maybe-maintainer-clean-gold: maintainer-clean-gold
19229 maintainer-clean-gold:
19230 @[ -f ./gold/Makefile ] || exit 0; \
19231 r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS) ; do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing maintainer-clean in gold"; \
19238 (cd $(HOST_SUBDIR)/gold && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19243 maintainer-clean) \
19244 || exit 1
19246 @endif gold
19250 .PHONY: configure-gprof maybe-configure-gprof
19251 maybe-configure-gprof:
19252 @if gcc-bootstrap
19253 configure-gprof: stage_current
19254 @endif gcc-bootstrap
19255 @if gprof
19256 maybe-configure-gprof: configure-gprof
19257 configure-gprof:
19258 @: $(MAKE); $(unstage)
19259 @r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19263 $(HOST_EXPORTS) \
19264 echo Configuring in $(HOST_SUBDIR)/gprof; \
19265 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19266 case $(srcdir) in \
19267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19268 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19270 esac; \
19271 module_srcdir=gprof; \
19272 $(SHELL) \
19273 $$s/$$module_srcdir/configure \
19274 --srcdir=$${topdir}/$$module_srcdir \
19275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19276 --target=${target_alias} \
19277 || exit 1
19278 @endif gprof
19284 .PHONY: all-gprof maybe-all-gprof
19285 maybe-all-gprof:
19286 @if gcc-bootstrap
19287 all-gprof: stage_current
19288 @endif gcc-bootstrap
19289 @if gprof
19290 TARGET-gprof=all
19291 maybe-all-gprof: all-gprof
19292 all-gprof: configure-gprof
19293 @: $(MAKE); $(unstage)
19294 @r=`${PWD_COMMAND}`; export r; \
19295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19296 $(HOST_EXPORTS) \
19297 (cd $(HOST_SUBDIR)/gprof && \
19298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19299 $(TARGET-gprof))
19300 @endif gprof
19305 .PHONY: check-gprof maybe-check-gprof
19306 maybe-check-gprof:
19307 @if gprof
19308 maybe-check-gprof: check-gprof
19310 check-gprof:
19311 @: $(MAKE); $(unstage)
19312 @r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 $(HOST_EXPORTS) \
19315 (cd $(HOST_SUBDIR)/gprof && \
19316 $(MAKE) $(FLAGS_TO_PASS) check)
19318 @endif gprof
19320 .PHONY: install-gprof maybe-install-gprof
19321 maybe-install-gprof:
19322 @if gprof
19323 maybe-install-gprof: install-gprof
19325 install-gprof: installdirs
19326 @: $(MAKE); $(unstage)
19327 @r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 (cd $(HOST_SUBDIR)/gprof && \
19331 $(MAKE) $(FLAGS_TO_PASS) install)
19333 @endif gprof
19335 .PHONY: install-strip-gprof maybe-install-strip-gprof
19336 maybe-install-strip-gprof:
19337 @if gprof
19338 maybe-install-strip-gprof: install-strip-gprof
19340 install-strip-gprof: installdirs
19341 @: $(MAKE); $(unstage)
19342 @r=`${PWD_COMMAND}`; export r; \
19343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19344 $(HOST_EXPORTS) \
19345 (cd $(HOST_SUBDIR)/gprof && \
19346 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19348 @endif gprof
19350 # Other targets (info, dvi, pdf, etc.)
19352 .PHONY: maybe-info-gprof info-gprof
19353 maybe-info-gprof:
19354 @if gprof
19355 maybe-info-gprof: info-gprof
19357 info-gprof: \
19358 configure-gprof
19359 @: $(MAKE); $(unstage)
19360 @[ -f ./gprof/Makefile ] || exit 0; \
19361 r=`${PWD_COMMAND}`; export r; \
19362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19363 $(HOST_EXPORTS) \
19364 for flag in $(EXTRA_HOST_FLAGS) ; do \
19365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19366 done; \
19367 echo "Doing info in gprof"; \
19368 (cd $(HOST_SUBDIR)/gprof && \
19369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19371 "RANLIB=$${RANLIB}" \
19372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19373 info) \
19374 || exit 1
19376 @endif gprof
19378 .PHONY: maybe-dvi-gprof dvi-gprof
19379 maybe-dvi-gprof:
19380 @if gprof
19381 maybe-dvi-gprof: dvi-gprof
19383 dvi-gprof: \
19384 configure-gprof
19385 @: $(MAKE); $(unstage)
19386 @[ -f ./gprof/Makefile ] || exit 0; \
19387 r=`${PWD_COMMAND}`; export r; \
19388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19389 $(HOST_EXPORTS) \
19390 for flag in $(EXTRA_HOST_FLAGS) ; do \
19391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19392 done; \
19393 echo "Doing dvi in gprof"; \
19394 (cd $(HOST_SUBDIR)/gprof && \
19395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19397 "RANLIB=$${RANLIB}" \
19398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19399 dvi) \
19400 || exit 1
19402 @endif gprof
19404 .PHONY: maybe-pdf-gprof pdf-gprof
19405 maybe-pdf-gprof:
19406 @if gprof
19407 maybe-pdf-gprof: pdf-gprof
19409 pdf-gprof: \
19410 configure-gprof
19411 @: $(MAKE); $(unstage)
19412 @[ -f ./gprof/Makefile ] || exit 0; \
19413 r=`${PWD_COMMAND}`; export r; \
19414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19415 $(HOST_EXPORTS) \
19416 for flag in $(EXTRA_HOST_FLAGS) ; do \
19417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19418 done; \
19419 echo "Doing pdf in gprof"; \
19420 (cd $(HOST_SUBDIR)/gprof && \
19421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19423 "RANLIB=$${RANLIB}" \
19424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19425 pdf) \
19426 || exit 1
19428 @endif gprof
19430 .PHONY: maybe-html-gprof html-gprof
19431 maybe-html-gprof:
19432 @if gprof
19433 maybe-html-gprof: html-gprof
19435 html-gprof: \
19436 configure-gprof
19437 @: $(MAKE); $(unstage)
19438 @[ -f ./gprof/Makefile ] || exit 0; \
19439 r=`${PWD_COMMAND}`; export r; \
19440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19441 $(HOST_EXPORTS) \
19442 for flag in $(EXTRA_HOST_FLAGS) ; do \
19443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19444 done; \
19445 echo "Doing html in gprof"; \
19446 (cd $(HOST_SUBDIR)/gprof && \
19447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19449 "RANLIB=$${RANLIB}" \
19450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19451 html) \
19452 || exit 1
19454 @endif gprof
19456 .PHONY: maybe-TAGS-gprof TAGS-gprof
19457 maybe-TAGS-gprof:
19458 @if gprof
19459 maybe-TAGS-gprof: TAGS-gprof
19461 TAGS-gprof: \
19462 configure-gprof
19463 @: $(MAKE); $(unstage)
19464 @[ -f ./gprof/Makefile ] || exit 0; \
19465 r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467 $(HOST_EXPORTS) \
19468 for flag in $(EXTRA_HOST_FLAGS) ; do \
19469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19470 done; \
19471 echo "Doing TAGS in gprof"; \
19472 (cd $(HOST_SUBDIR)/gprof && \
19473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19475 "RANLIB=$${RANLIB}" \
19476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19477 TAGS) \
19478 || exit 1
19480 @endif gprof
19482 .PHONY: maybe-install-info-gprof install-info-gprof
19483 maybe-install-info-gprof:
19484 @if gprof
19485 maybe-install-info-gprof: install-info-gprof
19487 install-info-gprof: \
19488 configure-gprof \
19489 info-gprof
19490 @: $(MAKE); $(unstage)
19491 @[ -f ./gprof/Makefile ] || exit 0; \
19492 r=`${PWD_COMMAND}`; export r; \
19493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19494 $(HOST_EXPORTS) \
19495 for flag in $(EXTRA_HOST_FLAGS) ; do \
19496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19497 done; \
19498 echo "Doing install-info in gprof"; \
19499 (cd $(HOST_SUBDIR)/gprof && \
19500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19502 "RANLIB=$${RANLIB}" \
19503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19504 install-info) \
19505 || exit 1
19507 @endif gprof
19509 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19510 maybe-install-pdf-gprof:
19511 @if gprof
19512 maybe-install-pdf-gprof: install-pdf-gprof
19514 install-pdf-gprof: \
19515 configure-gprof \
19516 pdf-gprof
19517 @: $(MAKE); $(unstage)
19518 @[ -f ./gprof/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 $(HOST_EXPORTS) \
19522 for flag in $(EXTRA_HOST_FLAGS) ; do \
19523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19524 done; \
19525 echo "Doing install-pdf in gprof"; \
19526 (cd $(HOST_SUBDIR)/gprof && \
19527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19529 "RANLIB=$${RANLIB}" \
19530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19531 install-pdf) \
19532 || exit 1
19534 @endif gprof
19536 .PHONY: maybe-install-html-gprof install-html-gprof
19537 maybe-install-html-gprof:
19538 @if gprof
19539 maybe-install-html-gprof: install-html-gprof
19541 install-html-gprof: \
19542 configure-gprof \
19543 html-gprof
19544 @: $(MAKE); $(unstage)
19545 @[ -f ./gprof/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 $(HOST_EXPORTS) \
19549 for flag in $(EXTRA_HOST_FLAGS) ; do \
19550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19551 done; \
19552 echo "Doing install-html in gprof"; \
19553 (cd $(HOST_SUBDIR)/gprof && \
19554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19556 "RANLIB=$${RANLIB}" \
19557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19558 install-html) \
19559 || exit 1
19561 @endif gprof
19563 .PHONY: maybe-installcheck-gprof installcheck-gprof
19564 maybe-installcheck-gprof:
19565 @if gprof
19566 maybe-installcheck-gprof: installcheck-gprof
19568 installcheck-gprof: \
19569 configure-gprof
19570 @: $(MAKE); $(unstage)
19571 @[ -f ./gprof/Makefile ] || exit 0; \
19572 r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 $(HOST_EXPORTS) \
19575 for flag in $(EXTRA_HOST_FLAGS) ; do \
19576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19577 done; \
19578 echo "Doing installcheck in gprof"; \
19579 (cd $(HOST_SUBDIR)/gprof && \
19580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19582 "RANLIB=$${RANLIB}" \
19583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19584 installcheck) \
19585 || exit 1
19587 @endif gprof
19589 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19590 maybe-mostlyclean-gprof:
19591 @if gprof
19592 maybe-mostlyclean-gprof: mostlyclean-gprof
19594 mostlyclean-gprof:
19595 @: $(MAKE); $(unstage)
19596 @[ -f ./gprof/Makefile ] || exit 0; \
19597 r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 $(HOST_EXPORTS) \
19600 for flag in $(EXTRA_HOST_FLAGS) ; do \
19601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19602 done; \
19603 echo "Doing mostlyclean in gprof"; \
19604 (cd $(HOST_SUBDIR)/gprof && \
19605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19607 "RANLIB=$${RANLIB}" \
19608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19609 mostlyclean) \
19610 || exit 1
19612 @endif gprof
19614 .PHONY: maybe-clean-gprof clean-gprof
19615 maybe-clean-gprof:
19616 @if gprof
19617 maybe-clean-gprof: clean-gprof
19619 clean-gprof:
19620 @: $(MAKE); $(unstage)
19621 @[ -f ./gprof/Makefile ] || exit 0; \
19622 r=`${PWD_COMMAND}`; export r; \
19623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19624 $(HOST_EXPORTS) \
19625 for flag in $(EXTRA_HOST_FLAGS) ; do \
19626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19627 done; \
19628 echo "Doing clean in gprof"; \
19629 (cd $(HOST_SUBDIR)/gprof && \
19630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19632 "RANLIB=$${RANLIB}" \
19633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19634 clean) \
19635 || exit 1
19637 @endif gprof
19639 .PHONY: maybe-distclean-gprof distclean-gprof
19640 maybe-distclean-gprof:
19641 @if gprof
19642 maybe-distclean-gprof: distclean-gprof
19644 distclean-gprof:
19645 @: $(MAKE); $(unstage)
19646 @[ -f ./gprof/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(HOST_EXPORTS) \
19650 for flag in $(EXTRA_HOST_FLAGS) ; do \
19651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19652 done; \
19653 echo "Doing distclean in gprof"; \
19654 (cd $(HOST_SUBDIR)/gprof && \
19655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19657 "RANLIB=$${RANLIB}" \
19658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19659 distclean) \
19660 || exit 1
19662 @endif gprof
19664 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19665 maybe-maintainer-clean-gprof:
19666 @if gprof
19667 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19669 maintainer-clean-gprof:
19670 @: $(MAKE); $(unstage)
19671 @[ -f ./gprof/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 $(HOST_EXPORTS) \
19675 for flag in $(EXTRA_HOST_FLAGS) ; do \
19676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19677 done; \
19678 echo "Doing maintainer-clean in gprof"; \
19679 (cd $(HOST_SUBDIR)/gprof && \
19680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19682 "RANLIB=$${RANLIB}" \
19683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19684 maintainer-clean) \
19685 || exit 1
19687 @endif gprof
19691 .PHONY: configure-intl maybe-configure-intl
19692 maybe-configure-intl:
19693 @if gcc-bootstrap
19694 configure-intl: stage_current
19695 @endif gcc-bootstrap
19696 @if intl
19697 maybe-configure-intl: configure-intl
19698 configure-intl:
19699 @r=`${PWD_COMMAND}`; export r; \
19700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19701 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19703 $(HOST_EXPORTS) \
19704 echo Configuring in $(HOST_SUBDIR)/intl; \
19705 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19706 case $(srcdir) in \
19707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19708 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19710 esac; \
19711 module_srcdir=intl; \
19712 $(SHELL) \
19713 $$s/$$module_srcdir/configure \
19714 --srcdir=$${topdir}/$$module_srcdir \
19715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19716 --target=${target_alias} \
19717 || exit 1
19718 @endif intl
19722 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19723 maybe-configure-stage1-intl:
19724 @if intl-bootstrap
19725 maybe-configure-stage1-intl: configure-stage1-intl
19726 configure-stage1-intl:
19727 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19729 @r=`${PWD_COMMAND}`; export r; \
19730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19731 TFLAGS="$(STAGE1_TFLAGS)"; \
19732 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19733 $(HOST_EXPORTS) \
19734 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19735 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19736 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19737 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19739 cd $(HOST_SUBDIR)/intl || exit 1; \
19740 case $(srcdir) in \
19741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19742 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19744 esac; \
19745 module_srcdir=intl; \
19746 $(SHELL) $$s/$$module_srcdir/configure \
19747 --srcdir=$${topdir}/$$module_srcdir \
19748 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19749 --target=${target_alias} \
19751 $(STAGE1_CONFIGURE_FLAGS)
19752 @endif intl-bootstrap
19754 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19755 maybe-configure-stage2-intl:
19756 @if intl-bootstrap
19757 maybe-configure-stage2-intl: configure-stage2-intl
19758 configure-stage2-intl:
19759 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19763 TFLAGS="$(STAGE2_TFLAGS)"; \
19764 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19765 $(HOST_EXPORTS) \
19766 $(POSTSTAGE1_HOST_EXPORTS) \
19767 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19768 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19769 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19770 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19772 cd $(HOST_SUBDIR)/intl || exit 1; \
19773 case $(srcdir) in \
19774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19775 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19777 esac; \
19778 module_srcdir=intl; \
19779 $(SHELL) $$s/$$module_srcdir/configure \
19780 --srcdir=$${topdir}/$$module_srcdir \
19781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19782 --target=${target_alias} \
19783 --with-build-libsubdir=$(HOST_SUBDIR) \
19784 $(STAGE2_CONFIGURE_FLAGS)
19785 @endif intl-bootstrap
19787 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19788 maybe-configure-stage3-intl:
19789 @if intl-bootstrap
19790 maybe-configure-stage3-intl: configure-stage3-intl
19791 configure-stage3-intl:
19792 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19794 @r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 TFLAGS="$(STAGE3_TFLAGS)"; \
19797 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19798 $(HOST_EXPORTS) \
19799 $(POSTSTAGE1_HOST_EXPORTS) \
19800 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19801 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19802 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19803 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19805 cd $(HOST_SUBDIR)/intl || exit 1; \
19806 case $(srcdir) in \
19807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19808 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19810 esac; \
19811 module_srcdir=intl; \
19812 $(SHELL) $$s/$$module_srcdir/configure \
19813 --srcdir=$${topdir}/$$module_srcdir \
19814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19815 --target=${target_alias} \
19816 --with-build-libsubdir=$(HOST_SUBDIR) \
19817 $(STAGE3_CONFIGURE_FLAGS)
19818 @endif intl-bootstrap
19820 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19821 maybe-configure-stage4-intl:
19822 @if intl-bootstrap
19823 maybe-configure-stage4-intl: configure-stage4-intl
19824 configure-stage4-intl:
19825 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19827 @r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 TFLAGS="$(STAGE4_TFLAGS)"; \
19830 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19831 $(HOST_EXPORTS) \
19832 $(POSTSTAGE1_HOST_EXPORTS) \
19833 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19834 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19835 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19836 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19838 cd $(HOST_SUBDIR)/intl || exit 1; \
19839 case $(srcdir) in \
19840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19841 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19843 esac; \
19844 module_srcdir=intl; \
19845 $(SHELL) $$s/$$module_srcdir/configure \
19846 --srcdir=$${topdir}/$$module_srcdir \
19847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19848 --target=${target_alias} \
19849 --with-build-libsubdir=$(HOST_SUBDIR) \
19850 $(STAGE4_CONFIGURE_FLAGS)
19851 @endif intl-bootstrap
19853 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19854 maybe-configure-stageprofile-intl:
19855 @if intl-bootstrap
19856 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19857 configure-stageprofile-intl:
19858 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19860 @r=`${PWD_COMMAND}`; export r; \
19861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19862 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19863 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19864 $(HOST_EXPORTS) \
19865 $(POSTSTAGE1_HOST_EXPORTS) \
19866 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19867 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19868 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19869 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19871 cd $(HOST_SUBDIR)/intl || exit 1; \
19872 case $(srcdir) in \
19873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19874 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19876 esac; \
19877 module_srcdir=intl; \
19878 $(SHELL) $$s/$$module_srcdir/configure \
19879 --srcdir=$${topdir}/$$module_srcdir \
19880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19881 --target=${target_alias} \
19882 --with-build-libsubdir=$(HOST_SUBDIR) \
19883 $(STAGEprofile_CONFIGURE_FLAGS)
19884 @endif intl-bootstrap
19886 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19887 maybe-configure-stagetrain-intl:
19888 @if intl-bootstrap
19889 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19890 configure-stagetrain-intl:
19891 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19893 @r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19896 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19897 $(HOST_EXPORTS) \
19898 $(POSTSTAGE1_HOST_EXPORTS) \
19899 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19900 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19901 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19902 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19904 cd $(HOST_SUBDIR)/intl || exit 1; \
19905 case $(srcdir) in \
19906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19907 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19909 esac; \
19910 module_srcdir=intl; \
19911 $(SHELL) $$s/$$module_srcdir/configure \
19912 --srcdir=$${topdir}/$$module_srcdir \
19913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19914 --target=${target_alias} \
19915 --with-build-libsubdir=$(HOST_SUBDIR) \
19916 $(STAGEtrain_CONFIGURE_FLAGS)
19917 @endif intl-bootstrap
19919 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19920 maybe-configure-stagefeedback-intl:
19921 @if intl-bootstrap
19922 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19923 configure-stagefeedback-intl:
19924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19926 @r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19929 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19930 $(HOST_EXPORTS) \
19931 $(POSTSTAGE1_HOST_EXPORTS) \
19932 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19933 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19934 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19935 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19937 cd $(HOST_SUBDIR)/intl || exit 1; \
19938 case $(srcdir) in \
19939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19940 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19942 esac; \
19943 module_srcdir=intl; \
19944 $(SHELL) $$s/$$module_srcdir/configure \
19945 --srcdir=$${topdir}/$$module_srcdir \
19946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19947 --target=${target_alias} \
19948 --with-build-libsubdir=$(HOST_SUBDIR) \
19949 $(STAGEfeedback_CONFIGURE_FLAGS)
19950 @endif intl-bootstrap
19952 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19953 maybe-configure-stageautoprofile-intl:
19954 @if intl-bootstrap
19955 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19956 configure-stageautoprofile-intl:
19957 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19959 @r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19961 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19962 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19963 $(HOST_EXPORTS) \
19964 $(POSTSTAGE1_HOST_EXPORTS) \
19965 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19966 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19967 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19968 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19970 cd $(HOST_SUBDIR)/intl || exit 1; \
19971 case $(srcdir) in \
19972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19973 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19975 esac; \
19976 module_srcdir=intl; \
19977 $(SHELL) $$s/$$module_srcdir/configure \
19978 --srcdir=$${topdir}/$$module_srcdir \
19979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19980 --target=${target_alias} \
19981 --with-build-libsubdir=$(HOST_SUBDIR) \
19982 $(STAGEautoprofile_CONFIGURE_FLAGS)
19983 @endif intl-bootstrap
19985 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19986 maybe-configure-stageautofeedback-intl:
19987 @if intl-bootstrap
19988 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19989 configure-stageautofeedback-intl:
19990 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19991 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19992 @r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19995 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19996 $(HOST_EXPORTS) \
19997 $(POSTSTAGE1_HOST_EXPORTS) \
19998 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19999 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20000 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20001 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
20002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20003 cd $(HOST_SUBDIR)/intl || exit 1; \
20004 case $(srcdir) in \
20005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20006 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20008 esac; \
20009 module_srcdir=intl; \
20010 $(SHELL) $$s/$$module_srcdir/configure \
20011 --srcdir=$${topdir}/$$module_srcdir \
20012 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20013 --target=${target_alias} \
20014 --with-build-libsubdir=$(HOST_SUBDIR) \
20015 $(STAGEautofeedback_CONFIGURE_FLAGS)
20016 @endif intl-bootstrap
20022 .PHONY: all-intl maybe-all-intl
20023 maybe-all-intl:
20024 @if gcc-bootstrap
20025 all-intl: stage_current
20026 @endif gcc-bootstrap
20027 @if intl
20028 TARGET-intl=all
20029 maybe-all-intl: all-intl
20030 all-intl: configure-intl
20031 @r=`${PWD_COMMAND}`; export r; \
20032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20033 $(HOST_EXPORTS) \
20034 (cd $(HOST_SUBDIR)/intl && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20036 $(TARGET-intl))
20037 @endif intl
20041 .PHONY: all-stage1-intl maybe-all-stage1-intl
20042 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
20043 maybe-all-stage1-intl:
20044 maybe-clean-stage1-intl:
20045 @if intl-bootstrap
20046 maybe-all-stage1-intl: all-stage1-intl
20047 all-stage1: all-stage1-intl
20048 TARGET-stage1-intl = $(TARGET-intl)
20049 all-stage1-intl: configure-stage1-intl
20050 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20051 @r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 TFLAGS="$(STAGE1_TFLAGS)"; \
20054 $(HOST_EXPORTS) \
20055 cd $(HOST_SUBDIR)/intl && \
20057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20058 CFLAGS="$(STAGE1_CFLAGS)" \
20059 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20060 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20061 LIBCFLAGS="$(LIBCFLAGS)" \
20062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20065 $(EXTRA_HOST_FLAGS) \
20066 $(STAGE1_FLAGS_TO_PASS) \
20067 TFLAGS="$(STAGE1_TFLAGS)" \
20068 $(TARGET-stage1-intl)
20070 maybe-clean-stage1-intl: clean-stage1-intl
20071 clean-stage1: clean-stage1-intl
20072 clean-stage1-intl:
20073 @if [ $(current_stage) = stage1 ]; then \
20074 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20075 else \
20076 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
20077 $(MAKE) stage1-start; \
20078 fi; \
20079 cd $(HOST_SUBDIR)/intl && \
20080 $(MAKE) $(EXTRA_HOST_FLAGS) \
20081 $(STAGE1_FLAGS_TO_PASS) clean
20082 @endif intl-bootstrap
20085 .PHONY: all-stage2-intl maybe-all-stage2-intl
20086 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
20087 maybe-all-stage2-intl:
20088 maybe-clean-stage2-intl:
20089 @if intl-bootstrap
20090 maybe-all-stage2-intl: all-stage2-intl
20091 all-stage2: all-stage2-intl
20092 TARGET-stage2-intl = $(TARGET-intl)
20093 all-stage2-intl: configure-stage2-intl
20094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20095 @r=`${PWD_COMMAND}`; export r; \
20096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20097 TFLAGS="$(STAGE2_TFLAGS)"; \
20098 $(HOST_EXPORTS) \
20099 $(POSTSTAGE1_HOST_EXPORTS) \
20100 cd $(HOST_SUBDIR)/intl && \
20102 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20103 CFLAGS="$(STAGE2_CFLAGS)" \
20104 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20105 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20106 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20111 TFLAGS="$(STAGE2_TFLAGS)" \
20112 $(TARGET-stage2-intl)
20114 maybe-clean-stage2-intl: clean-stage2-intl
20115 clean-stage2: clean-stage2-intl
20116 clean-stage2-intl:
20117 @if [ $(current_stage) = stage2 ]; then \
20118 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20119 else \
20120 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
20121 $(MAKE) stage2-start; \
20122 fi; \
20123 cd $(HOST_SUBDIR)/intl && \
20124 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20125 @endif intl-bootstrap
20128 .PHONY: all-stage3-intl maybe-all-stage3-intl
20129 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
20130 maybe-all-stage3-intl:
20131 maybe-clean-stage3-intl:
20132 @if intl-bootstrap
20133 maybe-all-stage3-intl: all-stage3-intl
20134 all-stage3: all-stage3-intl
20135 TARGET-stage3-intl = $(TARGET-intl)
20136 all-stage3-intl: configure-stage3-intl
20137 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20138 @r=`${PWD_COMMAND}`; export r; \
20139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20140 TFLAGS="$(STAGE3_TFLAGS)"; \
20141 $(HOST_EXPORTS) \
20142 $(POSTSTAGE1_HOST_EXPORTS) \
20143 cd $(HOST_SUBDIR)/intl && \
20145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20146 CFLAGS="$(STAGE3_CFLAGS)" \
20147 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20148 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20149 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20150 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20151 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20152 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20153 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20154 TFLAGS="$(STAGE3_TFLAGS)" \
20155 $(TARGET-stage3-intl)
20157 maybe-clean-stage3-intl: clean-stage3-intl
20158 clean-stage3: clean-stage3-intl
20159 clean-stage3-intl:
20160 @if [ $(current_stage) = stage3 ]; then \
20161 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20162 else \
20163 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20164 $(MAKE) stage3-start; \
20165 fi; \
20166 cd $(HOST_SUBDIR)/intl && \
20167 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20168 @endif intl-bootstrap
20171 .PHONY: all-stage4-intl maybe-all-stage4-intl
20172 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20173 maybe-all-stage4-intl:
20174 maybe-clean-stage4-intl:
20175 @if intl-bootstrap
20176 maybe-all-stage4-intl: all-stage4-intl
20177 all-stage4: all-stage4-intl
20178 TARGET-stage4-intl = $(TARGET-intl)
20179 all-stage4-intl: configure-stage4-intl
20180 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20181 @r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 TFLAGS="$(STAGE4_TFLAGS)"; \
20184 $(HOST_EXPORTS) \
20185 $(POSTSTAGE1_HOST_EXPORTS) \
20186 cd $(HOST_SUBDIR)/intl && \
20188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20189 CFLAGS="$(STAGE4_CFLAGS)" \
20190 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20191 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20192 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20196 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20197 TFLAGS="$(STAGE4_TFLAGS)" \
20198 $(TARGET-stage4-intl)
20200 maybe-clean-stage4-intl: clean-stage4-intl
20201 clean-stage4: clean-stage4-intl
20202 clean-stage4-intl:
20203 @if [ $(current_stage) = stage4 ]; then \
20204 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20205 else \
20206 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20207 $(MAKE) stage4-start; \
20208 fi; \
20209 cd $(HOST_SUBDIR)/intl && \
20210 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20211 @endif intl-bootstrap
20214 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20215 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20216 maybe-all-stageprofile-intl:
20217 maybe-clean-stageprofile-intl:
20218 @if intl-bootstrap
20219 maybe-all-stageprofile-intl: all-stageprofile-intl
20220 all-stageprofile: all-stageprofile-intl
20221 TARGET-stageprofile-intl = $(TARGET-intl)
20222 all-stageprofile-intl: configure-stageprofile-intl
20223 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20224 @r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20227 $(HOST_EXPORTS) \
20228 $(POSTSTAGE1_HOST_EXPORTS) \
20229 cd $(HOST_SUBDIR)/intl && \
20231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20232 CFLAGS="$(STAGEprofile_CFLAGS)" \
20233 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20234 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20235 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20239 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20240 TFLAGS="$(STAGEprofile_TFLAGS)" \
20241 $(TARGET-stageprofile-intl)
20243 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20244 clean-stageprofile: clean-stageprofile-intl
20245 clean-stageprofile-intl:
20246 @if [ $(current_stage) = stageprofile ]; then \
20247 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20248 else \
20249 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20250 $(MAKE) stageprofile-start; \
20251 fi; \
20252 cd $(HOST_SUBDIR)/intl && \
20253 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20254 @endif intl-bootstrap
20257 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20258 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20259 maybe-all-stagetrain-intl:
20260 maybe-clean-stagetrain-intl:
20261 @if intl-bootstrap
20262 maybe-all-stagetrain-intl: all-stagetrain-intl
20263 all-stagetrain: all-stagetrain-intl
20264 TARGET-stagetrain-intl = $(TARGET-intl)
20265 all-stagetrain-intl: configure-stagetrain-intl
20266 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20267 @r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20270 $(HOST_EXPORTS) \
20271 $(POSTSTAGE1_HOST_EXPORTS) \
20272 cd $(HOST_SUBDIR)/intl && \
20274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20275 CFLAGS="$(STAGEtrain_CFLAGS)" \
20276 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
20277 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20278 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20283 TFLAGS="$(STAGEtrain_TFLAGS)" \
20284 $(TARGET-stagetrain-intl)
20286 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20287 clean-stagetrain: clean-stagetrain-intl
20288 clean-stagetrain-intl:
20289 @if [ $(current_stage) = stagetrain ]; then \
20290 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20291 else \
20292 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20293 $(MAKE) stagetrain-start; \
20294 fi; \
20295 cd $(HOST_SUBDIR)/intl && \
20296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20297 @endif intl-bootstrap
20300 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20301 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20302 maybe-all-stagefeedback-intl:
20303 maybe-clean-stagefeedback-intl:
20304 @if intl-bootstrap
20305 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20306 all-stagefeedback: all-stagefeedback-intl
20307 TARGET-stagefeedback-intl = $(TARGET-intl)
20308 all-stagefeedback-intl: configure-stagefeedback-intl
20309 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20310 @r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20313 $(HOST_EXPORTS) \
20314 $(POSTSTAGE1_HOST_EXPORTS) \
20315 cd $(HOST_SUBDIR)/intl && \
20317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20318 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20319 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
20320 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20321 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20326 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20327 $(TARGET-stagefeedback-intl)
20329 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20330 clean-stagefeedback: clean-stagefeedback-intl
20331 clean-stagefeedback-intl:
20332 @if [ $(current_stage) = stagefeedback ]; then \
20333 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20334 else \
20335 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20336 $(MAKE) stagefeedback-start; \
20337 fi; \
20338 cd $(HOST_SUBDIR)/intl && \
20339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20340 @endif intl-bootstrap
20343 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20344 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20345 maybe-all-stageautoprofile-intl:
20346 maybe-clean-stageautoprofile-intl:
20347 @if intl-bootstrap
20348 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20349 all-stageautoprofile: all-stageautoprofile-intl
20350 TARGET-stageautoprofile-intl = $(TARGET-intl)
20351 all-stageautoprofile-intl: configure-stageautoprofile-intl
20352 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20353 @r=`${PWD_COMMAND}`; export r; \
20354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20355 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20356 $(HOST_EXPORTS) \
20357 $(POSTSTAGE1_HOST_EXPORTS) \
20358 cd $(HOST_SUBDIR)/intl && \
20359 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20361 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20362 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
20363 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20364 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20369 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20370 $(TARGET-stageautoprofile-intl)
20372 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20373 clean-stageautoprofile: clean-stageautoprofile-intl
20374 clean-stageautoprofile-intl:
20375 @if [ $(current_stage) = stageautoprofile ]; then \
20376 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20377 else \
20378 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20379 $(MAKE) stageautoprofile-start; \
20380 fi; \
20381 cd $(HOST_SUBDIR)/intl && \
20382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20383 @endif intl-bootstrap
20386 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20387 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20388 maybe-all-stageautofeedback-intl:
20389 maybe-clean-stageautofeedback-intl:
20390 @if intl-bootstrap
20391 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20392 all-stageautofeedback: all-stageautofeedback-intl
20393 TARGET-stageautofeedback-intl = $(TARGET-intl)
20394 all-stageautofeedback-intl: configure-stageautofeedback-intl
20395 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20396 @r=`${PWD_COMMAND}`; export r; \
20397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20398 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20399 $(HOST_EXPORTS) \
20400 $(POSTSTAGE1_HOST_EXPORTS) \
20401 cd $(HOST_SUBDIR)/intl && \
20403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20404 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20405 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
20406 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20407 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20411 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20412 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20413 $(TARGET-stageautofeedback-intl)
20415 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20416 clean-stageautofeedback: clean-stageautofeedback-intl
20417 clean-stageautofeedback-intl:
20418 @if [ $(current_stage) = stageautofeedback ]; then \
20419 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20420 else \
20421 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20422 $(MAKE) stageautofeedback-start; \
20423 fi; \
20424 cd $(HOST_SUBDIR)/intl && \
20425 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20426 @endif intl-bootstrap
20432 .PHONY: check-intl maybe-check-intl
20433 maybe-check-intl:
20434 @if intl
20435 maybe-check-intl: check-intl
20437 check-intl:
20438 @: $(MAKE); $(unstage)
20439 @r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20442 (cd $(HOST_SUBDIR)/intl && \
20443 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20445 @endif intl
20447 .PHONY: install-intl maybe-install-intl
20448 maybe-install-intl:
20449 @if intl
20450 maybe-install-intl: install-intl
20452 install-intl: installdirs
20453 @: $(MAKE); $(unstage)
20454 @r=`${PWD_COMMAND}`; export r; \
20455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20456 $(HOST_EXPORTS) \
20457 (cd $(HOST_SUBDIR)/intl && \
20458 $(MAKE) $(FLAGS_TO_PASS) install)
20460 @endif intl
20462 .PHONY: install-strip-intl maybe-install-strip-intl
20463 maybe-install-strip-intl:
20464 @if intl
20465 maybe-install-strip-intl: install-strip-intl
20467 install-strip-intl: installdirs
20468 @: $(MAKE); $(unstage)
20469 @r=`${PWD_COMMAND}`; export r; \
20470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20471 $(HOST_EXPORTS) \
20472 (cd $(HOST_SUBDIR)/intl && \
20473 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20475 @endif intl
20477 # Other targets (info, dvi, pdf, etc.)
20479 .PHONY: maybe-info-intl info-intl
20480 maybe-info-intl:
20481 @if intl
20482 maybe-info-intl: info-intl
20484 info-intl: \
20485 configure-intl
20486 @[ -f ./intl/Makefile ] || exit 0; \
20487 r=`${PWD_COMMAND}`; export r; \
20488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20489 $(HOST_EXPORTS) \
20490 for flag in $(EXTRA_HOST_FLAGS) ; do \
20491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20492 done; \
20493 echo "Doing info in intl"; \
20494 (cd $(HOST_SUBDIR)/intl && \
20495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20497 "RANLIB=$${RANLIB}" \
20498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20499 info) \
20500 || exit 1
20502 @endif intl
20504 .PHONY: maybe-dvi-intl dvi-intl
20505 maybe-dvi-intl:
20506 @if intl
20507 maybe-dvi-intl: dvi-intl
20509 dvi-intl: \
20510 configure-intl
20511 @[ -f ./intl/Makefile ] || exit 0; \
20512 r=`${PWD_COMMAND}`; export r; \
20513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20514 $(HOST_EXPORTS) \
20515 for flag in $(EXTRA_HOST_FLAGS) ; do \
20516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20517 done; \
20518 echo "Doing dvi in intl"; \
20519 (cd $(HOST_SUBDIR)/intl && \
20520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20522 "RANLIB=$${RANLIB}" \
20523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20524 dvi) \
20525 || exit 1
20527 @endif intl
20529 .PHONY: maybe-pdf-intl pdf-intl
20530 maybe-pdf-intl:
20531 @if intl
20532 maybe-pdf-intl: pdf-intl
20534 pdf-intl: \
20535 configure-intl
20536 @[ -f ./intl/Makefile ] || exit 0; \
20537 r=`${PWD_COMMAND}`; export r; \
20538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20539 $(HOST_EXPORTS) \
20540 for flag in $(EXTRA_HOST_FLAGS) ; do \
20541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20542 done; \
20543 echo "Doing pdf in intl"; \
20544 (cd $(HOST_SUBDIR)/intl && \
20545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20547 "RANLIB=$${RANLIB}" \
20548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20549 pdf) \
20550 || exit 1
20552 @endif intl
20554 .PHONY: maybe-html-intl html-intl
20555 maybe-html-intl:
20556 @if intl
20557 maybe-html-intl: html-intl
20559 html-intl: \
20560 configure-intl
20561 @[ -f ./intl/Makefile ] || exit 0; \
20562 r=`${PWD_COMMAND}`; export r; \
20563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20564 $(HOST_EXPORTS) \
20565 for flag in $(EXTRA_HOST_FLAGS) ; do \
20566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20567 done; \
20568 echo "Doing html in intl"; \
20569 (cd $(HOST_SUBDIR)/intl && \
20570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20572 "RANLIB=$${RANLIB}" \
20573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20574 html) \
20575 || exit 1
20577 @endif intl
20579 .PHONY: maybe-TAGS-intl TAGS-intl
20580 maybe-TAGS-intl:
20581 @if intl
20582 maybe-TAGS-intl: TAGS-intl
20584 TAGS-intl: \
20585 configure-intl
20586 @[ -f ./intl/Makefile ] || exit 0; \
20587 r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 $(HOST_EXPORTS) \
20590 for flag in $(EXTRA_HOST_FLAGS) ; do \
20591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20592 done; \
20593 echo "Doing TAGS in intl"; \
20594 (cd $(HOST_SUBDIR)/intl && \
20595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20597 "RANLIB=$${RANLIB}" \
20598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20599 TAGS) \
20600 || exit 1
20602 @endif intl
20604 .PHONY: maybe-install-info-intl install-info-intl
20605 maybe-install-info-intl:
20606 @if intl
20607 maybe-install-info-intl: install-info-intl
20609 install-info-intl: \
20610 configure-intl \
20611 info-intl
20612 @[ -f ./intl/Makefile ] || exit 0; \
20613 r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615 $(HOST_EXPORTS) \
20616 for flag in $(EXTRA_HOST_FLAGS) ; do \
20617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20618 done; \
20619 echo "Doing install-info in intl"; \
20620 (cd $(HOST_SUBDIR)/intl && \
20621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20623 "RANLIB=$${RANLIB}" \
20624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20625 install-info) \
20626 || exit 1
20628 @endif intl
20630 .PHONY: maybe-install-pdf-intl install-pdf-intl
20631 maybe-install-pdf-intl:
20632 @if intl
20633 maybe-install-pdf-intl: install-pdf-intl
20635 install-pdf-intl: \
20636 configure-intl \
20637 pdf-intl
20638 @[ -f ./intl/Makefile ] || exit 0; \
20639 r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 $(HOST_EXPORTS) \
20642 for flag in $(EXTRA_HOST_FLAGS) ; do \
20643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20644 done; \
20645 echo "Doing install-pdf in intl"; \
20646 (cd $(HOST_SUBDIR)/intl && \
20647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20649 "RANLIB=$${RANLIB}" \
20650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20651 install-pdf) \
20652 || exit 1
20654 @endif intl
20656 .PHONY: maybe-install-html-intl install-html-intl
20657 maybe-install-html-intl:
20658 @if intl
20659 maybe-install-html-intl: install-html-intl
20661 install-html-intl: \
20662 configure-intl \
20663 html-intl
20664 @[ -f ./intl/Makefile ] || exit 0; \
20665 r=`${PWD_COMMAND}`; export r; \
20666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20667 $(HOST_EXPORTS) \
20668 for flag in $(EXTRA_HOST_FLAGS) ; do \
20669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20670 done; \
20671 echo "Doing install-html in intl"; \
20672 (cd $(HOST_SUBDIR)/intl && \
20673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20675 "RANLIB=$${RANLIB}" \
20676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20677 install-html) \
20678 || exit 1
20680 @endif intl
20682 .PHONY: maybe-installcheck-intl installcheck-intl
20683 maybe-installcheck-intl:
20684 @if intl
20685 maybe-installcheck-intl: installcheck-intl
20687 installcheck-intl: \
20688 configure-intl
20689 @[ -f ./intl/Makefile ] || exit 0; \
20690 r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692 $(HOST_EXPORTS) \
20693 for flag in $(EXTRA_HOST_FLAGS) ; do \
20694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20695 done; \
20696 echo "Doing installcheck in intl"; \
20697 (cd $(HOST_SUBDIR)/intl && \
20698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20700 "RANLIB=$${RANLIB}" \
20701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20702 installcheck) \
20703 || exit 1
20705 @endif intl
20707 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20708 maybe-mostlyclean-intl:
20709 @if intl
20710 maybe-mostlyclean-intl: mostlyclean-intl
20712 mostlyclean-intl:
20713 @[ -f ./intl/Makefile ] || exit 0; \
20714 r=`${PWD_COMMAND}`; export r; \
20715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20716 $(HOST_EXPORTS) \
20717 for flag in $(EXTRA_HOST_FLAGS) ; do \
20718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20719 done; \
20720 echo "Doing mostlyclean in intl"; \
20721 (cd $(HOST_SUBDIR)/intl && \
20722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20724 "RANLIB=$${RANLIB}" \
20725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20726 mostlyclean) \
20727 || exit 1
20729 @endif intl
20731 .PHONY: maybe-clean-intl clean-intl
20732 maybe-clean-intl:
20733 @if intl
20734 maybe-clean-intl: clean-intl
20736 clean-intl:
20737 @[ -f ./intl/Makefile ] || exit 0; \
20738 r=`${PWD_COMMAND}`; export r; \
20739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20740 $(HOST_EXPORTS) \
20741 for flag in $(EXTRA_HOST_FLAGS) ; do \
20742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20743 done; \
20744 echo "Doing clean in intl"; \
20745 (cd $(HOST_SUBDIR)/intl && \
20746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20748 "RANLIB=$${RANLIB}" \
20749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20750 clean) \
20751 || exit 1
20753 @endif intl
20755 .PHONY: maybe-distclean-intl distclean-intl
20756 maybe-distclean-intl:
20757 @if intl
20758 maybe-distclean-intl: distclean-intl
20760 distclean-intl:
20761 @[ -f ./intl/Makefile ] || exit 0; \
20762 r=`${PWD_COMMAND}`; export r; \
20763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20764 $(HOST_EXPORTS) \
20765 for flag in $(EXTRA_HOST_FLAGS) ; do \
20766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20767 done; \
20768 echo "Doing distclean in intl"; \
20769 (cd $(HOST_SUBDIR)/intl && \
20770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20772 "RANLIB=$${RANLIB}" \
20773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20774 distclean) \
20775 || exit 1
20777 @endif intl
20779 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20780 maybe-maintainer-clean-intl:
20781 @if intl
20782 maybe-maintainer-clean-intl: maintainer-clean-intl
20784 maintainer-clean-intl:
20785 @[ -f ./intl/Makefile ] || exit 0; \
20786 r=`${PWD_COMMAND}`; export r; \
20787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 $(HOST_EXPORTS) \
20789 for flag in $(EXTRA_HOST_FLAGS) ; do \
20790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20791 done; \
20792 echo "Doing maintainer-clean in intl"; \
20793 (cd $(HOST_SUBDIR)/intl && \
20794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20796 "RANLIB=$${RANLIB}" \
20797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20798 maintainer-clean) \
20799 || exit 1
20801 @endif intl
20805 .PHONY: configure-tcl maybe-configure-tcl
20806 maybe-configure-tcl:
20807 @if gcc-bootstrap
20808 configure-tcl: stage_current
20809 @endif gcc-bootstrap
20810 @if tcl
20811 maybe-configure-tcl: configure-tcl
20812 configure-tcl:
20813 @: $(MAKE); $(unstage)
20814 @r=`${PWD_COMMAND}`; export r; \
20815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20816 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20818 $(HOST_EXPORTS) \
20819 echo Configuring in $(HOST_SUBDIR)/tcl; \
20820 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20821 case $(srcdir) in \
20822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20823 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20825 esac; \
20826 module_srcdir=tcl; \
20827 $(SHELL) \
20828 $$s/$$module_srcdir/configure \
20829 --srcdir=$${topdir}/$$module_srcdir \
20830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20831 --target=${target_alias} \
20832 || exit 1
20833 @endif tcl
20839 .PHONY: all-tcl maybe-all-tcl
20840 maybe-all-tcl:
20841 @if gcc-bootstrap
20842 all-tcl: stage_current
20843 @endif gcc-bootstrap
20844 @if tcl
20845 TARGET-tcl=all
20846 maybe-all-tcl: all-tcl
20847 all-tcl: configure-tcl
20848 @: $(MAKE); $(unstage)
20849 @r=`${PWD_COMMAND}`; export r; \
20850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20851 $(HOST_EXPORTS) \
20852 (cd $(HOST_SUBDIR)/tcl && \
20853 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20854 $(TARGET-tcl))
20855 @endif tcl
20860 .PHONY: check-tcl maybe-check-tcl
20861 maybe-check-tcl:
20862 @if tcl
20863 maybe-check-tcl: check-tcl
20865 check-tcl:
20866 @: $(MAKE); $(unstage)
20867 @r=`${PWD_COMMAND}`; export r; \
20868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20869 $(HOST_EXPORTS) \
20870 (cd $(HOST_SUBDIR)/tcl && \
20871 $(MAKE) $(FLAGS_TO_PASS) check)
20873 @endif tcl
20875 .PHONY: install-tcl maybe-install-tcl
20876 maybe-install-tcl:
20877 @if tcl
20878 maybe-install-tcl: install-tcl
20880 install-tcl: installdirs
20881 @: $(MAKE); $(unstage)
20882 @r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 (cd $(HOST_SUBDIR)/tcl && \
20886 $(MAKE) $(FLAGS_TO_PASS) install)
20888 @endif tcl
20890 .PHONY: install-strip-tcl maybe-install-strip-tcl
20891 maybe-install-strip-tcl:
20892 @if tcl
20893 maybe-install-strip-tcl: install-strip-tcl
20895 install-strip-tcl: installdirs
20896 @: $(MAKE); $(unstage)
20897 @r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 (cd $(HOST_SUBDIR)/tcl && \
20901 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20903 @endif tcl
20905 # Other targets (info, dvi, pdf, etc.)
20907 .PHONY: maybe-info-tcl info-tcl
20908 maybe-info-tcl:
20909 @if tcl
20910 maybe-info-tcl: info-tcl
20912 info-tcl: \
20913 configure-tcl
20914 @: $(MAKE); $(unstage)
20915 @[ -f ./tcl/Makefile ] || exit 0; \
20916 r=`${PWD_COMMAND}`; export r; \
20917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20918 $(HOST_EXPORTS) \
20919 for flag in $(EXTRA_HOST_FLAGS) ; do \
20920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20921 done; \
20922 echo "Doing info in tcl"; \
20923 (cd $(HOST_SUBDIR)/tcl && \
20924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20926 "RANLIB=$${RANLIB}" \
20927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20928 info) \
20929 || exit 1
20931 @endif tcl
20933 .PHONY: maybe-dvi-tcl dvi-tcl
20934 maybe-dvi-tcl:
20935 @if tcl
20936 maybe-dvi-tcl: dvi-tcl
20938 dvi-tcl: \
20939 configure-tcl
20940 @: $(MAKE); $(unstage)
20941 @[ -f ./tcl/Makefile ] || exit 0; \
20942 r=`${PWD_COMMAND}`; export r; \
20943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20944 $(HOST_EXPORTS) \
20945 for flag in $(EXTRA_HOST_FLAGS) ; do \
20946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20947 done; \
20948 echo "Doing dvi in tcl"; \
20949 (cd $(HOST_SUBDIR)/tcl && \
20950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20952 "RANLIB=$${RANLIB}" \
20953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20954 dvi) \
20955 || exit 1
20957 @endif tcl
20959 .PHONY: maybe-pdf-tcl pdf-tcl
20960 maybe-pdf-tcl:
20961 @if tcl
20962 maybe-pdf-tcl: pdf-tcl
20964 pdf-tcl: \
20965 configure-tcl
20966 @: $(MAKE); $(unstage)
20967 @[ -f ./tcl/Makefile ] || exit 0; \
20968 r=`${PWD_COMMAND}`; export r; \
20969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20970 $(HOST_EXPORTS) \
20971 for flag in $(EXTRA_HOST_FLAGS) ; do \
20972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20973 done; \
20974 echo "Doing pdf in tcl"; \
20975 (cd $(HOST_SUBDIR)/tcl && \
20976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20978 "RANLIB=$${RANLIB}" \
20979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20980 pdf) \
20981 || exit 1
20983 @endif tcl
20985 .PHONY: maybe-html-tcl html-tcl
20986 maybe-html-tcl:
20987 @if tcl
20988 maybe-html-tcl: html-tcl
20990 html-tcl: \
20991 configure-tcl
20992 @: $(MAKE); $(unstage)
20993 @[ -f ./tcl/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing html in tcl"; \
21001 (cd $(HOST_SUBDIR)/tcl && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21006 html) \
21007 || exit 1
21009 @endif tcl
21011 .PHONY: maybe-TAGS-tcl TAGS-tcl
21012 maybe-TAGS-tcl:
21013 @if tcl
21014 maybe-TAGS-tcl: TAGS-tcl
21016 TAGS-tcl: \
21017 configure-tcl
21018 @: $(MAKE); $(unstage)
21019 @[ -f ./tcl/Makefile ] || exit 0; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21022 $(HOST_EXPORTS) \
21023 for flag in $(EXTRA_HOST_FLAGS) ; do \
21024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21025 done; \
21026 echo "Doing TAGS in tcl"; \
21027 (cd $(HOST_SUBDIR)/tcl && \
21028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21030 "RANLIB=$${RANLIB}" \
21031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21032 TAGS) \
21033 || exit 1
21035 @endif tcl
21037 .PHONY: maybe-install-info-tcl install-info-tcl
21038 maybe-install-info-tcl:
21039 @if tcl
21040 maybe-install-info-tcl: install-info-tcl
21042 install-info-tcl: \
21043 configure-tcl \
21044 info-tcl
21045 @: $(MAKE); $(unstage)
21046 @[ -f ./tcl/Makefile ] || exit 0; \
21047 r=`${PWD_COMMAND}`; export r; \
21048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21049 $(HOST_EXPORTS) \
21050 for flag in $(EXTRA_HOST_FLAGS) ; do \
21051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21052 done; \
21053 echo "Doing install-info in tcl"; \
21054 (cd $(HOST_SUBDIR)/tcl && \
21055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21057 "RANLIB=$${RANLIB}" \
21058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21059 install-info) \
21060 || exit 1
21062 @endif tcl
21064 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21065 maybe-install-pdf-tcl:
21066 @if tcl
21067 maybe-install-pdf-tcl: install-pdf-tcl
21069 install-pdf-tcl: \
21070 configure-tcl \
21071 pdf-tcl
21072 @: $(MAKE); $(unstage)
21073 @[ -f ./tcl/Makefile ] || exit 0; \
21074 r=`${PWD_COMMAND}`; export r; \
21075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21076 $(HOST_EXPORTS) \
21077 for flag in $(EXTRA_HOST_FLAGS) ; do \
21078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21079 done; \
21080 echo "Doing install-pdf in tcl"; \
21081 (cd $(HOST_SUBDIR)/tcl && \
21082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21084 "RANLIB=$${RANLIB}" \
21085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21086 install-pdf) \
21087 || exit 1
21089 @endif tcl
21091 .PHONY: maybe-install-html-tcl install-html-tcl
21092 maybe-install-html-tcl:
21093 @if tcl
21094 maybe-install-html-tcl: install-html-tcl
21096 install-html-tcl: \
21097 configure-tcl \
21098 html-tcl
21099 @: $(MAKE); $(unstage)
21100 @[ -f ./tcl/Makefile ] || exit 0; \
21101 r=`${PWD_COMMAND}`; export r; \
21102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21103 $(HOST_EXPORTS) \
21104 for flag in $(EXTRA_HOST_FLAGS) ; do \
21105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21106 done; \
21107 echo "Doing install-html in tcl"; \
21108 (cd $(HOST_SUBDIR)/tcl && \
21109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21111 "RANLIB=$${RANLIB}" \
21112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21113 install-html) \
21114 || exit 1
21116 @endif tcl
21118 .PHONY: maybe-installcheck-tcl installcheck-tcl
21119 maybe-installcheck-tcl:
21120 @if tcl
21121 maybe-installcheck-tcl: installcheck-tcl
21123 installcheck-tcl: \
21124 configure-tcl
21125 @: $(MAKE); $(unstage)
21126 @[ -f ./tcl/Makefile ] || exit 0; \
21127 r=`${PWD_COMMAND}`; export r; \
21128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 $(HOST_EXPORTS) \
21130 for flag in $(EXTRA_HOST_FLAGS) ; do \
21131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21132 done; \
21133 echo "Doing installcheck in tcl"; \
21134 (cd $(HOST_SUBDIR)/tcl && \
21135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21137 "RANLIB=$${RANLIB}" \
21138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21139 installcheck) \
21140 || exit 1
21142 @endif tcl
21144 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21145 maybe-mostlyclean-tcl:
21146 @if tcl
21147 maybe-mostlyclean-tcl: mostlyclean-tcl
21149 # tcl doesn't support mostlyclean.
21150 mostlyclean-tcl:
21152 @endif tcl
21154 .PHONY: maybe-clean-tcl clean-tcl
21155 maybe-clean-tcl:
21156 @if tcl
21157 maybe-clean-tcl: clean-tcl
21159 clean-tcl:
21160 @: $(MAKE); $(unstage)
21161 @[ -f ./tcl/Makefile ] || exit 0; \
21162 r=`${PWD_COMMAND}`; export r; \
21163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21164 $(HOST_EXPORTS) \
21165 for flag in $(EXTRA_HOST_FLAGS) ; do \
21166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21167 done; \
21168 echo "Doing clean in tcl"; \
21169 (cd $(HOST_SUBDIR)/tcl && \
21170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21172 "RANLIB=$${RANLIB}" \
21173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21174 clean) \
21175 || exit 1
21177 @endif tcl
21179 .PHONY: maybe-distclean-tcl distclean-tcl
21180 maybe-distclean-tcl:
21181 @if tcl
21182 maybe-distclean-tcl: distclean-tcl
21184 distclean-tcl:
21185 @: $(MAKE); $(unstage)
21186 @[ -f ./tcl/Makefile ] || exit 0; \
21187 r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) \
21190 for flag in $(EXTRA_HOST_FLAGS) ; do \
21191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21192 done; \
21193 echo "Doing distclean in tcl"; \
21194 (cd $(HOST_SUBDIR)/tcl && \
21195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21197 "RANLIB=$${RANLIB}" \
21198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21199 distclean) \
21200 || exit 1
21202 @endif tcl
21204 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21205 maybe-maintainer-clean-tcl:
21206 @if tcl
21207 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21209 maintainer-clean-tcl:
21210 @: $(MAKE); $(unstage)
21211 @[ -f ./tcl/Makefile ] || exit 0; \
21212 r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 $(HOST_EXPORTS) \
21215 for flag in $(EXTRA_HOST_FLAGS) ; do \
21216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21217 done; \
21218 echo "Doing maintainer-clean in tcl"; \
21219 (cd $(HOST_SUBDIR)/tcl && \
21220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21222 "RANLIB=$${RANLIB}" \
21223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21224 maintainer-clean) \
21225 || exit 1
21227 @endif tcl
21231 .PHONY: configure-itcl maybe-configure-itcl
21232 maybe-configure-itcl:
21233 @if gcc-bootstrap
21234 configure-itcl: stage_current
21235 @endif gcc-bootstrap
21236 @if itcl
21237 maybe-configure-itcl: configure-itcl
21238 configure-itcl:
21239 @: $(MAKE); $(unstage)
21240 @r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21244 $(HOST_EXPORTS) \
21245 echo Configuring in $(HOST_SUBDIR)/itcl; \
21246 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21247 case $(srcdir) in \
21248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21249 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21251 esac; \
21252 module_srcdir=itcl; \
21253 $(SHELL) \
21254 $$s/$$module_srcdir/configure \
21255 --srcdir=$${topdir}/$$module_srcdir \
21256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21257 --target=${target_alias} \
21258 || exit 1
21259 @endif itcl
21265 .PHONY: all-itcl maybe-all-itcl
21266 maybe-all-itcl:
21267 @if gcc-bootstrap
21268 all-itcl: stage_current
21269 @endif gcc-bootstrap
21270 @if itcl
21271 TARGET-itcl=all
21272 maybe-all-itcl: all-itcl
21273 all-itcl: configure-itcl
21274 @: $(MAKE); $(unstage)
21275 @r=`${PWD_COMMAND}`; export r; \
21276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21277 $(HOST_EXPORTS) \
21278 (cd $(HOST_SUBDIR)/itcl && \
21279 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21280 $(TARGET-itcl))
21281 @endif itcl
21286 .PHONY: check-itcl maybe-check-itcl
21287 maybe-check-itcl:
21288 @if itcl
21289 maybe-check-itcl: check-itcl
21291 check-itcl:
21292 @: $(MAKE); $(unstage)
21293 @r=`${PWD_COMMAND}`; export r; \
21294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21295 $(HOST_EXPORTS) \
21296 (cd $(HOST_SUBDIR)/itcl && \
21297 $(MAKE) $(FLAGS_TO_PASS) check)
21299 @endif itcl
21301 .PHONY: install-itcl maybe-install-itcl
21302 maybe-install-itcl:
21303 @if itcl
21304 maybe-install-itcl: install-itcl
21306 install-itcl: installdirs
21307 @: $(MAKE); $(unstage)
21308 @r=`${PWD_COMMAND}`; export r; \
21309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 $(HOST_EXPORTS) \
21311 (cd $(HOST_SUBDIR)/itcl && \
21312 $(MAKE) $(FLAGS_TO_PASS) install)
21314 @endif itcl
21316 .PHONY: install-strip-itcl maybe-install-strip-itcl
21317 maybe-install-strip-itcl:
21318 @if itcl
21319 maybe-install-strip-itcl: install-strip-itcl
21321 install-strip-itcl: installdirs
21322 @: $(MAKE); $(unstage)
21323 @r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 (cd $(HOST_SUBDIR)/itcl && \
21327 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21329 @endif itcl
21331 # Other targets (info, dvi, pdf, etc.)
21333 .PHONY: maybe-info-itcl info-itcl
21334 maybe-info-itcl:
21335 @if itcl
21336 maybe-info-itcl: info-itcl
21338 info-itcl: \
21339 configure-itcl
21340 @: $(MAKE); $(unstage)
21341 @[ -f ./itcl/Makefile ] || exit 0; \
21342 r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 $(HOST_EXPORTS) \
21345 for flag in $(EXTRA_HOST_FLAGS) ; do \
21346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21347 done; \
21348 echo "Doing info in itcl"; \
21349 (cd $(HOST_SUBDIR)/itcl && \
21350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21352 "RANLIB=$${RANLIB}" \
21353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21354 info) \
21355 || exit 1
21357 @endif itcl
21359 .PHONY: maybe-dvi-itcl dvi-itcl
21360 maybe-dvi-itcl:
21361 @if itcl
21362 maybe-dvi-itcl: dvi-itcl
21364 dvi-itcl: \
21365 configure-itcl
21366 @: $(MAKE); $(unstage)
21367 @[ -f ./itcl/Makefile ] || exit 0; \
21368 r=`${PWD_COMMAND}`; export r; \
21369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21370 $(HOST_EXPORTS) \
21371 for flag in $(EXTRA_HOST_FLAGS) ; do \
21372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21373 done; \
21374 echo "Doing dvi in itcl"; \
21375 (cd $(HOST_SUBDIR)/itcl && \
21376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21378 "RANLIB=$${RANLIB}" \
21379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21380 dvi) \
21381 || exit 1
21383 @endif itcl
21385 .PHONY: maybe-pdf-itcl pdf-itcl
21386 maybe-pdf-itcl:
21387 @if itcl
21388 maybe-pdf-itcl: pdf-itcl
21390 pdf-itcl: \
21391 configure-itcl
21392 @: $(MAKE); $(unstage)
21393 @[ -f ./itcl/Makefile ] || exit 0; \
21394 r=`${PWD_COMMAND}`; export r; \
21395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21396 $(HOST_EXPORTS) \
21397 for flag in $(EXTRA_HOST_FLAGS) ; do \
21398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21399 done; \
21400 echo "Doing pdf in itcl"; \
21401 (cd $(HOST_SUBDIR)/itcl && \
21402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21404 "RANLIB=$${RANLIB}" \
21405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21406 pdf) \
21407 || exit 1
21409 @endif itcl
21411 .PHONY: maybe-html-itcl html-itcl
21412 maybe-html-itcl:
21413 @if itcl
21414 maybe-html-itcl: html-itcl
21416 html-itcl: \
21417 configure-itcl
21418 @: $(MAKE); $(unstage)
21419 @[ -f ./itcl/Makefile ] || exit 0; \
21420 r=`${PWD_COMMAND}`; export r; \
21421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21422 $(HOST_EXPORTS) \
21423 for flag in $(EXTRA_HOST_FLAGS) ; do \
21424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21425 done; \
21426 echo "Doing html in itcl"; \
21427 (cd $(HOST_SUBDIR)/itcl && \
21428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21430 "RANLIB=$${RANLIB}" \
21431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21432 html) \
21433 || exit 1
21435 @endif itcl
21437 .PHONY: maybe-TAGS-itcl TAGS-itcl
21438 maybe-TAGS-itcl:
21439 @if itcl
21440 maybe-TAGS-itcl: TAGS-itcl
21442 TAGS-itcl: \
21443 configure-itcl
21444 @: $(MAKE); $(unstage)
21445 @[ -f ./itcl/Makefile ] || exit 0; \
21446 r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21448 $(HOST_EXPORTS) \
21449 for flag in $(EXTRA_HOST_FLAGS) ; do \
21450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21451 done; \
21452 echo "Doing TAGS in itcl"; \
21453 (cd $(HOST_SUBDIR)/itcl && \
21454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21456 "RANLIB=$${RANLIB}" \
21457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21458 TAGS) \
21459 || exit 1
21461 @endif itcl
21463 .PHONY: maybe-install-info-itcl install-info-itcl
21464 maybe-install-info-itcl:
21465 @if itcl
21466 maybe-install-info-itcl: install-info-itcl
21468 install-info-itcl: \
21469 configure-itcl \
21470 info-itcl
21471 @: $(MAKE); $(unstage)
21472 @[ -f ./itcl/Makefile ] || exit 0; \
21473 r=`${PWD_COMMAND}`; export r; \
21474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21475 $(HOST_EXPORTS) \
21476 for flag in $(EXTRA_HOST_FLAGS) ; do \
21477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21478 done; \
21479 echo "Doing install-info in itcl"; \
21480 (cd $(HOST_SUBDIR)/itcl && \
21481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21483 "RANLIB=$${RANLIB}" \
21484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21485 install-info) \
21486 || exit 1
21488 @endif itcl
21490 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21491 maybe-install-pdf-itcl:
21492 @if itcl
21493 maybe-install-pdf-itcl: install-pdf-itcl
21495 install-pdf-itcl: \
21496 configure-itcl \
21497 pdf-itcl
21498 @: $(MAKE); $(unstage)
21499 @[ -f ./itcl/Makefile ] || exit 0; \
21500 r=`${PWD_COMMAND}`; export r; \
21501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21502 $(HOST_EXPORTS) \
21503 for flag in $(EXTRA_HOST_FLAGS) ; do \
21504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21505 done; \
21506 echo "Doing install-pdf in itcl"; \
21507 (cd $(HOST_SUBDIR)/itcl && \
21508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21510 "RANLIB=$${RANLIB}" \
21511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21512 install-pdf) \
21513 || exit 1
21515 @endif itcl
21517 .PHONY: maybe-install-html-itcl install-html-itcl
21518 maybe-install-html-itcl:
21519 @if itcl
21520 maybe-install-html-itcl: install-html-itcl
21522 install-html-itcl: \
21523 configure-itcl \
21524 html-itcl
21525 @: $(MAKE); $(unstage)
21526 @[ -f ./itcl/Makefile ] || exit 0; \
21527 r=`${PWD_COMMAND}`; export r; \
21528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 $(HOST_EXPORTS) \
21530 for flag in $(EXTRA_HOST_FLAGS) ; do \
21531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21532 done; \
21533 echo "Doing install-html in itcl"; \
21534 (cd $(HOST_SUBDIR)/itcl && \
21535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21537 "RANLIB=$${RANLIB}" \
21538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21539 install-html) \
21540 || exit 1
21542 @endif itcl
21544 .PHONY: maybe-installcheck-itcl installcheck-itcl
21545 maybe-installcheck-itcl:
21546 @if itcl
21547 maybe-installcheck-itcl: installcheck-itcl
21549 installcheck-itcl: \
21550 configure-itcl
21551 @: $(MAKE); $(unstage)
21552 @[ -f ./itcl/Makefile ] || exit 0; \
21553 r=`${PWD_COMMAND}`; export r; \
21554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21555 $(HOST_EXPORTS) \
21556 for flag in $(EXTRA_HOST_FLAGS) ; do \
21557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21558 done; \
21559 echo "Doing installcheck in itcl"; \
21560 (cd $(HOST_SUBDIR)/itcl && \
21561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21563 "RANLIB=$${RANLIB}" \
21564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21565 installcheck) \
21566 || exit 1
21568 @endif itcl
21570 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21571 maybe-mostlyclean-itcl:
21572 @if itcl
21573 maybe-mostlyclean-itcl: mostlyclean-itcl
21575 mostlyclean-itcl:
21576 @: $(MAKE); $(unstage)
21577 @[ -f ./itcl/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing mostlyclean in itcl"; \
21585 (cd $(HOST_SUBDIR)/itcl && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21590 mostlyclean) \
21591 || exit 1
21593 @endif itcl
21595 .PHONY: maybe-clean-itcl clean-itcl
21596 maybe-clean-itcl:
21597 @if itcl
21598 maybe-clean-itcl: clean-itcl
21600 clean-itcl:
21601 @: $(MAKE); $(unstage)
21602 @[ -f ./itcl/Makefile ] || exit 0; \
21603 r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 $(HOST_EXPORTS) \
21606 for flag in $(EXTRA_HOST_FLAGS) ; do \
21607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21608 done; \
21609 echo "Doing clean in itcl"; \
21610 (cd $(HOST_SUBDIR)/itcl && \
21611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21613 "RANLIB=$${RANLIB}" \
21614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21615 clean) \
21616 || exit 1
21618 @endif itcl
21620 .PHONY: maybe-distclean-itcl distclean-itcl
21621 maybe-distclean-itcl:
21622 @if itcl
21623 maybe-distclean-itcl: distclean-itcl
21625 distclean-itcl:
21626 @: $(MAKE); $(unstage)
21627 @[ -f ./itcl/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 for flag in $(EXTRA_HOST_FLAGS) ; do \
21632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 done; \
21634 echo "Doing distclean in itcl"; \
21635 (cd $(HOST_SUBDIR)/itcl && \
21636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21638 "RANLIB=$${RANLIB}" \
21639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21640 distclean) \
21641 || exit 1
21643 @endif itcl
21645 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21646 maybe-maintainer-clean-itcl:
21647 @if itcl
21648 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21650 maintainer-clean-itcl:
21651 @: $(MAKE); $(unstage)
21652 @[ -f ./itcl/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing maintainer-clean in itcl"; \
21660 (cd $(HOST_SUBDIR)/itcl && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21665 maintainer-clean) \
21666 || exit 1
21668 @endif itcl
21672 .PHONY: configure-ld maybe-configure-ld
21673 maybe-configure-ld:
21674 @if gcc-bootstrap
21675 configure-ld: stage_current
21676 @endif gcc-bootstrap
21677 @if ld
21678 maybe-configure-ld: configure-ld
21679 configure-ld:
21680 @r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21682 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21684 $(HOST_EXPORTS) \
21685 echo Configuring in $(HOST_SUBDIR)/ld; \
21686 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21687 case $(srcdir) in \
21688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21689 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21691 esac; \
21692 module_srcdir=ld; \
21693 $(SHELL) \
21694 $$s/$$module_srcdir/configure \
21695 --srcdir=$${topdir}/$$module_srcdir \
21696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21697 --target=${target_alias} \
21698 || exit 1
21699 @endif ld
21703 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21704 maybe-configure-stage1-ld:
21705 @if ld-bootstrap
21706 maybe-configure-stage1-ld: configure-stage1-ld
21707 configure-stage1-ld:
21708 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21710 @r=`${PWD_COMMAND}`; export r; \
21711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21712 TFLAGS="$(STAGE1_TFLAGS)"; \
21713 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21714 $(HOST_EXPORTS) \
21715 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21716 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21717 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21718 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21720 cd $(HOST_SUBDIR)/ld || exit 1; \
21721 case $(srcdir) in \
21722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21723 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21725 esac; \
21726 module_srcdir=ld; \
21727 $(SHELL) $$s/$$module_srcdir/configure \
21728 --srcdir=$${topdir}/$$module_srcdir \
21729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21730 --target=${target_alias} \
21732 $(STAGE1_CONFIGURE_FLAGS)
21733 @endif ld-bootstrap
21735 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21736 maybe-configure-stage2-ld:
21737 @if ld-bootstrap
21738 maybe-configure-stage2-ld: configure-stage2-ld
21739 configure-stage2-ld:
21740 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21742 @r=`${PWD_COMMAND}`; export r; \
21743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21744 TFLAGS="$(STAGE2_TFLAGS)"; \
21745 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21746 $(HOST_EXPORTS) \
21747 $(POSTSTAGE1_HOST_EXPORTS) \
21748 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21749 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21750 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21751 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21753 cd $(HOST_SUBDIR)/ld || exit 1; \
21754 case $(srcdir) in \
21755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21756 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21758 esac; \
21759 module_srcdir=ld; \
21760 $(SHELL) $$s/$$module_srcdir/configure \
21761 --srcdir=$${topdir}/$$module_srcdir \
21762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21763 --target=${target_alias} \
21764 --with-build-libsubdir=$(HOST_SUBDIR) \
21765 $(STAGE2_CONFIGURE_FLAGS)
21766 @endif ld-bootstrap
21768 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21769 maybe-configure-stage3-ld:
21770 @if ld-bootstrap
21771 maybe-configure-stage3-ld: configure-stage3-ld
21772 configure-stage3-ld:
21773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21775 @r=`${PWD_COMMAND}`; export r; \
21776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21777 TFLAGS="$(STAGE3_TFLAGS)"; \
21778 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21779 $(HOST_EXPORTS) \
21780 $(POSTSTAGE1_HOST_EXPORTS) \
21781 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21782 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21783 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21784 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21786 cd $(HOST_SUBDIR)/ld || exit 1; \
21787 case $(srcdir) in \
21788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21789 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21791 esac; \
21792 module_srcdir=ld; \
21793 $(SHELL) $$s/$$module_srcdir/configure \
21794 --srcdir=$${topdir}/$$module_srcdir \
21795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21796 --target=${target_alias} \
21797 --with-build-libsubdir=$(HOST_SUBDIR) \
21798 $(STAGE3_CONFIGURE_FLAGS)
21799 @endif ld-bootstrap
21801 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21802 maybe-configure-stage4-ld:
21803 @if ld-bootstrap
21804 maybe-configure-stage4-ld: configure-stage4-ld
21805 configure-stage4-ld:
21806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21808 @r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 TFLAGS="$(STAGE4_TFLAGS)"; \
21811 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21812 $(HOST_EXPORTS) \
21813 $(POSTSTAGE1_HOST_EXPORTS) \
21814 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21815 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21816 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21817 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21819 cd $(HOST_SUBDIR)/ld || exit 1; \
21820 case $(srcdir) in \
21821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21822 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21824 esac; \
21825 module_srcdir=ld; \
21826 $(SHELL) $$s/$$module_srcdir/configure \
21827 --srcdir=$${topdir}/$$module_srcdir \
21828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21829 --target=${target_alias} \
21830 --with-build-libsubdir=$(HOST_SUBDIR) \
21831 $(STAGE4_CONFIGURE_FLAGS)
21832 @endif ld-bootstrap
21834 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21835 maybe-configure-stageprofile-ld:
21836 @if ld-bootstrap
21837 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21838 configure-stageprofile-ld:
21839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21841 @r=`${PWD_COMMAND}`; export r; \
21842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21843 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21844 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21845 $(HOST_EXPORTS) \
21846 $(POSTSTAGE1_HOST_EXPORTS) \
21847 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21848 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21849 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21850 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21852 cd $(HOST_SUBDIR)/ld || exit 1; \
21853 case $(srcdir) in \
21854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21855 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21857 esac; \
21858 module_srcdir=ld; \
21859 $(SHELL) $$s/$$module_srcdir/configure \
21860 --srcdir=$${topdir}/$$module_srcdir \
21861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21862 --target=${target_alias} \
21863 --with-build-libsubdir=$(HOST_SUBDIR) \
21864 $(STAGEprofile_CONFIGURE_FLAGS)
21865 @endif ld-bootstrap
21867 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21868 maybe-configure-stagetrain-ld:
21869 @if ld-bootstrap
21870 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21871 configure-stagetrain-ld:
21872 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21874 @r=`${PWD_COMMAND}`; export r; \
21875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21876 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21877 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21878 $(HOST_EXPORTS) \
21879 $(POSTSTAGE1_HOST_EXPORTS) \
21880 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21881 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21882 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21883 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21885 cd $(HOST_SUBDIR)/ld || exit 1; \
21886 case $(srcdir) in \
21887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21888 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21890 esac; \
21891 module_srcdir=ld; \
21892 $(SHELL) $$s/$$module_srcdir/configure \
21893 --srcdir=$${topdir}/$$module_srcdir \
21894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21895 --target=${target_alias} \
21896 --with-build-libsubdir=$(HOST_SUBDIR) \
21897 $(STAGEtrain_CONFIGURE_FLAGS)
21898 @endif ld-bootstrap
21900 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21901 maybe-configure-stagefeedback-ld:
21902 @if ld-bootstrap
21903 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21904 configure-stagefeedback-ld:
21905 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21907 @r=`${PWD_COMMAND}`; export r; \
21908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21910 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21911 $(HOST_EXPORTS) \
21912 $(POSTSTAGE1_HOST_EXPORTS) \
21913 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21914 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21915 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21916 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21918 cd $(HOST_SUBDIR)/ld || exit 1; \
21919 case $(srcdir) in \
21920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21921 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21923 esac; \
21924 module_srcdir=ld; \
21925 $(SHELL) $$s/$$module_srcdir/configure \
21926 --srcdir=$${topdir}/$$module_srcdir \
21927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21928 --target=${target_alias} \
21929 --with-build-libsubdir=$(HOST_SUBDIR) \
21930 $(STAGEfeedback_CONFIGURE_FLAGS)
21931 @endif ld-bootstrap
21933 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21934 maybe-configure-stageautoprofile-ld:
21935 @if ld-bootstrap
21936 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21937 configure-stageautoprofile-ld:
21938 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21940 @r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21943 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21944 $(HOST_EXPORTS) \
21945 $(POSTSTAGE1_HOST_EXPORTS) \
21946 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21947 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21948 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21949 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21951 cd $(HOST_SUBDIR)/ld || exit 1; \
21952 case $(srcdir) in \
21953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21954 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21956 esac; \
21957 module_srcdir=ld; \
21958 $(SHELL) $$s/$$module_srcdir/configure \
21959 --srcdir=$${topdir}/$$module_srcdir \
21960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21961 --target=${target_alias} \
21962 --with-build-libsubdir=$(HOST_SUBDIR) \
21963 $(STAGEautoprofile_CONFIGURE_FLAGS)
21964 @endif ld-bootstrap
21966 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21967 maybe-configure-stageautofeedback-ld:
21968 @if ld-bootstrap
21969 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21970 configure-stageautofeedback-ld:
21971 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21973 @r=`${PWD_COMMAND}`; export r; \
21974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21975 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21976 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21977 $(HOST_EXPORTS) \
21978 $(POSTSTAGE1_HOST_EXPORTS) \
21979 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21980 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21981 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21982 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21984 cd $(HOST_SUBDIR)/ld || exit 1; \
21985 case $(srcdir) in \
21986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21987 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21989 esac; \
21990 module_srcdir=ld; \
21991 $(SHELL) $$s/$$module_srcdir/configure \
21992 --srcdir=$${topdir}/$$module_srcdir \
21993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21994 --target=${target_alias} \
21995 --with-build-libsubdir=$(HOST_SUBDIR) \
21996 $(STAGEautofeedback_CONFIGURE_FLAGS)
21997 @endif ld-bootstrap
22003 .PHONY: all-ld maybe-all-ld
22004 maybe-all-ld:
22005 @if gcc-bootstrap
22006 all-ld: stage_current
22007 @endif gcc-bootstrap
22008 @if ld
22009 TARGET-ld=all
22010 maybe-all-ld: all-ld
22011 all-ld: configure-ld
22012 @r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 $(HOST_EXPORTS) \
22015 (cd $(HOST_SUBDIR)/ld && \
22016 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22017 $(TARGET-ld))
22018 @endif ld
22022 .PHONY: all-stage1-ld maybe-all-stage1-ld
22023 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22024 maybe-all-stage1-ld:
22025 maybe-clean-stage1-ld:
22026 @if ld-bootstrap
22027 maybe-all-stage1-ld: all-stage1-ld
22028 all-stage1: all-stage1-ld
22029 TARGET-stage1-ld = $(TARGET-ld)
22030 all-stage1-ld: configure-stage1-ld
22031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22032 @r=`${PWD_COMMAND}`; export r; \
22033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22034 TFLAGS="$(STAGE1_TFLAGS)"; \
22035 $(HOST_EXPORTS) \
22036 cd $(HOST_SUBDIR)/ld && \
22038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22039 CFLAGS="$(STAGE1_CFLAGS)" \
22040 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22041 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22042 LIBCFLAGS="$(LIBCFLAGS)" \
22043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22046 $(EXTRA_HOST_FLAGS) \
22047 $(STAGE1_FLAGS_TO_PASS) \
22048 TFLAGS="$(STAGE1_TFLAGS)" \
22049 $(TARGET-stage1-ld)
22051 maybe-clean-stage1-ld: clean-stage1-ld
22052 clean-stage1: clean-stage1-ld
22053 clean-stage1-ld:
22054 @if [ $(current_stage) = stage1 ]; then \
22055 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22056 else \
22057 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22058 $(MAKE) stage1-start; \
22059 fi; \
22060 cd $(HOST_SUBDIR)/ld && \
22061 $(MAKE) $(EXTRA_HOST_FLAGS) \
22062 $(STAGE1_FLAGS_TO_PASS) clean
22063 @endif ld-bootstrap
22066 .PHONY: all-stage2-ld maybe-all-stage2-ld
22067 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22068 maybe-all-stage2-ld:
22069 maybe-clean-stage2-ld:
22070 @if ld-bootstrap
22071 maybe-all-stage2-ld: all-stage2-ld
22072 all-stage2: all-stage2-ld
22073 TARGET-stage2-ld = $(TARGET-ld)
22074 all-stage2-ld: configure-stage2-ld
22075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22076 @r=`${PWD_COMMAND}`; export r; \
22077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22078 TFLAGS="$(STAGE2_TFLAGS)"; \
22079 $(HOST_EXPORTS) \
22080 $(POSTSTAGE1_HOST_EXPORTS) \
22081 cd $(HOST_SUBDIR)/ld && \
22083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22084 CFLAGS="$(STAGE2_CFLAGS)" \
22085 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22086 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22087 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22092 TFLAGS="$(STAGE2_TFLAGS)" \
22093 $(TARGET-stage2-ld)
22095 maybe-clean-stage2-ld: clean-stage2-ld
22096 clean-stage2: clean-stage2-ld
22097 clean-stage2-ld:
22098 @if [ $(current_stage) = stage2 ]; then \
22099 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22100 else \
22101 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22102 $(MAKE) stage2-start; \
22103 fi; \
22104 cd $(HOST_SUBDIR)/ld && \
22105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22106 @endif ld-bootstrap
22109 .PHONY: all-stage3-ld maybe-all-stage3-ld
22110 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22111 maybe-all-stage3-ld:
22112 maybe-clean-stage3-ld:
22113 @if ld-bootstrap
22114 maybe-all-stage3-ld: all-stage3-ld
22115 all-stage3: all-stage3-ld
22116 TARGET-stage3-ld = $(TARGET-ld)
22117 all-stage3-ld: configure-stage3-ld
22118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22119 @r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 TFLAGS="$(STAGE3_TFLAGS)"; \
22122 $(HOST_EXPORTS) \
22123 $(POSTSTAGE1_HOST_EXPORTS) \
22124 cd $(HOST_SUBDIR)/ld && \
22126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22127 CFLAGS="$(STAGE3_CFLAGS)" \
22128 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22129 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22130 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22135 TFLAGS="$(STAGE3_TFLAGS)" \
22136 $(TARGET-stage3-ld)
22138 maybe-clean-stage3-ld: clean-stage3-ld
22139 clean-stage3: clean-stage3-ld
22140 clean-stage3-ld:
22141 @if [ $(current_stage) = stage3 ]; then \
22142 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22143 else \
22144 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22145 $(MAKE) stage3-start; \
22146 fi; \
22147 cd $(HOST_SUBDIR)/ld && \
22148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22149 @endif ld-bootstrap
22152 .PHONY: all-stage4-ld maybe-all-stage4-ld
22153 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22154 maybe-all-stage4-ld:
22155 maybe-clean-stage4-ld:
22156 @if ld-bootstrap
22157 maybe-all-stage4-ld: all-stage4-ld
22158 all-stage4: all-stage4-ld
22159 TARGET-stage4-ld = $(TARGET-ld)
22160 all-stage4-ld: configure-stage4-ld
22161 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22162 @r=`${PWD_COMMAND}`; export r; \
22163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 TFLAGS="$(STAGE4_TFLAGS)"; \
22165 $(HOST_EXPORTS) \
22166 $(POSTSTAGE1_HOST_EXPORTS) \
22167 cd $(HOST_SUBDIR)/ld && \
22169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22170 CFLAGS="$(STAGE4_CFLAGS)" \
22171 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22172 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22173 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22178 TFLAGS="$(STAGE4_TFLAGS)" \
22179 $(TARGET-stage4-ld)
22181 maybe-clean-stage4-ld: clean-stage4-ld
22182 clean-stage4: clean-stage4-ld
22183 clean-stage4-ld:
22184 @if [ $(current_stage) = stage4 ]; then \
22185 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22186 else \
22187 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22188 $(MAKE) stage4-start; \
22189 fi; \
22190 cd $(HOST_SUBDIR)/ld && \
22191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22192 @endif ld-bootstrap
22195 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22196 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22197 maybe-all-stageprofile-ld:
22198 maybe-clean-stageprofile-ld:
22199 @if ld-bootstrap
22200 maybe-all-stageprofile-ld: all-stageprofile-ld
22201 all-stageprofile: all-stageprofile-ld
22202 TARGET-stageprofile-ld = $(TARGET-ld)
22203 all-stageprofile-ld: configure-stageprofile-ld
22204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22205 @r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22208 $(HOST_EXPORTS) \
22209 $(POSTSTAGE1_HOST_EXPORTS) \
22210 cd $(HOST_SUBDIR)/ld && \
22212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22213 CFLAGS="$(STAGEprofile_CFLAGS)" \
22214 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
22215 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22216 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22221 TFLAGS="$(STAGEprofile_TFLAGS)" \
22222 $(TARGET-stageprofile-ld)
22224 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22225 clean-stageprofile: clean-stageprofile-ld
22226 clean-stageprofile-ld:
22227 @if [ $(current_stage) = stageprofile ]; then \
22228 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22229 else \
22230 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22231 $(MAKE) stageprofile-start; \
22232 fi; \
22233 cd $(HOST_SUBDIR)/ld && \
22234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22235 @endif ld-bootstrap
22238 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22239 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22240 maybe-all-stagetrain-ld:
22241 maybe-clean-stagetrain-ld:
22242 @if ld-bootstrap
22243 maybe-all-stagetrain-ld: all-stagetrain-ld
22244 all-stagetrain: all-stagetrain-ld
22245 TARGET-stagetrain-ld = $(TARGET-ld)
22246 all-stagetrain-ld: configure-stagetrain-ld
22247 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22248 @r=`${PWD_COMMAND}`; export r; \
22249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22250 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22251 $(HOST_EXPORTS) \
22252 $(POSTSTAGE1_HOST_EXPORTS) \
22253 cd $(HOST_SUBDIR)/ld && \
22255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22256 CFLAGS="$(STAGEtrain_CFLAGS)" \
22257 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
22258 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22259 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22264 TFLAGS="$(STAGEtrain_TFLAGS)" \
22265 $(TARGET-stagetrain-ld)
22267 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22268 clean-stagetrain: clean-stagetrain-ld
22269 clean-stagetrain-ld:
22270 @if [ $(current_stage) = stagetrain ]; then \
22271 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22272 else \
22273 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22274 $(MAKE) stagetrain-start; \
22275 fi; \
22276 cd $(HOST_SUBDIR)/ld && \
22277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22278 @endif ld-bootstrap
22281 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22282 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22283 maybe-all-stagefeedback-ld:
22284 maybe-clean-stagefeedback-ld:
22285 @if ld-bootstrap
22286 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22287 all-stagefeedback: all-stagefeedback-ld
22288 TARGET-stagefeedback-ld = $(TARGET-ld)
22289 all-stagefeedback-ld: configure-stagefeedback-ld
22290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22291 @r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22294 $(HOST_EXPORTS) \
22295 $(POSTSTAGE1_HOST_EXPORTS) \
22296 cd $(HOST_SUBDIR)/ld && \
22298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22299 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22300 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
22301 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22302 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22307 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22308 $(TARGET-stagefeedback-ld)
22310 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22311 clean-stagefeedback: clean-stagefeedback-ld
22312 clean-stagefeedback-ld:
22313 @if [ $(current_stage) = stagefeedback ]; then \
22314 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22315 else \
22316 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22317 $(MAKE) stagefeedback-start; \
22318 fi; \
22319 cd $(HOST_SUBDIR)/ld && \
22320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22321 @endif ld-bootstrap
22324 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22325 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22326 maybe-all-stageautoprofile-ld:
22327 maybe-clean-stageautoprofile-ld:
22328 @if ld-bootstrap
22329 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22330 all-stageautoprofile: all-stageautoprofile-ld
22331 TARGET-stageautoprofile-ld = $(TARGET-ld)
22332 all-stageautoprofile-ld: configure-stageautoprofile-ld
22333 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22334 @r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22337 $(HOST_EXPORTS) \
22338 $(POSTSTAGE1_HOST_EXPORTS) \
22339 cd $(HOST_SUBDIR)/ld && \
22340 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22342 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22343 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
22344 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22345 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22350 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22351 $(TARGET-stageautoprofile-ld)
22353 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22354 clean-stageautoprofile: clean-stageautoprofile-ld
22355 clean-stageautoprofile-ld:
22356 @if [ $(current_stage) = stageautoprofile ]; then \
22357 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22358 else \
22359 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22360 $(MAKE) stageautoprofile-start; \
22361 fi; \
22362 cd $(HOST_SUBDIR)/ld && \
22363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22364 @endif ld-bootstrap
22367 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22368 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22369 maybe-all-stageautofeedback-ld:
22370 maybe-clean-stageautofeedback-ld:
22371 @if ld-bootstrap
22372 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22373 all-stageautofeedback: all-stageautofeedback-ld
22374 TARGET-stageautofeedback-ld = $(TARGET-ld)
22375 all-stageautofeedback-ld: configure-stageautofeedback-ld
22376 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22377 @r=`${PWD_COMMAND}`; export r; \
22378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22379 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22380 $(HOST_EXPORTS) \
22381 $(POSTSTAGE1_HOST_EXPORTS) \
22382 cd $(HOST_SUBDIR)/ld && \
22384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22385 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22386 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
22387 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22388 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22393 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22394 $(TARGET-stageautofeedback-ld)
22396 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22397 clean-stageautofeedback: clean-stageautofeedback-ld
22398 clean-stageautofeedback-ld:
22399 @if [ $(current_stage) = stageautofeedback ]; then \
22400 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22401 else \
22402 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22403 $(MAKE) stageautofeedback-start; \
22404 fi; \
22405 cd $(HOST_SUBDIR)/ld && \
22406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22407 @endif ld-bootstrap
22413 .PHONY: check-ld maybe-check-ld
22414 maybe-check-ld:
22415 @if ld
22416 maybe-check-ld: check-ld
22418 check-ld:
22419 @: $(MAKE); $(unstage)
22420 @r=`${PWD_COMMAND}`; export r; \
22421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22422 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22423 (cd $(HOST_SUBDIR)/ld && \
22424 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22426 @endif ld
22428 .PHONY: install-ld maybe-install-ld
22429 maybe-install-ld:
22430 @if ld
22431 maybe-install-ld: install-ld
22433 install-ld: installdirs
22434 @: $(MAKE); $(unstage)
22435 @r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22437 $(HOST_EXPORTS) \
22438 (cd $(HOST_SUBDIR)/ld && \
22439 $(MAKE) $(FLAGS_TO_PASS) install)
22441 @endif ld
22443 .PHONY: install-strip-ld maybe-install-strip-ld
22444 maybe-install-strip-ld:
22445 @if ld
22446 maybe-install-strip-ld: install-strip-ld
22448 install-strip-ld: installdirs
22449 @: $(MAKE); $(unstage)
22450 @r=`${PWD_COMMAND}`; export r; \
22451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22452 $(HOST_EXPORTS) \
22453 (cd $(HOST_SUBDIR)/ld && \
22454 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22456 @endif ld
22458 # Other targets (info, dvi, pdf, etc.)
22460 .PHONY: maybe-info-ld info-ld
22461 maybe-info-ld:
22462 @if ld
22463 maybe-info-ld: info-ld
22465 info-ld: \
22466 configure-ld
22467 @[ -f ./ld/Makefile ] || exit 0; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 for flag in $(EXTRA_HOST_FLAGS) ; do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 echo "Doing info in ld"; \
22475 (cd $(HOST_SUBDIR)/ld && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22480 info) \
22481 || exit 1
22483 @endif ld
22485 .PHONY: maybe-dvi-ld dvi-ld
22486 maybe-dvi-ld:
22487 @if ld
22488 maybe-dvi-ld: dvi-ld
22490 dvi-ld: \
22491 configure-ld
22492 @[ -f ./ld/Makefile ] || exit 0; \
22493 r=`${PWD_COMMAND}`; export r; \
22494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22495 $(HOST_EXPORTS) \
22496 for flag in $(EXTRA_HOST_FLAGS) ; do \
22497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22498 done; \
22499 echo "Doing dvi in ld"; \
22500 (cd $(HOST_SUBDIR)/ld && \
22501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22503 "RANLIB=$${RANLIB}" \
22504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22505 dvi) \
22506 || exit 1
22508 @endif ld
22510 .PHONY: maybe-pdf-ld pdf-ld
22511 maybe-pdf-ld:
22512 @if ld
22513 maybe-pdf-ld: pdf-ld
22515 pdf-ld: \
22516 configure-ld
22517 @[ -f ./ld/Makefile ] || exit 0; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 $(HOST_EXPORTS) \
22521 for flag in $(EXTRA_HOST_FLAGS) ; do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 done; \
22524 echo "Doing pdf in ld"; \
22525 (cd $(HOST_SUBDIR)/ld && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22530 pdf) \
22531 || exit 1
22533 @endif ld
22535 .PHONY: maybe-html-ld html-ld
22536 maybe-html-ld:
22537 @if ld
22538 maybe-html-ld: html-ld
22540 html-ld: \
22541 configure-ld
22542 @[ -f ./ld/Makefile ] || exit 0; \
22543 r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 $(HOST_EXPORTS) \
22546 for flag in $(EXTRA_HOST_FLAGS) ; do \
22547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22548 done; \
22549 echo "Doing html in ld"; \
22550 (cd $(HOST_SUBDIR)/ld && \
22551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22553 "RANLIB=$${RANLIB}" \
22554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22555 html) \
22556 || exit 1
22558 @endif ld
22560 .PHONY: maybe-TAGS-ld TAGS-ld
22561 maybe-TAGS-ld:
22562 @if ld
22563 maybe-TAGS-ld: TAGS-ld
22565 TAGS-ld: \
22566 configure-ld
22567 @[ -f ./ld/Makefile ] || exit 0; \
22568 r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 $(HOST_EXPORTS) \
22571 for flag in $(EXTRA_HOST_FLAGS) ; do \
22572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 done; \
22574 echo "Doing TAGS in ld"; \
22575 (cd $(HOST_SUBDIR)/ld && \
22576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22578 "RANLIB=$${RANLIB}" \
22579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22580 TAGS) \
22581 || exit 1
22583 @endif ld
22585 .PHONY: maybe-install-info-ld install-info-ld
22586 maybe-install-info-ld:
22587 @if ld
22588 maybe-install-info-ld: install-info-ld
22590 install-info-ld: \
22591 configure-ld \
22592 info-ld
22593 @[ -f ./ld/Makefile ] || exit 0; \
22594 r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 $(HOST_EXPORTS) \
22597 for flag in $(EXTRA_HOST_FLAGS) ; do \
22598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22599 done; \
22600 echo "Doing install-info in ld"; \
22601 (cd $(HOST_SUBDIR)/ld && \
22602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604 "RANLIB=$${RANLIB}" \
22605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22606 install-info) \
22607 || exit 1
22609 @endif ld
22611 .PHONY: maybe-install-pdf-ld install-pdf-ld
22612 maybe-install-pdf-ld:
22613 @if ld
22614 maybe-install-pdf-ld: install-pdf-ld
22616 install-pdf-ld: \
22617 configure-ld \
22618 pdf-ld
22619 @[ -f ./ld/Makefile ] || exit 0; \
22620 r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 $(HOST_EXPORTS) \
22623 for flag in $(EXTRA_HOST_FLAGS) ; do \
22624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22625 done; \
22626 echo "Doing install-pdf in ld"; \
22627 (cd $(HOST_SUBDIR)/ld && \
22628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22630 "RANLIB=$${RANLIB}" \
22631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22632 install-pdf) \
22633 || exit 1
22635 @endif ld
22637 .PHONY: maybe-install-html-ld install-html-ld
22638 maybe-install-html-ld:
22639 @if ld
22640 maybe-install-html-ld: install-html-ld
22642 install-html-ld: \
22643 configure-ld \
22644 html-ld
22645 @[ -f ./ld/Makefile ] || exit 0; \
22646 r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 $(HOST_EXPORTS) \
22649 for flag in $(EXTRA_HOST_FLAGS) ; do \
22650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22651 done; \
22652 echo "Doing install-html in ld"; \
22653 (cd $(HOST_SUBDIR)/ld && \
22654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22656 "RANLIB=$${RANLIB}" \
22657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22658 install-html) \
22659 || exit 1
22661 @endif ld
22663 .PHONY: maybe-installcheck-ld installcheck-ld
22664 maybe-installcheck-ld:
22665 @if ld
22666 maybe-installcheck-ld: installcheck-ld
22668 installcheck-ld: \
22669 configure-ld
22670 @[ -f ./ld/Makefile ] || exit 0; \
22671 r=`${PWD_COMMAND}`; export r; \
22672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22673 $(HOST_EXPORTS) \
22674 for flag in $(EXTRA_HOST_FLAGS) ; do \
22675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22676 done; \
22677 echo "Doing installcheck in ld"; \
22678 (cd $(HOST_SUBDIR)/ld && \
22679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22681 "RANLIB=$${RANLIB}" \
22682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22683 installcheck) \
22684 || exit 1
22686 @endif ld
22688 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22689 maybe-mostlyclean-ld:
22690 @if ld
22691 maybe-mostlyclean-ld: mostlyclean-ld
22693 mostlyclean-ld:
22694 @[ -f ./ld/Makefile ] || exit 0; \
22695 r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(HOST_EXPORTS) \
22698 for flag in $(EXTRA_HOST_FLAGS) ; do \
22699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22700 done; \
22701 echo "Doing mostlyclean in ld"; \
22702 (cd $(HOST_SUBDIR)/ld && \
22703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22705 "RANLIB=$${RANLIB}" \
22706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22707 mostlyclean) \
22708 || exit 1
22710 @endif ld
22712 .PHONY: maybe-clean-ld clean-ld
22713 maybe-clean-ld:
22714 @if ld
22715 maybe-clean-ld: clean-ld
22717 clean-ld:
22718 @[ -f ./ld/Makefile ] || exit 0; \
22719 r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(HOST_EXPORTS) \
22722 for flag in $(EXTRA_HOST_FLAGS) ; do \
22723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22724 done; \
22725 echo "Doing clean in ld"; \
22726 (cd $(HOST_SUBDIR)/ld && \
22727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22729 "RANLIB=$${RANLIB}" \
22730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22731 clean) \
22732 || exit 1
22734 @endif ld
22736 .PHONY: maybe-distclean-ld distclean-ld
22737 maybe-distclean-ld:
22738 @if ld
22739 maybe-distclean-ld: distclean-ld
22741 distclean-ld:
22742 @[ -f ./ld/Makefile ] || exit 0; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(HOST_EXPORTS) \
22746 for flag in $(EXTRA_HOST_FLAGS) ; do \
22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22748 done; \
22749 echo "Doing distclean in ld"; \
22750 (cd $(HOST_SUBDIR)/ld && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22753 "RANLIB=$${RANLIB}" \
22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22755 distclean) \
22756 || exit 1
22758 @endif ld
22760 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22761 maybe-maintainer-clean-ld:
22762 @if ld
22763 maybe-maintainer-clean-ld: maintainer-clean-ld
22765 maintainer-clean-ld:
22766 @[ -f ./ld/Makefile ] || exit 0; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(HOST_EXPORTS) \
22770 for flag in $(EXTRA_HOST_FLAGS) ; do \
22771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22772 done; \
22773 echo "Doing maintainer-clean in ld"; \
22774 (cd $(HOST_SUBDIR)/ld && \
22775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22777 "RANLIB=$${RANLIB}" \
22778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22779 maintainer-clean) \
22780 || exit 1
22782 @endif ld
22786 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22787 maybe-configure-libbacktrace:
22788 @if gcc-bootstrap
22789 configure-libbacktrace: stage_current
22790 @endif gcc-bootstrap
22791 @if libbacktrace
22792 maybe-configure-libbacktrace: configure-libbacktrace
22793 configure-libbacktrace:
22794 @r=`${PWD_COMMAND}`; export r; \
22795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22796 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22798 $(HOST_EXPORTS) \
22799 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22800 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22801 case $(srcdir) in \
22802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22803 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22805 esac; \
22806 module_srcdir=libbacktrace; \
22807 $(SHELL) \
22808 $$s/$$module_srcdir/configure \
22809 --srcdir=$${topdir}/$$module_srcdir \
22810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22811 --target=${target_alias} \
22812 || exit 1
22813 @endif libbacktrace
22817 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22818 maybe-configure-stage1-libbacktrace:
22819 @if libbacktrace-bootstrap
22820 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22821 configure-stage1-libbacktrace:
22822 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22824 @r=`${PWD_COMMAND}`; export r; \
22825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826 TFLAGS="$(STAGE1_TFLAGS)"; \
22827 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22828 $(HOST_EXPORTS) \
22829 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22830 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22831 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22832 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22834 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22835 case $(srcdir) in \
22836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22837 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22839 esac; \
22840 module_srcdir=libbacktrace; \
22841 $(SHELL) $$s/$$module_srcdir/configure \
22842 --srcdir=$${topdir}/$$module_srcdir \
22843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22844 --target=${target_alias} \
22846 $(STAGE1_CONFIGURE_FLAGS)
22847 @endif libbacktrace-bootstrap
22849 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22850 maybe-configure-stage2-libbacktrace:
22851 @if libbacktrace-bootstrap
22852 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22853 configure-stage2-libbacktrace:
22854 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22856 @r=`${PWD_COMMAND}`; export r; \
22857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22858 TFLAGS="$(STAGE2_TFLAGS)"; \
22859 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22860 $(HOST_EXPORTS) \
22861 $(POSTSTAGE1_HOST_EXPORTS) \
22862 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22863 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22864 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22865 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22867 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22868 case $(srcdir) in \
22869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22870 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22872 esac; \
22873 module_srcdir=libbacktrace; \
22874 $(SHELL) $$s/$$module_srcdir/configure \
22875 --srcdir=$${topdir}/$$module_srcdir \
22876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22877 --target=${target_alias} \
22878 --with-build-libsubdir=$(HOST_SUBDIR) \
22879 $(STAGE2_CONFIGURE_FLAGS)
22880 @endif libbacktrace-bootstrap
22882 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22883 maybe-configure-stage3-libbacktrace:
22884 @if libbacktrace-bootstrap
22885 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22886 configure-stage3-libbacktrace:
22887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22889 @r=`${PWD_COMMAND}`; export r; \
22890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22891 TFLAGS="$(STAGE3_TFLAGS)"; \
22892 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22893 $(HOST_EXPORTS) \
22894 $(POSTSTAGE1_HOST_EXPORTS) \
22895 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22896 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22897 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22898 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22900 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22901 case $(srcdir) in \
22902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22903 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22905 esac; \
22906 module_srcdir=libbacktrace; \
22907 $(SHELL) $$s/$$module_srcdir/configure \
22908 --srcdir=$${topdir}/$$module_srcdir \
22909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22910 --target=${target_alias} \
22911 --with-build-libsubdir=$(HOST_SUBDIR) \
22912 $(STAGE3_CONFIGURE_FLAGS)
22913 @endif libbacktrace-bootstrap
22915 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22916 maybe-configure-stage4-libbacktrace:
22917 @if libbacktrace-bootstrap
22918 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22919 configure-stage4-libbacktrace:
22920 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22922 @r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 TFLAGS="$(STAGE4_TFLAGS)"; \
22925 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22926 $(HOST_EXPORTS) \
22927 $(POSTSTAGE1_HOST_EXPORTS) \
22928 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22929 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22930 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22931 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22933 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22934 case $(srcdir) in \
22935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22936 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22938 esac; \
22939 module_srcdir=libbacktrace; \
22940 $(SHELL) $$s/$$module_srcdir/configure \
22941 --srcdir=$${topdir}/$$module_srcdir \
22942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22943 --target=${target_alias} \
22944 --with-build-libsubdir=$(HOST_SUBDIR) \
22945 $(STAGE4_CONFIGURE_FLAGS)
22946 @endif libbacktrace-bootstrap
22948 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22949 maybe-configure-stageprofile-libbacktrace:
22950 @if libbacktrace-bootstrap
22951 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22952 configure-stageprofile-libbacktrace:
22953 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22955 @r=`${PWD_COMMAND}`; export r; \
22956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22957 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22958 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22959 $(HOST_EXPORTS) \
22960 $(POSTSTAGE1_HOST_EXPORTS) \
22961 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22962 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22963 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22964 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22966 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22967 case $(srcdir) in \
22968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22969 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22971 esac; \
22972 module_srcdir=libbacktrace; \
22973 $(SHELL) $$s/$$module_srcdir/configure \
22974 --srcdir=$${topdir}/$$module_srcdir \
22975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22976 --target=${target_alias} \
22977 --with-build-libsubdir=$(HOST_SUBDIR) \
22978 $(STAGEprofile_CONFIGURE_FLAGS)
22979 @endif libbacktrace-bootstrap
22981 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22982 maybe-configure-stagetrain-libbacktrace:
22983 @if libbacktrace-bootstrap
22984 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22985 configure-stagetrain-libbacktrace:
22986 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22988 @r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22991 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22992 $(HOST_EXPORTS) \
22993 $(POSTSTAGE1_HOST_EXPORTS) \
22994 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22995 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22996 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22997 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22999 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23000 case $(srcdir) in \
23001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23002 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23004 esac; \
23005 module_srcdir=libbacktrace; \
23006 $(SHELL) $$s/$$module_srcdir/configure \
23007 --srcdir=$${topdir}/$$module_srcdir \
23008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23009 --target=${target_alias} \
23010 --with-build-libsubdir=$(HOST_SUBDIR) \
23011 $(STAGEtrain_CONFIGURE_FLAGS)
23012 @endif libbacktrace-bootstrap
23014 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
23015 maybe-configure-stagefeedback-libbacktrace:
23016 @if libbacktrace-bootstrap
23017 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23018 configure-stagefeedback-libbacktrace:
23019 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23021 @r=`${PWD_COMMAND}`; export r; \
23022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23023 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23024 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23025 $(HOST_EXPORTS) \
23026 $(POSTSTAGE1_HOST_EXPORTS) \
23027 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23028 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23029 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23030 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23032 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23033 case $(srcdir) in \
23034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23035 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23037 esac; \
23038 module_srcdir=libbacktrace; \
23039 $(SHELL) $$s/$$module_srcdir/configure \
23040 --srcdir=$${topdir}/$$module_srcdir \
23041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23042 --target=${target_alias} \
23043 --with-build-libsubdir=$(HOST_SUBDIR) \
23044 $(STAGEfeedback_CONFIGURE_FLAGS)
23045 @endif libbacktrace-bootstrap
23047 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23048 maybe-configure-stageautoprofile-libbacktrace:
23049 @if libbacktrace-bootstrap
23050 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23051 configure-stageautoprofile-libbacktrace:
23052 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23054 @r=`${PWD_COMMAND}`; export r; \
23055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23057 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23058 $(HOST_EXPORTS) \
23059 $(POSTSTAGE1_HOST_EXPORTS) \
23060 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23061 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23062 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23063 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23065 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23066 case $(srcdir) in \
23067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23068 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23070 esac; \
23071 module_srcdir=libbacktrace; \
23072 $(SHELL) $$s/$$module_srcdir/configure \
23073 --srcdir=$${topdir}/$$module_srcdir \
23074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23075 --target=${target_alias} \
23076 --with-build-libsubdir=$(HOST_SUBDIR) \
23077 $(STAGEautoprofile_CONFIGURE_FLAGS)
23078 @endif libbacktrace-bootstrap
23080 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23081 maybe-configure-stageautofeedback-libbacktrace:
23082 @if libbacktrace-bootstrap
23083 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23084 configure-stageautofeedback-libbacktrace:
23085 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23090 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23091 $(HOST_EXPORTS) \
23092 $(POSTSTAGE1_HOST_EXPORTS) \
23093 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23094 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23095 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23096 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23098 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23099 case $(srcdir) in \
23100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23101 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23103 esac; \
23104 module_srcdir=libbacktrace; \
23105 $(SHELL) $$s/$$module_srcdir/configure \
23106 --srcdir=$${topdir}/$$module_srcdir \
23107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23108 --target=${target_alias} \
23109 --with-build-libsubdir=$(HOST_SUBDIR) \
23110 $(STAGEautofeedback_CONFIGURE_FLAGS)
23111 @endif libbacktrace-bootstrap
23117 .PHONY: all-libbacktrace maybe-all-libbacktrace
23118 maybe-all-libbacktrace:
23119 @if gcc-bootstrap
23120 all-libbacktrace: stage_current
23121 @endif gcc-bootstrap
23122 @if libbacktrace
23123 TARGET-libbacktrace=all
23124 maybe-all-libbacktrace: all-libbacktrace
23125 all-libbacktrace: configure-libbacktrace
23126 @r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 (cd $(HOST_SUBDIR)/libbacktrace && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23131 $(TARGET-libbacktrace))
23132 @endif libbacktrace
23136 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23137 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23138 maybe-all-stage1-libbacktrace:
23139 maybe-clean-stage1-libbacktrace:
23140 @if libbacktrace-bootstrap
23141 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23142 all-stage1: all-stage1-libbacktrace
23143 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23144 all-stage1-libbacktrace: configure-stage1-libbacktrace
23145 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23146 @r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 TFLAGS="$(STAGE1_TFLAGS)"; \
23149 $(HOST_EXPORTS) \
23150 cd $(HOST_SUBDIR)/libbacktrace && \
23152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23153 CFLAGS="$(STAGE1_CFLAGS)" \
23154 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23155 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23156 LIBCFLAGS="$(LIBCFLAGS)" \
23157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23160 $(EXTRA_HOST_FLAGS) \
23161 $(STAGE1_FLAGS_TO_PASS) \
23162 TFLAGS="$(STAGE1_TFLAGS)" \
23163 $(TARGET-stage1-libbacktrace)
23165 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
23166 clean-stage1: clean-stage1-libbacktrace
23167 clean-stage1-libbacktrace:
23168 @if [ $(current_stage) = stage1 ]; then \
23169 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23170 else \
23171 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
23172 $(MAKE) stage1-start; \
23173 fi; \
23174 cd $(HOST_SUBDIR)/libbacktrace && \
23175 $(MAKE) $(EXTRA_HOST_FLAGS) \
23176 $(STAGE1_FLAGS_TO_PASS) clean
23177 @endif libbacktrace-bootstrap
23180 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23181 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23182 maybe-all-stage2-libbacktrace:
23183 maybe-clean-stage2-libbacktrace:
23184 @if libbacktrace-bootstrap
23185 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23186 all-stage2: all-stage2-libbacktrace
23187 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23188 all-stage2-libbacktrace: configure-stage2-libbacktrace
23189 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23190 @r=`${PWD_COMMAND}`; export r; \
23191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 TFLAGS="$(STAGE2_TFLAGS)"; \
23193 $(HOST_EXPORTS) \
23194 $(POSTSTAGE1_HOST_EXPORTS) \
23195 cd $(HOST_SUBDIR)/libbacktrace && \
23197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23198 CFLAGS="$(STAGE2_CFLAGS)" \
23199 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23200 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23201 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23206 TFLAGS="$(STAGE2_TFLAGS)" \
23207 $(TARGET-stage2-libbacktrace)
23209 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23210 clean-stage2: clean-stage2-libbacktrace
23211 clean-stage2-libbacktrace:
23212 @if [ $(current_stage) = stage2 ]; then \
23213 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23214 else \
23215 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23216 $(MAKE) stage2-start; \
23217 fi; \
23218 cd $(HOST_SUBDIR)/libbacktrace && \
23219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23220 @endif libbacktrace-bootstrap
23223 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23224 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23225 maybe-all-stage3-libbacktrace:
23226 maybe-clean-stage3-libbacktrace:
23227 @if libbacktrace-bootstrap
23228 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23229 all-stage3: all-stage3-libbacktrace
23230 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23231 all-stage3-libbacktrace: configure-stage3-libbacktrace
23232 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23233 @r=`${PWD_COMMAND}`; export r; \
23234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23235 TFLAGS="$(STAGE3_TFLAGS)"; \
23236 $(HOST_EXPORTS) \
23237 $(POSTSTAGE1_HOST_EXPORTS) \
23238 cd $(HOST_SUBDIR)/libbacktrace && \
23240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23241 CFLAGS="$(STAGE3_CFLAGS)" \
23242 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23243 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23244 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23249 TFLAGS="$(STAGE3_TFLAGS)" \
23250 $(TARGET-stage3-libbacktrace)
23252 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23253 clean-stage3: clean-stage3-libbacktrace
23254 clean-stage3-libbacktrace:
23255 @if [ $(current_stage) = stage3 ]; then \
23256 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23257 else \
23258 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23259 $(MAKE) stage3-start; \
23260 fi; \
23261 cd $(HOST_SUBDIR)/libbacktrace && \
23262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23263 @endif libbacktrace-bootstrap
23266 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23267 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23268 maybe-all-stage4-libbacktrace:
23269 maybe-clean-stage4-libbacktrace:
23270 @if libbacktrace-bootstrap
23271 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23272 all-stage4: all-stage4-libbacktrace
23273 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23274 all-stage4-libbacktrace: configure-stage4-libbacktrace
23275 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23276 @r=`${PWD_COMMAND}`; export r; \
23277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 TFLAGS="$(STAGE4_TFLAGS)"; \
23279 $(HOST_EXPORTS) \
23280 $(POSTSTAGE1_HOST_EXPORTS) \
23281 cd $(HOST_SUBDIR)/libbacktrace && \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23284 CFLAGS="$(STAGE4_CFLAGS)" \
23285 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23286 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23287 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23292 TFLAGS="$(STAGE4_TFLAGS)" \
23293 $(TARGET-stage4-libbacktrace)
23295 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23296 clean-stage4: clean-stage4-libbacktrace
23297 clean-stage4-libbacktrace:
23298 @if [ $(current_stage) = stage4 ]; then \
23299 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23300 else \
23301 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23302 $(MAKE) stage4-start; \
23303 fi; \
23304 cd $(HOST_SUBDIR)/libbacktrace && \
23305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23306 @endif libbacktrace-bootstrap
23309 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23310 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23311 maybe-all-stageprofile-libbacktrace:
23312 maybe-clean-stageprofile-libbacktrace:
23313 @if libbacktrace-bootstrap
23314 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23315 all-stageprofile: all-stageprofile-libbacktrace
23316 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23317 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23318 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23319 @r=`${PWD_COMMAND}`; export r; \
23320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23321 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23322 $(HOST_EXPORTS) \
23323 $(POSTSTAGE1_HOST_EXPORTS) \
23324 cd $(HOST_SUBDIR)/libbacktrace && \
23326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23327 CFLAGS="$(STAGEprofile_CFLAGS)" \
23328 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23329 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23330 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23335 TFLAGS="$(STAGEprofile_TFLAGS)" \
23336 $(TARGET-stageprofile-libbacktrace)
23338 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23339 clean-stageprofile: clean-stageprofile-libbacktrace
23340 clean-stageprofile-libbacktrace:
23341 @if [ $(current_stage) = stageprofile ]; then \
23342 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23343 else \
23344 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23345 $(MAKE) stageprofile-start; \
23346 fi; \
23347 cd $(HOST_SUBDIR)/libbacktrace && \
23348 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23349 @endif libbacktrace-bootstrap
23352 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23353 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23354 maybe-all-stagetrain-libbacktrace:
23355 maybe-clean-stagetrain-libbacktrace:
23356 @if libbacktrace-bootstrap
23357 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23358 all-stagetrain: all-stagetrain-libbacktrace
23359 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23360 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23361 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23362 @r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23365 $(HOST_EXPORTS) \
23366 $(POSTSTAGE1_HOST_EXPORTS) \
23367 cd $(HOST_SUBDIR)/libbacktrace && \
23369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23370 CFLAGS="$(STAGEtrain_CFLAGS)" \
23371 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23372 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23373 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23377 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23378 TFLAGS="$(STAGEtrain_TFLAGS)" \
23379 $(TARGET-stagetrain-libbacktrace)
23381 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23382 clean-stagetrain: clean-stagetrain-libbacktrace
23383 clean-stagetrain-libbacktrace:
23384 @if [ $(current_stage) = stagetrain ]; then \
23385 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23386 else \
23387 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23388 $(MAKE) stagetrain-start; \
23389 fi; \
23390 cd $(HOST_SUBDIR)/libbacktrace && \
23391 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23392 @endif libbacktrace-bootstrap
23395 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23396 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23397 maybe-all-stagefeedback-libbacktrace:
23398 maybe-clean-stagefeedback-libbacktrace:
23399 @if libbacktrace-bootstrap
23400 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23401 all-stagefeedback: all-stagefeedback-libbacktrace
23402 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23403 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23404 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23405 @r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23408 $(HOST_EXPORTS) \
23409 $(POSTSTAGE1_HOST_EXPORTS) \
23410 cd $(HOST_SUBDIR)/libbacktrace && \
23412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23413 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23414 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23415 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23416 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23421 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23422 $(TARGET-stagefeedback-libbacktrace)
23424 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23425 clean-stagefeedback: clean-stagefeedback-libbacktrace
23426 clean-stagefeedback-libbacktrace:
23427 @if [ $(current_stage) = stagefeedback ]; then \
23428 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23429 else \
23430 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23431 $(MAKE) stagefeedback-start; \
23432 fi; \
23433 cd $(HOST_SUBDIR)/libbacktrace && \
23434 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23435 @endif libbacktrace-bootstrap
23438 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23439 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23440 maybe-all-stageautoprofile-libbacktrace:
23441 maybe-clean-stageautoprofile-libbacktrace:
23442 @if libbacktrace-bootstrap
23443 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23444 all-stageautoprofile: all-stageautoprofile-libbacktrace
23445 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23446 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23447 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23448 @r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23451 $(HOST_EXPORTS) \
23452 $(POSTSTAGE1_HOST_EXPORTS) \
23453 cd $(HOST_SUBDIR)/libbacktrace && \
23454 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23456 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23457 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23458 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23459 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23464 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23465 $(TARGET-stageautoprofile-libbacktrace)
23467 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23468 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23469 clean-stageautoprofile-libbacktrace:
23470 @if [ $(current_stage) = stageautoprofile ]; then \
23471 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23472 else \
23473 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23474 $(MAKE) stageautoprofile-start; \
23475 fi; \
23476 cd $(HOST_SUBDIR)/libbacktrace && \
23477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23478 @endif libbacktrace-bootstrap
23481 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23482 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23483 maybe-all-stageautofeedback-libbacktrace:
23484 maybe-clean-stageautofeedback-libbacktrace:
23485 @if libbacktrace-bootstrap
23486 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23487 all-stageautofeedback: all-stageautofeedback-libbacktrace
23488 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23489 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23490 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23491 @r=`${PWD_COMMAND}`; export r; \
23492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23493 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23494 $(HOST_EXPORTS) \
23495 $(POSTSTAGE1_HOST_EXPORTS) \
23496 cd $(HOST_SUBDIR)/libbacktrace && \
23498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23499 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23500 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23501 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23502 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23506 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23507 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23508 $(TARGET-stageautofeedback-libbacktrace)
23510 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23511 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23512 clean-stageautofeedback-libbacktrace:
23513 @if [ $(current_stage) = stageautofeedback ]; then \
23514 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23515 else \
23516 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23517 $(MAKE) stageautofeedback-start; \
23518 fi; \
23519 cd $(HOST_SUBDIR)/libbacktrace && \
23520 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23521 @endif libbacktrace-bootstrap
23527 .PHONY: check-libbacktrace maybe-check-libbacktrace
23528 maybe-check-libbacktrace:
23529 @if libbacktrace
23530 maybe-check-libbacktrace: check-libbacktrace
23532 check-libbacktrace:
23533 @: $(MAKE); $(unstage)
23534 @r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23536 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23537 (cd $(HOST_SUBDIR)/libbacktrace && \
23538 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23540 @endif libbacktrace
23542 .PHONY: install-libbacktrace maybe-install-libbacktrace
23543 maybe-install-libbacktrace:
23544 @if libbacktrace
23545 maybe-install-libbacktrace: install-libbacktrace
23547 install-libbacktrace: installdirs
23548 @: $(MAKE); $(unstage)
23549 @r=`${PWD_COMMAND}`; export r; \
23550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23551 $(HOST_EXPORTS) \
23552 (cd $(HOST_SUBDIR)/libbacktrace && \
23553 $(MAKE) $(FLAGS_TO_PASS) install)
23555 @endif libbacktrace
23557 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23558 maybe-install-strip-libbacktrace:
23559 @if libbacktrace
23560 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23562 install-strip-libbacktrace: installdirs
23563 @: $(MAKE); $(unstage)
23564 @r=`${PWD_COMMAND}`; export r; \
23565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23566 $(HOST_EXPORTS) \
23567 (cd $(HOST_SUBDIR)/libbacktrace && \
23568 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23570 @endif libbacktrace
23572 # Other targets (info, dvi, pdf, etc.)
23574 .PHONY: maybe-info-libbacktrace info-libbacktrace
23575 maybe-info-libbacktrace:
23576 @if libbacktrace
23577 maybe-info-libbacktrace: info-libbacktrace
23579 info-libbacktrace: \
23580 configure-libbacktrace
23581 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23582 r=`${PWD_COMMAND}`; export r; \
23583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23584 $(HOST_EXPORTS) \
23585 for flag in $(EXTRA_HOST_FLAGS) ; do \
23586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23587 done; \
23588 echo "Doing info in libbacktrace"; \
23589 (cd $(HOST_SUBDIR)/libbacktrace && \
23590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23592 "RANLIB=$${RANLIB}" \
23593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23594 info) \
23595 || exit 1
23597 @endif libbacktrace
23599 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23600 maybe-dvi-libbacktrace:
23601 @if libbacktrace
23602 maybe-dvi-libbacktrace: dvi-libbacktrace
23604 dvi-libbacktrace: \
23605 configure-libbacktrace
23606 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23607 r=`${PWD_COMMAND}`; export r; \
23608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23609 $(HOST_EXPORTS) \
23610 for flag in $(EXTRA_HOST_FLAGS) ; do \
23611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23612 done; \
23613 echo "Doing dvi in libbacktrace"; \
23614 (cd $(HOST_SUBDIR)/libbacktrace && \
23615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23617 "RANLIB=$${RANLIB}" \
23618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23619 dvi) \
23620 || exit 1
23622 @endif libbacktrace
23624 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23625 maybe-pdf-libbacktrace:
23626 @if libbacktrace
23627 maybe-pdf-libbacktrace: pdf-libbacktrace
23629 pdf-libbacktrace: \
23630 configure-libbacktrace
23631 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23632 r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 for flag in $(EXTRA_HOST_FLAGS) ; do \
23636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23637 done; \
23638 echo "Doing pdf in libbacktrace"; \
23639 (cd $(HOST_SUBDIR)/libbacktrace && \
23640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23642 "RANLIB=$${RANLIB}" \
23643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23644 pdf) \
23645 || exit 1
23647 @endif libbacktrace
23649 .PHONY: maybe-html-libbacktrace html-libbacktrace
23650 maybe-html-libbacktrace:
23651 @if libbacktrace
23652 maybe-html-libbacktrace: html-libbacktrace
23654 html-libbacktrace: \
23655 configure-libbacktrace
23656 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23657 r=`${PWD_COMMAND}`; export r; \
23658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23659 $(HOST_EXPORTS) \
23660 for flag in $(EXTRA_HOST_FLAGS) ; do \
23661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23662 done; \
23663 echo "Doing html in libbacktrace"; \
23664 (cd $(HOST_SUBDIR)/libbacktrace && \
23665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23667 "RANLIB=$${RANLIB}" \
23668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23669 html) \
23670 || exit 1
23672 @endif libbacktrace
23674 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23675 maybe-TAGS-libbacktrace:
23676 @if libbacktrace
23677 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23679 TAGS-libbacktrace: \
23680 configure-libbacktrace
23681 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23682 r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(HOST_EXPORTS) \
23685 for flag in $(EXTRA_HOST_FLAGS) ; do \
23686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23687 done; \
23688 echo "Doing TAGS in libbacktrace"; \
23689 (cd $(HOST_SUBDIR)/libbacktrace && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23694 TAGS) \
23695 || exit 1
23697 @endif libbacktrace
23699 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23700 maybe-install-info-libbacktrace:
23701 @if libbacktrace
23702 maybe-install-info-libbacktrace: install-info-libbacktrace
23704 install-info-libbacktrace: \
23705 configure-libbacktrace \
23706 info-libbacktrace
23707 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(HOST_EXPORTS) \
23711 for flag in $(EXTRA_HOST_FLAGS) ; do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 done; \
23714 echo "Doing install-info in libbacktrace"; \
23715 (cd $(HOST_SUBDIR)/libbacktrace && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23720 install-info) \
23721 || exit 1
23723 @endif libbacktrace
23725 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23726 maybe-install-pdf-libbacktrace:
23727 @if libbacktrace
23728 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23730 install-pdf-libbacktrace: \
23731 configure-libbacktrace \
23732 pdf-libbacktrace
23733 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23734 r=`${PWD_COMMAND}`; export r; \
23735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23736 $(HOST_EXPORTS) \
23737 for flag in $(EXTRA_HOST_FLAGS) ; do \
23738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23739 done; \
23740 echo "Doing install-pdf in libbacktrace"; \
23741 (cd $(HOST_SUBDIR)/libbacktrace && \
23742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23744 "RANLIB=$${RANLIB}" \
23745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23746 install-pdf) \
23747 || exit 1
23749 @endif libbacktrace
23751 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23752 maybe-install-html-libbacktrace:
23753 @if libbacktrace
23754 maybe-install-html-libbacktrace: install-html-libbacktrace
23756 install-html-libbacktrace: \
23757 configure-libbacktrace \
23758 html-libbacktrace
23759 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23760 r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 $(HOST_EXPORTS) \
23763 for flag in $(EXTRA_HOST_FLAGS) ; do \
23764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23765 done; \
23766 echo "Doing install-html in libbacktrace"; \
23767 (cd $(HOST_SUBDIR)/libbacktrace && \
23768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23770 "RANLIB=$${RANLIB}" \
23771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23772 install-html) \
23773 || exit 1
23775 @endif libbacktrace
23777 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23778 maybe-installcheck-libbacktrace:
23779 @if libbacktrace
23780 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23782 installcheck-libbacktrace: \
23783 configure-libbacktrace
23784 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23785 r=`${PWD_COMMAND}`; export r; \
23786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23787 $(HOST_EXPORTS) \
23788 for flag in $(EXTRA_HOST_FLAGS) ; do \
23789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23790 done; \
23791 echo "Doing installcheck in libbacktrace"; \
23792 (cd $(HOST_SUBDIR)/libbacktrace && \
23793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23795 "RANLIB=$${RANLIB}" \
23796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23797 installcheck) \
23798 || exit 1
23800 @endif libbacktrace
23802 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23803 maybe-mostlyclean-libbacktrace:
23804 @if libbacktrace
23805 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23807 mostlyclean-libbacktrace:
23808 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23809 r=`${PWD_COMMAND}`; export r; \
23810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23811 $(HOST_EXPORTS) \
23812 for flag in $(EXTRA_HOST_FLAGS) ; do \
23813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23814 done; \
23815 echo "Doing mostlyclean in libbacktrace"; \
23816 (cd $(HOST_SUBDIR)/libbacktrace && \
23817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23819 "RANLIB=$${RANLIB}" \
23820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23821 mostlyclean) \
23822 || exit 1
23824 @endif libbacktrace
23826 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23827 maybe-clean-libbacktrace:
23828 @if libbacktrace
23829 maybe-clean-libbacktrace: clean-libbacktrace
23831 clean-libbacktrace:
23832 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23833 r=`${PWD_COMMAND}`; export r; \
23834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23835 $(HOST_EXPORTS) \
23836 for flag in $(EXTRA_HOST_FLAGS) ; do \
23837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23838 done; \
23839 echo "Doing clean in libbacktrace"; \
23840 (cd $(HOST_SUBDIR)/libbacktrace && \
23841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23843 "RANLIB=$${RANLIB}" \
23844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23845 clean) \
23846 || exit 1
23848 @endif libbacktrace
23850 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23851 maybe-distclean-libbacktrace:
23852 @if libbacktrace
23853 maybe-distclean-libbacktrace: distclean-libbacktrace
23855 distclean-libbacktrace:
23856 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(HOST_EXPORTS) \
23860 for flag in $(EXTRA_HOST_FLAGS) ; do \
23861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 done; \
23863 echo "Doing distclean in libbacktrace"; \
23864 (cd $(HOST_SUBDIR)/libbacktrace && \
23865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867 "RANLIB=$${RANLIB}" \
23868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23869 distclean) \
23870 || exit 1
23872 @endif libbacktrace
23874 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23875 maybe-maintainer-clean-libbacktrace:
23876 @if libbacktrace
23877 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23879 maintainer-clean-libbacktrace:
23880 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23881 r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883 $(HOST_EXPORTS) \
23884 for flag in $(EXTRA_HOST_FLAGS) ; do \
23885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23886 done; \
23887 echo "Doing maintainer-clean in libbacktrace"; \
23888 (cd $(HOST_SUBDIR)/libbacktrace && \
23889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891 "RANLIB=$${RANLIB}" \
23892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23893 maintainer-clean) \
23894 || exit 1
23896 @endif libbacktrace
23900 .PHONY: configure-libcpp maybe-configure-libcpp
23901 maybe-configure-libcpp:
23902 @if gcc-bootstrap
23903 configure-libcpp: stage_current
23904 @endif gcc-bootstrap
23905 @if libcpp
23906 maybe-configure-libcpp: configure-libcpp
23907 configure-libcpp:
23908 @r=`${PWD_COMMAND}`; export r; \
23909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23910 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23912 $(HOST_EXPORTS) \
23913 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23914 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23915 case $(srcdir) in \
23916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23917 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23919 esac; \
23920 module_srcdir=libcpp; \
23921 $(SHELL) \
23922 $$s/$$module_srcdir/configure \
23923 --srcdir=$${topdir}/$$module_srcdir \
23924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23925 --target=${target_alias} \
23926 || exit 1
23927 @endif libcpp
23931 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23932 maybe-configure-stage1-libcpp:
23933 @if libcpp-bootstrap
23934 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23935 configure-stage1-libcpp:
23936 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23938 @r=`${PWD_COMMAND}`; export r; \
23939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23940 TFLAGS="$(STAGE1_TFLAGS)"; \
23941 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23942 $(HOST_EXPORTS) \
23943 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23944 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23945 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23946 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23948 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23949 case $(srcdir) in \
23950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23951 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23953 esac; \
23954 module_srcdir=libcpp; \
23955 $(SHELL) $$s/$$module_srcdir/configure \
23956 --srcdir=$${topdir}/$$module_srcdir \
23957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23958 --target=${target_alias} \
23960 $(STAGE1_CONFIGURE_FLAGS)
23961 @endif libcpp-bootstrap
23963 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23964 maybe-configure-stage2-libcpp:
23965 @if libcpp-bootstrap
23966 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23967 configure-stage2-libcpp:
23968 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23970 @r=`${PWD_COMMAND}`; export r; \
23971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23972 TFLAGS="$(STAGE2_TFLAGS)"; \
23973 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23974 $(HOST_EXPORTS) \
23975 $(POSTSTAGE1_HOST_EXPORTS) \
23976 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23977 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23978 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23979 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23981 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23982 case $(srcdir) in \
23983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23984 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23986 esac; \
23987 module_srcdir=libcpp; \
23988 $(SHELL) $$s/$$module_srcdir/configure \
23989 --srcdir=$${topdir}/$$module_srcdir \
23990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23991 --target=${target_alias} \
23992 --with-build-libsubdir=$(HOST_SUBDIR) \
23993 $(STAGE2_CONFIGURE_FLAGS)
23994 @endif libcpp-bootstrap
23996 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23997 maybe-configure-stage3-libcpp:
23998 @if libcpp-bootstrap
23999 maybe-configure-stage3-libcpp: configure-stage3-libcpp
24000 configure-stage3-libcpp:
24001 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24003 @r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 TFLAGS="$(STAGE3_TFLAGS)"; \
24006 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24007 $(HOST_EXPORTS) \
24008 $(POSTSTAGE1_HOST_EXPORTS) \
24009 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24010 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24011 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24012 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
24013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24014 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24015 case $(srcdir) in \
24016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24017 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24019 esac; \
24020 module_srcdir=libcpp; \
24021 $(SHELL) $$s/$$module_srcdir/configure \
24022 --srcdir=$${topdir}/$$module_srcdir \
24023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24024 --target=${target_alias} \
24025 --with-build-libsubdir=$(HOST_SUBDIR) \
24026 $(STAGE3_CONFIGURE_FLAGS)
24027 @endif libcpp-bootstrap
24029 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24030 maybe-configure-stage4-libcpp:
24031 @if libcpp-bootstrap
24032 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24033 configure-stage4-libcpp:
24034 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24036 @r=`${PWD_COMMAND}`; export r; \
24037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24038 TFLAGS="$(STAGE4_TFLAGS)"; \
24039 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24040 $(HOST_EXPORTS) \
24041 $(POSTSTAGE1_HOST_EXPORTS) \
24042 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24043 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24044 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24045 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24047 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24048 case $(srcdir) in \
24049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24050 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24052 esac; \
24053 module_srcdir=libcpp; \
24054 $(SHELL) $$s/$$module_srcdir/configure \
24055 --srcdir=$${topdir}/$$module_srcdir \
24056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24057 --target=${target_alias} \
24058 --with-build-libsubdir=$(HOST_SUBDIR) \
24059 $(STAGE4_CONFIGURE_FLAGS)
24060 @endif libcpp-bootstrap
24062 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24063 maybe-configure-stageprofile-libcpp:
24064 @if libcpp-bootstrap
24065 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24066 configure-stageprofile-libcpp:
24067 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24069 @r=`${PWD_COMMAND}`; export r; \
24070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24071 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24072 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24073 $(HOST_EXPORTS) \
24074 $(POSTSTAGE1_HOST_EXPORTS) \
24075 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24076 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24077 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24078 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24080 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24081 case $(srcdir) in \
24082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24083 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24085 esac; \
24086 module_srcdir=libcpp; \
24087 $(SHELL) $$s/$$module_srcdir/configure \
24088 --srcdir=$${topdir}/$$module_srcdir \
24089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24090 --target=${target_alias} \
24091 --with-build-libsubdir=$(HOST_SUBDIR) \
24092 $(STAGEprofile_CONFIGURE_FLAGS)
24093 @endif libcpp-bootstrap
24095 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24096 maybe-configure-stagetrain-libcpp:
24097 @if libcpp-bootstrap
24098 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24099 configure-stagetrain-libcpp:
24100 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24102 @r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24105 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24106 $(HOST_EXPORTS) \
24107 $(POSTSTAGE1_HOST_EXPORTS) \
24108 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24109 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24110 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24111 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24113 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24114 case $(srcdir) in \
24115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24116 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24118 esac; \
24119 module_srcdir=libcpp; \
24120 $(SHELL) $$s/$$module_srcdir/configure \
24121 --srcdir=$${topdir}/$$module_srcdir \
24122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24123 --target=${target_alias} \
24124 --with-build-libsubdir=$(HOST_SUBDIR) \
24125 $(STAGEtrain_CONFIGURE_FLAGS)
24126 @endif libcpp-bootstrap
24128 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24129 maybe-configure-stagefeedback-libcpp:
24130 @if libcpp-bootstrap
24131 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24132 configure-stagefeedback-libcpp:
24133 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24135 @r=`${PWD_COMMAND}`; export r; \
24136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24138 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24139 $(HOST_EXPORTS) \
24140 $(POSTSTAGE1_HOST_EXPORTS) \
24141 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24142 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24143 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24144 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
24145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24146 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24147 case $(srcdir) in \
24148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24149 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24151 esac; \
24152 module_srcdir=libcpp; \
24153 $(SHELL) $$s/$$module_srcdir/configure \
24154 --srcdir=$${topdir}/$$module_srcdir \
24155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24156 --target=${target_alias} \
24157 --with-build-libsubdir=$(HOST_SUBDIR) \
24158 $(STAGEfeedback_CONFIGURE_FLAGS)
24159 @endif libcpp-bootstrap
24161 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
24162 maybe-configure-stageautoprofile-libcpp:
24163 @if libcpp-bootstrap
24164 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24165 configure-stageautoprofile-libcpp:
24166 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24168 @r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24171 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24172 $(HOST_EXPORTS) \
24173 $(POSTSTAGE1_HOST_EXPORTS) \
24174 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24175 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24176 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24177 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
24178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24179 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24180 case $(srcdir) in \
24181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24182 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24184 esac; \
24185 module_srcdir=libcpp; \
24186 $(SHELL) $$s/$$module_srcdir/configure \
24187 --srcdir=$${topdir}/$$module_srcdir \
24188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24189 --target=${target_alias} \
24190 --with-build-libsubdir=$(HOST_SUBDIR) \
24191 $(STAGEautoprofile_CONFIGURE_FLAGS)
24192 @endif libcpp-bootstrap
24194 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24195 maybe-configure-stageautofeedback-libcpp:
24196 @if libcpp-bootstrap
24197 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24198 configure-stageautofeedback-libcpp:
24199 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24201 @r=`${PWD_COMMAND}`; export r; \
24202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24203 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24204 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24205 $(HOST_EXPORTS) \
24206 $(POSTSTAGE1_HOST_EXPORTS) \
24207 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24208 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24209 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24210 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24212 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24213 case $(srcdir) in \
24214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24215 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24217 esac; \
24218 module_srcdir=libcpp; \
24219 $(SHELL) $$s/$$module_srcdir/configure \
24220 --srcdir=$${topdir}/$$module_srcdir \
24221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24222 --target=${target_alias} \
24223 --with-build-libsubdir=$(HOST_SUBDIR) \
24224 $(STAGEautofeedback_CONFIGURE_FLAGS)
24225 @endif libcpp-bootstrap
24231 .PHONY: all-libcpp maybe-all-libcpp
24232 maybe-all-libcpp:
24233 @if gcc-bootstrap
24234 all-libcpp: stage_current
24235 @endif gcc-bootstrap
24236 @if libcpp
24237 TARGET-libcpp=all
24238 maybe-all-libcpp: all-libcpp
24239 all-libcpp: configure-libcpp
24240 @r=`${PWD_COMMAND}`; export r; \
24241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 $(HOST_EXPORTS) \
24243 (cd $(HOST_SUBDIR)/libcpp && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24245 $(TARGET-libcpp))
24246 @endif libcpp
24250 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24251 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24252 maybe-all-stage1-libcpp:
24253 maybe-clean-stage1-libcpp:
24254 @if libcpp-bootstrap
24255 maybe-all-stage1-libcpp: all-stage1-libcpp
24256 all-stage1: all-stage1-libcpp
24257 TARGET-stage1-libcpp = $(TARGET-libcpp)
24258 all-stage1-libcpp: configure-stage1-libcpp
24259 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24260 @r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 TFLAGS="$(STAGE1_TFLAGS)"; \
24263 $(HOST_EXPORTS) \
24264 cd $(HOST_SUBDIR)/libcpp && \
24266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24267 CFLAGS="$(STAGE1_CFLAGS)" \
24268 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24269 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24270 LIBCFLAGS="$(LIBCFLAGS)" \
24271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24274 $(EXTRA_HOST_FLAGS) \
24275 $(STAGE1_FLAGS_TO_PASS) \
24276 TFLAGS="$(STAGE1_TFLAGS)" \
24277 $(TARGET-stage1-libcpp)
24279 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24280 clean-stage1: clean-stage1-libcpp
24281 clean-stage1-libcpp:
24282 @if [ $(current_stage) = stage1 ]; then \
24283 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24284 else \
24285 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24286 $(MAKE) stage1-start; \
24287 fi; \
24288 cd $(HOST_SUBDIR)/libcpp && \
24289 $(MAKE) $(EXTRA_HOST_FLAGS) \
24290 $(STAGE1_FLAGS_TO_PASS) clean
24291 @endif libcpp-bootstrap
24294 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24295 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24296 maybe-all-stage2-libcpp:
24297 maybe-clean-stage2-libcpp:
24298 @if libcpp-bootstrap
24299 maybe-all-stage2-libcpp: all-stage2-libcpp
24300 all-stage2: all-stage2-libcpp
24301 TARGET-stage2-libcpp = $(TARGET-libcpp)
24302 all-stage2-libcpp: configure-stage2-libcpp
24303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24304 @r=`${PWD_COMMAND}`; export r; \
24305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24306 TFLAGS="$(STAGE2_TFLAGS)"; \
24307 $(HOST_EXPORTS) \
24308 $(POSTSTAGE1_HOST_EXPORTS) \
24309 cd $(HOST_SUBDIR)/libcpp && \
24311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24312 CFLAGS="$(STAGE2_CFLAGS)" \
24313 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24314 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24315 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24320 TFLAGS="$(STAGE2_TFLAGS)" \
24321 $(TARGET-stage2-libcpp)
24323 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24324 clean-stage2: clean-stage2-libcpp
24325 clean-stage2-libcpp:
24326 @if [ $(current_stage) = stage2 ]; then \
24327 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24328 else \
24329 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24330 $(MAKE) stage2-start; \
24331 fi; \
24332 cd $(HOST_SUBDIR)/libcpp && \
24333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24334 @endif libcpp-bootstrap
24337 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24338 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24339 maybe-all-stage3-libcpp:
24340 maybe-clean-stage3-libcpp:
24341 @if libcpp-bootstrap
24342 maybe-all-stage3-libcpp: all-stage3-libcpp
24343 all-stage3: all-stage3-libcpp
24344 TARGET-stage3-libcpp = $(TARGET-libcpp)
24345 all-stage3-libcpp: configure-stage3-libcpp
24346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24347 @r=`${PWD_COMMAND}`; export r; \
24348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24349 TFLAGS="$(STAGE3_TFLAGS)"; \
24350 $(HOST_EXPORTS) \
24351 $(POSTSTAGE1_HOST_EXPORTS) \
24352 cd $(HOST_SUBDIR)/libcpp && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24355 CFLAGS="$(STAGE3_CFLAGS)" \
24356 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24357 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24358 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24363 TFLAGS="$(STAGE3_TFLAGS)" \
24364 $(TARGET-stage3-libcpp)
24366 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24367 clean-stage3: clean-stage3-libcpp
24368 clean-stage3-libcpp:
24369 @if [ $(current_stage) = stage3 ]; then \
24370 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24371 else \
24372 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24373 $(MAKE) stage3-start; \
24374 fi; \
24375 cd $(HOST_SUBDIR)/libcpp && \
24376 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24377 @endif libcpp-bootstrap
24380 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24381 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24382 maybe-all-stage4-libcpp:
24383 maybe-clean-stage4-libcpp:
24384 @if libcpp-bootstrap
24385 maybe-all-stage4-libcpp: all-stage4-libcpp
24386 all-stage4: all-stage4-libcpp
24387 TARGET-stage4-libcpp = $(TARGET-libcpp)
24388 all-stage4-libcpp: configure-stage4-libcpp
24389 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24390 @r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 TFLAGS="$(STAGE4_TFLAGS)"; \
24393 $(HOST_EXPORTS) \
24394 $(POSTSTAGE1_HOST_EXPORTS) \
24395 cd $(HOST_SUBDIR)/libcpp && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24398 CFLAGS="$(STAGE4_CFLAGS)" \
24399 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24400 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24401 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24406 TFLAGS="$(STAGE4_TFLAGS)" \
24407 $(TARGET-stage4-libcpp)
24409 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24410 clean-stage4: clean-stage4-libcpp
24411 clean-stage4-libcpp:
24412 @if [ $(current_stage) = stage4 ]; then \
24413 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24414 else \
24415 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24416 $(MAKE) stage4-start; \
24417 fi; \
24418 cd $(HOST_SUBDIR)/libcpp && \
24419 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24420 @endif libcpp-bootstrap
24423 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24424 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24425 maybe-all-stageprofile-libcpp:
24426 maybe-clean-stageprofile-libcpp:
24427 @if libcpp-bootstrap
24428 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24429 all-stageprofile: all-stageprofile-libcpp
24430 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24431 all-stageprofile-libcpp: configure-stageprofile-libcpp
24432 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24433 @r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24436 $(HOST_EXPORTS) \
24437 $(POSTSTAGE1_HOST_EXPORTS) \
24438 cd $(HOST_SUBDIR)/libcpp && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24441 CFLAGS="$(STAGEprofile_CFLAGS)" \
24442 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24443 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24444 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24449 TFLAGS="$(STAGEprofile_TFLAGS)" \
24450 $(TARGET-stageprofile-libcpp)
24452 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24453 clean-stageprofile: clean-stageprofile-libcpp
24454 clean-stageprofile-libcpp:
24455 @if [ $(current_stage) = stageprofile ]; then \
24456 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24457 else \
24458 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24459 $(MAKE) stageprofile-start; \
24460 fi; \
24461 cd $(HOST_SUBDIR)/libcpp && \
24462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24463 @endif libcpp-bootstrap
24466 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24467 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24468 maybe-all-stagetrain-libcpp:
24469 maybe-clean-stagetrain-libcpp:
24470 @if libcpp-bootstrap
24471 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24472 all-stagetrain: all-stagetrain-libcpp
24473 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24474 all-stagetrain-libcpp: configure-stagetrain-libcpp
24475 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24476 @r=`${PWD_COMMAND}`; export r; \
24477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24478 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24479 $(HOST_EXPORTS) \
24480 $(POSTSTAGE1_HOST_EXPORTS) \
24481 cd $(HOST_SUBDIR)/libcpp && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24484 CFLAGS="$(STAGEtrain_CFLAGS)" \
24485 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24486 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24487 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24492 TFLAGS="$(STAGEtrain_TFLAGS)" \
24493 $(TARGET-stagetrain-libcpp)
24495 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24496 clean-stagetrain: clean-stagetrain-libcpp
24497 clean-stagetrain-libcpp:
24498 @if [ $(current_stage) = stagetrain ]; then \
24499 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24500 else \
24501 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24502 $(MAKE) stagetrain-start; \
24503 fi; \
24504 cd $(HOST_SUBDIR)/libcpp && \
24505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24506 @endif libcpp-bootstrap
24509 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24510 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24511 maybe-all-stagefeedback-libcpp:
24512 maybe-clean-stagefeedback-libcpp:
24513 @if libcpp-bootstrap
24514 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24515 all-stagefeedback: all-stagefeedback-libcpp
24516 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24517 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24518 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24519 @r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24522 $(HOST_EXPORTS) \
24523 $(POSTSTAGE1_HOST_EXPORTS) \
24524 cd $(HOST_SUBDIR)/libcpp && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24527 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24528 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24529 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24530 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24534 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24535 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24536 $(TARGET-stagefeedback-libcpp)
24538 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24539 clean-stagefeedback: clean-stagefeedback-libcpp
24540 clean-stagefeedback-libcpp:
24541 @if [ $(current_stage) = stagefeedback ]; then \
24542 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24543 else \
24544 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24545 $(MAKE) stagefeedback-start; \
24546 fi; \
24547 cd $(HOST_SUBDIR)/libcpp && \
24548 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24549 @endif libcpp-bootstrap
24552 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24553 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24554 maybe-all-stageautoprofile-libcpp:
24555 maybe-clean-stageautoprofile-libcpp:
24556 @if libcpp-bootstrap
24557 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24558 all-stageautoprofile: all-stageautoprofile-libcpp
24559 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24560 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24561 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24562 @r=`${PWD_COMMAND}`; export r; \
24563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24565 $(HOST_EXPORTS) \
24566 $(POSTSTAGE1_HOST_EXPORTS) \
24567 cd $(HOST_SUBDIR)/libcpp && \
24568 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24570 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24571 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24572 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24573 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24578 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24579 $(TARGET-stageautoprofile-libcpp)
24581 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24582 clean-stageautoprofile: clean-stageautoprofile-libcpp
24583 clean-stageautoprofile-libcpp:
24584 @if [ $(current_stage) = stageautoprofile ]; then \
24585 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24586 else \
24587 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24588 $(MAKE) stageautoprofile-start; \
24589 fi; \
24590 cd $(HOST_SUBDIR)/libcpp && \
24591 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24592 @endif libcpp-bootstrap
24595 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24596 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24597 maybe-all-stageautofeedback-libcpp:
24598 maybe-clean-stageautofeedback-libcpp:
24599 @if libcpp-bootstrap
24600 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24601 all-stageautofeedback: all-stageautofeedback-libcpp
24602 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24603 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24604 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24605 @r=`${PWD_COMMAND}`; export r; \
24606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24607 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24608 $(HOST_EXPORTS) \
24609 $(POSTSTAGE1_HOST_EXPORTS) \
24610 cd $(HOST_SUBDIR)/libcpp && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24613 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24614 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24615 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24616 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24621 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24622 $(TARGET-stageautofeedback-libcpp)
24624 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24625 clean-stageautofeedback: clean-stageautofeedback-libcpp
24626 clean-stageautofeedback-libcpp:
24627 @if [ $(current_stage) = stageautofeedback ]; then \
24628 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24629 else \
24630 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24631 $(MAKE) stageautofeedback-start; \
24632 fi; \
24633 cd $(HOST_SUBDIR)/libcpp && \
24634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24635 @endif libcpp-bootstrap
24641 .PHONY: check-libcpp maybe-check-libcpp
24642 maybe-check-libcpp:
24643 @if libcpp
24644 maybe-check-libcpp: check-libcpp
24646 check-libcpp:
24647 @: $(MAKE); $(unstage)
24648 @r=`${PWD_COMMAND}`; export r; \
24649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24650 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24651 (cd $(HOST_SUBDIR)/libcpp && \
24652 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24654 @endif libcpp
24656 .PHONY: install-libcpp maybe-install-libcpp
24657 maybe-install-libcpp:
24658 @if libcpp
24659 maybe-install-libcpp: install-libcpp
24661 install-libcpp: installdirs
24662 @: $(MAKE); $(unstage)
24663 @r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 $(HOST_EXPORTS) \
24666 (cd $(HOST_SUBDIR)/libcpp && \
24667 $(MAKE) $(FLAGS_TO_PASS) install)
24669 @endif libcpp
24671 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24672 maybe-install-strip-libcpp:
24673 @if libcpp
24674 maybe-install-strip-libcpp: install-strip-libcpp
24676 install-strip-libcpp: installdirs
24677 @: $(MAKE); $(unstage)
24678 @r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(HOST_EXPORTS) \
24681 (cd $(HOST_SUBDIR)/libcpp && \
24682 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24684 @endif libcpp
24686 # Other targets (info, dvi, pdf, etc.)
24688 .PHONY: maybe-info-libcpp info-libcpp
24689 maybe-info-libcpp:
24690 @if libcpp
24691 maybe-info-libcpp: info-libcpp
24693 info-libcpp: \
24694 configure-libcpp
24695 @[ -f ./libcpp/Makefile ] || exit 0; \
24696 r=`${PWD_COMMAND}`; export r; \
24697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24698 $(HOST_EXPORTS) \
24699 for flag in $(EXTRA_HOST_FLAGS) ; do \
24700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24701 done; \
24702 echo "Doing info in libcpp"; \
24703 (cd $(HOST_SUBDIR)/libcpp && \
24704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24706 "RANLIB=$${RANLIB}" \
24707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24708 info) \
24709 || exit 1
24711 @endif libcpp
24713 .PHONY: maybe-dvi-libcpp dvi-libcpp
24714 maybe-dvi-libcpp:
24715 @if libcpp
24716 maybe-dvi-libcpp: dvi-libcpp
24718 dvi-libcpp: \
24719 configure-libcpp
24720 @[ -f ./libcpp/Makefile ] || exit 0; \
24721 r=`${PWD_COMMAND}`; export r; \
24722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24723 $(HOST_EXPORTS) \
24724 for flag in $(EXTRA_HOST_FLAGS) ; do \
24725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24726 done; \
24727 echo "Doing dvi in libcpp"; \
24728 (cd $(HOST_SUBDIR)/libcpp && \
24729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24731 "RANLIB=$${RANLIB}" \
24732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24733 dvi) \
24734 || exit 1
24736 @endif libcpp
24738 .PHONY: maybe-pdf-libcpp pdf-libcpp
24739 maybe-pdf-libcpp:
24740 @if libcpp
24741 maybe-pdf-libcpp: pdf-libcpp
24743 pdf-libcpp: \
24744 configure-libcpp
24745 @[ -f ./libcpp/Makefile ] || exit 0; \
24746 r=`${PWD_COMMAND}`; export r; \
24747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24748 $(HOST_EXPORTS) \
24749 for flag in $(EXTRA_HOST_FLAGS) ; do \
24750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24751 done; \
24752 echo "Doing pdf in libcpp"; \
24753 (cd $(HOST_SUBDIR)/libcpp && \
24754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24756 "RANLIB=$${RANLIB}" \
24757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24758 pdf) \
24759 || exit 1
24761 @endif libcpp
24763 .PHONY: maybe-html-libcpp html-libcpp
24764 maybe-html-libcpp:
24765 @if libcpp
24766 maybe-html-libcpp: html-libcpp
24768 html-libcpp: \
24769 configure-libcpp
24770 @[ -f ./libcpp/Makefile ] || exit 0; \
24771 r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24773 $(HOST_EXPORTS) \
24774 for flag in $(EXTRA_HOST_FLAGS) ; do \
24775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24776 done; \
24777 echo "Doing html in libcpp"; \
24778 (cd $(HOST_SUBDIR)/libcpp && \
24779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24781 "RANLIB=$${RANLIB}" \
24782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24783 html) \
24784 || exit 1
24786 @endif libcpp
24788 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24789 maybe-TAGS-libcpp:
24790 @if libcpp
24791 maybe-TAGS-libcpp: TAGS-libcpp
24793 TAGS-libcpp: \
24794 configure-libcpp
24795 @[ -f ./libcpp/Makefile ] || exit 0; \
24796 r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(HOST_EXPORTS) \
24799 for flag in $(EXTRA_HOST_FLAGS) ; do \
24800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24801 done; \
24802 echo "Doing TAGS in libcpp"; \
24803 (cd $(HOST_SUBDIR)/libcpp && \
24804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24806 "RANLIB=$${RANLIB}" \
24807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24808 TAGS) \
24809 || exit 1
24811 @endif libcpp
24813 .PHONY: maybe-install-info-libcpp install-info-libcpp
24814 maybe-install-info-libcpp:
24815 @if libcpp
24816 maybe-install-info-libcpp: install-info-libcpp
24818 install-info-libcpp: \
24819 configure-libcpp \
24820 info-libcpp
24821 @[ -f ./libcpp/Makefile ] || exit 0; \
24822 r=`${PWD_COMMAND}`; export r; \
24823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24824 $(HOST_EXPORTS) \
24825 for flag in $(EXTRA_HOST_FLAGS) ; do \
24826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24827 done; \
24828 echo "Doing install-info in libcpp"; \
24829 (cd $(HOST_SUBDIR)/libcpp && \
24830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24832 "RANLIB=$${RANLIB}" \
24833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24834 install-info) \
24835 || exit 1
24837 @endif libcpp
24839 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24840 maybe-install-pdf-libcpp:
24841 @if libcpp
24842 maybe-install-pdf-libcpp: install-pdf-libcpp
24844 install-pdf-libcpp: \
24845 configure-libcpp \
24846 pdf-libcpp
24847 @[ -f ./libcpp/Makefile ] || exit 0; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 for flag in $(EXTRA_HOST_FLAGS) ; do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853 done; \
24854 echo "Doing install-pdf in libcpp"; \
24855 (cd $(HOST_SUBDIR)/libcpp && \
24856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24858 "RANLIB=$${RANLIB}" \
24859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24860 install-pdf) \
24861 || exit 1
24863 @endif libcpp
24865 .PHONY: maybe-install-html-libcpp install-html-libcpp
24866 maybe-install-html-libcpp:
24867 @if libcpp
24868 maybe-install-html-libcpp: install-html-libcpp
24870 install-html-libcpp: \
24871 configure-libcpp \
24872 html-libcpp
24873 @[ -f ./libcpp/Makefile ] || exit 0; \
24874 r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 $(HOST_EXPORTS) \
24877 for flag in $(EXTRA_HOST_FLAGS) ; do \
24878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24879 done; \
24880 echo "Doing install-html in libcpp"; \
24881 (cd $(HOST_SUBDIR)/libcpp && \
24882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24884 "RANLIB=$${RANLIB}" \
24885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24886 install-html) \
24887 || exit 1
24889 @endif libcpp
24891 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24892 maybe-installcheck-libcpp:
24893 @if libcpp
24894 maybe-installcheck-libcpp: installcheck-libcpp
24896 installcheck-libcpp: \
24897 configure-libcpp
24898 @[ -f ./libcpp/Makefile ] || exit 0; \
24899 r=`${PWD_COMMAND}`; export r; \
24900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24901 $(HOST_EXPORTS) \
24902 for flag in $(EXTRA_HOST_FLAGS) ; do \
24903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24904 done; \
24905 echo "Doing installcheck in libcpp"; \
24906 (cd $(HOST_SUBDIR)/libcpp && \
24907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24909 "RANLIB=$${RANLIB}" \
24910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24911 installcheck) \
24912 || exit 1
24914 @endif libcpp
24916 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24917 maybe-mostlyclean-libcpp:
24918 @if libcpp
24919 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24921 mostlyclean-libcpp:
24922 @[ -f ./libcpp/Makefile ] || exit 0; \
24923 r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 $(HOST_EXPORTS) \
24926 for flag in $(EXTRA_HOST_FLAGS) ; do \
24927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24928 done; \
24929 echo "Doing mostlyclean in libcpp"; \
24930 (cd $(HOST_SUBDIR)/libcpp && \
24931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24933 "RANLIB=$${RANLIB}" \
24934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24935 mostlyclean) \
24936 || exit 1
24938 @endif libcpp
24940 .PHONY: maybe-clean-libcpp clean-libcpp
24941 maybe-clean-libcpp:
24942 @if libcpp
24943 maybe-clean-libcpp: clean-libcpp
24945 clean-libcpp:
24946 @[ -f ./libcpp/Makefile ] || exit 0; \
24947 r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 $(HOST_EXPORTS) \
24950 for flag in $(EXTRA_HOST_FLAGS) ; do \
24951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24952 done; \
24953 echo "Doing clean in libcpp"; \
24954 (cd $(HOST_SUBDIR)/libcpp && \
24955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24957 "RANLIB=$${RANLIB}" \
24958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24959 clean) \
24960 || exit 1
24962 @endif libcpp
24964 .PHONY: maybe-distclean-libcpp distclean-libcpp
24965 maybe-distclean-libcpp:
24966 @if libcpp
24967 maybe-distclean-libcpp: distclean-libcpp
24969 distclean-libcpp:
24970 @[ -f ./libcpp/Makefile ] || exit 0; \
24971 r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(HOST_EXPORTS) \
24974 for flag in $(EXTRA_HOST_FLAGS) ; do \
24975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24976 done; \
24977 echo "Doing distclean in libcpp"; \
24978 (cd $(HOST_SUBDIR)/libcpp && \
24979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24981 "RANLIB=$${RANLIB}" \
24982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24983 distclean) \
24984 || exit 1
24986 @endif libcpp
24988 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24989 maybe-maintainer-clean-libcpp:
24990 @if libcpp
24991 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24993 maintainer-clean-libcpp:
24994 @[ -f ./libcpp/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 maintainer-clean in libcpp"; \
25002 (cd $(HOST_SUBDIR)/libcpp && \
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 maintainer-clean) \
25008 || exit 1
25010 @endif libcpp
25014 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
25015 maybe-configure-libdecnumber:
25016 @if gcc-bootstrap
25017 configure-libdecnumber: stage_current
25018 @endif gcc-bootstrap
25019 @if libdecnumber
25020 maybe-configure-libdecnumber: configure-libdecnumber
25021 configure-libdecnumber:
25022 @r=`${PWD_COMMAND}`; export r; \
25023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25024 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25026 $(HOST_EXPORTS) \
25027 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
25028 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
25029 case $(srcdir) in \
25030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25031 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25033 esac; \
25034 module_srcdir=libdecnumber; \
25035 $(SHELL) \
25036 $$s/$$module_srcdir/configure \
25037 --srcdir=$${topdir}/$$module_srcdir \
25038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25039 --target=${target_alias} \
25040 || exit 1
25041 @endif libdecnumber
25045 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
25046 maybe-configure-stage1-libdecnumber:
25047 @if libdecnumber-bootstrap
25048 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
25049 configure-stage1-libdecnumber:
25050 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25052 @r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 TFLAGS="$(STAGE1_TFLAGS)"; \
25055 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25056 $(HOST_EXPORTS) \
25057 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25058 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25059 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25060 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
25061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25062 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25063 case $(srcdir) in \
25064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25065 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25067 esac; \
25068 module_srcdir=libdecnumber; \
25069 $(SHELL) $$s/$$module_srcdir/configure \
25070 --srcdir=$${topdir}/$$module_srcdir \
25071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25072 --target=${target_alias} \
25074 $(STAGE1_CONFIGURE_FLAGS)
25075 @endif libdecnumber-bootstrap
25077 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
25078 maybe-configure-stage2-libdecnumber:
25079 @if libdecnumber-bootstrap
25080 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
25081 configure-stage2-libdecnumber:
25082 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25084 @r=`${PWD_COMMAND}`; export r; \
25085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25086 TFLAGS="$(STAGE2_TFLAGS)"; \
25087 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25088 $(HOST_EXPORTS) \
25089 $(POSTSTAGE1_HOST_EXPORTS) \
25090 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25091 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25092 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25093 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
25094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25095 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25096 case $(srcdir) in \
25097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25098 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25100 esac; \
25101 module_srcdir=libdecnumber; \
25102 $(SHELL) $$s/$$module_srcdir/configure \
25103 --srcdir=$${topdir}/$$module_srcdir \
25104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25105 --target=${target_alias} \
25106 --with-build-libsubdir=$(HOST_SUBDIR) \
25107 $(STAGE2_CONFIGURE_FLAGS)
25108 @endif libdecnumber-bootstrap
25110 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
25111 maybe-configure-stage3-libdecnumber:
25112 @if libdecnumber-bootstrap
25113 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
25114 configure-stage3-libdecnumber:
25115 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25117 @r=`${PWD_COMMAND}`; export r; \
25118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25119 TFLAGS="$(STAGE3_TFLAGS)"; \
25120 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25121 $(HOST_EXPORTS) \
25122 $(POSTSTAGE1_HOST_EXPORTS) \
25123 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25124 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25125 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25126 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
25127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25128 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25129 case $(srcdir) in \
25130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25131 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25133 esac; \
25134 module_srcdir=libdecnumber; \
25135 $(SHELL) $$s/$$module_srcdir/configure \
25136 --srcdir=$${topdir}/$$module_srcdir \
25137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25138 --target=${target_alias} \
25139 --with-build-libsubdir=$(HOST_SUBDIR) \
25140 $(STAGE3_CONFIGURE_FLAGS)
25141 @endif libdecnumber-bootstrap
25143 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
25144 maybe-configure-stage4-libdecnumber:
25145 @if libdecnumber-bootstrap
25146 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
25147 configure-stage4-libdecnumber:
25148 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25150 @r=`${PWD_COMMAND}`; export r; \
25151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25152 TFLAGS="$(STAGE4_TFLAGS)"; \
25153 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25154 $(HOST_EXPORTS) \
25155 $(POSTSTAGE1_HOST_EXPORTS) \
25156 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25157 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25158 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25159 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
25160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25161 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25162 case $(srcdir) in \
25163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25164 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25166 esac; \
25167 module_srcdir=libdecnumber; \
25168 $(SHELL) $$s/$$module_srcdir/configure \
25169 --srcdir=$${topdir}/$$module_srcdir \
25170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25171 --target=${target_alias} \
25172 --with-build-libsubdir=$(HOST_SUBDIR) \
25173 $(STAGE4_CONFIGURE_FLAGS)
25174 @endif libdecnumber-bootstrap
25176 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
25177 maybe-configure-stageprofile-libdecnumber:
25178 @if libdecnumber-bootstrap
25179 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25180 configure-stageprofile-libdecnumber:
25181 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25183 @r=`${PWD_COMMAND}`; export r; \
25184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25185 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25186 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25187 $(HOST_EXPORTS) \
25188 $(POSTSTAGE1_HOST_EXPORTS) \
25189 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25190 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25191 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25192 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
25193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25194 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25195 case $(srcdir) in \
25196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25197 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25199 esac; \
25200 module_srcdir=libdecnumber; \
25201 $(SHELL) $$s/$$module_srcdir/configure \
25202 --srcdir=$${topdir}/$$module_srcdir \
25203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25204 --target=${target_alias} \
25205 --with-build-libsubdir=$(HOST_SUBDIR) \
25206 $(STAGEprofile_CONFIGURE_FLAGS)
25207 @endif libdecnumber-bootstrap
25209 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25210 maybe-configure-stagetrain-libdecnumber:
25211 @if libdecnumber-bootstrap
25212 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25213 configure-stagetrain-libdecnumber:
25214 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25216 @r=`${PWD_COMMAND}`; export r; \
25217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25219 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25220 $(HOST_EXPORTS) \
25221 $(POSTSTAGE1_HOST_EXPORTS) \
25222 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25223 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25224 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25225 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25227 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25228 case $(srcdir) in \
25229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25230 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25232 esac; \
25233 module_srcdir=libdecnumber; \
25234 $(SHELL) $$s/$$module_srcdir/configure \
25235 --srcdir=$${topdir}/$$module_srcdir \
25236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25237 --target=${target_alias} \
25238 --with-build-libsubdir=$(HOST_SUBDIR) \
25239 $(STAGEtrain_CONFIGURE_FLAGS)
25240 @endif libdecnumber-bootstrap
25242 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25243 maybe-configure-stagefeedback-libdecnumber:
25244 @if libdecnumber-bootstrap
25245 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25246 configure-stagefeedback-libdecnumber:
25247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25249 @r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25252 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25253 $(HOST_EXPORTS) \
25254 $(POSTSTAGE1_HOST_EXPORTS) \
25255 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25256 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25257 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25258 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25260 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25261 case $(srcdir) in \
25262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25263 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25265 esac; \
25266 module_srcdir=libdecnumber; \
25267 $(SHELL) $$s/$$module_srcdir/configure \
25268 --srcdir=$${topdir}/$$module_srcdir \
25269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25270 --target=${target_alias} \
25271 --with-build-libsubdir=$(HOST_SUBDIR) \
25272 $(STAGEfeedback_CONFIGURE_FLAGS)
25273 @endif libdecnumber-bootstrap
25275 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25276 maybe-configure-stageautoprofile-libdecnumber:
25277 @if libdecnumber-bootstrap
25278 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25279 configure-stageautoprofile-libdecnumber:
25280 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25282 @r=`${PWD_COMMAND}`; export r; \
25283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25284 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25285 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25286 $(HOST_EXPORTS) \
25287 $(POSTSTAGE1_HOST_EXPORTS) \
25288 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25289 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25290 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25291 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25293 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25294 case $(srcdir) in \
25295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25296 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25298 esac; \
25299 module_srcdir=libdecnumber; \
25300 $(SHELL) $$s/$$module_srcdir/configure \
25301 --srcdir=$${topdir}/$$module_srcdir \
25302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25303 --target=${target_alias} \
25304 --with-build-libsubdir=$(HOST_SUBDIR) \
25305 $(STAGEautoprofile_CONFIGURE_FLAGS)
25306 @endif libdecnumber-bootstrap
25308 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25309 maybe-configure-stageautofeedback-libdecnumber:
25310 @if libdecnumber-bootstrap
25311 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25312 configure-stageautofeedback-libdecnumber:
25313 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25315 @r=`${PWD_COMMAND}`; export r; \
25316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25318 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25319 $(HOST_EXPORTS) \
25320 $(POSTSTAGE1_HOST_EXPORTS) \
25321 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25322 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25323 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25324 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25326 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25327 case $(srcdir) in \
25328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25329 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25331 esac; \
25332 module_srcdir=libdecnumber; \
25333 $(SHELL) $$s/$$module_srcdir/configure \
25334 --srcdir=$${topdir}/$$module_srcdir \
25335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25336 --target=${target_alias} \
25337 --with-build-libsubdir=$(HOST_SUBDIR) \
25338 $(STAGEautofeedback_CONFIGURE_FLAGS)
25339 @endif libdecnumber-bootstrap
25345 .PHONY: all-libdecnumber maybe-all-libdecnumber
25346 maybe-all-libdecnumber:
25347 @if gcc-bootstrap
25348 all-libdecnumber: stage_current
25349 @endif gcc-bootstrap
25350 @if libdecnumber
25351 TARGET-libdecnumber=all
25352 maybe-all-libdecnumber: all-libdecnumber
25353 all-libdecnumber: configure-libdecnumber
25354 @r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 $(HOST_EXPORTS) \
25357 (cd $(HOST_SUBDIR)/libdecnumber && \
25358 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25359 $(TARGET-libdecnumber))
25360 @endif libdecnumber
25364 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25365 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25366 maybe-all-stage1-libdecnumber:
25367 maybe-clean-stage1-libdecnumber:
25368 @if libdecnumber-bootstrap
25369 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25370 all-stage1: all-stage1-libdecnumber
25371 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25372 all-stage1-libdecnumber: configure-stage1-libdecnumber
25373 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25374 @r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 TFLAGS="$(STAGE1_TFLAGS)"; \
25377 $(HOST_EXPORTS) \
25378 cd $(HOST_SUBDIR)/libdecnumber && \
25380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25381 CFLAGS="$(STAGE1_CFLAGS)" \
25382 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25383 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25384 LIBCFLAGS="$(LIBCFLAGS)" \
25385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25388 $(EXTRA_HOST_FLAGS) \
25389 $(STAGE1_FLAGS_TO_PASS) \
25390 TFLAGS="$(STAGE1_TFLAGS)" \
25391 $(TARGET-stage1-libdecnumber)
25393 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25394 clean-stage1: clean-stage1-libdecnumber
25395 clean-stage1-libdecnumber:
25396 @if [ $(current_stage) = stage1 ]; then \
25397 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25398 else \
25399 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25400 $(MAKE) stage1-start; \
25401 fi; \
25402 cd $(HOST_SUBDIR)/libdecnumber && \
25403 $(MAKE) $(EXTRA_HOST_FLAGS) \
25404 $(STAGE1_FLAGS_TO_PASS) clean
25405 @endif libdecnumber-bootstrap
25408 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25409 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25410 maybe-all-stage2-libdecnumber:
25411 maybe-clean-stage2-libdecnumber:
25412 @if libdecnumber-bootstrap
25413 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25414 all-stage2: all-stage2-libdecnumber
25415 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25416 all-stage2-libdecnumber: configure-stage2-libdecnumber
25417 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25418 @r=`${PWD_COMMAND}`; export r; \
25419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25420 TFLAGS="$(STAGE2_TFLAGS)"; \
25421 $(HOST_EXPORTS) \
25422 $(POSTSTAGE1_HOST_EXPORTS) \
25423 cd $(HOST_SUBDIR)/libdecnumber && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25426 CFLAGS="$(STAGE2_CFLAGS)" \
25427 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25428 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25429 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25434 TFLAGS="$(STAGE2_TFLAGS)" \
25435 $(TARGET-stage2-libdecnumber)
25437 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25438 clean-stage2: clean-stage2-libdecnumber
25439 clean-stage2-libdecnumber:
25440 @if [ $(current_stage) = stage2 ]; then \
25441 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25442 else \
25443 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25444 $(MAKE) stage2-start; \
25445 fi; \
25446 cd $(HOST_SUBDIR)/libdecnumber && \
25447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25448 @endif libdecnumber-bootstrap
25451 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25452 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25453 maybe-all-stage3-libdecnumber:
25454 maybe-clean-stage3-libdecnumber:
25455 @if libdecnumber-bootstrap
25456 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25457 all-stage3: all-stage3-libdecnumber
25458 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25459 all-stage3-libdecnumber: configure-stage3-libdecnumber
25460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25461 @r=`${PWD_COMMAND}`; export r; \
25462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 TFLAGS="$(STAGE3_TFLAGS)"; \
25464 $(HOST_EXPORTS) \
25465 $(POSTSTAGE1_HOST_EXPORTS) \
25466 cd $(HOST_SUBDIR)/libdecnumber && \
25468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25469 CFLAGS="$(STAGE3_CFLAGS)" \
25470 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25471 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25472 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25473 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25474 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25475 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25476 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25477 TFLAGS="$(STAGE3_TFLAGS)" \
25478 $(TARGET-stage3-libdecnumber)
25480 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25481 clean-stage3: clean-stage3-libdecnumber
25482 clean-stage3-libdecnumber:
25483 @if [ $(current_stage) = stage3 ]; then \
25484 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25485 else \
25486 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25487 $(MAKE) stage3-start; \
25488 fi; \
25489 cd $(HOST_SUBDIR)/libdecnumber && \
25490 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25491 @endif libdecnumber-bootstrap
25494 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25495 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25496 maybe-all-stage4-libdecnumber:
25497 maybe-clean-stage4-libdecnumber:
25498 @if libdecnumber-bootstrap
25499 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25500 all-stage4: all-stage4-libdecnumber
25501 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25502 all-stage4-libdecnumber: configure-stage4-libdecnumber
25503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25504 @r=`${PWD_COMMAND}`; export r; \
25505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25506 TFLAGS="$(STAGE4_TFLAGS)"; \
25507 $(HOST_EXPORTS) \
25508 $(POSTSTAGE1_HOST_EXPORTS) \
25509 cd $(HOST_SUBDIR)/libdecnumber && \
25511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25512 CFLAGS="$(STAGE4_CFLAGS)" \
25513 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25514 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25515 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25519 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25520 TFLAGS="$(STAGE4_TFLAGS)" \
25521 $(TARGET-stage4-libdecnumber)
25523 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25524 clean-stage4: clean-stage4-libdecnumber
25525 clean-stage4-libdecnumber:
25526 @if [ $(current_stage) = stage4 ]; then \
25527 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25528 else \
25529 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25530 $(MAKE) stage4-start; \
25531 fi; \
25532 cd $(HOST_SUBDIR)/libdecnumber && \
25533 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25534 @endif libdecnumber-bootstrap
25537 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25538 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25539 maybe-all-stageprofile-libdecnumber:
25540 maybe-clean-stageprofile-libdecnumber:
25541 @if libdecnumber-bootstrap
25542 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25543 all-stageprofile: all-stageprofile-libdecnumber
25544 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25545 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25546 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25547 @r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25550 $(HOST_EXPORTS) \
25551 $(POSTSTAGE1_HOST_EXPORTS) \
25552 cd $(HOST_SUBDIR)/libdecnumber && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25555 CFLAGS="$(STAGEprofile_CFLAGS)" \
25556 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25557 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25558 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25563 TFLAGS="$(STAGEprofile_TFLAGS)" \
25564 $(TARGET-stageprofile-libdecnumber)
25566 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25567 clean-stageprofile: clean-stageprofile-libdecnumber
25568 clean-stageprofile-libdecnumber:
25569 @if [ $(current_stage) = stageprofile ]; then \
25570 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25571 else \
25572 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25573 $(MAKE) stageprofile-start; \
25574 fi; \
25575 cd $(HOST_SUBDIR)/libdecnumber && \
25576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25577 @endif libdecnumber-bootstrap
25580 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25581 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25582 maybe-all-stagetrain-libdecnumber:
25583 maybe-clean-stagetrain-libdecnumber:
25584 @if libdecnumber-bootstrap
25585 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25586 all-stagetrain: all-stagetrain-libdecnumber
25587 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25588 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25589 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25590 @r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25593 $(HOST_EXPORTS) \
25594 $(POSTSTAGE1_HOST_EXPORTS) \
25595 cd $(HOST_SUBDIR)/libdecnumber && \
25597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25598 CFLAGS="$(STAGEtrain_CFLAGS)" \
25599 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25600 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25601 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25605 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25606 TFLAGS="$(STAGEtrain_TFLAGS)" \
25607 $(TARGET-stagetrain-libdecnumber)
25609 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25610 clean-stagetrain: clean-stagetrain-libdecnumber
25611 clean-stagetrain-libdecnumber:
25612 @if [ $(current_stage) = stagetrain ]; then \
25613 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25614 else \
25615 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25616 $(MAKE) stagetrain-start; \
25617 fi; \
25618 cd $(HOST_SUBDIR)/libdecnumber && \
25619 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25620 @endif libdecnumber-bootstrap
25623 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25624 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25625 maybe-all-stagefeedback-libdecnumber:
25626 maybe-clean-stagefeedback-libdecnumber:
25627 @if libdecnumber-bootstrap
25628 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25629 all-stagefeedback: all-stagefeedback-libdecnumber
25630 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25631 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25632 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25633 @r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25636 $(HOST_EXPORTS) \
25637 $(POSTSTAGE1_HOST_EXPORTS) \
25638 cd $(HOST_SUBDIR)/libdecnumber && \
25640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25641 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25642 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25643 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25644 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25649 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25650 $(TARGET-stagefeedback-libdecnumber)
25652 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25653 clean-stagefeedback: clean-stagefeedback-libdecnumber
25654 clean-stagefeedback-libdecnumber:
25655 @if [ $(current_stage) = stagefeedback ]; then \
25656 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25657 else \
25658 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25659 $(MAKE) stagefeedback-start; \
25660 fi; \
25661 cd $(HOST_SUBDIR)/libdecnumber && \
25662 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25663 @endif libdecnumber-bootstrap
25666 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25667 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25668 maybe-all-stageautoprofile-libdecnumber:
25669 maybe-clean-stageautoprofile-libdecnumber:
25670 @if libdecnumber-bootstrap
25671 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25672 all-stageautoprofile: all-stageautoprofile-libdecnumber
25673 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25674 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25675 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25676 @r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25679 $(HOST_EXPORTS) \
25680 $(POSTSTAGE1_HOST_EXPORTS) \
25681 cd $(HOST_SUBDIR)/libdecnumber && \
25682 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25684 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25685 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25686 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25687 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25692 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25693 $(TARGET-stageautoprofile-libdecnumber)
25695 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25696 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25697 clean-stageautoprofile-libdecnumber:
25698 @if [ $(current_stage) = stageautoprofile ]; then \
25699 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25700 else \
25701 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25702 $(MAKE) stageautoprofile-start; \
25703 fi; \
25704 cd $(HOST_SUBDIR)/libdecnumber && \
25705 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25706 @endif libdecnumber-bootstrap
25709 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25710 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25711 maybe-all-stageautofeedback-libdecnumber:
25712 maybe-clean-stageautofeedback-libdecnumber:
25713 @if libdecnumber-bootstrap
25714 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25715 all-stageautofeedback: all-stageautofeedback-libdecnumber
25716 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25717 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25718 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25719 @r=`${PWD_COMMAND}`; export r; \
25720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25722 $(HOST_EXPORTS) \
25723 $(POSTSTAGE1_HOST_EXPORTS) \
25724 cd $(HOST_SUBDIR)/libdecnumber && \
25726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25727 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25728 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25729 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25730 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25735 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25736 $(TARGET-stageautofeedback-libdecnumber)
25738 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25739 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25740 clean-stageautofeedback-libdecnumber:
25741 @if [ $(current_stage) = stageautofeedback ]; then \
25742 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25743 else \
25744 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25745 $(MAKE) stageautofeedback-start; \
25746 fi; \
25747 cd $(HOST_SUBDIR)/libdecnumber && \
25748 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25749 @endif libdecnumber-bootstrap
25755 .PHONY: check-libdecnumber maybe-check-libdecnumber
25756 maybe-check-libdecnumber:
25757 @if libdecnumber
25758 maybe-check-libdecnumber: check-libdecnumber
25760 check-libdecnumber:
25761 @: $(MAKE); $(unstage)
25762 @r=`${PWD_COMMAND}`; export r; \
25763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25764 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25765 (cd $(HOST_SUBDIR)/libdecnumber && \
25766 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25768 @endif libdecnumber
25770 .PHONY: install-libdecnumber maybe-install-libdecnumber
25771 maybe-install-libdecnumber:
25772 @if libdecnumber
25773 maybe-install-libdecnumber: install-libdecnumber
25775 install-libdecnumber: installdirs
25776 @: $(MAKE); $(unstage)
25777 @r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(HOST_EXPORTS) \
25780 (cd $(HOST_SUBDIR)/libdecnumber && \
25781 $(MAKE) $(FLAGS_TO_PASS) install)
25783 @endif libdecnumber
25785 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25786 maybe-install-strip-libdecnumber:
25787 @if libdecnumber
25788 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25790 install-strip-libdecnumber: installdirs
25791 @: $(MAKE); $(unstage)
25792 @r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(HOST_EXPORTS) \
25795 (cd $(HOST_SUBDIR)/libdecnumber && \
25796 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25798 @endif libdecnumber
25800 # Other targets (info, dvi, pdf, etc.)
25802 .PHONY: maybe-info-libdecnumber info-libdecnumber
25803 maybe-info-libdecnumber:
25804 @if libdecnumber
25805 maybe-info-libdecnumber: info-libdecnumber
25807 info-libdecnumber: \
25808 configure-libdecnumber
25809 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing info in libdecnumber"; \
25817 (cd $(HOST_SUBDIR)/libdecnumber && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25822 info) \
25823 || exit 1
25825 @endif libdecnumber
25827 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25828 maybe-dvi-libdecnumber:
25829 @if libdecnumber
25830 maybe-dvi-libdecnumber: dvi-libdecnumber
25832 dvi-libdecnumber: \
25833 configure-libdecnumber
25834 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 for flag in $(EXTRA_HOST_FLAGS) ; do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 echo "Doing dvi in libdecnumber"; \
25842 (cd $(HOST_SUBDIR)/libdecnumber && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25847 dvi) \
25848 || exit 1
25850 @endif libdecnumber
25852 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25853 maybe-pdf-libdecnumber:
25854 @if libdecnumber
25855 maybe-pdf-libdecnumber: pdf-libdecnumber
25857 pdf-libdecnumber: \
25858 configure-libdecnumber
25859 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(HOST_EXPORTS) \
25863 for flag in $(EXTRA_HOST_FLAGS) ; do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25865 done; \
25866 echo "Doing pdf in libdecnumber"; \
25867 (cd $(HOST_SUBDIR)/libdecnumber && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25872 pdf) \
25873 || exit 1
25875 @endif libdecnumber
25877 .PHONY: maybe-html-libdecnumber html-libdecnumber
25878 maybe-html-libdecnumber:
25879 @if libdecnumber
25880 maybe-html-libdecnumber: html-libdecnumber
25882 html-libdecnumber: \
25883 configure-libdecnumber
25884 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 $(HOST_EXPORTS) \
25888 for flag in $(EXTRA_HOST_FLAGS) ; do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 done; \
25891 echo "Doing html in libdecnumber"; \
25892 (cd $(HOST_SUBDIR)/libdecnumber && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25897 html) \
25898 || exit 1
25900 @endif libdecnumber
25902 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25903 maybe-TAGS-libdecnumber:
25904 @if libdecnumber
25905 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25907 TAGS-libdecnumber: \
25908 configure-libdecnumber
25909 @[ -f ./libdecnumber/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 TAGS in libdecnumber"; \
25917 (cd $(HOST_SUBDIR)/libdecnumber && \
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 TAGS) \
25923 || exit 1
25925 @endif libdecnumber
25927 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25928 maybe-install-info-libdecnumber:
25929 @if libdecnumber
25930 maybe-install-info-libdecnumber: install-info-libdecnumber
25932 install-info-libdecnumber: \
25933 configure-libdecnumber \
25934 info-libdecnumber
25935 @[ -f ./libdecnumber/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-info in libdecnumber"; \
25943 (cd $(HOST_SUBDIR)/libdecnumber && \
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-info) \
25949 || exit 1
25951 @endif libdecnumber
25953 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25954 maybe-install-pdf-libdecnumber:
25955 @if libdecnumber
25956 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25958 install-pdf-libdecnumber: \
25959 configure-libdecnumber \
25960 pdf-libdecnumber
25961 @[ -f ./libdecnumber/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-pdf in libdecnumber"; \
25969 (cd $(HOST_SUBDIR)/libdecnumber && \
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-pdf) \
25975 || exit 1
25977 @endif libdecnumber
25979 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25980 maybe-install-html-libdecnumber:
25981 @if libdecnumber
25982 maybe-install-html-libdecnumber: install-html-libdecnumber
25984 install-html-libdecnumber: \
25985 configure-libdecnumber \
25986 html-libdecnumber
25987 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25988 r=`${PWD_COMMAND}`; export r; \
25989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 $(HOST_EXPORTS) \
25991 for flag in $(EXTRA_HOST_FLAGS) ; do \
25992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25993 done; \
25994 echo "Doing install-html in libdecnumber"; \
25995 (cd $(HOST_SUBDIR)/libdecnumber && \
25996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25998 "RANLIB=$${RANLIB}" \
25999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26000 install-html) \
26001 || exit 1
26003 @endif libdecnumber
26005 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
26006 maybe-installcheck-libdecnumber:
26007 @if libdecnumber
26008 maybe-installcheck-libdecnumber: installcheck-libdecnumber
26010 installcheck-libdecnumber: \
26011 configure-libdecnumber
26012 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26013 r=`${PWD_COMMAND}`; export r; \
26014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26015 $(HOST_EXPORTS) \
26016 for flag in $(EXTRA_HOST_FLAGS) ; do \
26017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26018 done; \
26019 echo "Doing installcheck in libdecnumber"; \
26020 (cd $(HOST_SUBDIR)/libdecnumber && \
26021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26023 "RANLIB=$${RANLIB}" \
26024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26025 installcheck) \
26026 || exit 1
26028 @endif libdecnumber
26030 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
26031 maybe-mostlyclean-libdecnumber:
26032 @if libdecnumber
26033 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
26035 mostlyclean-libdecnumber:
26036 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26037 r=`${PWD_COMMAND}`; export r; \
26038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26039 $(HOST_EXPORTS) \
26040 for flag in $(EXTRA_HOST_FLAGS) ; do \
26041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26042 done; \
26043 echo "Doing mostlyclean in libdecnumber"; \
26044 (cd $(HOST_SUBDIR)/libdecnumber && \
26045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26047 "RANLIB=$${RANLIB}" \
26048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26049 mostlyclean) \
26050 || exit 1
26052 @endif libdecnumber
26054 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
26055 maybe-clean-libdecnumber:
26056 @if libdecnumber
26057 maybe-clean-libdecnumber: clean-libdecnumber
26059 clean-libdecnumber:
26060 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063 $(HOST_EXPORTS) \
26064 for flag in $(EXTRA_HOST_FLAGS) ; do \
26065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26066 done; \
26067 echo "Doing clean in libdecnumber"; \
26068 (cd $(HOST_SUBDIR)/libdecnumber && \
26069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26071 "RANLIB=$${RANLIB}" \
26072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26073 clean) \
26074 || exit 1
26076 @endif libdecnumber
26078 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
26079 maybe-distclean-libdecnumber:
26080 @if libdecnumber
26081 maybe-distclean-libdecnumber: distclean-libdecnumber
26083 distclean-libdecnumber:
26084 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26085 r=`${PWD_COMMAND}`; export r; \
26086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26087 $(HOST_EXPORTS) \
26088 for flag in $(EXTRA_HOST_FLAGS) ; do \
26089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26090 done; \
26091 echo "Doing distclean in libdecnumber"; \
26092 (cd $(HOST_SUBDIR)/libdecnumber && \
26093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26095 "RANLIB=$${RANLIB}" \
26096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26097 distclean) \
26098 || exit 1
26100 @endif libdecnumber
26102 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
26103 maybe-maintainer-clean-libdecnumber:
26104 @if libdecnumber
26105 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
26107 maintainer-clean-libdecnumber:
26108 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26109 r=`${PWD_COMMAND}`; export r; \
26110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26111 $(HOST_EXPORTS) \
26112 for flag in $(EXTRA_HOST_FLAGS) ; do \
26113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26114 done; \
26115 echo "Doing maintainer-clean in libdecnumber"; \
26116 (cd $(HOST_SUBDIR)/libdecnumber && \
26117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26119 "RANLIB=$${RANLIB}" \
26120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26121 maintainer-clean) \
26122 || exit 1
26124 @endif libdecnumber
26128 .PHONY: configure-libgui maybe-configure-libgui
26129 maybe-configure-libgui:
26130 @if gcc-bootstrap
26131 configure-libgui: stage_current
26132 @endif gcc-bootstrap
26133 @if libgui
26134 maybe-configure-libgui: configure-libgui
26135 configure-libgui:
26136 @: $(MAKE); $(unstage)
26137 @r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
26140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
26141 $(HOST_EXPORTS) \
26142 echo Configuring in $(HOST_SUBDIR)/libgui; \
26143 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
26144 case $(srcdir) in \
26145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26146 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
26147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26148 esac; \
26149 module_srcdir=libgui; \
26150 $(SHELL) \
26151 $$s/$$module_srcdir/configure \
26152 --srcdir=$${topdir}/$$module_srcdir \
26153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26154 --target=${target_alias} \
26155 || exit 1
26156 @endif libgui
26162 .PHONY: all-libgui maybe-all-libgui
26163 maybe-all-libgui:
26164 @if gcc-bootstrap
26165 all-libgui: stage_current
26166 @endif gcc-bootstrap
26167 @if libgui
26168 TARGET-libgui=all
26169 maybe-all-libgui: all-libgui
26170 all-libgui: configure-libgui
26171 @: $(MAKE); $(unstage)
26172 @r=`${PWD_COMMAND}`; export r; \
26173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26174 $(HOST_EXPORTS) \
26175 (cd $(HOST_SUBDIR)/libgui && \
26176 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26177 $(TARGET-libgui))
26178 @endif libgui
26183 .PHONY: check-libgui maybe-check-libgui
26184 maybe-check-libgui:
26185 @if libgui
26186 maybe-check-libgui: check-libgui
26188 check-libgui:
26189 @: $(MAKE); $(unstage)
26190 @r=`${PWD_COMMAND}`; export r; \
26191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26192 $(HOST_EXPORTS) \
26193 (cd $(HOST_SUBDIR)/libgui && \
26194 $(MAKE) $(FLAGS_TO_PASS) check)
26196 @endif libgui
26198 .PHONY: install-libgui maybe-install-libgui
26199 maybe-install-libgui:
26200 @if libgui
26201 maybe-install-libgui: install-libgui
26203 install-libgui: installdirs
26204 @: $(MAKE); $(unstage)
26205 @r=`${PWD_COMMAND}`; export r; \
26206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26207 $(HOST_EXPORTS) \
26208 (cd $(HOST_SUBDIR)/libgui && \
26209 $(MAKE) $(FLAGS_TO_PASS) install)
26211 @endif libgui
26213 .PHONY: install-strip-libgui maybe-install-strip-libgui
26214 maybe-install-strip-libgui:
26215 @if libgui
26216 maybe-install-strip-libgui: install-strip-libgui
26218 install-strip-libgui: installdirs
26219 @: $(MAKE); $(unstage)
26220 @r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 (cd $(HOST_SUBDIR)/libgui && \
26224 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26226 @endif libgui
26228 # Other targets (info, dvi, pdf, etc.)
26230 .PHONY: maybe-info-libgui info-libgui
26231 maybe-info-libgui:
26232 @if libgui
26233 maybe-info-libgui: info-libgui
26235 info-libgui: \
26236 configure-libgui
26237 @: $(MAKE); $(unstage)
26238 @[ -f ./libgui/Makefile ] || exit 0; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(HOST_EXPORTS) \
26242 for flag in $(EXTRA_HOST_FLAGS) ; do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26244 done; \
26245 echo "Doing info in libgui"; \
26246 (cd $(HOST_SUBDIR)/libgui && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249 "RANLIB=$${RANLIB}" \
26250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26251 info) \
26252 || exit 1
26254 @endif libgui
26256 .PHONY: maybe-dvi-libgui dvi-libgui
26257 maybe-dvi-libgui:
26258 @if libgui
26259 maybe-dvi-libgui: dvi-libgui
26261 dvi-libgui: \
26262 configure-libgui
26263 @: $(MAKE); $(unstage)
26264 @[ -f ./libgui/Makefile ] || exit 0; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(HOST_EXPORTS) \
26268 for flag in $(EXTRA_HOST_FLAGS) ; do \
26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26270 done; \
26271 echo "Doing dvi in libgui"; \
26272 (cd $(HOST_SUBDIR)/libgui && \
26273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26275 "RANLIB=$${RANLIB}" \
26276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26277 dvi) \
26278 || exit 1
26280 @endif libgui
26282 .PHONY: maybe-pdf-libgui pdf-libgui
26283 maybe-pdf-libgui:
26284 @if libgui
26285 maybe-pdf-libgui: pdf-libgui
26287 pdf-libgui: \
26288 configure-libgui
26289 @: $(MAKE); $(unstage)
26290 @[ -f ./libgui/Makefile ] || exit 0; \
26291 r=`${PWD_COMMAND}`; export r; \
26292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26293 $(HOST_EXPORTS) \
26294 for flag in $(EXTRA_HOST_FLAGS) ; do \
26295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26296 done; \
26297 echo "Doing pdf in libgui"; \
26298 (cd $(HOST_SUBDIR)/libgui && \
26299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26301 "RANLIB=$${RANLIB}" \
26302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26303 pdf) \
26304 || exit 1
26306 @endif libgui
26308 .PHONY: maybe-html-libgui html-libgui
26309 maybe-html-libgui:
26310 @if libgui
26311 maybe-html-libgui: html-libgui
26313 html-libgui: \
26314 configure-libgui
26315 @: $(MAKE); $(unstage)
26316 @[ -f ./libgui/Makefile ] || exit 0; \
26317 r=`${PWD_COMMAND}`; export r; \
26318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26319 $(HOST_EXPORTS) \
26320 for flag in $(EXTRA_HOST_FLAGS) ; do \
26321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26322 done; \
26323 echo "Doing html in libgui"; \
26324 (cd $(HOST_SUBDIR)/libgui && \
26325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26327 "RANLIB=$${RANLIB}" \
26328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26329 html) \
26330 || exit 1
26332 @endif libgui
26334 .PHONY: maybe-TAGS-libgui TAGS-libgui
26335 maybe-TAGS-libgui:
26336 @if libgui
26337 maybe-TAGS-libgui: TAGS-libgui
26339 TAGS-libgui: \
26340 configure-libgui
26341 @: $(MAKE); $(unstage)
26342 @[ -f ./libgui/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(HOST_EXPORTS) \
26346 for flag in $(EXTRA_HOST_FLAGS) ; do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26348 done; \
26349 echo "Doing TAGS in libgui"; \
26350 (cd $(HOST_SUBDIR)/libgui && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26353 "RANLIB=$${RANLIB}" \
26354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26355 TAGS) \
26356 || exit 1
26358 @endif libgui
26360 .PHONY: maybe-install-info-libgui install-info-libgui
26361 maybe-install-info-libgui:
26362 @if libgui
26363 maybe-install-info-libgui: install-info-libgui
26365 install-info-libgui: \
26366 configure-libgui \
26367 info-libgui
26368 @: $(MAKE); $(unstage)
26369 @[ -f ./libgui/Makefile ] || exit 0; \
26370 r=`${PWD_COMMAND}`; export r; \
26371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26372 $(HOST_EXPORTS) \
26373 for flag in $(EXTRA_HOST_FLAGS) ; do \
26374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26375 done; \
26376 echo "Doing install-info in libgui"; \
26377 (cd $(HOST_SUBDIR)/libgui && \
26378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26380 "RANLIB=$${RANLIB}" \
26381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26382 install-info) \
26383 || exit 1
26385 @endif libgui
26387 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26388 maybe-install-pdf-libgui:
26389 @if libgui
26390 maybe-install-pdf-libgui: install-pdf-libgui
26392 install-pdf-libgui: \
26393 configure-libgui \
26394 pdf-libgui
26395 @: $(MAKE); $(unstage)
26396 @[ -f ./libgui/Makefile ] || exit 0; \
26397 r=`${PWD_COMMAND}`; export r; \
26398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399 $(HOST_EXPORTS) \
26400 for flag in $(EXTRA_HOST_FLAGS) ; do \
26401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26402 done; \
26403 echo "Doing install-pdf in libgui"; \
26404 (cd $(HOST_SUBDIR)/libgui && \
26405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26407 "RANLIB=$${RANLIB}" \
26408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26409 install-pdf) \
26410 || exit 1
26412 @endif libgui
26414 .PHONY: maybe-install-html-libgui install-html-libgui
26415 maybe-install-html-libgui:
26416 @if libgui
26417 maybe-install-html-libgui: install-html-libgui
26419 install-html-libgui: \
26420 configure-libgui \
26421 html-libgui
26422 @: $(MAKE); $(unstage)
26423 @[ -f ./libgui/Makefile ] || exit 0; \
26424 r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 $(HOST_EXPORTS) \
26427 for flag in $(EXTRA_HOST_FLAGS) ; do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26429 done; \
26430 echo "Doing install-html in libgui"; \
26431 (cd $(HOST_SUBDIR)/libgui && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26436 install-html) \
26437 || exit 1
26439 @endif libgui
26441 .PHONY: maybe-installcheck-libgui installcheck-libgui
26442 maybe-installcheck-libgui:
26443 @if libgui
26444 maybe-installcheck-libgui: installcheck-libgui
26446 installcheck-libgui: \
26447 configure-libgui
26448 @: $(MAKE); $(unstage)
26449 @[ -f ./libgui/Makefile ] || exit 0; \
26450 r=`${PWD_COMMAND}`; export r; \
26451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26452 $(HOST_EXPORTS) \
26453 for flag in $(EXTRA_HOST_FLAGS) ; do \
26454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26455 done; \
26456 echo "Doing installcheck in libgui"; \
26457 (cd $(HOST_SUBDIR)/libgui && \
26458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26460 "RANLIB=$${RANLIB}" \
26461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26462 installcheck) \
26463 || exit 1
26465 @endif libgui
26467 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26468 maybe-mostlyclean-libgui:
26469 @if libgui
26470 maybe-mostlyclean-libgui: mostlyclean-libgui
26472 mostlyclean-libgui:
26473 @: $(MAKE); $(unstage)
26474 @[ -f ./libgui/Makefile ] || exit 0; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(HOST_EXPORTS) \
26478 for flag in $(EXTRA_HOST_FLAGS) ; do \
26479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26480 done; \
26481 echo "Doing mostlyclean in libgui"; \
26482 (cd $(HOST_SUBDIR)/libgui && \
26483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26485 "RANLIB=$${RANLIB}" \
26486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26487 mostlyclean) \
26488 || exit 1
26490 @endif libgui
26492 .PHONY: maybe-clean-libgui clean-libgui
26493 maybe-clean-libgui:
26494 @if libgui
26495 maybe-clean-libgui: clean-libgui
26497 clean-libgui:
26498 @: $(MAKE); $(unstage)
26499 @[ -f ./libgui/Makefile ] || exit 0; \
26500 r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 $(HOST_EXPORTS) \
26503 for flag in $(EXTRA_HOST_FLAGS) ; do \
26504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26505 done; \
26506 echo "Doing clean in libgui"; \
26507 (cd $(HOST_SUBDIR)/libgui && \
26508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26510 "RANLIB=$${RANLIB}" \
26511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26512 clean) \
26513 || exit 1
26515 @endif libgui
26517 .PHONY: maybe-distclean-libgui distclean-libgui
26518 maybe-distclean-libgui:
26519 @if libgui
26520 maybe-distclean-libgui: distclean-libgui
26522 distclean-libgui:
26523 @: $(MAKE); $(unstage)
26524 @[ -f ./libgui/Makefile ] || exit 0; \
26525 r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 $(HOST_EXPORTS) \
26528 for flag in $(EXTRA_HOST_FLAGS) ; do \
26529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26530 done; \
26531 echo "Doing distclean in libgui"; \
26532 (cd $(HOST_SUBDIR)/libgui && \
26533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26535 "RANLIB=$${RANLIB}" \
26536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26537 distclean) \
26538 || exit 1
26540 @endif libgui
26542 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26543 maybe-maintainer-clean-libgui:
26544 @if libgui
26545 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26547 maintainer-clean-libgui:
26548 @: $(MAKE); $(unstage)
26549 @[ -f ./libgui/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 for flag in $(EXTRA_HOST_FLAGS) ; do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26555 done; \
26556 echo "Doing maintainer-clean in libgui"; \
26557 (cd $(HOST_SUBDIR)/libgui && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26562 maintainer-clean) \
26563 || exit 1
26565 @endif libgui
26569 .PHONY: configure-libiberty maybe-configure-libiberty
26570 maybe-configure-libiberty:
26571 @if gcc-bootstrap
26572 configure-libiberty: stage_current
26573 @endif gcc-bootstrap
26574 @if libiberty
26575 maybe-configure-libiberty: configure-libiberty
26576 configure-libiberty:
26577 @r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26581 $(HOST_EXPORTS) \
26582 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26583 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26584 case $(srcdir) in \
26585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26586 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26588 esac; \
26589 module_srcdir=libiberty; \
26590 $(SHELL) \
26591 $$s/$$module_srcdir/configure \
26592 --srcdir=$${topdir}/$$module_srcdir \
26593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26594 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26595 || exit 1
26596 @endif libiberty
26600 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26601 maybe-configure-stage1-libiberty:
26602 @if libiberty-bootstrap
26603 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26604 configure-stage1-libiberty:
26605 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26607 @r=`${PWD_COMMAND}`; export r; \
26608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26609 TFLAGS="$(STAGE1_TFLAGS)"; \
26610 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26611 $(HOST_EXPORTS) \
26612 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26613 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26614 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26615 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26617 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26618 case $(srcdir) in \
26619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26620 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26622 esac; \
26623 module_srcdir=libiberty; \
26624 $(SHELL) $$s/$$module_srcdir/configure \
26625 --srcdir=$${topdir}/$$module_srcdir \
26626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26627 --target=${target_alias} \
26629 $(STAGE1_CONFIGURE_FLAGS) \
26630 @extra_host_libiberty_configure_flags@
26631 @endif libiberty-bootstrap
26633 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26634 maybe-configure-stage2-libiberty:
26635 @if libiberty-bootstrap
26636 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26637 configure-stage2-libiberty:
26638 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26640 @r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 TFLAGS="$(STAGE2_TFLAGS)"; \
26643 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26644 $(HOST_EXPORTS) \
26645 $(POSTSTAGE1_HOST_EXPORTS) \
26646 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26647 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26648 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26649 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26651 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26652 case $(srcdir) in \
26653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26654 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26656 esac; \
26657 module_srcdir=libiberty; \
26658 $(SHELL) $$s/$$module_srcdir/configure \
26659 --srcdir=$${topdir}/$$module_srcdir \
26660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26661 --target=${target_alias} \
26662 --with-build-libsubdir=$(HOST_SUBDIR) \
26663 $(STAGE2_CONFIGURE_FLAGS) \
26664 @extra_host_libiberty_configure_flags@
26665 @endif libiberty-bootstrap
26667 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26668 maybe-configure-stage3-libiberty:
26669 @if libiberty-bootstrap
26670 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26671 configure-stage3-libiberty:
26672 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26674 @r=`${PWD_COMMAND}`; export r; \
26675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26676 TFLAGS="$(STAGE3_TFLAGS)"; \
26677 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26678 $(HOST_EXPORTS) \
26679 $(POSTSTAGE1_HOST_EXPORTS) \
26680 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26681 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26682 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26683 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26685 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26686 case $(srcdir) in \
26687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26688 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26690 esac; \
26691 module_srcdir=libiberty; \
26692 $(SHELL) $$s/$$module_srcdir/configure \
26693 --srcdir=$${topdir}/$$module_srcdir \
26694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26695 --target=${target_alias} \
26696 --with-build-libsubdir=$(HOST_SUBDIR) \
26697 $(STAGE3_CONFIGURE_FLAGS) \
26698 @extra_host_libiberty_configure_flags@
26699 @endif libiberty-bootstrap
26701 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26702 maybe-configure-stage4-libiberty:
26703 @if libiberty-bootstrap
26704 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26705 configure-stage4-libiberty:
26706 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26708 @r=`${PWD_COMMAND}`; export r; \
26709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26710 TFLAGS="$(STAGE4_TFLAGS)"; \
26711 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26712 $(HOST_EXPORTS) \
26713 $(POSTSTAGE1_HOST_EXPORTS) \
26714 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26715 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26716 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26717 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26719 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26720 case $(srcdir) in \
26721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26722 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26724 esac; \
26725 module_srcdir=libiberty; \
26726 $(SHELL) $$s/$$module_srcdir/configure \
26727 --srcdir=$${topdir}/$$module_srcdir \
26728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26729 --target=${target_alias} \
26730 --with-build-libsubdir=$(HOST_SUBDIR) \
26731 $(STAGE4_CONFIGURE_FLAGS) \
26732 @extra_host_libiberty_configure_flags@
26733 @endif libiberty-bootstrap
26735 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26736 maybe-configure-stageprofile-libiberty:
26737 @if libiberty-bootstrap
26738 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26739 configure-stageprofile-libiberty:
26740 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26742 @r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26745 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26746 $(HOST_EXPORTS) \
26747 $(POSTSTAGE1_HOST_EXPORTS) \
26748 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26749 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26750 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26751 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26753 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26754 case $(srcdir) in \
26755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26756 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26758 esac; \
26759 module_srcdir=libiberty; \
26760 $(SHELL) $$s/$$module_srcdir/configure \
26761 --srcdir=$${topdir}/$$module_srcdir \
26762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26763 --target=${target_alias} \
26764 --with-build-libsubdir=$(HOST_SUBDIR) \
26765 $(STAGEprofile_CONFIGURE_FLAGS) \
26766 @extra_host_libiberty_configure_flags@
26767 @endif libiberty-bootstrap
26769 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26770 maybe-configure-stagetrain-libiberty:
26771 @if libiberty-bootstrap
26772 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26773 configure-stagetrain-libiberty:
26774 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26776 @r=`${PWD_COMMAND}`; export r; \
26777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26778 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26779 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26780 $(HOST_EXPORTS) \
26781 $(POSTSTAGE1_HOST_EXPORTS) \
26782 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26783 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26784 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26785 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26787 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26788 case $(srcdir) in \
26789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26790 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26792 esac; \
26793 module_srcdir=libiberty; \
26794 $(SHELL) $$s/$$module_srcdir/configure \
26795 --srcdir=$${topdir}/$$module_srcdir \
26796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26797 --target=${target_alias} \
26798 --with-build-libsubdir=$(HOST_SUBDIR) \
26799 $(STAGEtrain_CONFIGURE_FLAGS) \
26800 @extra_host_libiberty_configure_flags@
26801 @endif libiberty-bootstrap
26803 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26804 maybe-configure-stagefeedback-libiberty:
26805 @if libiberty-bootstrap
26806 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26807 configure-stagefeedback-libiberty:
26808 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26810 @r=`${PWD_COMMAND}`; export r; \
26811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26812 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26813 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26814 $(HOST_EXPORTS) \
26815 $(POSTSTAGE1_HOST_EXPORTS) \
26816 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26817 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26818 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26819 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26821 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26822 case $(srcdir) in \
26823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26824 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26826 esac; \
26827 module_srcdir=libiberty; \
26828 $(SHELL) $$s/$$module_srcdir/configure \
26829 --srcdir=$${topdir}/$$module_srcdir \
26830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26831 --target=${target_alias} \
26832 --with-build-libsubdir=$(HOST_SUBDIR) \
26833 $(STAGEfeedback_CONFIGURE_FLAGS) \
26834 @extra_host_libiberty_configure_flags@
26835 @endif libiberty-bootstrap
26837 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26838 maybe-configure-stageautoprofile-libiberty:
26839 @if libiberty-bootstrap
26840 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26841 configure-stageautoprofile-libiberty:
26842 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26843 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26844 @r=`${PWD_COMMAND}`; export r; \
26845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26846 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26847 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26848 $(HOST_EXPORTS) \
26849 $(POSTSTAGE1_HOST_EXPORTS) \
26850 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26851 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26852 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26853 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26855 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26856 case $(srcdir) in \
26857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26858 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26860 esac; \
26861 module_srcdir=libiberty; \
26862 $(SHELL) $$s/$$module_srcdir/configure \
26863 --srcdir=$${topdir}/$$module_srcdir \
26864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26865 --target=${target_alias} \
26866 --with-build-libsubdir=$(HOST_SUBDIR) \
26867 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26868 @extra_host_libiberty_configure_flags@
26869 @endif libiberty-bootstrap
26871 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26872 maybe-configure-stageautofeedback-libiberty:
26873 @if libiberty-bootstrap
26874 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26875 configure-stageautofeedback-libiberty:
26876 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26878 @r=`${PWD_COMMAND}`; export r; \
26879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26881 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26882 $(HOST_EXPORTS) \
26883 $(POSTSTAGE1_HOST_EXPORTS) \
26884 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26885 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26886 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26887 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26889 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26890 case $(srcdir) in \
26891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26892 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26894 esac; \
26895 module_srcdir=libiberty; \
26896 $(SHELL) $$s/$$module_srcdir/configure \
26897 --srcdir=$${topdir}/$$module_srcdir \
26898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26899 --target=${target_alias} \
26900 --with-build-libsubdir=$(HOST_SUBDIR) \
26901 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26902 @extra_host_libiberty_configure_flags@
26903 @endif libiberty-bootstrap
26909 .PHONY: all-libiberty maybe-all-libiberty
26910 maybe-all-libiberty:
26911 @if gcc-bootstrap
26912 all-libiberty: stage_current
26913 @endif gcc-bootstrap
26914 @if libiberty
26915 TARGET-libiberty=all
26916 maybe-all-libiberty: all-libiberty
26917 all-libiberty: configure-libiberty
26918 @r=`${PWD_COMMAND}`; export r; \
26919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26920 $(HOST_EXPORTS) \
26921 (cd $(HOST_SUBDIR)/libiberty && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26923 $(TARGET-libiberty))
26924 @endif libiberty
26928 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26929 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26930 maybe-all-stage1-libiberty:
26931 maybe-clean-stage1-libiberty:
26932 @if libiberty-bootstrap
26933 maybe-all-stage1-libiberty: all-stage1-libiberty
26934 all-stage1: all-stage1-libiberty
26935 TARGET-stage1-libiberty = $(TARGET-libiberty)
26936 all-stage1-libiberty: configure-stage1-libiberty
26937 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26938 @r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 TFLAGS="$(STAGE1_TFLAGS)"; \
26941 $(HOST_EXPORTS) \
26942 cd $(HOST_SUBDIR)/libiberty && \
26944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26945 CFLAGS="$(STAGE1_CFLAGS)" \
26946 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26947 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26948 LIBCFLAGS="$(LIBCFLAGS)" \
26949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26952 $(EXTRA_HOST_FLAGS) \
26953 $(STAGE1_FLAGS_TO_PASS) \
26954 TFLAGS="$(STAGE1_TFLAGS)" \
26955 $(TARGET-stage1-libiberty)
26957 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26958 clean-stage1: clean-stage1-libiberty
26959 clean-stage1-libiberty:
26960 @if [ $(current_stage) = stage1 ]; then \
26961 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26962 else \
26963 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26964 $(MAKE) stage1-start; \
26965 fi; \
26966 cd $(HOST_SUBDIR)/libiberty && \
26967 $(MAKE) $(EXTRA_HOST_FLAGS) \
26968 $(STAGE1_FLAGS_TO_PASS) clean
26969 @endif libiberty-bootstrap
26972 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26973 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26974 maybe-all-stage2-libiberty:
26975 maybe-clean-stage2-libiberty:
26976 @if libiberty-bootstrap
26977 maybe-all-stage2-libiberty: all-stage2-libiberty
26978 all-stage2: all-stage2-libiberty
26979 TARGET-stage2-libiberty = $(TARGET-libiberty)
26980 all-stage2-libiberty: configure-stage2-libiberty
26981 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26982 @r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 TFLAGS="$(STAGE2_TFLAGS)"; \
26985 $(HOST_EXPORTS) \
26986 $(POSTSTAGE1_HOST_EXPORTS) \
26987 cd $(HOST_SUBDIR)/libiberty && \
26989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26990 CFLAGS="$(STAGE2_CFLAGS)" \
26991 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26992 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26993 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26998 TFLAGS="$(STAGE2_TFLAGS)" \
26999 $(TARGET-stage2-libiberty)
27001 maybe-clean-stage2-libiberty: clean-stage2-libiberty
27002 clean-stage2: clean-stage2-libiberty
27003 clean-stage2-libiberty:
27004 @if [ $(current_stage) = stage2 ]; then \
27005 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27006 else \
27007 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
27008 $(MAKE) stage2-start; \
27009 fi; \
27010 cd $(HOST_SUBDIR)/libiberty && \
27011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27012 @endif libiberty-bootstrap
27015 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
27016 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
27017 maybe-all-stage3-libiberty:
27018 maybe-clean-stage3-libiberty:
27019 @if libiberty-bootstrap
27020 maybe-all-stage3-libiberty: all-stage3-libiberty
27021 all-stage3: all-stage3-libiberty
27022 TARGET-stage3-libiberty = $(TARGET-libiberty)
27023 all-stage3-libiberty: configure-stage3-libiberty
27024 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27025 @r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 TFLAGS="$(STAGE3_TFLAGS)"; \
27028 $(HOST_EXPORTS) \
27029 $(POSTSTAGE1_HOST_EXPORTS) \
27030 cd $(HOST_SUBDIR)/libiberty && \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27033 CFLAGS="$(STAGE3_CFLAGS)" \
27034 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27035 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27036 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27040 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27041 TFLAGS="$(STAGE3_TFLAGS)" \
27042 $(TARGET-stage3-libiberty)
27044 maybe-clean-stage3-libiberty: clean-stage3-libiberty
27045 clean-stage3: clean-stage3-libiberty
27046 clean-stage3-libiberty:
27047 @if [ $(current_stage) = stage3 ]; then \
27048 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27049 else \
27050 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
27051 $(MAKE) stage3-start; \
27052 fi; \
27053 cd $(HOST_SUBDIR)/libiberty && \
27054 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27055 @endif libiberty-bootstrap
27058 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
27059 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
27060 maybe-all-stage4-libiberty:
27061 maybe-clean-stage4-libiberty:
27062 @if libiberty-bootstrap
27063 maybe-all-stage4-libiberty: all-stage4-libiberty
27064 all-stage4: all-stage4-libiberty
27065 TARGET-stage4-libiberty = $(TARGET-libiberty)
27066 all-stage4-libiberty: configure-stage4-libiberty
27067 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27068 @r=`${PWD_COMMAND}`; export r; \
27069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 TFLAGS="$(STAGE4_TFLAGS)"; \
27071 $(HOST_EXPORTS) \
27072 $(POSTSTAGE1_HOST_EXPORTS) \
27073 cd $(HOST_SUBDIR)/libiberty && \
27075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27076 CFLAGS="$(STAGE4_CFLAGS)" \
27077 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27078 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27079 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27083 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27084 TFLAGS="$(STAGE4_TFLAGS)" \
27085 $(TARGET-stage4-libiberty)
27087 maybe-clean-stage4-libiberty: clean-stage4-libiberty
27088 clean-stage4: clean-stage4-libiberty
27089 clean-stage4-libiberty:
27090 @if [ $(current_stage) = stage4 ]; then \
27091 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27092 else \
27093 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
27094 $(MAKE) stage4-start; \
27095 fi; \
27096 cd $(HOST_SUBDIR)/libiberty && \
27097 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27098 @endif libiberty-bootstrap
27101 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
27102 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
27103 maybe-all-stageprofile-libiberty:
27104 maybe-clean-stageprofile-libiberty:
27105 @if libiberty-bootstrap
27106 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
27107 all-stageprofile: all-stageprofile-libiberty
27108 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
27109 all-stageprofile-libiberty: configure-stageprofile-libiberty
27110 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27111 @r=`${PWD_COMMAND}`; export r; \
27112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27113 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27114 $(HOST_EXPORTS) \
27115 $(POSTSTAGE1_HOST_EXPORTS) \
27116 cd $(HOST_SUBDIR)/libiberty && \
27118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27119 CFLAGS="$(STAGEprofile_CFLAGS)" \
27120 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27121 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27122 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27126 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27127 TFLAGS="$(STAGEprofile_TFLAGS)" \
27128 $(TARGET-stageprofile-libiberty)
27130 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
27131 clean-stageprofile: clean-stageprofile-libiberty
27132 clean-stageprofile-libiberty:
27133 @if [ $(current_stage) = stageprofile ]; then \
27134 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27135 else \
27136 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
27137 $(MAKE) stageprofile-start; \
27138 fi; \
27139 cd $(HOST_SUBDIR)/libiberty && \
27140 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27141 @endif libiberty-bootstrap
27144 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
27145 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
27146 maybe-all-stagetrain-libiberty:
27147 maybe-clean-stagetrain-libiberty:
27148 @if libiberty-bootstrap
27149 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
27150 all-stagetrain: all-stagetrain-libiberty
27151 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
27152 all-stagetrain-libiberty: configure-stagetrain-libiberty
27153 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27154 @r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27156 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27157 $(HOST_EXPORTS) \
27158 $(POSTSTAGE1_HOST_EXPORTS) \
27159 cd $(HOST_SUBDIR)/libiberty && \
27161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27162 CFLAGS="$(STAGEtrain_CFLAGS)" \
27163 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27164 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27165 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27170 TFLAGS="$(STAGEtrain_TFLAGS)" \
27171 $(TARGET-stagetrain-libiberty)
27173 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
27174 clean-stagetrain: clean-stagetrain-libiberty
27175 clean-stagetrain-libiberty:
27176 @if [ $(current_stage) = stagetrain ]; then \
27177 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27178 else \
27179 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
27180 $(MAKE) stagetrain-start; \
27181 fi; \
27182 cd $(HOST_SUBDIR)/libiberty && \
27183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27184 @endif libiberty-bootstrap
27187 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
27188 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
27189 maybe-all-stagefeedback-libiberty:
27190 maybe-clean-stagefeedback-libiberty:
27191 @if libiberty-bootstrap
27192 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
27193 all-stagefeedback: all-stagefeedback-libiberty
27194 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
27195 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
27196 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27197 @r=`${PWD_COMMAND}`; export r; \
27198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27199 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27200 $(HOST_EXPORTS) \
27201 $(POSTSTAGE1_HOST_EXPORTS) \
27202 cd $(HOST_SUBDIR)/libiberty && \
27204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27205 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27206 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27207 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27208 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27213 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27214 $(TARGET-stagefeedback-libiberty)
27216 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27217 clean-stagefeedback: clean-stagefeedback-libiberty
27218 clean-stagefeedback-libiberty:
27219 @if [ $(current_stage) = stagefeedback ]; then \
27220 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27221 else \
27222 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27223 $(MAKE) stagefeedback-start; \
27224 fi; \
27225 cd $(HOST_SUBDIR)/libiberty && \
27226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27227 @endif libiberty-bootstrap
27230 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27231 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27232 maybe-all-stageautoprofile-libiberty:
27233 maybe-clean-stageautoprofile-libiberty:
27234 @if libiberty-bootstrap
27235 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27236 all-stageautoprofile: all-stageautoprofile-libiberty
27237 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27238 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27239 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27240 @r=`${PWD_COMMAND}`; export r; \
27241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27242 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27243 $(HOST_EXPORTS) \
27244 $(POSTSTAGE1_HOST_EXPORTS) \
27245 cd $(HOST_SUBDIR)/libiberty && \
27246 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27248 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27249 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27250 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27251 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27255 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27256 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27257 $(TARGET-stageautoprofile-libiberty)
27259 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27260 clean-stageautoprofile: clean-stageautoprofile-libiberty
27261 clean-stageautoprofile-libiberty:
27262 @if [ $(current_stage) = stageautoprofile ]; then \
27263 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27264 else \
27265 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27266 $(MAKE) stageautoprofile-start; \
27267 fi; \
27268 cd $(HOST_SUBDIR)/libiberty && \
27269 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27270 @endif libiberty-bootstrap
27273 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27274 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27275 maybe-all-stageautofeedback-libiberty:
27276 maybe-clean-stageautofeedback-libiberty:
27277 @if libiberty-bootstrap
27278 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27279 all-stageautofeedback: all-stageautofeedback-libiberty
27280 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27281 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27282 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27283 @r=`${PWD_COMMAND}`; export r; \
27284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27285 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27286 $(HOST_EXPORTS) \
27287 $(POSTSTAGE1_HOST_EXPORTS) \
27288 cd $(HOST_SUBDIR)/libiberty && \
27290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27291 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27292 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27293 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27294 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27299 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27300 $(TARGET-stageautofeedback-libiberty)
27302 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27303 clean-stageautofeedback: clean-stageautofeedback-libiberty
27304 clean-stageautofeedback-libiberty:
27305 @if [ $(current_stage) = stageautofeedback ]; then \
27306 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27307 else \
27308 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27309 $(MAKE) stageautofeedback-start; \
27310 fi; \
27311 cd $(HOST_SUBDIR)/libiberty && \
27312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27313 @endif libiberty-bootstrap
27319 .PHONY: check-libiberty maybe-check-libiberty
27320 maybe-check-libiberty:
27321 @if libiberty
27322 maybe-check-libiberty: check-libiberty
27324 check-libiberty:
27325 @: $(MAKE); $(unstage)
27326 @r=`${PWD_COMMAND}`; export r; \
27327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27328 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27329 (cd $(HOST_SUBDIR)/libiberty && \
27330 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27332 @endif libiberty
27334 .PHONY: install-libiberty maybe-install-libiberty
27335 maybe-install-libiberty:
27336 @if libiberty
27337 maybe-install-libiberty: install-libiberty
27339 install-libiberty: installdirs
27340 @: $(MAKE); $(unstage)
27341 @r=`${PWD_COMMAND}`; export r; \
27342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 $(HOST_EXPORTS) \
27344 (cd $(HOST_SUBDIR)/libiberty && \
27345 $(MAKE) $(FLAGS_TO_PASS) install)
27347 @endif libiberty
27349 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27350 maybe-install-strip-libiberty:
27351 @if libiberty
27352 maybe-install-strip-libiberty: install-strip-libiberty
27354 install-strip-libiberty: installdirs
27355 @: $(MAKE); $(unstage)
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 (cd $(HOST_SUBDIR)/libiberty && \
27360 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27362 @endif libiberty
27364 # Other targets (info, dvi, pdf, etc.)
27366 .PHONY: maybe-info-libiberty info-libiberty
27367 maybe-info-libiberty:
27368 @if libiberty
27369 maybe-info-libiberty: info-libiberty
27371 info-libiberty: \
27372 configure-libiberty
27373 @[ -f ./libiberty/Makefile ] || exit 0; \
27374 r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(HOST_EXPORTS) \
27377 for flag in $(EXTRA_HOST_FLAGS) ; do \
27378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27379 done; \
27380 echo "Doing info in libiberty"; \
27381 (cd $(HOST_SUBDIR)/libiberty && \
27382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27384 "RANLIB=$${RANLIB}" \
27385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27386 info) \
27387 || exit 1
27389 @endif libiberty
27391 .PHONY: maybe-dvi-libiberty dvi-libiberty
27392 maybe-dvi-libiberty:
27393 @if libiberty
27394 maybe-dvi-libiberty: dvi-libiberty
27396 dvi-libiberty: \
27397 configure-libiberty
27398 @[ -f ./libiberty/Makefile ] || exit 0; \
27399 r=`${PWD_COMMAND}`; export r; \
27400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401 $(HOST_EXPORTS) \
27402 for flag in $(EXTRA_HOST_FLAGS) ; do \
27403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27404 done; \
27405 echo "Doing dvi in libiberty"; \
27406 (cd $(HOST_SUBDIR)/libiberty && \
27407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27409 "RANLIB=$${RANLIB}" \
27410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27411 dvi) \
27412 || exit 1
27414 @endif libiberty
27416 .PHONY: maybe-pdf-libiberty pdf-libiberty
27417 maybe-pdf-libiberty:
27418 @if libiberty
27419 maybe-pdf-libiberty: pdf-libiberty
27421 pdf-libiberty: \
27422 configure-libiberty
27423 @[ -f ./libiberty/Makefile ] || exit 0; \
27424 r=`${PWD_COMMAND}`; export r; \
27425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27426 $(HOST_EXPORTS) \
27427 for flag in $(EXTRA_HOST_FLAGS) ; do \
27428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27429 done; \
27430 echo "Doing pdf in libiberty"; \
27431 (cd $(HOST_SUBDIR)/libiberty && \
27432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27434 "RANLIB=$${RANLIB}" \
27435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27436 pdf) \
27437 || exit 1
27439 @endif libiberty
27441 .PHONY: maybe-html-libiberty html-libiberty
27442 maybe-html-libiberty:
27443 @if libiberty
27444 maybe-html-libiberty: html-libiberty
27446 html-libiberty: \
27447 configure-libiberty
27448 @[ -f ./libiberty/Makefile ] || exit 0; \
27449 r=`${PWD_COMMAND}`; export r; \
27450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27451 $(HOST_EXPORTS) \
27452 for flag in $(EXTRA_HOST_FLAGS) ; do \
27453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27454 done; \
27455 echo "Doing html in libiberty"; \
27456 (cd $(HOST_SUBDIR)/libiberty && \
27457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27459 "RANLIB=$${RANLIB}" \
27460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27461 html) \
27462 || exit 1
27464 @endif libiberty
27466 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27467 maybe-TAGS-libiberty:
27468 @if libiberty
27469 maybe-TAGS-libiberty: TAGS-libiberty
27471 TAGS-libiberty: \
27472 configure-libiberty
27473 @[ -f ./libiberty/Makefile ] || exit 0; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(HOST_EXPORTS) \
27477 for flag in $(EXTRA_HOST_FLAGS) ; do \
27478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27479 done; \
27480 echo "Doing TAGS in libiberty"; \
27481 (cd $(HOST_SUBDIR)/libiberty && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27486 TAGS) \
27487 || exit 1
27489 @endif libiberty
27491 .PHONY: maybe-install-info-libiberty install-info-libiberty
27492 maybe-install-info-libiberty:
27493 @if libiberty
27494 maybe-install-info-libiberty: install-info-libiberty
27496 install-info-libiberty: \
27497 configure-libiberty \
27498 info-libiberty
27499 @[ -f ./libiberty/Makefile ] || exit 0; \
27500 r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 for flag in $(EXTRA_HOST_FLAGS) ; do \
27504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 done; \
27506 echo "Doing install-info in libiberty"; \
27507 (cd $(HOST_SUBDIR)/libiberty && \
27508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27510 "RANLIB=$${RANLIB}" \
27511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27512 install-info) \
27513 || exit 1
27515 @endif libiberty
27517 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27518 maybe-install-pdf-libiberty:
27519 @if libiberty
27520 maybe-install-pdf-libiberty: install-pdf-libiberty
27522 install-pdf-libiberty: \
27523 configure-libiberty \
27524 pdf-libiberty
27525 @[ -f ./libiberty/Makefile ] || exit 0; \
27526 r=`${PWD_COMMAND}`; export r; \
27527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27528 $(HOST_EXPORTS) \
27529 for flag in $(EXTRA_HOST_FLAGS) ; do \
27530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27531 done; \
27532 echo "Doing install-pdf in libiberty"; \
27533 (cd $(HOST_SUBDIR)/libiberty && \
27534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27536 "RANLIB=$${RANLIB}" \
27537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27538 install-pdf) \
27539 || exit 1
27541 @endif libiberty
27543 .PHONY: maybe-install-html-libiberty install-html-libiberty
27544 maybe-install-html-libiberty:
27545 @if libiberty
27546 maybe-install-html-libiberty: install-html-libiberty
27548 install-html-libiberty: \
27549 configure-libiberty \
27550 html-libiberty
27551 @[ -f ./libiberty/Makefile ] || exit 0; \
27552 r=`${PWD_COMMAND}`; export r; \
27553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27554 $(HOST_EXPORTS) \
27555 for flag in $(EXTRA_HOST_FLAGS) ; do \
27556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27557 done; \
27558 echo "Doing install-html in libiberty"; \
27559 (cd $(HOST_SUBDIR)/libiberty && \
27560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27562 "RANLIB=$${RANLIB}" \
27563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27564 install-html) \
27565 || exit 1
27567 @endif libiberty
27569 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27570 maybe-installcheck-libiberty:
27571 @if libiberty
27572 maybe-installcheck-libiberty: installcheck-libiberty
27574 installcheck-libiberty: \
27575 configure-libiberty
27576 @[ -f ./libiberty/Makefile ] || exit 0; \
27577 r=`${PWD_COMMAND}`; export r; \
27578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27579 $(HOST_EXPORTS) \
27580 for flag in $(EXTRA_HOST_FLAGS) ; do \
27581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27582 done; \
27583 echo "Doing installcheck in libiberty"; \
27584 (cd $(HOST_SUBDIR)/libiberty && \
27585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27587 "RANLIB=$${RANLIB}" \
27588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27589 installcheck) \
27590 || exit 1
27592 @endif libiberty
27594 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27595 maybe-mostlyclean-libiberty:
27596 @if libiberty
27597 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27599 mostlyclean-libiberty:
27600 @[ -f ./libiberty/Makefile ] || exit 0; \
27601 r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 $(HOST_EXPORTS) \
27604 for flag in $(EXTRA_HOST_FLAGS) ; do \
27605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27606 done; \
27607 echo "Doing mostlyclean in libiberty"; \
27608 (cd $(HOST_SUBDIR)/libiberty && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27611 "RANLIB=$${RANLIB}" \
27612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27613 mostlyclean) \
27614 || exit 1
27616 @endif libiberty
27618 .PHONY: maybe-clean-libiberty clean-libiberty
27619 maybe-clean-libiberty:
27620 @if libiberty
27621 maybe-clean-libiberty: clean-libiberty
27623 clean-libiberty:
27624 @[ -f ./libiberty/Makefile ] || exit 0; \
27625 r=`${PWD_COMMAND}`; export r; \
27626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27627 $(HOST_EXPORTS) \
27628 for flag in $(EXTRA_HOST_FLAGS) ; do \
27629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27630 done; \
27631 echo "Doing clean in libiberty"; \
27632 (cd $(HOST_SUBDIR)/libiberty && \
27633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27635 "RANLIB=$${RANLIB}" \
27636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27637 clean) \
27638 || exit 1
27640 @endif libiberty
27642 .PHONY: maybe-distclean-libiberty distclean-libiberty
27643 maybe-distclean-libiberty:
27644 @if libiberty
27645 maybe-distclean-libiberty: distclean-libiberty
27647 distclean-libiberty:
27648 @[ -f ./libiberty/Makefile ] || exit 0; \
27649 r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27651 $(HOST_EXPORTS) \
27652 for flag in $(EXTRA_HOST_FLAGS) ; do \
27653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27654 done; \
27655 echo "Doing distclean in libiberty"; \
27656 (cd $(HOST_SUBDIR)/libiberty && \
27657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27659 "RANLIB=$${RANLIB}" \
27660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27661 distclean) \
27662 || exit 1
27664 @endif libiberty
27666 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27667 maybe-maintainer-clean-libiberty:
27668 @if libiberty
27669 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27671 maintainer-clean-libiberty:
27672 @[ -f ./libiberty/Makefile ] || exit 0; \
27673 r=`${PWD_COMMAND}`; export r; \
27674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675 $(HOST_EXPORTS) \
27676 for flag in $(EXTRA_HOST_FLAGS) ; do \
27677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27678 done; \
27679 echo "Doing maintainer-clean in libiberty"; \
27680 (cd $(HOST_SUBDIR)/libiberty && \
27681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683 "RANLIB=$${RANLIB}" \
27684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27685 maintainer-clean) \
27686 || exit 1
27688 @endif libiberty
27692 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27693 maybe-configure-libiberty-linker-plugin:
27694 @if gcc-bootstrap
27695 configure-libiberty-linker-plugin: stage_current
27696 @endif gcc-bootstrap
27697 @if libiberty-linker-plugin
27698 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27699 configure-libiberty-linker-plugin:
27700 @r=`${PWD_COMMAND}`; export r; \
27701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27702 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27704 $(HOST_EXPORTS) \
27705 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27706 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27707 case $(srcdir) in \
27708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27709 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27711 esac; \
27712 module_srcdir=libiberty; \
27713 $(SHELL) \
27714 $$s/$$module_srcdir/configure \
27715 --srcdir=$${topdir}/$$module_srcdir \
27716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27717 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27718 || exit 1
27719 @endif libiberty-linker-plugin
27723 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27724 maybe-configure-stage1-libiberty-linker-plugin:
27725 @if libiberty-linker-plugin-bootstrap
27726 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27727 configure-stage1-libiberty-linker-plugin:
27728 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27730 @r=`${PWD_COMMAND}`; export r; \
27731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27732 TFLAGS="$(STAGE1_TFLAGS)"; \
27733 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27734 $(HOST_EXPORTS) \
27735 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27736 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27737 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27738 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27740 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27741 case $(srcdir) in \
27742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27743 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27745 esac; \
27746 module_srcdir=libiberty; \
27747 $(SHELL) $$s/$$module_srcdir/configure \
27748 --srcdir=$${topdir}/$$module_srcdir \
27749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27750 --target=${target_alias} \
27752 $(STAGE1_CONFIGURE_FLAGS) \
27753 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27754 @endif libiberty-linker-plugin-bootstrap
27756 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27757 maybe-configure-stage2-libiberty-linker-plugin:
27758 @if libiberty-linker-plugin-bootstrap
27759 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27760 configure-stage2-libiberty-linker-plugin:
27761 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27763 @r=`${PWD_COMMAND}`; export r; \
27764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27765 TFLAGS="$(STAGE2_TFLAGS)"; \
27766 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27767 $(HOST_EXPORTS) \
27768 $(POSTSTAGE1_HOST_EXPORTS) \
27769 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27770 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27771 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27772 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27774 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27775 case $(srcdir) in \
27776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27777 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27779 esac; \
27780 module_srcdir=libiberty; \
27781 $(SHELL) $$s/$$module_srcdir/configure \
27782 --srcdir=$${topdir}/$$module_srcdir \
27783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27784 --target=${target_alias} \
27785 --with-build-libsubdir=$(HOST_SUBDIR) \
27786 $(STAGE2_CONFIGURE_FLAGS) \
27787 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27788 @endif libiberty-linker-plugin-bootstrap
27790 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27791 maybe-configure-stage3-libiberty-linker-plugin:
27792 @if libiberty-linker-plugin-bootstrap
27793 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27794 configure-stage3-libiberty-linker-plugin:
27795 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27797 @r=`${PWD_COMMAND}`; export r; \
27798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27799 TFLAGS="$(STAGE3_TFLAGS)"; \
27800 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27801 $(HOST_EXPORTS) \
27802 $(POSTSTAGE1_HOST_EXPORTS) \
27803 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27804 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27805 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27806 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27808 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27809 case $(srcdir) in \
27810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27811 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27813 esac; \
27814 module_srcdir=libiberty; \
27815 $(SHELL) $$s/$$module_srcdir/configure \
27816 --srcdir=$${topdir}/$$module_srcdir \
27817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27818 --target=${target_alias} \
27819 --with-build-libsubdir=$(HOST_SUBDIR) \
27820 $(STAGE3_CONFIGURE_FLAGS) \
27821 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27822 @endif libiberty-linker-plugin-bootstrap
27824 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27825 maybe-configure-stage4-libiberty-linker-plugin:
27826 @if libiberty-linker-plugin-bootstrap
27827 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27828 configure-stage4-libiberty-linker-plugin:
27829 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27831 @r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 TFLAGS="$(STAGE4_TFLAGS)"; \
27834 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27835 $(HOST_EXPORTS) \
27836 $(POSTSTAGE1_HOST_EXPORTS) \
27837 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27838 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27839 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27840 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27842 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27843 case $(srcdir) in \
27844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27845 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27847 esac; \
27848 module_srcdir=libiberty; \
27849 $(SHELL) $$s/$$module_srcdir/configure \
27850 --srcdir=$${topdir}/$$module_srcdir \
27851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27852 --target=${target_alias} \
27853 --with-build-libsubdir=$(HOST_SUBDIR) \
27854 $(STAGE4_CONFIGURE_FLAGS) \
27855 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27856 @endif libiberty-linker-plugin-bootstrap
27858 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27859 maybe-configure-stageprofile-libiberty-linker-plugin:
27860 @if libiberty-linker-plugin-bootstrap
27861 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27862 configure-stageprofile-libiberty-linker-plugin:
27863 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27864 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27865 @r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27868 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27869 $(HOST_EXPORTS) \
27870 $(POSTSTAGE1_HOST_EXPORTS) \
27871 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27872 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27873 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27874 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27876 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27877 case $(srcdir) in \
27878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27879 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27881 esac; \
27882 module_srcdir=libiberty; \
27883 $(SHELL) $$s/$$module_srcdir/configure \
27884 --srcdir=$${topdir}/$$module_srcdir \
27885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27886 --target=${target_alias} \
27887 --with-build-libsubdir=$(HOST_SUBDIR) \
27888 $(STAGEprofile_CONFIGURE_FLAGS) \
27889 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27890 @endif libiberty-linker-plugin-bootstrap
27892 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27893 maybe-configure-stagetrain-libiberty-linker-plugin:
27894 @if libiberty-linker-plugin-bootstrap
27895 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27896 configure-stagetrain-libiberty-linker-plugin:
27897 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27898 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27899 @r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27902 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27903 $(HOST_EXPORTS) \
27904 $(POSTSTAGE1_HOST_EXPORTS) \
27905 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27906 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27907 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27908 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27910 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27911 case $(srcdir) in \
27912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27913 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27915 esac; \
27916 module_srcdir=libiberty; \
27917 $(SHELL) $$s/$$module_srcdir/configure \
27918 --srcdir=$${topdir}/$$module_srcdir \
27919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27920 --target=${target_alias} \
27921 --with-build-libsubdir=$(HOST_SUBDIR) \
27922 $(STAGEtrain_CONFIGURE_FLAGS) \
27923 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27924 @endif libiberty-linker-plugin-bootstrap
27926 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27927 maybe-configure-stagefeedback-libiberty-linker-plugin:
27928 @if libiberty-linker-plugin-bootstrap
27929 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27930 configure-stagefeedback-libiberty-linker-plugin:
27931 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27933 @r=`${PWD_COMMAND}`; export r; \
27934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27935 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27936 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27937 $(HOST_EXPORTS) \
27938 $(POSTSTAGE1_HOST_EXPORTS) \
27939 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27940 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27941 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27942 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27944 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27945 case $(srcdir) in \
27946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27947 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27949 esac; \
27950 module_srcdir=libiberty; \
27951 $(SHELL) $$s/$$module_srcdir/configure \
27952 --srcdir=$${topdir}/$$module_srcdir \
27953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27954 --target=${target_alias} \
27955 --with-build-libsubdir=$(HOST_SUBDIR) \
27956 $(STAGEfeedback_CONFIGURE_FLAGS) \
27957 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27958 @endif libiberty-linker-plugin-bootstrap
27960 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27961 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27962 @if libiberty-linker-plugin-bootstrap
27963 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27964 configure-stageautoprofile-libiberty-linker-plugin:
27965 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27967 @r=`${PWD_COMMAND}`; export r; \
27968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27969 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27970 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27971 $(HOST_EXPORTS) \
27972 $(POSTSTAGE1_HOST_EXPORTS) \
27973 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27974 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27975 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27976 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27978 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27979 case $(srcdir) in \
27980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27981 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27983 esac; \
27984 module_srcdir=libiberty; \
27985 $(SHELL) $$s/$$module_srcdir/configure \
27986 --srcdir=$${topdir}/$$module_srcdir \
27987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27988 --target=${target_alias} \
27989 --with-build-libsubdir=$(HOST_SUBDIR) \
27990 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27991 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27992 @endif libiberty-linker-plugin-bootstrap
27994 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27995 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27996 @if libiberty-linker-plugin-bootstrap
27997 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27998 configure-stageautofeedback-libiberty-linker-plugin:
27999 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28001 @r=`${PWD_COMMAND}`; export r; \
28002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28003 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28004 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28005 $(HOST_EXPORTS) \
28006 $(POSTSTAGE1_HOST_EXPORTS) \
28007 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28008 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28009 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28010 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28012 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28013 case $(srcdir) in \
28014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28015 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28017 esac; \
28018 module_srcdir=libiberty; \
28019 $(SHELL) $$s/$$module_srcdir/configure \
28020 --srcdir=$${topdir}/$$module_srcdir \
28021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28022 --target=${target_alias} \
28023 --with-build-libsubdir=$(HOST_SUBDIR) \
28024 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28025 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28026 @endif libiberty-linker-plugin-bootstrap
28032 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
28033 maybe-all-libiberty-linker-plugin:
28034 @if gcc-bootstrap
28035 all-libiberty-linker-plugin: stage_current
28036 @endif gcc-bootstrap
28037 @if libiberty-linker-plugin
28038 TARGET-libiberty-linker-plugin=all
28039 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
28040 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
28041 @r=`${PWD_COMMAND}`; export r; \
28042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 $(HOST_EXPORTS) \
28044 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28045 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28046 $(TARGET-libiberty-linker-plugin))
28047 @endif libiberty-linker-plugin
28051 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
28052 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
28053 maybe-all-stage1-libiberty-linker-plugin:
28054 maybe-clean-stage1-libiberty-linker-plugin:
28055 @if libiberty-linker-plugin-bootstrap
28056 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
28057 all-stage1: all-stage1-libiberty-linker-plugin
28058 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28059 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
28060 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28061 @r=`${PWD_COMMAND}`; export r; \
28062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28063 TFLAGS="$(STAGE1_TFLAGS)"; \
28064 $(HOST_EXPORTS) \
28065 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28068 CFLAGS="$(STAGE1_CFLAGS)" \
28069 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28070 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28071 LIBCFLAGS="$(LIBCFLAGS)" \
28072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28075 $(EXTRA_HOST_FLAGS) \
28076 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28077 TFLAGS="$(STAGE1_TFLAGS)" \
28078 $(TARGET-stage1-libiberty-linker-plugin)
28080 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
28081 clean-stage1: clean-stage1-libiberty-linker-plugin
28082 clean-stage1-libiberty-linker-plugin:
28083 @if [ $(current_stage) = stage1 ]; then \
28084 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28085 else \
28086 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
28087 $(MAKE) stage1-start; \
28088 fi; \
28089 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28090 $(MAKE) $(EXTRA_HOST_FLAGS) \
28091 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28092 @endif libiberty-linker-plugin-bootstrap
28095 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
28096 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
28097 maybe-all-stage2-libiberty-linker-plugin:
28098 maybe-clean-stage2-libiberty-linker-plugin:
28099 @if libiberty-linker-plugin-bootstrap
28100 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
28101 all-stage2: all-stage2-libiberty-linker-plugin
28102 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28103 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
28104 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28105 @r=`${PWD_COMMAND}`; export r; \
28106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28107 TFLAGS="$(STAGE2_TFLAGS)"; \
28108 $(HOST_EXPORTS) \
28109 $(POSTSTAGE1_HOST_EXPORTS) \
28110 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28113 CFLAGS="$(STAGE2_CFLAGS)" \
28114 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28115 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28116 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28121 TFLAGS="$(STAGE2_TFLAGS)" \
28122 $(TARGET-stage2-libiberty-linker-plugin)
28124 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
28125 clean-stage2: clean-stage2-libiberty-linker-plugin
28126 clean-stage2-libiberty-linker-plugin:
28127 @if [ $(current_stage) = stage2 ]; then \
28128 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28129 else \
28130 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
28131 $(MAKE) stage2-start; \
28132 fi; \
28133 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28135 @endif libiberty-linker-plugin-bootstrap
28138 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
28139 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
28140 maybe-all-stage3-libiberty-linker-plugin:
28141 maybe-clean-stage3-libiberty-linker-plugin:
28142 @if libiberty-linker-plugin-bootstrap
28143 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
28144 all-stage3: all-stage3-libiberty-linker-plugin
28145 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28146 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
28147 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28148 @r=`${PWD_COMMAND}`; export r; \
28149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28150 TFLAGS="$(STAGE3_TFLAGS)"; \
28151 $(HOST_EXPORTS) \
28152 $(POSTSTAGE1_HOST_EXPORTS) \
28153 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28156 CFLAGS="$(STAGE3_CFLAGS)" \
28157 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28158 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28159 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28164 TFLAGS="$(STAGE3_TFLAGS)" \
28165 $(TARGET-stage3-libiberty-linker-plugin)
28167 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
28168 clean-stage3: clean-stage3-libiberty-linker-plugin
28169 clean-stage3-libiberty-linker-plugin:
28170 @if [ $(current_stage) = stage3 ]; then \
28171 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28172 else \
28173 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
28174 $(MAKE) stage3-start; \
28175 fi; \
28176 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28178 @endif libiberty-linker-plugin-bootstrap
28181 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
28182 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
28183 maybe-all-stage4-libiberty-linker-plugin:
28184 maybe-clean-stage4-libiberty-linker-plugin:
28185 @if libiberty-linker-plugin-bootstrap
28186 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
28187 all-stage4: all-stage4-libiberty-linker-plugin
28188 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28189 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
28190 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28191 @r=`${PWD_COMMAND}`; export r; \
28192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28193 TFLAGS="$(STAGE4_TFLAGS)"; \
28194 $(HOST_EXPORTS) \
28195 $(POSTSTAGE1_HOST_EXPORTS) \
28196 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28199 CFLAGS="$(STAGE4_CFLAGS)" \
28200 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28201 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28202 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28207 TFLAGS="$(STAGE4_TFLAGS)" \
28208 $(TARGET-stage4-libiberty-linker-plugin)
28210 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
28211 clean-stage4: clean-stage4-libiberty-linker-plugin
28212 clean-stage4-libiberty-linker-plugin:
28213 @if [ $(current_stage) = stage4 ]; then \
28214 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28215 else \
28216 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
28217 $(MAKE) stage4-start; \
28218 fi; \
28219 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28221 @endif libiberty-linker-plugin-bootstrap
28224 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28225 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28226 maybe-all-stageprofile-libiberty-linker-plugin:
28227 maybe-clean-stageprofile-libiberty-linker-plugin:
28228 @if libiberty-linker-plugin-bootstrap
28229 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28230 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28231 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28232 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28233 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28234 @r=`${PWD_COMMAND}`; export r; \
28235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28236 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28237 $(HOST_EXPORTS) \
28238 $(POSTSTAGE1_HOST_EXPORTS) \
28239 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28242 CFLAGS="$(STAGEprofile_CFLAGS)" \
28243 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
28244 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28245 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28250 TFLAGS="$(STAGEprofile_TFLAGS)" \
28251 $(TARGET-stageprofile-libiberty-linker-plugin)
28253 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28254 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28255 clean-stageprofile-libiberty-linker-plugin:
28256 @if [ $(current_stage) = stageprofile ]; then \
28257 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28258 else \
28259 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28260 $(MAKE) stageprofile-start; \
28261 fi; \
28262 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28263 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28264 @endif libiberty-linker-plugin-bootstrap
28267 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28268 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28269 maybe-all-stagetrain-libiberty-linker-plugin:
28270 maybe-clean-stagetrain-libiberty-linker-plugin:
28271 @if libiberty-linker-plugin-bootstrap
28272 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28273 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28274 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28275 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28276 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28277 @r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28280 $(HOST_EXPORTS) \
28281 $(POSTSTAGE1_HOST_EXPORTS) \
28282 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28285 CFLAGS="$(STAGEtrain_CFLAGS)" \
28286 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
28287 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28288 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28292 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28293 TFLAGS="$(STAGEtrain_TFLAGS)" \
28294 $(TARGET-stagetrain-libiberty-linker-plugin)
28296 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28297 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28298 clean-stagetrain-libiberty-linker-plugin:
28299 @if [ $(current_stage) = stagetrain ]; then \
28300 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28301 else \
28302 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28303 $(MAKE) stagetrain-start; \
28304 fi; \
28305 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28306 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28307 @endif libiberty-linker-plugin-bootstrap
28310 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28311 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28312 maybe-all-stagefeedback-libiberty-linker-plugin:
28313 maybe-clean-stagefeedback-libiberty-linker-plugin:
28314 @if libiberty-linker-plugin-bootstrap
28315 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28316 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28317 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28318 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28319 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28320 @r=`${PWD_COMMAND}`; export r; \
28321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28322 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28323 $(HOST_EXPORTS) \
28324 $(POSTSTAGE1_HOST_EXPORTS) \
28325 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28328 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28329 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
28330 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28331 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28336 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28337 $(TARGET-stagefeedback-libiberty-linker-plugin)
28339 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28340 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28341 clean-stagefeedback-libiberty-linker-plugin:
28342 @if [ $(current_stage) = stagefeedback ]; then \
28343 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28344 else \
28345 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28346 $(MAKE) stagefeedback-start; \
28347 fi; \
28348 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28350 @endif libiberty-linker-plugin-bootstrap
28353 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28354 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28355 maybe-all-stageautoprofile-libiberty-linker-plugin:
28356 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28357 @if libiberty-linker-plugin-bootstrap
28358 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28359 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28360 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28361 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28362 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28363 @r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28366 $(HOST_EXPORTS) \
28367 $(POSTSTAGE1_HOST_EXPORTS) \
28368 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28369 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28371 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28372 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28373 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28374 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28379 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28380 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28382 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28383 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28384 clean-stageautoprofile-libiberty-linker-plugin:
28385 @if [ $(current_stage) = stageautoprofile ]; then \
28386 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28387 else \
28388 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28389 $(MAKE) stageautoprofile-start; \
28390 fi; \
28391 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28393 @endif libiberty-linker-plugin-bootstrap
28396 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28397 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28398 maybe-all-stageautofeedback-libiberty-linker-plugin:
28399 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28400 @if libiberty-linker-plugin-bootstrap
28401 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28402 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28403 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28404 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28405 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28406 @r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28409 $(HOST_EXPORTS) \
28410 $(POSTSTAGE1_HOST_EXPORTS) \
28411 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28414 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28415 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28416 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28417 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28422 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28423 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28425 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28426 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28427 clean-stageautofeedback-libiberty-linker-plugin:
28428 @if [ $(current_stage) = stageautofeedback ]; then \
28429 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28430 else \
28431 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28432 $(MAKE) stageautofeedback-start; \
28433 fi; \
28434 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28436 @endif libiberty-linker-plugin-bootstrap
28442 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28443 maybe-check-libiberty-linker-plugin:
28444 @if libiberty-linker-plugin
28445 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28447 check-libiberty-linker-plugin:
28448 @: $(MAKE); $(unstage)
28449 @r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28452 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28453 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28455 @endif libiberty-linker-plugin
28457 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28458 maybe-install-libiberty-linker-plugin:
28459 @if libiberty-linker-plugin
28460 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28462 install-libiberty-linker-plugin: installdirs
28463 @: $(MAKE); $(unstage)
28464 @r=`${PWD_COMMAND}`; export r; \
28465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28466 $(HOST_EXPORTS) \
28467 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28468 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28470 @endif libiberty-linker-plugin
28472 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28473 maybe-install-strip-libiberty-linker-plugin:
28474 @if libiberty-linker-plugin
28475 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28477 install-strip-libiberty-linker-plugin: installdirs
28478 @: $(MAKE); $(unstage)
28479 @r=`${PWD_COMMAND}`; export r; \
28480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28481 $(HOST_EXPORTS) \
28482 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28483 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28485 @endif libiberty-linker-plugin
28487 # Other targets (info, dvi, pdf, etc.)
28489 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28490 maybe-info-libiberty-linker-plugin:
28491 @if libiberty-linker-plugin
28492 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28494 info-libiberty-linker-plugin: \
28495 configure-libiberty-linker-plugin
28496 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28497 r=`${PWD_COMMAND}`; export r; \
28498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28499 $(HOST_EXPORTS) \
28500 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28502 done; \
28503 echo "Doing info in libiberty-linker-plugin"; \
28504 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28507 "RANLIB=$${RANLIB}" \
28508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28509 info) \
28510 || exit 1
28512 @endif libiberty-linker-plugin
28514 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28515 maybe-dvi-libiberty-linker-plugin:
28516 @if libiberty-linker-plugin
28517 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28519 dvi-libiberty-linker-plugin: \
28520 configure-libiberty-linker-plugin
28521 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28522 r=`${PWD_COMMAND}`; export r; \
28523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28524 $(HOST_EXPORTS) \
28525 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28527 done; \
28528 echo "Doing dvi in libiberty-linker-plugin"; \
28529 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28532 "RANLIB=$${RANLIB}" \
28533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28534 dvi) \
28535 || exit 1
28537 @endif libiberty-linker-plugin
28539 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28540 maybe-pdf-libiberty-linker-plugin:
28541 @if libiberty-linker-plugin
28542 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28544 pdf-libiberty-linker-plugin: \
28545 configure-libiberty-linker-plugin
28546 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28547 r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 $(HOST_EXPORTS) \
28550 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28552 done; \
28553 echo "Doing pdf in libiberty-linker-plugin"; \
28554 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28557 "RANLIB=$${RANLIB}" \
28558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28559 pdf) \
28560 || exit 1
28562 @endif libiberty-linker-plugin
28564 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28565 maybe-html-libiberty-linker-plugin:
28566 @if libiberty-linker-plugin
28567 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28569 html-libiberty-linker-plugin: \
28570 configure-libiberty-linker-plugin
28571 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28572 r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(HOST_EXPORTS) \
28575 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28577 done; \
28578 echo "Doing html in libiberty-linker-plugin"; \
28579 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28582 "RANLIB=$${RANLIB}" \
28583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28584 html) \
28585 || exit 1
28587 @endif libiberty-linker-plugin
28589 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28590 maybe-TAGS-libiberty-linker-plugin:
28591 @if libiberty-linker-plugin
28592 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28594 TAGS-libiberty-linker-plugin: \
28595 configure-libiberty-linker-plugin
28596 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28597 r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 $(HOST_EXPORTS) \
28600 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 echo "Doing TAGS in libiberty-linker-plugin"; \
28604 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28607 "RANLIB=$${RANLIB}" \
28608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28609 TAGS) \
28610 || exit 1
28612 @endif libiberty-linker-plugin
28614 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28615 maybe-install-info-libiberty-linker-plugin:
28616 @if libiberty-linker-plugin
28617 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28619 install-info-libiberty-linker-plugin: \
28620 configure-libiberty-linker-plugin \
28621 info-libiberty-linker-plugin
28622 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28623 r=`${PWD_COMMAND}`; export r; \
28624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28625 $(HOST_EXPORTS) \
28626 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28628 done; \
28629 echo "Doing install-info in libiberty-linker-plugin"; \
28630 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28633 "RANLIB=$${RANLIB}" \
28634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28635 install-info) \
28636 || exit 1
28638 @endif libiberty-linker-plugin
28640 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28641 maybe-install-pdf-libiberty-linker-plugin:
28642 @if libiberty-linker-plugin
28643 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28645 install-pdf-libiberty-linker-plugin: \
28646 configure-libiberty-linker-plugin \
28647 pdf-libiberty-linker-plugin
28648 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28649 r=`${PWD_COMMAND}`; export r; \
28650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28651 $(HOST_EXPORTS) \
28652 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28654 done; \
28655 echo "Doing install-pdf in libiberty-linker-plugin"; \
28656 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28659 "RANLIB=$${RANLIB}" \
28660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28661 install-pdf) \
28662 || exit 1
28664 @endif libiberty-linker-plugin
28666 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28667 maybe-install-html-libiberty-linker-plugin:
28668 @if libiberty-linker-plugin
28669 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28671 install-html-libiberty-linker-plugin: \
28672 configure-libiberty-linker-plugin \
28673 html-libiberty-linker-plugin
28674 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28675 r=`${PWD_COMMAND}`; export r; \
28676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28677 $(HOST_EXPORTS) \
28678 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28680 done; \
28681 echo "Doing install-html in libiberty-linker-plugin"; \
28682 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28685 "RANLIB=$${RANLIB}" \
28686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28687 install-html) \
28688 || exit 1
28690 @endif libiberty-linker-plugin
28692 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28693 maybe-installcheck-libiberty-linker-plugin:
28694 @if libiberty-linker-plugin
28695 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28697 installcheck-libiberty-linker-plugin: \
28698 configure-libiberty-linker-plugin
28699 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28700 r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 $(HOST_EXPORTS) \
28703 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28705 done; \
28706 echo "Doing installcheck in libiberty-linker-plugin"; \
28707 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28710 "RANLIB=$${RANLIB}" \
28711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28712 installcheck) \
28713 || exit 1
28715 @endif libiberty-linker-plugin
28717 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28718 maybe-mostlyclean-libiberty-linker-plugin:
28719 @if libiberty-linker-plugin
28720 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28722 mostlyclean-libiberty-linker-plugin:
28723 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28724 r=`${PWD_COMMAND}`; export r; \
28725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28726 $(HOST_EXPORTS) \
28727 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28729 done; \
28730 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28731 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28734 "RANLIB=$${RANLIB}" \
28735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28736 mostlyclean) \
28737 || exit 1
28739 @endif libiberty-linker-plugin
28741 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28742 maybe-clean-libiberty-linker-plugin:
28743 @if libiberty-linker-plugin
28744 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28746 clean-libiberty-linker-plugin:
28747 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28748 r=`${PWD_COMMAND}`; export r; \
28749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28750 $(HOST_EXPORTS) \
28751 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 done; \
28754 echo "Doing clean in libiberty-linker-plugin"; \
28755 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28758 "RANLIB=$${RANLIB}" \
28759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28760 clean) \
28761 || exit 1
28763 @endif libiberty-linker-plugin
28765 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28766 maybe-distclean-libiberty-linker-plugin:
28767 @if libiberty-linker-plugin
28768 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28770 distclean-libiberty-linker-plugin:
28771 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28772 r=`${PWD_COMMAND}`; export r; \
28773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28774 $(HOST_EXPORTS) \
28775 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 done; \
28778 echo "Doing distclean in libiberty-linker-plugin"; \
28779 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28782 "RANLIB=$${RANLIB}" \
28783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28784 distclean) \
28785 || exit 1
28787 @endif libiberty-linker-plugin
28789 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28790 maybe-maintainer-clean-libiberty-linker-plugin:
28791 @if libiberty-linker-plugin
28792 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28794 maintainer-clean-libiberty-linker-plugin:
28795 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28796 r=`${PWD_COMMAND}`; export r; \
28797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 $(HOST_EXPORTS) \
28799 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28801 done; \
28802 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28803 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28806 "RANLIB=$${RANLIB}" \
28807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28808 maintainer-clean) \
28809 || exit 1
28811 @endif libiberty-linker-plugin
28815 .PHONY: configure-libiconv maybe-configure-libiconv
28816 maybe-configure-libiconv:
28817 @if gcc-bootstrap
28818 configure-libiconv: stage_current
28819 @endif gcc-bootstrap
28820 @if libiconv
28821 maybe-configure-libiconv: configure-libiconv
28822 configure-libiconv:
28823 @r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28827 $(HOST_EXPORTS) \
28828 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28829 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28830 case $(srcdir) in \
28831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28832 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28834 esac; \
28835 module_srcdir=libiconv; \
28836 $(SHELL) \
28837 $$s/$$module_srcdir/configure \
28838 --srcdir=$${topdir}/$$module_srcdir \
28839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28840 --target=${target_alias} --disable-shared \
28841 || exit 1
28842 @endif libiconv
28846 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28847 maybe-configure-stage1-libiconv:
28848 @if libiconv-bootstrap
28849 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28850 configure-stage1-libiconv:
28851 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28853 @r=`${PWD_COMMAND}`; export r; \
28854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28855 TFLAGS="$(STAGE1_TFLAGS)"; \
28856 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28857 $(HOST_EXPORTS) \
28858 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28859 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28860 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28861 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28863 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28864 case $(srcdir) in \
28865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28866 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28868 esac; \
28869 module_srcdir=libiconv; \
28870 $(SHELL) $$s/$$module_srcdir/configure \
28871 --srcdir=$${topdir}/$$module_srcdir \
28872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28873 --target=${target_alias} \
28875 $(STAGE1_CONFIGURE_FLAGS) \
28876 --disable-shared
28877 @endif libiconv-bootstrap
28879 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28880 maybe-configure-stage2-libiconv:
28881 @if libiconv-bootstrap
28882 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28883 configure-stage2-libiconv:
28884 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28886 @r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 TFLAGS="$(STAGE2_TFLAGS)"; \
28889 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28890 $(HOST_EXPORTS) \
28891 $(POSTSTAGE1_HOST_EXPORTS) \
28892 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28893 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28894 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28895 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28897 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28898 case $(srcdir) in \
28899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28900 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28902 esac; \
28903 module_srcdir=libiconv; \
28904 $(SHELL) $$s/$$module_srcdir/configure \
28905 --srcdir=$${topdir}/$$module_srcdir \
28906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28907 --target=${target_alias} \
28908 --with-build-libsubdir=$(HOST_SUBDIR) \
28909 $(STAGE2_CONFIGURE_FLAGS) \
28910 --disable-shared
28911 @endif libiconv-bootstrap
28913 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28914 maybe-configure-stage3-libiconv:
28915 @if libiconv-bootstrap
28916 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28917 configure-stage3-libiconv:
28918 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28920 @r=`${PWD_COMMAND}`; export r; \
28921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28922 TFLAGS="$(STAGE3_TFLAGS)"; \
28923 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28924 $(HOST_EXPORTS) \
28925 $(POSTSTAGE1_HOST_EXPORTS) \
28926 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28927 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28928 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28929 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28931 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28932 case $(srcdir) in \
28933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28934 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28936 esac; \
28937 module_srcdir=libiconv; \
28938 $(SHELL) $$s/$$module_srcdir/configure \
28939 --srcdir=$${topdir}/$$module_srcdir \
28940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28941 --target=${target_alias} \
28942 --with-build-libsubdir=$(HOST_SUBDIR) \
28943 $(STAGE3_CONFIGURE_FLAGS) \
28944 --disable-shared
28945 @endif libiconv-bootstrap
28947 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28948 maybe-configure-stage4-libiconv:
28949 @if libiconv-bootstrap
28950 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28951 configure-stage4-libiconv:
28952 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 TFLAGS="$(STAGE4_TFLAGS)"; \
28957 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28958 $(HOST_EXPORTS) \
28959 $(POSTSTAGE1_HOST_EXPORTS) \
28960 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28961 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28962 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28963 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28965 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28966 case $(srcdir) in \
28967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28968 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28970 esac; \
28971 module_srcdir=libiconv; \
28972 $(SHELL) $$s/$$module_srcdir/configure \
28973 --srcdir=$${topdir}/$$module_srcdir \
28974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28975 --target=${target_alias} \
28976 --with-build-libsubdir=$(HOST_SUBDIR) \
28977 $(STAGE4_CONFIGURE_FLAGS) \
28978 --disable-shared
28979 @endif libiconv-bootstrap
28981 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28982 maybe-configure-stageprofile-libiconv:
28983 @if libiconv-bootstrap
28984 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28985 configure-stageprofile-libiconv:
28986 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28988 @r=`${PWD_COMMAND}`; export r; \
28989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28990 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28991 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28992 $(HOST_EXPORTS) \
28993 $(POSTSTAGE1_HOST_EXPORTS) \
28994 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28995 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28996 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28997 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28999 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29000 case $(srcdir) in \
29001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29002 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29004 esac; \
29005 module_srcdir=libiconv; \
29006 $(SHELL) $$s/$$module_srcdir/configure \
29007 --srcdir=$${topdir}/$$module_srcdir \
29008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29009 --target=${target_alias} \
29010 --with-build-libsubdir=$(HOST_SUBDIR) \
29011 $(STAGEprofile_CONFIGURE_FLAGS) \
29012 --disable-shared
29013 @endif libiconv-bootstrap
29015 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
29016 maybe-configure-stagetrain-libiconv:
29017 @if libiconv-bootstrap
29018 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
29019 configure-stagetrain-libiconv:
29020 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29022 @r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29025 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29026 $(HOST_EXPORTS) \
29027 $(POSTSTAGE1_HOST_EXPORTS) \
29028 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29029 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29030 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29031 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
29032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29033 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29034 case $(srcdir) in \
29035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29036 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29038 esac; \
29039 module_srcdir=libiconv; \
29040 $(SHELL) $$s/$$module_srcdir/configure \
29041 --srcdir=$${topdir}/$$module_srcdir \
29042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29043 --target=${target_alias} \
29044 --with-build-libsubdir=$(HOST_SUBDIR) \
29045 $(STAGEtrain_CONFIGURE_FLAGS) \
29046 --disable-shared
29047 @endif libiconv-bootstrap
29049 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
29050 maybe-configure-stagefeedback-libiconv:
29051 @if libiconv-bootstrap
29052 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
29053 configure-stagefeedback-libiconv:
29054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29056 @r=`${PWD_COMMAND}`; export r; \
29057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29058 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29059 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29060 $(HOST_EXPORTS) \
29061 $(POSTSTAGE1_HOST_EXPORTS) \
29062 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29063 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29064 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29065 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
29066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29067 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29068 case $(srcdir) in \
29069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29070 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29072 esac; \
29073 module_srcdir=libiconv; \
29074 $(SHELL) $$s/$$module_srcdir/configure \
29075 --srcdir=$${topdir}/$$module_srcdir \
29076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29077 --target=${target_alias} \
29078 --with-build-libsubdir=$(HOST_SUBDIR) \
29079 $(STAGEfeedback_CONFIGURE_FLAGS) \
29080 --disable-shared
29081 @endif libiconv-bootstrap
29083 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
29084 maybe-configure-stageautoprofile-libiconv:
29085 @if libiconv-bootstrap
29086 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29087 configure-stageautoprofile-libiconv:
29088 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29090 @r=`${PWD_COMMAND}`; export r; \
29091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29092 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29093 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29094 $(HOST_EXPORTS) \
29095 $(POSTSTAGE1_HOST_EXPORTS) \
29096 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29097 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29098 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29099 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
29100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29101 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29102 case $(srcdir) in \
29103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29104 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29106 esac; \
29107 module_srcdir=libiconv; \
29108 $(SHELL) $$s/$$module_srcdir/configure \
29109 --srcdir=$${topdir}/$$module_srcdir \
29110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29111 --target=${target_alias} \
29112 --with-build-libsubdir=$(HOST_SUBDIR) \
29113 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29114 --disable-shared
29115 @endif libiconv-bootstrap
29117 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
29118 maybe-configure-stageautofeedback-libiconv:
29119 @if libiconv-bootstrap
29120 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29121 configure-stageautofeedback-libiconv:
29122 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29124 @r=`${PWD_COMMAND}`; export r; \
29125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29126 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29127 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29128 $(HOST_EXPORTS) \
29129 $(POSTSTAGE1_HOST_EXPORTS) \
29130 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29131 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29132 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29133 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
29134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29135 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29136 case $(srcdir) in \
29137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29138 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29140 esac; \
29141 module_srcdir=libiconv; \
29142 $(SHELL) $$s/$$module_srcdir/configure \
29143 --srcdir=$${topdir}/$$module_srcdir \
29144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29145 --target=${target_alias} \
29146 --with-build-libsubdir=$(HOST_SUBDIR) \
29147 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29148 --disable-shared
29149 @endif libiconv-bootstrap
29155 .PHONY: all-libiconv maybe-all-libiconv
29156 maybe-all-libiconv:
29157 @if gcc-bootstrap
29158 all-libiconv: stage_current
29159 @endif gcc-bootstrap
29160 @if libiconv
29161 TARGET-libiconv=all
29162 maybe-all-libiconv: all-libiconv
29163 all-libiconv: configure-libiconv
29164 @r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 $(HOST_EXPORTS) \
29167 (cd $(HOST_SUBDIR)/libiconv && \
29168 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29169 $(TARGET-libiconv))
29170 @endif libiconv
29174 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
29175 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
29176 maybe-all-stage1-libiconv:
29177 maybe-clean-stage1-libiconv:
29178 @if libiconv-bootstrap
29179 maybe-all-stage1-libiconv: all-stage1-libiconv
29180 all-stage1: all-stage1-libiconv
29181 TARGET-stage1-libiconv = $(TARGET-libiconv)
29182 all-stage1-libiconv: configure-stage1-libiconv
29183 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29184 @r=`${PWD_COMMAND}`; export r; \
29185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29186 TFLAGS="$(STAGE1_TFLAGS)"; \
29187 $(HOST_EXPORTS) \
29188 cd $(HOST_SUBDIR)/libiconv && \
29190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29191 CFLAGS="$(STAGE1_CFLAGS)" \
29192 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29193 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29194 LIBCFLAGS="$(LIBCFLAGS)" \
29195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29198 $(EXTRA_HOST_FLAGS) \
29199 $(STAGE1_FLAGS_TO_PASS) \
29200 TFLAGS="$(STAGE1_TFLAGS)" \
29201 $(TARGET-stage1-libiconv)
29203 maybe-clean-stage1-libiconv: clean-stage1-libiconv
29204 clean-stage1: clean-stage1-libiconv
29205 clean-stage1-libiconv:
29206 @if [ $(current_stage) = stage1 ]; then \
29207 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29208 else \
29209 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
29210 $(MAKE) stage1-start; \
29211 fi; \
29212 cd $(HOST_SUBDIR)/libiconv && \
29213 $(MAKE) $(EXTRA_HOST_FLAGS) \
29214 $(STAGE1_FLAGS_TO_PASS) clean
29215 @endif libiconv-bootstrap
29218 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
29219 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
29220 maybe-all-stage2-libiconv:
29221 maybe-clean-stage2-libiconv:
29222 @if libiconv-bootstrap
29223 maybe-all-stage2-libiconv: all-stage2-libiconv
29224 all-stage2: all-stage2-libiconv
29225 TARGET-stage2-libiconv = $(TARGET-libiconv)
29226 all-stage2-libiconv: configure-stage2-libiconv
29227 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29228 @r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230 TFLAGS="$(STAGE2_TFLAGS)"; \
29231 $(HOST_EXPORTS) \
29232 $(POSTSTAGE1_HOST_EXPORTS) \
29233 cd $(HOST_SUBDIR)/libiconv && \
29235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29236 CFLAGS="$(STAGE2_CFLAGS)" \
29237 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29238 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29239 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29243 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29244 TFLAGS="$(STAGE2_TFLAGS)" \
29245 $(TARGET-stage2-libiconv)
29247 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29248 clean-stage2: clean-stage2-libiconv
29249 clean-stage2-libiconv:
29250 @if [ $(current_stage) = stage2 ]; then \
29251 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29252 else \
29253 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29254 $(MAKE) stage2-start; \
29255 fi; \
29256 cd $(HOST_SUBDIR)/libiconv && \
29257 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29258 @endif libiconv-bootstrap
29261 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29262 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29263 maybe-all-stage3-libiconv:
29264 maybe-clean-stage3-libiconv:
29265 @if libiconv-bootstrap
29266 maybe-all-stage3-libiconv: all-stage3-libiconv
29267 all-stage3: all-stage3-libiconv
29268 TARGET-stage3-libiconv = $(TARGET-libiconv)
29269 all-stage3-libiconv: configure-stage3-libiconv
29270 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29271 @r=`${PWD_COMMAND}`; export r; \
29272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29273 TFLAGS="$(STAGE3_TFLAGS)"; \
29274 $(HOST_EXPORTS) \
29275 $(POSTSTAGE1_HOST_EXPORTS) \
29276 cd $(HOST_SUBDIR)/libiconv && \
29278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29279 CFLAGS="$(STAGE3_CFLAGS)" \
29280 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29281 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29282 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29287 TFLAGS="$(STAGE3_TFLAGS)" \
29288 $(TARGET-stage3-libiconv)
29290 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29291 clean-stage3: clean-stage3-libiconv
29292 clean-stage3-libiconv:
29293 @if [ $(current_stage) = stage3 ]; then \
29294 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29295 else \
29296 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29297 $(MAKE) stage3-start; \
29298 fi; \
29299 cd $(HOST_SUBDIR)/libiconv && \
29300 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29301 @endif libiconv-bootstrap
29304 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29305 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29306 maybe-all-stage4-libiconv:
29307 maybe-clean-stage4-libiconv:
29308 @if libiconv-bootstrap
29309 maybe-all-stage4-libiconv: all-stage4-libiconv
29310 all-stage4: all-stage4-libiconv
29311 TARGET-stage4-libiconv = $(TARGET-libiconv)
29312 all-stage4-libiconv: configure-stage4-libiconv
29313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29314 @r=`${PWD_COMMAND}`; export r; \
29315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29316 TFLAGS="$(STAGE4_TFLAGS)"; \
29317 $(HOST_EXPORTS) \
29318 $(POSTSTAGE1_HOST_EXPORTS) \
29319 cd $(HOST_SUBDIR)/libiconv && \
29321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29322 CFLAGS="$(STAGE4_CFLAGS)" \
29323 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29324 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29325 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29329 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29330 TFLAGS="$(STAGE4_TFLAGS)" \
29331 $(TARGET-stage4-libiconv)
29333 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29334 clean-stage4: clean-stage4-libiconv
29335 clean-stage4-libiconv:
29336 @if [ $(current_stage) = stage4 ]; then \
29337 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29338 else \
29339 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29340 $(MAKE) stage4-start; \
29341 fi; \
29342 cd $(HOST_SUBDIR)/libiconv && \
29343 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29344 @endif libiconv-bootstrap
29347 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29348 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29349 maybe-all-stageprofile-libiconv:
29350 maybe-clean-stageprofile-libiconv:
29351 @if libiconv-bootstrap
29352 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29353 all-stageprofile: all-stageprofile-libiconv
29354 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29355 all-stageprofile-libiconv: configure-stageprofile-libiconv
29356 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29357 @r=`${PWD_COMMAND}`; export r; \
29358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29359 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29360 $(HOST_EXPORTS) \
29361 $(POSTSTAGE1_HOST_EXPORTS) \
29362 cd $(HOST_SUBDIR)/libiconv && \
29364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29365 CFLAGS="$(STAGEprofile_CFLAGS)" \
29366 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29367 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29368 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29372 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29373 TFLAGS="$(STAGEprofile_TFLAGS)" \
29374 $(TARGET-stageprofile-libiconv)
29376 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29377 clean-stageprofile: clean-stageprofile-libiconv
29378 clean-stageprofile-libiconv:
29379 @if [ $(current_stage) = stageprofile ]; then \
29380 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29381 else \
29382 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29383 $(MAKE) stageprofile-start; \
29384 fi; \
29385 cd $(HOST_SUBDIR)/libiconv && \
29386 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29387 @endif libiconv-bootstrap
29390 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29391 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29392 maybe-all-stagetrain-libiconv:
29393 maybe-clean-stagetrain-libiconv:
29394 @if libiconv-bootstrap
29395 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29396 all-stagetrain: all-stagetrain-libiconv
29397 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29398 all-stagetrain-libiconv: configure-stagetrain-libiconv
29399 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29400 @r=`${PWD_COMMAND}`; export r; \
29401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29402 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29403 $(HOST_EXPORTS) \
29404 $(POSTSTAGE1_HOST_EXPORTS) \
29405 cd $(HOST_SUBDIR)/libiconv && \
29407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29408 CFLAGS="$(STAGEtrain_CFLAGS)" \
29409 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29410 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29411 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29416 TFLAGS="$(STAGEtrain_TFLAGS)" \
29417 $(TARGET-stagetrain-libiconv)
29419 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29420 clean-stagetrain: clean-stagetrain-libiconv
29421 clean-stagetrain-libiconv:
29422 @if [ $(current_stage) = stagetrain ]; then \
29423 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29424 else \
29425 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29426 $(MAKE) stagetrain-start; \
29427 fi; \
29428 cd $(HOST_SUBDIR)/libiconv && \
29429 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29430 @endif libiconv-bootstrap
29433 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29434 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29435 maybe-all-stagefeedback-libiconv:
29436 maybe-clean-stagefeedback-libiconv:
29437 @if libiconv-bootstrap
29438 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29439 all-stagefeedback: all-stagefeedback-libiconv
29440 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29441 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29442 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29443 @r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29446 $(HOST_EXPORTS) \
29447 $(POSTSTAGE1_HOST_EXPORTS) \
29448 cd $(HOST_SUBDIR)/libiconv && \
29450 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29451 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29452 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29453 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29454 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29459 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29460 $(TARGET-stagefeedback-libiconv)
29462 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29463 clean-stagefeedback: clean-stagefeedback-libiconv
29464 clean-stagefeedback-libiconv:
29465 @if [ $(current_stage) = stagefeedback ]; then \
29466 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29467 else \
29468 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29469 $(MAKE) stagefeedback-start; \
29470 fi; \
29471 cd $(HOST_SUBDIR)/libiconv && \
29472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29473 @endif libiconv-bootstrap
29476 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29477 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29478 maybe-all-stageautoprofile-libiconv:
29479 maybe-clean-stageautoprofile-libiconv:
29480 @if libiconv-bootstrap
29481 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29482 all-stageautoprofile: all-stageautoprofile-libiconv
29483 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29484 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29485 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29486 @r=`${PWD_COMMAND}`; export r; \
29487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29488 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29489 $(HOST_EXPORTS) \
29490 $(POSTSTAGE1_HOST_EXPORTS) \
29491 cd $(HOST_SUBDIR)/libiconv && \
29492 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29494 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29495 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29496 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29497 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29502 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29503 $(TARGET-stageautoprofile-libiconv)
29505 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29506 clean-stageautoprofile: clean-stageautoprofile-libiconv
29507 clean-stageautoprofile-libiconv:
29508 @if [ $(current_stage) = stageautoprofile ]; then \
29509 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29510 else \
29511 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29512 $(MAKE) stageautoprofile-start; \
29513 fi; \
29514 cd $(HOST_SUBDIR)/libiconv && \
29515 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29516 @endif libiconv-bootstrap
29519 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29520 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29521 maybe-all-stageautofeedback-libiconv:
29522 maybe-clean-stageautofeedback-libiconv:
29523 @if libiconv-bootstrap
29524 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29525 all-stageautofeedback: all-stageautofeedback-libiconv
29526 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29527 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29528 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29529 @r=`${PWD_COMMAND}`; export r; \
29530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29531 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29532 $(HOST_EXPORTS) \
29533 $(POSTSTAGE1_HOST_EXPORTS) \
29534 cd $(HOST_SUBDIR)/libiconv && \
29536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29537 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29538 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29539 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29540 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29545 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29546 $(TARGET-stageautofeedback-libiconv)
29548 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29549 clean-stageautofeedback: clean-stageautofeedback-libiconv
29550 clean-stageautofeedback-libiconv:
29551 @if [ $(current_stage) = stageautofeedback ]; then \
29552 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29553 else \
29554 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29555 $(MAKE) stageautofeedback-start; \
29556 fi; \
29557 cd $(HOST_SUBDIR)/libiconv && \
29558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29559 @endif libiconv-bootstrap
29565 .PHONY: check-libiconv maybe-check-libiconv
29566 maybe-check-libiconv:
29567 @if libiconv
29568 maybe-check-libiconv: check-libiconv
29570 check-libiconv:
29571 @: $(MAKE); $(unstage)
29572 @r=`${PWD_COMMAND}`; export r; \
29573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29574 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29575 (cd $(HOST_SUBDIR)/libiconv && \
29576 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29578 @endif libiconv
29580 .PHONY: install-libiconv maybe-install-libiconv
29581 maybe-install-libiconv:
29582 @if libiconv
29583 maybe-install-libiconv: install-libiconv
29585 install-libiconv:
29587 @endif libiconv
29589 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29590 maybe-install-strip-libiconv:
29591 @if libiconv
29592 maybe-install-strip-libiconv: install-strip-libiconv
29594 install-strip-libiconv:
29596 @endif libiconv
29598 # Other targets (info, dvi, pdf, etc.)
29600 .PHONY: maybe-info-libiconv info-libiconv
29601 maybe-info-libiconv:
29602 @if libiconv
29603 maybe-info-libiconv: info-libiconv
29605 # libiconv doesn't support info.
29606 info-libiconv:
29608 @endif libiconv
29610 .PHONY: maybe-dvi-libiconv dvi-libiconv
29611 maybe-dvi-libiconv:
29612 @if libiconv
29613 maybe-dvi-libiconv: dvi-libiconv
29615 dvi-libiconv: \
29616 configure-libiconv
29617 @[ -f ./libiconv/Makefile ] || exit 0; \
29618 r=`${PWD_COMMAND}`; export r; \
29619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29620 $(HOST_EXPORTS) \
29621 for flag in $(EXTRA_HOST_FLAGS) ; do \
29622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29623 done; \
29624 echo "Doing dvi in libiconv"; \
29625 (cd $(HOST_SUBDIR)/libiconv && \
29626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29628 "RANLIB=$${RANLIB}" \
29629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29630 dvi) \
29631 || exit 1
29633 @endif libiconv
29635 .PHONY: maybe-pdf-libiconv pdf-libiconv
29636 maybe-pdf-libiconv:
29637 @if libiconv
29638 maybe-pdf-libiconv: pdf-libiconv
29640 # libiconv doesn't support pdf.
29641 pdf-libiconv:
29643 @endif libiconv
29645 .PHONY: maybe-html-libiconv html-libiconv
29646 maybe-html-libiconv:
29647 @if libiconv
29648 maybe-html-libiconv: html-libiconv
29650 # libiconv doesn't support html.
29651 html-libiconv:
29653 @endif libiconv
29655 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29656 maybe-TAGS-libiconv:
29657 @if libiconv
29658 maybe-TAGS-libiconv: TAGS-libiconv
29660 TAGS-libiconv: \
29661 configure-libiconv
29662 @[ -f ./libiconv/Makefile ] || exit 0; \
29663 r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(HOST_EXPORTS) \
29666 for flag in $(EXTRA_HOST_FLAGS) ; do \
29667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29668 done; \
29669 echo "Doing TAGS in libiconv"; \
29670 (cd $(HOST_SUBDIR)/libiconv && \
29671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29673 "RANLIB=$${RANLIB}" \
29674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29675 TAGS) \
29676 || exit 1
29678 @endif libiconv
29680 .PHONY: maybe-install-info-libiconv install-info-libiconv
29681 maybe-install-info-libiconv:
29682 @if libiconv
29683 maybe-install-info-libiconv: install-info-libiconv
29685 # libiconv doesn't support install-info.
29686 install-info-libiconv:
29688 @endif libiconv
29690 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29691 maybe-install-pdf-libiconv:
29692 @if libiconv
29693 maybe-install-pdf-libiconv: install-pdf-libiconv
29695 # libiconv doesn't support install-pdf.
29696 install-pdf-libiconv:
29698 @endif libiconv
29700 .PHONY: maybe-install-html-libiconv install-html-libiconv
29701 maybe-install-html-libiconv:
29702 @if libiconv
29703 maybe-install-html-libiconv: install-html-libiconv
29705 # libiconv doesn't support install-html.
29706 install-html-libiconv:
29708 @endif libiconv
29710 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29711 maybe-installcheck-libiconv:
29712 @if libiconv
29713 maybe-installcheck-libiconv: installcheck-libiconv
29715 installcheck-libiconv: \
29716 configure-libiconv
29717 @[ -f ./libiconv/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 libiconv"; \
29725 (cd $(HOST_SUBDIR)/libiconv && \
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 libiconv
29735 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29736 maybe-mostlyclean-libiconv:
29737 @if libiconv
29738 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29740 mostlyclean-libiconv:
29741 @[ -f ./libiconv/Makefile ] || exit 0; \
29742 r=`${PWD_COMMAND}`; export r; \
29743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29744 $(HOST_EXPORTS) \
29745 for flag in $(EXTRA_HOST_FLAGS) ; do \
29746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29747 done; \
29748 echo "Doing mostlyclean in libiconv"; \
29749 (cd $(HOST_SUBDIR)/libiconv && \
29750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29752 "RANLIB=$${RANLIB}" \
29753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29754 mostlyclean) \
29755 || exit 1
29757 @endif libiconv
29759 .PHONY: maybe-clean-libiconv clean-libiconv
29760 maybe-clean-libiconv:
29761 @if libiconv
29762 maybe-clean-libiconv: clean-libiconv
29764 clean-libiconv:
29765 @[ -f ./libiconv/Makefile ] || exit 0; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(HOST_EXPORTS) \
29769 for flag in $(EXTRA_HOST_FLAGS) ; do \
29770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29771 done; \
29772 echo "Doing clean in libiconv"; \
29773 (cd $(HOST_SUBDIR)/libiconv && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29778 clean) \
29779 || exit 1
29781 @endif libiconv
29783 .PHONY: maybe-distclean-libiconv distclean-libiconv
29784 maybe-distclean-libiconv:
29785 @if libiconv
29786 maybe-distclean-libiconv: distclean-libiconv
29788 distclean-libiconv:
29789 @[ -f ./libiconv/Makefile ] || exit 0; \
29790 r=`${PWD_COMMAND}`; export r; \
29791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29792 $(HOST_EXPORTS) \
29793 for flag in $(EXTRA_HOST_FLAGS) ; do \
29794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29795 done; \
29796 echo "Doing distclean in libiconv"; \
29797 (cd $(HOST_SUBDIR)/libiconv && \
29798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29800 "RANLIB=$${RANLIB}" \
29801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29802 distclean) \
29803 || exit 1
29805 @endif libiconv
29807 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29808 maybe-maintainer-clean-libiconv:
29809 @if libiconv
29810 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29812 maintainer-clean-libiconv:
29813 @[ -f ./libiconv/Makefile ] || exit 0; \
29814 r=`${PWD_COMMAND}`; export r; \
29815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29816 $(HOST_EXPORTS) \
29817 for flag in $(EXTRA_HOST_FLAGS) ; do \
29818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29819 done; \
29820 echo "Doing maintainer-clean in libiconv"; \
29821 (cd $(HOST_SUBDIR)/libiconv && \
29822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29824 "RANLIB=$${RANLIB}" \
29825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29826 maintainer-clean) \
29827 || exit 1
29829 @endif libiconv
29833 .PHONY: configure-m4 maybe-configure-m4
29834 maybe-configure-m4:
29835 @if gcc-bootstrap
29836 configure-m4: stage_current
29837 @endif gcc-bootstrap
29838 @if m4
29839 maybe-configure-m4: configure-m4
29840 configure-m4:
29841 @: $(MAKE); $(unstage)
29842 @r=`${PWD_COMMAND}`; export r; \
29843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29844 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29846 $(HOST_EXPORTS) \
29847 echo Configuring in $(HOST_SUBDIR)/m4; \
29848 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29849 case $(srcdir) in \
29850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29851 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29853 esac; \
29854 module_srcdir=m4; \
29855 $(SHELL) \
29856 $$s/$$module_srcdir/configure \
29857 --srcdir=$${topdir}/$$module_srcdir \
29858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29859 --target=${target_alias} \
29860 || exit 1
29861 @endif m4
29867 .PHONY: all-m4 maybe-all-m4
29868 maybe-all-m4:
29869 @if gcc-bootstrap
29870 all-m4: stage_current
29871 @endif gcc-bootstrap
29872 @if m4
29873 TARGET-m4=all
29874 maybe-all-m4: all-m4
29875 all-m4: configure-m4
29876 @: $(MAKE); $(unstage)
29877 @r=`${PWD_COMMAND}`; export r; \
29878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29879 $(HOST_EXPORTS) \
29880 (cd $(HOST_SUBDIR)/m4 && \
29881 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29882 $(TARGET-m4))
29883 @endif m4
29888 .PHONY: check-m4 maybe-check-m4
29889 maybe-check-m4:
29890 @if m4
29891 maybe-check-m4: check-m4
29893 check-m4:
29894 @: $(MAKE); $(unstage)
29895 @r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(HOST_EXPORTS) \
29898 (cd $(HOST_SUBDIR)/m4 && \
29899 $(MAKE) $(FLAGS_TO_PASS) check)
29901 @endif m4
29903 .PHONY: install-m4 maybe-install-m4
29904 maybe-install-m4:
29905 @if m4
29906 maybe-install-m4: install-m4
29908 install-m4: installdirs
29909 @: $(MAKE); $(unstage)
29910 @r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 $(HOST_EXPORTS) \
29913 (cd $(HOST_SUBDIR)/m4 && \
29914 $(MAKE) $(FLAGS_TO_PASS) install)
29916 @endif m4
29918 .PHONY: install-strip-m4 maybe-install-strip-m4
29919 maybe-install-strip-m4:
29920 @if m4
29921 maybe-install-strip-m4: install-strip-m4
29923 install-strip-m4: installdirs
29924 @: $(MAKE); $(unstage)
29925 @r=`${PWD_COMMAND}`; export r; \
29926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29927 $(HOST_EXPORTS) \
29928 (cd $(HOST_SUBDIR)/m4 && \
29929 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29931 @endif m4
29933 # Other targets (info, dvi, pdf, etc.)
29935 .PHONY: maybe-info-m4 info-m4
29936 maybe-info-m4:
29937 @if m4
29938 maybe-info-m4: info-m4
29940 info-m4: \
29941 configure-m4
29942 @: $(MAKE); $(unstage)
29943 @[ -f ./m4/Makefile ] || exit 0; \
29944 r=`${PWD_COMMAND}`; export r; \
29945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29946 $(HOST_EXPORTS) \
29947 for flag in $(EXTRA_HOST_FLAGS) ; do \
29948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29949 done; \
29950 echo "Doing info in m4"; \
29951 (cd $(HOST_SUBDIR)/m4 && \
29952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29954 "RANLIB=$${RANLIB}" \
29955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29956 info) \
29957 || exit 1
29959 @endif m4
29961 .PHONY: maybe-dvi-m4 dvi-m4
29962 maybe-dvi-m4:
29963 @if m4
29964 maybe-dvi-m4: dvi-m4
29966 dvi-m4: \
29967 configure-m4
29968 @: $(MAKE); $(unstage)
29969 @[ -f ./m4/Makefile ] || exit 0; \
29970 r=`${PWD_COMMAND}`; export r; \
29971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29972 $(HOST_EXPORTS) \
29973 for flag in $(EXTRA_HOST_FLAGS) ; do \
29974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29975 done; \
29976 echo "Doing dvi in m4"; \
29977 (cd $(HOST_SUBDIR)/m4 && \
29978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29980 "RANLIB=$${RANLIB}" \
29981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29982 dvi) \
29983 || exit 1
29985 @endif m4
29987 .PHONY: maybe-pdf-m4 pdf-m4
29988 maybe-pdf-m4:
29989 @if m4
29990 maybe-pdf-m4: pdf-m4
29992 pdf-m4: \
29993 configure-m4
29994 @: $(MAKE); $(unstage)
29995 @[ -f ./m4/Makefile ] || exit 0; \
29996 r=`${PWD_COMMAND}`; export r; \
29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29998 $(HOST_EXPORTS) \
29999 for flag in $(EXTRA_HOST_FLAGS) ; do \
30000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30001 done; \
30002 echo "Doing pdf in m4"; \
30003 (cd $(HOST_SUBDIR)/m4 && \
30004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30006 "RANLIB=$${RANLIB}" \
30007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30008 pdf) \
30009 || exit 1
30011 @endif m4
30013 .PHONY: maybe-html-m4 html-m4
30014 maybe-html-m4:
30015 @if m4
30016 maybe-html-m4: html-m4
30018 html-m4: \
30019 configure-m4
30020 @: $(MAKE); $(unstage)
30021 @[ -f ./m4/Makefile ] || exit 0; \
30022 r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 $(HOST_EXPORTS) \
30025 for flag in $(EXTRA_HOST_FLAGS) ; do \
30026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30027 done; \
30028 echo "Doing html in m4"; \
30029 (cd $(HOST_SUBDIR)/m4 && \
30030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30032 "RANLIB=$${RANLIB}" \
30033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30034 html) \
30035 || exit 1
30037 @endif m4
30039 .PHONY: maybe-TAGS-m4 TAGS-m4
30040 maybe-TAGS-m4:
30041 @if m4
30042 maybe-TAGS-m4: TAGS-m4
30044 TAGS-m4: \
30045 configure-m4
30046 @: $(MAKE); $(unstage)
30047 @[ -f ./m4/Makefile ] || exit 0; \
30048 r=`${PWD_COMMAND}`; export r; \
30049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30050 $(HOST_EXPORTS) \
30051 for flag in $(EXTRA_HOST_FLAGS) ; do \
30052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30053 done; \
30054 echo "Doing TAGS in m4"; \
30055 (cd $(HOST_SUBDIR)/m4 && \
30056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30058 "RANLIB=$${RANLIB}" \
30059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30060 TAGS) \
30061 || exit 1
30063 @endif m4
30065 .PHONY: maybe-install-info-m4 install-info-m4
30066 maybe-install-info-m4:
30067 @if m4
30068 maybe-install-info-m4: install-info-m4
30070 install-info-m4: \
30071 configure-m4 \
30072 info-m4
30073 @: $(MAKE); $(unstage)
30074 @[ -f ./m4/Makefile ] || exit 0; \
30075 r=`${PWD_COMMAND}`; export r; \
30076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30077 $(HOST_EXPORTS) \
30078 for flag in $(EXTRA_HOST_FLAGS) ; do \
30079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30080 done; \
30081 echo "Doing install-info in m4"; \
30082 (cd $(HOST_SUBDIR)/m4 && \
30083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30085 "RANLIB=$${RANLIB}" \
30086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30087 install-info) \
30088 || exit 1
30090 @endif m4
30092 .PHONY: maybe-install-pdf-m4 install-pdf-m4
30093 maybe-install-pdf-m4:
30094 @if m4
30095 maybe-install-pdf-m4: install-pdf-m4
30097 install-pdf-m4: \
30098 configure-m4 \
30099 pdf-m4
30100 @: $(MAKE); $(unstage)
30101 @[ -f ./m4/Makefile ] || exit 0; \
30102 r=`${PWD_COMMAND}`; export r; \
30103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30104 $(HOST_EXPORTS) \
30105 for flag in $(EXTRA_HOST_FLAGS) ; do \
30106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30107 done; \
30108 echo "Doing install-pdf in m4"; \
30109 (cd $(HOST_SUBDIR)/m4 && \
30110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30112 "RANLIB=$${RANLIB}" \
30113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30114 install-pdf) \
30115 || exit 1
30117 @endif m4
30119 .PHONY: maybe-install-html-m4 install-html-m4
30120 maybe-install-html-m4:
30121 @if m4
30122 maybe-install-html-m4: install-html-m4
30124 install-html-m4: \
30125 configure-m4 \
30126 html-m4
30127 @: $(MAKE); $(unstage)
30128 @[ -f ./m4/Makefile ] || exit 0; \
30129 r=`${PWD_COMMAND}`; export r; \
30130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30131 $(HOST_EXPORTS) \
30132 for flag in $(EXTRA_HOST_FLAGS) ; do \
30133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30134 done; \
30135 echo "Doing install-html in m4"; \
30136 (cd $(HOST_SUBDIR)/m4 && \
30137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30139 "RANLIB=$${RANLIB}" \
30140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30141 install-html) \
30142 || exit 1
30144 @endif m4
30146 .PHONY: maybe-installcheck-m4 installcheck-m4
30147 maybe-installcheck-m4:
30148 @if m4
30149 maybe-installcheck-m4: installcheck-m4
30151 installcheck-m4: \
30152 configure-m4
30153 @: $(MAKE); $(unstage)
30154 @[ -f ./m4/Makefile ] || exit 0; \
30155 r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(HOST_EXPORTS) \
30158 for flag in $(EXTRA_HOST_FLAGS) ; do \
30159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30160 done; \
30161 echo "Doing installcheck in m4"; \
30162 (cd $(HOST_SUBDIR)/m4 && \
30163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30165 "RANLIB=$${RANLIB}" \
30166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30167 installcheck) \
30168 || exit 1
30170 @endif m4
30172 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
30173 maybe-mostlyclean-m4:
30174 @if m4
30175 maybe-mostlyclean-m4: mostlyclean-m4
30177 mostlyclean-m4:
30178 @: $(MAKE); $(unstage)
30179 @[ -f ./m4/Makefile ] || exit 0; \
30180 r=`${PWD_COMMAND}`; export r; \
30181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30182 $(HOST_EXPORTS) \
30183 for flag in $(EXTRA_HOST_FLAGS) ; do \
30184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30185 done; \
30186 echo "Doing mostlyclean in m4"; \
30187 (cd $(HOST_SUBDIR)/m4 && \
30188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30190 "RANLIB=$${RANLIB}" \
30191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30192 mostlyclean) \
30193 || exit 1
30195 @endif m4
30197 .PHONY: maybe-clean-m4 clean-m4
30198 maybe-clean-m4:
30199 @if m4
30200 maybe-clean-m4: clean-m4
30202 clean-m4:
30203 @: $(MAKE); $(unstage)
30204 @[ -f ./m4/Makefile ] || exit 0; \
30205 r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 $(HOST_EXPORTS) \
30208 for flag in $(EXTRA_HOST_FLAGS) ; do \
30209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30210 done; \
30211 echo "Doing clean in m4"; \
30212 (cd $(HOST_SUBDIR)/m4 && \
30213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30215 "RANLIB=$${RANLIB}" \
30216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30217 clean) \
30218 || exit 1
30220 @endif m4
30222 .PHONY: maybe-distclean-m4 distclean-m4
30223 maybe-distclean-m4:
30224 @if m4
30225 maybe-distclean-m4: distclean-m4
30227 distclean-m4:
30228 @: $(MAKE); $(unstage)
30229 @[ -f ./m4/Makefile ] || exit 0; \
30230 r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 $(HOST_EXPORTS) \
30233 for flag in $(EXTRA_HOST_FLAGS) ; do \
30234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30235 done; \
30236 echo "Doing distclean in m4"; \
30237 (cd $(HOST_SUBDIR)/m4 && \
30238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30240 "RANLIB=$${RANLIB}" \
30241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30242 distclean) \
30243 || exit 1
30245 @endif m4
30247 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30248 maybe-maintainer-clean-m4:
30249 @if m4
30250 maybe-maintainer-clean-m4: maintainer-clean-m4
30252 maintainer-clean-m4:
30253 @: $(MAKE); $(unstage)
30254 @[ -f ./m4/Makefile ] || exit 0; \
30255 r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 $(HOST_EXPORTS) \
30258 for flag in $(EXTRA_HOST_FLAGS) ; do \
30259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30260 done; \
30261 echo "Doing maintainer-clean in m4"; \
30262 (cd $(HOST_SUBDIR)/m4 && \
30263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30265 "RANLIB=$${RANLIB}" \
30266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30267 maintainer-clean) \
30268 || exit 1
30270 @endif m4
30274 .PHONY: configure-readline maybe-configure-readline
30275 maybe-configure-readline:
30276 @if gcc-bootstrap
30277 configure-readline: stage_current
30278 @endif gcc-bootstrap
30279 @if readline
30280 maybe-configure-readline: configure-readline
30281 configure-readline:
30282 @: $(MAKE); $(unstage)
30283 @r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30287 $(HOST_EXPORTS) \
30288 echo Configuring in $(HOST_SUBDIR)/readline; \
30289 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30290 case $(srcdir) in \
30291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30292 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30294 esac; \
30295 module_srcdir=readline; \
30296 $(SHELL) \
30297 $$s/$$module_srcdir/configure \
30298 --srcdir=$${topdir}/$$module_srcdir \
30299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30300 --target=${target_alias} \
30301 || exit 1
30302 @endif readline
30308 .PHONY: all-readline maybe-all-readline
30309 maybe-all-readline:
30310 @if gcc-bootstrap
30311 all-readline: stage_current
30312 @endif gcc-bootstrap
30313 @if readline
30314 TARGET-readline=all
30315 maybe-all-readline: all-readline
30316 all-readline: configure-readline
30317 @: $(MAKE); $(unstage)
30318 @r=`${PWD_COMMAND}`; export r; \
30319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30320 $(HOST_EXPORTS) \
30321 (cd $(HOST_SUBDIR)/readline && \
30322 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30323 $(TARGET-readline))
30324 @endif readline
30329 .PHONY: check-readline maybe-check-readline
30330 maybe-check-readline:
30331 @if readline
30332 maybe-check-readline: check-readline
30334 check-readline:
30335 @: $(MAKE); $(unstage)
30336 @r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 $(HOST_EXPORTS) \
30339 (cd $(HOST_SUBDIR)/readline && \
30340 $(MAKE) $(FLAGS_TO_PASS) check)
30342 @endif readline
30344 .PHONY: install-readline maybe-install-readline
30345 maybe-install-readline:
30346 @if readline
30347 maybe-install-readline: install-readline
30349 install-readline: installdirs
30350 @: $(MAKE); $(unstage)
30351 @r=`${PWD_COMMAND}`; export r; \
30352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30353 $(HOST_EXPORTS) \
30354 (cd $(HOST_SUBDIR)/readline && \
30355 $(MAKE) $(FLAGS_TO_PASS) install)
30357 @endif readline
30359 .PHONY: install-strip-readline maybe-install-strip-readline
30360 maybe-install-strip-readline:
30361 @if readline
30362 maybe-install-strip-readline: install-strip-readline
30364 install-strip-readline: installdirs
30365 @: $(MAKE); $(unstage)
30366 @r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 $(HOST_EXPORTS) \
30369 (cd $(HOST_SUBDIR)/readline && \
30370 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30372 @endif readline
30374 # Other targets (info, dvi, pdf, etc.)
30376 .PHONY: maybe-info-readline info-readline
30377 maybe-info-readline:
30378 @if readline
30379 maybe-info-readline: info-readline
30381 info-readline: \
30382 configure-readline
30383 @: $(MAKE); $(unstage)
30384 @[ -f ./readline/Makefile ] || exit 0; \
30385 r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 $(HOST_EXPORTS) \
30388 for flag in $(EXTRA_HOST_FLAGS) ; do \
30389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30390 done; \
30391 echo "Doing info in readline"; \
30392 (cd $(HOST_SUBDIR)/readline && \
30393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30395 "RANLIB=$${RANLIB}" \
30396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30397 info) \
30398 || exit 1
30400 @endif readline
30402 .PHONY: maybe-dvi-readline dvi-readline
30403 maybe-dvi-readline:
30404 @if readline
30405 maybe-dvi-readline: dvi-readline
30407 dvi-readline: \
30408 configure-readline
30409 @: $(MAKE); $(unstage)
30410 @[ -f ./readline/Makefile ] || exit 0; \
30411 r=`${PWD_COMMAND}`; export r; \
30412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 $(HOST_EXPORTS) \
30414 for flag in $(EXTRA_HOST_FLAGS) ; do \
30415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30416 done; \
30417 echo "Doing dvi in readline"; \
30418 (cd $(HOST_SUBDIR)/readline && \
30419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30421 "RANLIB=$${RANLIB}" \
30422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30423 dvi) \
30424 || exit 1
30426 @endif readline
30428 .PHONY: maybe-pdf-readline pdf-readline
30429 maybe-pdf-readline:
30430 @if readline
30431 maybe-pdf-readline: pdf-readline
30433 pdf-readline: \
30434 configure-readline
30435 @: $(MAKE); $(unstage)
30436 @[ -f ./readline/Makefile ] || exit 0; \
30437 r=`${PWD_COMMAND}`; export r; \
30438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30439 $(HOST_EXPORTS) \
30440 for flag in $(EXTRA_HOST_FLAGS) ; do \
30441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30442 done; \
30443 echo "Doing pdf in readline"; \
30444 (cd $(HOST_SUBDIR)/readline && \
30445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30447 "RANLIB=$${RANLIB}" \
30448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30449 pdf) \
30450 || exit 1
30452 @endif readline
30454 .PHONY: maybe-html-readline html-readline
30455 maybe-html-readline:
30456 @if readline
30457 maybe-html-readline: html-readline
30459 html-readline: \
30460 configure-readline
30461 @: $(MAKE); $(unstage)
30462 @[ -f ./readline/Makefile ] || exit 0; \
30463 r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 $(HOST_EXPORTS) \
30466 for flag in $(EXTRA_HOST_FLAGS) ; do \
30467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30468 done; \
30469 echo "Doing html in readline"; \
30470 (cd $(HOST_SUBDIR)/readline && \
30471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30473 "RANLIB=$${RANLIB}" \
30474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30475 html) \
30476 || exit 1
30478 @endif readline
30480 .PHONY: maybe-TAGS-readline TAGS-readline
30481 maybe-TAGS-readline:
30482 @if readline
30483 maybe-TAGS-readline: TAGS-readline
30485 TAGS-readline: \
30486 configure-readline
30487 @: $(MAKE); $(unstage)
30488 @[ -f ./readline/Makefile ] || exit 0; \
30489 r=`${PWD_COMMAND}`; export r; \
30490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30491 $(HOST_EXPORTS) \
30492 for flag in $(EXTRA_HOST_FLAGS) ; do \
30493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30494 done; \
30495 echo "Doing TAGS in readline"; \
30496 (cd $(HOST_SUBDIR)/readline && \
30497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30499 "RANLIB=$${RANLIB}" \
30500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30501 TAGS) \
30502 || exit 1
30504 @endif readline
30506 .PHONY: maybe-install-info-readline install-info-readline
30507 maybe-install-info-readline:
30508 @if readline
30509 maybe-install-info-readline: install-info-readline
30511 install-info-readline: \
30512 configure-readline \
30513 info-readline
30514 @: $(MAKE); $(unstage)
30515 @[ -f ./readline/Makefile ] || exit 0; \
30516 r=`${PWD_COMMAND}`; export r; \
30517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30518 $(HOST_EXPORTS) \
30519 for flag in $(EXTRA_HOST_FLAGS) ; do \
30520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30521 done; \
30522 echo "Doing install-info in readline"; \
30523 (cd $(HOST_SUBDIR)/readline && \
30524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30526 "RANLIB=$${RANLIB}" \
30527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30528 install-info) \
30529 || exit 1
30531 @endif readline
30533 .PHONY: maybe-install-pdf-readline install-pdf-readline
30534 maybe-install-pdf-readline:
30535 @if readline
30536 maybe-install-pdf-readline: install-pdf-readline
30538 install-pdf-readline: \
30539 configure-readline \
30540 pdf-readline
30541 @: $(MAKE); $(unstage)
30542 @[ -f ./readline/Makefile ] || exit 0; \
30543 r=`${PWD_COMMAND}`; export r; \
30544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30545 $(HOST_EXPORTS) \
30546 for flag in $(EXTRA_HOST_FLAGS) ; do \
30547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30548 done; \
30549 echo "Doing install-pdf in readline"; \
30550 (cd $(HOST_SUBDIR)/readline && \
30551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30553 "RANLIB=$${RANLIB}" \
30554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30555 install-pdf) \
30556 || exit 1
30558 @endif readline
30560 .PHONY: maybe-install-html-readline install-html-readline
30561 maybe-install-html-readline:
30562 @if readline
30563 maybe-install-html-readline: install-html-readline
30565 install-html-readline: \
30566 configure-readline \
30567 html-readline
30568 @: $(MAKE); $(unstage)
30569 @[ -f ./readline/Makefile ] || exit 0; \
30570 r=`${PWD_COMMAND}`; export r; \
30571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30572 $(HOST_EXPORTS) \
30573 for flag in $(EXTRA_HOST_FLAGS) ; do \
30574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30575 done; \
30576 echo "Doing install-html in readline"; \
30577 (cd $(HOST_SUBDIR)/readline && \
30578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30580 "RANLIB=$${RANLIB}" \
30581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30582 install-html) \
30583 || exit 1
30585 @endif readline
30587 .PHONY: maybe-installcheck-readline installcheck-readline
30588 maybe-installcheck-readline:
30589 @if readline
30590 maybe-installcheck-readline: installcheck-readline
30592 installcheck-readline: \
30593 configure-readline
30594 @: $(MAKE); $(unstage)
30595 @[ -f ./readline/Makefile ] || exit 0; \
30596 r=`${PWD_COMMAND}`; export r; \
30597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30598 $(HOST_EXPORTS) \
30599 for flag in $(EXTRA_HOST_FLAGS) ; do \
30600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30601 done; \
30602 echo "Doing installcheck in readline"; \
30603 (cd $(HOST_SUBDIR)/readline && \
30604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30606 "RANLIB=$${RANLIB}" \
30607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30608 installcheck) \
30609 || exit 1
30611 @endif readline
30613 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30614 maybe-mostlyclean-readline:
30615 @if readline
30616 maybe-mostlyclean-readline: mostlyclean-readline
30618 mostlyclean-readline:
30619 @: $(MAKE); $(unstage)
30620 @[ -f ./readline/Makefile ] || exit 0; \
30621 r=`${PWD_COMMAND}`; export r; \
30622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30623 $(HOST_EXPORTS) \
30624 for flag in $(EXTRA_HOST_FLAGS) ; do \
30625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30626 done; \
30627 echo "Doing mostlyclean in readline"; \
30628 (cd $(HOST_SUBDIR)/readline && \
30629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30631 "RANLIB=$${RANLIB}" \
30632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30633 mostlyclean) \
30634 || exit 1
30636 @endif readline
30638 .PHONY: maybe-clean-readline clean-readline
30639 maybe-clean-readline:
30640 @if readline
30641 maybe-clean-readline: clean-readline
30643 clean-readline:
30644 @: $(MAKE); $(unstage)
30645 @[ -f ./readline/Makefile ] || exit 0; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(HOST_EXPORTS) \
30649 for flag in $(EXTRA_HOST_FLAGS) ; do \
30650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30651 done; \
30652 echo "Doing clean in readline"; \
30653 (cd $(HOST_SUBDIR)/readline && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30656 "RANLIB=$${RANLIB}" \
30657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30658 clean) \
30659 || exit 1
30661 @endif readline
30663 .PHONY: maybe-distclean-readline distclean-readline
30664 maybe-distclean-readline:
30665 @if readline
30666 maybe-distclean-readline: distclean-readline
30668 distclean-readline:
30669 @: $(MAKE); $(unstage)
30670 @[ -f ./readline/Makefile ] || exit 0; \
30671 r=`${PWD_COMMAND}`; export r; \
30672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30673 $(HOST_EXPORTS) \
30674 for flag in $(EXTRA_HOST_FLAGS) ; do \
30675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30676 done; \
30677 echo "Doing distclean in readline"; \
30678 (cd $(HOST_SUBDIR)/readline && \
30679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30681 "RANLIB=$${RANLIB}" \
30682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30683 distclean) \
30684 || exit 1
30686 @endif readline
30688 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30689 maybe-maintainer-clean-readline:
30690 @if readline
30691 maybe-maintainer-clean-readline: maintainer-clean-readline
30693 maintainer-clean-readline:
30694 @: $(MAKE); $(unstage)
30695 @[ -f ./readline/Makefile ] || exit 0; \
30696 r=`${PWD_COMMAND}`; export r; \
30697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30698 $(HOST_EXPORTS) \
30699 for flag in $(EXTRA_HOST_FLAGS) ; do \
30700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30701 done; \
30702 echo "Doing maintainer-clean in readline"; \
30703 (cd $(HOST_SUBDIR)/readline && \
30704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30706 "RANLIB=$${RANLIB}" \
30707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30708 maintainer-clean) \
30709 || exit 1
30711 @endif readline
30715 .PHONY: configure-sid maybe-configure-sid
30716 maybe-configure-sid:
30717 @if gcc-bootstrap
30718 configure-sid: stage_current
30719 @endif gcc-bootstrap
30720 @if sid
30721 maybe-configure-sid: configure-sid
30722 configure-sid:
30723 @: $(MAKE); $(unstage)
30724 @r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30728 $(HOST_EXPORTS) \
30729 echo Configuring in $(HOST_SUBDIR)/sid; \
30730 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30731 case $(srcdir) in \
30732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30733 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30735 esac; \
30736 module_srcdir=sid; \
30737 $(SHELL) \
30738 $$s/$$module_srcdir/configure \
30739 --srcdir=$${topdir}/$$module_srcdir \
30740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30741 --target=${target_alias} \
30742 || exit 1
30743 @endif sid
30749 .PHONY: all-sid maybe-all-sid
30750 maybe-all-sid:
30751 @if gcc-bootstrap
30752 all-sid: stage_current
30753 @endif gcc-bootstrap
30754 @if sid
30755 TARGET-sid=all
30756 maybe-all-sid: all-sid
30757 all-sid: configure-sid
30758 @: $(MAKE); $(unstage)
30759 @r=`${PWD_COMMAND}`; export r; \
30760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30761 $(HOST_EXPORTS) \
30762 (cd $(HOST_SUBDIR)/sid && \
30763 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30764 $(TARGET-sid))
30765 @endif sid
30770 .PHONY: check-sid maybe-check-sid
30771 maybe-check-sid:
30772 @if sid
30773 maybe-check-sid: check-sid
30775 check-sid:
30776 @: $(MAKE); $(unstage)
30777 @r=`${PWD_COMMAND}`; export r; \
30778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30779 $(HOST_EXPORTS) \
30780 (cd $(HOST_SUBDIR)/sid && \
30781 $(MAKE) $(FLAGS_TO_PASS) check)
30783 @endif sid
30785 .PHONY: install-sid maybe-install-sid
30786 maybe-install-sid:
30787 @if sid
30788 maybe-install-sid: install-sid
30790 install-sid: installdirs
30791 @: $(MAKE); $(unstage)
30792 @r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 $(HOST_EXPORTS) \
30795 (cd $(HOST_SUBDIR)/sid && \
30796 $(MAKE) $(FLAGS_TO_PASS) install)
30798 @endif sid
30800 .PHONY: install-strip-sid maybe-install-strip-sid
30801 maybe-install-strip-sid:
30802 @if sid
30803 maybe-install-strip-sid: install-strip-sid
30805 install-strip-sid: installdirs
30806 @: $(MAKE); $(unstage)
30807 @r=`${PWD_COMMAND}`; export r; \
30808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30809 $(HOST_EXPORTS) \
30810 (cd $(HOST_SUBDIR)/sid && \
30811 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30813 @endif sid
30815 # Other targets (info, dvi, pdf, etc.)
30817 .PHONY: maybe-info-sid info-sid
30818 maybe-info-sid:
30819 @if sid
30820 maybe-info-sid: info-sid
30822 info-sid: \
30823 configure-sid
30824 @: $(MAKE); $(unstage)
30825 @[ -f ./sid/Makefile ] || exit 0; \
30826 r=`${PWD_COMMAND}`; export r; \
30827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30828 $(HOST_EXPORTS) \
30829 for flag in $(EXTRA_HOST_FLAGS) ; do \
30830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30831 done; \
30832 echo "Doing info in sid"; \
30833 (cd $(HOST_SUBDIR)/sid && \
30834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30836 "RANLIB=$${RANLIB}" \
30837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30838 info) \
30839 || exit 1
30841 @endif sid
30843 .PHONY: maybe-dvi-sid dvi-sid
30844 maybe-dvi-sid:
30845 @if sid
30846 maybe-dvi-sid: dvi-sid
30848 dvi-sid: \
30849 configure-sid
30850 @: $(MAKE); $(unstage)
30851 @[ -f ./sid/Makefile ] || exit 0; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(HOST_EXPORTS) \
30855 for flag in $(EXTRA_HOST_FLAGS) ; do \
30856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30857 done; \
30858 echo "Doing dvi in sid"; \
30859 (cd $(HOST_SUBDIR)/sid && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30864 dvi) \
30865 || exit 1
30867 @endif sid
30869 .PHONY: maybe-pdf-sid pdf-sid
30870 maybe-pdf-sid:
30871 @if sid
30872 maybe-pdf-sid: pdf-sid
30874 pdf-sid: \
30875 configure-sid
30876 @: $(MAKE); $(unstage)
30877 @[ -f ./sid/Makefile ] || exit 0; \
30878 r=`${PWD_COMMAND}`; export r; \
30879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30880 $(HOST_EXPORTS) \
30881 for flag in $(EXTRA_HOST_FLAGS) ; do \
30882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30883 done; \
30884 echo "Doing pdf in sid"; \
30885 (cd $(HOST_SUBDIR)/sid && \
30886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30888 "RANLIB=$${RANLIB}" \
30889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30890 pdf) \
30891 || exit 1
30893 @endif sid
30895 .PHONY: maybe-html-sid html-sid
30896 maybe-html-sid:
30897 @if sid
30898 maybe-html-sid: html-sid
30900 html-sid: \
30901 configure-sid
30902 @: $(MAKE); $(unstage)
30903 @[ -f ./sid/Makefile ] || exit 0; \
30904 r=`${PWD_COMMAND}`; export r; \
30905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30906 $(HOST_EXPORTS) \
30907 for flag in $(EXTRA_HOST_FLAGS) ; do \
30908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30909 done; \
30910 echo "Doing html in sid"; \
30911 (cd $(HOST_SUBDIR)/sid && \
30912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30914 "RANLIB=$${RANLIB}" \
30915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30916 html) \
30917 || exit 1
30919 @endif sid
30921 .PHONY: maybe-TAGS-sid TAGS-sid
30922 maybe-TAGS-sid:
30923 @if sid
30924 maybe-TAGS-sid: TAGS-sid
30926 TAGS-sid: \
30927 configure-sid
30928 @: $(MAKE); $(unstage)
30929 @[ -f ./sid/Makefile ] || exit 0; \
30930 r=`${PWD_COMMAND}`; export r; \
30931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 $(HOST_EXPORTS) \
30933 for flag in $(EXTRA_HOST_FLAGS) ; do \
30934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30935 done; \
30936 echo "Doing TAGS in sid"; \
30937 (cd $(HOST_SUBDIR)/sid && \
30938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30940 "RANLIB=$${RANLIB}" \
30941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30942 TAGS) \
30943 || exit 1
30945 @endif sid
30947 .PHONY: maybe-install-info-sid install-info-sid
30948 maybe-install-info-sid:
30949 @if sid
30950 maybe-install-info-sid: install-info-sid
30952 install-info-sid: \
30953 configure-sid \
30954 info-sid
30955 @: $(MAKE); $(unstage)
30956 @[ -f ./sid/Makefile ] || exit 0; \
30957 r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 $(HOST_EXPORTS) \
30960 for flag in $(EXTRA_HOST_FLAGS) ; do \
30961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30962 done; \
30963 echo "Doing install-info in sid"; \
30964 (cd $(HOST_SUBDIR)/sid && \
30965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30967 "RANLIB=$${RANLIB}" \
30968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30969 install-info) \
30970 || exit 1
30972 @endif sid
30974 .PHONY: maybe-install-pdf-sid install-pdf-sid
30975 maybe-install-pdf-sid:
30976 @if sid
30977 maybe-install-pdf-sid: install-pdf-sid
30979 install-pdf-sid: \
30980 configure-sid \
30981 pdf-sid
30982 @: $(MAKE); $(unstage)
30983 @[ -f ./sid/Makefile ] || exit 0; \
30984 r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 $(HOST_EXPORTS) \
30987 for flag in $(EXTRA_HOST_FLAGS) ; do \
30988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30989 done; \
30990 echo "Doing install-pdf in sid"; \
30991 (cd $(HOST_SUBDIR)/sid && \
30992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30994 "RANLIB=$${RANLIB}" \
30995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30996 install-pdf) \
30997 || exit 1
30999 @endif sid
31001 .PHONY: maybe-install-html-sid install-html-sid
31002 maybe-install-html-sid:
31003 @if sid
31004 maybe-install-html-sid: install-html-sid
31006 install-html-sid: \
31007 configure-sid \
31008 html-sid
31009 @: $(MAKE); $(unstage)
31010 @[ -f ./sid/Makefile ] || exit 0; \
31011 r=`${PWD_COMMAND}`; export r; \
31012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31013 $(HOST_EXPORTS) \
31014 for flag in $(EXTRA_HOST_FLAGS) ; do \
31015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31016 done; \
31017 echo "Doing install-html in sid"; \
31018 (cd $(HOST_SUBDIR)/sid && \
31019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31021 "RANLIB=$${RANLIB}" \
31022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31023 install-html) \
31024 || exit 1
31026 @endif sid
31028 .PHONY: maybe-installcheck-sid installcheck-sid
31029 maybe-installcheck-sid:
31030 @if sid
31031 maybe-installcheck-sid: installcheck-sid
31033 installcheck-sid: \
31034 configure-sid
31035 @: $(MAKE); $(unstage)
31036 @[ -f ./sid/Makefile ] || exit 0; \
31037 r=`${PWD_COMMAND}`; export r; \
31038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31039 $(HOST_EXPORTS) \
31040 for flag in $(EXTRA_HOST_FLAGS) ; do \
31041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31042 done; \
31043 echo "Doing installcheck in sid"; \
31044 (cd $(HOST_SUBDIR)/sid && \
31045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31047 "RANLIB=$${RANLIB}" \
31048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31049 installcheck) \
31050 || exit 1
31052 @endif sid
31054 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
31055 maybe-mostlyclean-sid:
31056 @if sid
31057 maybe-mostlyclean-sid: mostlyclean-sid
31059 mostlyclean-sid:
31060 @: $(MAKE); $(unstage)
31061 @[ -f ./sid/Makefile ] || exit 0; \
31062 r=`${PWD_COMMAND}`; export r; \
31063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31064 $(HOST_EXPORTS) \
31065 for flag in $(EXTRA_HOST_FLAGS) ; do \
31066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31067 done; \
31068 echo "Doing mostlyclean in sid"; \
31069 (cd $(HOST_SUBDIR)/sid && \
31070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31072 "RANLIB=$${RANLIB}" \
31073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31074 mostlyclean) \
31075 || exit 1
31077 @endif sid
31079 .PHONY: maybe-clean-sid clean-sid
31080 maybe-clean-sid:
31081 @if sid
31082 maybe-clean-sid: clean-sid
31084 clean-sid:
31085 @: $(MAKE); $(unstage)
31086 @[ -f ./sid/Makefile ] || exit 0; \
31087 r=`${PWD_COMMAND}`; export r; \
31088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31089 $(HOST_EXPORTS) \
31090 for flag in $(EXTRA_HOST_FLAGS) ; do \
31091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31092 done; \
31093 echo "Doing clean in sid"; \
31094 (cd $(HOST_SUBDIR)/sid && \
31095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31097 "RANLIB=$${RANLIB}" \
31098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31099 clean) \
31100 || exit 1
31102 @endif sid
31104 .PHONY: maybe-distclean-sid distclean-sid
31105 maybe-distclean-sid:
31106 @if sid
31107 maybe-distclean-sid: distclean-sid
31109 distclean-sid:
31110 @: $(MAKE); $(unstage)
31111 @[ -f ./sid/Makefile ] || exit 0; \
31112 r=`${PWD_COMMAND}`; export r; \
31113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31114 $(HOST_EXPORTS) \
31115 for flag in $(EXTRA_HOST_FLAGS) ; do \
31116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31117 done; \
31118 echo "Doing distclean in sid"; \
31119 (cd $(HOST_SUBDIR)/sid && \
31120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31122 "RANLIB=$${RANLIB}" \
31123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31124 distclean) \
31125 || exit 1
31127 @endif sid
31129 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
31130 maybe-maintainer-clean-sid:
31131 @if sid
31132 maybe-maintainer-clean-sid: maintainer-clean-sid
31134 maintainer-clean-sid:
31135 @: $(MAKE); $(unstage)
31136 @[ -f ./sid/Makefile ] || exit 0; \
31137 r=`${PWD_COMMAND}`; export r; \
31138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31139 $(HOST_EXPORTS) \
31140 for flag in $(EXTRA_HOST_FLAGS) ; do \
31141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31142 done; \
31143 echo "Doing maintainer-clean in sid"; \
31144 (cd $(HOST_SUBDIR)/sid && \
31145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31147 "RANLIB=$${RANLIB}" \
31148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31149 maintainer-clean) \
31150 || exit 1
31152 @endif sid
31156 .PHONY: configure-sim maybe-configure-sim
31157 maybe-configure-sim:
31158 @if gcc-bootstrap
31159 configure-sim: stage_current
31160 @endif gcc-bootstrap
31161 @if sim
31162 maybe-configure-sim: configure-sim
31163 configure-sim:
31164 @: $(MAKE); $(unstage)
31165 @r=`${PWD_COMMAND}`; export r; \
31166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31167 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
31168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
31169 $(HOST_EXPORTS) \
31170 echo Configuring in $(HOST_SUBDIR)/sim; \
31171 cd "$(HOST_SUBDIR)/sim" || exit 1; \
31172 case $(srcdir) in \
31173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31174 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
31175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31176 esac; \
31177 module_srcdir=sim; \
31178 $(SHELL) \
31179 $$s/$$module_srcdir/configure \
31180 --srcdir=$${topdir}/$$module_srcdir \
31181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31182 --target=${target_alias} \
31183 || exit 1
31184 @endif sim
31190 .PHONY: all-sim maybe-all-sim
31191 maybe-all-sim:
31192 @if gcc-bootstrap
31193 all-sim: stage_current
31194 @endif gcc-bootstrap
31195 @if sim
31196 TARGET-sim=all
31197 maybe-all-sim: all-sim
31198 all-sim: configure-sim
31199 @: $(MAKE); $(unstage)
31200 @r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 (cd $(HOST_SUBDIR)/sim && \
31204 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31205 $(TARGET-sim))
31206 @endif sim
31211 .PHONY: check-sim maybe-check-sim
31212 maybe-check-sim:
31213 @if sim
31214 maybe-check-sim: check-sim
31216 check-sim:
31217 @: $(MAKE); $(unstage)
31218 @r=`${PWD_COMMAND}`; export r; \
31219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31220 $(HOST_EXPORTS) \
31221 (cd $(HOST_SUBDIR)/sim && \
31222 $(MAKE) $(FLAGS_TO_PASS) check)
31224 @endif sim
31226 .PHONY: install-sim maybe-install-sim
31227 maybe-install-sim:
31228 @if sim
31229 maybe-install-sim: install-sim
31231 install-sim: installdirs
31232 @: $(MAKE); $(unstage)
31233 @r=`${PWD_COMMAND}`; export r; \
31234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31235 $(HOST_EXPORTS) \
31236 (cd $(HOST_SUBDIR)/sim && \
31237 $(MAKE) $(FLAGS_TO_PASS) install)
31239 @endif sim
31241 .PHONY: install-strip-sim maybe-install-strip-sim
31242 maybe-install-strip-sim:
31243 @if sim
31244 maybe-install-strip-sim: install-strip-sim
31246 install-strip-sim: installdirs
31247 @: $(MAKE); $(unstage)
31248 @r=`${PWD_COMMAND}`; export r; \
31249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31250 $(HOST_EXPORTS) \
31251 (cd $(HOST_SUBDIR)/sim && \
31252 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31254 @endif sim
31256 # Other targets (info, dvi, pdf, etc.)
31258 .PHONY: maybe-info-sim info-sim
31259 maybe-info-sim:
31260 @if sim
31261 maybe-info-sim: info-sim
31263 info-sim: \
31264 configure-sim
31265 @: $(MAKE); $(unstage)
31266 @[ -f ./sim/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 info in sim"; \
31274 (cd $(HOST_SUBDIR)/sim && \
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 info) \
31280 || exit 1
31282 @endif sim
31284 .PHONY: maybe-dvi-sim dvi-sim
31285 maybe-dvi-sim:
31286 @if sim
31287 maybe-dvi-sim: dvi-sim
31289 dvi-sim: \
31290 configure-sim
31291 @: $(MAKE); $(unstage)
31292 @[ -f ./sim/Makefile ] || exit 0; \
31293 r=`${PWD_COMMAND}`; export r; \
31294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31295 $(HOST_EXPORTS) \
31296 for flag in $(EXTRA_HOST_FLAGS) ; do \
31297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31298 done; \
31299 echo "Doing dvi in sim"; \
31300 (cd $(HOST_SUBDIR)/sim && \
31301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31303 "RANLIB=$${RANLIB}" \
31304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31305 dvi) \
31306 || exit 1
31308 @endif sim
31310 .PHONY: maybe-pdf-sim pdf-sim
31311 maybe-pdf-sim:
31312 @if sim
31313 maybe-pdf-sim: pdf-sim
31315 pdf-sim: \
31316 configure-sim
31317 @: $(MAKE); $(unstage)
31318 @[ -f ./sim/Makefile ] || exit 0; \
31319 r=`${PWD_COMMAND}`; export r; \
31320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31321 $(HOST_EXPORTS) \
31322 for flag in $(EXTRA_HOST_FLAGS) ; do \
31323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31324 done; \
31325 echo "Doing pdf in sim"; \
31326 (cd $(HOST_SUBDIR)/sim && \
31327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31329 "RANLIB=$${RANLIB}" \
31330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31331 pdf) \
31332 || exit 1
31334 @endif sim
31336 .PHONY: maybe-html-sim html-sim
31337 maybe-html-sim:
31338 @if sim
31339 maybe-html-sim: html-sim
31341 html-sim: \
31342 configure-sim
31343 @: $(MAKE); $(unstage)
31344 @[ -f ./sim/Makefile ] || exit 0; \
31345 r=`${PWD_COMMAND}`; export r; \
31346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31347 $(HOST_EXPORTS) \
31348 for flag in $(EXTRA_HOST_FLAGS) ; do \
31349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31350 done; \
31351 echo "Doing html in sim"; \
31352 (cd $(HOST_SUBDIR)/sim && \
31353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31355 "RANLIB=$${RANLIB}" \
31356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31357 html) \
31358 || exit 1
31360 @endif sim
31362 .PHONY: maybe-TAGS-sim TAGS-sim
31363 maybe-TAGS-sim:
31364 @if sim
31365 maybe-TAGS-sim: TAGS-sim
31367 TAGS-sim: \
31368 configure-sim
31369 @: $(MAKE); $(unstage)
31370 @[ -f ./sim/Makefile ] || exit 0; \
31371 r=`${PWD_COMMAND}`; export r; \
31372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31373 $(HOST_EXPORTS) \
31374 for flag in $(EXTRA_HOST_FLAGS) ; do \
31375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31376 done; \
31377 echo "Doing TAGS in sim"; \
31378 (cd $(HOST_SUBDIR)/sim && \
31379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31381 "RANLIB=$${RANLIB}" \
31382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31383 TAGS) \
31384 || exit 1
31386 @endif sim
31388 .PHONY: maybe-install-info-sim install-info-sim
31389 maybe-install-info-sim:
31390 @if sim
31391 maybe-install-info-sim: install-info-sim
31393 install-info-sim: \
31394 configure-sim \
31395 info-sim
31396 @: $(MAKE); $(unstage)
31397 @[ -f ./sim/Makefile ] || exit 0; \
31398 r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 $(HOST_EXPORTS) \
31401 for flag in $(EXTRA_HOST_FLAGS) ; do \
31402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31403 done; \
31404 echo "Doing install-info in sim"; \
31405 (cd $(HOST_SUBDIR)/sim && \
31406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31408 "RANLIB=$${RANLIB}" \
31409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31410 install-info) \
31411 || exit 1
31413 @endif sim
31415 .PHONY: maybe-install-pdf-sim install-pdf-sim
31416 maybe-install-pdf-sim:
31417 @if sim
31418 maybe-install-pdf-sim: install-pdf-sim
31420 install-pdf-sim: \
31421 configure-sim \
31422 pdf-sim
31423 @: $(MAKE); $(unstage)
31424 @[ -f ./sim/Makefile ] || exit 0; \
31425 r=`${PWD_COMMAND}`; export r; \
31426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31427 $(HOST_EXPORTS) \
31428 for flag in $(EXTRA_HOST_FLAGS) ; do \
31429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31430 done; \
31431 echo "Doing install-pdf in sim"; \
31432 (cd $(HOST_SUBDIR)/sim && \
31433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31435 "RANLIB=$${RANLIB}" \
31436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31437 install-pdf) \
31438 || exit 1
31440 @endif sim
31442 .PHONY: maybe-install-html-sim install-html-sim
31443 maybe-install-html-sim:
31444 @if sim
31445 maybe-install-html-sim: install-html-sim
31447 install-html-sim: \
31448 configure-sim \
31449 html-sim
31450 @: $(MAKE); $(unstage)
31451 @[ -f ./sim/Makefile ] || exit 0; \
31452 r=`${PWD_COMMAND}`; export r; \
31453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31454 $(HOST_EXPORTS) \
31455 for flag in $(EXTRA_HOST_FLAGS) ; do \
31456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31457 done; \
31458 echo "Doing install-html in sim"; \
31459 (cd $(HOST_SUBDIR)/sim && \
31460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31462 "RANLIB=$${RANLIB}" \
31463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31464 install-html) \
31465 || exit 1
31467 @endif sim
31469 .PHONY: maybe-installcheck-sim installcheck-sim
31470 maybe-installcheck-sim:
31471 @if sim
31472 maybe-installcheck-sim: installcheck-sim
31474 installcheck-sim: \
31475 configure-sim
31476 @: $(MAKE); $(unstage)
31477 @[ -f ./sim/Makefile ] || exit 0; \
31478 r=`${PWD_COMMAND}`; export r; \
31479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31480 $(HOST_EXPORTS) \
31481 for flag in $(EXTRA_HOST_FLAGS) ; do \
31482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31483 done; \
31484 echo "Doing installcheck in sim"; \
31485 (cd $(HOST_SUBDIR)/sim && \
31486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31488 "RANLIB=$${RANLIB}" \
31489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31490 installcheck) \
31491 || exit 1
31493 @endif sim
31495 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31496 maybe-mostlyclean-sim:
31497 @if sim
31498 maybe-mostlyclean-sim: mostlyclean-sim
31500 mostlyclean-sim:
31501 @: $(MAKE); $(unstage)
31502 @[ -f ./sim/Makefile ] || exit 0; \
31503 r=`${PWD_COMMAND}`; export r; \
31504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31505 $(HOST_EXPORTS) \
31506 for flag in $(EXTRA_HOST_FLAGS) ; do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 echo "Doing mostlyclean in sim"; \
31510 (cd $(HOST_SUBDIR)/sim && \
31511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31513 "RANLIB=$${RANLIB}" \
31514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31515 mostlyclean) \
31516 || exit 1
31518 @endif sim
31520 .PHONY: maybe-clean-sim clean-sim
31521 maybe-clean-sim:
31522 @if sim
31523 maybe-clean-sim: clean-sim
31525 clean-sim:
31526 @: $(MAKE); $(unstage)
31527 @[ -f ./sim/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 clean in sim"; \
31535 (cd $(HOST_SUBDIR)/sim && \
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 clean) \
31541 || exit 1
31543 @endif sim
31545 .PHONY: maybe-distclean-sim distclean-sim
31546 maybe-distclean-sim:
31547 @if sim
31548 maybe-distclean-sim: distclean-sim
31550 distclean-sim:
31551 @: $(MAKE); $(unstage)
31552 @[ -f ./sim/Makefile ] || exit 0; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(HOST_EXPORTS) \
31556 for flag in $(EXTRA_HOST_FLAGS) ; do \
31557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31558 done; \
31559 echo "Doing distclean in sim"; \
31560 (cd $(HOST_SUBDIR)/sim && \
31561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31563 "RANLIB=$${RANLIB}" \
31564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31565 distclean) \
31566 || exit 1
31568 @endif sim
31570 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31571 maybe-maintainer-clean-sim:
31572 @if sim
31573 maybe-maintainer-clean-sim: maintainer-clean-sim
31575 maintainer-clean-sim:
31576 @: $(MAKE); $(unstage)
31577 @[ -f ./sim/Makefile ] || exit 0; \
31578 r=`${PWD_COMMAND}`; export r; \
31579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31580 $(HOST_EXPORTS) \
31581 for flag in $(EXTRA_HOST_FLAGS) ; do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 echo "Doing maintainer-clean in sim"; \
31585 (cd $(HOST_SUBDIR)/sim && \
31586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31588 "RANLIB=$${RANLIB}" \
31589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31590 maintainer-clean) \
31591 || exit 1
31593 @endif sim
31597 .PHONY: configure-texinfo maybe-configure-texinfo
31598 maybe-configure-texinfo:
31599 @if gcc-bootstrap
31600 configure-texinfo: stage_current
31601 @endif gcc-bootstrap
31602 @if texinfo
31603 maybe-configure-texinfo: configure-texinfo
31604 configure-texinfo:
31605 @: $(MAKE); $(unstage)
31606 @r=`${PWD_COMMAND}`; export r; \
31607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31608 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31610 $(HOST_EXPORTS) \
31611 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31612 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31613 case $(srcdir) in \
31614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31615 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31617 esac; \
31618 module_srcdir=texinfo; \
31619 $(SHELL) \
31620 $$s/$$module_srcdir/configure \
31621 --srcdir=$${topdir}/$$module_srcdir \
31622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31623 --target=${target_alias} \
31624 || exit 1
31625 @endif texinfo
31631 .PHONY: all-texinfo maybe-all-texinfo
31632 maybe-all-texinfo:
31633 @if gcc-bootstrap
31634 all-texinfo: stage_current
31635 @endif gcc-bootstrap
31636 @if texinfo
31637 TARGET-texinfo=all
31638 maybe-all-texinfo: all-texinfo
31639 all-texinfo: configure-texinfo
31640 @: $(MAKE); $(unstage)
31641 @r=`${PWD_COMMAND}`; export r; \
31642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31643 $(HOST_EXPORTS) \
31644 (cd $(HOST_SUBDIR)/texinfo && \
31645 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31646 $(TARGET-texinfo))
31647 @endif texinfo
31652 .PHONY: check-texinfo maybe-check-texinfo
31653 maybe-check-texinfo:
31654 @if texinfo
31655 maybe-check-texinfo: check-texinfo
31657 check-texinfo:
31658 @: $(MAKE); $(unstage)
31659 @r=`${PWD_COMMAND}`; export r; \
31660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31661 $(HOST_EXPORTS) \
31662 (cd $(HOST_SUBDIR)/texinfo && \
31663 $(MAKE) $(FLAGS_TO_PASS) check)
31665 @endif texinfo
31667 .PHONY: install-texinfo maybe-install-texinfo
31668 maybe-install-texinfo:
31669 @if texinfo
31670 maybe-install-texinfo: install-texinfo
31672 install-texinfo:
31674 @endif texinfo
31676 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31677 maybe-install-strip-texinfo:
31678 @if texinfo
31679 maybe-install-strip-texinfo: install-strip-texinfo
31681 install-strip-texinfo:
31683 @endif texinfo
31685 # Other targets (info, dvi, pdf, etc.)
31687 .PHONY: maybe-info-texinfo info-texinfo
31688 maybe-info-texinfo:
31689 @if texinfo
31690 maybe-info-texinfo: info-texinfo
31692 info-texinfo: \
31693 configure-texinfo
31694 @: $(MAKE); $(unstage)
31695 @[ -f ./texinfo/Makefile ] || exit 0; \
31696 r=`${PWD_COMMAND}`; export r; \
31697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31698 $(HOST_EXPORTS) \
31699 for flag in $(EXTRA_HOST_FLAGS) ; do \
31700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31701 done; \
31702 echo "Doing info in texinfo"; \
31703 (cd $(HOST_SUBDIR)/texinfo && \
31704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31706 "RANLIB=$${RANLIB}" \
31707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31708 info) \
31709 || exit 1
31711 @endif texinfo
31713 .PHONY: maybe-dvi-texinfo dvi-texinfo
31714 maybe-dvi-texinfo:
31715 @if texinfo
31716 maybe-dvi-texinfo: dvi-texinfo
31718 dvi-texinfo: \
31719 configure-texinfo
31720 @: $(MAKE); $(unstage)
31721 @[ -f ./texinfo/Makefile ] || exit 0; \
31722 r=`${PWD_COMMAND}`; export r; \
31723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31724 $(HOST_EXPORTS) \
31725 for flag in $(EXTRA_HOST_FLAGS) ; do \
31726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31727 done; \
31728 echo "Doing dvi in texinfo"; \
31729 (cd $(HOST_SUBDIR)/texinfo && \
31730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31732 "RANLIB=$${RANLIB}" \
31733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31734 dvi) \
31735 || exit 1
31737 @endif texinfo
31739 .PHONY: maybe-pdf-texinfo pdf-texinfo
31740 maybe-pdf-texinfo:
31741 @if texinfo
31742 maybe-pdf-texinfo: pdf-texinfo
31744 pdf-texinfo: \
31745 configure-texinfo
31746 @: $(MAKE); $(unstage)
31747 @[ -f ./texinfo/Makefile ] || exit 0; \
31748 r=`${PWD_COMMAND}`; export r; \
31749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31750 $(HOST_EXPORTS) \
31751 for flag in $(EXTRA_HOST_FLAGS) ; do \
31752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31753 done; \
31754 echo "Doing pdf in texinfo"; \
31755 (cd $(HOST_SUBDIR)/texinfo && \
31756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31758 "RANLIB=$${RANLIB}" \
31759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31760 pdf) \
31761 || exit 1
31763 @endif texinfo
31765 .PHONY: maybe-html-texinfo html-texinfo
31766 maybe-html-texinfo:
31767 @if texinfo
31768 maybe-html-texinfo: html-texinfo
31770 html-texinfo: \
31771 configure-texinfo
31772 @: $(MAKE); $(unstage)
31773 @[ -f ./texinfo/Makefile ] || exit 0; \
31774 r=`${PWD_COMMAND}`; export r; \
31775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31776 $(HOST_EXPORTS) \
31777 for flag in $(EXTRA_HOST_FLAGS) ; do \
31778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31779 done; \
31780 echo "Doing html in texinfo"; \
31781 (cd $(HOST_SUBDIR)/texinfo && \
31782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31784 "RANLIB=$${RANLIB}" \
31785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31786 html) \
31787 || exit 1
31789 @endif texinfo
31791 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31792 maybe-TAGS-texinfo:
31793 @if texinfo
31794 maybe-TAGS-texinfo: TAGS-texinfo
31796 TAGS-texinfo: \
31797 configure-texinfo
31798 @: $(MAKE); $(unstage)
31799 @[ -f ./texinfo/Makefile ] || exit 0; \
31800 r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(HOST_EXPORTS) \
31803 for flag in $(EXTRA_HOST_FLAGS) ; do \
31804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31805 done; \
31806 echo "Doing TAGS in texinfo"; \
31807 (cd $(HOST_SUBDIR)/texinfo && \
31808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31810 "RANLIB=$${RANLIB}" \
31811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31812 TAGS) \
31813 || exit 1
31815 @endif texinfo
31817 .PHONY: maybe-install-info-texinfo install-info-texinfo
31818 maybe-install-info-texinfo:
31819 @if texinfo
31820 maybe-install-info-texinfo: install-info-texinfo
31822 install-info-texinfo: \
31823 configure-texinfo \
31824 info-texinfo
31825 @: $(MAKE); $(unstage)
31826 @[ -f ./texinfo/Makefile ] || exit 0; \
31827 r=`${PWD_COMMAND}`; export r; \
31828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31829 $(HOST_EXPORTS) \
31830 for flag in $(EXTRA_HOST_FLAGS) ; do \
31831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31832 done; \
31833 echo "Doing install-info in texinfo"; \
31834 (cd $(HOST_SUBDIR)/texinfo && \
31835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31837 "RANLIB=$${RANLIB}" \
31838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31839 install-info) \
31840 || exit 1
31842 @endif texinfo
31844 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31845 maybe-install-pdf-texinfo:
31846 @if texinfo
31847 maybe-install-pdf-texinfo: install-pdf-texinfo
31849 install-pdf-texinfo: \
31850 configure-texinfo \
31851 pdf-texinfo
31852 @: $(MAKE); $(unstage)
31853 @[ -f ./texinfo/Makefile ] || exit 0; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(HOST_EXPORTS) \
31857 for flag in $(EXTRA_HOST_FLAGS) ; do \
31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31859 done; \
31860 echo "Doing install-pdf in texinfo"; \
31861 (cd $(HOST_SUBDIR)/texinfo && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31866 install-pdf) \
31867 || exit 1
31869 @endif texinfo
31871 .PHONY: maybe-install-html-texinfo install-html-texinfo
31872 maybe-install-html-texinfo:
31873 @if texinfo
31874 maybe-install-html-texinfo: install-html-texinfo
31876 install-html-texinfo: \
31877 configure-texinfo \
31878 html-texinfo
31879 @: $(MAKE); $(unstage)
31880 @[ -f ./texinfo/Makefile ] || exit 0; \
31881 r=`${PWD_COMMAND}`; export r; \
31882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31883 $(HOST_EXPORTS) \
31884 for flag in $(EXTRA_HOST_FLAGS) ; do \
31885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31886 done; \
31887 echo "Doing install-html in texinfo"; \
31888 (cd $(HOST_SUBDIR)/texinfo && \
31889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31891 "RANLIB=$${RANLIB}" \
31892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31893 install-html) \
31894 || exit 1
31896 @endif texinfo
31898 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31899 maybe-installcheck-texinfo:
31900 @if texinfo
31901 maybe-installcheck-texinfo: installcheck-texinfo
31903 installcheck-texinfo: \
31904 configure-texinfo
31905 @: $(MAKE); $(unstage)
31906 @[ -f ./texinfo/Makefile ] || exit 0; \
31907 r=`${PWD_COMMAND}`; export r; \
31908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31909 $(HOST_EXPORTS) \
31910 for flag in $(EXTRA_HOST_FLAGS) ; do \
31911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31912 done; \
31913 echo "Doing installcheck in texinfo"; \
31914 (cd $(HOST_SUBDIR)/texinfo && \
31915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31917 "RANLIB=$${RANLIB}" \
31918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31919 installcheck) \
31920 || exit 1
31922 @endif texinfo
31924 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31925 maybe-mostlyclean-texinfo:
31926 @if texinfo
31927 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31929 mostlyclean-texinfo:
31930 @: $(MAKE); $(unstage)
31931 @[ -f ./texinfo/Makefile ] || exit 0; \
31932 r=`${PWD_COMMAND}`; export r; \
31933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31934 $(HOST_EXPORTS) \
31935 for flag in $(EXTRA_HOST_FLAGS) ; do \
31936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31937 done; \
31938 echo "Doing mostlyclean in texinfo"; \
31939 (cd $(HOST_SUBDIR)/texinfo && \
31940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31942 "RANLIB=$${RANLIB}" \
31943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31944 mostlyclean) \
31945 || exit 1
31947 @endif texinfo
31949 .PHONY: maybe-clean-texinfo clean-texinfo
31950 maybe-clean-texinfo:
31951 @if texinfo
31952 maybe-clean-texinfo: clean-texinfo
31954 clean-texinfo:
31955 @: $(MAKE); $(unstage)
31956 @[ -f ./texinfo/Makefile ] || exit 0; \
31957 r=`${PWD_COMMAND}`; export r; \
31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31959 $(HOST_EXPORTS) \
31960 for flag in $(EXTRA_HOST_FLAGS) ; do \
31961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31962 done; \
31963 echo "Doing clean in texinfo"; \
31964 (cd $(HOST_SUBDIR)/texinfo && \
31965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31967 "RANLIB=$${RANLIB}" \
31968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31969 clean) \
31970 || exit 1
31972 @endif texinfo
31974 .PHONY: maybe-distclean-texinfo distclean-texinfo
31975 maybe-distclean-texinfo:
31976 @if texinfo
31977 maybe-distclean-texinfo: distclean-texinfo
31979 distclean-texinfo:
31980 @: $(MAKE); $(unstage)
31981 @[ -f ./texinfo/Makefile ] || exit 0; \
31982 r=`${PWD_COMMAND}`; export r; \
31983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31984 $(HOST_EXPORTS) \
31985 for flag in $(EXTRA_HOST_FLAGS) ; do \
31986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31987 done; \
31988 echo "Doing distclean in texinfo"; \
31989 (cd $(HOST_SUBDIR)/texinfo && \
31990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31992 "RANLIB=$${RANLIB}" \
31993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31994 distclean) \
31995 || exit 1
31997 @endif texinfo
31999 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
32000 maybe-maintainer-clean-texinfo:
32001 @if texinfo
32002 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
32004 maintainer-clean-texinfo:
32005 @: $(MAKE); $(unstage)
32006 @[ -f ./texinfo/Makefile ] || exit 0; \
32007 r=`${PWD_COMMAND}`; export r; \
32008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32009 $(HOST_EXPORTS) \
32010 for flag in $(EXTRA_HOST_FLAGS) ; do \
32011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32012 done; \
32013 echo "Doing maintainer-clean in texinfo"; \
32014 (cd $(HOST_SUBDIR)/texinfo && \
32015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32017 "RANLIB=$${RANLIB}" \
32018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32019 maintainer-clean) \
32020 || exit 1
32022 @endif texinfo
32026 .PHONY: configure-zlib maybe-configure-zlib
32027 maybe-configure-zlib:
32028 @if gcc-bootstrap
32029 configure-zlib: stage_current
32030 @endif gcc-bootstrap
32031 @if zlib
32032 maybe-configure-zlib: configure-zlib
32033 configure-zlib:
32034 @r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32038 $(HOST_EXPORTS) \
32039 echo Configuring in $(HOST_SUBDIR)/zlib; \
32040 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
32041 case $(srcdir) in \
32042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32043 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32045 esac; \
32046 module_srcdir=zlib; \
32047 $(SHELL) \
32048 $$s/$$module_srcdir/configure \
32049 --srcdir=$${topdir}/$$module_srcdir \
32050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32051 --target=${target_alias} @extra_host_zlib_configure_flags@ \
32052 || exit 1
32053 @endif zlib
32057 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
32058 maybe-configure-stage1-zlib:
32059 @if zlib-bootstrap
32060 maybe-configure-stage1-zlib: configure-stage1-zlib
32061 configure-stage1-zlib:
32062 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32064 @r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 TFLAGS="$(STAGE1_TFLAGS)"; \
32067 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32068 $(HOST_EXPORTS) \
32069 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
32070 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
32071 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
32072 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
32073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32074 cd $(HOST_SUBDIR)/zlib || exit 1; \
32075 case $(srcdir) in \
32076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32077 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32079 esac; \
32080 module_srcdir=zlib; \
32081 $(SHELL) $$s/$$module_srcdir/configure \
32082 --srcdir=$${topdir}/$$module_srcdir \
32083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32084 --target=${target_alias} \
32086 $(STAGE1_CONFIGURE_FLAGS) \
32087 @extra_host_zlib_configure_flags@
32088 @endif zlib-bootstrap
32090 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32091 maybe-configure-stage2-zlib:
32092 @if zlib-bootstrap
32093 maybe-configure-stage2-zlib: configure-stage2-zlib
32094 configure-stage2-zlib:
32095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32097 @r=`${PWD_COMMAND}`; export r; \
32098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32099 TFLAGS="$(STAGE2_TFLAGS)"; \
32100 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32101 $(HOST_EXPORTS) \
32102 $(POSTSTAGE1_HOST_EXPORTS) \
32103 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
32104 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
32105 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
32106 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
32107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32108 cd $(HOST_SUBDIR)/zlib || exit 1; \
32109 case $(srcdir) in \
32110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32111 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32113 esac; \
32114 module_srcdir=zlib; \
32115 $(SHELL) $$s/$$module_srcdir/configure \
32116 --srcdir=$${topdir}/$$module_srcdir \
32117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32118 --target=${target_alias} \
32119 --with-build-libsubdir=$(HOST_SUBDIR) \
32120 $(STAGE2_CONFIGURE_FLAGS) \
32121 @extra_host_zlib_configure_flags@
32122 @endif zlib-bootstrap
32124 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32125 maybe-configure-stage3-zlib:
32126 @if zlib-bootstrap
32127 maybe-configure-stage3-zlib: configure-stage3-zlib
32128 configure-stage3-zlib:
32129 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32131 @r=`${PWD_COMMAND}`; export r; \
32132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32133 TFLAGS="$(STAGE3_TFLAGS)"; \
32134 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32135 $(HOST_EXPORTS) \
32136 $(POSTSTAGE1_HOST_EXPORTS) \
32137 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
32138 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
32139 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
32140 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
32141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32142 cd $(HOST_SUBDIR)/zlib || exit 1; \
32143 case $(srcdir) in \
32144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32145 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32147 esac; \
32148 module_srcdir=zlib; \
32149 $(SHELL) $$s/$$module_srcdir/configure \
32150 --srcdir=$${topdir}/$$module_srcdir \
32151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32152 --target=${target_alias} \
32153 --with-build-libsubdir=$(HOST_SUBDIR) \
32154 $(STAGE3_CONFIGURE_FLAGS) \
32155 @extra_host_zlib_configure_flags@
32156 @endif zlib-bootstrap
32158 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32159 maybe-configure-stage4-zlib:
32160 @if zlib-bootstrap
32161 maybe-configure-stage4-zlib: configure-stage4-zlib
32162 configure-stage4-zlib:
32163 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32165 @r=`${PWD_COMMAND}`; export r; \
32166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32167 TFLAGS="$(STAGE4_TFLAGS)"; \
32168 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32169 $(HOST_EXPORTS) \
32170 $(POSTSTAGE1_HOST_EXPORTS) \
32171 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
32172 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
32173 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
32174 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
32175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32176 cd $(HOST_SUBDIR)/zlib || exit 1; \
32177 case $(srcdir) in \
32178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32179 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32181 esac; \
32182 module_srcdir=zlib; \
32183 $(SHELL) $$s/$$module_srcdir/configure \
32184 --srcdir=$${topdir}/$$module_srcdir \
32185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32186 --target=${target_alias} \
32187 --with-build-libsubdir=$(HOST_SUBDIR) \
32188 $(STAGE4_CONFIGURE_FLAGS) \
32189 @extra_host_zlib_configure_flags@
32190 @endif zlib-bootstrap
32192 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32193 maybe-configure-stageprofile-zlib:
32194 @if zlib-bootstrap
32195 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32196 configure-stageprofile-zlib:
32197 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32199 @r=`${PWD_COMMAND}`; export r; \
32200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32201 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32202 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32203 $(HOST_EXPORTS) \
32204 $(POSTSTAGE1_HOST_EXPORTS) \
32205 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
32206 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
32207 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
32208 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
32209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32210 cd $(HOST_SUBDIR)/zlib || exit 1; \
32211 case $(srcdir) in \
32212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32213 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32215 esac; \
32216 module_srcdir=zlib; \
32217 $(SHELL) $$s/$$module_srcdir/configure \
32218 --srcdir=$${topdir}/$$module_srcdir \
32219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32220 --target=${target_alias} \
32221 --with-build-libsubdir=$(HOST_SUBDIR) \
32222 $(STAGEprofile_CONFIGURE_FLAGS) \
32223 @extra_host_zlib_configure_flags@
32224 @endif zlib-bootstrap
32226 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
32227 maybe-configure-stagetrain-zlib:
32228 @if zlib-bootstrap
32229 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
32230 configure-stagetrain-zlib:
32231 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32233 @r=`${PWD_COMMAND}`; export r; \
32234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32235 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32236 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32237 $(HOST_EXPORTS) \
32238 $(POSTSTAGE1_HOST_EXPORTS) \
32239 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32240 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32241 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32242 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32244 cd $(HOST_SUBDIR)/zlib || exit 1; \
32245 case $(srcdir) in \
32246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32247 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32249 esac; \
32250 module_srcdir=zlib; \
32251 $(SHELL) $$s/$$module_srcdir/configure \
32252 --srcdir=$${topdir}/$$module_srcdir \
32253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32254 --target=${target_alias} \
32255 --with-build-libsubdir=$(HOST_SUBDIR) \
32256 $(STAGEtrain_CONFIGURE_FLAGS) \
32257 @extra_host_zlib_configure_flags@
32258 @endif zlib-bootstrap
32260 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32261 maybe-configure-stagefeedback-zlib:
32262 @if zlib-bootstrap
32263 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32264 configure-stagefeedback-zlib:
32265 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32267 @r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32270 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32271 $(HOST_EXPORTS) \
32272 $(POSTSTAGE1_HOST_EXPORTS) \
32273 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32274 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32275 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32276 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32278 cd $(HOST_SUBDIR)/zlib || exit 1; \
32279 case $(srcdir) in \
32280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32281 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32283 esac; \
32284 module_srcdir=zlib; \
32285 $(SHELL) $$s/$$module_srcdir/configure \
32286 --srcdir=$${topdir}/$$module_srcdir \
32287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32288 --target=${target_alias} \
32289 --with-build-libsubdir=$(HOST_SUBDIR) \
32290 $(STAGEfeedback_CONFIGURE_FLAGS) \
32291 @extra_host_zlib_configure_flags@
32292 @endif zlib-bootstrap
32294 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32295 maybe-configure-stageautoprofile-zlib:
32296 @if zlib-bootstrap
32297 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32298 configure-stageautoprofile-zlib:
32299 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32301 @r=`${PWD_COMMAND}`; export r; \
32302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32303 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32304 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32305 $(HOST_EXPORTS) \
32306 $(POSTSTAGE1_HOST_EXPORTS) \
32307 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32308 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32309 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32310 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32312 cd $(HOST_SUBDIR)/zlib || exit 1; \
32313 case $(srcdir) in \
32314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32315 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32317 esac; \
32318 module_srcdir=zlib; \
32319 $(SHELL) $$s/$$module_srcdir/configure \
32320 --srcdir=$${topdir}/$$module_srcdir \
32321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32322 --target=${target_alias} \
32323 --with-build-libsubdir=$(HOST_SUBDIR) \
32324 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32325 @extra_host_zlib_configure_flags@
32326 @endif zlib-bootstrap
32328 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32329 maybe-configure-stageautofeedback-zlib:
32330 @if zlib-bootstrap
32331 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32332 configure-stageautofeedback-zlib:
32333 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32335 @r=`${PWD_COMMAND}`; export r; \
32336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32337 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32338 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32339 $(HOST_EXPORTS) \
32340 $(POSTSTAGE1_HOST_EXPORTS) \
32341 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32342 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32343 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32344 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32346 cd $(HOST_SUBDIR)/zlib || exit 1; \
32347 case $(srcdir) in \
32348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32349 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32351 esac; \
32352 module_srcdir=zlib; \
32353 $(SHELL) $$s/$$module_srcdir/configure \
32354 --srcdir=$${topdir}/$$module_srcdir \
32355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32356 --target=${target_alias} \
32357 --with-build-libsubdir=$(HOST_SUBDIR) \
32358 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32359 @extra_host_zlib_configure_flags@
32360 @endif zlib-bootstrap
32366 .PHONY: all-zlib maybe-all-zlib
32367 maybe-all-zlib:
32368 @if gcc-bootstrap
32369 all-zlib: stage_current
32370 @endif gcc-bootstrap
32371 @if zlib
32372 TARGET-zlib=all
32373 maybe-all-zlib: all-zlib
32374 all-zlib: configure-zlib
32375 @r=`${PWD_COMMAND}`; export r; \
32376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32377 $(HOST_EXPORTS) \
32378 (cd $(HOST_SUBDIR)/zlib && \
32379 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32380 $(TARGET-zlib))
32381 @endif zlib
32385 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32386 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32387 maybe-all-stage1-zlib:
32388 maybe-clean-stage1-zlib:
32389 @if zlib-bootstrap
32390 maybe-all-stage1-zlib: all-stage1-zlib
32391 all-stage1: all-stage1-zlib
32392 TARGET-stage1-zlib = $(TARGET-zlib)
32393 all-stage1-zlib: configure-stage1-zlib
32394 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32395 @r=`${PWD_COMMAND}`; export r; \
32396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32397 TFLAGS="$(STAGE1_TFLAGS)"; \
32398 $(HOST_EXPORTS) \
32399 cd $(HOST_SUBDIR)/zlib && \
32401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32402 CFLAGS="$(STAGE1_CFLAGS)" \
32403 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
32404 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32405 LIBCFLAGS="$(LIBCFLAGS)" \
32406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32409 $(EXTRA_HOST_FLAGS) \
32410 $(STAGE1_FLAGS_TO_PASS) \
32411 TFLAGS="$(STAGE1_TFLAGS)" \
32412 $(TARGET-stage1-zlib)
32414 maybe-clean-stage1-zlib: clean-stage1-zlib
32415 clean-stage1: clean-stage1-zlib
32416 clean-stage1-zlib:
32417 @if [ $(current_stage) = stage1 ]; then \
32418 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32419 else \
32420 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32421 $(MAKE) stage1-start; \
32422 fi; \
32423 cd $(HOST_SUBDIR)/zlib && \
32424 $(MAKE) $(EXTRA_HOST_FLAGS) \
32425 $(STAGE1_FLAGS_TO_PASS) clean
32426 @endif zlib-bootstrap
32429 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32430 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32431 maybe-all-stage2-zlib:
32432 maybe-clean-stage2-zlib:
32433 @if zlib-bootstrap
32434 maybe-all-stage2-zlib: all-stage2-zlib
32435 all-stage2: all-stage2-zlib
32436 TARGET-stage2-zlib = $(TARGET-zlib)
32437 all-stage2-zlib: configure-stage2-zlib
32438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32439 @r=`${PWD_COMMAND}`; export r; \
32440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32441 TFLAGS="$(STAGE2_TFLAGS)"; \
32442 $(HOST_EXPORTS) \
32443 $(POSTSTAGE1_HOST_EXPORTS) \
32444 cd $(HOST_SUBDIR)/zlib && \
32446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32447 CFLAGS="$(STAGE2_CFLAGS)" \
32448 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
32449 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32450 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32455 TFLAGS="$(STAGE2_TFLAGS)" \
32456 $(TARGET-stage2-zlib)
32458 maybe-clean-stage2-zlib: clean-stage2-zlib
32459 clean-stage2: clean-stage2-zlib
32460 clean-stage2-zlib:
32461 @if [ $(current_stage) = stage2 ]; then \
32462 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32463 else \
32464 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32465 $(MAKE) stage2-start; \
32466 fi; \
32467 cd $(HOST_SUBDIR)/zlib && \
32468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32469 @endif zlib-bootstrap
32472 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32473 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32474 maybe-all-stage3-zlib:
32475 maybe-clean-stage3-zlib:
32476 @if zlib-bootstrap
32477 maybe-all-stage3-zlib: all-stage3-zlib
32478 all-stage3: all-stage3-zlib
32479 TARGET-stage3-zlib = $(TARGET-zlib)
32480 all-stage3-zlib: configure-stage3-zlib
32481 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32482 @r=`${PWD_COMMAND}`; export r; \
32483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32484 TFLAGS="$(STAGE3_TFLAGS)"; \
32485 $(HOST_EXPORTS) \
32486 $(POSTSTAGE1_HOST_EXPORTS) \
32487 cd $(HOST_SUBDIR)/zlib && \
32489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32490 CFLAGS="$(STAGE3_CFLAGS)" \
32491 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
32492 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32493 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32498 TFLAGS="$(STAGE3_TFLAGS)" \
32499 $(TARGET-stage3-zlib)
32501 maybe-clean-stage3-zlib: clean-stage3-zlib
32502 clean-stage3: clean-stage3-zlib
32503 clean-stage3-zlib:
32504 @if [ $(current_stage) = stage3 ]; then \
32505 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32506 else \
32507 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32508 $(MAKE) stage3-start; \
32509 fi; \
32510 cd $(HOST_SUBDIR)/zlib && \
32511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32512 @endif zlib-bootstrap
32515 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32516 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32517 maybe-all-stage4-zlib:
32518 maybe-clean-stage4-zlib:
32519 @if zlib-bootstrap
32520 maybe-all-stage4-zlib: all-stage4-zlib
32521 all-stage4: all-stage4-zlib
32522 TARGET-stage4-zlib = $(TARGET-zlib)
32523 all-stage4-zlib: configure-stage4-zlib
32524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32525 @r=`${PWD_COMMAND}`; export r; \
32526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32527 TFLAGS="$(STAGE4_TFLAGS)"; \
32528 $(HOST_EXPORTS) \
32529 $(POSTSTAGE1_HOST_EXPORTS) \
32530 cd $(HOST_SUBDIR)/zlib && \
32532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32533 CFLAGS="$(STAGE4_CFLAGS)" \
32534 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
32535 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32536 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32541 TFLAGS="$(STAGE4_TFLAGS)" \
32542 $(TARGET-stage4-zlib)
32544 maybe-clean-stage4-zlib: clean-stage4-zlib
32545 clean-stage4: clean-stage4-zlib
32546 clean-stage4-zlib:
32547 @if [ $(current_stage) = stage4 ]; then \
32548 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32549 else \
32550 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32551 $(MAKE) stage4-start; \
32552 fi; \
32553 cd $(HOST_SUBDIR)/zlib && \
32554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32555 @endif zlib-bootstrap
32558 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32559 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32560 maybe-all-stageprofile-zlib:
32561 maybe-clean-stageprofile-zlib:
32562 @if zlib-bootstrap
32563 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32564 all-stageprofile: all-stageprofile-zlib
32565 TARGET-stageprofile-zlib = $(TARGET-zlib)
32566 all-stageprofile-zlib: configure-stageprofile-zlib
32567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32568 @r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32571 $(HOST_EXPORTS) \
32572 $(POSTSTAGE1_HOST_EXPORTS) \
32573 cd $(HOST_SUBDIR)/zlib && \
32575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32576 CFLAGS="$(STAGEprofile_CFLAGS)" \
32577 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
32578 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32579 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32583 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32584 TFLAGS="$(STAGEprofile_TFLAGS)" \
32585 $(TARGET-stageprofile-zlib)
32587 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32588 clean-stageprofile: clean-stageprofile-zlib
32589 clean-stageprofile-zlib:
32590 @if [ $(current_stage) = stageprofile ]; then \
32591 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32592 else \
32593 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32594 $(MAKE) stageprofile-start; \
32595 fi; \
32596 cd $(HOST_SUBDIR)/zlib && \
32597 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32598 @endif zlib-bootstrap
32601 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32602 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32603 maybe-all-stagetrain-zlib:
32604 maybe-clean-stagetrain-zlib:
32605 @if zlib-bootstrap
32606 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32607 all-stagetrain: all-stagetrain-zlib
32608 TARGET-stagetrain-zlib = $(TARGET-zlib)
32609 all-stagetrain-zlib: configure-stagetrain-zlib
32610 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32611 @r=`${PWD_COMMAND}`; export r; \
32612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32613 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32614 $(HOST_EXPORTS) \
32615 $(POSTSTAGE1_HOST_EXPORTS) \
32616 cd $(HOST_SUBDIR)/zlib && \
32618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32619 CFLAGS="$(STAGEtrain_CFLAGS)" \
32620 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
32621 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32622 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32626 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32627 TFLAGS="$(STAGEtrain_TFLAGS)" \
32628 $(TARGET-stagetrain-zlib)
32630 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32631 clean-stagetrain: clean-stagetrain-zlib
32632 clean-stagetrain-zlib:
32633 @if [ $(current_stage) = stagetrain ]; then \
32634 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32635 else \
32636 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32637 $(MAKE) stagetrain-start; \
32638 fi; \
32639 cd $(HOST_SUBDIR)/zlib && \
32640 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32641 @endif zlib-bootstrap
32644 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32645 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32646 maybe-all-stagefeedback-zlib:
32647 maybe-clean-stagefeedback-zlib:
32648 @if zlib-bootstrap
32649 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32650 all-stagefeedback: all-stagefeedback-zlib
32651 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32652 all-stagefeedback-zlib: configure-stagefeedback-zlib
32653 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32654 @r=`${PWD_COMMAND}`; export r; \
32655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32656 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32657 $(HOST_EXPORTS) \
32658 $(POSTSTAGE1_HOST_EXPORTS) \
32659 cd $(HOST_SUBDIR)/zlib && \
32661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32662 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32663 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
32664 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32665 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32670 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32671 $(TARGET-stagefeedback-zlib)
32673 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32674 clean-stagefeedback: clean-stagefeedback-zlib
32675 clean-stagefeedback-zlib:
32676 @if [ $(current_stage) = stagefeedback ]; then \
32677 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32678 else \
32679 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32680 $(MAKE) stagefeedback-start; \
32681 fi; \
32682 cd $(HOST_SUBDIR)/zlib && \
32683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32684 @endif zlib-bootstrap
32687 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32688 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32689 maybe-all-stageautoprofile-zlib:
32690 maybe-clean-stageautoprofile-zlib:
32691 @if zlib-bootstrap
32692 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32693 all-stageautoprofile: all-stageautoprofile-zlib
32694 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32695 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32696 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32697 @r=`${PWD_COMMAND}`; export r; \
32698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32699 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32700 $(HOST_EXPORTS) \
32701 $(POSTSTAGE1_HOST_EXPORTS) \
32702 cd $(HOST_SUBDIR)/zlib && \
32703 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32705 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32706 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
32707 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32708 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32713 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32714 $(TARGET-stageautoprofile-zlib)
32716 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32717 clean-stageautoprofile: clean-stageautoprofile-zlib
32718 clean-stageautoprofile-zlib:
32719 @if [ $(current_stage) = stageautoprofile ]; then \
32720 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32721 else \
32722 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32723 $(MAKE) stageautoprofile-start; \
32724 fi; \
32725 cd $(HOST_SUBDIR)/zlib && \
32726 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32727 @endif zlib-bootstrap
32730 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32731 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32732 maybe-all-stageautofeedback-zlib:
32733 maybe-clean-stageautofeedback-zlib:
32734 @if zlib-bootstrap
32735 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32736 all-stageautofeedback: all-stageautofeedback-zlib
32737 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32738 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32739 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32740 @r=`${PWD_COMMAND}`; export r; \
32741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32742 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32743 $(HOST_EXPORTS) \
32744 $(POSTSTAGE1_HOST_EXPORTS) \
32745 cd $(HOST_SUBDIR)/zlib && \
32747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32748 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32749 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
32750 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32751 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32756 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32757 $(TARGET-stageautofeedback-zlib)
32759 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32760 clean-stageautofeedback: clean-stageautofeedback-zlib
32761 clean-stageautofeedback-zlib:
32762 @if [ $(current_stage) = stageautofeedback ]; then \
32763 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32764 else \
32765 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32766 $(MAKE) stageautofeedback-start; \
32767 fi; \
32768 cd $(HOST_SUBDIR)/zlib && \
32769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32770 @endif zlib-bootstrap
32776 .PHONY: check-zlib maybe-check-zlib
32777 maybe-check-zlib:
32778 @if zlib
32779 maybe-check-zlib: check-zlib
32781 check-zlib:
32783 @endif zlib
32785 .PHONY: install-zlib maybe-install-zlib
32786 maybe-install-zlib:
32787 @if zlib
32788 maybe-install-zlib: install-zlib
32790 install-zlib:
32792 @endif zlib
32794 .PHONY: install-strip-zlib maybe-install-strip-zlib
32795 maybe-install-strip-zlib:
32796 @if zlib
32797 maybe-install-strip-zlib: install-strip-zlib
32799 install-strip-zlib:
32801 @endif zlib
32803 # Other targets (info, dvi, pdf, etc.)
32805 .PHONY: maybe-info-zlib info-zlib
32806 maybe-info-zlib:
32807 @if zlib
32808 maybe-info-zlib: info-zlib
32810 info-zlib: \
32811 configure-zlib
32812 @[ -f ./zlib/Makefile ] || exit 0; \
32813 r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(HOST_EXPORTS) \
32816 for flag in $(EXTRA_HOST_FLAGS) ; do \
32817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32818 done; \
32819 echo "Doing info in zlib"; \
32820 (cd $(HOST_SUBDIR)/zlib && \
32821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32823 "RANLIB=$${RANLIB}" \
32824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32825 info) \
32826 || exit 1
32828 @endif zlib
32830 .PHONY: maybe-dvi-zlib dvi-zlib
32831 maybe-dvi-zlib:
32832 @if zlib
32833 maybe-dvi-zlib: dvi-zlib
32835 dvi-zlib: \
32836 configure-zlib
32837 @[ -f ./zlib/Makefile ] || exit 0; \
32838 r=`${PWD_COMMAND}`; export r; \
32839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32840 $(HOST_EXPORTS) \
32841 for flag in $(EXTRA_HOST_FLAGS) ; do \
32842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32843 done; \
32844 echo "Doing dvi in zlib"; \
32845 (cd $(HOST_SUBDIR)/zlib && \
32846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32848 "RANLIB=$${RANLIB}" \
32849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32850 dvi) \
32851 || exit 1
32853 @endif zlib
32855 .PHONY: maybe-pdf-zlib pdf-zlib
32856 maybe-pdf-zlib:
32857 @if zlib
32858 maybe-pdf-zlib: pdf-zlib
32860 pdf-zlib: \
32861 configure-zlib
32862 @[ -f ./zlib/Makefile ] || exit 0; \
32863 r=`${PWD_COMMAND}`; export r; \
32864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32865 $(HOST_EXPORTS) \
32866 for flag in $(EXTRA_HOST_FLAGS) ; do \
32867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32868 done; \
32869 echo "Doing pdf in zlib"; \
32870 (cd $(HOST_SUBDIR)/zlib && \
32871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32873 "RANLIB=$${RANLIB}" \
32874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32875 pdf) \
32876 || exit 1
32878 @endif zlib
32880 .PHONY: maybe-html-zlib html-zlib
32881 maybe-html-zlib:
32882 @if zlib
32883 maybe-html-zlib: html-zlib
32885 html-zlib: \
32886 configure-zlib
32887 @[ -f ./zlib/Makefile ] || exit 0; \
32888 r=`${PWD_COMMAND}`; export r; \
32889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32890 $(HOST_EXPORTS) \
32891 for flag in $(EXTRA_HOST_FLAGS) ; do \
32892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32893 done; \
32894 echo "Doing html in zlib"; \
32895 (cd $(HOST_SUBDIR)/zlib && \
32896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32898 "RANLIB=$${RANLIB}" \
32899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32900 html) \
32901 || exit 1
32903 @endif zlib
32905 .PHONY: maybe-TAGS-zlib TAGS-zlib
32906 maybe-TAGS-zlib:
32907 @if zlib
32908 maybe-TAGS-zlib: TAGS-zlib
32910 TAGS-zlib: \
32911 configure-zlib
32912 @[ -f ./zlib/Makefile ] || exit 0; \
32913 r=`${PWD_COMMAND}`; export r; \
32914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32915 $(HOST_EXPORTS) \
32916 for flag in $(EXTRA_HOST_FLAGS) ; do \
32917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32918 done; \
32919 echo "Doing TAGS in zlib"; \
32920 (cd $(HOST_SUBDIR)/zlib && \
32921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32923 "RANLIB=$${RANLIB}" \
32924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32925 TAGS) \
32926 || exit 1
32928 @endif zlib
32930 .PHONY: maybe-install-info-zlib install-info-zlib
32931 maybe-install-info-zlib:
32932 @if zlib
32933 maybe-install-info-zlib: install-info-zlib
32935 install-info-zlib: \
32936 configure-zlib \
32937 info-zlib
32938 @[ -f ./zlib/Makefile ] || exit 0; \
32939 r=`${PWD_COMMAND}`; export r; \
32940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32941 $(HOST_EXPORTS) \
32942 for flag in $(EXTRA_HOST_FLAGS) ; do \
32943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32944 done; \
32945 echo "Doing install-info in zlib"; \
32946 (cd $(HOST_SUBDIR)/zlib && \
32947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32949 "RANLIB=$${RANLIB}" \
32950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32951 install-info) \
32952 || exit 1
32954 @endif zlib
32956 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32957 maybe-install-pdf-zlib:
32958 @if zlib
32959 maybe-install-pdf-zlib: install-pdf-zlib
32961 install-pdf-zlib: \
32962 configure-zlib \
32963 pdf-zlib
32964 @[ -f ./zlib/Makefile ] || exit 0; \
32965 r=`${PWD_COMMAND}`; export r; \
32966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32967 $(HOST_EXPORTS) \
32968 for flag in $(EXTRA_HOST_FLAGS) ; do \
32969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32970 done; \
32971 echo "Doing install-pdf in zlib"; \
32972 (cd $(HOST_SUBDIR)/zlib && \
32973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32975 "RANLIB=$${RANLIB}" \
32976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32977 install-pdf) \
32978 || exit 1
32980 @endif zlib
32982 .PHONY: maybe-install-html-zlib install-html-zlib
32983 maybe-install-html-zlib:
32984 @if zlib
32985 maybe-install-html-zlib: install-html-zlib
32987 install-html-zlib: \
32988 configure-zlib \
32989 html-zlib
32990 @[ -f ./zlib/Makefile ] || exit 0; \
32991 r=`${PWD_COMMAND}`; export r; \
32992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32993 $(HOST_EXPORTS) \
32994 for flag in $(EXTRA_HOST_FLAGS) ; do \
32995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32996 done; \
32997 echo "Doing install-html in zlib"; \
32998 (cd $(HOST_SUBDIR)/zlib && \
32999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33001 "RANLIB=$${RANLIB}" \
33002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33003 install-html) \
33004 || exit 1
33006 @endif zlib
33008 .PHONY: maybe-installcheck-zlib installcheck-zlib
33009 maybe-installcheck-zlib:
33010 @if zlib
33011 maybe-installcheck-zlib: installcheck-zlib
33013 installcheck-zlib: \
33014 configure-zlib
33015 @[ -f ./zlib/Makefile ] || exit 0; \
33016 r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(HOST_EXPORTS) \
33019 for flag in $(EXTRA_HOST_FLAGS) ; do \
33020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33021 done; \
33022 echo "Doing installcheck in zlib"; \
33023 (cd $(HOST_SUBDIR)/zlib && \
33024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33026 "RANLIB=$${RANLIB}" \
33027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33028 installcheck) \
33029 || exit 1
33031 @endif zlib
33033 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
33034 maybe-mostlyclean-zlib:
33035 @if zlib
33036 maybe-mostlyclean-zlib: mostlyclean-zlib
33038 mostlyclean-zlib:
33039 @[ -f ./zlib/Makefile ] || exit 0; \
33040 r=`${PWD_COMMAND}`; export r; \
33041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33042 $(HOST_EXPORTS) \
33043 for flag in $(EXTRA_HOST_FLAGS) ; do \
33044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33045 done; \
33046 echo "Doing mostlyclean in zlib"; \
33047 (cd $(HOST_SUBDIR)/zlib && \
33048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33050 "RANLIB=$${RANLIB}" \
33051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33052 mostlyclean) \
33053 || exit 1
33055 @endif zlib
33057 .PHONY: maybe-clean-zlib clean-zlib
33058 maybe-clean-zlib:
33059 @if zlib
33060 maybe-clean-zlib: clean-zlib
33062 clean-zlib:
33063 @[ -f ./zlib/Makefile ] || exit 0; \
33064 r=`${PWD_COMMAND}`; export r; \
33065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33066 $(HOST_EXPORTS) \
33067 for flag in $(EXTRA_HOST_FLAGS) ; do \
33068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33069 done; \
33070 echo "Doing clean in zlib"; \
33071 (cd $(HOST_SUBDIR)/zlib && \
33072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33074 "RANLIB=$${RANLIB}" \
33075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33076 clean) \
33077 || exit 1
33079 @endif zlib
33081 .PHONY: maybe-distclean-zlib distclean-zlib
33082 maybe-distclean-zlib:
33083 @if zlib
33084 maybe-distclean-zlib: distclean-zlib
33086 distclean-zlib:
33087 @[ -f ./zlib/Makefile ] || exit 0; \
33088 r=`${PWD_COMMAND}`; export r; \
33089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33090 $(HOST_EXPORTS) \
33091 for flag in $(EXTRA_HOST_FLAGS) ; do \
33092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33093 done; \
33094 echo "Doing distclean in zlib"; \
33095 (cd $(HOST_SUBDIR)/zlib && \
33096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33098 "RANLIB=$${RANLIB}" \
33099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33100 distclean) \
33101 || exit 1
33103 @endif zlib
33105 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
33106 maybe-maintainer-clean-zlib:
33107 @if zlib
33108 maybe-maintainer-clean-zlib: maintainer-clean-zlib
33110 maintainer-clean-zlib:
33111 @[ -f ./zlib/Makefile ] || exit 0; \
33112 r=`${PWD_COMMAND}`; export r; \
33113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33114 $(HOST_EXPORTS) \
33115 for flag in $(EXTRA_HOST_FLAGS) ; do \
33116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33117 done; \
33118 echo "Doing maintainer-clean in zlib"; \
33119 (cd $(HOST_SUBDIR)/zlib && \
33120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33122 "RANLIB=$${RANLIB}" \
33123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33124 maintainer-clean) \
33125 || exit 1
33127 @endif zlib
33131 .PHONY: configure-gnulib maybe-configure-gnulib
33132 maybe-configure-gnulib:
33133 @if gcc-bootstrap
33134 configure-gnulib: stage_current
33135 @endif gcc-bootstrap
33136 @if gnulib
33137 maybe-configure-gnulib: configure-gnulib
33138 configure-gnulib:
33139 @: $(MAKE); $(unstage)
33140 @r=`${PWD_COMMAND}`; export r; \
33141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33142 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
33143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
33144 $(HOST_EXPORTS) \
33145 echo Configuring in $(HOST_SUBDIR)/gnulib; \
33146 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
33147 case $(srcdir) in \
33148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33149 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
33150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33151 esac; \
33152 module_srcdir=gnulib; \
33153 $(SHELL) \
33154 $$s/$$module_srcdir/configure \
33155 --srcdir=$${topdir}/$$module_srcdir \
33156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33157 --target=${target_alias} \
33158 || exit 1
33159 @endif gnulib
33165 .PHONY: all-gnulib maybe-all-gnulib
33166 maybe-all-gnulib:
33167 @if gcc-bootstrap
33168 all-gnulib: stage_current
33169 @endif gcc-bootstrap
33170 @if gnulib
33171 TARGET-gnulib=all
33172 maybe-all-gnulib: all-gnulib
33173 all-gnulib: configure-gnulib
33174 @: $(MAKE); $(unstage)
33175 @r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 $(HOST_EXPORTS) \
33178 (cd $(HOST_SUBDIR)/gnulib && \
33179 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33180 $(TARGET-gnulib))
33181 @endif gnulib
33186 .PHONY: check-gnulib maybe-check-gnulib
33187 maybe-check-gnulib:
33188 @if gnulib
33189 maybe-check-gnulib: check-gnulib
33191 check-gnulib:
33192 @: $(MAKE); $(unstage)
33193 @r=`${PWD_COMMAND}`; export r; \
33194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33195 $(HOST_EXPORTS) \
33196 (cd $(HOST_SUBDIR)/gnulib && \
33197 $(MAKE) $(FLAGS_TO_PASS) check)
33199 @endif gnulib
33201 .PHONY: install-gnulib maybe-install-gnulib
33202 maybe-install-gnulib:
33203 @if gnulib
33204 maybe-install-gnulib: install-gnulib
33206 install-gnulib: installdirs
33207 @: $(MAKE); $(unstage)
33208 @r=`${PWD_COMMAND}`; export r; \
33209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33210 $(HOST_EXPORTS) \
33211 (cd $(HOST_SUBDIR)/gnulib && \
33212 $(MAKE) $(FLAGS_TO_PASS) install)
33214 @endif gnulib
33216 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
33217 maybe-install-strip-gnulib:
33218 @if gnulib
33219 maybe-install-strip-gnulib: install-strip-gnulib
33221 install-strip-gnulib: installdirs
33222 @: $(MAKE); $(unstage)
33223 @r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(HOST_EXPORTS) \
33226 (cd $(HOST_SUBDIR)/gnulib && \
33227 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33229 @endif gnulib
33231 # Other targets (info, dvi, pdf, etc.)
33233 .PHONY: maybe-info-gnulib info-gnulib
33234 maybe-info-gnulib:
33235 @if gnulib
33236 maybe-info-gnulib: info-gnulib
33238 info-gnulib: \
33239 configure-gnulib
33240 @: $(MAKE); $(unstage)
33241 @[ -f ./gnulib/Makefile ] || exit 0; \
33242 r=`${PWD_COMMAND}`; export r; \
33243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33244 $(HOST_EXPORTS) \
33245 for flag in $(EXTRA_HOST_FLAGS) ; do \
33246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33247 done; \
33248 echo "Doing info in gnulib"; \
33249 (cd $(HOST_SUBDIR)/gnulib && \
33250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33252 "RANLIB=$${RANLIB}" \
33253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33254 info) \
33255 || exit 1
33257 @endif gnulib
33259 .PHONY: maybe-dvi-gnulib dvi-gnulib
33260 maybe-dvi-gnulib:
33261 @if gnulib
33262 maybe-dvi-gnulib: dvi-gnulib
33264 dvi-gnulib: \
33265 configure-gnulib
33266 @: $(MAKE); $(unstage)
33267 @[ -f ./gnulib/Makefile ] || exit 0; \
33268 r=`${PWD_COMMAND}`; export r; \
33269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33270 $(HOST_EXPORTS) \
33271 for flag in $(EXTRA_HOST_FLAGS) ; do \
33272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33273 done; \
33274 echo "Doing dvi in gnulib"; \
33275 (cd $(HOST_SUBDIR)/gnulib && \
33276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33278 "RANLIB=$${RANLIB}" \
33279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33280 dvi) \
33281 || exit 1
33283 @endif gnulib
33285 .PHONY: maybe-pdf-gnulib pdf-gnulib
33286 maybe-pdf-gnulib:
33287 @if gnulib
33288 maybe-pdf-gnulib: pdf-gnulib
33290 pdf-gnulib: \
33291 configure-gnulib
33292 @: $(MAKE); $(unstage)
33293 @[ -f ./gnulib/Makefile ] || exit 0; \
33294 r=`${PWD_COMMAND}`; export r; \
33295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33296 $(HOST_EXPORTS) \
33297 for flag in $(EXTRA_HOST_FLAGS) ; do \
33298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33299 done; \
33300 echo "Doing pdf in gnulib"; \
33301 (cd $(HOST_SUBDIR)/gnulib && \
33302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33304 "RANLIB=$${RANLIB}" \
33305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33306 pdf) \
33307 || exit 1
33309 @endif gnulib
33311 .PHONY: maybe-html-gnulib html-gnulib
33312 maybe-html-gnulib:
33313 @if gnulib
33314 maybe-html-gnulib: html-gnulib
33316 html-gnulib: \
33317 configure-gnulib
33318 @: $(MAKE); $(unstage)
33319 @[ -f ./gnulib/Makefile ] || exit 0; \
33320 r=`${PWD_COMMAND}`; export r; \
33321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33322 $(HOST_EXPORTS) \
33323 for flag in $(EXTRA_HOST_FLAGS) ; do \
33324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33325 done; \
33326 echo "Doing html in gnulib"; \
33327 (cd $(HOST_SUBDIR)/gnulib && \
33328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33330 "RANLIB=$${RANLIB}" \
33331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33332 html) \
33333 || exit 1
33335 @endif gnulib
33337 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
33338 maybe-TAGS-gnulib:
33339 @if gnulib
33340 maybe-TAGS-gnulib: TAGS-gnulib
33342 TAGS-gnulib: \
33343 configure-gnulib
33344 @: $(MAKE); $(unstage)
33345 @[ -f ./gnulib/Makefile ] || exit 0; \
33346 r=`${PWD_COMMAND}`; export r; \
33347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33348 $(HOST_EXPORTS) \
33349 for flag in $(EXTRA_HOST_FLAGS) ; do \
33350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33351 done; \
33352 echo "Doing TAGS in gnulib"; \
33353 (cd $(HOST_SUBDIR)/gnulib && \
33354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33356 "RANLIB=$${RANLIB}" \
33357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33358 TAGS) \
33359 || exit 1
33361 @endif gnulib
33363 .PHONY: maybe-install-info-gnulib install-info-gnulib
33364 maybe-install-info-gnulib:
33365 @if gnulib
33366 maybe-install-info-gnulib: install-info-gnulib
33368 install-info-gnulib: \
33369 configure-gnulib \
33370 info-gnulib
33371 @: $(MAKE); $(unstage)
33372 @[ -f ./gnulib/Makefile ] || exit 0; \
33373 r=`${PWD_COMMAND}`; export r; \
33374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33375 $(HOST_EXPORTS) \
33376 for flag in $(EXTRA_HOST_FLAGS) ; do \
33377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33378 done; \
33379 echo "Doing install-info in gnulib"; \
33380 (cd $(HOST_SUBDIR)/gnulib && \
33381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33383 "RANLIB=$${RANLIB}" \
33384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33385 install-info) \
33386 || exit 1
33388 @endif gnulib
33390 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
33391 maybe-install-pdf-gnulib:
33392 @if gnulib
33393 maybe-install-pdf-gnulib: install-pdf-gnulib
33395 install-pdf-gnulib: \
33396 configure-gnulib \
33397 pdf-gnulib
33398 @: $(MAKE); $(unstage)
33399 @[ -f ./gnulib/Makefile ] || exit 0; \
33400 r=`${PWD_COMMAND}`; export r; \
33401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33402 $(HOST_EXPORTS) \
33403 for flag in $(EXTRA_HOST_FLAGS) ; do \
33404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33405 done; \
33406 echo "Doing install-pdf in gnulib"; \
33407 (cd $(HOST_SUBDIR)/gnulib && \
33408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33410 "RANLIB=$${RANLIB}" \
33411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33412 install-pdf) \
33413 || exit 1
33415 @endif gnulib
33417 .PHONY: maybe-install-html-gnulib install-html-gnulib
33418 maybe-install-html-gnulib:
33419 @if gnulib
33420 maybe-install-html-gnulib: install-html-gnulib
33422 install-html-gnulib: \
33423 configure-gnulib \
33424 html-gnulib
33425 @: $(MAKE); $(unstage)
33426 @[ -f ./gnulib/Makefile ] || exit 0; \
33427 r=`${PWD_COMMAND}`; export r; \
33428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33429 $(HOST_EXPORTS) \
33430 for flag in $(EXTRA_HOST_FLAGS) ; do \
33431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33432 done; \
33433 echo "Doing install-html in gnulib"; \
33434 (cd $(HOST_SUBDIR)/gnulib && \
33435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33437 "RANLIB=$${RANLIB}" \
33438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33439 install-html) \
33440 || exit 1
33442 @endif gnulib
33444 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
33445 maybe-installcheck-gnulib:
33446 @if gnulib
33447 maybe-installcheck-gnulib: installcheck-gnulib
33449 installcheck-gnulib: \
33450 configure-gnulib
33451 @: $(MAKE); $(unstage)
33452 @[ -f ./gnulib/Makefile ] || exit 0; \
33453 r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 $(HOST_EXPORTS) \
33456 for flag in $(EXTRA_HOST_FLAGS) ; do \
33457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33458 done; \
33459 echo "Doing installcheck in gnulib"; \
33460 (cd $(HOST_SUBDIR)/gnulib && \
33461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33463 "RANLIB=$${RANLIB}" \
33464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33465 installcheck) \
33466 || exit 1
33468 @endif gnulib
33470 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
33471 maybe-mostlyclean-gnulib:
33472 @if gnulib
33473 maybe-mostlyclean-gnulib: mostlyclean-gnulib
33475 mostlyclean-gnulib:
33476 @: $(MAKE); $(unstage)
33477 @[ -f ./gnulib/Makefile ] || exit 0; \
33478 r=`${PWD_COMMAND}`; export r; \
33479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33480 $(HOST_EXPORTS) \
33481 for flag in $(EXTRA_HOST_FLAGS) ; do \
33482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33483 done; \
33484 echo "Doing mostlyclean in gnulib"; \
33485 (cd $(HOST_SUBDIR)/gnulib && \
33486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33488 "RANLIB=$${RANLIB}" \
33489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33490 mostlyclean) \
33491 || exit 1
33493 @endif gnulib
33495 .PHONY: maybe-clean-gnulib clean-gnulib
33496 maybe-clean-gnulib:
33497 @if gnulib
33498 maybe-clean-gnulib: clean-gnulib
33500 clean-gnulib:
33501 @: $(MAKE); $(unstage)
33502 @[ -f ./gnulib/Makefile ] || exit 0; \
33503 r=`${PWD_COMMAND}`; export r; \
33504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33505 $(HOST_EXPORTS) \
33506 for flag in $(EXTRA_HOST_FLAGS) ; do \
33507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33508 done; \
33509 echo "Doing clean in gnulib"; \
33510 (cd $(HOST_SUBDIR)/gnulib && \
33511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33513 "RANLIB=$${RANLIB}" \
33514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33515 clean) \
33516 || exit 1
33518 @endif gnulib
33520 .PHONY: maybe-distclean-gnulib distclean-gnulib
33521 maybe-distclean-gnulib:
33522 @if gnulib
33523 maybe-distclean-gnulib: distclean-gnulib
33525 distclean-gnulib:
33526 @: $(MAKE); $(unstage)
33527 @[ -f ./gnulib/Makefile ] || exit 0; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(HOST_EXPORTS) \
33531 for flag in $(EXTRA_HOST_FLAGS) ; do \
33532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33533 done; \
33534 echo "Doing distclean in gnulib"; \
33535 (cd $(HOST_SUBDIR)/gnulib && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33540 distclean) \
33541 || exit 1
33543 @endif gnulib
33545 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
33546 maybe-maintainer-clean-gnulib:
33547 @if gnulib
33548 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
33550 maintainer-clean-gnulib:
33551 @: $(MAKE); $(unstage)
33552 @[ -f ./gnulib/Makefile ] || exit 0; \
33553 r=`${PWD_COMMAND}`; export r; \
33554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33555 $(HOST_EXPORTS) \
33556 for flag in $(EXTRA_HOST_FLAGS) ; do \
33557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33558 done; \
33559 echo "Doing maintainer-clean in gnulib"; \
33560 (cd $(HOST_SUBDIR)/gnulib && \
33561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33563 "RANLIB=$${RANLIB}" \
33564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33565 maintainer-clean) \
33566 || exit 1
33568 @endif gnulib
33572 .PHONY: configure-gdb maybe-configure-gdb
33573 maybe-configure-gdb:
33574 @if gcc-bootstrap
33575 configure-gdb: stage_current
33576 @endif gcc-bootstrap
33577 @if gdb
33578 maybe-configure-gdb: configure-gdb
33579 configure-gdb:
33580 @: $(MAKE); $(unstage)
33581 @r=`${PWD_COMMAND}`; export r; \
33582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33583 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
33584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
33585 $(HOST_EXPORTS) \
33586 echo Configuring in $(HOST_SUBDIR)/gdb; \
33587 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
33588 case $(srcdir) in \
33589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33590 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
33591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33592 esac; \
33593 module_srcdir=gdb; \
33594 $(SHELL) \
33595 $$s/$$module_srcdir/configure \
33596 --srcdir=$${topdir}/$$module_srcdir \
33597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33598 --target=${target_alias} \
33599 || exit 1
33600 @endif gdb
33606 .PHONY: all-gdb maybe-all-gdb
33607 maybe-all-gdb:
33608 @if gcc-bootstrap
33609 all-gdb: stage_current
33610 @endif gcc-bootstrap
33611 @if gdb
33612 TARGET-gdb=all
33613 maybe-all-gdb: all-gdb
33614 all-gdb: configure-gdb
33615 @: $(MAKE); $(unstage)
33616 @r=`${PWD_COMMAND}`; export r; \
33617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33618 $(HOST_EXPORTS) \
33619 (cd $(HOST_SUBDIR)/gdb && \
33620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33621 $(TARGET-gdb))
33622 @endif gdb
33627 .PHONY: check-gdb maybe-check-gdb
33628 maybe-check-gdb:
33629 @if gdb
33630 maybe-check-gdb: check-gdb
33632 check-gdb:
33633 @: $(MAKE); $(unstage)
33634 @r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 $(HOST_EXPORTS) \
33637 (cd $(HOST_SUBDIR)/gdb && \
33638 $(MAKE) $(FLAGS_TO_PASS) check)
33640 @endif gdb
33642 .PHONY: install-gdb maybe-install-gdb
33643 maybe-install-gdb:
33644 @if gdb
33645 maybe-install-gdb: install-gdb
33647 install-gdb: installdirs
33648 @: $(MAKE); $(unstage)
33649 @r=`${PWD_COMMAND}`; export r; \
33650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33651 $(HOST_EXPORTS) \
33652 (cd $(HOST_SUBDIR)/gdb && \
33653 $(MAKE) $(FLAGS_TO_PASS) install)
33655 @endif gdb
33657 .PHONY: install-strip-gdb maybe-install-strip-gdb
33658 maybe-install-strip-gdb:
33659 @if gdb
33660 maybe-install-strip-gdb: install-strip-gdb
33662 install-strip-gdb: installdirs
33663 @: $(MAKE); $(unstage)
33664 @r=`${PWD_COMMAND}`; export r; \
33665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33666 $(HOST_EXPORTS) \
33667 (cd $(HOST_SUBDIR)/gdb && \
33668 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33670 @endif gdb
33672 # Other targets (info, dvi, pdf, etc.)
33674 .PHONY: maybe-info-gdb info-gdb
33675 maybe-info-gdb:
33676 @if gdb
33677 maybe-info-gdb: info-gdb
33679 info-gdb: \
33680 configure-gdb
33681 @: $(MAKE); $(unstage)
33682 @[ -f ./gdb/Makefile ] || exit 0; \
33683 r=`${PWD_COMMAND}`; export r; \
33684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33685 $(HOST_EXPORTS) \
33686 for flag in $(EXTRA_HOST_FLAGS) ; do \
33687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33688 done; \
33689 echo "Doing info in gdb"; \
33690 (cd $(HOST_SUBDIR)/gdb && \
33691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33693 "RANLIB=$${RANLIB}" \
33694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33695 info) \
33696 || exit 1
33698 @endif gdb
33700 .PHONY: maybe-dvi-gdb dvi-gdb
33701 maybe-dvi-gdb:
33702 @if gdb
33703 maybe-dvi-gdb: dvi-gdb
33705 dvi-gdb: \
33706 configure-gdb
33707 @: $(MAKE); $(unstage)
33708 @[ -f ./gdb/Makefile ] || exit 0; \
33709 r=`${PWD_COMMAND}`; export r; \
33710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33711 $(HOST_EXPORTS) \
33712 for flag in $(EXTRA_HOST_FLAGS) ; do \
33713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33714 done; \
33715 echo "Doing dvi in gdb"; \
33716 (cd $(HOST_SUBDIR)/gdb && \
33717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33719 "RANLIB=$${RANLIB}" \
33720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33721 dvi) \
33722 || exit 1
33724 @endif gdb
33726 .PHONY: maybe-pdf-gdb pdf-gdb
33727 maybe-pdf-gdb:
33728 @if gdb
33729 maybe-pdf-gdb: pdf-gdb
33731 pdf-gdb: \
33732 configure-gdb
33733 @: $(MAKE); $(unstage)
33734 @[ -f ./gdb/Makefile ] || exit 0; \
33735 r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 $(HOST_EXPORTS) \
33738 for flag in $(EXTRA_HOST_FLAGS) ; do \
33739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33740 done; \
33741 echo "Doing pdf in gdb"; \
33742 (cd $(HOST_SUBDIR)/gdb && \
33743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33745 "RANLIB=$${RANLIB}" \
33746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33747 pdf) \
33748 || exit 1
33750 @endif gdb
33752 .PHONY: maybe-html-gdb html-gdb
33753 maybe-html-gdb:
33754 @if gdb
33755 maybe-html-gdb: html-gdb
33757 html-gdb: \
33758 configure-gdb
33759 @: $(MAKE); $(unstage)
33760 @[ -f ./gdb/Makefile ] || exit 0; \
33761 r=`${PWD_COMMAND}`; export r; \
33762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33763 $(HOST_EXPORTS) \
33764 for flag in $(EXTRA_HOST_FLAGS) ; do \
33765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33766 done; \
33767 echo "Doing html in gdb"; \
33768 (cd $(HOST_SUBDIR)/gdb && \
33769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33771 "RANLIB=$${RANLIB}" \
33772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33773 html) \
33774 || exit 1
33776 @endif gdb
33778 .PHONY: maybe-TAGS-gdb TAGS-gdb
33779 maybe-TAGS-gdb:
33780 @if gdb
33781 maybe-TAGS-gdb: TAGS-gdb
33783 TAGS-gdb: \
33784 configure-gdb
33785 @: $(MAKE); $(unstage)
33786 @[ -f ./gdb/Makefile ] || exit 0; \
33787 r=`${PWD_COMMAND}`; export r; \
33788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33789 $(HOST_EXPORTS) \
33790 for flag in $(EXTRA_HOST_FLAGS) ; do \
33791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33792 done; \
33793 echo "Doing TAGS in gdb"; \
33794 (cd $(HOST_SUBDIR)/gdb && \
33795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33797 "RANLIB=$${RANLIB}" \
33798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33799 TAGS) \
33800 || exit 1
33802 @endif gdb
33804 .PHONY: maybe-install-info-gdb install-info-gdb
33805 maybe-install-info-gdb:
33806 @if gdb
33807 maybe-install-info-gdb: install-info-gdb
33809 install-info-gdb: \
33810 configure-gdb \
33811 info-gdb
33812 @: $(MAKE); $(unstage)
33813 @[ -f ./gdb/Makefile ] || exit 0; \
33814 r=`${PWD_COMMAND}`; export r; \
33815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33816 $(HOST_EXPORTS) \
33817 for flag in $(EXTRA_HOST_FLAGS) ; do \
33818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33819 done; \
33820 echo "Doing install-info in gdb"; \
33821 (cd $(HOST_SUBDIR)/gdb && \
33822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33824 "RANLIB=$${RANLIB}" \
33825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33826 install-info) \
33827 || exit 1
33829 @endif gdb
33831 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33832 maybe-install-pdf-gdb:
33833 @if gdb
33834 maybe-install-pdf-gdb: install-pdf-gdb
33836 install-pdf-gdb: \
33837 configure-gdb \
33838 pdf-gdb
33839 @: $(MAKE); $(unstage)
33840 @[ -f ./gdb/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 install-pdf in gdb"; \
33848 (cd $(HOST_SUBDIR)/gdb && \
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 install-pdf) \
33854 || exit 1
33856 @endif gdb
33858 .PHONY: maybe-install-html-gdb install-html-gdb
33859 maybe-install-html-gdb:
33860 @if gdb
33861 maybe-install-html-gdb: install-html-gdb
33863 install-html-gdb: \
33864 configure-gdb \
33865 html-gdb
33866 @: $(MAKE); $(unstage)
33867 @[ -f ./gdb/Makefile ] || exit 0; \
33868 r=`${PWD_COMMAND}`; export r; \
33869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33870 $(HOST_EXPORTS) \
33871 for flag in $(EXTRA_HOST_FLAGS) ; do \
33872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33873 done; \
33874 echo "Doing install-html in gdb"; \
33875 (cd $(HOST_SUBDIR)/gdb && \
33876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33878 "RANLIB=$${RANLIB}" \
33879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33880 install-html) \
33881 || exit 1
33883 @endif gdb
33885 .PHONY: maybe-installcheck-gdb installcheck-gdb
33886 maybe-installcheck-gdb:
33887 @if gdb
33888 maybe-installcheck-gdb: installcheck-gdb
33890 installcheck-gdb: \
33891 configure-gdb
33892 @: $(MAKE); $(unstage)
33893 @[ -f ./gdb/Makefile ] || exit 0; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(HOST_EXPORTS) \
33897 for flag in $(EXTRA_HOST_FLAGS) ; do \
33898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33899 done; \
33900 echo "Doing installcheck in gdb"; \
33901 (cd $(HOST_SUBDIR)/gdb && \
33902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33904 "RANLIB=$${RANLIB}" \
33905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33906 installcheck) \
33907 || exit 1
33909 @endif gdb
33911 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33912 maybe-mostlyclean-gdb:
33913 @if gdb
33914 maybe-mostlyclean-gdb: mostlyclean-gdb
33916 mostlyclean-gdb:
33917 @: $(MAKE); $(unstage)
33918 @[ -f ./gdb/Makefile ] || exit 0; \
33919 r=`${PWD_COMMAND}`; export r; \
33920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33921 $(HOST_EXPORTS) \
33922 for flag in $(EXTRA_HOST_FLAGS) ; do \
33923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33924 done; \
33925 echo "Doing mostlyclean in gdb"; \
33926 (cd $(HOST_SUBDIR)/gdb && \
33927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33929 "RANLIB=$${RANLIB}" \
33930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33931 mostlyclean) \
33932 || exit 1
33934 @endif gdb
33936 .PHONY: maybe-clean-gdb clean-gdb
33937 maybe-clean-gdb:
33938 @if gdb
33939 maybe-clean-gdb: clean-gdb
33941 clean-gdb:
33942 @: $(MAKE); $(unstage)
33943 @[ -f ./gdb/Makefile ] || exit 0; \
33944 r=`${PWD_COMMAND}`; export r; \
33945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33946 $(HOST_EXPORTS) \
33947 for flag in $(EXTRA_HOST_FLAGS) ; do \
33948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33949 done; \
33950 echo "Doing clean in gdb"; \
33951 (cd $(HOST_SUBDIR)/gdb && \
33952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33954 "RANLIB=$${RANLIB}" \
33955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33956 clean) \
33957 || exit 1
33959 @endif gdb
33961 .PHONY: maybe-distclean-gdb distclean-gdb
33962 maybe-distclean-gdb:
33963 @if gdb
33964 maybe-distclean-gdb: distclean-gdb
33966 distclean-gdb:
33967 @: $(MAKE); $(unstage)
33968 @[ -f ./gdb/Makefile ] || exit 0; \
33969 r=`${PWD_COMMAND}`; export r; \
33970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33971 $(HOST_EXPORTS) \
33972 for flag in $(EXTRA_HOST_FLAGS) ; do \
33973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33974 done; \
33975 echo "Doing distclean in gdb"; \
33976 (cd $(HOST_SUBDIR)/gdb && \
33977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33979 "RANLIB=$${RANLIB}" \
33980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33981 distclean) \
33982 || exit 1
33984 @endif gdb
33986 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33987 maybe-maintainer-clean-gdb:
33988 @if gdb
33989 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33991 maintainer-clean-gdb:
33992 @: $(MAKE); $(unstage)
33993 @[ -f ./gdb/Makefile ] || exit 0; \
33994 r=`${PWD_COMMAND}`; export r; \
33995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33996 $(HOST_EXPORTS) \
33997 for flag in $(EXTRA_HOST_FLAGS) ; do \
33998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33999 done; \
34000 echo "Doing maintainer-clean in gdb"; \
34001 (cd $(HOST_SUBDIR)/gdb && \
34002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34004 "RANLIB=$${RANLIB}" \
34005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34006 maintainer-clean) \
34007 || exit 1
34009 @endif gdb
34013 .PHONY: configure-expect maybe-configure-expect
34014 maybe-configure-expect:
34015 @if gcc-bootstrap
34016 configure-expect: stage_current
34017 @endif gcc-bootstrap
34018 @if expect
34019 maybe-configure-expect: configure-expect
34020 configure-expect:
34021 @: $(MAKE); $(unstage)
34022 @r=`${PWD_COMMAND}`; export r; \
34023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34024 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
34025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
34026 $(HOST_EXPORTS) \
34027 echo Configuring in $(HOST_SUBDIR)/expect; \
34028 cd "$(HOST_SUBDIR)/expect" || exit 1; \
34029 case $(srcdir) in \
34030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34031 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
34032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34033 esac; \
34034 module_srcdir=expect; \
34035 $(SHELL) \
34036 $$s/$$module_srcdir/configure \
34037 --srcdir=$${topdir}/$$module_srcdir \
34038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34039 --target=${target_alias} \
34040 || exit 1
34041 @endif expect
34047 .PHONY: all-expect maybe-all-expect
34048 maybe-all-expect:
34049 @if gcc-bootstrap
34050 all-expect: stage_current
34051 @endif gcc-bootstrap
34052 @if expect
34053 TARGET-expect=all
34054 maybe-all-expect: all-expect
34055 all-expect: configure-expect
34056 @: $(MAKE); $(unstage)
34057 @r=`${PWD_COMMAND}`; export r; \
34058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34059 $(HOST_EXPORTS) \
34060 (cd $(HOST_SUBDIR)/expect && \
34061 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34062 $(TARGET-expect))
34063 @endif expect
34068 .PHONY: check-expect maybe-check-expect
34069 maybe-check-expect:
34070 @if expect
34071 maybe-check-expect: check-expect
34073 check-expect:
34074 @: $(MAKE); $(unstage)
34075 @r=`${PWD_COMMAND}`; export r; \
34076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34077 $(HOST_EXPORTS) \
34078 (cd $(HOST_SUBDIR)/expect && \
34079 $(MAKE) $(FLAGS_TO_PASS) check)
34081 @endif expect
34083 .PHONY: install-expect maybe-install-expect
34084 maybe-install-expect:
34085 @if expect
34086 maybe-install-expect: install-expect
34088 install-expect: installdirs
34089 @: $(MAKE); $(unstage)
34090 @r=`${PWD_COMMAND}`; export r; \
34091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34092 $(HOST_EXPORTS) \
34093 (cd $(HOST_SUBDIR)/expect && \
34094 $(MAKE) $(FLAGS_TO_PASS) install)
34096 @endif expect
34098 .PHONY: install-strip-expect maybe-install-strip-expect
34099 maybe-install-strip-expect:
34100 @if expect
34101 maybe-install-strip-expect: install-strip-expect
34103 install-strip-expect: installdirs
34104 @: $(MAKE); $(unstage)
34105 @r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(HOST_EXPORTS) \
34108 (cd $(HOST_SUBDIR)/expect && \
34109 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34111 @endif expect
34113 # Other targets (info, dvi, pdf, etc.)
34115 .PHONY: maybe-info-expect info-expect
34116 maybe-info-expect:
34117 @if expect
34118 maybe-info-expect: info-expect
34120 info-expect: \
34121 configure-expect
34122 @: $(MAKE); $(unstage)
34123 @[ -f ./expect/Makefile ] || exit 0; \
34124 r=`${PWD_COMMAND}`; export r; \
34125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34126 $(HOST_EXPORTS) \
34127 for flag in $(EXTRA_HOST_FLAGS) ; do \
34128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34129 done; \
34130 echo "Doing info in expect"; \
34131 (cd $(HOST_SUBDIR)/expect && \
34132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34134 "RANLIB=$${RANLIB}" \
34135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34136 info) \
34137 || exit 1
34139 @endif expect
34141 .PHONY: maybe-dvi-expect dvi-expect
34142 maybe-dvi-expect:
34143 @if expect
34144 maybe-dvi-expect: dvi-expect
34146 dvi-expect: \
34147 configure-expect
34148 @: $(MAKE); $(unstage)
34149 @[ -f ./expect/Makefile ] || exit 0; \
34150 r=`${PWD_COMMAND}`; export r; \
34151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34152 $(HOST_EXPORTS) \
34153 for flag in $(EXTRA_HOST_FLAGS) ; do \
34154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34155 done; \
34156 echo "Doing dvi in expect"; \
34157 (cd $(HOST_SUBDIR)/expect && \
34158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34160 "RANLIB=$${RANLIB}" \
34161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34162 dvi) \
34163 || exit 1
34165 @endif expect
34167 .PHONY: maybe-pdf-expect pdf-expect
34168 maybe-pdf-expect:
34169 @if expect
34170 maybe-pdf-expect: pdf-expect
34172 pdf-expect: \
34173 configure-expect
34174 @: $(MAKE); $(unstage)
34175 @[ -f ./expect/Makefile ] || exit 0; \
34176 r=`${PWD_COMMAND}`; export r; \
34177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34178 $(HOST_EXPORTS) \
34179 for flag in $(EXTRA_HOST_FLAGS) ; do \
34180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34181 done; \
34182 echo "Doing pdf in expect"; \
34183 (cd $(HOST_SUBDIR)/expect && \
34184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34186 "RANLIB=$${RANLIB}" \
34187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34188 pdf) \
34189 || exit 1
34191 @endif expect
34193 .PHONY: maybe-html-expect html-expect
34194 maybe-html-expect:
34195 @if expect
34196 maybe-html-expect: html-expect
34198 html-expect: \
34199 configure-expect
34200 @: $(MAKE); $(unstage)
34201 @[ -f ./expect/Makefile ] || exit 0; \
34202 r=`${PWD_COMMAND}`; export r; \
34203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34204 $(HOST_EXPORTS) \
34205 for flag in $(EXTRA_HOST_FLAGS) ; do \
34206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34207 done; \
34208 echo "Doing html in expect"; \
34209 (cd $(HOST_SUBDIR)/expect && \
34210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34212 "RANLIB=$${RANLIB}" \
34213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34214 html) \
34215 || exit 1
34217 @endif expect
34219 .PHONY: maybe-TAGS-expect TAGS-expect
34220 maybe-TAGS-expect:
34221 @if expect
34222 maybe-TAGS-expect: TAGS-expect
34224 TAGS-expect: \
34225 configure-expect
34226 @: $(MAKE); $(unstage)
34227 @[ -f ./expect/Makefile ] || exit 0; \
34228 r=`${PWD_COMMAND}`; export r; \
34229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34230 $(HOST_EXPORTS) \
34231 for flag in $(EXTRA_HOST_FLAGS) ; do \
34232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34233 done; \
34234 echo "Doing TAGS in expect"; \
34235 (cd $(HOST_SUBDIR)/expect && \
34236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34238 "RANLIB=$${RANLIB}" \
34239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34240 TAGS) \
34241 || exit 1
34243 @endif expect
34245 .PHONY: maybe-install-info-expect install-info-expect
34246 maybe-install-info-expect:
34247 @if expect
34248 maybe-install-info-expect: install-info-expect
34250 install-info-expect: \
34251 configure-expect \
34252 info-expect
34253 @: $(MAKE); $(unstage)
34254 @[ -f ./expect/Makefile ] || exit 0; \
34255 r=`${PWD_COMMAND}`; export r; \
34256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34257 $(HOST_EXPORTS) \
34258 for flag in $(EXTRA_HOST_FLAGS) ; do \
34259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34260 done; \
34261 echo "Doing install-info in expect"; \
34262 (cd $(HOST_SUBDIR)/expect && \
34263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34265 "RANLIB=$${RANLIB}" \
34266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34267 install-info) \
34268 || exit 1
34270 @endif expect
34272 .PHONY: maybe-install-pdf-expect install-pdf-expect
34273 maybe-install-pdf-expect:
34274 @if expect
34275 maybe-install-pdf-expect: install-pdf-expect
34277 install-pdf-expect: \
34278 configure-expect \
34279 pdf-expect
34280 @: $(MAKE); $(unstage)
34281 @[ -f ./expect/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 install-pdf in expect"; \
34289 (cd $(HOST_SUBDIR)/expect && \
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 install-pdf) \
34295 || exit 1
34297 @endif expect
34299 .PHONY: maybe-install-html-expect install-html-expect
34300 maybe-install-html-expect:
34301 @if expect
34302 maybe-install-html-expect: install-html-expect
34304 install-html-expect: \
34305 configure-expect \
34306 html-expect
34307 @: $(MAKE); $(unstage)
34308 @[ -f ./expect/Makefile ] || exit 0; \
34309 r=`${PWD_COMMAND}`; export r; \
34310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34311 $(HOST_EXPORTS) \
34312 for flag in $(EXTRA_HOST_FLAGS) ; do \
34313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34314 done; \
34315 echo "Doing install-html in expect"; \
34316 (cd $(HOST_SUBDIR)/expect && \
34317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34319 "RANLIB=$${RANLIB}" \
34320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34321 install-html) \
34322 || exit 1
34324 @endif expect
34326 .PHONY: maybe-installcheck-expect installcheck-expect
34327 maybe-installcheck-expect:
34328 @if expect
34329 maybe-installcheck-expect: installcheck-expect
34331 installcheck-expect: \
34332 configure-expect
34333 @: $(MAKE); $(unstage)
34334 @[ -f ./expect/Makefile ] || exit 0; \
34335 r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(HOST_EXPORTS) \
34338 for flag in $(EXTRA_HOST_FLAGS) ; do \
34339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34340 done; \
34341 echo "Doing installcheck in expect"; \
34342 (cd $(HOST_SUBDIR)/expect && \
34343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34345 "RANLIB=$${RANLIB}" \
34346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34347 installcheck) \
34348 || exit 1
34350 @endif expect
34352 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
34353 maybe-mostlyclean-expect:
34354 @if expect
34355 maybe-mostlyclean-expect: mostlyclean-expect
34357 mostlyclean-expect:
34358 @: $(MAKE); $(unstage)
34359 @[ -f ./expect/Makefile ] || exit 0; \
34360 r=`${PWD_COMMAND}`; export r; \
34361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34362 $(HOST_EXPORTS) \
34363 for flag in $(EXTRA_HOST_FLAGS) ; do \
34364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34365 done; \
34366 echo "Doing mostlyclean in expect"; \
34367 (cd $(HOST_SUBDIR)/expect && \
34368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34370 "RANLIB=$${RANLIB}" \
34371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34372 mostlyclean) \
34373 || exit 1
34375 @endif expect
34377 .PHONY: maybe-clean-expect clean-expect
34378 maybe-clean-expect:
34379 @if expect
34380 maybe-clean-expect: clean-expect
34382 clean-expect:
34383 @: $(MAKE); $(unstage)
34384 @[ -f ./expect/Makefile ] || exit 0; \
34385 r=`${PWD_COMMAND}`; export r; \
34386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34387 $(HOST_EXPORTS) \
34388 for flag in $(EXTRA_HOST_FLAGS) ; do \
34389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34390 done; \
34391 echo "Doing clean in expect"; \
34392 (cd $(HOST_SUBDIR)/expect && \
34393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34395 "RANLIB=$${RANLIB}" \
34396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34397 clean) \
34398 || exit 1
34400 @endif expect
34402 .PHONY: maybe-distclean-expect distclean-expect
34403 maybe-distclean-expect:
34404 @if expect
34405 maybe-distclean-expect: distclean-expect
34407 distclean-expect:
34408 @: $(MAKE); $(unstage)
34409 @[ -f ./expect/Makefile ] || exit 0; \
34410 r=`${PWD_COMMAND}`; export r; \
34411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34412 $(HOST_EXPORTS) \
34413 for flag in $(EXTRA_HOST_FLAGS) ; do \
34414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34415 done; \
34416 echo "Doing distclean in expect"; \
34417 (cd $(HOST_SUBDIR)/expect && \
34418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34420 "RANLIB=$${RANLIB}" \
34421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34422 distclean) \
34423 || exit 1
34425 @endif expect
34427 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
34428 maybe-maintainer-clean-expect:
34429 @if expect
34430 maybe-maintainer-clean-expect: maintainer-clean-expect
34432 maintainer-clean-expect:
34433 @: $(MAKE); $(unstage)
34434 @[ -f ./expect/Makefile ] || exit 0; \
34435 r=`${PWD_COMMAND}`; export r; \
34436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34437 $(HOST_EXPORTS) \
34438 for flag in $(EXTRA_HOST_FLAGS) ; do \
34439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34440 done; \
34441 echo "Doing maintainer-clean in expect"; \
34442 (cd $(HOST_SUBDIR)/expect && \
34443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34445 "RANLIB=$${RANLIB}" \
34446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34447 maintainer-clean) \
34448 || exit 1
34450 @endif expect
34454 .PHONY: configure-guile maybe-configure-guile
34455 maybe-configure-guile:
34456 @if gcc-bootstrap
34457 configure-guile: stage_current
34458 @endif gcc-bootstrap
34459 @if guile
34460 maybe-configure-guile: configure-guile
34461 configure-guile:
34462 @: $(MAKE); $(unstage)
34463 @r=`${PWD_COMMAND}`; export r; \
34464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34465 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
34466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
34467 $(HOST_EXPORTS) \
34468 echo Configuring in $(HOST_SUBDIR)/guile; \
34469 cd "$(HOST_SUBDIR)/guile" || exit 1; \
34470 case $(srcdir) in \
34471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34472 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
34473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34474 esac; \
34475 module_srcdir=guile; \
34476 $(SHELL) \
34477 $$s/$$module_srcdir/configure \
34478 --srcdir=$${topdir}/$$module_srcdir \
34479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34480 --target=${target_alias} \
34481 || exit 1
34482 @endif guile
34488 .PHONY: all-guile maybe-all-guile
34489 maybe-all-guile:
34490 @if gcc-bootstrap
34491 all-guile: stage_current
34492 @endif gcc-bootstrap
34493 @if guile
34494 TARGET-guile=all
34495 maybe-all-guile: all-guile
34496 all-guile: configure-guile
34497 @: $(MAKE); $(unstage)
34498 @r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(HOST_EXPORTS) \
34501 (cd $(HOST_SUBDIR)/guile && \
34502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34503 $(TARGET-guile))
34504 @endif guile
34509 .PHONY: check-guile maybe-check-guile
34510 maybe-check-guile:
34511 @if guile
34512 maybe-check-guile: check-guile
34514 check-guile:
34515 @: $(MAKE); $(unstage)
34516 @r=`${PWD_COMMAND}`; export r; \
34517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34518 $(HOST_EXPORTS) \
34519 (cd $(HOST_SUBDIR)/guile && \
34520 $(MAKE) $(FLAGS_TO_PASS) check)
34522 @endif guile
34524 .PHONY: install-guile maybe-install-guile
34525 maybe-install-guile:
34526 @if guile
34527 maybe-install-guile: install-guile
34529 install-guile: installdirs
34530 @: $(MAKE); $(unstage)
34531 @r=`${PWD_COMMAND}`; export r; \
34532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34533 $(HOST_EXPORTS) \
34534 (cd $(HOST_SUBDIR)/guile && \
34535 $(MAKE) $(FLAGS_TO_PASS) install)
34537 @endif guile
34539 .PHONY: install-strip-guile maybe-install-strip-guile
34540 maybe-install-strip-guile:
34541 @if guile
34542 maybe-install-strip-guile: install-strip-guile
34544 install-strip-guile: installdirs
34545 @: $(MAKE); $(unstage)
34546 @r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(HOST_EXPORTS) \
34549 (cd $(HOST_SUBDIR)/guile && \
34550 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34552 @endif guile
34554 # Other targets (info, dvi, pdf, etc.)
34556 .PHONY: maybe-info-guile info-guile
34557 maybe-info-guile:
34558 @if guile
34559 maybe-info-guile: info-guile
34561 info-guile: \
34562 configure-guile
34563 @: $(MAKE); $(unstage)
34564 @[ -f ./guile/Makefile ] || exit 0; \
34565 r=`${PWD_COMMAND}`; export r; \
34566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34567 $(HOST_EXPORTS) \
34568 for flag in $(EXTRA_HOST_FLAGS) ; do \
34569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34570 done; \
34571 echo "Doing info in guile"; \
34572 (cd $(HOST_SUBDIR)/guile && \
34573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34575 "RANLIB=$${RANLIB}" \
34576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34577 info) \
34578 || exit 1
34580 @endif guile
34582 .PHONY: maybe-dvi-guile dvi-guile
34583 maybe-dvi-guile:
34584 @if guile
34585 maybe-dvi-guile: dvi-guile
34587 dvi-guile: \
34588 configure-guile
34589 @: $(MAKE); $(unstage)
34590 @[ -f ./guile/Makefile ] || exit 0; \
34591 r=`${PWD_COMMAND}`; export r; \
34592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34593 $(HOST_EXPORTS) \
34594 for flag in $(EXTRA_HOST_FLAGS) ; do \
34595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34596 done; \
34597 echo "Doing dvi in guile"; \
34598 (cd $(HOST_SUBDIR)/guile && \
34599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34601 "RANLIB=$${RANLIB}" \
34602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34603 dvi) \
34604 || exit 1
34606 @endif guile
34608 .PHONY: maybe-pdf-guile pdf-guile
34609 maybe-pdf-guile:
34610 @if guile
34611 maybe-pdf-guile: pdf-guile
34613 pdf-guile: \
34614 configure-guile
34615 @: $(MAKE); $(unstage)
34616 @[ -f ./guile/Makefile ] || exit 0; \
34617 r=`${PWD_COMMAND}`; export r; \
34618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34619 $(HOST_EXPORTS) \
34620 for flag in $(EXTRA_HOST_FLAGS) ; do \
34621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34622 done; \
34623 echo "Doing pdf in guile"; \
34624 (cd $(HOST_SUBDIR)/guile && \
34625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34627 "RANLIB=$${RANLIB}" \
34628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34629 pdf) \
34630 || exit 1
34632 @endif guile
34634 .PHONY: maybe-html-guile html-guile
34635 maybe-html-guile:
34636 @if guile
34637 maybe-html-guile: html-guile
34639 html-guile: \
34640 configure-guile
34641 @: $(MAKE); $(unstage)
34642 @[ -f ./guile/Makefile ] || exit 0; \
34643 r=`${PWD_COMMAND}`; export r; \
34644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34645 $(HOST_EXPORTS) \
34646 for flag in $(EXTRA_HOST_FLAGS) ; do \
34647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34648 done; \
34649 echo "Doing html in guile"; \
34650 (cd $(HOST_SUBDIR)/guile && \
34651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34653 "RANLIB=$${RANLIB}" \
34654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34655 html) \
34656 || exit 1
34658 @endif guile
34660 .PHONY: maybe-TAGS-guile TAGS-guile
34661 maybe-TAGS-guile:
34662 @if guile
34663 maybe-TAGS-guile: TAGS-guile
34665 TAGS-guile: \
34666 configure-guile
34667 @: $(MAKE); $(unstage)
34668 @[ -f ./guile/Makefile ] || exit 0; \
34669 r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 $(HOST_EXPORTS) \
34672 for flag in $(EXTRA_HOST_FLAGS) ; do \
34673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34674 done; \
34675 echo "Doing TAGS in guile"; \
34676 (cd $(HOST_SUBDIR)/guile && \
34677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34679 "RANLIB=$${RANLIB}" \
34680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34681 TAGS) \
34682 || exit 1
34684 @endif guile
34686 .PHONY: maybe-install-info-guile install-info-guile
34687 maybe-install-info-guile:
34688 @if guile
34689 maybe-install-info-guile: install-info-guile
34691 install-info-guile: \
34692 configure-guile \
34693 info-guile
34694 @: $(MAKE); $(unstage)
34695 @[ -f ./guile/Makefile ] || exit 0; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(HOST_EXPORTS) \
34699 for flag in $(EXTRA_HOST_FLAGS) ; do \
34700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34701 done; \
34702 echo "Doing install-info in guile"; \
34703 (cd $(HOST_SUBDIR)/guile && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34708 install-info) \
34709 || exit 1
34711 @endif guile
34713 .PHONY: maybe-install-pdf-guile install-pdf-guile
34714 maybe-install-pdf-guile:
34715 @if guile
34716 maybe-install-pdf-guile: install-pdf-guile
34718 install-pdf-guile: \
34719 configure-guile \
34720 pdf-guile
34721 @: $(MAKE); $(unstage)
34722 @[ -f ./guile/Makefile ] || exit 0; \
34723 r=`${PWD_COMMAND}`; export r; \
34724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34725 $(HOST_EXPORTS) \
34726 for flag in $(EXTRA_HOST_FLAGS) ; do \
34727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34728 done; \
34729 echo "Doing install-pdf in guile"; \
34730 (cd $(HOST_SUBDIR)/guile && \
34731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34733 "RANLIB=$${RANLIB}" \
34734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34735 install-pdf) \
34736 || exit 1
34738 @endif guile
34740 .PHONY: maybe-install-html-guile install-html-guile
34741 maybe-install-html-guile:
34742 @if guile
34743 maybe-install-html-guile: install-html-guile
34745 install-html-guile: \
34746 configure-guile \
34747 html-guile
34748 @: $(MAKE); $(unstage)
34749 @[ -f ./guile/Makefile ] || exit 0; \
34750 r=`${PWD_COMMAND}`; export r; \
34751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34752 $(HOST_EXPORTS) \
34753 for flag in $(EXTRA_HOST_FLAGS) ; do \
34754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34755 done; \
34756 echo "Doing install-html in guile"; \
34757 (cd $(HOST_SUBDIR)/guile && \
34758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34760 "RANLIB=$${RANLIB}" \
34761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34762 install-html) \
34763 || exit 1
34765 @endif guile
34767 .PHONY: maybe-installcheck-guile installcheck-guile
34768 maybe-installcheck-guile:
34769 @if guile
34770 maybe-installcheck-guile: installcheck-guile
34772 installcheck-guile: \
34773 configure-guile
34774 @: $(MAKE); $(unstage)
34775 @[ -f ./guile/Makefile ] || exit 0; \
34776 r=`${PWD_COMMAND}`; export r; \
34777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34778 $(HOST_EXPORTS) \
34779 for flag in $(EXTRA_HOST_FLAGS) ; do \
34780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34781 done; \
34782 echo "Doing installcheck in guile"; \
34783 (cd $(HOST_SUBDIR)/guile && \
34784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34786 "RANLIB=$${RANLIB}" \
34787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34788 installcheck) \
34789 || exit 1
34791 @endif guile
34793 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34794 maybe-mostlyclean-guile:
34795 @if guile
34796 maybe-mostlyclean-guile: mostlyclean-guile
34798 mostlyclean-guile:
34799 @: $(MAKE); $(unstage)
34800 @[ -f ./guile/Makefile ] || exit 0; \
34801 r=`${PWD_COMMAND}`; export r; \
34802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34803 $(HOST_EXPORTS) \
34804 for flag in $(EXTRA_HOST_FLAGS) ; do \
34805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34806 done; \
34807 echo "Doing mostlyclean in guile"; \
34808 (cd $(HOST_SUBDIR)/guile && \
34809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34811 "RANLIB=$${RANLIB}" \
34812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34813 mostlyclean) \
34814 || exit 1
34816 @endif guile
34818 .PHONY: maybe-clean-guile clean-guile
34819 maybe-clean-guile:
34820 @if guile
34821 maybe-clean-guile: clean-guile
34823 clean-guile:
34824 @: $(MAKE); $(unstage)
34825 @[ -f ./guile/Makefile ] || exit 0; \
34826 r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(HOST_EXPORTS) \
34829 for flag in $(EXTRA_HOST_FLAGS) ; do \
34830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34831 done; \
34832 echo "Doing clean in guile"; \
34833 (cd $(HOST_SUBDIR)/guile && \
34834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34836 "RANLIB=$${RANLIB}" \
34837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34838 clean) \
34839 || exit 1
34841 @endif guile
34843 .PHONY: maybe-distclean-guile distclean-guile
34844 maybe-distclean-guile:
34845 @if guile
34846 maybe-distclean-guile: distclean-guile
34848 distclean-guile:
34849 @: $(MAKE); $(unstage)
34850 @[ -f ./guile/Makefile ] || exit 0; \
34851 r=`${PWD_COMMAND}`; export r; \
34852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34853 $(HOST_EXPORTS) \
34854 for flag in $(EXTRA_HOST_FLAGS) ; do \
34855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34856 done; \
34857 echo "Doing distclean in guile"; \
34858 (cd $(HOST_SUBDIR)/guile && \
34859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34861 "RANLIB=$${RANLIB}" \
34862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34863 distclean) \
34864 || exit 1
34866 @endif guile
34868 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34869 maybe-maintainer-clean-guile:
34870 @if guile
34871 maybe-maintainer-clean-guile: maintainer-clean-guile
34873 maintainer-clean-guile:
34874 @: $(MAKE); $(unstage)
34875 @[ -f ./guile/Makefile ] || exit 0; \
34876 r=`${PWD_COMMAND}`; export r; \
34877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34878 $(HOST_EXPORTS) \
34879 for flag in $(EXTRA_HOST_FLAGS) ; do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 echo "Doing maintainer-clean in guile"; \
34883 (cd $(HOST_SUBDIR)/guile && \
34884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34886 "RANLIB=$${RANLIB}" \
34887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34888 maintainer-clean) \
34889 || exit 1
34891 @endif guile
34895 .PHONY: configure-tk maybe-configure-tk
34896 maybe-configure-tk:
34897 @if gcc-bootstrap
34898 configure-tk: stage_current
34899 @endif gcc-bootstrap
34900 @if tk
34901 maybe-configure-tk: configure-tk
34902 configure-tk:
34903 @: $(MAKE); $(unstage)
34904 @r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34906 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34908 $(HOST_EXPORTS) \
34909 echo Configuring in $(HOST_SUBDIR)/tk; \
34910 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34911 case $(srcdir) in \
34912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34913 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34915 esac; \
34916 module_srcdir=tk; \
34917 $(SHELL) \
34918 $$s/$$module_srcdir/configure \
34919 --srcdir=$${topdir}/$$module_srcdir \
34920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34921 --target=${target_alias} \
34922 || exit 1
34923 @endif tk
34929 .PHONY: all-tk maybe-all-tk
34930 maybe-all-tk:
34931 @if gcc-bootstrap
34932 all-tk: stage_current
34933 @endif gcc-bootstrap
34934 @if tk
34935 TARGET-tk=all
34936 maybe-all-tk: all-tk
34937 all-tk: configure-tk
34938 @: $(MAKE); $(unstage)
34939 @r=`${PWD_COMMAND}`; export r; \
34940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34941 $(HOST_EXPORTS) \
34942 (cd $(HOST_SUBDIR)/tk && \
34943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34944 $(TARGET-tk))
34945 @endif tk
34950 .PHONY: check-tk maybe-check-tk
34951 maybe-check-tk:
34952 @if tk
34953 maybe-check-tk: check-tk
34955 check-tk:
34956 @: $(MAKE); $(unstage)
34957 @r=`${PWD_COMMAND}`; export r; \
34958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34959 $(HOST_EXPORTS) \
34960 (cd $(HOST_SUBDIR)/tk && \
34961 $(MAKE) $(FLAGS_TO_PASS) check)
34963 @endif tk
34965 .PHONY: install-tk maybe-install-tk
34966 maybe-install-tk:
34967 @if tk
34968 maybe-install-tk: install-tk
34970 install-tk: installdirs
34971 @: $(MAKE); $(unstage)
34972 @r=`${PWD_COMMAND}`; export r; \
34973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34974 $(HOST_EXPORTS) \
34975 (cd $(HOST_SUBDIR)/tk && \
34976 $(MAKE) $(FLAGS_TO_PASS) install)
34978 @endif tk
34980 .PHONY: install-strip-tk maybe-install-strip-tk
34981 maybe-install-strip-tk:
34982 @if tk
34983 maybe-install-strip-tk: install-strip-tk
34985 install-strip-tk: installdirs
34986 @: $(MAKE); $(unstage)
34987 @r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 $(HOST_EXPORTS) \
34990 (cd $(HOST_SUBDIR)/tk && \
34991 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34993 @endif tk
34995 # Other targets (info, dvi, pdf, etc.)
34997 .PHONY: maybe-info-tk info-tk
34998 maybe-info-tk:
34999 @if tk
35000 maybe-info-tk: info-tk
35002 info-tk: \
35003 configure-tk
35004 @: $(MAKE); $(unstage)
35005 @[ -f ./tk/Makefile ] || exit 0; \
35006 r=`${PWD_COMMAND}`; export r; \
35007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35008 $(HOST_EXPORTS) \
35009 for flag in $(EXTRA_HOST_FLAGS) ; do \
35010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35011 done; \
35012 echo "Doing info in tk"; \
35013 (cd $(HOST_SUBDIR)/tk && \
35014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35016 "RANLIB=$${RANLIB}" \
35017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35018 info) \
35019 || exit 1
35021 @endif tk
35023 .PHONY: maybe-dvi-tk dvi-tk
35024 maybe-dvi-tk:
35025 @if tk
35026 maybe-dvi-tk: dvi-tk
35028 dvi-tk: \
35029 configure-tk
35030 @: $(MAKE); $(unstage)
35031 @[ -f ./tk/Makefile ] || exit 0; \
35032 r=`${PWD_COMMAND}`; export r; \
35033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35034 $(HOST_EXPORTS) \
35035 for flag in $(EXTRA_HOST_FLAGS) ; do \
35036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35037 done; \
35038 echo "Doing dvi in tk"; \
35039 (cd $(HOST_SUBDIR)/tk && \
35040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35042 "RANLIB=$${RANLIB}" \
35043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35044 dvi) \
35045 || exit 1
35047 @endif tk
35049 .PHONY: maybe-pdf-tk pdf-tk
35050 maybe-pdf-tk:
35051 @if tk
35052 maybe-pdf-tk: pdf-tk
35054 pdf-tk: \
35055 configure-tk
35056 @: $(MAKE); $(unstage)
35057 @[ -f ./tk/Makefile ] || exit 0; \
35058 r=`${PWD_COMMAND}`; export r; \
35059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35060 $(HOST_EXPORTS) \
35061 for flag in $(EXTRA_HOST_FLAGS) ; do \
35062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35063 done; \
35064 echo "Doing pdf in tk"; \
35065 (cd $(HOST_SUBDIR)/tk && \
35066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35068 "RANLIB=$${RANLIB}" \
35069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35070 pdf) \
35071 || exit 1
35073 @endif tk
35075 .PHONY: maybe-html-tk html-tk
35076 maybe-html-tk:
35077 @if tk
35078 maybe-html-tk: html-tk
35080 html-tk: \
35081 configure-tk
35082 @: $(MAKE); $(unstage)
35083 @[ -f ./tk/Makefile ] || exit 0; \
35084 r=`${PWD_COMMAND}`; export r; \
35085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35086 $(HOST_EXPORTS) \
35087 for flag in $(EXTRA_HOST_FLAGS) ; do \
35088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35089 done; \
35090 echo "Doing html in tk"; \
35091 (cd $(HOST_SUBDIR)/tk && \
35092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35094 "RANLIB=$${RANLIB}" \
35095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35096 html) \
35097 || exit 1
35099 @endif tk
35101 .PHONY: maybe-TAGS-tk TAGS-tk
35102 maybe-TAGS-tk:
35103 @if tk
35104 maybe-TAGS-tk: TAGS-tk
35106 TAGS-tk: \
35107 configure-tk
35108 @: $(MAKE); $(unstage)
35109 @[ -f ./tk/Makefile ] || exit 0; \
35110 r=`${PWD_COMMAND}`; export r; \
35111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35112 $(HOST_EXPORTS) \
35113 for flag in $(EXTRA_HOST_FLAGS) ; do \
35114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35115 done; \
35116 echo "Doing TAGS in tk"; \
35117 (cd $(HOST_SUBDIR)/tk && \
35118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35120 "RANLIB=$${RANLIB}" \
35121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35122 TAGS) \
35123 || exit 1
35125 @endif tk
35127 .PHONY: maybe-install-info-tk install-info-tk
35128 maybe-install-info-tk:
35129 @if tk
35130 maybe-install-info-tk: install-info-tk
35132 install-info-tk: \
35133 configure-tk \
35134 info-tk
35135 @: $(MAKE); $(unstage)
35136 @[ -f ./tk/Makefile ] || exit 0; \
35137 r=`${PWD_COMMAND}`; export r; \
35138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35139 $(HOST_EXPORTS) \
35140 for flag in $(EXTRA_HOST_FLAGS) ; do \
35141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35142 done; \
35143 echo "Doing install-info in tk"; \
35144 (cd $(HOST_SUBDIR)/tk && \
35145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35147 "RANLIB=$${RANLIB}" \
35148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35149 install-info) \
35150 || exit 1
35152 @endif tk
35154 .PHONY: maybe-install-pdf-tk install-pdf-tk
35155 maybe-install-pdf-tk:
35156 @if tk
35157 maybe-install-pdf-tk: install-pdf-tk
35159 install-pdf-tk: \
35160 configure-tk \
35161 pdf-tk
35162 @: $(MAKE); $(unstage)
35163 @[ -f ./tk/Makefile ] || exit 0; \
35164 r=`${PWD_COMMAND}`; export r; \
35165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35166 $(HOST_EXPORTS) \
35167 for flag in $(EXTRA_HOST_FLAGS) ; do \
35168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35169 done; \
35170 echo "Doing install-pdf in tk"; \
35171 (cd $(HOST_SUBDIR)/tk && \
35172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35174 "RANLIB=$${RANLIB}" \
35175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35176 install-pdf) \
35177 || exit 1
35179 @endif tk
35181 .PHONY: maybe-install-html-tk install-html-tk
35182 maybe-install-html-tk:
35183 @if tk
35184 maybe-install-html-tk: install-html-tk
35186 install-html-tk: \
35187 configure-tk \
35188 html-tk
35189 @: $(MAKE); $(unstage)
35190 @[ -f ./tk/Makefile ] || exit 0; \
35191 r=`${PWD_COMMAND}`; export r; \
35192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35193 $(HOST_EXPORTS) \
35194 for flag in $(EXTRA_HOST_FLAGS) ; do \
35195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35196 done; \
35197 echo "Doing install-html in tk"; \
35198 (cd $(HOST_SUBDIR)/tk && \
35199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35201 "RANLIB=$${RANLIB}" \
35202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35203 install-html) \
35204 || exit 1
35206 @endif tk
35208 .PHONY: maybe-installcheck-tk installcheck-tk
35209 maybe-installcheck-tk:
35210 @if tk
35211 maybe-installcheck-tk: installcheck-tk
35213 installcheck-tk: \
35214 configure-tk
35215 @: $(MAKE); $(unstage)
35216 @[ -f ./tk/Makefile ] || exit 0; \
35217 r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(HOST_EXPORTS) \
35220 for flag in $(EXTRA_HOST_FLAGS) ; do \
35221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35222 done; \
35223 echo "Doing installcheck in tk"; \
35224 (cd $(HOST_SUBDIR)/tk && \
35225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35227 "RANLIB=$${RANLIB}" \
35228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35229 installcheck) \
35230 || exit 1
35232 @endif tk
35234 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
35235 maybe-mostlyclean-tk:
35236 @if tk
35237 maybe-mostlyclean-tk: mostlyclean-tk
35239 mostlyclean-tk:
35240 @: $(MAKE); $(unstage)
35241 @[ -f ./tk/Makefile ] || exit 0; \
35242 r=`${PWD_COMMAND}`; export r; \
35243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35244 $(HOST_EXPORTS) \
35245 for flag in $(EXTRA_HOST_FLAGS) ; do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35247 done; \
35248 echo "Doing mostlyclean in tk"; \
35249 (cd $(HOST_SUBDIR)/tk && \
35250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35252 "RANLIB=$${RANLIB}" \
35253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35254 mostlyclean) \
35255 || exit 1
35257 @endif tk
35259 .PHONY: maybe-clean-tk clean-tk
35260 maybe-clean-tk:
35261 @if tk
35262 maybe-clean-tk: clean-tk
35264 clean-tk:
35265 @: $(MAKE); $(unstage)
35266 @[ -f ./tk/Makefile ] || exit 0; \
35267 r=`${PWD_COMMAND}`; export r; \
35268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35269 $(HOST_EXPORTS) \
35270 for flag in $(EXTRA_HOST_FLAGS) ; do \
35271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35272 done; \
35273 echo "Doing clean in tk"; \
35274 (cd $(HOST_SUBDIR)/tk && \
35275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35277 "RANLIB=$${RANLIB}" \
35278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35279 clean) \
35280 || exit 1
35282 @endif tk
35284 .PHONY: maybe-distclean-tk distclean-tk
35285 maybe-distclean-tk:
35286 @if tk
35287 maybe-distclean-tk: distclean-tk
35289 distclean-tk:
35290 @: $(MAKE); $(unstage)
35291 @[ -f ./tk/Makefile ] || exit 0; \
35292 r=`${PWD_COMMAND}`; export r; \
35293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35294 $(HOST_EXPORTS) \
35295 for flag in $(EXTRA_HOST_FLAGS) ; do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 echo "Doing distclean in tk"; \
35299 (cd $(HOST_SUBDIR)/tk && \
35300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35302 "RANLIB=$${RANLIB}" \
35303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35304 distclean) \
35305 || exit 1
35307 @endif tk
35309 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
35310 maybe-maintainer-clean-tk:
35311 @if tk
35312 maybe-maintainer-clean-tk: maintainer-clean-tk
35314 maintainer-clean-tk:
35315 @: $(MAKE); $(unstage)
35316 @[ -f ./tk/Makefile ] || exit 0; \
35317 r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(HOST_EXPORTS) \
35320 for flag in $(EXTRA_HOST_FLAGS) ; do \
35321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35322 done; \
35323 echo "Doing maintainer-clean in tk"; \
35324 (cd $(HOST_SUBDIR)/tk && \
35325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35327 "RANLIB=$${RANLIB}" \
35328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35329 maintainer-clean) \
35330 || exit 1
35332 @endif tk
35336 .PHONY: configure-libtermcap maybe-configure-libtermcap
35337 maybe-configure-libtermcap:
35338 @if gcc-bootstrap
35339 configure-libtermcap: stage_current
35340 @endif gcc-bootstrap
35341 @if libtermcap
35342 maybe-configure-libtermcap: configure-libtermcap
35343 configure-libtermcap:
35344 @: $(MAKE); $(unstage)
35345 @r=`${PWD_COMMAND}`; export r; \
35346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35347 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
35348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
35349 $(HOST_EXPORTS) \
35350 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
35351 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
35352 case $(srcdir) in \
35353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35354 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
35355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35356 esac; \
35357 module_srcdir=libtermcap; \
35358 $(SHELL) \
35359 $$s/$$module_srcdir/configure \
35360 --srcdir=$${topdir}/$$module_srcdir \
35361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35362 --target=${target_alias} \
35363 || exit 1
35364 @endif libtermcap
35370 .PHONY: all-libtermcap maybe-all-libtermcap
35371 maybe-all-libtermcap:
35372 @if gcc-bootstrap
35373 all-libtermcap: stage_current
35374 @endif gcc-bootstrap
35375 @if libtermcap
35376 TARGET-libtermcap=all
35377 maybe-all-libtermcap: all-libtermcap
35378 all-libtermcap: configure-libtermcap
35379 @: $(MAKE); $(unstage)
35380 @r=`${PWD_COMMAND}`; export r; \
35381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35382 $(HOST_EXPORTS) \
35383 (cd $(HOST_SUBDIR)/libtermcap && \
35384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35385 $(TARGET-libtermcap))
35386 @endif libtermcap
35391 .PHONY: check-libtermcap maybe-check-libtermcap
35392 maybe-check-libtermcap:
35393 @if libtermcap
35394 maybe-check-libtermcap: check-libtermcap
35396 check-libtermcap:
35398 @endif libtermcap
35400 .PHONY: install-libtermcap maybe-install-libtermcap
35401 maybe-install-libtermcap:
35402 @if libtermcap
35403 maybe-install-libtermcap: install-libtermcap
35405 install-libtermcap: installdirs
35406 @: $(MAKE); $(unstage)
35407 @r=`${PWD_COMMAND}`; export r; \
35408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35409 $(HOST_EXPORTS) \
35410 (cd $(HOST_SUBDIR)/libtermcap && \
35411 $(MAKE) $(FLAGS_TO_PASS) install)
35413 @endif libtermcap
35415 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
35416 maybe-install-strip-libtermcap:
35417 @if libtermcap
35418 maybe-install-strip-libtermcap: install-strip-libtermcap
35420 install-strip-libtermcap: installdirs
35421 @: $(MAKE); $(unstage)
35422 @r=`${PWD_COMMAND}`; export r; \
35423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35424 $(HOST_EXPORTS) \
35425 (cd $(HOST_SUBDIR)/libtermcap && \
35426 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35428 @endif libtermcap
35430 # Other targets (info, dvi, pdf, etc.)
35432 .PHONY: maybe-info-libtermcap info-libtermcap
35433 maybe-info-libtermcap:
35434 @if libtermcap
35435 maybe-info-libtermcap: info-libtermcap
35437 info-libtermcap: \
35438 configure-libtermcap
35439 @: $(MAKE); $(unstage)
35440 @[ -f ./libtermcap/Makefile ] || exit 0; \
35441 r=`${PWD_COMMAND}`; export r; \
35442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35443 $(HOST_EXPORTS) \
35444 for flag in $(EXTRA_HOST_FLAGS) ; do \
35445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35446 done; \
35447 echo "Doing info in libtermcap"; \
35448 (cd $(HOST_SUBDIR)/libtermcap && \
35449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35451 "RANLIB=$${RANLIB}" \
35452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35453 info) \
35454 || exit 1
35456 @endif libtermcap
35458 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
35459 maybe-dvi-libtermcap:
35460 @if libtermcap
35461 maybe-dvi-libtermcap: dvi-libtermcap
35463 dvi-libtermcap: \
35464 configure-libtermcap
35465 @: $(MAKE); $(unstage)
35466 @[ -f ./libtermcap/Makefile ] || exit 0; \
35467 r=`${PWD_COMMAND}`; export r; \
35468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35469 $(HOST_EXPORTS) \
35470 for flag in $(EXTRA_HOST_FLAGS) ; do \
35471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35472 done; \
35473 echo "Doing dvi in libtermcap"; \
35474 (cd $(HOST_SUBDIR)/libtermcap && \
35475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35477 "RANLIB=$${RANLIB}" \
35478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35479 dvi) \
35480 || exit 1
35482 @endif libtermcap
35484 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
35485 maybe-pdf-libtermcap:
35486 @if libtermcap
35487 maybe-pdf-libtermcap: pdf-libtermcap
35489 pdf-libtermcap: \
35490 configure-libtermcap
35491 @: $(MAKE); $(unstage)
35492 @[ -f ./libtermcap/Makefile ] || exit 0; \
35493 r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(HOST_EXPORTS) \
35496 for flag in $(EXTRA_HOST_FLAGS) ; do \
35497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35498 done; \
35499 echo "Doing pdf in libtermcap"; \
35500 (cd $(HOST_SUBDIR)/libtermcap && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35503 "RANLIB=$${RANLIB}" \
35504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35505 pdf) \
35506 || exit 1
35508 @endif libtermcap
35510 .PHONY: maybe-html-libtermcap html-libtermcap
35511 maybe-html-libtermcap:
35512 @if libtermcap
35513 maybe-html-libtermcap: html-libtermcap
35515 html-libtermcap: \
35516 configure-libtermcap
35517 @: $(MAKE); $(unstage)
35518 @[ -f ./libtermcap/Makefile ] || exit 0; \
35519 r=`${PWD_COMMAND}`; export r; \
35520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35521 $(HOST_EXPORTS) \
35522 for flag in $(EXTRA_HOST_FLAGS) ; do \
35523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35524 done; \
35525 echo "Doing html in libtermcap"; \
35526 (cd $(HOST_SUBDIR)/libtermcap && \
35527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35529 "RANLIB=$${RANLIB}" \
35530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35531 html) \
35532 || exit 1
35534 @endif libtermcap
35536 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
35537 maybe-TAGS-libtermcap:
35538 @if libtermcap
35539 maybe-TAGS-libtermcap: TAGS-libtermcap
35541 TAGS-libtermcap: \
35542 configure-libtermcap
35543 @: $(MAKE); $(unstage)
35544 @[ -f ./libtermcap/Makefile ] || exit 0; \
35545 r=`${PWD_COMMAND}`; export r; \
35546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35547 $(HOST_EXPORTS) \
35548 for flag in $(EXTRA_HOST_FLAGS) ; do \
35549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35550 done; \
35551 echo "Doing TAGS in libtermcap"; \
35552 (cd $(HOST_SUBDIR)/libtermcap && \
35553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35555 "RANLIB=$${RANLIB}" \
35556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35557 TAGS) \
35558 || exit 1
35560 @endif libtermcap
35562 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
35563 maybe-install-info-libtermcap:
35564 @if libtermcap
35565 maybe-install-info-libtermcap: install-info-libtermcap
35567 install-info-libtermcap: \
35568 configure-libtermcap \
35569 info-libtermcap
35570 @: $(MAKE); $(unstage)
35571 @[ -f ./libtermcap/Makefile ] || exit 0; \
35572 r=`${PWD_COMMAND}`; export r; \
35573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35574 $(HOST_EXPORTS) \
35575 for flag in $(EXTRA_HOST_FLAGS) ; do \
35576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35577 done; \
35578 echo "Doing install-info in libtermcap"; \
35579 (cd $(HOST_SUBDIR)/libtermcap && \
35580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35582 "RANLIB=$${RANLIB}" \
35583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35584 install-info) \
35585 || exit 1
35587 @endif libtermcap
35589 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
35590 maybe-install-pdf-libtermcap:
35591 @if libtermcap
35592 maybe-install-pdf-libtermcap: install-pdf-libtermcap
35594 install-pdf-libtermcap: \
35595 configure-libtermcap \
35596 pdf-libtermcap
35597 @: $(MAKE); $(unstage)
35598 @[ -f ./libtermcap/Makefile ] || exit 0; \
35599 r=`${PWD_COMMAND}`; export r; \
35600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35601 $(HOST_EXPORTS) \
35602 for flag in $(EXTRA_HOST_FLAGS) ; do \
35603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35604 done; \
35605 echo "Doing install-pdf in libtermcap"; \
35606 (cd $(HOST_SUBDIR)/libtermcap && \
35607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35609 "RANLIB=$${RANLIB}" \
35610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35611 install-pdf) \
35612 || exit 1
35614 @endif libtermcap
35616 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
35617 maybe-install-html-libtermcap:
35618 @if libtermcap
35619 maybe-install-html-libtermcap: install-html-libtermcap
35621 install-html-libtermcap: \
35622 configure-libtermcap \
35623 html-libtermcap
35624 @: $(MAKE); $(unstage)
35625 @[ -f ./libtermcap/Makefile ] || exit 0; \
35626 r=`${PWD_COMMAND}`; export r; \
35627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35628 $(HOST_EXPORTS) \
35629 for flag in $(EXTRA_HOST_FLAGS) ; do \
35630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35631 done; \
35632 echo "Doing install-html in libtermcap"; \
35633 (cd $(HOST_SUBDIR)/libtermcap && \
35634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35636 "RANLIB=$${RANLIB}" \
35637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35638 install-html) \
35639 || exit 1
35641 @endif libtermcap
35643 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
35644 maybe-installcheck-libtermcap:
35645 @if libtermcap
35646 maybe-installcheck-libtermcap: installcheck-libtermcap
35648 installcheck-libtermcap: \
35649 configure-libtermcap
35650 @: $(MAKE); $(unstage)
35651 @[ -f ./libtermcap/Makefile ] || exit 0; \
35652 r=`${PWD_COMMAND}`; export r; \
35653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35654 $(HOST_EXPORTS) \
35655 for flag in $(EXTRA_HOST_FLAGS) ; do \
35656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35657 done; \
35658 echo "Doing installcheck in libtermcap"; \
35659 (cd $(HOST_SUBDIR)/libtermcap && \
35660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35662 "RANLIB=$${RANLIB}" \
35663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35664 installcheck) \
35665 || exit 1
35667 @endif libtermcap
35669 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
35670 maybe-mostlyclean-libtermcap:
35671 @if libtermcap
35672 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
35674 # libtermcap doesn't support mostlyclean.
35675 mostlyclean-libtermcap:
35677 @endif libtermcap
35679 .PHONY: maybe-clean-libtermcap clean-libtermcap
35680 maybe-clean-libtermcap:
35681 @if libtermcap
35682 maybe-clean-libtermcap: clean-libtermcap
35684 # libtermcap doesn't support clean.
35685 clean-libtermcap:
35687 @endif libtermcap
35689 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
35690 maybe-distclean-libtermcap:
35691 @if libtermcap
35692 maybe-distclean-libtermcap: distclean-libtermcap
35694 # libtermcap doesn't support distclean.
35695 distclean-libtermcap:
35697 @endif libtermcap
35699 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35700 maybe-maintainer-clean-libtermcap:
35701 @if libtermcap
35702 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35704 # libtermcap doesn't support maintainer-clean.
35705 maintainer-clean-libtermcap:
35707 @endif libtermcap
35711 .PHONY: configure-utils maybe-configure-utils
35712 maybe-configure-utils:
35713 @if gcc-bootstrap
35714 configure-utils: stage_current
35715 @endif gcc-bootstrap
35716 @if utils
35717 maybe-configure-utils: configure-utils
35718 configure-utils:
35719 @: $(MAKE); $(unstage)
35720 @r=`${PWD_COMMAND}`; export r; \
35721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35722 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35724 $(HOST_EXPORTS) \
35725 echo Configuring in $(HOST_SUBDIR)/utils; \
35726 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35727 case $(srcdir) in \
35728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35729 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35731 esac; \
35732 module_srcdir=utils; \
35733 $(SHELL) \
35734 $$s/$$module_srcdir/configure \
35735 --srcdir=$${topdir}/$$module_srcdir \
35736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35737 --target=${target_alias} \
35738 || exit 1
35739 @endif utils
35745 .PHONY: all-utils maybe-all-utils
35746 maybe-all-utils:
35747 @if gcc-bootstrap
35748 all-utils: stage_current
35749 @endif gcc-bootstrap
35750 @if utils
35751 TARGET-utils=all
35752 maybe-all-utils: all-utils
35753 all-utils: configure-utils
35754 @: $(MAKE); $(unstage)
35755 @r=`${PWD_COMMAND}`; export r; \
35756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35757 $(HOST_EXPORTS) \
35758 (cd $(HOST_SUBDIR)/utils && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35760 $(TARGET-utils))
35761 @endif utils
35766 .PHONY: check-utils maybe-check-utils
35767 maybe-check-utils:
35768 @if utils
35769 maybe-check-utils: check-utils
35771 check-utils:
35773 @endif utils
35775 .PHONY: install-utils maybe-install-utils
35776 maybe-install-utils:
35777 @if utils
35778 maybe-install-utils: install-utils
35780 install-utils: installdirs
35781 @: $(MAKE); $(unstage)
35782 @r=`${PWD_COMMAND}`; export r; \
35783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35784 $(HOST_EXPORTS) \
35785 (cd $(HOST_SUBDIR)/utils && \
35786 $(MAKE) $(FLAGS_TO_PASS) install)
35788 @endif utils
35790 .PHONY: install-strip-utils maybe-install-strip-utils
35791 maybe-install-strip-utils:
35792 @if utils
35793 maybe-install-strip-utils: install-strip-utils
35795 install-strip-utils: installdirs
35796 @: $(MAKE); $(unstage)
35797 @r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 $(HOST_EXPORTS) \
35800 (cd $(HOST_SUBDIR)/utils && \
35801 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35803 @endif utils
35805 # Other targets (info, dvi, pdf, etc.)
35807 .PHONY: maybe-info-utils info-utils
35808 maybe-info-utils:
35809 @if utils
35810 maybe-info-utils: info-utils
35812 info-utils: \
35813 configure-utils
35814 @: $(MAKE); $(unstage)
35815 @[ -f ./utils/Makefile ] || exit 0; \
35816 r=`${PWD_COMMAND}`; export r; \
35817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35818 $(HOST_EXPORTS) \
35819 for flag in $(EXTRA_HOST_FLAGS) ; do \
35820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35821 done; \
35822 echo "Doing info in utils"; \
35823 (cd $(HOST_SUBDIR)/utils && \
35824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35826 "RANLIB=$${RANLIB}" \
35827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35828 info) \
35829 || exit 1
35831 @endif utils
35833 .PHONY: maybe-dvi-utils dvi-utils
35834 maybe-dvi-utils:
35835 @if utils
35836 maybe-dvi-utils: dvi-utils
35838 dvi-utils: \
35839 configure-utils
35840 @: $(MAKE); $(unstage)
35841 @[ -f ./utils/Makefile ] || exit 0; \
35842 r=`${PWD_COMMAND}`; export r; \
35843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35844 $(HOST_EXPORTS) \
35845 for flag in $(EXTRA_HOST_FLAGS) ; do \
35846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35847 done; \
35848 echo "Doing dvi in utils"; \
35849 (cd $(HOST_SUBDIR)/utils && \
35850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35852 "RANLIB=$${RANLIB}" \
35853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35854 dvi) \
35855 || exit 1
35857 @endif utils
35859 .PHONY: maybe-pdf-utils pdf-utils
35860 maybe-pdf-utils:
35861 @if utils
35862 maybe-pdf-utils: pdf-utils
35864 pdf-utils: \
35865 configure-utils
35866 @: $(MAKE); $(unstage)
35867 @[ -f ./utils/Makefile ] || exit 0; \
35868 r=`${PWD_COMMAND}`; export r; \
35869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35870 $(HOST_EXPORTS) \
35871 for flag in $(EXTRA_HOST_FLAGS) ; do \
35872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35873 done; \
35874 echo "Doing pdf in utils"; \
35875 (cd $(HOST_SUBDIR)/utils && \
35876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35878 "RANLIB=$${RANLIB}" \
35879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35880 pdf) \
35881 || exit 1
35883 @endif utils
35885 .PHONY: maybe-html-utils html-utils
35886 maybe-html-utils:
35887 @if utils
35888 maybe-html-utils: html-utils
35890 html-utils: \
35891 configure-utils
35892 @: $(MAKE); $(unstage)
35893 @[ -f ./utils/Makefile ] || exit 0; \
35894 r=`${PWD_COMMAND}`; export r; \
35895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35896 $(HOST_EXPORTS) \
35897 for flag in $(EXTRA_HOST_FLAGS) ; do \
35898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35899 done; \
35900 echo "Doing html in utils"; \
35901 (cd $(HOST_SUBDIR)/utils && \
35902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35904 "RANLIB=$${RANLIB}" \
35905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35906 html) \
35907 || exit 1
35909 @endif utils
35911 .PHONY: maybe-TAGS-utils TAGS-utils
35912 maybe-TAGS-utils:
35913 @if utils
35914 maybe-TAGS-utils: TAGS-utils
35916 TAGS-utils: \
35917 configure-utils
35918 @: $(MAKE); $(unstage)
35919 @[ -f ./utils/Makefile ] || exit 0; \
35920 r=`${PWD_COMMAND}`; export r; \
35921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35922 $(HOST_EXPORTS) \
35923 for flag in $(EXTRA_HOST_FLAGS) ; do \
35924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35925 done; \
35926 echo "Doing TAGS in utils"; \
35927 (cd $(HOST_SUBDIR)/utils && \
35928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35930 "RANLIB=$${RANLIB}" \
35931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35932 TAGS) \
35933 || exit 1
35935 @endif utils
35937 .PHONY: maybe-install-info-utils install-info-utils
35938 maybe-install-info-utils:
35939 @if utils
35940 maybe-install-info-utils: install-info-utils
35942 install-info-utils: \
35943 configure-utils \
35944 info-utils
35945 @: $(MAKE); $(unstage)
35946 @[ -f ./utils/Makefile ] || exit 0; \
35947 r=`${PWD_COMMAND}`; export r; \
35948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35949 $(HOST_EXPORTS) \
35950 for flag in $(EXTRA_HOST_FLAGS) ; do \
35951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35952 done; \
35953 echo "Doing install-info in utils"; \
35954 (cd $(HOST_SUBDIR)/utils && \
35955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35957 "RANLIB=$${RANLIB}" \
35958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35959 install-info) \
35960 || exit 1
35962 @endif utils
35964 .PHONY: maybe-install-pdf-utils install-pdf-utils
35965 maybe-install-pdf-utils:
35966 @if utils
35967 maybe-install-pdf-utils: install-pdf-utils
35969 install-pdf-utils: \
35970 configure-utils \
35971 pdf-utils
35972 @: $(MAKE); $(unstage)
35973 @[ -f ./utils/Makefile ] || exit 0; \
35974 r=`${PWD_COMMAND}`; export r; \
35975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35976 $(HOST_EXPORTS) \
35977 for flag in $(EXTRA_HOST_FLAGS) ; do \
35978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35979 done; \
35980 echo "Doing install-pdf in utils"; \
35981 (cd $(HOST_SUBDIR)/utils && \
35982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35984 "RANLIB=$${RANLIB}" \
35985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35986 install-pdf) \
35987 || exit 1
35989 @endif utils
35991 .PHONY: maybe-install-html-utils install-html-utils
35992 maybe-install-html-utils:
35993 @if utils
35994 maybe-install-html-utils: install-html-utils
35996 install-html-utils: \
35997 configure-utils \
35998 html-utils
35999 @: $(MAKE); $(unstage)
36000 @[ -f ./utils/Makefile ] || exit 0; \
36001 r=`${PWD_COMMAND}`; export r; \
36002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36003 $(HOST_EXPORTS) \
36004 for flag in $(EXTRA_HOST_FLAGS) ; do \
36005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36006 done; \
36007 echo "Doing install-html in utils"; \
36008 (cd $(HOST_SUBDIR)/utils && \
36009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36011 "RANLIB=$${RANLIB}" \
36012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36013 install-html) \
36014 || exit 1
36016 @endif utils
36018 .PHONY: maybe-installcheck-utils installcheck-utils
36019 maybe-installcheck-utils:
36020 @if utils
36021 maybe-installcheck-utils: installcheck-utils
36023 installcheck-utils: \
36024 configure-utils
36025 @: $(MAKE); $(unstage)
36026 @[ -f ./utils/Makefile ] || exit 0; \
36027 r=`${PWD_COMMAND}`; export r; \
36028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36029 $(HOST_EXPORTS) \
36030 for flag in $(EXTRA_HOST_FLAGS) ; do \
36031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36032 done; \
36033 echo "Doing installcheck in utils"; \
36034 (cd $(HOST_SUBDIR)/utils && \
36035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36037 "RANLIB=$${RANLIB}" \
36038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36039 installcheck) \
36040 || exit 1
36042 @endif utils
36044 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
36045 maybe-mostlyclean-utils:
36046 @if utils
36047 maybe-mostlyclean-utils: mostlyclean-utils
36049 mostlyclean-utils:
36050 @: $(MAKE); $(unstage)
36051 @[ -f ./utils/Makefile ] || exit 0; \
36052 r=`${PWD_COMMAND}`; export r; \
36053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36054 $(HOST_EXPORTS) \
36055 for flag in $(EXTRA_HOST_FLAGS) ; do \
36056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36057 done; \
36058 echo "Doing mostlyclean in utils"; \
36059 (cd $(HOST_SUBDIR)/utils && \
36060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36062 "RANLIB=$${RANLIB}" \
36063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36064 mostlyclean) \
36065 || exit 1
36067 @endif utils
36069 .PHONY: maybe-clean-utils clean-utils
36070 maybe-clean-utils:
36071 @if utils
36072 maybe-clean-utils: clean-utils
36074 clean-utils:
36075 @: $(MAKE); $(unstage)
36076 @[ -f ./utils/Makefile ] || exit 0; \
36077 r=`${PWD_COMMAND}`; export r; \
36078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36079 $(HOST_EXPORTS) \
36080 for flag in $(EXTRA_HOST_FLAGS) ; do \
36081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36082 done; \
36083 echo "Doing clean in utils"; \
36084 (cd $(HOST_SUBDIR)/utils && \
36085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36087 "RANLIB=$${RANLIB}" \
36088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36089 clean) \
36090 || exit 1
36092 @endif utils
36094 .PHONY: maybe-distclean-utils distclean-utils
36095 maybe-distclean-utils:
36096 @if utils
36097 maybe-distclean-utils: distclean-utils
36099 distclean-utils:
36100 @: $(MAKE); $(unstage)
36101 @[ -f ./utils/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 distclean in utils"; \
36109 (cd $(HOST_SUBDIR)/utils && \
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 distclean) \
36115 || exit 1
36117 @endif utils
36119 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
36120 maybe-maintainer-clean-utils:
36121 @if utils
36122 maybe-maintainer-clean-utils: maintainer-clean-utils
36124 maintainer-clean-utils:
36125 @: $(MAKE); $(unstage)
36126 @[ -f ./utils/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 maintainer-clean in utils"; \
36134 (cd $(HOST_SUBDIR)/utils && \
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 maintainer-clean) \
36140 || exit 1
36142 @endif utils
36146 .PHONY: configure-gnattools maybe-configure-gnattools
36147 maybe-configure-gnattools:
36148 @if gcc-bootstrap
36149 configure-gnattools: stage_current
36150 @endif gcc-bootstrap
36151 @if gnattools
36152 maybe-configure-gnattools: configure-gnattools
36153 configure-gnattools:
36154 @: $(MAKE); $(unstage)
36155 @r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
36158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
36159 $(HOST_EXPORTS) \
36160 echo Configuring in $(HOST_SUBDIR)/gnattools; \
36161 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
36162 case $(srcdir) in \
36163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36164 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
36165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36166 esac; \
36167 module_srcdir=gnattools; \
36168 $(SHELL) \
36169 $$s/$$module_srcdir/configure \
36170 --srcdir=$${topdir}/$$module_srcdir \
36171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36172 --target=${target_alias} \
36173 || exit 1
36174 @endif gnattools
36180 .PHONY: all-gnattools maybe-all-gnattools
36181 maybe-all-gnattools:
36182 @if gcc-bootstrap
36183 all-gnattools: stage_current
36184 @endif gcc-bootstrap
36185 @if gnattools
36186 TARGET-gnattools=all
36187 maybe-all-gnattools: all-gnattools
36188 all-gnattools: configure-gnattools
36189 @: $(MAKE); $(unstage)
36190 @r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(HOST_EXPORTS) \
36193 (cd $(HOST_SUBDIR)/gnattools && \
36194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36195 $(TARGET-gnattools))
36196 @endif gnattools
36201 .PHONY: check-gnattools maybe-check-gnattools
36202 maybe-check-gnattools:
36203 @if gnattools
36204 maybe-check-gnattools: check-gnattools
36206 check-gnattools:
36207 @: $(MAKE); $(unstage)
36208 @r=`${PWD_COMMAND}`; export r; \
36209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36210 $(HOST_EXPORTS) \
36211 (cd $(HOST_SUBDIR)/gnattools && \
36212 $(MAKE) $(FLAGS_TO_PASS) check)
36214 @endif gnattools
36216 .PHONY: install-gnattools maybe-install-gnattools
36217 maybe-install-gnattools:
36218 @if gnattools
36219 maybe-install-gnattools: install-gnattools
36221 install-gnattools: installdirs
36222 @: $(MAKE); $(unstage)
36223 @r=`${PWD_COMMAND}`; export r; \
36224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36225 $(HOST_EXPORTS) \
36226 (cd $(HOST_SUBDIR)/gnattools && \
36227 $(MAKE) $(FLAGS_TO_PASS) install)
36229 @endif gnattools
36231 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
36232 maybe-install-strip-gnattools:
36233 @if gnattools
36234 maybe-install-strip-gnattools: install-strip-gnattools
36236 install-strip-gnattools: installdirs
36237 @: $(MAKE); $(unstage)
36238 @r=`${PWD_COMMAND}`; export r; \
36239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36240 $(HOST_EXPORTS) \
36241 (cd $(HOST_SUBDIR)/gnattools && \
36242 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36244 @endif gnattools
36246 # Other targets (info, dvi, pdf, etc.)
36248 .PHONY: maybe-info-gnattools info-gnattools
36249 maybe-info-gnattools:
36250 @if gnattools
36251 maybe-info-gnattools: info-gnattools
36253 info-gnattools: \
36254 configure-gnattools
36255 @: $(MAKE); $(unstage)
36256 @[ -f ./gnattools/Makefile ] || exit 0; \
36257 r=`${PWD_COMMAND}`; export r; \
36258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36259 $(HOST_EXPORTS) \
36260 for flag in $(EXTRA_HOST_FLAGS) ; do \
36261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36262 done; \
36263 echo "Doing info in gnattools"; \
36264 (cd $(HOST_SUBDIR)/gnattools && \
36265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36267 "RANLIB=$${RANLIB}" \
36268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36269 info) \
36270 || exit 1
36272 @endif gnattools
36274 .PHONY: maybe-dvi-gnattools dvi-gnattools
36275 maybe-dvi-gnattools:
36276 @if gnattools
36277 maybe-dvi-gnattools: dvi-gnattools
36279 dvi-gnattools: \
36280 configure-gnattools
36281 @: $(MAKE); $(unstage)
36282 @[ -f ./gnattools/Makefile ] || exit 0; \
36283 r=`${PWD_COMMAND}`; export r; \
36284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36285 $(HOST_EXPORTS) \
36286 for flag in $(EXTRA_HOST_FLAGS) ; do \
36287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36288 done; \
36289 echo "Doing dvi in gnattools"; \
36290 (cd $(HOST_SUBDIR)/gnattools && \
36291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36293 "RANLIB=$${RANLIB}" \
36294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36295 dvi) \
36296 || exit 1
36298 @endif gnattools
36300 .PHONY: maybe-pdf-gnattools pdf-gnattools
36301 maybe-pdf-gnattools:
36302 @if gnattools
36303 maybe-pdf-gnattools: pdf-gnattools
36305 pdf-gnattools: \
36306 configure-gnattools
36307 @: $(MAKE); $(unstage)
36308 @[ -f ./gnattools/Makefile ] || exit 0; \
36309 r=`${PWD_COMMAND}`; export r; \
36310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36311 $(HOST_EXPORTS) \
36312 for flag in $(EXTRA_HOST_FLAGS) ; do \
36313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36314 done; \
36315 echo "Doing pdf in gnattools"; \
36316 (cd $(HOST_SUBDIR)/gnattools && \
36317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36319 "RANLIB=$${RANLIB}" \
36320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36321 pdf) \
36322 || exit 1
36324 @endif gnattools
36326 .PHONY: maybe-html-gnattools html-gnattools
36327 maybe-html-gnattools:
36328 @if gnattools
36329 maybe-html-gnattools: html-gnattools
36331 html-gnattools: \
36332 configure-gnattools
36333 @: $(MAKE); $(unstage)
36334 @[ -f ./gnattools/Makefile ] || exit 0; \
36335 r=`${PWD_COMMAND}`; export r; \
36336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36337 $(HOST_EXPORTS) \
36338 for flag in $(EXTRA_HOST_FLAGS) ; do \
36339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36340 done; \
36341 echo "Doing html in gnattools"; \
36342 (cd $(HOST_SUBDIR)/gnattools && \
36343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36345 "RANLIB=$${RANLIB}" \
36346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36347 html) \
36348 || exit 1
36350 @endif gnattools
36352 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
36353 maybe-TAGS-gnattools:
36354 @if gnattools
36355 maybe-TAGS-gnattools: TAGS-gnattools
36357 TAGS-gnattools: \
36358 configure-gnattools
36359 @: $(MAKE); $(unstage)
36360 @[ -f ./gnattools/Makefile ] || exit 0; \
36361 r=`${PWD_COMMAND}`; export r; \
36362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36363 $(HOST_EXPORTS) \
36364 for flag in $(EXTRA_HOST_FLAGS) ; do \
36365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36366 done; \
36367 echo "Doing TAGS in gnattools"; \
36368 (cd $(HOST_SUBDIR)/gnattools && \
36369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36371 "RANLIB=$${RANLIB}" \
36372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36373 TAGS) \
36374 || exit 1
36376 @endif gnattools
36378 .PHONY: maybe-install-info-gnattools install-info-gnattools
36379 maybe-install-info-gnattools:
36380 @if gnattools
36381 maybe-install-info-gnattools: install-info-gnattools
36383 install-info-gnattools: \
36384 configure-gnattools \
36385 info-gnattools
36386 @: $(MAKE); $(unstage)
36387 @[ -f ./gnattools/Makefile ] || exit 0; \
36388 r=`${PWD_COMMAND}`; export r; \
36389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36390 $(HOST_EXPORTS) \
36391 for flag in $(EXTRA_HOST_FLAGS) ; do \
36392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36393 done; \
36394 echo "Doing install-info in gnattools"; \
36395 (cd $(HOST_SUBDIR)/gnattools && \
36396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36398 "RANLIB=$${RANLIB}" \
36399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36400 install-info) \
36401 || exit 1
36403 @endif gnattools
36405 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
36406 maybe-install-pdf-gnattools:
36407 @if gnattools
36408 maybe-install-pdf-gnattools: install-pdf-gnattools
36410 install-pdf-gnattools: \
36411 configure-gnattools \
36412 pdf-gnattools
36413 @: $(MAKE); $(unstage)
36414 @[ -f ./gnattools/Makefile ] || exit 0; \
36415 r=`${PWD_COMMAND}`; export r; \
36416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36417 $(HOST_EXPORTS) \
36418 for flag in $(EXTRA_HOST_FLAGS) ; do \
36419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36420 done; \
36421 echo "Doing install-pdf in gnattools"; \
36422 (cd $(HOST_SUBDIR)/gnattools && \
36423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36425 "RANLIB=$${RANLIB}" \
36426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36427 install-pdf) \
36428 || exit 1
36430 @endif gnattools
36432 .PHONY: maybe-install-html-gnattools install-html-gnattools
36433 maybe-install-html-gnattools:
36434 @if gnattools
36435 maybe-install-html-gnattools: install-html-gnattools
36437 install-html-gnattools: \
36438 configure-gnattools \
36439 html-gnattools
36440 @: $(MAKE); $(unstage)
36441 @[ -f ./gnattools/Makefile ] || exit 0; \
36442 r=`${PWD_COMMAND}`; export r; \
36443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36444 $(HOST_EXPORTS) \
36445 for flag in $(EXTRA_HOST_FLAGS) ; do \
36446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36447 done; \
36448 echo "Doing install-html in gnattools"; \
36449 (cd $(HOST_SUBDIR)/gnattools && \
36450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36452 "RANLIB=$${RANLIB}" \
36453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36454 install-html) \
36455 || exit 1
36457 @endif gnattools
36459 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
36460 maybe-installcheck-gnattools:
36461 @if gnattools
36462 maybe-installcheck-gnattools: installcheck-gnattools
36464 installcheck-gnattools: \
36465 configure-gnattools
36466 @: $(MAKE); $(unstage)
36467 @[ -f ./gnattools/Makefile ] || exit 0; \
36468 r=`${PWD_COMMAND}`; export r; \
36469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36470 $(HOST_EXPORTS) \
36471 for flag in $(EXTRA_HOST_FLAGS) ; do \
36472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36473 done; \
36474 echo "Doing installcheck in gnattools"; \
36475 (cd $(HOST_SUBDIR)/gnattools && \
36476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36478 "RANLIB=$${RANLIB}" \
36479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36480 installcheck) \
36481 || exit 1
36483 @endif gnattools
36485 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
36486 maybe-mostlyclean-gnattools:
36487 @if gnattools
36488 maybe-mostlyclean-gnattools: mostlyclean-gnattools
36490 mostlyclean-gnattools:
36491 @: $(MAKE); $(unstage)
36492 @[ -f ./gnattools/Makefile ] || exit 0; \
36493 r=`${PWD_COMMAND}`; export r; \
36494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36495 $(HOST_EXPORTS) \
36496 for flag in $(EXTRA_HOST_FLAGS) ; do \
36497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36498 done; \
36499 echo "Doing mostlyclean in gnattools"; \
36500 (cd $(HOST_SUBDIR)/gnattools && \
36501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36503 "RANLIB=$${RANLIB}" \
36504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36505 mostlyclean) \
36506 || exit 1
36508 @endif gnattools
36510 .PHONY: maybe-clean-gnattools clean-gnattools
36511 maybe-clean-gnattools:
36512 @if gnattools
36513 maybe-clean-gnattools: clean-gnattools
36515 clean-gnattools:
36516 @: $(MAKE); $(unstage)
36517 @[ -f ./gnattools/Makefile ] || exit 0; \
36518 r=`${PWD_COMMAND}`; export r; \
36519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36520 $(HOST_EXPORTS) \
36521 for flag in $(EXTRA_HOST_FLAGS) ; do \
36522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36523 done; \
36524 echo "Doing clean in gnattools"; \
36525 (cd $(HOST_SUBDIR)/gnattools && \
36526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36528 "RANLIB=$${RANLIB}" \
36529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36530 clean) \
36531 || exit 1
36533 @endif gnattools
36535 .PHONY: maybe-distclean-gnattools distclean-gnattools
36536 maybe-distclean-gnattools:
36537 @if gnattools
36538 maybe-distclean-gnattools: distclean-gnattools
36540 distclean-gnattools:
36541 @: $(MAKE); $(unstage)
36542 @[ -f ./gnattools/Makefile ] || exit 0; \
36543 r=`${PWD_COMMAND}`; export r; \
36544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36545 $(HOST_EXPORTS) \
36546 for flag in $(EXTRA_HOST_FLAGS) ; do \
36547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36548 done; \
36549 echo "Doing distclean in gnattools"; \
36550 (cd $(HOST_SUBDIR)/gnattools && \
36551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36553 "RANLIB=$${RANLIB}" \
36554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36555 distclean) \
36556 || exit 1
36558 @endif gnattools
36560 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
36561 maybe-maintainer-clean-gnattools:
36562 @if gnattools
36563 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
36565 maintainer-clean-gnattools:
36566 @: $(MAKE); $(unstage)
36567 @[ -f ./gnattools/Makefile ] || exit 0; \
36568 r=`${PWD_COMMAND}`; export r; \
36569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36570 $(HOST_EXPORTS) \
36571 for flag in $(EXTRA_HOST_FLAGS) ; do \
36572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36573 done; \
36574 echo "Doing maintainer-clean in gnattools"; \
36575 (cd $(HOST_SUBDIR)/gnattools && \
36576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36578 "RANLIB=$${RANLIB}" \
36579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36580 maintainer-clean) \
36581 || exit 1
36583 @endif gnattools
36587 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
36588 maybe-configure-lto-plugin:
36589 @if gcc-bootstrap
36590 configure-lto-plugin: stage_current
36591 @endif gcc-bootstrap
36592 @if lto-plugin
36593 maybe-configure-lto-plugin: configure-lto-plugin
36594 configure-lto-plugin:
36595 @r=`${PWD_COMMAND}`; export r; \
36596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36597 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36599 $(HOST_EXPORTS) \
36600 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
36601 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
36602 case $(srcdir) in \
36603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36604 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36606 esac; \
36607 module_srcdir=lto-plugin; \
36608 $(SHELL) \
36609 $$s/$$module_srcdir/configure \
36610 --srcdir=$${topdir}/$$module_srcdir \
36611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36612 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
36613 || exit 1
36614 @endif lto-plugin
36618 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
36619 maybe-configure-stage1-lto-plugin:
36620 @if lto-plugin-bootstrap
36621 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
36622 configure-stage1-lto-plugin:
36623 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36625 @r=`${PWD_COMMAND}`; export r; \
36626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36627 TFLAGS="$(STAGE1_TFLAGS)"; \
36628 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36629 $(HOST_EXPORTS) \
36630 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
36631 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
36632 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
36633 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
36634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36635 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36636 case $(srcdir) in \
36637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36638 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36640 esac; \
36641 module_srcdir=lto-plugin; \
36642 $(SHELL) $$s/$$module_srcdir/configure \
36643 --srcdir=$${topdir}/$$module_srcdir \
36644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36645 --target=${target_alias} \
36647 $(STAGE1_CONFIGURE_FLAGS) \
36648 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36649 @endif lto-plugin-bootstrap
36651 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
36652 maybe-configure-stage2-lto-plugin:
36653 @if lto-plugin-bootstrap
36654 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
36655 configure-stage2-lto-plugin:
36656 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36658 @r=`${PWD_COMMAND}`; export r; \
36659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36660 TFLAGS="$(STAGE2_TFLAGS)"; \
36661 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36662 $(HOST_EXPORTS) \
36663 $(POSTSTAGE1_HOST_EXPORTS) \
36664 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
36665 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
36666 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
36667 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
36668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36669 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36670 case $(srcdir) in \
36671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36672 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36674 esac; \
36675 module_srcdir=lto-plugin; \
36676 $(SHELL) $$s/$$module_srcdir/configure \
36677 --srcdir=$${topdir}/$$module_srcdir \
36678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36679 --target=${target_alias} \
36680 --with-build-libsubdir=$(HOST_SUBDIR) \
36681 $(STAGE2_CONFIGURE_FLAGS) \
36682 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36683 @endif lto-plugin-bootstrap
36685 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
36686 maybe-configure-stage3-lto-plugin:
36687 @if lto-plugin-bootstrap
36688 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
36689 configure-stage3-lto-plugin:
36690 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36692 @r=`${PWD_COMMAND}`; export r; \
36693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36694 TFLAGS="$(STAGE3_TFLAGS)"; \
36695 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36696 $(HOST_EXPORTS) \
36697 $(POSTSTAGE1_HOST_EXPORTS) \
36698 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36699 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36700 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36701 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36703 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36704 case $(srcdir) in \
36705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36706 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36708 esac; \
36709 module_srcdir=lto-plugin; \
36710 $(SHELL) $$s/$$module_srcdir/configure \
36711 --srcdir=$${topdir}/$$module_srcdir \
36712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36713 --target=${target_alias} \
36714 --with-build-libsubdir=$(HOST_SUBDIR) \
36715 $(STAGE3_CONFIGURE_FLAGS) \
36716 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36717 @endif lto-plugin-bootstrap
36719 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36720 maybe-configure-stage4-lto-plugin:
36721 @if lto-plugin-bootstrap
36722 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36723 configure-stage4-lto-plugin:
36724 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36726 @r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 TFLAGS="$(STAGE4_TFLAGS)"; \
36729 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36730 $(HOST_EXPORTS) \
36731 $(POSTSTAGE1_HOST_EXPORTS) \
36732 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36733 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36734 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36735 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36737 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36738 case $(srcdir) in \
36739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36740 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36742 esac; \
36743 module_srcdir=lto-plugin; \
36744 $(SHELL) $$s/$$module_srcdir/configure \
36745 --srcdir=$${topdir}/$$module_srcdir \
36746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36747 --target=${target_alias} \
36748 --with-build-libsubdir=$(HOST_SUBDIR) \
36749 $(STAGE4_CONFIGURE_FLAGS) \
36750 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36751 @endif lto-plugin-bootstrap
36753 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36754 maybe-configure-stageprofile-lto-plugin:
36755 @if lto-plugin-bootstrap
36756 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36757 configure-stageprofile-lto-plugin:
36758 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36760 @r=`${PWD_COMMAND}`; export r; \
36761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36762 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36763 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36764 $(HOST_EXPORTS) \
36765 $(POSTSTAGE1_HOST_EXPORTS) \
36766 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36767 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36768 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36769 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36771 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36772 case $(srcdir) in \
36773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36774 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36776 esac; \
36777 module_srcdir=lto-plugin; \
36778 $(SHELL) $$s/$$module_srcdir/configure \
36779 --srcdir=$${topdir}/$$module_srcdir \
36780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36781 --target=${target_alias} \
36782 --with-build-libsubdir=$(HOST_SUBDIR) \
36783 $(STAGEprofile_CONFIGURE_FLAGS) \
36784 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36785 @endif lto-plugin-bootstrap
36787 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36788 maybe-configure-stagetrain-lto-plugin:
36789 @if lto-plugin-bootstrap
36790 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36791 configure-stagetrain-lto-plugin:
36792 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36794 @r=`${PWD_COMMAND}`; export r; \
36795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36796 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36797 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36798 $(HOST_EXPORTS) \
36799 $(POSTSTAGE1_HOST_EXPORTS) \
36800 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36801 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36802 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36803 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36805 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36806 case $(srcdir) in \
36807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36808 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36810 esac; \
36811 module_srcdir=lto-plugin; \
36812 $(SHELL) $$s/$$module_srcdir/configure \
36813 --srcdir=$${topdir}/$$module_srcdir \
36814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36815 --target=${target_alias} \
36816 --with-build-libsubdir=$(HOST_SUBDIR) \
36817 $(STAGEtrain_CONFIGURE_FLAGS) \
36818 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36819 @endif lto-plugin-bootstrap
36821 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36822 maybe-configure-stagefeedback-lto-plugin:
36823 @if lto-plugin-bootstrap
36824 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36825 configure-stagefeedback-lto-plugin:
36826 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36828 @r=`${PWD_COMMAND}`; export r; \
36829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36831 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36832 $(HOST_EXPORTS) \
36833 $(POSTSTAGE1_HOST_EXPORTS) \
36834 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36835 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36836 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36837 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36839 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36840 case $(srcdir) in \
36841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36842 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36844 esac; \
36845 module_srcdir=lto-plugin; \
36846 $(SHELL) $$s/$$module_srcdir/configure \
36847 --srcdir=$${topdir}/$$module_srcdir \
36848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36849 --target=${target_alias} \
36850 --with-build-libsubdir=$(HOST_SUBDIR) \
36851 $(STAGEfeedback_CONFIGURE_FLAGS) \
36852 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36853 @endif lto-plugin-bootstrap
36855 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36856 maybe-configure-stageautoprofile-lto-plugin:
36857 @if lto-plugin-bootstrap
36858 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36859 configure-stageautoprofile-lto-plugin:
36860 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36862 @r=`${PWD_COMMAND}`; export r; \
36863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36864 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36865 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36866 $(HOST_EXPORTS) \
36867 $(POSTSTAGE1_HOST_EXPORTS) \
36868 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36869 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36870 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36871 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36873 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36874 case $(srcdir) in \
36875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36876 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36878 esac; \
36879 module_srcdir=lto-plugin; \
36880 $(SHELL) $$s/$$module_srcdir/configure \
36881 --srcdir=$${topdir}/$$module_srcdir \
36882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36883 --target=${target_alias} \
36884 --with-build-libsubdir=$(HOST_SUBDIR) \
36885 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36886 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36887 @endif lto-plugin-bootstrap
36889 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36890 maybe-configure-stageautofeedback-lto-plugin:
36891 @if lto-plugin-bootstrap
36892 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36893 configure-stageautofeedback-lto-plugin:
36894 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36895 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36896 @r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36899 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36900 $(HOST_EXPORTS) \
36901 $(POSTSTAGE1_HOST_EXPORTS) \
36902 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36903 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36904 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36905 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36907 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36908 case $(srcdir) in \
36909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36910 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36912 esac; \
36913 module_srcdir=lto-plugin; \
36914 $(SHELL) $$s/$$module_srcdir/configure \
36915 --srcdir=$${topdir}/$$module_srcdir \
36916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36917 --target=${target_alias} \
36918 --with-build-libsubdir=$(HOST_SUBDIR) \
36919 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36920 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36921 @endif lto-plugin-bootstrap
36927 .PHONY: all-lto-plugin maybe-all-lto-plugin
36928 maybe-all-lto-plugin:
36929 @if gcc-bootstrap
36930 all-lto-plugin: stage_current
36931 @endif gcc-bootstrap
36932 @if lto-plugin
36933 TARGET-lto-plugin=all
36934 maybe-all-lto-plugin: all-lto-plugin
36935 all-lto-plugin: configure-lto-plugin
36936 @r=`${PWD_COMMAND}`; export r; \
36937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36938 $(HOST_EXPORTS) \
36939 (cd $(HOST_SUBDIR)/lto-plugin && \
36940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36941 $(TARGET-lto-plugin))
36942 @endif lto-plugin
36946 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36947 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36948 maybe-all-stage1-lto-plugin:
36949 maybe-clean-stage1-lto-plugin:
36950 @if lto-plugin-bootstrap
36951 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36952 all-stage1: all-stage1-lto-plugin
36953 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36954 all-stage1-lto-plugin: configure-stage1-lto-plugin
36955 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36956 @r=`${PWD_COMMAND}`; export r; \
36957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36958 TFLAGS="$(STAGE1_TFLAGS)"; \
36959 $(HOST_EXPORTS) \
36960 cd $(HOST_SUBDIR)/lto-plugin && \
36962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36963 CFLAGS="$(STAGE1_CFLAGS)" \
36964 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
36965 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36966 LIBCFLAGS="$(LIBCFLAGS)" \
36967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36970 $(EXTRA_HOST_FLAGS) \
36971 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36972 TFLAGS="$(STAGE1_TFLAGS)" \
36973 $(TARGET-stage1-lto-plugin)
36975 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36976 clean-stage1: clean-stage1-lto-plugin
36977 clean-stage1-lto-plugin:
36978 @if [ $(current_stage) = stage1 ]; then \
36979 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36980 else \
36981 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36982 $(MAKE) stage1-start; \
36983 fi; \
36984 cd $(HOST_SUBDIR)/lto-plugin && \
36985 $(MAKE) $(EXTRA_HOST_FLAGS) \
36986 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36987 @endif lto-plugin-bootstrap
36990 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36991 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36992 maybe-all-stage2-lto-plugin:
36993 maybe-clean-stage2-lto-plugin:
36994 @if lto-plugin-bootstrap
36995 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36996 all-stage2: all-stage2-lto-plugin
36997 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36998 all-stage2-lto-plugin: configure-stage2-lto-plugin
36999 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37000 @r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 TFLAGS="$(STAGE2_TFLAGS)"; \
37003 $(HOST_EXPORTS) \
37004 $(POSTSTAGE1_HOST_EXPORTS) \
37005 cd $(HOST_SUBDIR)/lto-plugin && \
37007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37008 CFLAGS="$(STAGE2_CFLAGS)" \
37009 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
37010 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
37011 LIBCFLAGS="$(STAGE2_CFLAGS)" \
37012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37015 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37016 TFLAGS="$(STAGE2_TFLAGS)" \
37017 $(TARGET-stage2-lto-plugin)
37019 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
37020 clean-stage2: clean-stage2-lto-plugin
37021 clean-stage2-lto-plugin:
37022 @if [ $(current_stage) = stage2 ]; then \
37023 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37024 else \
37025 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
37026 $(MAKE) stage2-start; \
37027 fi; \
37028 cd $(HOST_SUBDIR)/lto-plugin && \
37029 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37030 @endif lto-plugin-bootstrap
37033 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
37034 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
37035 maybe-all-stage3-lto-plugin:
37036 maybe-clean-stage3-lto-plugin:
37037 @if lto-plugin-bootstrap
37038 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
37039 all-stage3: all-stage3-lto-plugin
37040 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
37041 all-stage3-lto-plugin: configure-stage3-lto-plugin
37042 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37043 @r=`${PWD_COMMAND}`; export r; \
37044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37045 TFLAGS="$(STAGE3_TFLAGS)"; \
37046 $(HOST_EXPORTS) \
37047 $(POSTSTAGE1_HOST_EXPORTS) \
37048 cd $(HOST_SUBDIR)/lto-plugin && \
37050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37051 CFLAGS="$(STAGE3_CFLAGS)" \
37052 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
37053 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
37054 LIBCFLAGS="$(STAGE3_CFLAGS)" \
37055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37059 TFLAGS="$(STAGE3_TFLAGS)" \
37060 $(TARGET-stage3-lto-plugin)
37062 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
37063 clean-stage3: clean-stage3-lto-plugin
37064 clean-stage3-lto-plugin:
37065 @if [ $(current_stage) = stage3 ]; then \
37066 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37067 else \
37068 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
37069 $(MAKE) stage3-start; \
37070 fi; \
37071 cd $(HOST_SUBDIR)/lto-plugin && \
37072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37073 @endif lto-plugin-bootstrap
37076 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
37077 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
37078 maybe-all-stage4-lto-plugin:
37079 maybe-clean-stage4-lto-plugin:
37080 @if lto-plugin-bootstrap
37081 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
37082 all-stage4: all-stage4-lto-plugin
37083 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
37084 all-stage4-lto-plugin: configure-stage4-lto-plugin
37085 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37086 @r=`${PWD_COMMAND}`; export r; \
37087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37088 TFLAGS="$(STAGE4_TFLAGS)"; \
37089 $(HOST_EXPORTS) \
37090 $(POSTSTAGE1_HOST_EXPORTS) \
37091 cd $(HOST_SUBDIR)/lto-plugin && \
37093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37094 CFLAGS="$(STAGE4_CFLAGS)" \
37095 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
37096 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
37097 LIBCFLAGS="$(STAGE4_CFLAGS)" \
37098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37102 TFLAGS="$(STAGE4_TFLAGS)" \
37103 $(TARGET-stage4-lto-plugin)
37105 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
37106 clean-stage4: clean-stage4-lto-plugin
37107 clean-stage4-lto-plugin:
37108 @if [ $(current_stage) = stage4 ]; then \
37109 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37110 else \
37111 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
37112 $(MAKE) stage4-start; \
37113 fi; \
37114 cd $(HOST_SUBDIR)/lto-plugin && \
37115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37116 @endif lto-plugin-bootstrap
37119 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
37120 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
37121 maybe-all-stageprofile-lto-plugin:
37122 maybe-clean-stageprofile-lto-plugin:
37123 @if lto-plugin-bootstrap
37124 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
37125 all-stageprofile: all-stageprofile-lto-plugin
37126 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
37127 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
37128 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37129 @r=`${PWD_COMMAND}`; export r; \
37130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37131 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37132 $(HOST_EXPORTS) \
37133 $(POSTSTAGE1_HOST_EXPORTS) \
37134 cd $(HOST_SUBDIR)/lto-plugin && \
37136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37137 CFLAGS="$(STAGEprofile_CFLAGS)" \
37138 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
37139 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
37140 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
37141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37145 TFLAGS="$(STAGEprofile_TFLAGS)" \
37146 $(TARGET-stageprofile-lto-plugin)
37148 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
37149 clean-stageprofile: clean-stageprofile-lto-plugin
37150 clean-stageprofile-lto-plugin:
37151 @if [ $(current_stage) = stageprofile ]; then \
37152 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37153 else \
37154 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
37155 $(MAKE) stageprofile-start; \
37156 fi; \
37157 cd $(HOST_SUBDIR)/lto-plugin && \
37158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37159 @endif lto-plugin-bootstrap
37162 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
37163 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
37164 maybe-all-stagetrain-lto-plugin:
37165 maybe-clean-stagetrain-lto-plugin:
37166 @if lto-plugin-bootstrap
37167 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
37168 all-stagetrain: all-stagetrain-lto-plugin
37169 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
37170 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
37171 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
37172 @r=`${PWD_COMMAND}`; export r; \
37173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37174 TFLAGS="$(STAGEtrain_TFLAGS)"; \
37175 $(HOST_EXPORTS) \
37176 $(POSTSTAGE1_HOST_EXPORTS) \
37177 cd $(HOST_SUBDIR)/lto-plugin && \
37179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37180 CFLAGS="$(STAGEtrain_CFLAGS)" \
37181 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
37182 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
37183 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
37184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37188 TFLAGS="$(STAGEtrain_TFLAGS)" \
37189 $(TARGET-stagetrain-lto-plugin)
37191 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
37192 clean-stagetrain: clean-stagetrain-lto-plugin
37193 clean-stagetrain-lto-plugin:
37194 @if [ $(current_stage) = stagetrain ]; then \
37195 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37196 else \
37197 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
37198 $(MAKE) stagetrain-start; \
37199 fi; \
37200 cd $(HOST_SUBDIR)/lto-plugin && \
37201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37202 @endif lto-plugin-bootstrap
37205 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
37206 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
37207 maybe-all-stagefeedback-lto-plugin:
37208 maybe-clean-stagefeedback-lto-plugin:
37209 @if lto-plugin-bootstrap
37210 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
37211 all-stagefeedback: all-stagefeedback-lto-plugin
37212 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
37213 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
37214 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37215 @r=`${PWD_COMMAND}`; export r; \
37216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37217 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37218 $(HOST_EXPORTS) \
37219 $(POSTSTAGE1_HOST_EXPORTS) \
37220 cd $(HOST_SUBDIR)/lto-plugin && \
37222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37223 CFLAGS="$(STAGEfeedback_CFLAGS)" \
37224 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
37225 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
37226 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
37227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37231 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37232 $(TARGET-stagefeedback-lto-plugin)
37234 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
37235 clean-stagefeedback: clean-stagefeedback-lto-plugin
37236 clean-stagefeedback-lto-plugin:
37237 @if [ $(current_stage) = stagefeedback ]; then \
37238 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37239 else \
37240 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
37241 $(MAKE) stagefeedback-start; \
37242 fi; \
37243 cd $(HOST_SUBDIR)/lto-plugin && \
37244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37245 @endif lto-plugin-bootstrap
37248 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
37249 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
37250 maybe-all-stageautoprofile-lto-plugin:
37251 maybe-clean-stageautoprofile-lto-plugin:
37252 @if lto-plugin-bootstrap
37253 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
37254 all-stageautoprofile: all-stageautoprofile-lto-plugin
37255 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
37256 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
37257 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37258 @r=`${PWD_COMMAND}`; export r; \
37259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37260 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37261 $(HOST_EXPORTS) \
37262 $(POSTSTAGE1_HOST_EXPORTS) \
37263 cd $(HOST_SUBDIR)/lto-plugin && \
37264 $$s/gcc/config/i386/$(AUTO_PROFILE) \
37265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37266 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
37267 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
37268 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
37269 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
37270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37274 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
37275 $(TARGET-stageautoprofile-lto-plugin)
37277 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
37278 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
37279 clean-stageautoprofile-lto-plugin:
37280 @if [ $(current_stage) = stageautoprofile ]; then \
37281 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37282 else \
37283 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
37284 $(MAKE) stageautoprofile-start; \
37285 fi; \
37286 cd $(HOST_SUBDIR)/lto-plugin && \
37287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37288 @endif lto-plugin-bootstrap
37291 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
37292 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
37293 maybe-all-stageautofeedback-lto-plugin:
37294 maybe-clean-stageautofeedback-lto-plugin:
37295 @if lto-plugin-bootstrap
37296 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
37297 all-stageautofeedback: all-stageautofeedback-lto-plugin
37298 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
37299 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
37300 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37301 @r=`${PWD_COMMAND}`; export r; \
37302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37303 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37304 $(HOST_EXPORTS) \
37305 $(POSTSTAGE1_HOST_EXPORTS) \
37306 cd $(HOST_SUBDIR)/lto-plugin && \
37308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37309 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
37310 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
37311 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
37312 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
37313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37317 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
37318 $(TARGET-stageautofeedback-lto-plugin)
37320 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
37321 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
37322 clean-stageautofeedback-lto-plugin:
37323 @if [ $(current_stage) = stageautofeedback ]; then \
37324 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37325 else \
37326 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
37327 $(MAKE) stageautofeedback-start; \
37328 fi; \
37329 cd $(HOST_SUBDIR)/lto-plugin && \
37330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37331 @endif lto-plugin-bootstrap
37337 .PHONY: check-lto-plugin maybe-check-lto-plugin
37338 maybe-check-lto-plugin:
37339 @if lto-plugin
37340 maybe-check-lto-plugin: check-lto-plugin
37342 check-lto-plugin:
37343 @: $(MAKE); $(unstage)
37344 @r=`${PWD_COMMAND}`; export r; \
37345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37346 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
37347 (cd $(HOST_SUBDIR)/lto-plugin && \
37348 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
37350 @endif lto-plugin
37352 .PHONY: install-lto-plugin maybe-install-lto-plugin
37353 maybe-install-lto-plugin:
37354 @if lto-plugin
37355 maybe-install-lto-plugin: install-lto-plugin
37357 install-lto-plugin: installdirs
37358 @: $(MAKE); $(unstage)
37359 @r=`${PWD_COMMAND}`; export r; \
37360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37361 $(HOST_EXPORTS) \
37362 (cd $(HOST_SUBDIR)/lto-plugin && \
37363 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
37365 @endif lto-plugin
37367 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
37368 maybe-install-strip-lto-plugin:
37369 @if lto-plugin
37370 maybe-install-strip-lto-plugin: install-strip-lto-plugin
37372 install-strip-lto-plugin: installdirs
37373 @: $(MAKE); $(unstage)
37374 @r=`${PWD_COMMAND}`; export r; \
37375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37376 $(HOST_EXPORTS) \
37377 (cd $(HOST_SUBDIR)/lto-plugin && \
37378 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
37380 @endif lto-plugin
37382 # Other targets (info, dvi, pdf, etc.)
37384 .PHONY: maybe-info-lto-plugin info-lto-plugin
37385 maybe-info-lto-plugin:
37386 @if lto-plugin
37387 maybe-info-lto-plugin: info-lto-plugin
37389 info-lto-plugin: \
37390 configure-lto-plugin
37391 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37392 r=`${PWD_COMMAND}`; export r; \
37393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37394 $(HOST_EXPORTS) \
37395 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37397 done; \
37398 echo "Doing info in lto-plugin"; \
37399 (cd $(HOST_SUBDIR)/lto-plugin && \
37400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37402 "RANLIB=$${RANLIB}" \
37403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37404 info) \
37405 || exit 1
37407 @endif lto-plugin
37409 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
37410 maybe-dvi-lto-plugin:
37411 @if lto-plugin
37412 maybe-dvi-lto-plugin: dvi-lto-plugin
37414 dvi-lto-plugin: \
37415 configure-lto-plugin
37416 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37417 r=`${PWD_COMMAND}`; export r; \
37418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37419 $(HOST_EXPORTS) \
37420 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37422 done; \
37423 echo "Doing dvi in lto-plugin"; \
37424 (cd $(HOST_SUBDIR)/lto-plugin && \
37425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37427 "RANLIB=$${RANLIB}" \
37428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37429 dvi) \
37430 || exit 1
37432 @endif lto-plugin
37434 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
37435 maybe-pdf-lto-plugin:
37436 @if lto-plugin
37437 maybe-pdf-lto-plugin: pdf-lto-plugin
37439 pdf-lto-plugin: \
37440 configure-lto-plugin
37441 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37442 r=`${PWD_COMMAND}`; export r; \
37443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37444 $(HOST_EXPORTS) \
37445 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37447 done; \
37448 echo "Doing pdf in lto-plugin"; \
37449 (cd $(HOST_SUBDIR)/lto-plugin && \
37450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37452 "RANLIB=$${RANLIB}" \
37453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37454 pdf) \
37455 || exit 1
37457 @endif lto-plugin
37459 .PHONY: maybe-html-lto-plugin html-lto-plugin
37460 maybe-html-lto-plugin:
37461 @if lto-plugin
37462 maybe-html-lto-plugin: html-lto-plugin
37464 html-lto-plugin: \
37465 configure-lto-plugin
37466 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37467 r=`${PWD_COMMAND}`; export r; \
37468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37469 $(HOST_EXPORTS) \
37470 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37472 done; \
37473 echo "Doing html in lto-plugin"; \
37474 (cd $(HOST_SUBDIR)/lto-plugin && \
37475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37477 "RANLIB=$${RANLIB}" \
37478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37479 html) \
37480 || exit 1
37482 @endif lto-plugin
37484 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
37485 maybe-TAGS-lto-plugin:
37486 @if lto-plugin
37487 maybe-TAGS-lto-plugin: TAGS-lto-plugin
37489 TAGS-lto-plugin: \
37490 configure-lto-plugin
37491 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37492 r=`${PWD_COMMAND}`; export r; \
37493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37494 $(HOST_EXPORTS) \
37495 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37497 done; \
37498 echo "Doing TAGS in lto-plugin"; \
37499 (cd $(HOST_SUBDIR)/lto-plugin && \
37500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37502 "RANLIB=$${RANLIB}" \
37503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37504 TAGS) \
37505 || exit 1
37507 @endif lto-plugin
37509 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
37510 maybe-install-info-lto-plugin:
37511 @if lto-plugin
37512 maybe-install-info-lto-plugin: install-info-lto-plugin
37514 install-info-lto-plugin: \
37515 configure-lto-plugin \
37516 info-lto-plugin
37517 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37518 r=`${PWD_COMMAND}`; export r; \
37519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37520 $(HOST_EXPORTS) \
37521 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37523 done; \
37524 echo "Doing install-info in lto-plugin"; \
37525 (cd $(HOST_SUBDIR)/lto-plugin && \
37526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37528 "RANLIB=$${RANLIB}" \
37529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37530 install-info) \
37531 || exit 1
37533 @endif lto-plugin
37535 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
37536 maybe-install-pdf-lto-plugin:
37537 @if lto-plugin
37538 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
37540 install-pdf-lto-plugin: \
37541 configure-lto-plugin \
37542 pdf-lto-plugin
37543 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37544 r=`${PWD_COMMAND}`; export r; \
37545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37546 $(HOST_EXPORTS) \
37547 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37549 done; \
37550 echo "Doing install-pdf in lto-plugin"; \
37551 (cd $(HOST_SUBDIR)/lto-plugin && \
37552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37554 "RANLIB=$${RANLIB}" \
37555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37556 install-pdf) \
37557 || exit 1
37559 @endif lto-plugin
37561 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
37562 maybe-install-html-lto-plugin:
37563 @if lto-plugin
37564 maybe-install-html-lto-plugin: install-html-lto-plugin
37566 install-html-lto-plugin: \
37567 configure-lto-plugin \
37568 html-lto-plugin
37569 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37570 r=`${PWD_COMMAND}`; export r; \
37571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37572 $(HOST_EXPORTS) \
37573 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37575 done; \
37576 echo "Doing install-html in lto-plugin"; \
37577 (cd $(HOST_SUBDIR)/lto-plugin && \
37578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37580 "RANLIB=$${RANLIB}" \
37581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37582 install-html) \
37583 || exit 1
37585 @endif lto-plugin
37587 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
37588 maybe-installcheck-lto-plugin:
37589 @if lto-plugin
37590 maybe-installcheck-lto-plugin: installcheck-lto-plugin
37592 installcheck-lto-plugin: \
37593 configure-lto-plugin
37594 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37595 r=`${PWD_COMMAND}`; export r; \
37596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37597 $(HOST_EXPORTS) \
37598 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37600 done; \
37601 echo "Doing installcheck in lto-plugin"; \
37602 (cd $(HOST_SUBDIR)/lto-plugin && \
37603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37605 "RANLIB=$${RANLIB}" \
37606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37607 installcheck) \
37608 || exit 1
37610 @endif lto-plugin
37612 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
37613 maybe-mostlyclean-lto-plugin:
37614 @if lto-plugin
37615 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
37617 mostlyclean-lto-plugin:
37618 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37619 r=`${PWD_COMMAND}`; export r; \
37620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37621 $(HOST_EXPORTS) \
37622 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37624 done; \
37625 echo "Doing mostlyclean in lto-plugin"; \
37626 (cd $(HOST_SUBDIR)/lto-plugin && \
37627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37629 "RANLIB=$${RANLIB}" \
37630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37631 mostlyclean) \
37632 || exit 1
37634 @endif lto-plugin
37636 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
37637 maybe-clean-lto-plugin:
37638 @if lto-plugin
37639 maybe-clean-lto-plugin: clean-lto-plugin
37641 clean-lto-plugin:
37642 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37643 r=`${PWD_COMMAND}`; export r; \
37644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37645 $(HOST_EXPORTS) \
37646 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37648 done; \
37649 echo "Doing clean in lto-plugin"; \
37650 (cd $(HOST_SUBDIR)/lto-plugin && \
37651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37653 "RANLIB=$${RANLIB}" \
37654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37655 clean) \
37656 || exit 1
37658 @endif lto-plugin
37660 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
37661 maybe-distclean-lto-plugin:
37662 @if lto-plugin
37663 maybe-distclean-lto-plugin: distclean-lto-plugin
37665 distclean-lto-plugin:
37666 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37667 r=`${PWD_COMMAND}`; export r; \
37668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37669 $(HOST_EXPORTS) \
37670 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37672 done; \
37673 echo "Doing distclean in lto-plugin"; \
37674 (cd $(HOST_SUBDIR)/lto-plugin && \
37675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37677 "RANLIB=$${RANLIB}" \
37678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37679 distclean) \
37680 || exit 1
37682 @endif lto-plugin
37684 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
37685 maybe-maintainer-clean-lto-plugin:
37686 @if lto-plugin
37687 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
37689 maintainer-clean-lto-plugin:
37690 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37691 r=`${PWD_COMMAND}`; export r; \
37692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37693 $(HOST_EXPORTS) \
37694 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37696 done; \
37697 echo "Doing maintainer-clean in lto-plugin"; \
37698 (cd $(HOST_SUBDIR)/lto-plugin && \
37699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37701 "RANLIB=$${RANLIB}" \
37702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37703 maintainer-clean) \
37704 || exit 1
37706 @endif lto-plugin
37710 .PHONY: configure-libcc1 maybe-configure-libcc1
37711 maybe-configure-libcc1:
37712 @if gcc-bootstrap
37713 configure-libcc1: stage_current
37714 @endif gcc-bootstrap
37715 @if libcc1
37716 maybe-configure-libcc1: configure-libcc1
37717 configure-libcc1:
37718 @: $(MAKE); $(unstage)
37719 @r=`${PWD_COMMAND}`; export r; \
37720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37721 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37723 $(HOST_EXPORTS) \
37724 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37725 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37726 case $(srcdir) in \
37727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37728 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37730 esac; \
37731 module_srcdir=libcc1; \
37732 $(SHELL) \
37733 $$s/$$module_srcdir/configure \
37734 --srcdir=$${topdir}/$$module_srcdir \
37735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37736 --target=${target_alias} --enable-shared \
37737 || exit 1
37738 @endif libcc1
37744 .PHONY: all-libcc1 maybe-all-libcc1
37745 maybe-all-libcc1:
37746 @if gcc-bootstrap
37747 all-libcc1: stage_current
37748 @endif gcc-bootstrap
37749 @if libcc1
37750 TARGET-libcc1=all
37751 maybe-all-libcc1: all-libcc1
37752 all-libcc1: configure-libcc1
37753 @: $(MAKE); $(unstage)
37754 @r=`${PWD_COMMAND}`; export r; \
37755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37756 $(HOST_EXPORTS) \
37757 (cd $(HOST_SUBDIR)/libcc1 && \
37758 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37759 $(TARGET-libcc1))
37760 @endif libcc1
37765 .PHONY: check-libcc1 maybe-check-libcc1
37766 maybe-check-libcc1:
37767 @if libcc1
37768 maybe-check-libcc1: check-libcc1
37770 check-libcc1:
37771 @: $(MAKE); $(unstage)
37772 @r=`${PWD_COMMAND}`; export r; \
37773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37774 $(HOST_EXPORTS) \
37775 (cd $(HOST_SUBDIR)/libcc1 && \
37776 $(MAKE) $(FLAGS_TO_PASS) check)
37778 @endif libcc1
37780 .PHONY: install-libcc1 maybe-install-libcc1
37781 maybe-install-libcc1:
37782 @if libcc1
37783 maybe-install-libcc1: install-libcc1
37785 install-libcc1: installdirs
37786 @: $(MAKE); $(unstage)
37787 @r=`${PWD_COMMAND}`; export r; \
37788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37789 $(HOST_EXPORTS) \
37790 (cd $(HOST_SUBDIR)/libcc1 && \
37791 $(MAKE) $(FLAGS_TO_PASS) install)
37793 @endif libcc1
37795 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37796 maybe-install-strip-libcc1:
37797 @if libcc1
37798 maybe-install-strip-libcc1: install-strip-libcc1
37800 install-strip-libcc1: installdirs
37801 @: $(MAKE); $(unstage)
37802 @r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 $(HOST_EXPORTS) \
37805 (cd $(HOST_SUBDIR)/libcc1 && \
37806 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37808 @endif libcc1
37810 # Other targets (info, dvi, pdf, etc.)
37812 .PHONY: maybe-info-libcc1 info-libcc1
37813 maybe-info-libcc1:
37814 @if libcc1
37815 maybe-info-libcc1: info-libcc1
37817 info-libcc1: \
37818 configure-libcc1
37819 @: $(MAKE); $(unstage)
37820 @[ -f ./libcc1/Makefile ] || exit 0; \
37821 r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 $(HOST_EXPORTS) \
37824 for flag in $(EXTRA_HOST_FLAGS) ; do \
37825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37826 done; \
37827 echo "Doing info in libcc1"; \
37828 (cd $(HOST_SUBDIR)/libcc1 && \
37829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37831 "RANLIB=$${RANLIB}" \
37832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37833 info) \
37834 || exit 1
37836 @endif libcc1
37838 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37839 maybe-dvi-libcc1:
37840 @if libcc1
37841 maybe-dvi-libcc1: dvi-libcc1
37843 dvi-libcc1: \
37844 configure-libcc1
37845 @: $(MAKE); $(unstage)
37846 @[ -f ./libcc1/Makefile ] || exit 0; \
37847 r=`${PWD_COMMAND}`; export r; \
37848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37849 $(HOST_EXPORTS) \
37850 for flag in $(EXTRA_HOST_FLAGS) ; do \
37851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37852 done; \
37853 echo "Doing dvi in libcc1"; \
37854 (cd $(HOST_SUBDIR)/libcc1 && \
37855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37857 "RANLIB=$${RANLIB}" \
37858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37859 dvi) \
37860 || exit 1
37862 @endif libcc1
37864 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37865 maybe-pdf-libcc1:
37866 @if libcc1
37867 maybe-pdf-libcc1: pdf-libcc1
37869 pdf-libcc1: \
37870 configure-libcc1
37871 @: $(MAKE); $(unstage)
37872 @[ -f ./libcc1/Makefile ] || exit 0; \
37873 r=`${PWD_COMMAND}`; export r; \
37874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37875 $(HOST_EXPORTS) \
37876 for flag in $(EXTRA_HOST_FLAGS) ; do \
37877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37878 done; \
37879 echo "Doing pdf in libcc1"; \
37880 (cd $(HOST_SUBDIR)/libcc1 && \
37881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37883 "RANLIB=$${RANLIB}" \
37884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37885 pdf) \
37886 || exit 1
37888 @endif libcc1
37890 .PHONY: maybe-html-libcc1 html-libcc1
37891 maybe-html-libcc1:
37892 @if libcc1
37893 maybe-html-libcc1: html-libcc1
37895 html-libcc1: \
37896 configure-libcc1
37897 @: $(MAKE); $(unstage)
37898 @[ -f ./libcc1/Makefile ] || exit 0; \
37899 r=`${PWD_COMMAND}`; export r; \
37900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37901 $(HOST_EXPORTS) \
37902 for flag in $(EXTRA_HOST_FLAGS) ; do \
37903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37904 done; \
37905 echo "Doing html in libcc1"; \
37906 (cd $(HOST_SUBDIR)/libcc1 && \
37907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37909 "RANLIB=$${RANLIB}" \
37910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37911 html) \
37912 || exit 1
37914 @endif libcc1
37916 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37917 maybe-TAGS-libcc1:
37918 @if libcc1
37919 maybe-TAGS-libcc1: TAGS-libcc1
37921 TAGS-libcc1: \
37922 configure-libcc1
37923 @: $(MAKE); $(unstage)
37924 @[ -f ./libcc1/Makefile ] || exit 0; \
37925 r=`${PWD_COMMAND}`; export r; \
37926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37927 $(HOST_EXPORTS) \
37928 for flag in $(EXTRA_HOST_FLAGS) ; do \
37929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37930 done; \
37931 echo "Doing TAGS in libcc1"; \
37932 (cd $(HOST_SUBDIR)/libcc1 && \
37933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37935 "RANLIB=$${RANLIB}" \
37936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37937 TAGS) \
37938 || exit 1
37940 @endif libcc1
37942 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37943 maybe-install-info-libcc1:
37944 @if libcc1
37945 maybe-install-info-libcc1: install-info-libcc1
37947 install-info-libcc1: \
37948 configure-libcc1 \
37949 info-libcc1
37950 @: $(MAKE); $(unstage)
37951 @[ -f ./libcc1/Makefile ] || exit 0; \
37952 r=`${PWD_COMMAND}`; export r; \
37953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37954 $(HOST_EXPORTS) \
37955 for flag in $(EXTRA_HOST_FLAGS) ; do \
37956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37957 done; \
37958 echo "Doing install-info in libcc1"; \
37959 (cd $(HOST_SUBDIR)/libcc1 && \
37960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37962 "RANLIB=$${RANLIB}" \
37963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37964 install-info) \
37965 || exit 1
37967 @endif libcc1
37969 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37970 maybe-install-pdf-libcc1:
37971 @if libcc1
37972 maybe-install-pdf-libcc1: install-pdf-libcc1
37974 install-pdf-libcc1: \
37975 configure-libcc1 \
37976 pdf-libcc1
37977 @: $(MAKE); $(unstage)
37978 @[ -f ./libcc1/Makefile ] || exit 0; \
37979 r=`${PWD_COMMAND}`; export r; \
37980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37981 $(HOST_EXPORTS) \
37982 for flag in $(EXTRA_HOST_FLAGS) ; do \
37983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37984 done; \
37985 echo "Doing install-pdf in libcc1"; \
37986 (cd $(HOST_SUBDIR)/libcc1 && \
37987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37989 "RANLIB=$${RANLIB}" \
37990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37991 install-pdf) \
37992 || exit 1
37994 @endif libcc1
37996 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37997 maybe-install-html-libcc1:
37998 @if libcc1
37999 maybe-install-html-libcc1: install-html-libcc1
38001 install-html-libcc1: \
38002 configure-libcc1 \
38003 html-libcc1
38004 @: $(MAKE); $(unstage)
38005 @[ -f ./libcc1/Makefile ] || exit 0; \
38006 r=`${PWD_COMMAND}`; export r; \
38007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38008 $(HOST_EXPORTS) \
38009 for flag in $(EXTRA_HOST_FLAGS) ; do \
38010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38011 done; \
38012 echo "Doing install-html in libcc1"; \
38013 (cd $(HOST_SUBDIR)/libcc1 && \
38014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38016 "RANLIB=$${RANLIB}" \
38017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38018 install-html) \
38019 || exit 1
38021 @endif libcc1
38023 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
38024 maybe-installcheck-libcc1:
38025 @if libcc1
38026 maybe-installcheck-libcc1: installcheck-libcc1
38028 installcheck-libcc1: \
38029 configure-libcc1
38030 @: $(MAKE); $(unstage)
38031 @[ -f ./libcc1/Makefile ] || exit 0; \
38032 r=`${PWD_COMMAND}`; export r; \
38033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38034 $(HOST_EXPORTS) \
38035 for flag in $(EXTRA_HOST_FLAGS) ; do \
38036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38037 done; \
38038 echo "Doing installcheck in libcc1"; \
38039 (cd $(HOST_SUBDIR)/libcc1 && \
38040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38042 "RANLIB=$${RANLIB}" \
38043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38044 installcheck) \
38045 || exit 1
38047 @endif libcc1
38049 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
38050 maybe-mostlyclean-libcc1:
38051 @if libcc1
38052 maybe-mostlyclean-libcc1: mostlyclean-libcc1
38054 mostlyclean-libcc1:
38055 @: $(MAKE); $(unstage)
38056 @[ -f ./libcc1/Makefile ] || exit 0; \
38057 r=`${PWD_COMMAND}`; export r; \
38058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38059 $(HOST_EXPORTS) \
38060 for flag in $(EXTRA_HOST_FLAGS) ; do \
38061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38062 done; \
38063 echo "Doing mostlyclean in libcc1"; \
38064 (cd $(HOST_SUBDIR)/libcc1 && \
38065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38067 "RANLIB=$${RANLIB}" \
38068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38069 mostlyclean) \
38070 || exit 1
38072 @endif libcc1
38074 .PHONY: maybe-clean-libcc1 clean-libcc1
38075 maybe-clean-libcc1:
38076 @if libcc1
38077 maybe-clean-libcc1: clean-libcc1
38079 clean-libcc1:
38080 @: $(MAKE); $(unstage)
38081 @[ -f ./libcc1/Makefile ] || exit 0; \
38082 r=`${PWD_COMMAND}`; export r; \
38083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38084 $(HOST_EXPORTS) \
38085 for flag in $(EXTRA_HOST_FLAGS) ; do \
38086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38087 done; \
38088 echo "Doing clean in libcc1"; \
38089 (cd $(HOST_SUBDIR)/libcc1 && \
38090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38092 "RANLIB=$${RANLIB}" \
38093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38094 clean) \
38095 || exit 1
38097 @endif libcc1
38099 .PHONY: maybe-distclean-libcc1 distclean-libcc1
38100 maybe-distclean-libcc1:
38101 @if libcc1
38102 maybe-distclean-libcc1: distclean-libcc1
38104 distclean-libcc1:
38105 @: $(MAKE); $(unstage)
38106 @[ -f ./libcc1/Makefile ] || exit 0; \
38107 r=`${PWD_COMMAND}`; export r; \
38108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38109 $(HOST_EXPORTS) \
38110 for flag in $(EXTRA_HOST_FLAGS) ; do \
38111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38112 done; \
38113 echo "Doing distclean in libcc1"; \
38114 (cd $(HOST_SUBDIR)/libcc1 && \
38115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38117 "RANLIB=$${RANLIB}" \
38118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38119 distclean) \
38120 || exit 1
38122 @endif libcc1
38124 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
38125 maybe-maintainer-clean-libcc1:
38126 @if libcc1
38127 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
38129 maintainer-clean-libcc1:
38130 @: $(MAKE); $(unstage)
38131 @[ -f ./libcc1/Makefile ] || exit 0; \
38132 r=`${PWD_COMMAND}`; export r; \
38133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38134 $(HOST_EXPORTS) \
38135 for flag in $(EXTRA_HOST_FLAGS) ; do \
38136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38137 done; \
38138 echo "Doing maintainer-clean in libcc1"; \
38139 (cd $(HOST_SUBDIR)/libcc1 && \
38140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38142 "RANLIB=$${RANLIB}" \
38143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38144 maintainer-clean) \
38145 || exit 1
38147 @endif libcc1
38151 .PHONY: configure-gotools maybe-configure-gotools
38152 maybe-configure-gotools:
38153 @if gcc-bootstrap
38154 configure-gotools: stage_current
38155 @endif gcc-bootstrap
38156 @if gotools
38157 maybe-configure-gotools: configure-gotools
38158 configure-gotools:
38159 @: $(MAKE); $(unstage)
38160 @r=`${PWD_COMMAND}`; export r; \
38161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38162 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
38163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
38164 $(HOST_EXPORTS) \
38165 echo Configuring in $(HOST_SUBDIR)/gotools; \
38166 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
38167 case $(srcdir) in \
38168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38169 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
38170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38171 esac; \
38172 module_srcdir=gotools; \
38173 $(SHELL) \
38174 $$s/$$module_srcdir/configure \
38175 --srcdir=$${topdir}/$$module_srcdir \
38176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38177 --target=${target_alias} \
38178 || exit 1
38179 @endif gotools
38185 .PHONY: all-gotools maybe-all-gotools
38186 maybe-all-gotools:
38187 @if gcc-bootstrap
38188 all-gotools: stage_current
38189 @endif gcc-bootstrap
38190 @if gotools
38191 TARGET-gotools=all
38192 maybe-all-gotools: all-gotools
38193 all-gotools: configure-gotools
38194 @: $(MAKE); $(unstage)
38195 @r=`${PWD_COMMAND}`; export r; \
38196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38197 $(HOST_EXPORTS) \
38198 (cd $(HOST_SUBDIR)/gotools && \
38199 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38200 $(TARGET-gotools))
38201 @endif gotools
38206 .PHONY: check-gotools maybe-check-gotools
38207 maybe-check-gotools:
38208 @if gotools
38209 maybe-check-gotools: check-gotools
38211 check-gotools:
38212 @: $(MAKE); $(unstage)
38213 @r=`${PWD_COMMAND}`; export r; \
38214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38215 $(HOST_EXPORTS) \
38216 (cd $(HOST_SUBDIR)/gotools && \
38217 $(MAKE) $(FLAGS_TO_PASS) check)
38219 @endif gotools
38221 .PHONY: install-gotools maybe-install-gotools
38222 maybe-install-gotools:
38223 @if gotools
38224 maybe-install-gotools: install-gotools
38226 install-gotools: installdirs
38227 @: $(MAKE); $(unstage)
38228 @r=`${PWD_COMMAND}`; export r; \
38229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38230 $(HOST_EXPORTS) \
38231 (cd $(HOST_SUBDIR)/gotools && \
38232 $(MAKE) $(FLAGS_TO_PASS) install)
38234 @endif gotools
38236 .PHONY: install-strip-gotools maybe-install-strip-gotools
38237 maybe-install-strip-gotools:
38238 @if gotools
38239 maybe-install-strip-gotools: install-strip-gotools
38241 install-strip-gotools: installdirs
38242 @: $(MAKE); $(unstage)
38243 @r=`${PWD_COMMAND}`; export r; \
38244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38245 $(HOST_EXPORTS) \
38246 (cd $(HOST_SUBDIR)/gotools && \
38247 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38249 @endif gotools
38251 # Other targets (info, dvi, pdf, etc.)
38253 .PHONY: maybe-info-gotools info-gotools
38254 maybe-info-gotools:
38255 @if gotools
38256 maybe-info-gotools: info-gotools
38258 info-gotools: \
38259 configure-gotools
38260 @: $(MAKE); $(unstage)
38261 @[ -f ./gotools/Makefile ] || exit 0; \
38262 r=`${PWD_COMMAND}`; export r; \
38263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38264 $(HOST_EXPORTS) \
38265 for flag in $(EXTRA_HOST_FLAGS) ; do \
38266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38267 done; \
38268 echo "Doing info in gotools"; \
38269 (cd $(HOST_SUBDIR)/gotools && \
38270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38272 "RANLIB=$${RANLIB}" \
38273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38274 info) \
38275 || exit 1
38277 @endif gotools
38279 .PHONY: maybe-dvi-gotools dvi-gotools
38280 maybe-dvi-gotools:
38281 @if gotools
38282 maybe-dvi-gotools: dvi-gotools
38284 dvi-gotools: \
38285 configure-gotools
38286 @: $(MAKE); $(unstage)
38287 @[ -f ./gotools/Makefile ] || exit 0; \
38288 r=`${PWD_COMMAND}`; export r; \
38289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38290 $(HOST_EXPORTS) \
38291 for flag in $(EXTRA_HOST_FLAGS) ; do \
38292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38293 done; \
38294 echo "Doing dvi in gotools"; \
38295 (cd $(HOST_SUBDIR)/gotools && \
38296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38298 "RANLIB=$${RANLIB}" \
38299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38300 dvi) \
38301 || exit 1
38303 @endif gotools
38305 .PHONY: maybe-pdf-gotools pdf-gotools
38306 maybe-pdf-gotools:
38307 @if gotools
38308 maybe-pdf-gotools: pdf-gotools
38310 pdf-gotools: \
38311 configure-gotools
38312 @: $(MAKE); $(unstage)
38313 @[ -f ./gotools/Makefile ] || exit 0; \
38314 r=`${PWD_COMMAND}`; export r; \
38315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38316 $(HOST_EXPORTS) \
38317 for flag in $(EXTRA_HOST_FLAGS) ; do \
38318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38319 done; \
38320 echo "Doing pdf in gotools"; \
38321 (cd $(HOST_SUBDIR)/gotools && \
38322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38324 "RANLIB=$${RANLIB}" \
38325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38326 pdf) \
38327 || exit 1
38329 @endif gotools
38331 .PHONY: maybe-html-gotools html-gotools
38332 maybe-html-gotools:
38333 @if gotools
38334 maybe-html-gotools: html-gotools
38336 html-gotools: \
38337 configure-gotools
38338 @: $(MAKE); $(unstage)
38339 @[ -f ./gotools/Makefile ] || exit 0; \
38340 r=`${PWD_COMMAND}`; export r; \
38341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38342 $(HOST_EXPORTS) \
38343 for flag in $(EXTRA_HOST_FLAGS) ; do \
38344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38345 done; \
38346 echo "Doing html in gotools"; \
38347 (cd $(HOST_SUBDIR)/gotools && \
38348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38350 "RANLIB=$${RANLIB}" \
38351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38352 html) \
38353 || exit 1
38355 @endif gotools
38357 .PHONY: maybe-TAGS-gotools TAGS-gotools
38358 maybe-TAGS-gotools:
38359 @if gotools
38360 maybe-TAGS-gotools: TAGS-gotools
38362 TAGS-gotools: \
38363 configure-gotools
38364 @: $(MAKE); $(unstage)
38365 @[ -f ./gotools/Makefile ] || exit 0; \
38366 r=`${PWD_COMMAND}`; export r; \
38367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38368 $(HOST_EXPORTS) \
38369 for flag in $(EXTRA_HOST_FLAGS) ; do \
38370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38371 done; \
38372 echo "Doing TAGS in gotools"; \
38373 (cd $(HOST_SUBDIR)/gotools && \
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 TAGS) \
38379 || exit 1
38381 @endif gotools
38383 .PHONY: maybe-install-info-gotools install-info-gotools
38384 maybe-install-info-gotools:
38385 @if gotools
38386 maybe-install-info-gotools: install-info-gotools
38388 install-info-gotools: \
38389 configure-gotools \
38390 info-gotools
38391 @: $(MAKE); $(unstage)
38392 @[ -f ./gotools/Makefile ] || exit 0; \
38393 r=`${PWD_COMMAND}`; export r; \
38394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38395 $(HOST_EXPORTS) \
38396 for flag in $(EXTRA_HOST_FLAGS) ; do \
38397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38398 done; \
38399 echo "Doing install-info in gotools"; \
38400 (cd $(HOST_SUBDIR)/gotools && \
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-info) \
38406 || exit 1
38408 @endif gotools
38410 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
38411 maybe-install-pdf-gotools:
38412 @if gotools
38413 maybe-install-pdf-gotools: install-pdf-gotools
38415 install-pdf-gotools: \
38416 configure-gotools \
38417 pdf-gotools
38418 @: $(MAKE); $(unstage)
38419 @[ -f ./gotools/Makefile ] || exit 0; \
38420 r=`${PWD_COMMAND}`; export r; \
38421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38422 $(HOST_EXPORTS) \
38423 for flag in $(EXTRA_HOST_FLAGS) ; do \
38424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38425 done; \
38426 echo "Doing install-pdf in gotools"; \
38427 (cd $(HOST_SUBDIR)/gotools && \
38428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38430 "RANLIB=$${RANLIB}" \
38431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38432 install-pdf) \
38433 || exit 1
38435 @endif gotools
38437 .PHONY: maybe-install-html-gotools install-html-gotools
38438 maybe-install-html-gotools:
38439 @if gotools
38440 maybe-install-html-gotools: install-html-gotools
38442 install-html-gotools: \
38443 configure-gotools \
38444 html-gotools
38445 @: $(MAKE); $(unstage)
38446 @[ -f ./gotools/Makefile ] || exit 0; \
38447 r=`${PWD_COMMAND}`; export r; \
38448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38449 $(HOST_EXPORTS) \
38450 for flag in $(EXTRA_HOST_FLAGS) ; do \
38451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38452 done; \
38453 echo "Doing install-html in gotools"; \
38454 (cd $(HOST_SUBDIR)/gotools && \
38455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38457 "RANLIB=$${RANLIB}" \
38458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38459 install-html) \
38460 || exit 1
38462 @endif gotools
38464 .PHONY: maybe-installcheck-gotools installcheck-gotools
38465 maybe-installcheck-gotools:
38466 @if gotools
38467 maybe-installcheck-gotools: installcheck-gotools
38469 installcheck-gotools: \
38470 configure-gotools
38471 @: $(MAKE); $(unstage)
38472 @[ -f ./gotools/Makefile ] || exit 0; \
38473 r=`${PWD_COMMAND}`; export r; \
38474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38475 $(HOST_EXPORTS) \
38476 for flag in $(EXTRA_HOST_FLAGS) ; do \
38477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38478 done; \
38479 echo "Doing installcheck in gotools"; \
38480 (cd $(HOST_SUBDIR)/gotools && \
38481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38483 "RANLIB=$${RANLIB}" \
38484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38485 installcheck) \
38486 || exit 1
38488 @endif gotools
38490 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
38491 maybe-mostlyclean-gotools:
38492 @if gotools
38493 maybe-mostlyclean-gotools: mostlyclean-gotools
38495 mostlyclean-gotools:
38496 @: $(MAKE); $(unstage)
38497 @[ -f ./gotools/Makefile ] || exit 0; \
38498 r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 $(HOST_EXPORTS) \
38501 for flag in $(EXTRA_HOST_FLAGS) ; do \
38502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38503 done; \
38504 echo "Doing mostlyclean in gotools"; \
38505 (cd $(HOST_SUBDIR)/gotools && \
38506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38508 "RANLIB=$${RANLIB}" \
38509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38510 mostlyclean) \
38511 || exit 1
38513 @endif gotools
38515 .PHONY: maybe-clean-gotools clean-gotools
38516 maybe-clean-gotools:
38517 @if gotools
38518 maybe-clean-gotools: clean-gotools
38520 clean-gotools:
38521 @: $(MAKE); $(unstage)
38522 @[ -f ./gotools/Makefile ] || exit 0; \
38523 r=`${PWD_COMMAND}`; export r; \
38524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38525 $(HOST_EXPORTS) \
38526 for flag in $(EXTRA_HOST_FLAGS) ; do \
38527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38528 done; \
38529 echo "Doing clean in gotools"; \
38530 (cd $(HOST_SUBDIR)/gotools && \
38531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38533 "RANLIB=$${RANLIB}" \
38534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38535 clean) \
38536 || exit 1
38538 @endif gotools
38540 .PHONY: maybe-distclean-gotools distclean-gotools
38541 maybe-distclean-gotools:
38542 @if gotools
38543 maybe-distclean-gotools: distclean-gotools
38545 distclean-gotools:
38546 @: $(MAKE); $(unstage)
38547 @[ -f ./gotools/Makefile ] || exit 0; \
38548 r=`${PWD_COMMAND}`; export r; \
38549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38550 $(HOST_EXPORTS) \
38551 for flag in $(EXTRA_HOST_FLAGS) ; do \
38552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38553 done; \
38554 echo "Doing distclean in gotools"; \
38555 (cd $(HOST_SUBDIR)/gotools && \
38556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38558 "RANLIB=$${RANLIB}" \
38559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38560 distclean) \
38561 || exit 1
38563 @endif gotools
38565 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
38566 maybe-maintainer-clean-gotools:
38567 @if gotools
38568 maybe-maintainer-clean-gotools: maintainer-clean-gotools
38570 maintainer-clean-gotools:
38571 @: $(MAKE); $(unstage)
38572 @[ -f ./gotools/Makefile ] || exit 0; \
38573 r=`${PWD_COMMAND}`; export r; \
38574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38575 $(HOST_EXPORTS) \
38576 for flag in $(EXTRA_HOST_FLAGS) ; do \
38577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38578 done; \
38579 echo "Doing maintainer-clean in gotools"; \
38580 (cd $(HOST_SUBDIR)/gotools && \
38581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38583 "RANLIB=$${RANLIB}" \
38584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38585 maintainer-clean) \
38586 || exit 1
38588 @endif gotools
38592 .PHONY: configure-libctf maybe-configure-libctf
38593 maybe-configure-libctf:
38594 @if gcc-bootstrap
38595 configure-libctf: stage_current
38596 @endif gcc-bootstrap
38597 @if libctf
38598 maybe-configure-libctf: configure-libctf
38599 configure-libctf:
38600 @r=`${PWD_COMMAND}`; export r; \
38601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38602 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38604 $(HOST_EXPORTS) \
38605 echo Configuring in $(HOST_SUBDIR)/libctf; \
38606 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
38607 case $(srcdir) in \
38608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38609 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38611 esac; \
38612 module_srcdir=libctf; \
38613 $(SHELL) \
38614 $$s/$$module_srcdir/configure \
38615 --srcdir=$${topdir}/$$module_srcdir \
38616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38617 --target=${target_alias} \
38618 || exit 1
38619 @endif libctf
38623 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
38624 maybe-configure-stage1-libctf:
38625 @if libctf-bootstrap
38626 maybe-configure-stage1-libctf: configure-stage1-libctf
38627 configure-stage1-libctf:
38628 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38629 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38630 @r=`${PWD_COMMAND}`; export r; \
38631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38632 TFLAGS="$(STAGE1_TFLAGS)"; \
38633 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38634 $(HOST_EXPORTS) \
38635 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
38636 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
38637 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
38638 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
38639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38640 cd $(HOST_SUBDIR)/libctf || exit 1; \
38641 case $(srcdir) in \
38642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38643 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38645 esac; \
38646 module_srcdir=libctf; \
38647 $(SHELL) $$s/$$module_srcdir/configure \
38648 --srcdir=$${topdir}/$$module_srcdir \
38649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38650 --target=${target_alias} \
38652 $(STAGE1_CONFIGURE_FLAGS)
38653 @endif libctf-bootstrap
38655 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
38656 maybe-configure-stage2-libctf:
38657 @if libctf-bootstrap
38658 maybe-configure-stage2-libctf: configure-stage2-libctf
38659 configure-stage2-libctf:
38660 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38661 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38662 @r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38664 TFLAGS="$(STAGE2_TFLAGS)"; \
38665 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38666 $(HOST_EXPORTS) \
38667 $(POSTSTAGE1_HOST_EXPORTS) \
38668 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
38669 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
38670 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
38671 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
38672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38673 cd $(HOST_SUBDIR)/libctf || exit 1; \
38674 case $(srcdir) in \
38675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38676 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38678 esac; \
38679 module_srcdir=libctf; \
38680 $(SHELL) $$s/$$module_srcdir/configure \
38681 --srcdir=$${topdir}/$$module_srcdir \
38682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38683 --target=${target_alias} \
38684 --with-build-libsubdir=$(HOST_SUBDIR) \
38685 $(STAGE2_CONFIGURE_FLAGS)
38686 @endif libctf-bootstrap
38688 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
38689 maybe-configure-stage3-libctf:
38690 @if libctf-bootstrap
38691 maybe-configure-stage3-libctf: configure-stage3-libctf
38692 configure-stage3-libctf:
38693 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38695 @r=`${PWD_COMMAND}`; export r; \
38696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38697 TFLAGS="$(STAGE3_TFLAGS)"; \
38698 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38699 $(HOST_EXPORTS) \
38700 $(POSTSTAGE1_HOST_EXPORTS) \
38701 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
38702 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
38703 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
38704 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
38705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38706 cd $(HOST_SUBDIR)/libctf || exit 1; \
38707 case $(srcdir) in \
38708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38709 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38711 esac; \
38712 module_srcdir=libctf; \
38713 $(SHELL) $$s/$$module_srcdir/configure \
38714 --srcdir=$${topdir}/$$module_srcdir \
38715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38716 --target=${target_alias} \
38717 --with-build-libsubdir=$(HOST_SUBDIR) \
38718 $(STAGE3_CONFIGURE_FLAGS)
38719 @endif libctf-bootstrap
38721 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
38722 maybe-configure-stage4-libctf:
38723 @if libctf-bootstrap
38724 maybe-configure-stage4-libctf: configure-stage4-libctf
38725 configure-stage4-libctf:
38726 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38728 @r=`${PWD_COMMAND}`; export r; \
38729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38730 TFLAGS="$(STAGE4_TFLAGS)"; \
38731 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38732 $(HOST_EXPORTS) \
38733 $(POSTSTAGE1_HOST_EXPORTS) \
38734 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
38735 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
38736 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
38737 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
38738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38739 cd $(HOST_SUBDIR)/libctf || exit 1; \
38740 case $(srcdir) in \
38741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38742 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38744 esac; \
38745 module_srcdir=libctf; \
38746 $(SHELL) $$s/$$module_srcdir/configure \
38747 --srcdir=$${topdir}/$$module_srcdir \
38748 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38749 --target=${target_alias} \
38750 --with-build-libsubdir=$(HOST_SUBDIR) \
38751 $(STAGE4_CONFIGURE_FLAGS)
38752 @endif libctf-bootstrap
38754 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
38755 maybe-configure-stageprofile-libctf:
38756 @if libctf-bootstrap
38757 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
38758 configure-stageprofile-libctf:
38759 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38761 @r=`${PWD_COMMAND}`; export r; \
38762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38763 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38764 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38765 $(HOST_EXPORTS) \
38766 $(POSTSTAGE1_HOST_EXPORTS) \
38767 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
38768 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
38769 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
38770 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
38771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38772 cd $(HOST_SUBDIR)/libctf || exit 1; \
38773 case $(srcdir) in \
38774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38775 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38777 esac; \
38778 module_srcdir=libctf; \
38779 $(SHELL) $$s/$$module_srcdir/configure \
38780 --srcdir=$${topdir}/$$module_srcdir \
38781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38782 --target=${target_alias} \
38783 --with-build-libsubdir=$(HOST_SUBDIR) \
38784 $(STAGEprofile_CONFIGURE_FLAGS)
38785 @endif libctf-bootstrap
38787 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
38788 maybe-configure-stagetrain-libctf:
38789 @if libctf-bootstrap
38790 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
38791 configure-stagetrain-libctf:
38792 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38794 @r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38797 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38798 $(HOST_EXPORTS) \
38799 $(POSTSTAGE1_HOST_EXPORTS) \
38800 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
38801 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
38802 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
38803 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
38804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38805 cd $(HOST_SUBDIR)/libctf || exit 1; \
38806 case $(srcdir) in \
38807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38808 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38810 esac; \
38811 module_srcdir=libctf; \
38812 $(SHELL) $$s/$$module_srcdir/configure \
38813 --srcdir=$${topdir}/$$module_srcdir \
38814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38815 --target=${target_alias} \
38816 --with-build-libsubdir=$(HOST_SUBDIR) \
38817 $(STAGEtrain_CONFIGURE_FLAGS)
38818 @endif libctf-bootstrap
38820 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
38821 maybe-configure-stagefeedback-libctf:
38822 @if libctf-bootstrap
38823 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
38824 configure-stagefeedback-libctf:
38825 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38827 @r=`${PWD_COMMAND}`; export r; \
38828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38829 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38830 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38831 $(HOST_EXPORTS) \
38832 $(POSTSTAGE1_HOST_EXPORTS) \
38833 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
38834 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
38835 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
38836 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
38837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38838 cd $(HOST_SUBDIR)/libctf || exit 1; \
38839 case $(srcdir) in \
38840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38841 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38843 esac; \
38844 module_srcdir=libctf; \
38845 $(SHELL) $$s/$$module_srcdir/configure \
38846 --srcdir=$${topdir}/$$module_srcdir \
38847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38848 --target=${target_alias} \
38849 --with-build-libsubdir=$(HOST_SUBDIR) \
38850 $(STAGEfeedback_CONFIGURE_FLAGS)
38851 @endif libctf-bootstrap
38853 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
38854 maybe-configure-stageautoprofile-libctf:
38855 @if libctf-bootstrap
38856 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
38857 configure-stageautoprofile-libctf:
38858 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38860 @r=`${PWD_COMMAND}`; export r; \
38861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38862 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38863 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38864 $(HOST_EXPORTS) \
38865 $(POSTSTAGE1_HOST_EXPORTS) \
38866 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
38867 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
38868 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
38869 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
38870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38871 cd $(HOST_SUBDIR)/libctf || exit 1; \
38872 case $(srcdir) in \
38873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38874 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38876 esac; \
38877 module_srcdir=libctf; \
38878 $(SHELL) $$s/$$module_srcdir/configure \
38879 --srcdir=$${topdir}/$$module_srcdir \
38880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38881 --target=${target_alias} \
38882 --with-build-libsubdir=$(HOST_SUBDIR) \
38883 $(STAGEautoprofile_CONFIGURE_FLAGS)
38884 @endif libctf-bootstrap
38886 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
38887 maybe-configure-stageautofeedback-libctf:
38888 @if libctf-bootstrap
38889 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
38890 configure-stageautofeedback-libctf:
38891 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38893 @r=`${PWD_COMMAND}`; export r; \
38894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38895 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38896 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38897 $(HOST_EXPORTS) \
38898 $(POSTSTAGE1_HOST_EXPORTS) \
38899 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
38900 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
38901 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
38902 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
38903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38904 cd $(HOST_SUBDIR)/libctf || exit 1; \
38905 case $(srcdir) in \
38906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38907 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38909 esac; \
38910 module_srcdir=libctf; \
38911 $(SHELL) $$s/$$module_srcdir/configure \
38912 --srcdir=$${topdir}/$$module_srcdir \
38913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38914 --target=${target_alias} \
38915 --with-build-libsubdir=$(HOST_SUBDIR) \
38916 $(STAGEautofeedback_CONFIGURE_FLAGS)
38917 @endif libctf-bootstrap
38923 .PHONY: all-libctf maybe-all-libctf
38924 maybe-all-libctf:
38925 @if gcc-bootstrap
38926 all-libctf: stage_current
38927 @endif gcc-bootstrap
38928 @if libctf
38929 TARGET-libctf=all
38930 maybe-all-libctf: all-libctf
38931 all-libctf: configure-libctf
38932 @r=`${PWD_COMMAND}`; export r; \
38933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38934 $(HOST_EXPORTS) \
38935 (cd $(HOST_SUBDIR)/libctf && \
38936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38937 $(TARGET-libctf))
38938 @endif libctf
38942 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
38943 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
38944 maybe-all-stage1-libctf:
38945 maybe-clean-stage1-libctf:
38946 @if libctf-bootstrap
38947 maybe-all-stage1-libctf: all-stage1-libctf
38948 all-stage1: all-stage1-libctf
38949 TARGET-stage1-libctf = $(TARGET-libctf)
38950 all-stage1-libctf: configure-stage1-libctf
38951 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38952 @r=`${PWD_COMMAND}`; export r; \
38953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38954 TFLAGS="$(STAGE1_TFLAGS)"; \
38955 $(HOST_EXPORTS) \
38956 cd $(HOST_SUBDIR)/libctf && \
38958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38959 CFLAGS="$(STAGE1_CFLAGS)" \
38960 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
38961 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
38962 LIBCFLAGS="$(LIBCFLAGS)" \
38963 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38964 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38965 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38966 $(EXTRA_HOST_FLAGS) \
38967 $(STAGE1_FLAGS_TO_PASS) \
38968 TFLAGS="$(STAGE1_TFLAGS)" \
38969 $(TARGET-stage1-libctf)
38971 maybe-clean-stage1-libctf: clean-stage1-libctf
38972 clean-stage1: clean-stage1-libctf
38973 clean-stage1-libctf:
38974 @if [ $(current_stage) = stage1 ]; then \
38975 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38976 else \
38977 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
38978 $(MAKE) stage1-start; \
38979 fi; \
38980 cd $(HOST_SUBDIR)/libctf && \
38981 $(MAKE) $(EXTRA_HOST_FLAGS) \
38982 $(STAGE1_FLAGS_TO_PASS) clean
38983 @endif libctf-bootstrap
38986 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
38987 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
38988 maybe-all-stage2-libctf:
38989 maybe-clean-stage2-libctf:
38990 @if libctf-bootstrap
38991 maybe-all-stage2-libctf: all-stage2-libctf
38992 all-stage2: all-stage2-libctf
38993 TARGET-stage2-libctf = $(TARGET-libctf)
38994 all-stage2-libctf: configure-stage2-libctf
38995 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38996 @r=`${PWD_COMMAND}`; export r; \
38997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38998 TFLAGS="$(STAGE2_TFLAGS)"; \
38999 $(HOST_EXPORTS) \
39000 $(POSTSTAGE1_HOST_EXPORTS) \
39001 cd $(HOST_SUBDIR)/libctf && \
39003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39004 CFLAGS="$(STAGE2_CFLAGS)" \
39005 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
39006 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
39007 LIBCFLAGS="$(STAGE2_CFLAGS)" \
39008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39012 TFLAGS="$(STAGE2_TFLAGS)" \
39013 $(TARGET-stage2-libctf)
39015 maybe-clean-stage2-libctf: clean-stage2-libctf
39016 clean-stage2: clean-stage2-libctf
39017 clean-stage2-libctf:
39018 @if [ $(current_stage) = stage2 ]; then \
39019 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39020 else \
39021 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
39022 $(MAKE) stage2-start; \
39023 fi; \
39024 cd $(HOST_SUBDIR)/libctf && \
39025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39026 @endif libctf-bootstrap
39029 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
39030 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
39031 maybe-all-stage3-libctf:
39032 maybe-clean-stage3-libctf:
39033 @if libctf-bootstrap
39034 maybe-all-stage3-libctf: all-stage3-libctf
39035 all-stage3: all-stage3-libctf
39036 TARGET-stage3-libctf = $(TARGET-libctf)
39037 all-stage3-libctf: configure-stage3-libctf
39038 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39039 @r=`${PWD_COMMAND}`; export r; \
39040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39041 TFLAGS="$(STAGE3_TFLAGS)"; \
39042 $(HOST_EXPORTS) \
39043 $(POSTSTAGE1_HOST_EXPORTS) \
39044 cd $(HOST_SUBDIR)/libctf && \
39046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39047 CFLAGS="$(STAGE3_CFLAGS)" \
39048 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
39049 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
39050 LIBCFLAGS="$(STAGE3_CFLAGS)" \
39051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39055 TFLAGS="$(STAGE3_TFLAGS)" \
39056 $(TARGET-stage3-libctf)
39058 maybe-clean-stage3-libctf: clean-stage3-libctf
39059 clean-stage3: clean-stage3-libctf
39060 clean-stage3-libctf:
39061 @if [ $(current_stage) = stage3 ]; then \
39062 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39063 else \
39064 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
39065 $(MAKE) stage3-start; \
39066 fi; \
39067 cd $(HOST_SUBDIR)/libctf && \
39068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39069 @endif libctf-bootstrap
39072 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
39073 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
39074 maybe-all-stage4-libctf:
39075 maybe-clean-stage4-libctf:
39076 @if libctf-bootstrap
39077 maybe-all-stage4-libctf: all-stage4-libctf
39078 all-stage4: all-stage4-libctf
39079 TARGET-stage4-libctf = $(TARGET-libctf)
39080 all-stage4-libctf: configure-stage4-libctf
39081 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39082 @r=`${PWD_COMMAND}`; export r; \
39083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39084 TFLAGS="$(STAGE4_TFLAGS)"; \
39085 $(HOST_EXPORTS) \
39086 $(POSTSTAGE1_HOST_EXPORTS) \
39087 cd $(HOST_SUBDIR)/libctf && \
39089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39090 CFLAGS="$(STAGE4_CFLAGS)" \
39091 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
39092 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
39093 LIBCFLAGS="$(STAGE4_CFLAGS)" \
39094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39098 TFLAGS="$(STAGE4_TFLAGS)" \
39099 $(TARGET-stage4-libctf)
39101 maybe-clean-stage4-libctf: clean-stage4-libctf
39102 clean-stage4: clean-stage4-libctf
39103 clean-stage4-libctf:
39104 @if [ $(current_stage) = stage4 ]; then \
39105 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39106 else \
39107 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
39108 $(MAKE) stage4-start; \
39109 fi; \
39110 cd $(HOST_SUBDIR)/libctf && \
39111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39112 @endif libctf-bootstrap
39115 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
39116 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
39117 maybe-all-stageprofile-libctf:
39118 maybe-clean-stageprofile-libctf:
39119 @if libctf-bootstrap
39120 maybe-all-stageprofile-libctf: all-stageprofile-libctf
39121 all-stageprofile: all-stageprofile-libctf
39122 TARGET-stageprofile-libctf = $(TARGET-libctf)
39123 all-stageprofile-libctf: configure-stageprofile-libctf
39124 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39125 @r=`${PWD_COMMAND}`; export r; \
39126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39127 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39128 $(HOST_EXPORTS) \
39129 $(POSTSTAGE1_HOST_EXPORTS) \
39130 cd $(HOST_SUBDIR)/libctf && \
39132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39133 CFLAGS="$(STAGEprofile_CFLAGS)" \
39134 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
39135 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
39136 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
39137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39141 TFLAGS="$(STAGEprofile_TFLAGS)" \
39142 $(TARGET-stageprofile-libctf)
39144 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
39145 clean-stageprofile: clean-stageprofile-libctf
39146 clean-stageprofile-libctf:
39147 @if [ $(current_stage) = stageprofile ]; then \
39148 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39149 else \
39150 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
39151 $(MAKE) stageprofile-start; \
39152 fi; \
39153 cd $(HOST_SUBDIR)/libctf && \
39154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39155 @endif libctf-bootstrap
39158 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
39159 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
39160 maybe-all-stagetrain-libctf:
39161 maybe-clean-stagetrain-libctf:
39162 @if libctf-bootstrap
39163 maybe-all-stagetrain-libctf: all-stagetrain-libctf
39164 all-stagetrain: all-stagetrain-libctf
39165 TARGET-stagetrain-libctf = $(TARGET-libctf)
39166 all-stagetrain-libctf: configure-stagetrain-libctf
39167 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39168 @r=`${PWD_COMMAND}`; export r; \
39169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39170 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39171 $(HOST_EXPORTS) \
39172 $(POSTSTAGE1_HOST_EXPORTS) \
39173 cd $(HOST_SUBDIR)/libctf && \
39175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39176 CFLAGS="$(STAGEtrain_CFLAGS)" \
39177 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
39178 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
39179 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
39180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39184 TFLAGS="$(STAGEtrain_TFLAGS)" \
39185 $(TARGET-stagetrain-libctf)
39187 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
39188 clean-stagetrain: clean-stagetrain-libctf
39189 clean-stagetrain-libctf:
39190 @if [ $(current_stage) = stagetrain ]; then \
39191 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39192 else \
39193 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
39194 $(MAKE) stagetrain-start; \
39195 fi; \
39196 cd $(HOST_SUBDIR)/libctf && \
39197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39198 @endif libctf-bootstrap
39201 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
39202 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
39203 maybe-all-stagefeedback-libctf:
39204 maybe-clean-stagefeedback-libctf:
39205 @if libctf-bootstrap
39206 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
39207 all-stagefeedback: all-stagefeedback-libctf
39208 TARGET-stagefeedback-libctf = $(TARGET-libctf)
39209 all-stagefeedback-libctf: configure-stagefeedback-libctf
39210 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39211 @r=`${PWD_COMMAND}`; export r; \
39212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39213 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39214 $(HOST_EXPORTS) \
39215 $(POSTSTAGE1_HOST_EXPORTS) \
39216 cd $(HOST_SUBDIR)/libctf && \
39218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39219 CFLAGS="$(STAGEfeedback_CFLAGS)" \
39220 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
39221 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
39222 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
39223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39227 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39228 $(TARGET-stagefeedback-libctf)
39230 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
39231 clean-stagefeedback: clean-stagefeedback-libctf
39232 clean-stagefeedback-libctf:
39233 @if [ $(current_stage) = stagefeedback ]; then \
39234 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39235 else \
39236 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
39237 $(MAKE) stagefeedback-start; \
39238 fi; \
39239 cd $(HOST_SUBDIR)/libctf && \
39240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39241 @endif libctf-bootstrap
39244 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
39245 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
39246 maybe-all-stageautoprofile-libctf:
39247 maybe-clean-stageautoprofile-libctf:
39248 @if libctf-bootstrap
39249 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
39250 all-stageautoprofile: all-stageautoprofile-libctf
39251 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
39252 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
39253 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39254 @r=`${PWD_COMMAND}`; export r; \
39255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39256 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39257 $(HOST_EXPORTS) \
39258 $(POSTSTAGE1_HOST_EXPORTS) \
39259 cd $(HOST_SUBDIR)/libctf && \
39260 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39262 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
39263 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
39264 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
39265 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
39266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39270 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39271 $(TARGET-stageautoprofile-libctf)
39273 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
39274 clean-stageautoprofile: clean-stageautoprofile-libctf
39275 clean-stageautoprofile-libctf:
39276 @if [ $(current_stage) = stageautoprofile ]; then \
39277 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39278 else \
39279 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
39280 $(MAKE) stageautoprofile-start; \
39281 fi; \
39282 cd $(HOST_SUBDIR)/libctf && \
39283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39284 @endif libctf-bootstrap
39287 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
39288 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
39289 maybe-all-stageautofeedback-libctf:
39290 maybe-clean-stageautofeedback-libctf:
39291 @if libctf-bootstrap
39292 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
39293 all-stageautofeedback: all-stageautofeedback-libctf
39294 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
39295 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
39296 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39297 @r=`${PWD_COMMAND}`; export r; \
39298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39299 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39300 $(HOST_EXPORTS) \
39301 $(POSTSTAGE1_HOST_EXPORTS) \
39302 cd $(HOST_SUBDIR)/libctf && \
39304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39305 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
39306 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
39307 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
39308 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
39309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39313 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39314 $(TARGET-stageautofeedback-libctf)
39316 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
39317 clean-stageautofeedback: clean-stageautofeedback-libctf
39318 clean-stageautofeedback-libctf:
39319 @if [ $(current_stage) = stageautofeedback ]; then \
39320 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39321 else \
39322 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
39323 $(MAKE) stageautofeedback-start; \
39324 fi; \
39325 cd $(HOST_SUBDIR)/libctf && \
39326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39327 @endif libctf-bootstrap
39333 .PHONY: check-libctf maybe-check-libctf
39334 maybe-check-libctf:
39335 @if libctf
39336 maybe-check-libctf: check-libctf
39338 check-libctf:
39340 @endif libctf
39342 .PHONY: install-libctf maybe-install-libctf
39343 maybe-install-libctf:
39344 @if libctf
39345 maybe-install-libctf: install-libctf
39347 install-libctf:
39349 @endif libctf
39351 .PHONY: install-strip-libctf maybe-install-strip-libctf
39352 maybe-install-strip-libctf:
39353 @if libctf
39354 maybe-install-strip-libctf: install-strip-libctf
39356 install-strip-libctf:
39358 @endif libctf
39360 # Other targets (info, dvi, pdf, etc.)
39362 .PHONY: maybe-info-libctf info-libctf
39363 maybe-info-libctf:
39364 @if libctf
39365 maybe-info-libctf: info-libctf
39367 info-libctf: \
39368 configure-libctf
39369 @[ -f ./libctf/Makefile ] || exit 0; \
39370 r=`${PWD_COMMAND}`; export r; \
39371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39372 $(HOST_EXPORTS) \
39373 for flag in $(EXTRA_HOST_FLAGS) ; do \
39374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39375 done; \
39376 echo "Doing info in libctf"; \
39377 (cd $(HOST_SUBDIR)/libctf && \
39378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39380 "RANLIB=$${RANLIB}" \
39381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39382 info) \
39383 || exit 1
39385 @endif libctf
39387 .PHONY: maybe-dvi-libctf dvi-libctf
39388 maybe-dvi-libctf:
39389 @if libctf
39390 maybe-dvi-libctf: dvi-libctf
39392 dvi-libctf: \
39393 configure-libctf
39394 @[ -f ./libctf/Makefile ] || exit 0; \
39395 r=`${PWD_COMMAND}`; export r; \
39396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39397 $(HOST_EXPORTS) \
39398 for flag in $(EXTRA_HOST_FLAGS) ; do \
39399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39400 done; \
39401 echo "Doing dvi in libctf"; \
39402 (cd $(HOST_SUBDIR)/libctf && \
39403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39405 "RANLIB=$${RANLIB}" \
39406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39407 dvi) \
39408 || exit 1
39410 @endif libctf
39412 .PHONY: maybe-pdf-libctf pdf-libctf
39413 maybe-pdf-libctf:
39414 @if libctf
39415 maybe-pdf-libctf: pdf-libctf
39417 pdf-libctf: \
39418 configure-libctf
39419 @[ -f ./libctf/Makefile ] || exit 0; \
39420 r=`${PWD_COMMAND}`; export r; \
39421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39422 $(HOST_EXPORTS) \
39423 for flag in $(EXTRA_HOST_FLAGS) ; do \
39424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39425 done; \
39426 echo "Doing pdf in libctf"; \
39427 (cd $(HOST_SUBDIR)/libctf && \
39428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39430 "RANLIB=$${RANLIB}" \
39431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39432 pdf) \
39433 || exit 1
39435 @endif libctf
39437 .PHONY: maybe-html-libctf html-libctf
39438 maybe-html-libctf:
39439 @if libctf
39440 maybe-html-libctf: html-libctf
39442 html-libctf: \
39443 configure-libctf
39444 @[ -f ./libctf/Makefile ] || exit 0; \
39445 r=`${PWD_COMMAND}`; export r; \
39446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39447 $(HOST_EXPORTS) \
39448 for flag in $(EXTRA_HOST_FLAGS) ; do \
39449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39450 done; \
39451 echo "Doing html in libctf"; \
39452 (cd $(HOST_SUBDIR)/libctf && \
39453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39455 "RANLIB=$${RANLIB}" \
39456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39457 html) \
39458 || exit 1
39460 @endif libctf
39462 .PHONY: maybe-TAGS-libctf TAGS-libctf
39463 maybe-TAGS-libctf:
39464 @if libctf
39465 maybe-TAGS-libctf: TAGS-libctf
39467 TAGS-libctf: \
39468 configure-libctf
39469 @[ -f ./libctf/Makefile ] || exit 0; \
39470 r=`${PWD_COMMAND}`; export r; \
39471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39472 $(HOST_EXPORTS) \
39473 for flag in $(EXTRA_HOST_FLAGS) ; do \
39474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39475 done; \
39476 echo "Doing TAGS in libctf"; \
39477 (cd $(HOST_SUBDIR)/libctf && \
39478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39480 "RANLIB=$${RANLIB}" \
39481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39482 TAGS) \
39483 || exit 1
39485 @endif libctf
39487 .PHONY: maybe-install-info-libctf install-info-libctf
39488 maybe-install-info-libctf:
39489 @if libctf
39490 maybe-install-info-libctf: install-info-libctf
39492 install-info-libctf: \
39493 configure-libctf \
39494 info-libctf
39495 @[ -f ./libctf/Makefile ] || exit 0; \
39496 r=`${PWD_COMMAND}`; export r; \
39497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39498 $(HOST_EXPORTS) \
39499 for flag in $(EXTRA_HOST_FLAGS) ; do \
39500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39501 done; \
39502 echo "Doing install-info in libctf"; \
39503 (cd $(HOST_SUBDIR)/libctf && \
39504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39506 "RANLIB=$${RANLIB}" \
39507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39508 install-info) \
39509 || exit 1
39511 @endif libctf
39513 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
39514 maybe-install-pdf-libctf:
39515 @if libctf
39516 maybe-install-pdf-libctf: install-pdf-libctf
39518 install-pdf-libctf: \
39519 configure-libctf \
39520 pdf-libctf
39521 @[ -f ./libctf/Makefile ] || exit 0; \
39522 r=`${PWD_COMMAND}`; export r; \
39523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39524 $(HOST_EXPORTS) \
39525 for flag in $(EXTRA_HOST_FLAGS) ; do \
39526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39527 done; \
39528 echo "Doing install-pdf in libctf"; \
39529 (cd $(HOST_SUBDIR)/libctf && \
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 libctf
39539 .PHONY: maybe-install-html-libctf install-html-libctf
39540 maybe-install-html-libctf:
39541 @if libctf
39542 maybe-install-html-libctf: install-html-libctf
39544 install-html-libctf: \
39545 configure-libctf \
39546 html-libctf
39547 @[ -f ./libctf/Makefile ] || exit 0; \
39548 r=`${PWD_COMMAND}`; export r; \
39549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39550 $(HOST_EXPORTS) \
39551 for flag in $(EXTRA_HOST_FLAGS) ; do \
39552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39553 done; \
39554 echo "Doing install-html in libctf"; \
39555 (cd $(HOST_SUBDIR)/libctf && \
39556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39558 "RANLIB=$${RANLIB}" \
39559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39560 install-html) \
39561 || exit 1
39563 @endif libctf
39565 .PHONY: maybe-installcheck-libctf installcheck-libctf
39566 maybe-installcheck-libctf:
39567 @if libctf
39568 maybe-installcheck-libctf: installcheck-libctf
39570 installcheck-libctf: \
39571 configure-libctf
39572 @[ -f ./libctf/Makefile ] || exit 0; \
39573 r=`${PWD_COMMAND}`; export r; \
39574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39575 $(HOST_EXPORTS) \
39576 for flag in $(EXTRA_HOST_FLAGS) ; do \
39577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39578 done; \
39579 echo "Doing installcheck in libctf"; \
39580 (cd $(HOST_SUBDIR)/libctf && \
39581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39583 "RANLIB=$${RANLIB}" \
39584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39585 installcheck) \
39586 || exit 1
39588 @endif libctf
39590 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
39591 maybe-mostlyclean-libctf:
39592 @if libctf
39593 maybe-mostlyclean-libctf: mostlyclean-libctf
39595 mostlyclean-libctf:
39596 @[ -f ./libctf/Makefile ] || exit 0; \
39597 r=`${PWD_COMMAND}`; export r; \
39598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39599 $(HOST_EXPORTS) \
39600 for flag in $(EXTRA_HOST_FLAGS) ; do \
39601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39602 done; \
39603 echo "Doing mostlyclean in libctf"; \
39604 (cd $(HOST_SUBDIR)/libctf && \
39605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39607 "RANLIB=$${RANLIB}" \
39608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39609 mostlyclean) \
39610 || exit 1
39612 @endif libctf
39614 .PHONY: maybe-clean-libctf clean-libctf
39615 maybe-clean-libctf:
39616 @if libctf
39617 maybe-clean-libctf: clean-libctf
39619 clean-libctf:
39620 @[ -f ./libctf/Makefile ] || exit 0; \
39621 r=`${PWD_COMMAND}`; export r; \
39622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39623 $(HOST_EXPORTS) \
39624 for flag in $(EXTRA_HOST_FLAGS) ; do \
39625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39626 done; \
39627 echo "Doing clean in libctf"; \
39628 (cd $(HOST_SUBDIR)/libctf && \
39629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39631 "RANLIB=$${RANLIB}" \
39632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39633 clean) \
39634 || exit 1
39636 @endif libctf
39638 .PHONY: maybe-distclean-libctf distclean-libctf
39639 maybe-distclean-libctf:
39640 @if libctf
39641 maybe-distclean-libctf: distclean-libctf
39643 distclean-libctf:
39644 @[ -f ./libctf/Makefile ] || exit 0; \
39645 r=`${PWD_COMMAND}`; export r; \
39646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39647 $(HOST_EXPORTS) \
39648 for flag in $(EXTRA_HOST_FLAGS) ; do \
39649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39650 done; \
39651 echo "Doing distclean in libctf"; \
39652 (cd $(HOST_SUBDIR)/libctf && \
39653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39655 "RANLIB=$${RANLIB}" \
39656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39657 distclean) \
39658 || exit 1
39660 @endif libctf
39662 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
39663 maybe-maintainer-clean-libctf:
39664 @if libctf
39665 maybe-maintainer-clean-libctf: maintainer-clean-libctf
39667 maintainer-clean-libctf:
39668 @[ -f ./libctf/Makefile ] || exit 0; \
39669 r=`${PWD_COMMAND}`; export r; \
39670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39671 $(HOST_EXPORTS) \
39672 for flag in $(EXTRA_HOST_FLAGS) ; do \
39673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39674 done; \
39675 echo "Doing maintainer-clean in libctf"; \
39676 (cd $(HOST_SUBDIR)/libctf && \
39677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39679 "RANLIB=$${RANLIB}" \
39680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39681 maintainer-clean) \
39682 || exit 1
39684 @endif libctf
39688 # ---------------------------------------
39689 # Modules which run on the target machine
39690 # ---------------------------------------
39695 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
39696 maybe-configure-target-libstdc++-v3:
39697 @if gcc-bootstrap
39698 configure-target-libstdc++-v3: stage_current
39699 @endif gcc-bootstrap
39700 @if target-libstdc++-v3
39701 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
39702 configure-target-libstdc++-v3:
39703 @r=`${PWD_COMMAND}`; export r; \
39704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39705 echo "Checking multilib configuration for libstdc++-v3..."; \
39706 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39707 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39708 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39709 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39710 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39711 else \
39712 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39713 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39714 fi; \
39715 else \
39716 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39717 fi; \
39718 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39719 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39720 $(RAW_CXX_TARGET_EXPORTS) \
39721 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
39722 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
39723 case $(srcdir) in \
39724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39725 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39727 esac; \
39728 module_srcdir=libstdc++-v3; \
39729 rm -f no-such-file || : ; \
39730 CONFIG_SITE=no-such-file $(SHELL) \
39731 $$s/$$module_srcdir/configure \
39732 --srcdir=$${topdir}/$$module_srcdir \
39733 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39734 --target=${target_alias} \
39735 || exit 1
39736 @endif target-libstdc++-v3
39740 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
39741 maybe-configure-stage1-target-libstdc++-v3:
39742 @if target-libstdc++-v3-bootstrap
39743 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
39744 configure-stage1-target-libstdc++-v3:
39745 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39746 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39747 @r=`${PWD_COMMAND}`; export r; \
39748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39749 TFLAGS="$(STAGE1_TFLAGS)"; \
39750 echo "Checking multilib configuration for libstdc++-v3..."; \
39751 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39752 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39753 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39754 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39755 else \
39756 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39757 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39758 fi; \
39759 else \
39760 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39761 fi; \
39762 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39763 $(RAW_CXX_TARGET_EXPORTS) \
39764 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39765 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39766 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39767 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
39768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39769 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39770 case $(srcdir) in \
39771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39772 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39774 esac; \
39775 module_srcdir=libstdc++-v3; \
39776 $(SHELL) $$s/$$module_srcdir/configure \
39777 --srcdir=$${topdir}/$$module_srcdir \
39778 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39779 --target=${target_alias} \
39781 $(STAGE1_CONFIGURE_FLAGS)
39782 @endif target-libstdc++-v3-bootstrap
39784 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
39785 maybe-configure-stage2-target-libstdc++-v3:
39786 @if target-libstdc++-v3-bootstrap
39787 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
39788 configure-stage2-target-libstdc++-v3:
39789 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39790 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39791 @r=`${PWD_COMMAND}`; export r; \
39792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39793 TFLAGS="$(STAGE2_TFLAGS)"; \
39794 echo "Checking multilib configuration for libstdc++-v3..."; \
39795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39796 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39797 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39798 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39799 else \
39800 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39801 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39802 fi; \
39803 else \
39804 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39805 fi; \
39806 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39807 $(RAW_CXX_TARGET_EXPORTS) \
39809 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39810 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39811 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39812 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
39813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39814 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39815 case $(srcdir) in \
39816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39817 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39819 esac; \
39820 module_srcdir=libstdc++-v3; \
39821 $(SHELL) $$s/$$module_srcdir/configure \
39822 --srcdir=$${topdir}/$$module_srcdir \
39823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39824 --target=${target_alias} \
39825 --with-build-libsubdir=$(HOST_SUBDIR) \
39826 $(STAGE2_CONFIGURE_FLAGS)
39827 @endif target-libstdc++-v3-bootstrap
39829 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
39830 maybe-configure-stage3-target-libstdc++-v3:
39831 @if target-libstdc++-v3-bootstrap
39832 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
39833 configure-stage3-target-libstdc++-v3:
39834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39835 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39836 @r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 TFLAGS="$(STAGE3_TFLAGS)"; \
39839 echo "Checking multilib configuration for libstdc++-v3..."; \
39840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39841 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39842 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39843 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39844 else \
39845 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39846 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39847 fi; \
39848 else \
39849 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39850 fi; \
39851 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39852 $(RAW_CXX_TARGET_EXPORTS) \
39854 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39855 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39856 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39857 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
39858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39859 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39860 case $(srcdir) in \
39861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39862 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39864 esac; \
39865 module_srcdir=libstdc++-v3; \
39866 $(SHELL) $$s/$$module_srcdir/configure \
39867 --srcdir=$${topdir}/$$module_srcdir \
39868 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39869 --target=${target_alias} \
39870 --with-build-libsubdir=$(HOST_SUBDIR) \
39871 $(STAGE3_CONFIGURE_FLAGS)
39872 @endif target-libstdc++-v3-bootstrap
39874 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
39875 maybe-configure-stage4-target-libstdc++-v3:
39876 @if target-libstdc++-v3-bootstrap
39877 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
39878 configure-stage4-target-libstdc++-v3:
39879 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39880 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39881 @r=`${PWD_COMMAND}`; export r; \
39882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39883 TFLAGS="$(STAGE4_TFLAGS)"; \
39884 echo "Checking multilib configuration for libstdc++-v3..."; \
39885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39886 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39887 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39888 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39889 else \
39890 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39891 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39892 fi; \
39893 else \
39894 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39895 fi; \
39896 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39897 $(RAW_CXX_TARGET_EXPORTS) \
39899 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39902 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
39903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39904 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39905 case $(srcdir) in \
39906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39907 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39909 esac; \
39910 module_srcdir=libstdc++-v3; \
39911 $(SHELL) $$s/$$module_srcdir/configure \
39912 --srcdir=$${topdir}/$$module_srcdir \
39913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39914 --target=${target_alias} \
39915 --with-build-libsubdir=$(HOST_SUBDIR) \
39916 $(STAGE4_CONFIGURE_FLAGS)
39917 @endif target-libstdc++-v3-bootstrap
39919 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
39920 maybe-configure-stageprofile-target-libstdc++-v3:
39921 @if target-libstdc++-v3-bootstrap
39922 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
39923 configure-stageprofile-target-libstdc++-v3:
39924 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39925 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39926 @r=`${PWD_COMMAND}`; export r; \
39927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39928 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39929 echo "Checking multilib configuration for libstdc++-v3..."; \
39930 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39931 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39932 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39933 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39934 else \
39935 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39936 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39937 fi; \
39938 else \
39939 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39940 fi; \
39941 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39942 $(RAW_CXX_TARGET_EXPORTS) \
39944 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39945 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39946 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39947 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
39948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39949 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39950 case $(srcdir) in \
39951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39952 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39954 esac; \
39955 module_srcdir=libstdc++-v3; \
39956 $(SHELL) $$s/$$module_srcdir/configure \
39957 --srcdir=$${topdir}/$$module_srcdir \
39958 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39959 --target=${target_alias} \
39960 --with-build-libsubdir=$(HOST_SUBDIR) \
39961 $(STAGEprofile_CONFIGURE_FLAGS)
39962 @endif target-libstdc++-v3-bootstrap
39964 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
39965 maybe-configure-stagetrain-target-libstdc++-v3:
39966 @if target-libstdc++-v3-bootstrap
39967 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
39968 configure-stagetrain-target-libstdc++-v3:
39969 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39970 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39971 @r=`${PWD_COMMAND}`; export r; \
39972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39973 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39974 echo "Checking multilib configuration for libstdc++-v3..."; \
39975 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39976 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39977 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39978 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39979 else \
39980 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39981 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39982 fi; \
39983 else \
39984 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39985 fi; \
39986 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39987 $(RAW_CXX_TARGET_EXPORTS) \
39989 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39990 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39991 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39992 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
39993 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39994 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39995 case $(srcdir) in \
39996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39997 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39999 esac; \
40000 module_srcdir=libstdc++-v3; \
40001 $(SHELL) $$s/$$module_srcdir/configure \
40002 --srcdir=$${topdir}/$$module_srcdir \
40003 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40004 --target=${target_alias} \
40005 --with-build-libsubdir=$(HOST_SUBDIR) \
40006 $(STAGEtrain_CONFIGURE_FLAGS)
40007 @endif target-libstdc++-v3-bootstrap
40009 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
40010 maybe-configure-stagefeedback-target-libstdc++-v3:
40011 @if target-libstdc++-v3-bootstrap
40012 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
40013 configure-stagefeedback-target-libstdc++-v3:
40014 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40015 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40016 @r=`${PWD_COMMAND}`; export r; \
40017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40018 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40019 echo "Checking multilib configuration for libstdc++-v3..."; \
40020 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40021 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40022 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40023 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40024 else \
40025 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40026 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40027 fi; \
40028 else \
40029 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40030 fi; \
40031 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40032 $(RAW_CXX_TARGET_EXPORTS) \
40034 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40035 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40036 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40037 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
40038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40039 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40040 case $(srcdir) in \
40041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40042 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40044 esac; \
40045 module_srcdir=libstdc++-v3; \
40046 $(SHELL) $$s/$$module_srcdir/configure \
40047 --srcdir=$${topdir}/$$module_srcdir \
40048 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40049 --target=${target_alias} \
40050 --with-build-libsubdir=$(HOST_SUBDIR) \
40051 $(STAGEfeedback_CONFIGURE_FLAGS)
40052 @endif target-libstdc++-v3-bootstrap
40054 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
40055 maybe-configure-stageautoprofile-target-libstdc++-v3:
40056 @if target-libstdc++-v3-bootstrap
40057 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40058 configure-stageautoprofile-target-libstdc++-v3:
40059 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40060 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40061 @r=`${PWD_COMMAND}`; export r; \
40062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40063 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40064 echo "Checking multilib configuration for libstdc++-v3..."; \
40065 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40066 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40067 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40068 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40069 else \
40070 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40071 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40072 fi; \
40073 else \
40074 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40075 fi; \
40076 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40077 $(RAW_CXX_TARGET_EXPORTS) \
40079 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40080 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40081 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40082 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
40083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40084 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40085 case $(srcdir) in \
40086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40087 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40089 esac; \
40090 module_srcdir=libstdc++-v3; \
40091 $(SHELL) $$s/$$module_srcdir/configure \
40092 --srcdir=$${topdir}/$$module_srcdir \
40093 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40094 --target=${target_alias} \
40095 --with-build-libsubdir=$(HOST_SUBDIR) \
40096 $(STAGEautoprofile_CONFIGURE_FLAGS)
40097 @endif target-libstdc++-v3-bootstrap
40099 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
40100 maybe-configure-stageautofeedback-target-libstdc++-v3:
40101 @if target-libstdc++-v3-bootstrap
40102 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
40103 configure-stageautofeedback-target-libstdc++-v3:
40104 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40105 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40106 @r=`${PWD_COMMAND}`; export r; \
40107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40108 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40109 echo "Checking multilib configuration for libstdc++-v3..."; \
40110 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40111 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40112 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40113 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40114 else \
40115 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40116 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40117 fi; \
40118 else \
40119 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40120 fi; \
40121 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40122 $(RAW_CXX_TARGET_EXPORTS) \
40124 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40125 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40126 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40127 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
40128 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40129 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40130 case $(srcdir) in \
40131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40132 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40134 esac; \
40135 module_srcdir=libstdc++-v3; \
40136 $(SHELL) $$s/$$module_srcdir/configure \
40137 --srcdir=$${topdir}/$$module_srcdir \
40138 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40139 --target=${target_alias} \
40140 --with-build-libsubdir=$(HOST_SUBDIR) \
40141 $(STAGEautofeedback_CONFIGURE_FLAGS)
40142 @endif target-libstdc++-v3-bootstrap
40148 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
40149 maybe-all-target-libstdc++-v3:
40150 @if gcc-bootstrap
40151 all-target-libstdc++-v3: stage_current
40152 @endif gcc-bootstrap
40153 @if target-libstdc++-v3
40154 TARGET-target-libstdc++-v3=all
40155 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
40156 all-target-libstdc++-v3: configure-target-libstdc++-v3
40157 @r=`${PWD_COMMAND}`; export r; \
40158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40159 $(RAW_CXX_TARGET_EXPORTS) \
40160 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40161 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40162 $(TARGET-target-libstdc++-v3))
40163 @endif target-libstdc++-v3
40167 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
40168 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
40169 maybe-all-stage1-target-libstdc++-v3:
40170 maybe-clean-stage1-target-libstdc++-v3:
40171 @if target-libstdc++-v3-bootstrap
40172 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
40173 all-stage1: all-stage1-target-libstdc++-v3
40174 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40175 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
40176 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40177 @r=`${PWD_COMMAND}`; export r; \
40178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40179 TFLAGS="$(STAGE1_TFLAGS)"; \
40180 $(RAW_CXX_TARGET_EXPORTS) \
40181 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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)' \
40192 TFLAGS="$(STAGE1_TFLAGS)" \
40193 $(TARGET-stage1-target-libstdc++-v3)
40195 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
40196 clean-stage1: clean-stage1-target-libstdc++-v3
40197 clean-stage1-target-libstdc++-v3:
40198 @if [ $(current_stage) = stage1 ]; then \
40199 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40200 else \
40201 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
40202 $(MAKE) stage1-start; \
40203 fi; \
40204 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40205 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40206 clean
40207 @endif target-libstdc++-v3-bootstrap
40210 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
40211 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
40212 maybe-all-stage2-target-libstdc++-v3:
40213 maybe-clean-stage2-target-libstdc++-v3:
40214 @if target-libstdc++-v3-bootstrap
40215 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
40216 all-stage2: all-stage2-target-libstdc++-v3
40217 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40218 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
40219 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40220 @r=`${PWD_COMMAND}`; export r; \
40221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40222 TFLAGS="$(STAGE2_TFLAGS)"; \
40223 $(RAW_CXX_TARGET_EXPORTS) \
40225 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40228 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40234 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40235 TFLAGS="$(STAGE2_TFLAGS)" \
40236 $(TARGET-stage2-target-libstdc++-v3)
40238 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
40239 clean-stage2: clean-stage2-target-libstdc++-v3
40240 clean-stage2-target-libstdc++-v3:
40241 @if [ $(current_stage) = stage2 ]; then \
40242 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40243 else \
40244 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
40245 $(MAKE) stage2-start; \
40246 fi; \
40247 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40248 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40249 @endif target-libstdc++-v3-bootstrap
40252 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
40253 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
40254 maybe-all-stage3-target-libstdc++-v3:
40255 maybe-clean-stage3-target-libstdc++-v3:
40256 @if target-libstdc++-v3-bootstrap
40257 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
40258 all-stage3: all-stage3-target-libstdc++-v3
40259 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40260 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
40261 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40262 @r=`${PWD_COMMAND}`; export r; \
40263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40264 TFLAGS="$(STAGE3_TFLAGS)"; \
40265 $(RAW_CXX_TARGET_EXPORTS) \
40267 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40270 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40271 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40272 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40276 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40277 TFLAGS="$(STAGE3_TFLAGS)" \
40278 $(TARGET-stage3-target-libstdc++-v3)
40280 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
40281 clean-stage3: clean-stage3-target-libstdc++-v3
40282 clean-stage3-target-libstdc++-v3:
40283 @if [ $(current_stage) = stage3 ]; then \
40284 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40285 else \
40286 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
40287 $(MAKE) stage3-start; \
40288 fi; \
40289 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40290 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40291 @endif target-libstdc++-v3-bootstrap
40294 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
40295 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
40296 maybe-all-stage4-target-libstdc++-v3:
40297 maybe-clean-stage4-target-libstdc++-v3:
40298 @if target-libstdc++-v3-bootstrap
40299 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
40300 all-stage4: all-stage4-target-libstdc++-v3
40301 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40302 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
40303 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40304 @r=`${PWD_COMMAND}`; export r; \
40305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40306 TFLAGS="$(STAGE4_TFLAGS)"; \
40307 $(RAW_CXX_TARGET_EXPORTS) \
40309 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40312 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40313 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40314 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40318 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40319 TFLAGS="$(STAGE4_TFLAGS)" \
40320 $(TARGET-stage4-target-libstdc++-v3)
40322 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
40323 clean-stage4: clean-stage4-target-libstdc++-v3
40324 clean-stage4-target-libstdc++-v3:
40325 @if [ $(current_stage) = stage4 ]; then \
40326 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40327 else \
40328 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
40329 $(MAKE) stage4-start; \
40330 fi; \
40331 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40332 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40333 @endif target-libstdc++-v3-bootstrap
40336 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
40337 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
40338 maybe-all-stageprofile-target-libstdc++-v3:
40339 maybe-clean-stageprofile-target-libstdc++-v3:
40340 @if target-libstdc++-v3-bootstrap
40341 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
40342 all-stageprofile: all-stageprofile-target-libstdc++-v3
40343 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40344 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
40345 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40346 @r=`${PWD_COMMAND}`; export r; \
40347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40348 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40349 $(RAW_CXX_TARGET_EXPORTS) \
40351 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40354 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40355 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40356 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40360 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40361 TFLAGS="$(STAGEprofile_TFLAGS)" \
40362 $(TARGET-stageprofile-target-libstdc++-v3)
40364 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
40365 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
40366 clean-stageprofile-target-libstdc++-v3:
40367 @if [ $(current_stage) = stageprofile ]; then \
40368 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40369 else \
40370 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
40371 $(MAKE) stageprofile-start; \
40372 fi; \
40373 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40374 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40375 @endif target-libstdc++-v3-bootstrap
40378 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
40379 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
40380 maybe-all-stagetrain-target-libstdc++-v3:
40381 maybe-clean-stagetrain-target-libstdc++-v3:
40382 @if target-libstdc++-v3-bootstrap
40383 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
40384 all-stagetrain: all-stagetrain-target-libstdc++-v3
40385 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40386 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
40387 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40388 @r=`${PWD_COMMAND}`; export r; \
40389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40390 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40391 $(RAW_CXX_TARGET_EXPORTS) \
40393 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40396 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40397 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40398 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40402 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40403 TFLAGS="$(STAGEtrain_TFLAGS)" \
40404 $(TARGET-stagetrain-target-libstdc++-v3)
40406 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
40407 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
40408 clean-stagetrain-target-libstdc++-v3:
40409 @if [ $(current_stage) = stagetrain ]; then \
40410 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40411 else \
40412 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
40413 $(MAKE) stagetrain-start; \
40414 fi; \
40415 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40416 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40417 @endif target-libstdc++-v3-bootstrap
40420 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
40421 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
40422 maybe-all-stagefeedback-target-libstdc++-v3:
40423 maybe-clean-stagefeedback-target-libstdc++-v3:
40424 @if target-libstdc++-v3-bootstrap
40425 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
40426 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
40427 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40428 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
40429 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40430 @r=`${PWD_COMMAND}`; export r; \
40431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40432 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40433 $(RAW_CXX_TARGET_EXPORTS) \
40435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40438 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40444 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40445 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40446 $(TARGET-stagefeedback-target-libstdc++-v3)
40448 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
40449 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
40450 clean-stagefeedback-target-libstdc++-v3:
40451 @if [ $(current_stage) = stagefeedback ]; then \
40452 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40453 else \
40454 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
40455 $(MAKE) stagefeedback-start; \
40456 fi; \
40457 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40458 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40459 @endif target-libstdc++-v3-bootstrap
40462 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
40463 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
40464 maybe-all-stageautoprofile-target-libstdc++-v3:
40465 maybe-clean-stageautoprofile-target-libstdc++-v3:
40466 @if target-libstdc++-v3-bootstrap
40467 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
40468 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
40469 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40470 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40471 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40472 @r=`${PWD_COMMAND}`; export r; \
40473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40474 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40475 $(RAW_CXX_TARGET_EXPORTS) \
40477 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40478 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40480 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40481 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40482 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40483 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40484 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40485 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40486 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40487 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40488 $(TARGET-stageautoprofile-target-libstdc++-v3)
40490 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
40491 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
40492 clean-stageautoprofile-target-libstdc++-v3:
40493 @if [ $(current_stage) = stageautoprofile ]; then \
40494 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40495 else \
40496 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
40497 $(MAKE) stageautoprofile-start; \
40498 fi; \
40499 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40500 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40501 @endif target-libstdc++-v3-bootstrap
40504 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
40505 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
40506 maybe-all-stageautofeedback-target-libstdc++-v3:
40507 maybe-clean-stageautofeedback-target-libstdc++-v3:
40508 @if target-libstdc++-v3-bootstrap
40509 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
40510 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
40511 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40512 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
40513 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40514 @r=`${PWD_COMMAND}`; export r; \
40515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40516 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40517 $(RAW_CXX_TARGET_EXPORTS) \
40519 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40522 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40523 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40524 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40528 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40529 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40530 $(TARGET-stageautofeedback-target-libstdc++-v3)
40532 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
40533 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
40534 clean-stageautofeedback-target-libstdc++-v3:
40535 @if [ $(current_stage) = stageautofeedback ]; then \
40536 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40537 else \
40538 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
40539 $(MAKE) stageautofeedback-start; \
40540 fi; \
40541 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40542 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40543 @endif target-libstdc++-v3-bootstrap
40550 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
40551 maybe-check-target-libstdc++-v3:
40552 @if target-libstdc++-v3
40553 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
40555 check-target-libstdc++-v3:
40556 @: $(MAKE); $(unstage)
40557 @r=`${PWD_COMMAND}`; export r; \
40558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40559 $(RAW_CXX_TARGET_EXPORTS) \
40560 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40561 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40563 @endif target-libstdc++-v3
40565 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
40566 maybe-install-target-libstdc++-v3:
40567 @if target-libstdc++-v3
40568 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
40570 install-target-libstdc++-v3: installdirs
40571 @: $(MAKE); $(unstage)
40572 @r=`${PWD_COMMAND}`; export r; \
40573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40574 $(RAW_CXX_TARGET_EXPORTS) \
40575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40576 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40578 @endif target-libstdc++-v3
40580 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
40581 maybe-install-strip-target-libstdc++-v3:
40582 @if target-libstdc++-v3
40583 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
40585 install-strip-target-libstdc++-v3: installdirs
40586 @: $(MAKE); $(unstage)
40587 @r=`${PWD_COMMAND}`; export r; \
40588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40589 $(RAW_CXX_TARGET_EXPORTS) \
40590 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40591 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40593 @endif target-libstdc++-v3
40595 # Other targets (info, dvi, pdf, etc.)
40597 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
40598 maybe-info-target-libstdc++-v3:
40599 @if target-libstdc++-v3
40600 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
40602 info-target-libstdc++-v3: \
40603 configure-target-libstdc++-v3
40604 @: $(MAKE); $(unstage)
40605 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40606 r=`${PWD_COMMAND}`; export r; \
40607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40608 $(RAW_CXX_TARGET_EXPORTS) \
40609 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40610 for flag in $(EXTRA_TARGET_FLAGS); do \
40611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40612 done; \
40613 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40616 "RANLIB=$${RANLIB}" \
40617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40618 info) \
40619 || exit 1
40621 @endif target-libstdc++-v3
40623 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
40624 maybe-dvi-target-libstdc++-v3:
40625 @if target-libstdc++-v3
40626 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
40628 dvi-target-libstdc++-v3: \
40629 configure-target-libstdc++-v3
40630 @: $(MAKE); $(unstage)
40631 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40632 r=`${PWD_COMMAND}`; export r; \
40633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40634 $(RAW_CXX_TARGET_EXPORTS) \
40635 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
40636 for flag in $(EXTRA_TARGET_FLAGS); do \
40637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40638 done; \
40639 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40642 "RANLIB=$${RANLIB}" \
40643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40644 dvi) \
40645 || exit 1
40647 @endif target-libstdc++-v3
40649 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
40650 maybe-pdf-target-libstdc++-v3:
40651 @if target-libstdc++-v3
40652 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
40654 pdf-target-libstdc++-v3: \
40655 configure-target-libstdc++-v3
40656 @: $(MAKE); $(unstage)
40657 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40658 r=`${PWD_COMMAND}`; export r; \
40659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40660 $(RAW_CXX_TARGET_EXPORTS) \
40661 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40662 for flag in $(EXTRA_TARGET_FLAGS); do \
40663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40664 done; \
40665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40668 "RANLIB=$${RANLIB}" \
40669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40670 pdf) \
40671 || exit 1
40673 @endif target-libstdc++-v3
40675 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
40676 maybe-html-target-libstdc++-v3:
40677 @if target-libstdc++-v3
40678 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
40680 html-target-libstdc++-v3: \
40681 configure-target-libstdc++-v3
40682 @: $(MAKE); $(unstage)
40683 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40684 r=`${PWD_COMMAND}`; export r; \
40685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40686 $(RAW_CXX_TARGET_EXPORTS) \
40687 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40688 for flag in $(EXTRA_TARGET_FLAGS); do \
40689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40690 done; \
40691 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40694 "RANLIB=$${RANLIB}" \
40695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40696 html) \
40697 || exit 1
40699 @endif target-libstdc++-v3
40701 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
40702 maybe-TAGS-target-libstdc++-v3:
40703 @if target-libstdc++-v3
40704 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
40706 TAGS-target-libstdc++-v3: \
40707 configure-target-libstdc++-v3
40708 @: $(MAKE); $(unstage)
40709 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40710 r=`${PWD_COMMAND}`; export r; \
40711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40712 $(RAW_CXX_TARGET_EXPORTS) \
40713 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
40714 for flag in $(EXTRA_TARGET_FLAGS); do \
40715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40716 done; \
40717 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40720 "RANLIB=$${RANLIB}" \
40721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40722 TAGS) \
40723 || exit 1
40725 @endif target-libstdc++-v3
40727 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
40728 maybe-install-info-target-libstdc++-v3:
40729 @if target-libstdc++-v3
40730 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
40732 install-info-target-libstdc++-v3: \
40733 configure-target-libstdc++-v3 \
40734 info-target-libstdc++-v3
40735 @: $(MAKE); $(unstage)
40736 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40737 r=`${PWD_COMMAND}`; export r; \
40738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40739 $(RAW_CXX_TARGET_EXPORTS) \
40740 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40741 for flag in $(EXTRA_TARGET_FLAGS); do \
40742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40743 done; \
40744 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40747 "RANLIB=$${RANLIB}" \
40748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40749 install-info) \
40750 || exit 1
40752 @endif target-libstdc++-v3
40754 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
40755 maybe-install-pdf-target-libstdc++-v3:
40756 @if target-libstdc++-v3
40757 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
40759 install-pdf-target-libstdc++-v3: \
40760 configure-target-libstdc++-v3 \
40761 pdf-target-libstdc++-v3
40762 @: $(MAKE); $(unstage)
40763 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40764 r=`${PWD_COMMAND}`; export r; \
40765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40766 $(RAW_CXX_TARGET_EXPORTS) \
40767 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40768 for flag in $(EXTRA_TARGET_FLAGS); do \
40769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40770 done; \
40771 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40774 "RANLIB=$${RANLIB}" \
40775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40776 install-pdf) \
40777 || exit 1
40779 @endif target-libstdc++-v3
40781 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
40782 maybe-install-html-target-libstdc++-v3:
40783 @if target-libstdc++-v3
40784 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
40786 install-html-target-libstdc++-v3: \
40787 configure-target-libstdc++-v3 \
40788 html-target-libstdc++-v3
40789 @: $(MAKE); $(unstage)
40790 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40791 r=`${PWD_COMMAND}`; export r; \
40792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40793 $(RAW_CXX_TARGET_EXPORTS) \
40794 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40795 for flag in $(EXTRA_TARGET_FLAGS); do \
40796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40797 done; \
40798 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40801 "RANLIB=$${RANLIB}" \
40802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40803 install-html) \
40804 || exit 1
40806 @endif target-libstdc++-v3
40808 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
40809 maybe-installcheck-target-libstdc++-v3:
40810 @if target-libstdc++-v3
40811 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
40813 installcheck-target-libstdc++-v3: \
40814 configure-target-libstdc++-v3
40815 @: $(MAKE); $(unstage)
40816 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40817 r=`${PWD_COMMAND}`; export r; \
40818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40819 $(RAW_CXX_TARGET_EXPORTS) \
40820 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
40821 for flag in $(EXTRA_TARGET_FLAGS); do \
40822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40823 done; \
40824 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40827 "RANLIB=$${RANLIB}" \
40828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40829 installcheck) \
40830 || exit 1
40832 @endif target-libstdc++-v3
40834 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
40835 maybe-mostlyclean-target-libstdc++-v3:
40836 @if target-libstdc++-v3
40837 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
40839 mostlyclean-target-libstdc++-v3:
40840 @: $(MAKE); $(unstage)
40841 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40842 r=`${PWD_COMMAND}`; export r; \
40843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40844 $(RAW_CXX_TARGET_EXPORTS) \
40845 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40846 for flag in $(EXTRA_TARGET_FLAGS); do \
40847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40848 done; \
40849 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40852 "RANLIB=$${RANLIB}" \
40853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40854 mostlyclean) \
40855 || exit 1
40857 @endif target-libstdc++-v3
40859 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
40860 maybe-clean-target-libstdc++-v3:
40861 @if target-libstdc++-v3
40862 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
40864 clean-target-libstdc++-v3:
40865 @: $(MAKE); $(unstage)
40866 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40867 r=`${PWD_COMMAND}`; export r; \
40868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40869 $(RAW_CXX_TARGET_EXPORTS) \
40870 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40871 for flag in $(EXTRA_TARGET_FLAGS); do \
40872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40873 done; \
40874 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40877 "RANLIB=$${RANLIB}" \
40878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40879 clean) \
40880 || exit 1
40882 @endif target-libstdc++-v3
40884 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
40885 maybe-distclean-target-libstdc++-v3:
40886 @if target-libstdc++-v3
40887 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
40889 distclean-target-libstdc++-v3:
40890 @: $(MAKE); $(unstage)
40891 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40892 r=`${PWD_COMMAND}`; export r; \
40893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40894 $(RAW_CXX_TARGET_EXPORTS) \
40895 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40896 for flag in $(EXTRA_TARGET_FLAGS); do \
40897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40898 done; \
40899 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40902 "RANLIB=$${RANLIB}" \
40903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40904 distclean) \
40905 || exit 1
40907 @endif target-libstdc++-v3
40909 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
40910 maybe-maintainer-clean-target-libstdc++-v3:
40911 @if target-libstdc++-v3
40912 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
40914 maintainer-clean-target-libstdc++-v3:
40915 @: $(MAKE); $(unstage)
40916 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40917 r=`${PWD_COMMAND}`; export r; \
40918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40919 $(RAW_CXX_TARGET_EXPORTS) \
40920 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40921 for flag in $(EXTRA_TARGET_FLAGS); do \
40922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40923 done; \
40924 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40927 "RANLIB=$${RANLIB}" \
40928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40929 maintainer-clean) \
40930 || exit 1
40932 @endif target-libstdc++-v3
40938 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
40939 maybe-configure-target-libsanitizer:
40940 @if gcc-bootstrap
40941 configure-target-libsanitizer: stage_current
40942 @endif gcc-bootstrap
40943 @if target-libsanitizer
40944 maybe-configure-target-libsanitizer: configure-target-libsanitizer
40945 configure-target-libsanitizer:
40946 @r=`${PWD_COMMAND}`; export r; \
40947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40948 echo "Checking multilib configuration for libsanitizer..."; \
40949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40950 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40951 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40952 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40953 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40954 else \
40955 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40956 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40957 fi; \
40958 else \
40959 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40960 fi; \
40961 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40963 $(RAW_CXX_TARGET_EXPORTS) \
40964 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
40965 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
40966 case $(srcdir) in \
40967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40968 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40970 esac; \
40971 module_srcdir=libsanitizer; \
40972 rm -f no-such-file || : ; \
40973 CONFIG_SITE=no-such-file $(SHELL) \
40974 $$s/$$module_srcdir/configure \
40975 --srcdir=$${topdir}/$$module_srcdir \
40976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40977 --target=${target_alias} \
40978 || exit 1
40979 @endif target-libsanitizer
40983 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
40984 maybe-configure-stage1-target-libsanitizer:
40985 @if target-libsanitizer-bootstrap
40986 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
40987 configure-stage1-target-libsanitizer:
40988 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40989 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40990 @r=`${PWD_COMMAND}`; export r; \
40991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40992 TFLAGS="$(STAGE1_TFLAGS)"; \
40993 echo "Checking multilib configuration for libsanitizer..."; \
40994 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40995 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40996 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40997 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40998 else \
40999 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41000 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41001 fi; \
41002 else \
41003 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41004 fi; \
41005 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41006 $(RAW_CXX_TARGET_EXPORTS) \
41007 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41009 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41010 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
41011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41012 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41013 case $(srcdir) in \
41014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41015 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41017 esac; \
41018 module_srcdir=libsanitizer; \
41019 $(SHELL) $$s/$$module_srcdir/configure \
41020 --srcdir=$${topdir}/$$module_srcdir \
41021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41022 --target=${target_alias} \
41024 $(STAGE1_CONFIGURE_FLAGS)
41025 @endif target-libsanitizer-bootstrap
41027 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
41028 maybe-configure-stage2-target-libsanitizer:
41029 @if target-libsanitizer-bootstrap
41030 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41031 configure-stage2-target-libsanitizer:
41032 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41033 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41034 @r=`${PWD_COMMAND}`; export r; \
41035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41036 TFLAGS="$(STAGE2_TFLAGS)"; \
41037 echo "Checking multilib configuration for libsanitizer..."; \
41038 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41039 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41040 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41041 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41042 else \
41043 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41044 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41045 fi; \
41046 else \
41047 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41048 fi; \
41049 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41050 $(RAW_CXX_TARGET_EXPORTS) \
41052 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41054 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41055 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
41056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41057 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41058 case $(srcdir) in \
41059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41060 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41062 esac; \
41063 module_srcdir=libsanitizer; \
41064 $(SHELL) $$s/$$module_srcdir/configure \
41065 --srcdir=$${topdir}/$$module_srcdir \
41066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41067 --target=${target_alias} \
41068 --with-build-libsubdir=$(HOST_SUBDIR) \
41069 $(STAGE2_CONFIGURE_FLAGS)
41070 @endif target-libsanitizer-bootstrap
41072 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
41073 maybe-configure-stage3-target-libsanitizer:
41074 @if target-libsanitizer-bootstrap
41075 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41076 configure-stage3-target-libsanitizer:
41077 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41078 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41079 @r=`${PWD_COMMAND}`; export r; \
41080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41081 TFLAGS="$(STAGE3_TFLAGS)"; \
41082 echo "Checking multilib configuration for libsanitizer..."; \
41083 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41084 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41085 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41086 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41087 else \
41088 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41089 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41090 fi; \
41091 else \
41092 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41093 fi; \
41094 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41095 $(RAW_CXX_TARGET_EXPORTS) \
41097 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41098 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41099 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41100 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
41101 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41102 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41103 case $(srcdir) in \
41104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41105 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41107 esac; \
41108 module_srcdir=libsanitizer; \
41109 $(SHELL) $$s/$$module_srcdir/configure \
41110 --srcdir=$${topdir}/$$module_srcdir \
41111 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41112 --target=${target_alias} \
41113 --with-build-libsubdir=$(HOST_SUBDIR) \
41114 $(STAGE3_CONFIGURE_FLAGS)
41115 @endif target-libsanitizer-bootstrap
41117 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
41118 maybe-configure-stage4-target-libsanitizer:
41119 @if target-libsanitizer-bootstrap
41120 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
41121 configure-stage4-target-libsanitizer:
41122 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41123 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41124 @r=`${PWD_COMMAND}`; export r; \
41125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41126 TFLAGS="$(STAGE4_TFLAGS)"; \
41127 echo "Checking multilib configuration for libsanitizer..."; \
41128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41129 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41130 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41131 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41132 else \
41133 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41134 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41135 fi; \
41136 else \
41137 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41138 fi; \
41139 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41140 $(RAW_CXX_TARGET_EXPORTS) \
41142 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41143 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41144 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41145 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
41146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41147 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41148 case $(srcdir) in \
41149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41150 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41152 esac; \
41153 module_srcdir=libsanitizer; \
41154 $(SHELL) $$s/$$module_srcdir/configure \
41155 --srcdir=$${topdir}/$$module_srcdir \
41156 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41157 --target=${target_alias} \
41158 --with-build-libsubdir=$(HOST_SUBDIR) \
41159 $(STAGE4_CONFIGURE_FLAGS)
41160 @endif target-libsanitizer-bootstrap
41162 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
41163 maybe-configure-stageprofile-target-libsanitizer:
41164 @if target-libsanitizer-bootstrap
41165 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
41166 configure-stageprofile-target-libsanitizer:
41167 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41168 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41169 @r=`${PWD_COMMAND}`; export r; \
41170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41171 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41172 echo "Checking multilib configuration for libsanitizer..."; \
41173 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41174 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41175 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41176 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41177 else \
41178 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41179 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41180 fi; \
41181 else \
41182 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41183 fi; \
41184 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41185 $(RAW_CXX_TARGET_EXPORTS) \
41187 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41188 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41189 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41190 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
41191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41192 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41193 case $(srcdir) in \
41194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41195 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41197 esac; \
41198 module_srcdir=libsanitizer; \
41199 $(SHELL) $$s/$$module_srcdir/configure \
41200 --srcdir=$${topdir}/$$module_srcdir \
41201 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41202 --target=${target_alias} \
41203 --with-build-libsubdir=$(HOST_SUBDIR) \
41204 $(STAGEprofile_CONFIGURE_FLAGS)
41205 @endif target-libsanitizer-bootstrap
41207 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
41208 maybe-configure-stagetrain-target-libsanitizer:
41209 @if target-libsanitizer-bootstrap
41210 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
41211 configure-stagetrain-target-libsanitizer:
41212 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41213 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41214 @r=`${PWD_COMMAND}`; export r; \
41215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41216 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41217 echo "Checking multilib configuration for libsanitizer..."; \
41218 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41219 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41220 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41221 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41222 else \
41223 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41224 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41225 fi; \
41226 else \
41227 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41228 fi; \
41229 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41230 $(RAW_CXX_TARGET_EXPORTS) \
41232 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41235 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
41236 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41237 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41238 case $(srcdir) in \
41239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41240 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41242 esac; \
41243 module_srcdir=libsanitizer; \
41244 $(SHELL) $$s/$$module_srcdir/configure \
41245 --srcdir=$${topdir}/$$module_srcdir \
41246 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41247 --target=${target_alias} \
41248 --with-build-libsubdir=$(HOST_SUBDIR) \
41249 $(STAGEtrain_CONFIGURE_FLAGS)
41250 @endif target-libsanitizer-bootstrap
41252 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
41253 maybe-configure-stagefeedback-target-libsanitizer:
41254 @if target-libsanitizer-bootstrap
41255 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
41256 configure-stagefeedback-target-libsanitizer:
41257 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41258 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41259 @r=`${PWD_COMMAND}`; export r; \
41260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41261 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41262 echo "Checking multilib configuration for libsanitizer..."; \
41263 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41264 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41265 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41266 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41267 else \
41268 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41269 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41270 fi; \
41271 else \
41272 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41273 fi; \
41274 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41275 $(RAW_CXX_TARGET_EXPORTS) \
41277 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41279 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41280 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
41281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41282 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41283 case $(srcdir) in \
41284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41285 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41287 esac; \
41288 module_srcdir=libsanitizer; \
41289 $(SHELL) $$s/$$module_srcdir/configure \
41290 --srcdir=$${topdir}/$$module_srcdir \
41291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41292 --target=${target_alias} \
41293 --with-build-libsubdir=$(HOST_SUBDIR) \
41294 $(STAGEfeedback_CONFIGURE_FLAGS)
41295 @endif target-libsanitizer-bootstrap
41297 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
41298 maybe-configure-stageautoprofile-target-libsanitizer:
41299 @if target-libsanitizer-bootstrap
41300 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
41301 configure-stageautoprofile-target-libsanitizer:
41302 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41303 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41304 @r=`${PWD_COMMAND}`; export r; \
41305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41306 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41307 echo "Checking multilib configuration for libsanitizer..."; \
41308 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41309 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41310 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41311 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41312 else \
41313 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41314 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41315 fi; \
41316 else \
41317 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41318 fi; \
41319 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41320 $(RAW_CXX_TARGET_EXPORTS) \
41322 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41325 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
41326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41327 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41328 case $(srcdir) in \
41329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41330 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41332 esac; \
41333 module_srcdir=libsanitizer; \
41334 $(SHELL) $$s/$$module_srcdir/configure \
41335 --srcdir=$${topdir}/$$module_srcdir \
41336 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41337 --target=${target_alias} \
41338 --with-build-libsubdir=$(HOST_SUBDIR) \
41339 $(STAGEautoprofile_CONFIGURE_FLAGS)
41340 @endif target-libsanitizer-bootstrap
41342 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
41343 maybe-configure-stageautofeedback-target-libsanitizer:
41344 @if target-libsanitizer-bootstrap
41345 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
41346 configure-stageautofeedback-target-libsanitizer:
41347 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41348 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41349 @r=`${PWD_COMMAND}`; export r; \
41350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41351 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41352 echo "Checking multilib configuration for libsanitizer..."; \
41353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41354 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41355 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41356 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41357 else \
41358 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41359 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41360 fi; \
41361 else \
41362 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41363 fi; \
41364 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41365 $(RAW_CXX_TARGET_EXPORTS) \
41367 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41368 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41369 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41370 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
41371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41372 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41373 case $(srcdir) in \
41374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41375 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41377 esac; \
41378 module_srcdir=libsanitizer; \
41379 $(SHELL) $$s/$$module_srcdir/configure \
41380 --srcdir=$${topdir}/$$module_srcdir \
41381 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41382 --target=${target_alias} \
41383 --with-build-libsubdir=$(HOST_SUBDIR) \
41384 $(STAGEautofeedback_CONFIGURE_FLAGS)
41385 @endif target-libsanitizer-bootstrap
41391 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
41392 maybe-all-target-libsanitizer:
41393 @if gcc-bootstrap
41394 all-target-libsanitizer: stage_current
41395 @endif gcc-bootstrap
41396 @if target-libsanitizer
41397 TARGET-target-libsanitizer=all
41398 maybe-all-target-libsanitizer: all-target-libsanitizer
41399 all-target-libsanitizer: configure-target-libsanitizer
41400 @r=`${PWD_COMMAND}`; export r; \
41401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41402 $(RAW_CXX_TARGET_EXPORTS) \
41403 (cd $(TARGET_SUBDIR)/libsanitizer && \
41404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41405 $(TARGET-target-libsanitizer))
41406 @endif target-libsanitizer
41410 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
41411 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
41412 maybe-all-stage1-target-libsanitizer:
41413 maybe-clean-stage1-target-libsanitizer:
41414 @if target-libsanitizer-bootstrap
41415 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
41416 all-stage1: all-stage1-target-libsanitizer
41417 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
41418 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
41419 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41420 @r=`${PWD_COMMAND}`; export r; \
41421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41422 TFLAGS="$(STAGE1_TFLAGS)"; \
41423 $(RAW_CXX_TARGET_EXPORTS) \
41424 cd $(TARGET_SUBDIR)/libsanitizer && \
41426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41427 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41429 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41433 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41435 TFLAGS="$(STAGE1_TFLAGS)" \
41436 $(TARGET-stage1-target-libsanitizer)
41438 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
41439 clean-stage1: clean-stage1-target-libsanitizer
41440 clean-stage1-target-libsanitizer:
41441 @if [ $(current_stage) = stage1 ]; then \
41442 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41443 else \
41444 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
41445 $(MAKE) stage1-start; \
41446 fi; \
41447 cd $(TARGET_SUBDIR)/libsanitizer && \
41448 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41449 clean
41450 @endif target-libsanitizer-bootstrap
41453 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
41454 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
41455 maybe-all-stage2-target-libsanitizer:
41456 maybe-clean-stage2-target-libsanitizer:
41457 @if target-libsanitizer-bootstrap
41458 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
41459 all-stage2: all-stage2-target-libsanitizer
41460 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
41461 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41463 @r=`${PWD_COMMAND}`; export r; \
41464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41465 TFLAGS="$(STAGE2_TFLAGS)"; \
41466 $(RAW_CXX_TARGET_EXPORTS) \
41468 cd $(TARGET_SUBDIR)/libsanitizer && \
41470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41471 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41472 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41473 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41477 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41478 TFLAGS="$(STAGE2_TFLAGS)" \
41479 $(TARGET-stage2-target-libsanitizer)
41481 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
41482 clean-stage2: clean-stage2-target-libsanitizer
41483 clean-stage2-target-libsanitizer:
41484 @if [ $(current_stage) = stage2 ]; then \
41485 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41486 else \
41487 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
41488 $(MAKE) stage2-start; \
41489 fi; \
41490 cd $(TARGET_SUBDIR)/libsanitizer && \
41491 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41492 @endif target-libsanitizer-bootstrap
41495 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
41496 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
41497 maybe-all-stage3-target-libsanitizer:
41498 maybe-clean-stage3-target-libsanitizer:
41499 @if target-libsanitizer-bootstrap
41500 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
41501 all-stage3: all-stage3-target-libsanitizer
41502 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
41503 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41504 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41505 @r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 TFLAGS="$(STAGE3_TFLAGS)"; \
41508 $(RAW_CXX_TARGET_EXPORTS) \
41510 cd $(TARGET_SUBDIR)/libsanitizer && \
41512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41513 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41519 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41520 TFLAGS="$(STAGE3_TFLAGS)" \
41521 $(TARGET-stage3-target-libsanitizer)
41523 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
41524 clean-stage3: clean-stage3-target-libsanitizer
41525 clean-stage3-target-libsanitizer:
41526 @if [ $(current_stage) = stage3 ]; then \
41527 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41528 else \
41529 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
41530 $(MAKE) stage3-start; \
41531 fi; \
41532 cd $(TARGET_SUBDIR)/libsanitizer && \
41533 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41534 @endif target-libsanitizer-bootstrap
41537 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
41538 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
41539 maybe-all-stage4-target-libsanitizer:
41540 maybe-clean-stage4-target-libsanitizer:
41541 @if target-libsanitizer-bootstrap
41542 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
41543 all-stage4: all-stage4-target-libsanitizer
41544 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
41545 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
41546 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41547 @r=`${PWD_COMMAND}`; export r; \
41548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41549 TFLAGS="$(STAGE4_TFLAGS)"; \
41550 $(RAW_CXX_TARGET_EXPORTS) \
41552 cd $(TARGET_SUBDIR)/libsanitizer && \
41554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41555 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41556 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41557 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41561 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41562 TFLAGS="$(STAGE4_TFLAGS)" \
41563 $(TARGET-stage4-target-libsanitizer)
41565 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
41566 clean-stage4: clean-stage4-target-libsanitizer
41567 clean-stage4-target-libsanitizer:
41568 @if [ $(current_stage) = stage4 ]; then \
41569 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41570 else \
41571 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
41572 $(MAKE) stage4-start; \
41573 fi; \
41574 cd $(TARGET_SUBDIR)/libsanitizer && \
41575 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41576 @endif target-libsanitizer-bootstrap
41579 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
41580 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
41581 maybe-all-stageprofile-target-libsanitizer:
41582 maybe-clean-stageprofile-target-libsanitizer:
41583 @if target-libsanitizer-bootstrap
41584 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
41585 all-stageprofile: all-stageprofile-target-libsanitizer
41586 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41587 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
41588 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41589 @r=`${PWD_COMMAND}`; export r; \
41590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41591 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41592 $(RAW_CXX_TARGET_EXPORTS) \
41594 cd $(TARGET_SUBDIR)/libsanitizer && \
41596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41597 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41598 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41599 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41603 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41604 TFLAGS="$(STAGEprofile_TFLAGS)" \
41605 $(TARGET-stageprofile-target-libsanitizer)
41607 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
41608 clean-stageprofile: clean-stageprofile-target-libsanitizer
41609 clean-stageprofile-target-libsanitizer:
41610 @if [ $(current_stage) = stageprofile ]; then \
41611 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41612 else \
41613 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
41614 $(MAKE) stageprofile-start; \
41615 fi; \
41616 cd $(TARGET_SUBDIR)/libsanitizer && \
41617 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41618 @endif target-libsanitizer-bootstrap
41621 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
41622 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
41623 maybe-all-stagetrain-target-libsanitizer:
41624 maybe-clean-stagetrain-target-libsanitizer:
41625 @if target-libsanitizer-bootstrap
41626 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
41627 all-stagetrain: all-stagetrain-target-libsanitizer
41628 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
41629 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
41630 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41631 @r=`${PWD_COMMAND}`; export r; \
41632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41633 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41634 $(RAW_CXX_TARGET_EXPORTS) \
41636 cd $(TARGET_SUBDIR)/libsanitizer && \
41638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41639 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41640 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41641 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41645 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41646 TFLAGS="$(STAGEtrain_TFLAGS)" \
41647 $(TARGET-stagetrain-target-libsanitizer)
41649 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
41650 clean-stagetrain: clean-stagetrain-target-libsanitizer
41651 clean-stagetrain-target-libsanitizer:
41652 @if [ $(current_stage) = stagetrain ]; then \
41653 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41654 else \
41655 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
41656 $(MAKE) stagetrain-start; \
41657 fi; \
41658 cd $(TARGET_SUBDIR)/libsanitizer && \
41659 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41660 @endif target-libsanitizer-bootstrap
41663 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
41664 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
41665 maybe-all-stagefeedback-target-libsanitizer:
41666 maybe-clean-stagefeedback-target-libsanitizer:
41667 @if target-libsanitizer-bootstrap
41668 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
41669 all-stagefeedback: all-stagefeedback-target-libsanitizer
41670 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41671 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
41672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41673 @r=`${PWD_COMMAND}`; export r; \
41674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41675 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41676 $(RAW_CXX_TARGET_EXPORTS) \
41678 cd $(TARGET_SUBDIR)/libsanitizer && \
41680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41681 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41682 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41683 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41687 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41688 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41689 $(TARGET-stagefeedback-target-libsanitizer)
41691 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
41692 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
41693 clean-stagefeedback-target-libsanitizer:
41694 @if [ $(current_stage) = stagefeedback ]; then \
41695 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41696 else \
41697 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
41698 $(MAKE) stagefeedback-start; \
41699 fi; \
41700 cd $(TARGET_SUBDIR)/libsanitizer && \
41701 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41702 @endif target-libsanitizer-bootstrap
41705 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
41706 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
41707 maybe-all-stageautoprofile-target-libsanitizer:
41708 maybe-clean-stageautoprofile-target-libsanitizer:
41709 @if target-libsanitizer-bootstrap
41710 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
41711 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
41712 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41713 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
41714 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41715 @r=`${PWD_COMMAND}`; export r; \
41716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41717 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41718 $(RAW_CXX_TARGET_EXPORTS) \
41720 cd $(TARGET_SUBDIR)/libsanitizer && \
41721 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41723 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41724 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41725 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41729 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41730 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41731 $(TARGET-stageautoprofile-target-libsanitizer)
41733 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
41734 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
41735 clean-stageautoprofile-target-libsanitizer:
41736 @if [ $(current_stage) = stageautoprofile ]; then \
41737 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41738 else \
41739 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
41740 $(MAKE) stageautoprofile-start; \
41741 fi; \
41742 cd $(TARGET_SUBDIR)/libsanitizer && \
41743 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41744 @endif target-libsanitizer-bootstrap
41747 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
41748 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
41749 maybe-all-stageautofeedback-target-libsanitizer:
41750 maybe-clean-stageautofeedback-target-libsanitizer:
41751 @if target-libsanitizer-bootstrap
41752 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
41753 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
41754 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41755 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
41756 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41757 @r=`${PWD_COMMAND}`; export r; \
41758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41759 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41760 $(RAW_CXX_TARGET_EXPORTS) \
41762 cd $(TARGET_SUBDIR)/libsanitizer && \
41764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41765 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41766 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41767 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41771 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41772 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41773 $(TARGET-stageautofeedback-target-libsanitizer)
41775 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
41776 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
41777 clean-stageautofeedback-target-libsanitizer:
41778 @if [ $(current_stage) = stageautofeedback ]; then \
41779 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41780 else \
41781 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
41782 $(MAKE) stageautofeedback-start; \
41783 fi; \
41784 cd $(TARGET_SUBDIR)/libsanitizer && \
41785 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41786 @endif target-libsanitizer-bootstrap
41793 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
41794 maybe-check-target-libsanitizer:
41795 @if target-libsanitizer
41796 maybe-check-target-libsanitizer: check-target-libsanitizer
41798 check-target-libsanitizer:
41799 @: $(MAKE); $(unstage)
41800 @r=`${PWD_COMMAND}`; export r; \
41801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41802 $(RAW_CXX_TARGET_EXPORTS) \
41803 (cd $(TARGET_SUBDIR)/libsanitizer && \
41804 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41806 @endif target-libsanitizer
41808 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
41809 maybe-install-target-libsanitizer:
41810 @if target-libsanitizer
41811 maybe-install-target-libsanitizer: install-target-libsanitizer
41813 install-target-libsanitizer: installdirs
41814 @: $(MAKE); $(unstage)
41815 @r=`${PWD_COMMAND}`; export r; \
41816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41817 $(RAW_CXX_TARGET_EXPORTS) \
41818 (cd $(TARGET_SUBDIR)/libsanitizer && \
41819 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41821 @endif target-libsanitizer
41823 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
41824 maybe-install-strip-target-libsanitizer:
41825 @if target-libsanitizer
41826 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
41828 install-strip-target-libsanitizer: installdirs
41829 @: $(MAKE); $(unstage)
41830 @r=`${PWD_COMMAND}`; export r; \
41831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41832 $(RAW_CXX_TARGET_EXPORTS) \
41833 (cd $(TARGET_SUBDIR)/libsanitizer && \
41834 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41836 @endif target-libsanitizer
41838 # Other targets (info, dvi, pdf, etc.)
41840 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
41841 maybe-info-target-libsanitizer:
41842 @if target-libsanitizer
41843 maybe-info-target-libsanitizer: info-target-libsanitizer
41845 info-target-libsanitizer: \
41846 configure-target-libsanitizer
41847 @: $(MAKE); $(unstage)
41848 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41849 r=`${PWD_COMMAND}`; export r; \
41850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41851 $(RAW_CXX_TARGET_EXPORTS) \
41852 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
41853 for flag in $(EXTRA_TARGET_FLAGS); do \
41854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41855 done; \
41856 (cd $(TARGET_SUBDIR)/libsanitizer && \
41857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41859 "RANLIB=$${RANLIB}" \
41860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41861 info) \
41862 || exit 1
41864 @endif target-libsanitizer
41866 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
41867 maybe-dvi-target-libsanitizer:
41868 @if target-libsanitizer
41869 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
41871 dvi-target-libsanitizer: \
41872 configure-target-libsanitizer
41873 @: $(MAKE); $(unstage)
41874 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41875 r=`${PWD_COMMAND}`; export r; \
41876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41877 $(RAW_CXX_TARGET_EXPORTS) \
41878 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
41879 for flag in $(EXTRA_TARGET_FLAGS); do \
41880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41881 done; \
41882 (cd $(TARGET_SUBDIR)/libsanitizer && \
41883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41885 "RANLIB=$${RANLIB}" \
41886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41887 dvi) \
41888 || exit 1
41890 @endif target-libsanitizer
41892 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
41893 maybe-pdf-target-libsanitizer:
41894 @if target-libsanitizer
41895 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
41897 pdf-target-libsanitizer: \
41898 configure-target-libsanitizer
41899 @: $(MAKE); $(unstage)
41900 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41901 r=`${PWD_COMMAND}`; export r; \
41902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41903 $(RAW_CXX_TARGET_EXPORTS) \
41904 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
41905 for flag in $(EXTRA_TARGET_FLAGS); do \
41906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41907 done; \
41908 (cd $(TARGET_SUBDIR)/libsanitizer && \
41909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41911 "RANLIB=$${RANLIB}" \
41912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41913 pdf) \
41914 || exit 1
41916 @endif target-libsanitizer
41918 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
41919 maybe-html-target-libsanitizer:
41920 @if target-libsanitizer
41921 maybe-html-target-libsanitizer: html-target-libsanitizer
41923 html-target-libsanitizer: \
41924 configure-target-libsanitizer
41925 @: $(MAKE); $(unstage)
41926 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41927 r=`${PWD_COMMAND}`; export r; \
41928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41929 $(RAW_CXX_TARGET_EXPORTS) \
41930 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
41931 for flag in $(EXTRA_TARGET_FLAGS); do \
41932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41933 done; \
41934 (cd $(TARGET_SUBDIR)/libsanitizer && \
41935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41937 "RANLIB=$${RANLIB}" \
41938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41939 html) \
41940 || exit 1
41942 @endif target-libsanitizer
41944 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
41945 maybe-TAGS-target-libsanitizer:
41946 @if target-libsanitizer
41947 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
41949 TAGS-target-libsanitizer: \
41950 configure-target-libsanitizer
41951 @: $(MAKE); $(unstage)
41952 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41953 r=`${PWD_COMMAND}`; export r; \
41954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41955 $(RAW_CXX_TARGET_EXPORTS) \
41956 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
41957 for flag in $(EXTRA_TARGET_FLAGS); do \
41958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41959 done; \
41960 (cd $(TARGET_SUBDIR)/libsanitizer && \
41961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41963 "RANLIB=$${RANLIB}" \
41964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41965 TAGS) \
41966 || exit 1
41968 @endif target-libsanitizer
41970 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
41971 maybe-install-info-target-libsanitizer:
41972 @if target-libsanitizer
41973 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
41975 install-info-target-libsanitizer: \
41976 configure-target-libsanitizer \
41977 info-target-libsanitizer
41978 @: $(MAKE); $(unstage)
41979 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41980 r=`${PWD_COMMAND}`; export r; \
41981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41982 $(RAW_CXX_TARGET_EXPORTS) \
41983 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
41984 for flag in $(EXTRA_TARGET_FLAGS); do \
41985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41986 done; \
41987 (cd $(TARGET_SUBDIR)/libsanitizer && \
41988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41990 "RANLIB=$${RANLIB}" \
41991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41992 install-info) \
41993 || exit 1
41995 @endif target-libsanitizer
41997 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
41998 maybe-install-pdf-target-libsanitizer:
41999 @if target-libsanitizer
42000 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
42002 install-pdf-target-libsanitizer: \
42003 configure-target-libsanitizer \
42004 pdf-target-libsanitizer
42005 @: $(MAKE); $(unstage)
42006 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42007 r=`${PWD_COMMAND}`; export r; \
42008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42009 $(RAW_CXX_TARGET_EXPORTS) \
42010 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
42011 for flag in $(EXTRA_TARGET_FLAGS); do \
42012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42013 done; \
42014 (cd $(TARGET_SUBDIR)/libsanitizer && \
42015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42017 "RANLIB=$${RANLIB}" \
42018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42019 install-pdf) \
42020 || exit 1
42022 @endif target-libsanitizer
42024 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
42025 maybe-install-html-target-libsanitizer:
42026 @if target-libsanitizer
42027 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
42029 install-html-target-libsanitizer: \
42030 configure-target-libsanitizer \
42031 html-target-libsanitizer
42032 @: $(MAKE); $(unstage)
42033 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42034 r=`${PWD_COMMAND}`; export r; \
42035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42036 $(RAW_CXX_TARGET_EXPORTS) \
42037 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
42038 for flag in $(EXTRA_TARGET_FLAGS); do \
42039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42040 done; \
42041 (cd $(TARGET_SUBDIR)/libsanitizer && \
42042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42044 "RANLIB=$${RANLIB}" \
42045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42046 install-html) \
42047 || exit 1
42049 @endif target-libsanitizer
42051 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
42052 maybe-installcheck-target-libsanitizer:
42053 @if target-libsanitizer
42054 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
42056 installcheck-target-libsanitizer: \
42057 configure-target-libsanitizer
42058 @: $(MAKE); $(unstage)
42059 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42060 r=`${PWD_COMMAND}`; export r; \
42061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42062 $(RAW_CXX_TARGET_EXPORTS) \
42063 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
42064 for flag in $(EXTRA_TARGET_FLAGS); do \
42065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42066 done; \
42067 (cd $(TARGET_SUBDIR)/libsanitizer && \
42068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42070 "RANLIB=$${RANLIB}" \
42071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42072 installcheck) \
42073 || exit 1
42075 @endif target-libsanitizer
42077 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
42078 maybe-mostlyclean-target-libsanitizer:
42079 @if target-libsanitizer
42080 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
42082 mostlyclean-target-libsanitizer:
42083 @: $(MAKE); $(unstage)
42084 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42085 r=`${PWD_COMMAND}`; export r; \
42086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42087 $(RAW_CXX_TARGET_EXPORTS) \
42088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
42089 for flag in $(EXTRA_TARGET_FLAGS); do \
42090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42091 done; \
42092 (cd $(TARGET_SUBDIR)/libsanitizer && \
42093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42095 "RANLIB=$${RANLIB}" \
42096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42097 mostlyclean) \
42098 || exit 1
42100 @endif target-libsanitizer
42102 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
42103 maybe-clean-target-libsanitizer:
42104 @if target-libsanitizer
42105 maybe-clean-target-libsanitizer: clean-target-libsanitizer
42107 clean-target-libsanitizer:
42108 @: $(MAKE); $(unstage)
42109 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42110 r=`${PWD_COMMAND}`; export r; \
42111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42112 $(RAW_CXX_TARGET_EXPORTS) \
42113 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
42114 for flag in $(EXTRA_TARGET_FLAGS); do \
42115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42116 done; \
42117 (cd $(TARGET_SUBDIR)/libsanitizer && \
42118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42120 "RANLIB=$${RANLIB}" \
42121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42122 clean) \
42123 || exit 1
42125 @endif target-libsanitizer
42127 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
42128 maybe-distclean-target-libsanitizer:
42129 @if target-libsanitizer
42130 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
42132 distclean-target-libsanitizer:
42133 @: $(MAKE); $(unstage)
42134 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42135 r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 $(RAW_CXX_TARGET_EXPORTS) \
42138 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
42139 for flag in $(EXTRA_TARGET_FLAGS); do \
42140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42141 done; \
42142 (cd $(TARGET_SUBDIR)/libsanitizer && \
42143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42145 "RANLIB=$${RANLIB}" \
42146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42147 distclean) \
42148 || exit 1
42150 @endif target-libsanitizer
42152 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
42153 maybe-maintainer-clean-target-libsanitizer:
42154 @if target-libsanitizer
42155 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
42157 maintainer-clean-target-libsanitizer:
42158 @: $(MAKE); $(unstage)
42159 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42160 r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(RAW_CXX_TARGET_EXPORTS) \
42163 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
42164 for flag in $(EXTRA_TARGET_FLAGS); do \
42165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42166 done; \
42167 (cd $(TARGET_SUBDIR)/libsanitizer && \
42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42170 "RANLIB=$${RANLIB}" \
42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42172 maintainer-clean) \
42173 || exit 1
42175 @endif target-libsanitizer
42181 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
42182 maybe-configure-target-libvtv:
42183 @if gcc-bootstrap
42184 configure-target-libvtv: stage_current
42185 @endif gcc-bootstrap
42186 @if target-libvtv
42187 maybe-configure-target-libvtv: configure-target-libvtv
42188 configure-target-libvtv:
42189 @r=`${PWD_COMMAND}`; export r; \
42190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42191 echo "Checking multilib configuration for libvtv..."; \
42192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42194 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42195 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42196 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42197 else \
42198 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42199 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42200 fi; \
42201 else \
42202 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42203 fi; \
42204 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42206 $(RAW_CXX_TARGET_EXPORTS) \
42207 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
42208 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
42209 case $(srcdir) in \
42210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42211 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42213 esac; \
42214 module_srcdir=libvtv; \
42215 rm -f no-such-file || : ; \
42216 CONFIG_SITE=no-such-file $(SHELL) \
42217 $$s/$$module_srcdir/configure \
42218 --srcdir=$${topdir}/$$module_srcdir \
42219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42220 --target=${target_alias} \
42221 || exit 1
42222 @endif target-libvtv
42226 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
42227 maybe-configure-stage1-target-libvtv:
42228 @if target-libvtv-bootstrap
42229 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
42230 configure-stage1-target-libvtv:
42231 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42232 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42233 @r=`${PWD_COMMAND}`; export r; \
42234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42235 TFLAGS="$(STAGE1_TFLAGS)"; \
42236 echo "Checking multilib configuration for libvtv..."; \
42237 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42238 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42239 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42240 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42241 else \
42242 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42243 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42244 fi; \
42245 else \
42246 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42247 fi; \
42248 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42249 $(RAW_CXX_TARGET_EXPORTS) \
42250 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42251 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42252 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42253 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
42254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42255 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42256 case $(srcdir) in \
42257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42258 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42260 esac; \
42261 module_srcdir=libvtv; \
42262 $(SHELL) $$s/$$module_srcdir/configure \
42263 --srcdir=$${topdir}/$$module_srcdir \
42264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42265 --target=${target_alias} \
42267 $(STAGE1_CONFIGURE_FLAGS)
42268 @endif target-libvtv-bootstrap
42270 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
42271 maybe-configure-stage2-target-libvtv:
42272 @if target-libvtv-bootstrap
42273 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
42274 configure-stage2-target-libvtv:
42275 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42276 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42277 @r=`${PWD_COMMAND}`; export r; \
42278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42279 TFLAGS="$(STAGE2_TFLAGS)"; \
42280 echo "Checking multilib configuration for libvtv..."; \
42281 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42282 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42283 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42284 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42285 else \
42286 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42287 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42288 fi; \
42289 else \
42290 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42291 fi; \
42292 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42293 $(RAW_CXX_TARGET_EXPORTS) \
42295 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42296 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42297 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42298 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
42299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42300 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42301 case $(srcdir) in \
42302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42303 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42305 esac; \
42306 module_srcdir=libvtv; \
42307 $(SHELL) $$s/$$module_srcdir/configure \
42308 --srcdir=$${topdir}/$$module_srcdir \
42309 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42310 --target=${target_alias} \
42311 --with-build-libsubdir=$(HOST_SUBDIR) \
42312 $(STAGE2_CONFIGURE_FLAGS)
42313 @endif target-libvtv-bootstrap
42315 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
42316 maybe-configure-stage3-target-libvtv:
42317 @if target-libvtv-bootstrap
42318 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
42319 configure-stage3-target-libvtv:
42320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42321 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42322 @r=`${PWD_COMMAND}`; export r; \
42323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42324 TFLAGS="$(STAGE3_TFLAGS)"; \
42325 echo "Checking multilib configuration for libvtv..."; \
42326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42327 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42328 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42329 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42330 else \
42331 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42332 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42333 fi; \
42334 else \
42335 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42336 fi; \
42337 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42338 $(RAW_CXX_TARGET_EXPORTS) \
42340 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42341 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42342 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42343 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
42344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42345 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42346 case $(srcdir) in \
42347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42348 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42350 esac; \
42351 module_srcdir=libvtv; \
42352 $(SHELL) $$s/$$module_srcdir/configure \
42353 --srcdir=$${topdir}/$$module_srcdir \
42354 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42355 --target=${target_alias} \
42356 --with-build-libsubdir=$(HOST_SUBDIR) \
42357 $(STAGE3_CONFIGURE_FLAGS)
42358 @endif target-libvtv-bootstrap
42360 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
42361 maybe-configure-stage4-target-libvtv:
42362 @if target-libvtv-bootstrap
42363 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
42364 configure-stage4-target-libvtv:
42365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42366 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42367 @r=`${PWD_COMMAND}`; export r; \
42368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42369 TFLAGS="$(STAGE4_TFLAGS)"; \
42370 echo "Checking multilib configuration for libvtv..."; \
42371 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42372 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42373 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42374 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42375 else \
42376 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42377 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42378 fi; \
42379 else \
42380 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42381 fi; \
42382 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42383 $(RAW_CXX_TARGET_EXPORTS) \
42385 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42386 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42387 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42388 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
42389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42390 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42391 case $(srcdir) in \
42392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42393 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42395 esac; \
42396 module_srcdir=libvtv; \
42397 $(SHELL) $$s/$$module_srcdir/configure \
42398 --srcdir=$${topdir}/$$module_srcdir \
42399 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42400 --target=${target_alias} \
42401 --with-build-libsubdir=$(HOST_SUBDIR) \
42402 $(STAGE4_CONFIGURE_FLAGS)
42403 @endif target-libvtv-bootstrap
42405 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
42406 maybe-configure-stageprofile-target-libvtv:
42407 @if target-libvtv-bootstrap
42408 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42409 configure-stageprofile-target-libvtv:
42410 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42411 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42412 @r=`${PWD_COMMAND}`; export r; \
42413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42414 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42415 echo "Checking multilib configuration for libvtv..."; \
42416 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42417 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42418 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42419 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42420 else \
42421 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42422 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42423 fi; \
42424 else \
42425 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42426 fi; \
42427 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42428 $(RAW_CXX_TARGET_EXPORTS) \
42430 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42431 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42432 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42433 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
42434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42435 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42436 case $(srcdir) in \
42437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42438 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42440 esac; \
42441 module_srcdir=libvtv; \
42442 $(SHELL) $$s/$$module_srcdir/configure \
42443 --srcdir=$${topdir}/$$module_srcdir \
42444 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42445 --target=${target_alias} \
42446 --with-build-libsubdir=$(HOST_SUBDIR) \
42447 $(STAGEprofile_CONFIGURE_FLAGS)
42448 @endif target-libvtv-bootstrap
42450 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
42451 maybe-configure-stagetrain-target-libvtv:
42452 @if target-libvtv-bootstrap
42453 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42454 configure-stagetrain-target-libvtv:
42455 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42456 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42457 @r=`${PWD_COMMAND}`; export r; \
42458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42459 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42460 echo "Checking multilib configuration for libvtv..."; \
42461 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42462 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42463 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42464 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42465 else \
42466 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42467 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42468 fi; \
42469 else \
42470 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42471 fi; \
42472 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42473 $(RAW_CXX_TARGET_EXPORTS) \
42475 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42476 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42477 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42478 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
42479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42480 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42481 case $(srcdir) in \
42482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42483 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42485 esac; \
42486 module_srcdir=libvtv; \
42487 $(SHELL) $$s/$$module_srcdir/configure \
42488 --srcdir=$${topdir}/$$module_srcdir \
42489 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42490 --target=${target_alias} \
42491 --with-build-libsubdir=$(HOST_SUBDIR) \
42492 $(STAGEtrain_CONFIGURE_FLAGS)
42493 @endif target-libvtv-bootstrap
42495 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
42496 maybe-configure-stagefeedback-target-libvtv:
42497 @if target-libvtv-bootstrap
42498 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42499 configure-stagefeedback-target-libvtv:
42500 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42501 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42502 @r=`${PWD_COMMAND}`; export r; \
42503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42504 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42505 echo "Checking multilib configuration for libvtv..."; \
42506 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42507 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42508 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42509 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42510 else \
42511 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42512 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42513 fi; \
42514 else \
42515 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42516 fi; \
42517 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42518 $(RAW_CXX_TARGET_EXPORTS) \
42520 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42521 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42522 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42523 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
42524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42525 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42526 case $(srcdir) in \
42527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42528 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42530 esac; \
42531 module_srcdir=libvtv; \
42532 $(SHELL) $$s/$$module_srcdir/configure \
42533 --srcdir=$${topdir}/$$module_srcdir \
42534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42535 --target=${target_alias} \
42536 --with-build-libsubdir=$(HOST_SUBDIR) \
42537 $(STAGEfeedback_CONFIGURE_FLAGS)
42538 @endif target-libvtv-bootstrap
42540 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
42541 maybe-configure-stageautoprofile-target-libvtv:
42542 @if target-libvtv-bootstrap
42543 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42544 configure-stageautoprofile-target-libvtv:
42545 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42546 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42547 @r=`${PWD_COMMAND}`; export r; \
42548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42549 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42550 echo "Checking multilib configuration for libvtv..."; \
42551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42552 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42553 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42554 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42555 else \
42556 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42557 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42558 fi; \
42559 else \
42560 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42561 fi; \
42562 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42563 $(RAW_CXX_TARGET_EXPORTS) \
42565 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42566 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42567 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42568 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
42569 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42570 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42571 case $(srcdir) in \
42572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42573 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42575 esac; \
42576 module_srcdir=libvtv; \
42577 $(SHELL) $$s/$$module_srcdir/configure \
42578 --srcdir=$${topdir}/$$module_srcdir \
42579 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42580 --target=${target_alias} \
42581 --with-build-libsubdir=$(HOST_SUBDIR) \
42582 $(STAGEautoprofile_CONFIGURE_FLAGS)
42583 @endif target-libvtv-bootstrap
42585 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
42586 maybe-configure-stageautofeedback-target-libvtv:
42587 @if target-libvtv-bootstrap
42588 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42589 configure-stageautofeedback-target-libvtv:
42590 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42591 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42592 @r=`${PWD_COMMAND}`; export r; \
42593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42594 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42595 echo "Checking multilib configuration for libvtv..."; \
42596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42597 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42598 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42599 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42600 else \
42601 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42602 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42603 fi; \
42604 else \
42605 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42606 fi; \
42607 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42608 $(RAW_CXX_TARGET_EXPORTS) \
42610 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42613 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
42614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42615 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42616 case $(srcdir) in \
42617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42618 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42620 esac; \
42621 module_srcdir=libvtv; \
42622 $(SHELL) $$s/$$module_srcdir/configure \
42623 --srcdir=$${topdir}/$$module_srcdir \
42624 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42625 --target=${target_alias} \
42626 --with-build-libsubdir=$(HOST_SUBDIR) \
42627 $(STAGEautofeedback_CONFIGURE_FLAGS)
42628 @endif target-libvtv-bootstrap
42634 .PHONY: all-target-libvtv maybe-all-target-libvtv
42635 maybe-all-target-libvtv:
42636 @if gcc-bootstrap
42637 all-target-libvtv: stage_current
42638 @endif gcc-bootstrap
42639 @if target-libvtv
42640 TARGET-target-libvtv=all
42641 maybe-all-target-libvtv: all-target-libvtv
42642 all-target-libvtv: configure-target-libvtv
42643 @r=`${PWD_COMMAND}`; export r; \
42644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42645 $(RAW_CXX_TARGET_EXPORTS) \
42646 (cd $(TARGET_SUBDIR)/libvtv && \
42647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42648 $(TARGET-target-libvtv))
42649 @endif target-libvtv
42653 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
42654 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
42655 maybe-all-stage1-target-libvtv:
42656 maybe-clean-stage1-target-libvtv:
42657 @if target-libvtv-bootstrap
42658 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
42659 all-stage1: all-stage1-target-libvtv
42660 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
42661 all-stage1-target-libvtv: configure-stage1-target-libvtv
42662 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42663 @r=`${PWD_COMMAND}`; export r; \
42664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42665 TFLAGS="$(STAGE1_TFLAGS)"; \
42666 $(RAW_CXX_TARGET_EXPORTS) \
42667 cd $(TARGET_SUBDIR)/libvtv && \
42669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42670 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42671 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42672 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42676 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42678 TFLAGS="$(STAGE1_TFLAGS)" \
42679 $(TARGET-stage1-target-libvtv)
42681 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
42682 clean-stage1: clean-stage1-target-libvtv
42683 clean-stage1-target-libvtv:
42684 @if [ $(current_stage) = stage1 ]; then \
42685 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42686 else \
42687 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
42688 $(MAKE) stage1-start; \
42689 fi; \
42690 cd $(TARGET_SUBDIR)/libvtv && \
42691 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42692 clean
42693 @endif target-libvtv-bootstrap
42696 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
42697 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
42698 maybe-all-stage2-target-libvtv:
42699 maybe-clean-stage2-target-libvtv:
42700 @if target-libvtv-bootstrap
42701 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
42702 all-stage2: all-stage2-target-libvtv
42703 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
42704 all-stage2-target-libvtv: configure-stage2-target-libvtv
42705 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42706 @r=`${PWD_COMMAND}`; export r; \
42707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42708 TFLAGS="$(STAGE2_TFLAGS)"; \
42709 $(RAW_CXX_TARGET_EXPORTS) \
42711 cd $(TARGET_SUBDIR)/libvtv && \
42713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42714 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42715 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42716 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42720 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42721 TFLAGS="$(STAGE2_TFLAGS)" \
42722 $(TARGET-stage2-target-libvtv)
42724 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
42725 clean-stage2: clean-stage2-target-libvtv
42726 clean-stage2-target-libvtv:
42727 @if [ $(current_stage) = stage2 ]; then \
42728 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42729 else \
42730 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
42731 $(MAKE) stage2-start; \
42732 fi; \
42733 cd $(TARGET_SUBDIR)/libvtv && \
42734 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42735 @endif target-libvtv-bootstrap
42738 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
42739 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
42740 maybe-all-stage3-target-libvtv:
42741 maybe-clean-stage3-target-libvtv:
42742 @if target-libvtv-bootstrap
42743 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
42744 all-stage3: all-stage3-target-libvtv
42745 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
42746 all-stage3-target-libvtv: configure-stage3-target-libvtv
42747 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42748 @r=`${PWD_COMMAND}`; export r; \
42749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42750 TFLAGS="$(STAGE3_TFLAGS)"; \
42751 $(RAW_CXX_TARGET_EXPORTS) \
42753 cd $(TARGET_SUBDIR)/libvtv && \
42755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42756 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42757 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42758 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42762 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42763 TFLAGS="$(STAGE3_TFLAGS)" \
42764 $(TARGET-stage3-target-libvtv)
42766 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
42767 clean-stage3: clean-stage3-target-libvtv
42768 clean-stage3-target-libvtv:
42769 @if [ $(current_stage) = stage3 ]; then \
42770 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42771 else \
42772 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
42773 $(MAKE) stage3-start; \
42774 fi; \
42775 cd $(TARGET_SUBDIR)/libvtv && \
42776 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42777 @endif target-libvtv-bootstrap
42780 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
42781 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
42782 maybe-all-stage4-target-libvtv:
42783 maybe-clean-stage4-target-libvtv:
42784 @if target-libvtv-bootstrap
42785 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
42786 all-stage4: all-stage4-target-libvtv
42787 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
42788 all-stage4-target-libvtv: configure-stage4-target-libvtv
42789 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42790 @r=`${PWD_COMMAND}`; export r; \
42791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42792 TFLAGS="$(STAGE4_TFLAGS)"; \
42793 $(RAW_CXX_TARGET_EXPORTS) \
42795 cd $(TARGET_SUBDIR)/libvtv && \
42797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42798 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42799 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42800 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42801 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42802 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42803 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42804 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42805 TFLAGS="$(STAGE4_TFLAGS)" \
42806 $(TARGET-stage4-target-libvtv)
42808 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
42809 clean-stage4: clean-stage4-target-libvtv
42810 clean-stage4-target-libvtv:
42811 @if [ $(current_stage) = stage4 ]; then \
42812 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42813 else \
42814 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
42815 $(MAKE) stage4-start; \
42816 fi; \
42817 cd $(TARGET_SUBDIR)/libvtv && \
42818 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42819 @endif target-libvtv-bootstrap
42822 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
42823 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
42824 maybe-all-stageprofile-target-libvtv:
42825 maybe-clean-stageprofile-target-libvtv:
42826 @if target-libvtv-bootstrap
42827 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
42828 all-stageprofile: all-stageprofile-target-libvtv
42829 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
42830 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42831 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42832 @r=`${PWD_COMMAND}`; export r; \
42833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42834 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42835 $(RAW_CXX_TARGET_EXPORTS) \
42837 cd $(TARGET_SUBDIR)/libvtv && \
42839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42840 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42841 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42842 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42846 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42847 TFLAGS="$(STAGEprofile_TFLAGS)" \
42848 $(TARGET-stageprofile-target-libvtv)
42850 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
42851 clean-stageprofile: clean-stageprofile-target-libvtv
42852 clean-stageprofile-target-libvtv:
42853 @if [ $(current_stage) = stageprofile ]; then \
42854 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42855 else \
42856 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
42857 $(MAKE) stageprofile-start; \
42858 fi; \
42859 cd $(TARGET_SUBDIR)/libvtv && \
42860 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42861 @endif target-libvtv-bootstrap
42864 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
42865 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
42866 maybe-all-stagetrain-target-libvtv:
42867 maybe-clean-stagetrain-target-libvtv:
42868 @if target-libvtv-bootstrap
42869 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
42870 all-stagetrain: all-stagetrain-target-libvtv
42871 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
42872 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42873 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42874 @r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42877 $(RAW_CXX_TARGET_EXPORTS) \
42879 cd $(TARGET_SUBDIR)/libvtv && \
42881 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42882 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42883 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42884 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42885 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42886 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42887 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42888 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42889 TFLAGS="$(STAGEtrain_TFLAGS)" \
42890 $(TARGET-stagetrain-target-libvtv)
42892 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
42893 clean-stagetrain: clean-stagetrain-target-libvtv
42894 clean-stagetrain-target-libvtv:
42895 @if [ $(current_stage) = stagetrain ]; then \
42896 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42897 else \
42898 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
42899 $(MAKE) stagetrain-start; \
42900 fi; \
42901 cd $(TARGET_SUBDIR)/libvtv && \
42902 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42903 @endif target-libvtv-bootstrap
42906 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
42907 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
42908 maybe-all-stagefeedback-target-libvtv:
42909 maybe-clean-stagefeedback-target-libvtv:
42910 @if target-libvtv-bootstrap
42911 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
42912 all-stagefeedback: all-stagefeedback-target-libvtv
42913 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
42914 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42915 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42916 @r=`${PWD_COMMAND}`; export r; \
42917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42918 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42919 $(RAW_CXX_TARGET_EXPORTS) \
42921 cd $(TARGET_SUBDIR)/libvtv && \
42923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42924 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42930 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42931 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42932 $(TARGET-stagefeedback-target-libvtv)
42934 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
42935 clean-stagefeedback: clean-stagefeedback-target-libvtv
42936 clean-stagefeedback-target-libvtv:
42937 @if [ $(current_stage) = stagefeedback ]; then \
42938 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42939 else \
42940 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
42941 $(MAKE) stagefeedback-start; \
42942 fi; \
42943 cd $(TARGET_SUBDIR)/libvtv && \
42944 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42945 @endif target-libvtv-bootstrap
42948 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
42949 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
42950 maybe-all-stageautoprofile-target-libvtv:
42951 maybe-clean-stageautoprofile-target-libvtv:
42952 @if target-libvtv-bootstrap
42953 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
42954 all-stageautoprofile: all-stageautoprofile-target-libvtv
42955 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
42956 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42957 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42958 @r=`${PWD_COMMAND}`; export r; \
42959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42960 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42961 $(RAW_CXX_TARGET_EXPORTS) \
42963 cd $(TARGET_SUBDIR)/libvtv && \
42964 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42966 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42967 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42968 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42972 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42973 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42974 $(TARGET-stageautoprofile-target-libvtv)
42976 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
42977 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
42978 clean-stageautoprofile-target-libvtv:
42979 @if [ $(current_stage) = stageautoprofile ]; then \
42980 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42981 else \
42982 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
42983 $(MAKE) stageautoprofile-start; \
42984 fi; \
42985 cd $(TARGET_SUBDIR)/libvtv && \
42986 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42987 @endif target-libvtv-bootstrap
42990 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
42991 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
42992 maybe-all-stageautofeedback-target-libvtv:
42993 maybe-clean-stageautofeedback-target-libvtv:
42994 @if target-libvtv-bootstrap
42995 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
42996 all-stageautofeedback: all-stageautofeedback-target-libvtv
42997 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
42998 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42999 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43000 @r=`${PWD_COMMAND}`; export r; \
43001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43002 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43003 $(RAW_CXX_TARGET_EXPORTS) \
43005 cd $(TARGET_SUBDIR)/libvtv && \
43007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43008 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43014 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43015 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43016 $(TARGET-stageautofeedback-target-libvtv)
43018 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
43019 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
43020 clean-stageautofeedback-target-libvtv:
43021 @if [ $(current_stage) = stageautofeedback ]; then \
43022 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43023 else \
43024 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
43025 $(MAKE) stageautofeedback-start; \
43026 fi; \
43027 cd $(TARGET_SUBDIR)/libvtv && \
43028 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43029 @endif target-libvtv-bootstrap
43036 .PHONY: check-target-libvtv maybe-check-target-libvtv
43037 maybe-check-target-libvtv:
43038 @if target-libvtv
43039 maybe-check-target-libvtv: check-target-libvtv
43041 check-target-libvtv:
43042 @: $(MAKE); $(unstage)
43043 @r=`${PWD_COMMAND}`; export r; \
43044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43045 $(RAW_CXX_TARGET_EXPORTS) \
43046 (cd $(TARGET_SUBDIR)/libvtv && \
43047 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43049 @endif target-libvtv
43051 .PHONY: install-target-libvtv maybe-install-target-libvtv
43052 maybe-install-target-libvtv:
43053 @if target-libvtv
43054 maybe-install-target-libvtv: install-target-libvtv
43056 install-target-libvtv: installdirs
43057 @: $(MAKE); $(unstage)
43058 @r=`${PWD_COMMAND}`; export r; \
43059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43060 $(RAW_CXX_TARGET_EXPORTS) \
43061 (cd $(TARGET_SUBDIR)/libvtv && \
43062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43064 @endif target-libvtv
43066 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
43067 maybe-install-strip-target-libvtv:
43068 @if target-libvtv
43069 maybe-install-strip-target-libvtv: install-strip-target-libvtv
43071 install-strip-target-libvtv: installdirs
43072 @: $(MAKE); $(unstage)
43073 @r=`${PWD_COMMAND}`; export r; \
43074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43075 $(RAW_CXX_TARGET_EXPORTS) \
43076 (cd $(TARGET_SUBDIR)/libvtv && \
43077 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43079 @endif target-libvtv
43081 # Other targets (info, dvi, pdf, etc.)
43083 .PHONY: maybe-info-target-libvtv info-target-libvtv
43084 maybe-info-target-libvtv:
43085 @if target-libvtv
43086 maybe-info-target-libvtv: info-target-libvtv
43088 info-target-libvtv: \
43089 configure-target-libvtv
43090 @: $(MAKE); $(unstage)
43091 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43092 r=`${PWD_COMMAND}`; export r; \
43093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43094 $(RAW_CXX_TARGET_EXPORTS) \
43095 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
43096 for flag in $(EXTRA_TARGET_FLAGS); do \
43097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43098 done; \
43099 (cd $(TARGET_SUBDIR)/libvtv && \
43100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43102 "RANLIB=$${RANLIB}" \
43103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43104 info) \
43105 || exit 1
43107 @endif target-libvtv
43109 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
43110 maybe-dvi-target-libvtv:
43111 @if target-libvtv
43112 maybe-dvi-target-libvtv: dvi-target-libvtv
43114 dvi-target-libvtv: \
43115 configure-target-libvtv
43116 @: $(MAKE); $(unstage)
43117 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43118 r=`${PWD_COMMAND}`; export r; \
43119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43120 $(RAW_CXX_TARGET_EXPORTS) \
43121 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
43122 for flag in $(EXTRA_TARGET_FLAGS); do \
43123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43124 done; \
43125 (cd $(TARGET_SUBDIR)/libvtv && \
43126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43128 "RANLIB=$${RANLIB}" \
43129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43130 dvi) \
43131 || exit 1
43133 @endif target-libvtv
43135 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
43136 maybe-pdf-target-libvtv:
43137 @if target-libvtv
43138 maybe-pdf-target-libvtv: pdf-target-libvtv
43140 pdf-target-libvtv: \
43141 configure-target-libvtv
43142 @: $(MAKE); $(unstage)
43143 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43144 r=`${PWD_COMMAND}`; export r; \
43145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43146 $(RAW_CXX_TARGET_EXPORTS) \
43147 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
43148 for flag in $(EXTRA_TARGET_FLAGS); do \
43149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43150 done; \
43151 (cd $(TARGET_SUBDIR)/libvtv && \
43152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43154 "RANLIB=$${RANLIB}" \
43155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43156 pdf) \
43157 || exit 1
43159 @endif target-libvtv
43161 .PHONY: maybe-html-target-libvtv html-target-libvtv
43162 maybe-html-target-libvtv:
43163 @if target-libvtv
43164 maybe-html-target-libvtv: html-target-libvtv
43166 html-target-libvtv: \
43167 configure-target-libvtv
43168 @: $(MAKE); $(unstage)
43169 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43170 r=`${PWD_COMMAND}`; export r; \
43171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43172 $(RAW_CXX_TARGET_EXPORTS) \
43173 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
43174 for flag in $(EXTRA_TARGET_FLAGS); do \
43175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43176 done; \
43177 (cd $(TARGET_SUBDIR)/libvtv && \
43178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43180 "RANLIB=$${RANLIB}" \
43181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43182 html) \
43183 || exit 1
43185 @endif target-libvtv
43187 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
43188 maybe-TAGS-target-libvtv:
43189 @if target-libvtv
43190 maybe-TAGS-target-libvtv: TAGS-target-libvtv
43192 TAGS-target-libvtv: \
43193 configure-target-libvtv
43194 @: $(MAKE); $(unstage)
43195 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43196 r=`${PWD_COMMAND}`; export r; \
43197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43198 $(RAW_CXX_TARGET_EXPORTS) \
43199 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
43200 for flag in $(EXTRA_TARGET_FLAGS); do \
43201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43202 done; \
43203 (cd $(TARGET_SUBDIR)/libvtv && \
43204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43206 "RANLIB=$${RANLIB}" \
43207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43208 TAGS) \
43209 || exit 1
43211 @endif target-libvtv
43213 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
43214 maybe-install-info-target-libvtv:
43215 @if target-libvtv
43216 maybe-install-info-target-libvtv: install-info-target-libvtv
43218 install-info-target-libvtv: \
43219 configure-target-libvtv \
43220 info-target-libvtv
43221 @: $(MAKE); $(unstage)
43222 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43223 r=`${PWD_COMMAND}`; export r; \
43224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43225 $(RAW_CXX_TARGET_EXPORTS) \
43226 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
43227 for flag in $(EXTRA_TARGET_FLAGS); do \
43228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43229 done; \
43230 (cd $(TARGET_SUBDIR)/libvtv && \
43231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43233 "RANLIB=$${RANLIB}" \
43234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43235 install-info) \
43236 || exit 1
43238 @endif target-libvtv
43240 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
43241 maybe-install-pdf-target-libvtv:
43242 @if target-libvtv
43243 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
43245 install-pdf-target-libvtv: \
43246 configure-target-libvtv \
43247 pdf-target-libvtv
43248 @: $(MAKE); $(unstage)
43249 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43250 r=`${PWD_COMMAND}`; export r; \
43251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43252 $(RAW_CXX_TARGET_EXPORTS) \
43253 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
43254 for flag in $(EXTRA_TARGET_FLAGS); do \
43255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43256 done; \
43257 (cd $(TARGET_SUBDIR)/libvtv && \
43258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43260 "RANLIB=$${RANLIB}" \
43261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43262 install-pdf) \
43263 || exit 1
43265 @endif target-libvtv
43267 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
43268 maybe-install-html-target-libvtv:
43269 @if target-libvtv
43270 maybe-install-html-target-libvtv: install-html-target-libvtv
43272 install-html-target-libvtv: \
43273 configure-target-libvtv \
43274 html-target-libvtv
43275 @: $(MAKE); $(unstage)
43276 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43277 r=`${PWD_COMMAND}`; export r; \
43278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43279 $(RAW_CXX_TARGET_EXPORTS) \
43280 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
43281 for flag in $(EXTRA_TARGET_FLAGS); do \
43282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43283 done; \
43284 (cd $(TARGET_SUBDIR)/libvtv && \
43285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43287 "RANLIB=$${RANLIB}" \
43288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43289 install-html) \
43290 || exit 1
43292 @endif target-libvtv
43294 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
43295 maybe-installcheck-target-libvtv:
43296 @if target-libvtv
43297 maybe-installcheck-target-libvtv: installcheck-target-libvtv
43299 installcheck-target-libvtv: \
43300 configure-target-libvtv
43301 @: $(MAKE); $(unstage)
43302 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43303 r=`${PWD_COMMAND}`; export r; \
43304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43305 $(RAW_CXX_TARGET_EXPORTS) \
43306 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
43307 for flag in $(EXTRA_TARGET_FLAGS); do \
43308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43309 done; \
43310 (cd $(TARGET_SUBDIR)/libvtv && \
43311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43313 "RANLIB=$${RANLIB}" \
43314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43315 installcheck) \
43316 || exit 1
43318 @endif target-libvtv
43320 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
43321 maybe-mostlyclean-target-libvtv:
43322 @if target-libvtv
43323 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
43325 mostlyclean-target-libvtv:
43326 @: $(MAKE); $(unstage)
43327 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43328 r=`${PWD_COMMAND}`; export r; \
43329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43330 $(RAW_CXX_TARGET_EXPORTS) \
43331 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
43332 for flag in $(EXTRA_TARGET_FLAGS); do \
43333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43334 done; \
43335 (cd $(TARGET_SUBDIR)/libvtv && \
43336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43338 "RANLIB=$${RANLIB}" \
43339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43340 mostlyclean) \
43341 || exit 1
43343 @endif target-libvtv
43345 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
43346 maybe-clean-target-libvtv:
43347 @if target-libvtv
43348 maybe-clean-target-libvtv: clean-target-libvtv
43350 clean-target-libvtv:
43351 @: $(MAKE); $(unstage)
43352 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43353 r=`${PWD_COMMAND}`; export r; \
43354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43355 $(RAW_CXX_TARGET_EXPORTS) \
43356 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
43357 for flag in $(EXTRA_TARGET_FLAGS); do \
43358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43359 done; \
43360 (cd $(TARGET_SUBDIR)/libvtv && \
43361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43363 "RANLIB=$${RANLIB}" \
43364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43365 clean) \
43366 || exit 1
43368 @endif target-libvtv
43370 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
43371 maybe-distclean-target-libvtv:
43372 @if target-libvtv
43373 maybe-distclean-target-libvtv: distclean-target-libvtv
43375 distclean-target-libvtv:
43376 @: $(MAKE); $(unstage)
43377 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43378 r=`${PWD_COMMAND}`; export r; \
43379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43380 $(RAW_CXX_TARGET_EXPORTS) \
43381 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
43382 for flag in $(EXTRA_TARGET_FLAGS); do \
43383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43384 done; \
43385 (cd $(TARGET_SUBDIR)/libvtv && \
43386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43388 "RANLIB=$${RANLIB}" \
43389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43390 distclean) \
43391 || exit 1
43393 @endif target-libvtv
43395 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
43396 maybe-maintainer-clean-target-libvtv:
43397 @if target-libvtv
43398 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
43400 maintainer-clean-target-libvtv:
43401 @: $(MAKE); $(unstage)
43402 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43403 r=`${PWD_COMMAND}`; export r; \
43404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43405 $(RAW_CXX_TARGET_EXPORTS) \
43406 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
43407 for flag in $(EXTRA_TARGET_FLAGS); do \
43408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43409 done; \
43410 (cd $(TARGET_SUBDIR)/libvtv && \
43411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43413 "RANLIB=$${RANLIB}" \
43414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43415 maintainer-clean) \
43416 || exit 1
43418 @endif target-libvtv
43424 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
43425 maybe-configure-target-liboffloadmic:
43426 @if gcc-bootstrap
43427 configure-target-liboffloadmic: stage_current
43428 @endif gcc-bootstrap
43429 @if target-liboffloadmic
43430 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
43431 configure-target-liboffloadmic:
43432 @: $(MAKE); $(unstage)
43433 @r=`${PWD_COMMAND}`; export r; \
43434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43435 echo "Checking multilib configuration for liboffloadmic..."; \
43436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43437 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
43438 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43439 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43440 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
43441 else \
43442 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
43443 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43444 fi; \
43445 else \
43446 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43447 fi; \
43448 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
43449 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43450 $(NORMAL_TARGET_EXPORTS) \
43451 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
43452 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
43453 case $(srcdir) in \
43454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43455 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
43456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43457 esac; \
43458 module_srcdir=liboffloadmic; \
43459 rm -f no-such-file || : ; \
43460 CONFIG_SITE=no-such-file $(SHELL) \
43461 $$s/$$module_srcdir/configure \
43462 --srcdir=$${topdir}/$$module_srcdir \
43463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43464 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
43465 || exit 1
43466 @endif target-liboffloadmic
43472 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
43473 maybe-all-target-liboffloadmic:
43474 @if gcc-bootstrap
43475 all-target-liboffloadmic: stage_current
43476 @endif gcc-bootstrap
43477 @if target-liboffloadmic
43478 TARGET-target-liboffloadmic=all
43479 maybe-all-target-liboffloadmic: all-target-liboffloadmic
43480 all-target-liboffloadmic: configure-target-liboffloadmic
43481 @: $(MAKE); $(unstage)
43482 @r=`${PWD_COMMAND}`; export r; \
43483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43484 $(NORMAL_TARGET_EXPORTS) \
43485 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43487 $(TARGET-target-liboffloadmic))
43488 @endif target-liboffloadmic
43494 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
43495 maybe-check-target-liboffloadmic:
43496 @if target-liboffloadmic
43497 maybe-check-target-liboffloadmic: check-target-liboffloadmic
43499 check-target-liboffloadmic:
43500 @: $(MAKE); $(unstage)
43501 @r=`${PWD_COMMAND}`; export r; \
43502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43503 $(NORMAL_TARGET_EXPORTS) \
43504 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43505 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43507 @endif target-liboffloadmic
43509 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
43510 maybe-install-target-liboffloadmic:
43511 @if target-liboffloadmic
43512 maybe-install-target-liboffloadmic: install-target-liboffloadmic
43514 install-target-liboffloadmic: installdirs
43515 @: $(MAKE); $(unstage)
43516 @r=`${PWD_COMMAND}`; export r; \
43517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43518 $(NORMAL_TARGET_EXPORTS) \
43519 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43520 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43522 @endif target-liboffloadmic
43524 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
43525 maybe-install-strip-target-liboffloadmic:
43526 @if target-liboffloadmic
43527 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
43529 install-strip-target-liboffloadmic: installdirs
43530 @: $(MAKE); $(unstage)
43531 @r=`${PWD_COMMAND}`; export r; \
43532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43533 $(NORMAL_TARGET_EXPORTS) \
43534 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43537 @endif target-liboffloadmic
43539 # Other targets (info, dvi, pdf, etc.)
43541 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
43542 maybe-info-target-liboffloadmic:
43543 @if target-liboffloadmic
43544 maybe-info-target-liboffloadmic: info-target-liboffloadmic
43546 info-target-liboffloadmic: \
43547 configure-target-liboffloadmic
43548 @: $(MAKE); $(unstage)
43549 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43550 r=`${PWD_COMMAND}`; export r; \
43551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43552 $(NORMAL_TARGET_EXPORTS) \
43553 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
43554 for flag in $(EXTRA_TARGET_FLAGS); do \
43555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43556 done; \
43557 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43560 "RANLIB=$${RANLIB}" \
43561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43562 info) \
43563 || exit 1
43565 @endif target-liboffloadmic
43567 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
43568 maybe-dvi-target-liboffloadmic:
43569 @if target-liboffloadmic
43570 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
43572 dvi-target-liboffloadmic: \
43573 configure-target-liboffloadmic
43574 @: $(MAKE); $(unstage)
43575 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43576 r=`${PWD_COMMAND}`; export r; \
43577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43578 $(NORMAL_TARGET_EXPORTS) \
43579 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
43580 for flag in $(EXTRA_TARGET_FLAGS); do \
43581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43582 done; \
43583 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43586 "RANLIB=$${RANLIB}" \
43587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43588 dvi) \
43589 || exit 1
43591 @endif target-liboffloadmic
43593 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
43594 maybe-pdf-target-liboffloadmic:
43595 @if target-liboffloadmic
43596 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
43598 pdf-target-liboffloadmic: \
43599 configure-target-liboffloadmic
43600 @: $(MAKE); $(unstage)
43601 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43602 r=`${PWD_COMMAND}`; export r; \
43603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43604 $(NORMAL_TARGET_EXPORTS) \
43605 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43606 for flag in $(EXTRA_TARGET_FLAGS); do \
43607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43608 done; \
43609 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43612 "RANLIB=$${RANLIB}" \
43613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43614 pdf) \
43615 || exit 1
43617 @endif target-liboffloadmic
43619 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
43620 maybe-html-target-liboffloadmic:
43621 @if target-liboffloadmic
43622 maybe-html-target-liboffloadmic: html-target-liboffloadmic
43624 html-target-liboffloadmic: \
43625 configure-target-liboffloadmic
43626 @: $(MAKE); $(unstage)
43627 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43628 r=`${PWD_COMMAND}`; export r; \
43629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43630 $(NORMAL_TARGET_EXPORTS) \
43631 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
43632 for flag in $(EXTRA_TARGET_FLAGS); do \
43633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43634 done; \
43635 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43638 "RANLIB=$${RANLIB}" \
43639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43640 html) \
43641 || exit 1
43643 @endif target-liboffloadmic
43645 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
43646 maybe-TAGS-target-liboffloadmic:
43647 @if target-liboffloadmic
43648 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
43650 TAGS-target-liboffloadmic: \
43651 configure-target-liboffloadmic
43652 @: $(MAKE); $(unstage)
43653 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43654 r=`${PWD_COMMAND}`; export r; \
43655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43656 $(NORMAL_TARGET_EXPORTS) \
43657 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
43658 for flag in $(EXTRA_TARGET_FLAGS); do \
43659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43660 done; \
43661 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43664 "RANLIB=$${RANLIB}" \
43665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43666 TAGS) \
43667 || exit 1
43669 @endif target-liboffloadmic
43671 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
43672 maybe-install-info-target-liboffloadmic:
43673 @if target-liboffloadmic
43674 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
43676 install-info-target-liboffloadmic: \
43677 configure-target-liboffloadmic \
43678 info-target-liboffloadmic
43679 @: $(MAKE); $(unstage)
43680 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43681 r=`${PWD_COMMAND}`; export r; \
43682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43683 $(NORMAL_TARGET_EXPORTS) \
43684 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
43685 for flag in $(EXTRA_TARGET_FLAGS); do \
43686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43687 done; \
43688 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43691 "RANLIB=$${RANLIB}" \
43692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43693 install-info) \
43694 || exit 1
43696 @endif target-liboffloadmic
43698 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
43699 maybe-install-pdf-target-liboffloadmic:
43700 @if target-liboffloadmic
43701 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
43703 install-pdf-target-liboffloadmic: \
43704 configure-target-liboffloadmic \
43705 pdf-target-liboffloadmic
43706 @: $(MAKE); $(unstage)
43707 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43708 r=`${PWD_COMMAND}`; export r; \
43709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43710 $(NORMAL_TARGET_EXPORTS) \
43711 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43712 for flag in $(EXTRA_TARGET_FLAGS); do \
43713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43714 done; \
43715 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43718 "RANLIB=$${RANLIB}" \
43719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43720 install-pdf) \
43721 || exit 1
43723 @endif target-liboffloadmic
43725 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
43726 maybe-install-html-target-liboffloadmic:
43727 @if target-liboffloadmic
43728 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
43730 install-html-target-liboffloadmic: \
43731 configure-target-liboffloadmic \
43732 html-target-liboffloadmic
43733 @: $(MAKE); $(unstage)
43734 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43735 r=`${PWD_COMMAND}`; export r; \
43736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43737 $(NORMAL_TARGET_EXPORTS) \
43738 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
43739 for flag in $(EXTRA_TARGET_FLAGS); do \
43740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43741 done; \
43742 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43745 "RANLIB=$${RANLIB}" \
43746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43747 install-html) \
43748 || exit 1
43750 @endif target-liboffloadmic
43752 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
43753 maybe-installcheck-target-liboffloadmic:
43754 @if target-liboffloadmic
43755 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
43757 installcheck-target-liboffloadmic: \
43758 configure-target-liboffloadmic
43759 @: $(MAKE); $(unstage)
43760 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43761 r=`${PWD_COMMAND}`; export r; \
43762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43763 $(NORMAL_TARGET_EXPORTS) \
43764 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
43765 for flag in $(EXTRA_TARGET_FLAGS); do \
43766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43767 done; \
43768 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43771 "RANLIB=$${RANLIB}" \
43772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43773 installcheck) \
43774 || exit 1
43776 @endif target-liboffloadmic
43778 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
43779 maybe-mostlyclean-target-liboffloadmic:
43780 @if target-liboffloadmic
43781 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
43783 mostlyclean-target-liboffloadmic:
43784 @: $(MAKE); $(unstage)
43785 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43786 r=`${PWD_COMMAND}`; export r; \
43787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43788 $(NORMAL_TARGET_EXPORTS) \
43789 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43790 for flag in $(EXTRA_TARGET_FLAGS); do \
43791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43792 done; \
43793 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43796 "RANLIB=$${RANLIB}" \
43797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43798 mostlyclean) \
43799 || exit 1
43801 @endif target-liboffloadmic
43803 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
43804 maybe-clean-target-liboffloadmic:
43805 @if target-liboffloadmic
43806 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
43808 clean-target-liboffloadmic:
43809 @: $(MAKE); $(unstage)
43810 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43811 r=`${PWD_COMMAND}`; export r; \
43812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43813 $(NORMAL_TARGET_EXPORTS) \
43814 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43815 for flag in $(EXTRA_TARGET_FLAGS); do \
43816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43817 done; \
43818 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43821 "RANLIB=$${RANLIB}" \
43822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43823 clean) \
43824 || exit 1
43826 @endif target-liboffloadmic
43828 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
43829 maybe-distclean-target-liboffloadmic:
43830 @if target-liboffloadmic
43831 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
43833 distclean-target-liboffloadmic:
43834 @: $(MAKE); $(unstage)
43835 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43836 r=`${PWD_COMMAND}`; export r; \
43837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43838 $(NORMAL_TARGET_EXPORTS) \
43839 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43840 for flag in $(EXTRA_TARGET_FLAGS); do \
43841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43842 done; \
43843 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43846 "RANLIB=$${RANLIB}" \
43847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43848 distclean) \
43849 || exit 1
43851 @endif target-liboffloadmic
43853 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
43854 maybe-maintainer-clean-target-liboffloadmic:
43855 @if target-liboffloadmic
43856 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
43858 maintainer-clean-target-liboffloadmic:
43859 @: $(MAKE); $(unstage)
43860 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43861 r=`${PWD_COMMAND}`; export r; \
43862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43863 $(NORMAL_TARGET_EXPORTS) \
43864 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43865 for flag in $(EXTRA_TARGET_FLAGS); do \
43866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43867 done; \
43868 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43871 "RANLIB=$${RANLIB}" \
43872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43873 maintainer-clean) \
43874 || exit 1
43876 @endif target-liboffloadmic
43882 .PHONY: configure-target-libssp maybe-configure-target-libssp
43883 maybe-configure-target-libssp:
43884 @if gcc-bootstrap
43885 configure-target-libssp: stage_current
43886 @endif gcc-bootstrap
43887 @if target-libssp
43888 maybe-configure-target-libssp: configure-target-libssp
43889 configure-target-libssp:
43890 @: $(MAKE); $(unstage)
43891 @r=`${PWD_COMMAND}`; export r; \
43892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43893 echo "Checking multilib configuration for libssp..."; \
43894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
43896 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43897 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43898 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43899 else \
43900 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43901 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43902 fi; \
43903 else \
43904 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43905 fi; \
43906 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43908 $(NORMAL_TARGET_EXPORTS) \
43909 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43910 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43911 case $(srcdir) in \
43912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43913 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43915 esac; \
43916 module_srcdir=libssp; \
43917 rm -f no-such-file || : ; \
43918 CONFIG_SITE=no-such-file $(SHELL) \
43919 $$s/$$module_srcdir/configure \
43920 --srcdir=$${topdir}/$$module_srcdir \
43921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43922 --target=${target_alias} \
43923 || exit 1
43924 @endif target-libssp
43930 .PHONY: all-target-libssp maybe-all-target-libssp
43931 maybe-all-target-libssp:
43932 @if gcc-bootstrap
43933 all-target-libssp: stage_current
43934 @endif gcc-bootstrap
43935 @if target-libssp
43936 TARGET-target-libssp=all
43937 maybe-all-target-libssp: all-target-libssp
43938 all-target-libssp: configure-target-libssp
43939 @: $(MAKE); $(unstage)
43940 @r=`${PWD_COMMAND}`; export r; \
43941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43942 $(NORMAL_TARGET_EXPORTS) \
43943 (cd $(TARGET_SUBDIR)/libssp && \
43944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43945 $(TARGET-target-libssp))
43946 @endif target-libssp
43952 .PHONY: check-target-libssp maybe-check-target-libssp
43953 maybe-check-target-libssp:
43954 @if target-libssp
43955 maybe-check-target-libssp: check-target-libssp
43957 check-target-libssp:
43958 @: $(MAKE); $(unstage)
43959 @r=`${PWD_COMMAND}`; export r; \
43960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43961 $(NORMAL_TARGET_EXPORTS) \
43962 (cd $(TARGET_SUBDIR)/libssp && \
43963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43965 @endif target-libssp
43967 .PHONY: install-target-libssp maybe-install-target-libssp
43968 maybe-install-target-libssp:
43969 @if target-libssp
43970 maybe-install-target-libssp: install-target-libssp
43972 install-target-libssp: installdirs
43973 @: $(MAKE); $(unstage)
43974 @r=`${PWD_COMMAND}`; export r; \
43975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43976 $(NORMAL_TARGET_EXPORTS) \
43977 (cd $(TARGET_SUBDIR)/libssp && \
43978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43980 @endif target-libssp
43982 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
43983 maybe-install-strip-target-libssp:
43984 @if target-libssp
43985 maybe-install-strip-target-libssp: install-strip-target-libssp
43987 install-strip-target-libssp: installdirs
43988 @: $(MAKE); $(unstage)
43989 @r=`${PWD_COMMAND}`; export r; \
43990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43991 $(NORMAL_TARGET_EXPORTS) \
43992 (cd $(TARGET_SUBDIR)/libssp && \
43993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43995 @endif target-libssp
43997 # Other targets (info, dvi, pdf, etc.)
43999 .PHONY: maybe-info-target-libssp info-target-libssp
44000 maybe-info-target-libssp:
44001 @if target-libssp
44002 maybe-info-target-libssp: info-target-libssp
44004 info-target-libssp: \
44005 configure-target-libssp
44006 @: $(MAKE); $(unstage)
44007 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44008 r=`${PWD_COMMAND}`; export r; \
44009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44010 $(NORMAL_TARGET_EXPORTS) \
44011 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
44012 for flag in $(EXTRA_TARGET_FLAGS); do \
44013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44014 done; \
44015 (cd $(TARGET_SUBDIR)/libssp && \
44016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44018 "RANLIB=$${RANLIB}" \
44019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44020 info) \
44021 || exit 1
44023 @endif target-libssp
44025 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
44026 maybe-dvi-target-libssp:
44027 @if target-libssp
44028 maybe-dvi-target-libssp: dvi-target-libssp
44030 dvi-target-libssp: \
44031 configure-target-libssp
44032 @: $(MAKE); $(unstage)
44033 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44034 r=`${PWD_COMMAND}`; export r; \
44035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44036 $(NORMAL_TARGET_EXPORTS) \
44037 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
44038 for flag in $(EXTRA_TARGET_FLAGS); do \
44039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44040 done; \
44041 (cd $(TARGET_SUBDIR)/libssp && \
44042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44044 "RANLIB=$${RANLIB}" \
44045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44046 dvi) \
44047 || exit 1
44049 @endif target-libssp
44051 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
44052 maybe-pdf-target-libssp:
44053 @if target-libssp
44054 maybe-pdf-target-libssp: pdf-target-libssp
44056 pdf-target-libssp: \
44057 configure-target-libssp
44058 @: $(MAKE); $(unstage)
44059 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44060 r=`${PWD_COMMAND}`; export r; \
44061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44062 $(NORMAL_TARGET_EXPORTS) \
44063 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
44064 for flag in $(EXTRA_TARGET_FLAGS); do \
44065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44066 done; \
44067 (cd $(TARGET_SUBDIR)/libssp && \
44068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44070 "RANLIB=$${RANLIB}" \
44071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44072 pdf) \
44073 || exit 1
44075 @endif target-libssp
44077 .PHONY: maybe-html-target-libssp html-target-libssp
44078 maybe-html-target-libssp:
44079 @if target-libssp
44080 maybe-html-target-libssp: html-target-libssp
44082 html-target-libssp: \
44083 configure-target-libssp
44084 @: $(MAKE); $(unstage)
44085 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44086 r=`${PWD_COMMAND}`; export r; \
44087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44088 $(NORMAL_TARGET_EXPORTS) \
44089 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
44090 for flag in $(EXTRA_TARGET_FLAGS); do \
44091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44092 done; \
44093 (cd $(TARGET_SUBDIR)/libssp && \
44094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44096 "RANLIB=$${RANLIB}" \
44097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44098 html) \
44099 || exit 1
44101 @endif target-libssp
44103 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
44104 maybe-TAGS-target-libssp:
44105 @if target-libssp
44106 maybe-TAGS-target-libssp: TAGS-target-libssp
44108 TAGS-target-libssp: \
44109 configure-target-libssp
44110 @: $(MAKE); $(unstage)
44111 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44112 r=`${PWD_COMMAND}`; export r; \
44113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44114 $(NORMAL_TARGET_EXPORTS) \
44115 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
44116 for flag in $(EXTRA_TARGET_FLAGS); do \
44117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44118 done; \
44119 (cd $(TARGET_SUBDIR)/libssp && \
44120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44122 "RANLIB=$${RANLIB}" \
44123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44124 TAGS) \
44125 || exit 1
44127 @endif target-libssp
44129 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
44130 maybe-install-info-target-libssp:
44131 @if target-libssp
44132 maybe-install-info-target-libssp: install-info-target-libssp
44134 install-info-target-libssp: \
44135 configure-target-libssp \
44136 info-target-libssp
44137 @: $(MAKE); $(unstage)
44138 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44139 r=`${PWD_COMMAND}`; export r; \
44140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44141 $(NORMAL_TARGET_EXPORTS) \
44142 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
44143 for flag in $(EXTRA_TARGET_FLAGS); do \
44144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44145 done; \
44146 (cd $(TARGET_SUBDIR)/libssp && \
44147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44149 "RANLIB=$${RANLIB}" \
44150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44151 install-info) \
44152 || exit 1
44154 @endif target-libssp
44156 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
44157 maybe-install-pdf-target-libssp:
44158 @if target-libssp
44159 maybe-install-pdf-target-libssp: install-pdf-target-libssp
44161 install-pdf-target-libssp: \
44162 configure-target-libssp \
44163 pdf-target-libssp
44164 @: $(MAKE); $(unstage)
44165 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44166 r=`${PWD_COMMAND}`; export r; \
44167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44168 $(NORMAL_TARGET_EXPORTS) \
44169 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
44170 for flag in $(EXTRA_TARGET_FLAGS); do \
44171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44172 done; \
44173 (cd $(TARGET_SUBDIR)/libssp && \
44174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44176 "RANLIB=$${RANLIB}" \
44177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44178 install-pdf) \
44179 || exit 1
44181 @endif target-libssp
44183 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
44184 maybe-install-html-target-libssp:
44185 @if target-libssp
44186 maybe-install-html-target-libssp: install-html-target-libssp
44188 install-html-target-libssp: \
44189 configure-target-libssp \
44190 html-target-libssp
44191 @: $(MAKE); $(unstage)
44192 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44193 r=`${PWD_COMMAND}`; export r; \
44194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44195 $(NORMAL_TARGET_EXPORTS) \
44196 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
44197 for flag in $(EXTRA_TARGET_FLAGS); do \
44198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44199 done; \
44200 (cd $(TARGET_SUBDIR)/libssp && \
44201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44203 "RANLIB=$${RANLIB}" \
44204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44205 install-html) \
44206 || exit 1
44208 @endif target-libssp
44210 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
44211 maybe-installcheck-target-libssp:
44212 @if target-libssp
44213 maybe-installcheck-target-libssp: installcheck-target-libssp
44215 installcheck-target-libssp: \
44216 configure-target-libssp
44217 @: $(MAKE); $(unstage)
44218 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44219 r=`${PWD_COMMAND}`; export r; \
44220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44221 $(NORMAL_TARGET_EXPORTS) \
44222 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
44223 for flag in $(EXTRA_TARGET_FLAGS); do \
44224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44225 done; \
44226 (cd $(TARGET_SUBDIR)/libssp && \
44227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44229 "RANLIB=$${RANLIB}" \
44230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44231 installcheck) \
44232 || exit 1
44234 @endif target-libssp
44236 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
44237 maybe-mostlyclean-target-libssp:
44238 @if target-libssp
44239 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
44241 mostlyclean-target-libssp:
44242 @: $(MAKE); $(unstage)
44243 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44244 r=`${PWD_COMMAND}`; export r; \
44245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44246 $(NORMAL_TARGET_EXPORTS) \
44247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
44248 for flag in $(EXTRA_TARGET_FLAGS); do \
44249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44250 done; \
44251 (cd $(TARGET_SUBDIR)/libssp && \
44252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44254 "RANLIB=$${RANLIB}" \
44255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44256 mostlyclean) \
44257 || exit 1
44259 @endif target-libssp
44261 .PHONY: maybe-clean-target-libssp clean-target-libssp
44262 maybe-clean-target-libssp:
44263 @if target-libssp
44264 maybe-clean-target-libssp: clean-target-libssp
44266 clean-target-libssp:
44267 @: $(MAKE); $(unstage)
44268 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44269 r=`${PWD_COMMAND}`; export r; \
44270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44271 $(NORMAL_TARGET_EXPORTS) \
44272 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
44273 for flag in $(EXTRA_TARGET_FLAGS); do \
44274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44275 done; \
44276 (cd $(TARGET_SUBDIR)/libssp && \
44277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44279 "RANLIB=$${RANLIB}" \
44280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44281 clean) \
44282 || exit 1
44284 @endif target-libssp
44286 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
44287 maybe-distclean-target-libssp:
44288 @if target-libssp
44289 maybe-distclean-target-libssp: distclean-target-libssp
44291 distclean-target-libssp:
44292 @: $(MAKE); $(unstage)
44293 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44294 r=`${PWD_COMMAND}`; export r; \
44295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44296 $(NORMAL_TARGET_EXPORTS) \
44297 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
44298 for flag in $(EXTRA_TARGET_FLAGS); do \
44299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44300 done; \
44301 (cd $(TARGET_SUBDIR)/libssp && \
44302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44304 "RANLIB=$${RANLIB}" \
44305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44306 distclean) \
44307 || exit 1
44309 @endif target-libssp
44311 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
44312 maybe-maintainer-clean-target-libssp:
44313 @if target-libssp
44314 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
44316 maintainer-clean-target-libssp:
44317 @: $(MAKE); $(unstage)
44318 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44319 r=`${PWD_COMMAND}`; export r; \
44320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44321 $(NORMAL_TARGET_EXPORTS) \
44322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
44323 for flag in $(EXTRA_TARGET_FLAGS); do \
44324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44325 done; \
44326 (cd $(TARGET_SUBDIR)/libssp && \
44327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44329 "RANLIB=$${RANLIB}" \
44330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44331 maintainer-clean) \
44332 || exit 1
44334 @endif target-libssp
44340 .PHONY: configure-target-newlib maybe-configure-target-newlib
44341 maybe-configure-target-newlib:
44342 @if gcc-bootstrap
44343 configure-target-newlib: stage_current
44344 @endif gcc-bootstrap
44345 @if target-newlib
44346 maybe-configure-target-newlib: configure-target-newlib
44347 configure-target-newlib:
44348 @: $(MAKE); $(unstage)
44349 @r=`${PWD_COMMAND}`; export r; \
44350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44351 echo "Checking multilib configuration for newlib..."; \
44352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
44354 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
44355 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
44356 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
44357 else \
44358 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
44359 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44360 fi; \
44361 else \
44362 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44363 fi; \
44364 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
44365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44366 $(NORMAL_TARGET_EXPORTS) \
44367 echo Configuring in $(TARGET_SUBDIR)/newlib; \
44368 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
44369 case $(srcdir) in \
44370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44371 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
44372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44373 esac; \
44374 module_srcdir=newlib; \
44375 rm -f no-such-file || : ; \
44376 CONFIG_SITE=no-such-file $(SHELL) \
44377 $$s/$$module_srcdir/configure \
44378 --srcdir=$${topdir}/$$module_srcdir \
44379 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44380 --target=${target_alias} \
44381 || exit 1
44382 @endif target-newlib
44388 .PHONY: all-target-newlib maybe-all-target-newlib
44389 maybe-all-target-newlib:
44390 @if gcc-bootstrap
44391 all-target-newlib: stage_current
44392 @endif gcc-bootstrap
44393 @if target-newlib
44394 TARGET-target-newlib=all
44395 maybe-all-target-newlib: all-target-newlib
44396 all-target-newlib: configure-target-newlib
44397 @: $(MAKE); $(unstage)
44398 @r=`${PWD_COMMAND}`; export r; \
44399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44400 $(NORMAL_TARGET_EXPORTS) \
44401 (cd $(TARGET_SUBDIR)/newlib && \
44402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44403 $(TARGET-target-newlib))
44404 @endif target-newlib
44410 .PHONY: check-target-newlib maybe-check-target-newlib
44411 maybe-check-target-newlib:
44412 @if target-newlib
44413 maybe-check-target-newlib: check-target-newlib
44415 check-target-newlib:
44416 @: $(MAKE); $(unstage)
44417 @r=`${PWD_COMMAND}`; export r; \
44418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44419 $(NORMAL_TARGET_EXPORTS) \
44420 (cd $(TARGET_SUBDIR)/newlib && \
44421 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44423 @endif target-newlib
44425 .PHONY: install-target-newlib maybe-install-target-newlib
44426 maybe-install-target-newlib:
44427 @if target-newlib
44428 maybe-install-target-newlib: install-target-newlib
44430 install-target-newlib: installdirs
44431 @: $(MAKE); $(unstage)
44432 @r=`${PWD_COMMAND}`; export r; \
44433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44434 $(NORMAL_TARGET_EXPORTS) \
44435 (cd $(TARGET_SUBDIR)/newlib && \
44436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44438 @endif target-newlib
44440 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
44441 maybe-install-strip-target-newlib:
44442 @if target-newlib
44443 maybe-install-strip-target-newlib: install-strip-target-newlib
44445 install-strip-target-newlib: installdirs
44446 @: $(MAKE); $(unstage)
44447 @r=`${PWD_COMMAND}`; export r; \
44448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44449 $(NORMAL_TARGET_EXPORTS) \
44450 (cd $(TARGET_SUBDIR)/newlib && \
44451 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44453 @endif target-newlib
44455 # Other targets (info, dvi, pdf, etc.)
44457 .PHONY: maybe-info-target-newlib info-target-newlib
44458 maybe-info-target-newlib:
44459 @if target-newlib
44460 maybe-info-target-newlib: info-target-newlib
44462 info-target-newlib: \
44463 configure-target-newlib
44464 @: $(MAKE); $(unstage)
44465 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44466 r=`${PWD_COMMAND}`; export r; \
44467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44468 $(NORMAL_TARGET_EXPORTS) \
44469 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
44470 for flag in $(EXTRA_TARGET_FLAGS); do \
44471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44472 done; \
44473 (cd $(TARGET_SUBDIR)/newlib && \
44474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44476 "RANLIB=$${RANLIB}" \
44477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44478 info) \
44479 || exit 1
44481 @endif target-newlib
44483 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44484 maybe-dvi-target-newlib:
44485 @if target-newlib
44486 maybe-dvi-target-newlib: dvi-target-newlib
44488 dvi-target-newlib: \
44489 configure-target-newlib
44490 @: $(MAKE); $(unstage)
44491 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44492 r=`${PWD_COMMAND}`; export r; \
44493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44494 $(NORMAL_TARGET_EXPORTS) \
44495 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
44496 for flag in $(EXTRA_TARGET_FLAGS); do \
44497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44498 done; \
44499 (cd $(TARGET_SUBDIR)/newlib && \
44500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44502 "RANLIB=$${RANLIB}" \
44503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44504 dvi) \
44505 || exit 1
44507 @endif target-newlib
44509 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44510 maybe-pdf-target-newlib:
44511 @if target-newlib
44512 maybe-pdf-target-newlib: pdf-target-newlib
44514 pdf-target-newlib: \
44515 configure-target-newlib
44516 @: $(MAKE); $(unstage)
44517 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44518 r=`${PWD_COMMAND}`; export r; \
44519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44520 $(NORMAL_TARGET_EXPORTS) \
44521 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
44522 for flag in $(EXTRA_TARGET_FLAGS); do \
44523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44524 done; \
44525 (cd $(TARGET_SUBDIR)/newlib && \
44526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44528 "RANLIB=$${RANLIB}" \
44529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44530 pdf) \
44531 || exit 1
44533 @endif target-newlib
44535 .PHONY: maybe-html-target-newlib html-target-newlib
44536 maybe-html-target-newlib:
44537 @if target-newlib
44538 maybe-html-target-newlib: html-target-newlib
44540 html-target-newlib: \
44541 configure-target-newlib
44542 @: $(MAKE); $(unstage)
44543 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44544 r=`${PWD_COMMAND}`; export r; \
44545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44546 $(NORMAL_TARGET_EXPORTS) \
44547 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
44548 for flag in $(EXTRA_TARGET_FLAGS); do \
44549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44550 done; \
44551 (cd $(TARGET_SUBDIR)/newlib && \
44552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44554 "RANLIB=$${RANLIB}" \
44555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44556 html) \
44557 || exit 1
44559 @endif target-newlib
44561 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44562 maybe-TAGS-target-newlib:
44563 @if target-newlib
44564 maybe-TAGS-target-newlib: TAGS-target-newlib
44566 TAGS-target-newlib: \
44567 configure-target-newlib
44568 @: $(MAKE); $(unstage)
44569 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44570 r=`${PWD_COMMAND}`; export r; \
44571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44572 $(NORMAL_TARGET_EXPORTS) \
44573 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
44574 for flag in $(EXTRA_TARGET_FLAGS); do \
44575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44576 done; \
44577 (cd $(TARGET_SUBDIR)/newlib && \
44578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44580 "RANLIB=$${RANLIB}" \
44581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44582 TAGS) \
44583 || exit 1
44585 @endif target-newlib
44587 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44588 maybe-install-info-target-newlib:
44589 @if target-newlib
44590 maybe-install-info-target-newlib: install-info-target-newlib
44592 install-info-target-newlib: \
44593 configure-target-newlib \
44594 info-target-newlib
44595 @: $(MAKE); $(unstage)
44596 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44597 r=`${PWD_COMMAND}`; export r; \
44598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44599 $(NORMAL_TARGET_EXPORTS) \
44600 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
44601 for flag in $(EXTRA_TARGET_FLAGS); do \
44602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44603 done; \
44604 (cd $(TARGET_SUBDIR)/newlib && \
44605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44607 "RANLIB=$${RANLIB}" \
44608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44609 install-info) \
44610 || exit 1
44612 @endif target-newlib
44614 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44615 maybe-install-pdf-target-newlib:
44616 @if target-newlib
44617 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44619 install-pdf-target-newlib: \
44620 configure-target-newlib \
44621 pdf-target-newlib
44622 @: $(MAKE); $(unstage)
44623 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44624 r=`${PWD_COMMAND}`; export r; \
44625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44626 $(NORMAL_TARGET_EXPORTS) \
44627 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
44628 for flag in $(EXTRA_TARGET_FLAGS); do \
44629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44630 done; \
44631 (cd $(TARGET_SUBDIR)/newlib && \
44632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44634 "RANLIB=$${RANLIB}" \
44635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44636 install-pdf) \
44637 || exit 1
44639 @endif target-newlib
44641 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44642 maybe-install-html-target-newlib:
44643 @if target-newlib
44644 maybe-install-html-target-newlib: install-html-target-newlib
44646 install-html-target-newlib: \
44647 configure-target-newlib \
44648 html-target-newlib
44649 @: $(MAKE); $(unstage)
44650 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44651 r=`${PWD_COMMAND}`; export r; \
44652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44653 $(NORMAL_TARGET_EXPORTS) \
44654 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
44655 for flag in $(EXTRA_TARGET_FLAGS); do \
44656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44657 done; \
44658 (cd $(TARGET_SUBDIR)/newlib && \
44659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44661 "RANLIB=$${RANLIB}" \
44662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44663 install-html) \
44664 || exit 1
44666 @endif target-newlib
44668 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44669 maybe-installcheck-target-newlib:
44670 @if target-newlib
44671 maybe-installcheck-target-newlib: installcheck-target-newlib
44673 installcheck-target-newlib: \
44674 configure-target-newlib
44675 @: $(MAKE); $(unstage)
44676 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44677 r=`${PWD_COMMAND}`; export r; \
44678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44679 $(NORMAL_TARGET_EXPORTS) \
44680 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
44681 for flag in $(EXTRA_TARGET_FLAGS); do \
44682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44683 done; \
44684 (cd $(TARGET_SUBDIR)/newlib && \
44685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44687 "RANLIB=$${RANLIB}" \
44688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44689 installcheck) \
44690 || exit 1
44692 @endif target-newlib
44694 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44695 maybe-mostlyclean-target-newlib:
44696 @if target-newlib
44697 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44699 mostlyclean-target-newlib:
44700 @: $(MAKE); $(unstage)
44701 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44702 r=`${PWD_COMMAND}`; export r; \
44703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44704 $(NORMAL_TARGET_EXPORTS) \
44705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
44706 for flag in $(EXTRA_TARGET_FLAGS); do \
44707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44708 done; \
44709 (cd $(TARGET_SUBDIR)/newlib && \
44710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44712 "RANLIB=$${RANLIB}" \
44713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44714 mostlyclean) \
44715 || exit 1
44717 @endif target-newlib
44719 .PHONY: maybe-clean-target-newlib clean-target-newlib
44720 maybe-clean-target-newlib:
44721 @if target-newlib
44722 maybe-clean-target-newlib: clean-target-newlib
44724 clean-target-newlib:
44725 @: $(MAKE); $(unstage)
44726 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44727 r=`${PWD_COMMAND}`; export r; \
44728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44729 $(NORMAL_TARGET_EXPORTS) \
44730 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
44731 for flag in $(EXTRA_TARGET_FLAGS); do \
44732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44733 done; \
44734 (cd $(TARGET_SUBDIR)/newlib && \
44735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44737 "RANLIB=$${RANLIB}" \
44738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44739 clean) \
44740 || exit 1
44742 @endif target-newlib
44744 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44745 maybe-distclean-target-newlib:
44746 @if target-newlib
44747 maybe-distclean-target-newlib: distclean-target-newlib
44749 distclean-target-newlib:
44750 @: $(MAKE); $(unstage)
44751 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44752 r=`${PWD_COMMAND}`; export r; \
44753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44754 $(NORMAL_TARGET_EXPORTS) \
44755 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
44756 for flag in $(EXTRA_TARGET_FLAGS); do \
44757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44758 done; \
44759 (cd $(TARGET_SUBDIR)/newlib && \
44760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44762 "RANLIB=$${RANLIB}" \
44763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44764 distclean) \
44765 || exit 1
44767 @endif target-newlib
44769 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44770 maybe-maintainer-clean-target-newlib:
44771 @if target-newlib
44772 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44774 maintainer-clean-target-newlib:
44775 @: $(MAKE); $(unstage)
44776 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44777 r=`${PWD_COMMAND}`; export r; \
44778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44779 $(NORMAL_TARGET_EXPORTS) \
44780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
44781 for flag in $(EXTRA_TARGET_FLAGS); do \
44782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44783 done; \
44784 (cd $(TARGET_SUBDIR)/newlib && \
44785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44787 "RANLIB=$${RANLIB}" \
44788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44789 maintainer-clean) \
44790 || exit 1
44792 @endif target-newlib
44798 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44799 maybe-configure-target-libgcc:
44800 @if gcc-bootstrap
44801 configure-target-libgcc: stage_current
44802 @endif gcc-bootstrap
44803 @if target-libgcc
44804 maybe-configure-target-libgcc: configure-target-libgcc
44805 configure-target-libgcc:
44806 @r=`${PWD_COMMAND}`; export r; \
44807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44808 echo "Checking multilib configuration for libgcc..."; \
44809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44810 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44811 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44812 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44813 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44814 else \
44815 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44816 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44817 fi; \
44818 else \
44819 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44820 fi; \
44821 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44823 $(NORMAL_TARGET_EXPORTS) \
44824 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44825 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44826 case $(srcdir) in \
44827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44828 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44830 esac; \
44831 module_srcdir=libgcc; \
44832 rm -f no-such-file || : ; \
44833 CONFIG_SITE=no-such-file $(SHELL) \
44834 $$s/$$module_srcdir/configure \
44835 --srcdir=$${topdir}/$$module_srcdir \
44836 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44837 --target=${target_alias} \
44838 || exit 1
44839 @endif target-libgcc
44843 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44844 maybe-configure-stage1-target-libgcc:
44845 @if target-libgcc-bootstrap
44846 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44847 configure-stage1-target-libgcc:
44848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44849 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44850 @r=`${PWD_COMMAND}`; export r; \
44851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44852 TFLAGS="$(STAGE1_TFLAGS)"; \
44853 echo "Checking multilib configuration for libgcc..."; \
44854 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44855 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44856 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44857 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44858 else \
44859 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44860 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44861 fi; \
44862 else \
44863 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44864 fi; \
44865 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44866 $(NORMAL_TARGET_EXPORTS) \
44867 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44868 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44869 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44870 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
44871 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44872 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44873 case $(srcdir) in \
44874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44875 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44877 esac; \
44878 module_srcdir=libgcc; \
44879 $(SHELL) $$s/$$module_srcdir/configure \
44880 --srcdir=$${topdir}/$$module_srcdir \
44881 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44882 --target=${target_alias} \
44884 $(STAGE1_CONFIGURE_FLAGS)
44885 @endif target-libgcc-bootstrap
44887 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44888 maybe-configure-stage2-target-libgcc:
44889 @if target-libgcc-bootstrap
44890 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44891 configure-stage2-target-libgcc:
44892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44893 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44894 @r=`${PWD_COMMAND}`; export r; \
44895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44896 TFLAGS="$(STAGE2_TFLAGS)"; \
44897 echo "Checking multilib configuration for libgcc..."; \
44898 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44899 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44900 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44901 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44902 else \
44903 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44904 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44905 fi; \
44906 else \
44907 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44908 fi; \
44909 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44910 $(NORMAL_TARGET_EXPORTS) \
44912 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44913 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44914 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44915 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
44916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44917 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44918 case $(srcdir) in \
44919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44920 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44922 esac; \
44923 module_srcdir=libgcc; \
44924 $(SHELL) $$s/$$module_srcdir/configure \
44925 --srcdir=$${topdir}/$$module_srcdir \
44926 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44927 --target=${target_alias} \
44928 --with-build-libsubdir=$(HOST_SUBDIR) \
44929 $(STAGE2_CONFIGURE_FLAGS)
44930 @endif target-libgcc-bootstrap
44932 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44933 maybe-configure-stage3-target-libgcc:
44934 @if target-libgcc-bootstrap
44935 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44936 configure-stage3-target-libgcc:
44937 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44938 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44939 @r=`${PWD_COMMAND}`; export r; \
44940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44941 TFLAGS="$(STAGE3_TFLAGS)"; \
44942 echo "Checking multilib configuration for libgcc..."; \
44943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44944 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44945 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44946 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44947 else \
44948 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44949 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44950 fi; \
44951 else \
44952 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44953 fi; \
44954 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44955 $(NORMAL_TARGET_EXPORTS) \
44957 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44958 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44959 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44960 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
44961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44962 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44963 case $(srcdir) in \
44964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44965 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44967 esac; \
44968 module_srcdir=libgcc; \
44969 $(SHELL) $$s/$$module_srcdir/configure \
44970 --srcdir=$${topdir}/$$module_srcdir \
44971 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44972 --target=${target_alias} \
44973 --with-build-libsubdir=$(HOST_SUBDIR) \
44974 $(STAGE3_CONFIGURE_FLAGS)
44975 @endif target-libgcc-bootstrap
44977 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44978 maybe-configure-stage4-target-libgcc:
44979 @if target-libgcc-bootstrap
44980 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44981 configure-stage4-target-libgcc:
44982 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44983 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44984 @r=`${PWD_COMMAND}`; export r; \
44985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44986 TFLAGS="$(STAGE4_TFLAGS)"; \
44987 echo "Checking multilib configuration for libgcc..."; \
44988 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44989 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44990 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44991 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44992 else \
44993 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44994 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44995 fi; \
44996 else \
44997 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44998 fi; \
44999 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45000 $(NORMAL_TARGET_EXPORTS) \
45002 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45003 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45004 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45005 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
45006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45007 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45008 case $(srcdir) in \
45009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45010 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45012 esac; \
45013 module_srcdir=libgcc; \
45014 $(SHELL) $$s/$$module_srcdir/configure \
45015 --srcdir=$${topdir}/$$module_srcdir \
45016 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45017 --target=${target_alias} \
45018 --with-build-libsubdir=$(HOST_SUBDIR) \
45019 $(STAGE4_CONFIGURE_FLAGS)
45020 @endif target-libgcc-bootstrap
45022 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
45023 maybe-configure-stageprofile-target-libgcc:
45024 @if target-libgcc-bootstrap
45025 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45026 configure-stageprofile-target-libgcc:
45027 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45028 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45029 @r=`${PWD_COMMAND}`; export r; \
45030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45031 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45032 echo "Checking multilib configuration for libgcc..."; \
45033 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45034 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45035 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45036 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45037 else \
45038 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45039 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45040 fi; \
45041 else \
45042 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45043 fi; \
45044 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45045 $(NORMAL_TARGET_EXPORTS) \
45047 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45048 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45049 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45050 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
45051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45052 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45053 case $(srcdir) in \
45054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45055 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45057 esac; \
45058 module_srcdir=libgcc; \
45059 $(SHELL) $$s/$$module_srcdir/configure \
45060 --srcdir=$${topdir}/$$module_srcdir \
45061 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45062 --target=${target_alias} \
45063 --with-build-libsubdir=$(HOST_SUBDIR) \
45064 $(STAGEprofile_CONFIGURE_FLAGS)
45065 @endif target-libgcc-bootstrap
45067 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
45068 maybe-configure-stagetrain-target-libgcc:
45069 @if target-libgcc-bootstrap
45070 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45071 configure-stagetrain-target-libgcc:
45072 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45073 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45074 @r=`${PWD_COMMAND}`; export r; \
45075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45076 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45077 echo "Checking multilib configuration for libgcc..."; \
45078 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45079 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45080 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45081 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45082 else \
45083 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45084 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45085 fi; \
45086 else \
45087 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45088 fi; \
45089 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45090 $(NORMAL_TARGET_EXPORTS) \
45092 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45093 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45094 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45095 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
45096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45097 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45098 case $(srcdir) in \
45099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45100 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45102 esac; \
45103 module_srcdir=libgcc; \
45104 $(SHELL) $$s/$$module_srcdir/configure \
45105 --srcdir=$${topdir}/$$module_srcdir \
45106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45107 --target=${target_alias} \
45108 --with-build-libsubdir=$(HOST_SUBDIR) \
45109 $(STAGEtrain_CONFIGURE_FLAGS)
45110 @endif target-libgcc-bootstrap
45112 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
45113 maybe-configure-stagefeedback-target-libgcc:
45114 @if target-libgcc-bootstrap
45115 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45116 configure-stagefeedback-target-libgcc:
45117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45118 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45119 @r=`${PWD_COMMAND}`; export r; \
45120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45122 echo "Checking multilib configuration for libgcc..."; \
45123 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45124 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45125 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45126 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45127 else \
45128 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45129 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45130 fi; \
45131 else \
45132 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45133 fi; \
45134 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45135 $(NORMAL_TARGET_EXPORTS) \
45137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45140 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
45141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45143 case $(srcdir) in \
45144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45147 esac; \
45148 module_srcdir=libgcc; \
45149 $(SHELL) $$s/$$module_srcdir/configure \
45150 --srcdir=$${topdir}/$$module_srcdir \
45151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45152 --target=${target_alias} \
45153 --with-build-libsubdir=$(HOST_SUBDIR) \
45154 $(STAGEfeedback_CONFIGURE_FLAGS)
45155 @endif target-libgcc-bootstrap
45157 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
45158 maybe-configure-stageautoprofile-target-libgcc:
45159 @if target-libgcc-bootstrap
45160 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45161 configure-stageautoprofile-target-libgcc:
45162 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45163 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45164 @r=`${PWD_COMMAND}`; export r; \
45165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45166 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45167 echo "Checking multilib configuration for libgcc..."; \
45168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45169 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45170 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45171 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45172 else \
45173 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45174 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45175 fi; \
45176 else \
45177 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45178 fi; \
45179 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45180 $(NORMAL_TARGET_EXPORTS) \
45182 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45183 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45184 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45185 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
45186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45187 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45188 case $(srcdir) in \
45189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45190 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45192 esac; \
45193 module_srcdir=libgcc; \
45194 $(SHELL) $$s/$$module_srcdir/configure \
45195 --srcdir=$${topdir}/$$module_srcdir \
45196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45197 --target=${target_alias} \
45198 --with-build-libsubdir=$(HOST_SUBDIR) \
45199 $(STAGEautoprofile_CONFIGURE_FLAGS)
45200 @endif target-libgcc-bootstrap
45202 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
45203 maybe-configure-stageautofeedback-target-libgcc:
45204 @if target-libgcc-bootstrap
45205 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45206 configure-stageautofeedback-target-libgcc:
45207 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45208 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45209 @r=`${PWD_COMMAND}`; export r; \
45210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45211 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45212 echo "Checking multilib configuration for libgcc..."; \
45213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45214 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45215 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45216 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45217 else \
45218 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45219 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45220 fi; \
45221 else \
45222 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45223 fi; \
45224 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45225 $(NORMAL_TARGET_EXPORTS) \
45227 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45230 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
45231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45232 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45233 case $(srcdir) in \
45234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45235 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45237 esac; \
45238 module_srcdir=libgcc; \
45239 $(SHELL) $$s/$$module_srcdir/configure \
45240 --srcdir=$${topdir}/$$module_srcdir \
45241 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45242 --target=${target_alias} \
45243 --with-build-libsubdir=$(HOST_SUBDIR) \
45244 $(STAGEautofeedback_CONFIGURE_FLAGS)
45245 @endif target-libgcc-bootstrap
45251 .PHONY: all-target-libgcc maybe-all-target-libgcc
45252 maybe-all-target-libgcc:
45253 @if gcc-bootstrap
45254 all-target-libgcc: stage_current
45255 @endif gcc-bootstrap
45256 @if target-libgcc
45257 TARGET-target-libgcc=all
45258 maybe-all-target-libgcc: all-target-libgcc
45259 all-target-libgcc: configure-target-libgcc
45260 @r=`${PWD_COMMAND}`; export r; \
45261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45262 $(NORMAL_TARGET_EXPORTS) \
45263 (cd $(TARGET_SUBDIR)/libgcc && \
45264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45265 $(TARGET-target-libgcc))
45266 @endif target-libgcc
45270 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
45271 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
45272 maybe-all-stage1-target-libgcc:
45273 maybe-clean-stage1-target-libgcc:
45274 @if target-libgcc-bootstrap
45275 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
45276 all-stage1: all-stage1-target-libgcc
45277 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
45278 all-stage1-target-libgcc: configure-stage1-target-libgcc
45279 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45280 @r=`${PWD_COMMAND}`; export r; \
45281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45282 TFLAGS="$(STAGE1_TFLAGS)"; \
45283 $(NORMAL_TARGET_EXPORTS) \
45284 cd $(TARGET_SUBDIR)/libgcc && \
45286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45287 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45288 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45289 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45293 $(EXTRA_TARGET_FLAGS) \
45295 TFLAGS="$(STAGE1_TFLAGS)" \
45296 $(TARGET-stage1-target-libgcc)
45298 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
45299 clean-stage1: clean-stage1-target-libgcc
45300 clean-stage1-target-libgcc:
45301 @if [ $(current_stage) = stage1 ]; then \
45302 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45303 else \
45304 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
45305 $(MAKE) stage1-start; \
45306 fi; \
45307 cd $(TARGET_SUBDIR)/libgcc && \
45308 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45309 clean
45310 @endif target-libgcc-bootstrap
45313 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
45314 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
45315 maybe-all-stage2-target-libgcc:
45316 maybe-clean-stage2-target-libgcc:
45317 @if target-libgcc-bootstrap
45318 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
45319 all-stage2: all-stage2-target-libgcc
45320 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
45321 all-stage2-target-libgcc: configure-stage2-target-libgcc
45322 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45323 @r=`${PWD_COMMAND}`; export r; \
45324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45325 TFLAGS="$(STAGE2_TFLAGS)"; \
45326 $(NORMAL_TARGET_EXPORTS) \
45328 cd $(TARGET_SUBDIR)/libgcc && \
45330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45331 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45332 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45333 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45337 $(EXTRA_TARGET_FLAGS) \
45338 TFLAGS="$(STAGE2_TFLAGS)" \
45339 $(TARGET-stage2-target-libgcc)
45341 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
45342 clean-stage2: clean-stage2-target-libgcc
45343 clean-stage2-target-libgcc:
45344 @if [ $(current_stage) = stage2 ]; then \
45345 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45346 else \
45347 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
45348 $(MAKE) stage2-start; \
45349 fi; \
45350 cd $(TARGET_SUBDIR)/libgcc && \
45351 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45352 @endif target-libgcc-bootstrap
45355 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
45356 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
45357 maybe-all-stage3-target-libgcc:
45358 maybe-clean-stage3-target-libgcc:
45359 @if target-libgcc-bootstrap
45360 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
45361 all-stage3: all-stage3-target-libgcc
45362 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
45363 all-stage3-target-libgcc: configure-stage3-target-libgcc
45364 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45365 @r=`${PWD_COMMAND}`; export r; \
45366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45367 TFLAGS="$(STAGE3_TFLAGS)"; \
45368 $(NORMAL_TARGET_EXPORTS) \
45370 cd $(TARGET_SUBDIR)/libgcc && \
45372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45373 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45374 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45375 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45379 $(EXTRA_TARGET_FLAGS) \
45380 TFLAGS="$(STAGE3_TFLAGS)" \
45381 $(TARGET-stage3-target-libgcc)
45383 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
45384 clean-stage3: clean-stage3-target-libgcc
45385 clean-stage3-target-libgcc:
45386 @if [ $(current_stage) = stage3 ]; then \
45387 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45388 else \
45389 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
45390 $(MAKE) stage3-start; \
45391 fi; \
45392 cd $(TARGET_SUBDIR)/libgcc && \
45393 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45394 @endif target-libgcc-bootstrap
45397 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
45398 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
45399 maybe-all-stage4-target-libgcc:
45400 maybe-clean-stage4-target-libgcc:
45401 @if target-libgcc-bootstrap
45402 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
45403 all-stage4: all-stage4-target-libgcc
45404 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
45405 all-stage4-target-libgcc: configure-stage4-target-libgcc
45406 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45407 @r=`${PWD_COMMAND}`; export r; \
45408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45409 TFLAGS="$(STAGE4_TFLAGS)"; \
45410 $(NORMAL_TARGET_EXPORTS) \
45412 cd $(TARGET_SUBDIR)/libgcc && \
45414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45415 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45416 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45417 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45421 $(EXTRA_TARGET_FLAGS) \
45422 TFLAGS="$(STAGE4_TFLAGS)" \
45423 $(TARGET-stage4-target-libgcc)
45425 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
45426 clean-stage4: clean-stage4-target-libgcc
45427 clean-stage4-target-libgcc:
45428 @if [ $(current_stage) = stage4 ]; then \
45429 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45430 else \
45431 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
45432 $(MAKE) stage4-start; \
45433 fi; \
45434 cd $(TARGET_SUBDIR)/libgcc && \
45435 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45436 @endif target-libgcc-bootstrap
45439 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
45440 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
45441 maybe-all-stageprofile-target-libgcc:
45442 maybe-clean-stageprofile-target-libgcc:
45443 @if target-libgcc-bootstrap
45444 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
45445 all-stageprofile: all-stageprofile-target-libgcc
45446 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
45447 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45448 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45449 @r=`${PWD_COMMAND}`; export r; \
45450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45451 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45452 $(NORMAL_TARGET_EXPORTS) \
45454 cd $(TARGET_SUBDIR)/libgcc && \
45456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45457 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45463 $(EXTRA_TARGET_FLAGS) \
45464 TFLAGS="$(STAGEprofile_TFLAGS)" \
45465 $(TARGET-stageprofile-target-libgcc)
45467 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45468 clean-stageprofile: clean-stageprofile-target-libgcc
45469 clean-stageprofile-target-libgcc:
45470 @if [ $(current_stage) = stageprofile ]; then \
45471 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45472 else \
45473 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45474 $(MAKE) stageprofile-start; \
45475 fi; \
45476 cd $(TARGET_SUBDIR)/libgcc && \
45477 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45478 @endif target-libgcc-bootstrap
45481 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
45482 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
45483 maybe-all-stagetrain-target-libgcc:
45484 maybe-clean-stagetrain-target-libgcc:
45485 @if target-libgcc-bootstrap
45486 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
45487 all-stagetrain: all-stagetrain-target-libgcc
45488 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
45489 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45490 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45491 @r=`${PWD_COMMAND}`; export r; \
45492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45493 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45494 $(NORMAL_TARGET_EXPORTS) \
45496 cd $(TARGET_SUBDIR)/libgcc && \
45498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45499 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45500 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45501 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45505 $(EXTRA_TARGET_FLAGS) \
45506 TFLAGS="$(STAGEtrain_TFLAGS)" \
45507 $(TARGET-stagetrain-target-libgcc)
45509 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
45510 clean-stagetrain: clean-stagetrain-target-libgcc
45511 clean-stagetrain-target-libgcc:
45512 @if [ $(current_stage) = stagetrain ]; then \
45513 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45514 else \
45515 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
45516 $(MAKE) stagetrain-start; \
45517 fi; \
45518 cd $(TARGET_SUBDIR)/libgcc && \
45519 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45520 @endif target-libgcc-bootstrap
45523 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45524 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45525 maybe-all-stagefeedback-target-libgcc:
45526 maybe-clean-stagefeedback-target-libgcc:
45527 @if target-libgcc-bootstrap
45528 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45529 all-stagefeedback: all-stagefeedback-target-libgcc
45530 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45531 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45532 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45533 @r=`${PWD_COMMAND}`; export r; \
45534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45535 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45536 $(NORMAL_TARGET_EXPORTS) \
45538 cd $(TARGET_SUBDIR)/libgcc && \
45540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45541 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45542 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45543 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45547 $(EXTRA_TARGET_FLAGS) \
45548 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45549 $(TARGET-stagefeedback-target-libgcc)
45551 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45552 clean-stagefeedback: clean-stagefeedback-target-libgcc
45553 clean-stagefeedback-target-libgcc:
45554 @if [ $(current_stage) = stagefeedback ]; then \
45555 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45556 else \
45557 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45558 $(MAKE) stagefeedback-start; \
45559 fi; \
45560 cd $(TARGET_SUBDIR)/libgcc && \
45561 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45562 @endif target-libgcc-bootstrap
45565 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
45566 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
45567 maybe-all-stageautoprofile-target-libgcc:
45568 maybe-clean-stageautoprofile-target-libgcc:
45569 @if target-libgcc-bootstrap
45570 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
45571 all-stageautoprofile: all-stageautoprofile-target-libgcc
45572 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
45573 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45574 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45575 @r=`${PWD_COMMAND}`; export r; \
45576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45577 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45578 $(NORMAL_TARGET_EXPORTS) \
45580 cd $(TARGET_SUBDIR)/libgcc && \
45581 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45583 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45589 $(EXTRA_TARGET_FLAGS) \
45590 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45591 $(TARGET-stageautoprofile-target-libgcc)
45593 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
45594 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
45595 clean-stageautoprofile-target-libgcc:
45596 @if [ $(current_stage) = stageautoprofile ]; then \
45597 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45598 else \
45599 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
45600 $(MAKE) stageautoprofile-start; \
45601 fi; \
45602 cd $(TARGET_SUBDIR)/libgcc && \
45603 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45604 @endif target-libgcc-bootstrap
45607 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
45608 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
45609 maybe-all-stageautofeedback-target-libgcc:
45610 maybe-clean-stageautofeedback-target-libgcc:
45611 @if target-libgcc-bootstrap
45612 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
45613 all-stageautofeedback: all-stageautofeedback-target-libgcc
45614 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
45615 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45616 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45617 @r=`${PWD_COMMAND}`; export r; \
45618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45619 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45620 $(NORMAL_TARGET_EXPORTS) \
45622 cd $(TARGET_SUBDIR)/libgcc && \
45624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45625 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45626 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45627 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45631 $(EXTRA_TARGET_FLAGS) \
45632 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45633 $(TARGET-stageautofeedback-target-libgcc)
45635 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
45636 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
45637 clean-stageautofeedback-target-libgcc:
45638 @if [ $(current_stage) = stageautofeedback ]; then \
45639 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45640 else \
45641 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
45642 $(MAKE) stageautofeedback-start; \
45643 fi; \
45644 cd $(TARGET_SUBDIR)/libgcc && \
45645 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45646 @endif target-libgcc-bootstrap
45653 .PHONY: check-target-libgcc maybe-check-target-libgcc
45654 maybe-check-target-libgcc:
45655 @if target-libgcc
45656 maybe-check-target-libgcc: check-target-libgcc
45658 # Dummy target for uncheckable module.
45659 check-target-libgcc:
45661 @endif target-libgcc
45663 .PHONY: install-target-libgcc maybe-install-target-libgcc
45664 maybe-install-target-libgcc:
45665 @if target-libgcc
45666 maybe-install-target-libgcc: install-target-libgcc
45668 install-target-libgcc: installdirs
45669 @: $(MAKE); $(unstage)
45670 @r=`${PWD_COMMAND}`; export r; \
45671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45672 $(NORMAL_TARGET_EXPORTS) \
45673 (cd $(TARGET_SUBDIR)/libgcc && \
45674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45676 @endif target-libgcc
45678 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
45679 maybe-install-strip-target-libgcc:
45680 @if target-libgcc
45681 maybe-install-strip-target-libgcc: install-strip-target-libgcc
45683 install-strip-target-libgcc: installdirs
45684 @: $(MAKE); $(unstage)
45685 @r=`${PWD_COMMAND}`; export r; \
45686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45687 $(NORMAL_TARGET_EXPORTS) \
45688 (cd $(TARGET_SUBDIR)/libgcc && \
45689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45691 @endif target-libgcc
45693 # Other targets (info, dvi, pdf, etc.)
45695 .PHONY: maybe-info-target-libgcc info-target-libgcc
45696 maybe-info-target-libgcc:
45697 @if target-libgcc
45698 maybe-info-target-libgcc: info-target-libgcc
45700 info-target-libgcc: \
45701 configure-target-libgcc
45702 @: $(MAKE); $(unstage)
45703 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45704 r=`${PWD_COMMAND}`; export r; \
45705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45706 $(NORMAL_TARGET_EXPORTS) \
45707 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
45708 for flag in $(EXTRA_TARGET_FLAGS); do \
45709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45710 done; \
45711 (cd $(TARGET_SUBDIR)/libgcc && \
45712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45714 "RANLIB=$${RANLIB}" \
45715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45716 info) \
45717 || exit 1
45719 @endif target-libgcc
45721 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45722 maybe-dvi-target-libgcc:
45723 @if target-libgcc
45724 maybe-dvi-target-libgcc: dvi-target-libgcc
45726 dvi-target-libgcc: \
45727 configure-target-libgcc
45728 @: $(MAKE); $(unstage)
45729 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45730 r=`${PWD_COMMAND}`; export r; \
45731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45732 $(NORMAL_TARGET_EXPORTS) \
45733 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
45734 for flag in $(EXTRA_TARGET_FLAGS); do \
45735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45736 done; \
45737 (cd $(TARGET_SUBDIR)/libgcc && \
45738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45740 "RANLIB=$${RANLIB}" \
45741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45742 dvi) \
45743 || exit 1
45745 @endif target-libgcc
45747 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45748 maybe-pdf-target-libgcc:
45749 @if target-libgcc
45750 maybe-pdf-target-libgcc: pdf-target-libgcc
45752 pdf-target-libgcc: \
45753 configure-target-libgcc
45754 @: $(MAKE); $(unstage)
45755 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45756 r=`${PWD_COMMAND}`; export r; \
45757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45758 $(NORMAL_TARGET_EXPORTS) \
45759 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
45760 for flag in $(EXTRA_TARGET_FLAGS); do \
45761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45762 done; \
45763 (cd $(TARGET_SUBDIR)/libgcc && \
45764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45766 "RANLIB=$${RANLIB}" \
45767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45768 pdf) \
45769 || exit 1
45771 @endif target-libgcc
45773 .PHONY: maybe-html-target-libgcc html-target-libgcc
45774 maybe-html-target-libgcc:
45775 @if target-libgcc
45776 maybe-html-target-libgcc: html-target-libgcc
45778 html-target-libgcc: \
45779 configure-target-libgcc
45780 @: $(MAKE); $(unstage)
45781 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45782 r=`${PWD_COMMAND}`; export r; \
45783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45784 $(NORMAL_TARGET_EXPORTS) \
45785 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
45786 for flag in $(EXTRA_TARGET_FLAGS); do \
45787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45788 done; \
45789 (cd $(TARGET_SUBDIR)/libgcc && \
45790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45792 "RANLIB=$${RANLIB}" \
45793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45794 html) \
45795 || exit 1
45797 @endif target-libgcc
45799 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45800 maybe-TAGS-target-libgcc:
45801 @if target-libgcc
45802 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45804 TAGS-target-libgcc: \
45805 configure-target-libgcc
45806 @: $(MAKE); $(unstage)
45807 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45808 r=`${PWD_COMMAND}`; export r; \
45809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45810 $(NORMAL_TARGET_EXPORTS) \
45811 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
45812 for flag in $(EXTRA_TARGET_FLAGS); do \
45813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45814 done; \
45815 (cd $(TARGET_SUBDIR)/libgcc && \
45816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45818 "RANLIB=$${RANLIB}" \
45819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45820 TAGS) \
45821 || exit 1
45823 @endif target-libgcc
45825 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45826 maybe-install-info-target-libgcc:
45827 @if target-libgcc
45828 maybe-install-info-target-libgcc: install-info-target-libgcc
45830 install-info-target-libgcc: \
45831 configure-target-libgcc \
45832 info-target-libgcc
45833 @: $(MAKE); $(unstage)
45834 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45835 r=`${PWD_COMMAND}`; export r; \
45836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45837 $(NORMAL_TARGET_EXPORTS) \
45838 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
45839 for flag in $(EXTRA_TARGET_FLAGS); do \
45840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45841 done; \
45842 (cd $(TARGET_SUBDIR)/libgcc && \
45843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45845 "RANLIB=$${RANLIB}" \
45846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45847 install-info) \
45848 || exit 1
45850 @endif target-libgcc
45852 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45853 maybe-install-pdf-target-libgcc:
45854 @if target-libgcc
45855 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45857 install-pdf-target-libgcc: \
45858 configure-target-libgcc \
45859 pdf-target-libgcc
45860 @: $(MAKE); $(unstage)
45861 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45862 r=`${PWD_COMMAND}`; export r; \
45863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45864 $(NORMAL_TARGET_EXPORTS) \
45865 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
45866 for flag in $(EXTRA_TARGET_FLAGS); do \
45867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45868 done; \
45869 (cd $(TARGET_SUBDIR)/libgcc && \
45870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45872 "RANLIB=$${RANLIB}" \
45873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45874 install-pdf) \
45875 || exit 1
45877 @endif target-libgcc
45879 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45880 maybe-install-html-target-libgcc:
45881 @if target-libgcc
45882 maybe-install-html-target-libgcc: install-html-target-libgcc
45884 install-html-target-libgcc: \
45885 configure-target-libgcc \
45886 html-target-libgcc
45887 @: $(MAKE); $(unstage)
45888 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45889 r=`${PWD_COMMAND}`; export r; \
45890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45891 $(NORMAL_TARGET_EXPORTS) \
45892 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
45893 for flag in $(EXTRA_TARGET_FLAGS); do \
45894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45895 done; \
45896 (cd $(TARGET_SUBDIR)/libgcc && \
45897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45899 "RANLIB=$${RANLIB}" \
45900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45901 install-html) \
45902 || exit 1
45904 @endif target-libgcc
45906 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45907 maybe-installcheck-target-libgcc:
45908 @if target-libgcc
45909 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45911 installcheck-target-libgcc: \
45912 configure-target-libgcc
45913 @: $(MAKE); $(unstage)
45914 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45915 r=`${PWD_COMMAND}`; export r; \
45916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45917 $(NORMAL_TARGET_EXPORTS) \
45918 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
45919 for flag in $(EXTRA_TARGET_FLAGS); do \
45920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45921 done; \
45922 (cd $(TARGET_SUBDIR)/libgcc && \
45923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45925 "RANLIB=$${RANLIB}" \
45926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45927 installcheck) \
45928 || exit 1
45930 @endif target-libgcc
45932 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45933 maybe-mostlyclean-target-libgcc:
45934 @if target-libgcc
45935 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45937 mostlyclean-target-libgcc:
45938 @: $(MAKE); $(unstage)
45939 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45940 r=`${PWD_COMMAND}`; export r; \
45941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45942 $(NORMAL_TARGET_EXPORTS) \
45943 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
45944 for flag in $(EXTRA_TARGET_FLAGS); do \
45945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45946 done; \
45947 (cd $(TARGET_SUBDIR)/libgcc && \
45948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45950 "RANLIB=$${RANLIB}" \
45951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45952 mostlyclean) \
45953 || exit 1
45955 @endif target-libgcc
45957 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45958 maybe-clean-target-libgcc:
45959 @if target-libgcc
45960 maybe-clean-target-libgcc: clean-target-libgcc
45962 clean-target-libgcc:
45963 @: $(MAKE); $(unstage)
45964 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45965 r=`${PWD_COMMAND}`; export r; \
45966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45967 $(NORMAL_TARGET_EXPORTS) \
45968 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
45969 for flag in $(EXTRA_TARGET_FLAGS); do \
45970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45971 done; \
45972 (cd $(TARGET_SUBDIR)/libgcc && \
45973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45975 "RANLIB=$${RANLIB}" \
45976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45977 clean) \
45978 || exit 1
45980 @endif target-libgcc
45982 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45983 maybe-distclean-target-libgcc:
45984 @if target-libgcc
45985 maybe-distclean-target-libgcc: distclean-target-libgcc
45987 distclean-target-libgcc:
45988 @: $(MAKE); $(unstage)
45989 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45990 r=`${PWD_COMMAND}`; export r; \
45991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45992 $(NORMAL_TARGET_EXPORTS) \
45993 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
45994 for flag in $(EXTRA_TARGET_FLAGS); do \
45995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45996 done; \
45997 (cd $(TARGET_SUBDIR)/libgcc && \
45998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46000 "RANLIB=$${RANLIB}" \
46001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46002 distclean) \
46003 || exit 1
46005 @endif target-libgcc
46007 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
46008 maybe-maintainer-clean-target-libgcc:
46009 @if target-libgcc
46010 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
46012 maintainer-clean-target-libgcc:
46013 @: $(MAKE); $(unstage)
46014 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46015 r=`${PWD_COMMAND}`; export r; \
46016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46017 $(NORMAL_TARGET_EXPORTS) \
46018 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
46019 for flag in $(EXTRA_TARGET_FLAGS); do \
46020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46021 done; \
46022 (cd $(TARGET_SUBDIR)/libgcc && \
46023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46025 "RANLIB=$${RANLIB}" \
46026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46027 maintainer-clean) \
46028 || exit 1
46030 @endif target-libgcc
46036 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
46037 maybe-configure-target-libbacktrace:
46038 @if gcc-bootstrap
46039 configure-target-libbacktrace: stage_current
46040 @endif gcc-bootstrap
46041 @if target-libbacktrace
46042 maybe-configure-target-libbacktrace: configure-target-libbacktrace
46043 configure-target-libbacktrace:
46044 @: $(MAKE); $(unstage)
46045 @r=`${PWD_COMMAND}`; export r; \
46046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46047 echo "Checking multilib configuration for libbacktrace..."; \
46048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
46050 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46051 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46052 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
46053 else \
46054 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
46055 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46056 fi; \
46057 else \
46058 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46059 fi; \
46060 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
46061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46062 $(NORMAL_TARGET_EXPORTS) \
46063 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
46064 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
46065 case $(srcdir) in \
46066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46067 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
46068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46069 esac; \
46070 module_srcdir=libbacktrace; \
46071 rm -f no-such-file || : ; \
46072 CONFIG_SITE=no-such-file $(SHELL) \
46073 $$s/$$module_srcdir/configure \
46074 --srcdir=$${topdir}/$$module_srcdir \
46075 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46076 --target=${target_alias} \
46077 || exit 1
46078 @endif target-libbacktrace
46084 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
46085 maybe-all-target-libbacktrace:
46086 @if gcc-bootstrap
46087 all-target-libbacktrace: stage_current
46088 @endif gcc-bootstrap
46089 @if target-libbacktrace
46090 TARGET-target-libbacktrace=all
46091 maybe-all-target-libbacktrace: all-target-libbacktrace
46092 all-target-libbacktrace: configure-target-libbacktrace
46093 @: $(MAKE); $(unstage)
46094 @r=`${PWD_COMMAND}`; export r; \
46095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46096 $(NORMAL_TARGET_EXPORTS) \
46097 (cd $(TARGET_SUBDIR)/libbacktrace && \
46098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46099 $(TARGET-target-libbacktrace))
46100 @endif target-libbacktrace
46106 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
46107 maybe-check-target-libbacktrace:
46108 @if target-libbacktrace
46109 maybe-check-target-libbacktrace: check-target-libbacktrace
46111 check-target-libbacktrace:
46112 @: $(MAKE); $(unstage)
46113 @r=`${PWD_COMMAND}`; export r; \
46114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46115 $(NORMAL_TARGET_EXPORTS) \
46116 (cd $(TARGET_SUBDIR)/libbacktrace && \
46117 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46119 @endif target-libbacktrace
46121 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
46122 maybe-install-target-libbacktrace:
46123 @if target-libbacktrace
46124 maybe-install-target-libbacktrace: install-target-libbacktrace
46126 install-target-libbacktrace: installdirs
46127 @: $(MAKE); $(unstage)
46128 @r=`${PWD_COMMAND}`; export r; \
46129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46130 $(NORMAL_TARGET_EXPORTS) \
46131 (cd $(TARGET_SUBDIR)/libbacktrace && \
46132 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46134 @endif target-libbacktrace
46136 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
46137 maybe-install-strip-target-libbacktrace:
46138 @if target-libbacktrace
46139 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
46141 install-strip-target-libbacktrace: installdirs
46142 @: $(MAKE); $(unstage)
46143 @r=`${PWD_COMMAND}`; export r; \
46144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46145 $(NORMAL_TARGET_EXPORTS) \
46146 (cd $(TARGET_SUBDIR)/libbacktrace && \
46147 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46149 @endif target-libbacktrace
46151 # Other targets (info, dvi, pdf, etc.)
46153 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
46154 maybe-info-target-libbacktrace:
46155 @if target-libbacktrace
46156 maybe-info-target-libbacktrace: info-target-libbacktrace
46158 info-target-libbacktrace: \
46159 configure-target-libbacktrace
46160 @: $(MAKE); $(unstage)
46161 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46162 r=`${PWD_COMMAND}`; export r; \
46163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46164 $(NORMAL_TARGET_EXPORTS) \
46165 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
46166 for flag in $(EXTRA_TARGET_FLAGS); do \
46167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46168 done; \
46169 (cd $(TARGET_SUBDIR)/libbacktrace && \
46170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46172 "RANLIB=$${RANLIB}" \
46173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46174 info) \
46175 || exit 1
46177 @endif target-libbacktrace
46179 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
46180 maybe-dvi-target-libbacktrace:
46181 @if target-libbacktrace
46182 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
46184 dvi-target-libbacktrace: \
46185 configure-target-libbacktrace
46186 @: $(MAKE); $(unstage)
46187 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46188 r=`${PWD_COMMAND}`; export r; \
46189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46190 $(NORMAL_TARGET_EXPORTS) \
46191 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
46192 for flag in $(EXTRA_TARGET_FLAGS); do \
46193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46194 done; \
46195 (cd $(TARGET_SUBDIR)/libbacktrace && \
46196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46198 "RANLIB=$${RANLIB}" \
46199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46200 dvi) \
46201 || exit 1
46203 @endif target-libbacktrace
46205 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
46206 maybe-pdf-target-libbacktrace:
46207 @if target-libbacktrace
46208 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
46210 pdf-target-libbacktrace: \
46211 configure-target-libbacktrace
46212 @: $(MAKE); $(unstage)
46213 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46214 r=`${PWD_COMMAND}`; export r; \
46215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46216 $(NORMAL_TARGET_EXPORTS) \
46217 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46218 for flag in $(EXTRA_TARGET_FLAGS); do \
46219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46220 done; \
46221 (cd $(TARGET_SUBDIR)/libbacktrace && \
46222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46224 "RANLIB=$${RANLIB}" \
46225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46226 pdf) \
46227 || exit 1
46229 @endif target-libbacktrace
46231 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
46232 maybe-html-target-libbacktrace:
46233 @if target-libbacktrace
46234 maybe-html-target-libbacktrace: html-target-libbacktrace
46236 html-target-libbacktrace: \
46237 configure-target-libbacktrace
46238 @: $(MAKE); $(unstage)
46239 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46240 r=`${PWD_COMMAND}`; export r; \
46241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46242 $(NORMAL_TARGET_EXPORTS) \
46243 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
46244 for flag in $(EXTRA_TARGET_FLAGS); do \
46245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46246 done; \
46247 (cd $(TARGET_SUBDIR)/libbacktrace && \
46248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46250 "RANLIB=$${RANLIB}" \
46251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46252 html) \
46253 || exit 1
46255 @endif target-libbacktrace
46257 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
46258 maybe-TAGS-target-libbacktrace:
46259 @if target-libbacktrace
46260 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
46262 TAGS-target-libbacktrace: \
46263 configure-target-libbacktrace
46264 @: $(MAKE); $(unstage)
46265 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46266 r=`${PWD_COMMAND}`; export r; \
46267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46268 $(NORMAL_TARGET_EXPORTS) \
46269 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
46270 for flag in $(EXTRA_TARGET_FLAGS); do \
46271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46272 done; \
46273 (cd $(TARGET_SUBDIR)/libbacktrace && \
46274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46276 "RANLIB=$${RANLIB}" \
46277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46278 TAGS) \
46279 || exit 1
46281 @endif target-libbacktrace
46283 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
46284 maybe-install-info-target-libbacktrace:
46285 @if target-libbacktrace
46286 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
46288 install-info-target-libbacktrace: \
46289 configure-target-libbacktrace \
46290 info-target-libbacktrace
46291 @: $(MAKE); $(unstage)
46292 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46293 r=`${PWD_COMMAND}`; export r; \
46294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46295 $(NORMAL_TARGET_EXPORTS) \
46296 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
46297 for flag in $(EXTRA_TARGET_FLAGS); do \
46298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46299 done; \
46300 (cd $(TARGET_SUBDIR)/libbacktrace && \
46301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46303 "RANLIB=$${RANLIB}" \
46304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46305 install-info) \
46306 || exit 1
46308 @endif target-libbacktrace
46310 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
46311 maybe-install-pdf-target-libbacktrace:
46312 @if target-libbacktrace
46313 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
46315 install-pdf-target-libbacktrace: \
46316 configure-target-libbacktrace \
46317 pdf-target-libbacktrace
46318 @: $(MAKE); $(unstage)
46319 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46320 r=`${PWD_COMMAND}`; export r; \
46321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46322 $(NORMAL_TARGET_EXPORTS) \
46323 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46324 for flag in $(EXTRA_TARGET_FLAGS); do \
46325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46326 done; \
46327 (cd $(TARGET_SUBDIR)/libbacktrace && \
46328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46330 "RANLIB=$${RANLIB}" \
46331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46332 install-pdf) \
46333 || exit 1
46335 @endif target-libbacktrace
46337 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
46338 maybe-install-html-target-libbacktrace:
46339 @if target-libbacktrace
46340 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
46342 install-html-target-libbacktrace: \
46343 configure-target-libbacktrace \
46344 html-target-libbacktrace
46345 @: $(MAKE); $(unstage)
46346 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46347 r=`${PWD_COMMAND}`; export r; \
46348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46349 $(NORMAL_TARGET_EXPORTS) \
46350 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
46351 for flag in $(EXTRA_TARGET_FLAGS); do \
46352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46353 done; \
46354 (cd $(TARGET_SUBDIR)/libbacktrace && \
46355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46357 "RANLIB=$${RANLIB}" \
46358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46359 install-html) \
46360 || exit 1
46362 @endif target-libbacktrace
46364 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
46365 maybe-installcheck-target-libbacktrace:
46366 @if target-libbacktrace
46367 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
46369 installcheck-target-libbacktrace: \
46370 configure-target-libbacktrace
46371 @: $(MAKE); $(unstage)
46372 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46373 r=`${PWD_COMMAND}`; export r; \
46374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46375 $(NORMAL_TARGET_EXPORTS) \
46376 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
46377 for flag in $(EXTRA_TARGET_FLAGS); do \
46378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46379 done; \
46380 (cd $(TARGET_SUBDIR)/libbacktrace && \
46381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46383 "RANLIB=$${RANLIB}" \
46384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46385 installcheck) \
46386 || exit 1
46388 @endif target-libbacktrace
46390 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
46391 maybe-mostlyclean-target-libbacktrace:
46392 @if target-libbacktrace
46393 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
46395 mostlyclean-target-libbacktrace:
46396 @: $(MAKE); $(unstage)
46397 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46398 r=`${PWD_COMMAND}`; export r; \
46399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46400 $(NORMAL_TARGET_EXPORTS) \
46401 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
46402 for flag in $(EXTRA_TARGET_FLAGS); do \
46403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46404 done; \
46405 (cd $(TARGET_SUBDIR)/libbacktrace && \
46406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46408 "RANLIB=$${RANLIB}" \
46409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46410 mostlyclean) \
46411 || exit 1
46413 @endif target-libbacktrace
46415 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
46416 maybe-clean-target-libbacktrace:
46417 @if target-libbacktrace
46418 maybe-clean-target-libbacktrace: clean-target-libbacktrace
46420 clean-target-libbacktrace:
46421 @: $(MAKE); $(unstage)
46422 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46423 r=`${PWD_COMMAND}`; export r; \
46424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46425 $(NORMAL_TARGET_EXPORTS) \
46426 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
46427 for flag in $(EXTRA_TARGET_FLAGS); do \
46428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46429 done; \
46430 (cd $(TARGET_SUBDIR)/libbacktrace && \
46431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46433 "RANLIB=$${RANLIB}" \
46434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46435 clean) \
46436 || exit 1
46438 @endif target-libbacktrace
46440 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
46441 maybe-distclean-target-libbacktrace:
46442 @if target-libbacktrace
46443 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
46445 distclean-target-libbacktrace:
46446 @: $(MAKE); $(unstage)
46447 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46448 r=`${PWD_COMMAND}`; export r; \
46449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46450 $(NORMAL_TARGET_EXPORTS) \
46451 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
46452 for flag in $(EXTRA_TARGET_FLAGS); do \
46453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46454 done; \
46455 (cd $(TARGET_SUBDIR)/libbacktrace && \
46456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46458 "RANLIB=$${RANLIB}" \
46459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46460 distclean) \
46461 || exit 1
46463 @endif target-libbacktrace
46465 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
46466 maybe-maintainer-clean-target-libbacktrace:
46467 @if target-libbacktrace
46468 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
46470 maintainer-clean-target-libbacktrace:
46471 @: $(MAKE); $(unstage)
46472 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46473 r=`${PWD_COMMAND}`; export r; \
46474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46475 $(NORMAL_TARGET_EXPORTS) \
46476 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
46477 for flag in $(EXTRA_TARGET_FLAGS); do \
46478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46479 done; \
46480 (cd $(TARGET_SUBDIR)/libbacktrace && \
46481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46483 "RANLIB=$${RANLIB}" \
46484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46485 maintainer-clean) \
46486 || exit 1
46488 @endif target-libbacktrace
46494 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
46495 maybe-configure-target-libquadmath:
46496 @if gcc-bootstrap
46497 configure-target-libquadmath: stage_current
46498 @endif gcc-bootstrap
46499 @if target-libquadmath
46500 maybe-configure-target-libquadmath: configure-target-libquadmath
46501 configure-target-libquadmath:
46502 @: $(MAKE); $(unstage)
46503 @r=`${PWD_COMMAND}`; export r; \
46504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46505 echo "Checking multilib configuration for libquadmath..."; \
46506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
46508 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46509 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46510 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
46511 else \
46512 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
46513 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46514 fi; \
46515 else \
46516 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46517 fi; \
46518 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
46519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46520 $(NORMAL_TARGET_EXPORTS) \
46521 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
46522 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
46523 case $(srcdir) in \
46524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46525 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
46526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46527 esac; \
46528 module_srcdir=libquadmath; \
46529 rm -f no-such-file || : ; \
46530 CONFIG_SITE=no-such-file $(SHELL) \
46531 $$s/$$module_srcdir/configure \
46532 --srcdir=$${topdir}/$$module_srcdir \
46533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46534 --target=${target_alias} \
46535 || exit 1
46536 @endif target-libquadmath
46542 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
46543 maybe-all-target-libquadmath:
46544 @if gcc-bootstrap
46545 all-target-libquadmath: stage_current
46546 @endif gcc-bootstrap
46547 @if target-libquadmath
46548 TARGET-target-libquadmath=all
46549 maybe-all-target-libquadmath: all-target-libquadmath
46550 all-target-libquadmath: configure-target-libquadmath
46551 @: $(MAKE); $(unstage)
46552 @r=`${PWD_COMMAND}`; export r; \
46553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46554 $(NORMAL_TARGET_EXPORTS) \
46555 (cd $(TARGET_SUBDIR)/libquadmath && \
46556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46557 $(TARGET-target-libquadmath))
46558 @endif target-libquadmath
46564 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
46565 maybe-check-target-libquadmath:
46566 @if target-libquadmath
46567 maybe-check-target-libquadmath: check-target-libquadmath
46569 check-target-libquadmath:
46570 @: $(MAKE); $(unstage)
46571 @r=`${PWD_COMMAND}`; export r; \
46572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46573 $(NORMAL_TARGET_EXPORTS) \
46574 (cd $(TARGET_SUBDIR)/libquadmath && \
46575 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46577 @endif target-libquadmath
46579 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
46580 maybe-install-target-libquadmath:
46581 @if target-libquadmath
46582 maybe-install-target-libquadmath: install-target-libquadmath
46584 install-target-libquadmath: installdirs
46585 @: $(MAKE); $(unstage)
46586 @r=`${PWD_COMMAND}`; export r; \
46587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46588 $(NORMAL_TARGET_EXPORTS) \
46589 (cd $(TARGET_SUBDIR)/libquadmath && \
46590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46592 @endif target-libquadmath
46594 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
46595 maybe-install-strip-target-libquadmath:
46596 @if target-libquadmath
46597 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
46599 install-strip-target-libquadmath: installdirs
46600 @: $(MAKE); $(unstage)
46601 @r=`${PWD_COMMAND}`; export r; \
46602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46603 $(NORMAL_TARGET_EXPORTS) \
46604 (cd $(TARGET_SUBDIR)/libquadmath && \
46605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46607 @endif target-libquadmath
46609 # Other targets (info, dvi, pdf, etc.)
46611 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
46612 maybe-info-target-libquadmath:
46613 @if target-libquadmath
46614 maybe-info-target-libquadmath: info-target-libquadmath
46616 info-target-libquadmath: \
46617 configure-target-libquadmath
46618 @: $(MAKE); $(unstage)
46619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46620 r=`${PWD_COMMAND}`; export r; \
46621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46622 $(NORMAL_TARGET_EXPORTS) \
46623 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
46624 for flag in $(EXTRA_TARGET_FLAGS); do \
46625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46626 done; \
46627 (cd $(TARGET_SUBDIR)/libquadmath && \
46628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46630 "RANLIB=$${RANLIB}" \
46631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46632 info) \
46633 || exit 1
46635 @endif target-libquadmath
46637 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
46638 maybe-dvi-target-libquadmath:
46639 @if target-libquadmath
46640 maybe-dvi-target-libquadmath: dvi-target-libquadmath
46642 dvi-target-libquadmath: \
46643 configure-target-libquadmath
46644 @: $(MAKE); $(unstage)
46645 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46646 r=`${PWD_COMMAND}`; export r; \
46647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46648 $(NORMAL_TARGET_EXPORTS) \
46649 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
46650 for flag in $(EXTRA_TARGET_FLAGS); do \
46651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46652 done; \
46653 (cd $(TARGET_SUBDIR)/libquadmath && \
46654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46656 "RANLIB=$${RANLIB}" \
46657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46658 dvi) \
46659 || exit 1
46661 @endif target-libquadmath
46663 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
46664 maybe-pdf-target-libquadmath:
46665 @if target-libquadmath
46666 maybe-pdf-target-libquadmath: pdf-target-libquadmath
46668 pdf-target-libquadmath: \
46669 configure-target-libquadmath
46670 @: $(MAKE); $(unstage)
46671 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46672 r=`${PWD_COMMAND}`; export r; \
46673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46674 $(NORMAL_TARGET_EXPORTS) \
46675 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
46676 for flag in $(EXTRA_TARGET_FLAGS); do \
46677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46678 done; \
46679 (cd $(TARGET_SUBDIR)/libquadmath && \
46680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46682 "RANLIB=$${RANLIB}" \
46683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46684 pdf) \
46685 || exit 1
46687 @endif target-libquadmath
46689 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
46690 maybe-html-target-libquadmath:
46691 @if target-libquadmath
46692 maybe-html-target-libquadmath: html-target-libquadmath
46694 html-target-libquadmath: \
46695 configure-target-libquadmath
46696 @: $(MAKE); $(unstage)
46697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46698 r=`${PWD_COMMAND}`; export r; \
46699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46700 $(NORMAL_TARGET_EXPORTS) \
46701 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
46702 for flag in $(EXTRA_TARGET_FLAGS); do \
46703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46704 done; \
46705 (cd $(TARGET_SUBDIR)/libquadmath && \
46706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46708 "RANLIB=$${RANLIB}" \
46709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46710 html) \
46711 || exit 1
46713 @endif target-libquadmath
46715 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
46716 maybe-TAGS-target-libquadmath:
46717 @if target-libquadmath
46718 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
46720 TAGS-target-libquadmath: \
46721 configure-target-libquadmath
46722 @: $(MAKE); $(unstage)
46723 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46724 r=`${PWD_COMMAND}`; export r; \
46725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46726 $(NORMAL_TARGET_EXPORTS) \
46727 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
46728 for flag in $(EXTRA_TARGET_FLAGS); do \
46729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46730 done; \
46731 (cd $(TARGET_SUBDIR)/libquadmath && \
46732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46734 "RANLIB=$${RANLIB}" \
46735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46736 TAGS) \
46737 || exit 1
46739 @endif target-libquadmath
46741 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
46742 maybe-install-info-target-libquadmath:
46743 @if target-libquadmath
46744 maybe-install-info-target-libquadmath: install-info-target-libquadmath
46746 install-info-target-libquadmath: \
46747 configure-target-libquadmath \
46748 info-target-libquadmath
46749 @: $(MAKE); $(unstage)
46750 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46751 r=`${PWD_COMMAND}`; export r; \
46752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46753 $(NORMAL_TARGET_EXPORTS) \
46754 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
46755 for flag in $(EXTRA_TARGET_FLAGS); do \
46756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46757 done; \
46758 (cd $(TARGET_SUBDIR)/libquadmath && \
46759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46761 "RANLIB=$${RANLIB}" \
46762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46763 install-info) \
46764 || exit 1
46766 @endif target-libquadmath
46768 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
46769 maybe-install-pdf-target-libquadmath:
46770 @if target-libquadmath
46771 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
46773 install-pdf-target-libquadmath: \
46774 configure-target-libquadmath \
46775 pdf-target-libquadmath
46776 @: $(MAKE); $(unstage)
46777 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46778 r=`${PWD_COMMAND}`; export r; \
46779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46780 $(NORMAL_TARGET_EXPORTS) \
46781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
46782 for flag in $(EXTRA_TARGET_FLAGS); do \
46783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46784 done; \
46785 (cd $(TARGET_SUBDIR)/libquadmath && \
46786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46788 "RANLIB=$${RANLIB}" \
46789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46790 install-pdf) \
46791 || exit 1
46793 @endif target-libquadmath
46795 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
46796 maybe-install-html-target-libquadmath:
46797 @if target-libquadmath
46798 maybe-install-html-target-libquadmath: install-html-target-libquadmath
46800 install-html-target-libquadmath: \
46801 configure-target-libquadmath \
46802 html-target-libquadmath
46803 @: $(MAKE); $(unstage)
46804 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46805 r=`${PWD_COMMAND}`; export r; \
46806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46807 $(NORMAL_TARGET_EXPORTS) \
46808 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
46809 for flag in $(EXTRA_TARGET_FLAGS); do \
46810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46811 done; \
46812 (cd $(TARGET_SUBDIR)/libquadmath && \
46813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46815 "RANLIB=$${RANLIB}" \
46816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46817 install-html) \
46818 || exit 1
46820 @endif target-libquadmath
46822 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
46823 maybe-installcheck-target-libquadmath:
46824 @if target-libquadmath
46825 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
46827 installcheck-target-libquadmath: \
46828 configure-target-libquadmath
46829 @: $(MAKE); $(unstage)
46830 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46831 r=`${PWD_COMMAND}`; export r; \
46832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46833 $(NORMAL_TARGET_EXPORTS) \
46834 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
46835 for flag in $(EXTRA_TARGET_FLAGS); do \
46836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46837 done; \
46838 (cd $(TARGET_SUBDIR)/libquadmath && \
46839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46841 "RANLIB=$${RANLIB}" \
46842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46843 installcheck) \
46844 || exit 1
46846 @endif target-libquadmath
46848 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
46849 maybe-mostlyclean-target-libquadmath:
46850 @if target-libquadmath
46851 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
46853 mostlyclean-target-libquadmath:
46854 @: $(MAKE); $(unstage)
46855 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46856 r=`${PWD_COMMAND}`; export r; \
46857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46858 $(NORMAL_TARGET_EXPORTS) \
46859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
46860 for flag in $(EXTRA_TARGET_FLAGS); do \
46861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46862 done; \
46863 (cd $(TARGET_SUBDIR)/libquadmath && \
46864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46866 "RANLIB=$${RANLIB}" \
46867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46868 mostlyclean) \
46869 || exit 1
46871 @endif target-libquadmath
46873 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
46874 maybe-clean-target-libquadmath:
46875 @if target-libquadmath
46876 maybe-clean-target-libquadmath: clean-target-libquadmath
46878 clean-target-libquadmath:
46879 @: $(MAKE); $(unstage)
46880 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46881 r=`${PWD_COMMAND}`; export r; \
46882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46883 $(NORMAL_TARGET_EXPORTS) \
46884 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
46885 for flag in $(EXTRA_TARGET_FLAGS); do \
46886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46887 done; \
46888 (cd $(TARGET_SUBDIR)/libquadmath && \
46889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46891 "RANLIB=$${RANLIB}" \
46892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46893 clean) \
46894 || exit 1
46896 @endif target-libquadmath
46898 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
46899 maybe-distclean-target-libquadmath:
46900 @if target-libquadmath
46901 maybe-distclean-target-libquadmath: distclean-target-libquadmath
46903 distclean-target-libquadmath:
46904 @: $(MAKE); $(unstage)
46905 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46906 r=`${PWD_COMMAND}`; export r; \
46907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46908 $(NORMAL_TARGET_EXPORTS) \
46909 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
46910 for flag in $(EXTRA_TARGET_FLAGS); do \
46911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46912 done; \
46913 (cd $(TARGET_SUBDIR)/libquadmath && \
46914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46916 "RANLIB=$${RANLIB}" \
46917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46918 distclean) \
46919 || exit 1
46921 @endif target-libquadmath
46923 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
46924 maybe-maintainer-clean-target-libquadmath:
46925 @if target-libquadmath
46926 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
46928 maintainer-clean-target-libquadmath:
46929 @: $(MAKE); $(unstage)
46930 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46931 r=`${PWD_COMMAND}`; export r; \
46932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46933 $(NORMAL_TARGET_EXPORTS) \
46934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
46935 for flag in $(EXTRA_TARGET_FLAGS); do \
46936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46937 done; \
46938 (cd $(TARGET_SUBDIR)/libquadmath && \
46939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46941 "RANLIB=$${RANLIB}" \
46942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46943 maintainer-clean) \
46944 || exit 1
46946 @endif target-libquadmath
46952 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
46953 maybe-configure-target-libgfortran:
46954 @if gcc-bootstrap
46955 configure-target-libgfortran: stage_current
46956 @endif gcc-bootstrap
46957 @if target-libgfortran
46958 maybe-configure-target-libgfortran: configure-target-libgfortran
46959 configure-target-libgfortran:
46960 @: $(MAKE); $(unstage)
46961 @r=`${PWD_COMMAND}`; export r; \
46962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46963 echo "Checking multilib configuration for libgfortran..."; \
46964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
46966 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46967 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46968 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
46969 else \
46970 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
46971 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46972 fi; \
46973 else \
46974 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46975 fi; \
46976 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
46977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46978 $(NORMAL_TARGET_EXPORTS) \
46979 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
46980 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
46981 case $(srcdir) in \
46982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46983 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
46984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46985 esac; \
46986 module_srcdir=libgfortran; \
46987 rm -f no-such-file || : ; \
46988 CONFIG_SITE=no-such-file $(SHELL) \
46989 $$s/$$module_srcdir/configure \
46990 --srcdir=$${topdir}/$$module_srcdir \
46991 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46992 --target=${target_alias} \
46993 || exit 1
46994 @endif target-libgfortran
47000 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
47001 maybe-all-target-libgfortran:
47002 @if gcc-bootstrap
47003 all-target-libgfortran: stage_current
47004 @endif gcc-bootstrap
47005 @if target-libgfortran
47006 TARGET-target-libgfortran=all
47007 maybe-all-target-libgfortran: all-target-libgfortran
47008 all-target-libgfortran: configure-target-libgfortran
47009 @: $(MAKE); $(unstage)
47010 @r=`${PWD_COMMAND}`; export r; \
47011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47012 $(NORMAL_TARGET_EXPORTS) \
47013 (cd $(TARGET_SUBDIR)/libgfortran && \
47014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47015 $(TARGET-target-libgfortran))
47016 @endif target-libgfortran
47022 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
47023 maybe-check-target-libgfortran:
47024 @if target-libgfortran
47025 maybe-check-target-libgfortran: check-target-libgfortran
47027 check-target-libgfortran:
47028 @: $(MAKE); $(unstage)
47029 @r=`${PWD_COMMAND}`; export r; \
47030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47031 $(NORMAL_TARGET_EXPORTS) \
47032 (cd $(TARGET_SUBDIR)/libgfortran && \
47033 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47035 @endif target-libgfortran
47037 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
47038 maybe-install-target-libgfortran:
47039 @if target-libgfortran
47040 maybe-install-target-libgfortran: install-target-libgfortran
47042 install-target-libgfortran: installdirs
47043 @: $(MAKE); $(unstage)
47044 @r=`${PWD_COMMAND}`; export r; \
47045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47046 $(NORMAL_TARGET_EXPORTS) \
47047 (cd $(TARGET_SUBDIR)/libgfortran && \
47048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47050 @endif target-libgfortran
47052 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
47053 maybe-install-strip-target-libgfortran:
47054 @if target-libgfortran
47055 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
47057 install-strip-target-libgfortran: installdirs
47058 @: $(MAKE); $(unstage)
47059 @r=`${PWD_COMMAND}`; export r; \
47060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47061 $(NORMAL_TARGET_EXPORTS) \
47062 (cd $(TARGET_SUBDIR)/libgfortran && \
47063 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47065 @endif target-libgfortran
47067 # Other targets (info, dvi, pdf, etc.)
47069 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
47070 maybe-info-target-libgfortran:
47071 @if target-libgfortran
47072 maybe-info-target-libgfortran: info-target-libgfortran
47074 info-target-libgfortran: \
47075 configure-target-libgfortran
47076 @: $(MAKE); $(unstage)
47077 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47078 r=`${PWD_COMMAND}`; export r; \
47079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47080 $(NORMAL_TARGET_EXPORTS) \
47081 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
47082 for flag in $(EXTRA_TARGET_FLAGS); do \
47083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47084 done; \
47085 (cd $(TARGET_SUBDIR)/libgfortran && \
47086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47088 "RANLIB=$${RANLIB}" \
47089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47090 info) \
47091 || exit 1
47093 @endif target-libgfortran
47095 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
47096 maybe-dvi-target-libgfortran:
47097 @if target-libgfortran
47098 maybe-dvi-target-libgfortran: dvi-target-libgfortran
47100 dvi-target-libgfortran: \
47101 configure-target-libgfortran
47102 @: $(MAKE); $(unstage)
47103 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47104 r=`${PWD_COMMAND}`; export r; \
47105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47106 $(NORMAL_TARGET_EXPORTS) \
47107 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
47108 for flag in $(EXTRA_TARGET_FLAGS); do \
47109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47110 done; \
47111 (cd $(TARGET_SUBDIR)/libgfortran && \
47112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47114 "RANLIB=$${RANLIB}" \
47115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47116 dvi) \
47117 || exit 1
47119 @endif target-libgfortran
47121 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
47122 maybe-pdf-target-libgfortran:
47123 @if target-libgfortran
47124 maybe-pdf-target-libgfortran: pdf-target-libgfortran
47126 pdf-target-libgfortran: \
47127 configure-target-libgfortran
47128 @: $(MAKE); $(unstage)
47129 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47130 r=`${PWD_COMMAND}`; export r; \
47131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47132 $(NORMAL_TARGET_EXPORTS) \
47133 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
47134 for flag in $(EXTRA_TARGET_FLAGS); do \
47135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47136 done; \
47137 (cd $(TARGET_SUBDIR)/libgfortran && \
47138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47140 "RANLIB=$${RANLIB}" \
47141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47142 pdf) \
47143 || exit 1
47145 @endif target-libgfortran
47147 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
47148 maybe-html-target-libgfortran:
47149 @if target-libgfortran
47150 maybe-html-target-libgfortran: html-target-libgfortran
47152 html-target-libgfortran: \
47153 configure-target-libgfortran
47154 @: $(MAKE); $(unstage)
47155 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47156 r=`${PWD_COMMAND}`; export r; \
47157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47158 $(NORMAL_TARGET_EXPORTS) \
47159 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
47160 for flag in $(EXTRA_TARGET_FLAGS); do \
47161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47162 done; \
47163 (cd $(TARGET_SUBDIR)/libgfortran && \
47164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47166 "RANLIB=$${RANLIB}" \
47167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47168 html) \
47169 || exit 1
47171 @endif target-libgfortran
47173 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
47174 maybe-TAGS-target-libgfortran:
47175 @if target-libgfortran
47176 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
47178 TAGS-target-libgfortran: \
47179 configure-target-libgfortran
47180 @: $(MAKE); $(unstage)
47181 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47182 r=`${PWD_COMMAND}`; export r; \
47183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47184 $(NORMAL_TARGET_EXPORTS) \
47185 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
47186 for flag in $(EXTRA_TARGET_FLAGS); do \
47187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47188 done; \
47189 (cd $(TARGET_SUBDIR)/libgfortran && \
47190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47192 "RANLIB=$${RANLIB}" \
47193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47194 TAGS) \
47195 || exit 1
47197 @endif target-libgfortran
47199 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
47200 maybe-install-info-target-libgfortran:
47201 @if target-libgfortran
47202 maybe-install-info-target-libgfortran: install-info-target-libgfortran
47204 install-info-target-libgfortran: \
47205 configure-target-libgfortran \
47206 info-target-libgfortran
47207 @: $(MAKE); $(unstage)
47208 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47209 r=`${PWD_COMMAND}`; export r; \
47210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47211 $(NORMAL_TARGET_EXPORTS) \
47212 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
47213 for flag in $(EXTRA_TARGET_FLAGS); do \
47214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47215 done; \
47216 (cd $(TARGET_SUBDIR)/libgfortran && \
47217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47219 "RANLIB=$${RANLIB}" \
47220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47221 install-info) \
47222 || exit 1
47224 @endif target-libgfortran
47226 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
47227 maybe-install-pdf-target-libgfortran:
47228 @if target-libgfortran
47229 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
47231 install-pdf-target-libgfortran: \
47232 configure-target-libgfortran \
47233 pdf-target-libgfortran
47234 @: $(MAKE); $(unstage)
47235 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47236 r=`${PWD_COMMAND}`; export r; \
47237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47238 $(NORMAL_TARGET_EXPORTS) \
47239 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
47240 for flag in $(EXTRA_TARGET_FLAGS); do \
47241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47242 done; \
47243 (cd $(TARGET_SUBDIR)/libgfortran && \
47244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47246 "RANLIB=$${RANLIB}" \
47247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47248 install-pdf) \
47249 || exit 1
47251 @endif target-libgfortran
47253 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
47254 maybe-install-html-target-libgfortran:
47255 @if target-libgfortran
47256 maybe-install-html-target-libgfortran: install-html-target-libgfortran
47258 install-html-target-libgfortran: \
47259 configure-target-libgfortran \
47260 html-target-libgfortran
47261 @: $(MAKE); $(unstage)
47262 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47263 r=`${PWD_COMMAND}`; export r; \
47264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47265 $(NORMAL_TARGET_EXPORTS) \
47266 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
47267 for flag in $(EXTRA_TARGET_FLAGS); do \
47268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47269 done; \
47270 (cd $(TARGET_SUBDIR)/libgfortran && \
47271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47273 "RANLIB=$${RANLIB}" \
47274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47275 install-html) \
47276 || exit 1
47278 @endif target-libgfortran
47280 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
47281 maybe-installcheck-target-libgfortran:
47282 @if target-libgfortran
47283 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
47285 installcheck-target-libgfortran: \
47286 configure-target-libgfortran
47287 @: $(MAKE); $(unstage)
47288 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47289 r=`${PWD_COMMAND}`; export r; \
47290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47291 $(NORMAL_TARGET_EXPORTS) \
47292 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
47293 for flag in $(EXTRA_TARGET_FLAGS); do \
47294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47295 done; \
47296 (cd $(TARGET_SUBDIR)/libgfortran && \
47297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47299 "RANLIB=$${RANLIB}" \
47300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47301 installcheck) \
47302 || exit 1
47304 @endif target-libgfortran
47306 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
47307 maybe-mostlyclean-target-libgfortran:
47308 @if target-libgfortran
47309 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
47311 mostlyclean-target-libgfortran:
47312 @: $(MAKE); $(unstage)
47313 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47314 r=`${PWD_COMMAND}`; export r; \
47315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47316 $(NORMAL_TARGET_EXPORTS) \
47317 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
47318 for flag in $(EXTRA_TARGET_FLAGS); do \
47319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47320 done; \
47321 (cd $(TARGET_SUBDIR)/libgfortran && \
47322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47324 "RANLIB=$${RANLIB}" \
47325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47326 mostlyclean) \
47327 || exit 1
47329 @endif target-libgfortran
47331 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
47332 maybe-clean-target-libgfortran:
47333 @if target-libgfortran
47334 maybe-clean-target-libgfortran: clean-target-libgfortran
47336 clean-target-libgfortran:
47337 @: $(MAKE); $(unstage)
47338 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47339 r=`${PWD_COMMAND}`; export r; \
47340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47341 $(NORMAL_TARGET_EXPORTS) \
47342 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
47343 for flag in $(EXTRA_TARGET_FLAGS); do \
47344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47345 done; \
47346 (cd $(TARGET_SUBDIR)/libgfortran && \
47347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47349 "RANLIB=$${RANLIB}" \
47350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47351 clean) \
47352 || exit 1
47354 @endif target-libgfortran
47356 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
47357 maybe-distclean-target-libgfortran:
47358 @if target-libgfortran
47359 maybe-distclean-target-libgfortran: distclean-target-libgfortran
47361 distclean-target-libgfortran:
47362 @: $(MAKE); $(unstage)
47363 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47364 r=`${PWD_COMMAND}`; export r; \
47365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47366 $(NORMAL_TARGET_EXPORTS) \
47367 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
47368 for flag in $(EXTRA_TARGET_FLAGS); do \
47369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47370 done; \
47371 (cd $(TARGET_SUBDIR)/libgfortran && \
47372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47374 "RANLIB=$${RANLIB}" \
47375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47376 distclean) \
47377 || exit 1
47379 @endif target-libgfortran
47381 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
47382 maybe-maintainer-clean-target-libgfortran:
47383 @if target-libgfortran
47384 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
47386 maintainer-clean-target-libgfortran:
47387 @: $(MAKE); $(unstage)
47388 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47389 r=`${PWD_COMMAND}`; export r; \
47390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47391 $(NORMAL_TARGET_EXPORTS) \
47392 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
47393 for flag in $(EXTRA_TARGET_FLAGS); do \
47394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47395 done; \
47396 (cd $(TARGET_SUBDIR)/libgfortran && \
47397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47399 "RANLIB=$${RANLIB}" \
47400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47401 maintainer-clean) \
47402 || exit 1
47404 @endif target-libgfortran
47410 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
47411 maybe-configure-target-libobjc:
47412 @if gcc-bootstrap
47413 configure-target-libobjc: stage_current
47414 @endif gcc-bootstrap
47415 @if target-libobjc
47416 maybe-configure-target-libobjc: configure-target-libobjc
47417 configure-target-libobjc:
47418 @: $(MAKE); $(unstage)
47419 @r=`${PWD_COMMAND}`; export r; \
47420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47421 echo "Checking multilib configuration for libobjc..."; \
47422 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47423 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
47424 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47425 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47426 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
47427 else \
47428 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
47429 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47430 fi; \
47431 else \
47432 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47433 fi; \
47434 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
47435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47436 $(NORMAL_TARGET_EXPORTS) \
47437 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
47438 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
47439 case $(srcdir) in \
47440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47441 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
47442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47443 esac; \
47444 module_srcdir=libobjc; \
47445 rm -f no-such-file || : ; \
47446 CONFIG_SITE=no-such-file $(SHELL) \
47447 $$s/$$module_srcdir/configure \
47448 --srcdir=$${topdir}/$$module_srcdir \
47449 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47450 --target=${target_alias} \
47451 || exit 1
47452 @endif target-libobjc
47458 .PHONY: all-target-libobjc maybe-all-target-libobjc
47459 maybe-all-target-libobjc:
47460 @if gcc-bootstrap
47461 all-target-libobjc: stage_current
47462 @endif gcc-bootstrap
47463 @if target-libobjc
47464 TARGET-target-libobjc=all
47465 maybe-all-target-libobjc: all-target-libobjc
47466 all-target-libobjc: configure-target-libobjc
47467 @: $(MAKE); $(unstage)
47468 @r=`${PWD_COMMAND}`; export r; \
47469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47470 $(NORMAL_TARGET_EXPORTS) \
47471 (cd $(TARGET_SUBDIR)/libobjc && \
47472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47473 $(TARGET-target-libobjc))
47474 @endif target-libobjc
47480 .PHONY: check-target-libobjc maybe-check-target-libobjc
47481 maybe-check-target-libobjc:
47482 @if target-libobjc
47483 maybe-check-target-libobjc: check-target-libobjc
47485 check-target-libobjc:
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)/libobjc && \
47491 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47493 @endif target-libobjc
47495 .PHONY: install-target-libobjc maybe-install-target-libobjc
47496 maybe-install-target-libobjc:
47497 @if target-libobjc
47498 maybe-install-target-libobjc: install-target-libobjc
47500 install-target-libobjc: installdirs
47501 @: $(MAKE); $(unstage)
47502 @r=`${PWD_COMMAND}`; export r; \
47503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47504 $(NORMAL_TARGET_EXPORTS) \
47505 (cd $(TARGET_SUBDIR)/libobjc && \
47506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47508 @endif target-libobjc
47510 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
47511 maybe-install-strip-target-libobjc:
47512 @if target-libobjc
47513 maybe-install-strip-target-libobjc: install-strip-target-libobjc
47515 install-strip-target-libobjc: installdirs
47516 @: $(MAKE); $(unstage)
47517 @r=`${PWD_COMMAND}`; export r; \
47518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47519 $(NORMAL_TARGET_EXPORTS) \
47520 (cd $(TARGET_SUBDIR)/libobjc && \
47521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47523 @endif target-libobjc
47525 # Other targets (info, dvi, pdf, etc.)
47527 .PHONY: maybe-info-target-libobjc info-target-libobjc
47528 maybe-info-target-libobjc:
47529 @if target-libobjc
47530 maybe-info-target-libobjc: info-target-libobjc
47532 info-target-libobjc: \
47533 configure-target-libobjc
47534 @: $(MAKE); $(unstage)
47535 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47536 r=`${PWD_COMMAND}`; export r; \
47537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47538 $(NORMAL_TARGET_EXPORTS) \
47539 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
47540 for flag in $(EXTRA_TARGET_FLAGS); do \
47541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47542 done; \
47543 (cd $(TARGET_SUBDIR)/libobjc && \
47544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47546 "RANLIB=$${RANLIB}" \
47547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47548 info) \
47549 || exit 1
47551 @endif target-libobjc
47553 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
47554 maybe-dvi-target-libobjc:
47555 @if target-libobjc
47556 maybe-dvi-target-libobjc: dvi-target-libobjc
47558 dvi-target-libobjc: \
47559 configure-target-libobjc
47560 @: $(MAKE); $(unstage)
47561 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47562 r=`${PWD_COMMAND}`; export r; \
47563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47564 $(NORMAL_TARGET_EXPORTS) \
47565 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
47566 for flag in $(EXTRA_TARGET_FLAGS); do \
47567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47568 done; \
47569 (cd $(TARGET_SUBDIR)/libobjc && \
47570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47572 "RANLIB=$${RANLIB}" \
47573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47574 dvi) \
47575 || exit 1
47577 @endif target-libobjc
47579 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
47580 maybe-pdf-target-libobjc:
47581 @if target-libobjc
47582 maybe-pdf-target-libobjc: pdf-target-libobjc
47584 pdf-target-libobjc: \
47585 configure-target-libobjc
47586 @: $(MAKE); $(unstage)
47587 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47588 r=`${PWD_COMMAND}`; export r; \
47589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47590 $(NORMAL_TARGET_EXPORTS) \
47591 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
47592 for flag in $(EXTRA_TARGET_FLAGS); do \
47593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47594 done; \
47595 (cd $(TARGET_SUBDIR)/libobjc && \
47596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47598 "RANLIB=$${RANLIB}" \
47599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47600 pdf) \
47601 || exit 1
47603 @endif target-libobjc
47605 .PHONY: maybe-html-target-libobjc html-target-libobjc
47606 maybe-html-target-libobjc:
47607 @if target-libobjc
47608 maybe-html-target-libobjc: html-target-libobjc
47610 html-target-libobjc: \
47611 configure-target-libobjc
47612 @: $(MAKE); $(unstage)
47613 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47614 r=`${PWD_COMMAND}`; export r; \
47615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47616 $(NORMAL_TARGET_EXPORTS) \
47617 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
47618 for flag in $(EXTRA_TARGET_FLAGS); do \
47619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47620 done; \
47621 (cd $(TARGET_SUBDIR)/libobjc && \
47622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47624 "RANLIB=$${RANLIB}" \
47625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47626 html) \
47627 || exit 1
47629 @endif target-libobjc
47631 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
47632 maybe-TAGS-target-libobjc:
47633 @if target-libobjc
47634 maybe-TAGS-target-libobjc: TAGS-target-libobjc
47636 TAGS-target-libobjc: \
47637 configure-target-libobjc
47638 @: $(MAKE); $(unstage)
47639 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47640 r=`${PWD_COMMAND}`; export r; \
47641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47642 $(NORMAL_TARGET_EXPORTS) \
47643 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
47644 for flag in $(EXTRA_TARGET_FLAGS); do \
47645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47646 done; \
47647 (cd $(TARGET_SUBDIR)/libobjc && \
47648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47650 "RANLIB=$${RANLIB}" \
47651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47652 TAGS) \
47653 || exit 1
47655 @endif target-libobjc
47657 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
47658 maybe-install-info-target-libobjc:
47659 @if target-libobjc
47660 maybe-install-info-target-libobjc: install-info-target-libobjc
47662 install-info-target-libobjc: \
47663 configure-target-libobjc \
47664 info-target-libobjc
47665 @: $(MAKE); $(unstage)
47666 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47667 r=`${PWD_COMMAND}`; export r; \
47668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47669 $(NORMAL_TARGET_EXPORTS) \
47670 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
47671 for flag in $(EXTRA_TARGET_FLAGS); do \
47672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47673 done; \
47674 (cd $(TARGET_SUBDIR)/libobjc && \
47675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47677 "RANLIB=$${RANLIB}" \
47678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47679 install-info) \
47680 || exit 1
47682 @endif target-libobjc
47684 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
47685 maybe-install-pdf-target-libobjc:
47686 @if target-libobjc
47687 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
47689 install-pdf-target-libobjc: \
47690 configure-target-libobjc \
47691 pdf-target-libobjc
47692 @: $(MAKE); $(unstage)
47693 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47694 r=`${PWD_COMMAND}`; export r; \
47695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47696 $(NORMAL_TARGET_EXPORTS) \
47697 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
47698 for flag in $(EXTRA_TARGET_FLAGS); do \
47699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47700 done; \
47701 (cd $(TARGET_SUBDIR)/libobjc && \
47702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47704 "RANLIB=$${RANLIB}" \
47705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47706 install-pdf) \
47707 || exit 1
47709 @endif target-libobjc
47711 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
47712 maybe-install-html-target-libobjc:
47713 @if target-libobjc
47714 maybe-install-html-target-libobjc: install-html-target-libobjc
47716 install-html-target-libobjc: \
47717 configure-target-libobjc \
47718 html-target-libobjc
47719 @: $(MAKE); $(unstage)
47720 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47721 r=`${PWD_COMMAND}`; export r; \
47722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47723 $(NORMAL_TARGET_EXPORTS) \
47724 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
47725 for flag in $(EXTRA_TARGET_FLAGS); do \
47726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47727 done; \
47728 (cd $(TARGET_SUBDIR)/libobjc && \
47729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47731 "RANLIB=$${RANLIB}" \
47732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47733 install-html) \
47734 || exit 1
47736 @endif target-libobjc
47738 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
47739 maybe-installcheck-target-libobjc:
47740 @if target-libobjc
47741 maybe-installcheck-target-libobjc: installcheck-target-libobjc
47743 installcheck-target-libobjc: \
47744 configure-target-libobjc
47745 @: $(MAKE); $(unstage)
47746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47747 r=`${PWD_COMMAND}`; export r; \
47748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47749 $(NORMAL_TARGET_EXPORTS) \
47750 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
47751 for flag in $(EXTRA_TARGET_FLAGS); do \
47752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47753 done; \
47754 (cd $(TARGET_SUBDIR)/libobjc && \
47755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47757 "RANLIB=$${RANLIB}" \
47758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47759 installcheck) \
47760 || exit 1
47762 @endif target-libobjc
47764 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
47765 maybe-mostlyclean-target-libobjc:
47766 @if target-libobjc
47767 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
47769 mostlyclean-target-libobjc:
47770 @: $(MAKE); $(unstage)
47771 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47772 r=`${PWD_COMMAND}`; export r; \
47773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47774 $(NORMAL_TARGET_EXPORTS) \
47775 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
47776 for flag in $(EXTRA_TARGET_FLAGS); do \
47777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47778 done; \
47779 (cd $(TARGET_SUBDIR)/libobjc && \
47780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47782 "RANLIB=$${RANLIB}" \
47783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47784 mostlyclean) \
47785 || exit 1
47787 @endif target-libobjc
47789 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
47790 maybe-clean-target-libobjc:
47791 @if target-libobjc
47792 maybe-clean-target-libobjc: clean-target-libobjc
47794 clean-target-libobjc:
47795 @: $(MAKE); $(unstage)
47796 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47797 r=`${PWD_COMMAND}`; export r; \
47798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47799 $(NORMAL_TARGET_EXPORTS) \
47800 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
47801 for flag in $(EXTRA_TARGET_FLAGS); do \
47802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47803 done; \
47804 (cd $(TARGET_SUBDIR)/libobjc && \
47805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47807 "RANLIB=$${RANLIB}" \
47808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47809 clean) \
47810 || exit 1
47812 @endif target-libobjc
47814 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
47815 maybe-distclean-target-libobjc:
47816 @if target-libobjc
47817 maybe-distclean-target-libobjc: distclean-target-libobjc
47819 distclean-target-libobjc:
47820 @: $(MAKE); $(unstage)
47821 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47822 r=`${PWD_COMMAND}`; export r; \
47823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47824 $(NORMAL_TARGET_EXPORTS) \
47825 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
47826 for flag in $(EXTRA_TARGET_FLAGS); do \
47827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47828 done; \
47829 (cd $(TARGET_SUBDIR)/libobjc && \
47830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47832 "RANLIB=$${RANLIB}" \
47833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47834 distclean) \
47835 || exit 1
47837 @endif target-libobjc
47839 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
47840 maybe-maintainer-clean-target-libobjc:
47841 @if target-libobjc
47842 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
47844 maintainer-clean-target-libobjc:
47845 @: $(MAKE); $(unstage)
47846 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47847 r=`${PWD_COMMAND}`; export r; \
47848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47849 $(NORMAL_TARGET_EXPORTS) \
47850 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
47851 for flag in $(EXTRA_TARGET_FLAGS); do \
47852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47853 done; \
47854 (cd $(TARGET_SUBDIR)/libobjc && \
47855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47857 "RANLIB=$${RANLIB}" \
47858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47859 maintainer-clean) \
47860 || exit 1
47862 @endif target-libobjc
47868 .PHONY: configure-target-libgo maybe-configure-target-libgo
47869 maybe-configure-target-libgo:
47870 @if gcc-bootstrap
47871 configure-target-libgo: stage_current
47872 @endif gcc-bootstrap
47873 @if target-libgo
47874 maybe-configure-target-libgo: configure-target-libgo
47875 configure-target-libgo:
47876 @: $(MAKE); $(unstage)
47877 @r=`${PWD_COMMAND}`; export r; \
47878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47879 echo "Checking multilib configuration for libgo..."; \
47880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47881 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
47882 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
47883 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
47884 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
47885 else \
47886 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
47887 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47888 fi; \
47889 else \
47890 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47891 fi; \
47892 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
47893 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47894 $(NORMAL_TARGET_EXPORTS) \
47895 echo Configuring in $(TARGET_SUBDIR)/libgo; \
47896 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
47897 case $(srcdir) in \
47898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47899 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
47900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47901 esac; \
47902 module_srcdir=libgo; \
47903 rm -f no-such-file || : ; \
47904 CONFIG_SITE=no-such-file $(SHELL) \
47905 $$s/$$module_srcdir/configure \
47906 --srcdir=$${topdir}/$$module_srcdir \
47907 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47908 --target=${target_alias} \
47909 || exit 1
47910 @endif target-libgo
47916 .PHONY: all-target-libgo maybe-all-target-libgo
47917 maybe-all-target-libgo:
47918 @if gcc-bootstrap
47919 all-target-libgo: stage_current
47920 @endif gcc-bootstrap
47921 @if target-libgo
47922 TARGET-target-libgo=all
47923 maybe-all-target-libgo: all-target-libgo
47924 all-target-libgo: configure-target-libgo
47925 @: $(MAKE); $(unstage)
47926 @r=`${PWD_COMMAND}`; export r; \
47927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47928 $(NORMAL_TARGET_EXPORTS) \
47929 (cd $(TARGET_SUBDIR)/libgo && \
47930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47931 $(TARGET-target-libgo))
47932 @endif target-libgo
47938 .PHONY: check-target-libgo maybe-check-target-libgo
47939 maybe-check-target-libgo:
47940 @if target-libgo
47941 maybe-check-target-libgo: check-target-libgo
47943 check-target-libgo:
47944 @: $(MAKE); $(unstage)
47945 @r=`${PWD_COMMAND}`; export r; \
47946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47947 $(NORMAL_TARGET_EXPORTS) \
47948 (cd $(TARGET_SUBDIR)/libgo && \
47949 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47951 @endif target-libgo
47953 .PHONY: install-target-libgo maybe-install-target-libgo
47954 maybe-install-target-libgo:
47955 @if target-libgo
47956 maybe-install-target-libgo: install-target-libgo
47958 install-target-libgo: installdirs
47959 @: $(MAKE); $(unstage)
47960 @r=`${PWD_COMMAND}`; export r; \
47961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47962 $(NORMAL_TARGET_EXPORTS) \
47963 (cd $(TARGET_SUBDIR)/libgo && \
47964 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47966 @endif target-libgo
47968 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
47969 maybe-install-strip-target-libgo:
47970 @if target-libgo
47971 maybe-install-strip-target-libgo: install-strip-target-libgo
47973 install-strip-target-libgo: installdirs
47974 @: $(MAKE); $(unstage)
47975 @r=`${PWD_COMMAND}`; export r; \
47976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47977 $(NORMAL_TARGET_EXPORTS) \
47978 (cd $(TARGET_SUBDIR)/libgo && \
47979 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47981 @endif target-libgo
47983 # Other targets (info, dvi, pdf, etc.)
47985 .PHONY: maybe-info-target-libgo info-target-libgo
47986 maybe-info-target-libgo:
47987 @if target-libgo
47988 maybe-info-target-libgo: info-target-libgo
47990 info-target-libgo: \
47991 configure-target-libgo
47992 @: $(MAKE); $(unstage)
47993 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47994 r=`${PWD_COMMAND}`; export r; \
47995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47996 $(NORMAL_TARGET_EXPORTS) \
47997 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
47998 for flag in $(EXTRA_TARGET_FLAGS); do \
47999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48000 done; \
48001 (cd $(TARGET_SUBDIR)/libgo && \
48002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48004 "RANLIB=$${RANLIB}" \
48005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48006 info) \
48007 || exit 1
48009 @endif target-libgo
48011 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
48012 maybe-dvi-target-libgo:
48013 @if target-libgo
48014 maybe-dvi-target-libgo: dvi-target-libgo
48016 dvi-target-libgo: \
48017 configure-target-libgo
48018 @: $(MAKE); $(unstage)
48019 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48020 r=`${PWD_COMMAND}`; export r; \
48021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48022 $(NORMAL_TARGET_EXPORTS) \
48023 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
48024 for flag in $(EXTRA_TARGET_FLAGS); do \
48025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48026 done; \
48027 (cd $(TARGET_SUBDIR)/libgo && \
48028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48030 "RANLIB=$${RANLIB}" \
48031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48032 dvi) \
48033 || exit 1
48035 @endif target-libgo
48037 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
48038 maybe-pdf-target-libgo:
48039 @if target-libgo
48040 maybe-pdf-target-libgo: pdf-target-libgo
48042 pdf-target-libgo: \
48043 configure-target-libgo
48044 @: $(MAKE); $(unstage)
48045 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48046 r=`${PWD_COMMAND}`; export r; \
48047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48048 $(NORMAL_TARGET_EXPORTS) \
48049 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
48050 for flag in $(EXTRA_TARGET_FLAGS); do \
48051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48052 done; \
48053 (cd $(TARGET_SUBDIR)/libgo && \
48054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48056 "RANLIB=$${RANLIB}" \
48057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48058 pdf) \
48059 || exit 1
48061 @endif target-libgo
48063 .PHONY: maybe-html-target-libgo html-target-libgo
48064 maybe-html-target-libgo:
48065 @if target-libgo
48066 maybe-html-target-libgo: html-target-libgo
48068 html-target-libgo: \
48069 configure-target-libgo
48070 @: $(MAKE); $(unstage)
48071 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48072 r=`${PWD_COMMAND}`; export r; \
48073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48074 $(NORMAL_TARGET_EXPORTS) \
48075 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
48076 for flag in $(EXTRA_TARGET_FLAGS); do \
48077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48078 done; \
48079 (cd $(TARGET_SUBDIR)/libgo && \
48080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48082 "RANLIB=$${RANLIB}" \
48083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48084 html) \
48085 || exit 1
48087 @endif target-libgo
48089 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
48090 maybe-TAGS-target-libgo:
48091 @if target-libgo
48092 maybe-TAGS-target-libgo: TAGS-target-libgo
48094 TAGS-target-libgo: \
48095 configure-target-libgo
48096 @: $(MAKE); $(unstage)
48097 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48098 r=`${PWD_COMMAND}`; export r; \
48099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48100 $(NORMAL_TARGET_EXPORTS) \
48101 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
48102 for flag in $(EXTRA_TARGET_FLAGS); do \
48103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48104 done; \
48105 (cd $(TARGET_SUBDIR)/libgo && \
48106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48108 "RANLIB=$${RANLIB}" \
48109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48110 TAGS) \
48111 || exit 1
48113 @endif target-libgo
48115 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
48116 maybe-install-info-target-libgo:
48117 @if target-libgo
48118 maybe-install-info-target-libgo: install-info-target-libgo
48120 install-info-target-libgo: \
48121 configure-target-libgo \
48122 info-target-libgo
48123 @: $(MAKE); $(unstage)
48124 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48125 r=`${PWD_COMMAND}`; export r; \
48126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48127 $(NORMAL_TARGET_EXPORTS) \
48128 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
48129 for flag in $(EXTRA_TARGET_FLAGS); do \
48130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48131 done; \
48132 (cd $(TARGET_SUBDIR)/libgo && \
48133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48135 "RANLIB=$${RANLIB}" \
48136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48137 install-info) \
48138 || exit 1
48140 @endif target-libgo
48142 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
48143 maybe-install-pdf-target-libgo:
48144 @if target-libgo
48145 maybe-install-pdf-target-libgo: install-pdf-target-libgo
48147 install-pdf-target-libgo: \
48148 configure-target-libgo \
48149 pdf-target-libgo
48150 @: $(MAKE); $(unstage)
48151 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48152 r=`${PWD_COMMAND}`; export r; \
48153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48154 $(NORMAL_TARGET_EXPORTS) \
48155 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
48156 for flag in $(EXTRA_TARGET_FLAGS); do \
48157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48158 done; \
48159 (cd $(TARGET_SUBDIR)/libgo && \
48160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48162 "RANLIB=$${RANLIB}" \
48163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48164 install-pdf) \
48165 || exit 1
48167 @endif target-libgo
48169 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
48170 maybe-install-html-target-libgo:
48171 @if target-libgo
48172 maybe-install-html-target-libgo: install-html-target-libgo
48174 install-html-target-libgo: \
48175 configure-target-libgo \
48176 html-target-libgo
48177 @: $(MAKE); $(unstage)
48178 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48179 r=`${PWD_COMMAND}`; export r; \
48180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48181 $(NORMAL_TARGET_EXPORTS) \
48182 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
48183 for flag in $(EXTRA_TARGET_FLAGS); do \
48184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48185 done; \
48186 (cd $(TARGET_SUBDIR)/libgo && \
48187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48189 "RANLIB=$${RANLIB}" \
48190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48191 install-html) \
48192 || exit 1
48194 @endif target-libgo
48196 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
48197 maybe-installcheck-target-libgo:
48198 @if target-libgo
48199 maybe-installcheck-target-libgo: installcheck-target-libgo
48201 installcheck-target-libgo: \
48202 configure-target-libgo
48203 @: $(MAKE); $(unstage)
48204 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48205 r=`${PWD_COMMAND}`; export r; \
48206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48207 $(NORMAL_TARGET_EXPORTS) \
48208 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
48209 for flag in $(EXTRA_TARGET_FLAGS); do \
48210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48211 done; \
48212 (cd $(TARGET_SUBDIR)/libgo && \
48213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48215 "RANLIB=$${RANLIB}" \
48216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48217 installcheck) \
48218 || exit 1
48220 @endif target-libgo
48222 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
48223 maybe-mostlyclean-target-libgo:
48224 @if target-libgo
48225 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
48227 mostlyclean-target-libgo:
48228 @: $(MAKE); $(unstage)
48229 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48230 r=`${PWD_COMMAND}`; export r; \
48231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48232 $(NORMAL_TARGET_EXPORTS) \
48233 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
48234 for flag in $(EXTRA_TARGET_FLAGS); do \
48235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48236 done; \
48237 (cd $(TARGET_SUBDIR)/libgo && \
48238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48240 "RANLIB=$${RANLIB}" \
48241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48242 mostlyclean) \
48243 || exit 1
48245 @endif target-libgo
48247 .PHONY: maybe-clean-target-libgo clean-target-libgo
48248 maybe-clean-target-libgo:
48249 @if target-libgo
48250 maybe-clean-target-libgo: clean-target-libgo
48252 clean-target-libgo:
48253 @: $(MAKE); $(unstage)
48254 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48255 r=`${PWD_COMMAND}`; export r; \
48256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48257 $(NORMAL_TARGET_EXPORTS) \
48258 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
48259 for flag in $(EXTRA_TARGET_FLAGS); do \
48260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48261 done; \
48262 (cd $(TARGET_SUBDIR)/libgo && \
48263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48265 "RANLIB=$${RANLIB}" \
48266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48267 clean) \
48268 || exit 1
48270 @endif target-libgo
48272 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
48273 maybe-distclean-target-libgo:
48274 @if target-libgo
48275 maybe-distclean-target-libgo: distclean-target-libgo
48277 distclean-target-libgo:
48278 @: $(MAKE); $(unstage)
48279 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48280 r=`${PWD_COMMAND}`; export r; \
48281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48282 $(NORMAL_TARGET_EXPORTS) \
48283 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
48284 for flag in $(EXTRA_TARGET_FLAGS); do \
48285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48286 done; \
48287 (cd $(TARGET_SUBDIR)/libgo && \
48288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48290 "RANLIB=$${RANLIB}" \
48291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48292 distclean) \
48293 || exit 1
48295 @endif target-libgo
48297 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
48298 maybe-maintainer-clean-target-libgo:
48299 @if target-libgo
48300 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
48302 maintainer-clean-target-libgo:
48303 @: $(MAKE); $(unstage)
48304 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48305 r=`${PWD_COMMAND}`; export r; \
48306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48307 $(NORMAL_TARGET_EXPORTS) \
48308 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
48309 for flag in $(EXTRA_TARGET_FLAGS); do \
48310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48311 done; \
48312 (cd $(TARGET_SUBDIR)/libgo && \
48313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48315 "RANLIB=$${RANLIB}" \
48316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48317 maintainer-clean) \
48318 || exit 1
48320 @endif target-libgo
48326 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
48327 maybe-configure-target-libhsail-rt:
48328 @if gcc-bootstrap
48329 configure-target-libhsail-rt: stage_current
48330 @endif gcc-bootstrap
48331 @if target-libhsail-rt
48332 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
48333 configure-target-libhsail-rt:
48334 @: $(MAKE); $(unstage)
48335 @r=`${PWD_COMMAND}`; export r; \
48336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48337 echo "Checking multilib configuration for libhsail-rt..."; \
48338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48339 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
48340 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48341 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48342 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
48343 else \
48344 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
48345 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48346 fi; \
48347 else \
48348 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48349 fi; \
48350 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
48351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48352 $(NORMAL_TARGET_EXPORTS) \
48353 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
48354 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
48355 case $(srcdir) in \
48356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48357 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
48358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48359 esac; \
48360 module_srcdir=libhsail-rt; \
48361 rm -f no-such-file || : ; \
48362 CONFIG_SITE=no-such-file $(SHELL) \
48363 $$s/$$module_srcdir/configure \
48364 --srcdir=$${topdir}/$$module_srcdir \
48365 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48366 --target=${target_alias} \
48367 || exit 1
48368 @endif target-libhsail-rt
48374 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
48375 maybe-all-target-libhsail-rt:
48376 @if gcc-bootstrap
48377 all-target-libhsail-rt: stage_current
48378 @endif gcc-bootstrap
48379 @if target-libhsail-rt
48380 TARGET-target-libhsail-rt=all
48381 maybe-all-target-libhsail-rt: all-target-libhsail-rt
48382 all-target-libhsail-rt: configure-target-libhsail-rt
48383 @: $(MAKE); $(unstage)
48384 @r=`${PWD_COMMAND}`; export r; \
48385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48386 $(NORMAL_TARGET_EXPORTS) \
48387 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48388 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48389 $(TARGET-target-libhsail-rt))
48390 @endif target-libhsail-rt
48396 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
48397 maybe-check-target-libhsail-rt:
48398 @if target-libhsail-rt
48399 maybe-check-target-libhsail-rt: check-target-libhsail-rt
48401 check-target-libhsail-rt:
48402 @: $(MAKE); $(unstage)
48403 @r=`${PWD_COMMAND}`; export r; \
48404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48405 $(NORMAL_TARGET_EXPORTS) \
48406 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48407 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48409 @endif target-libhsail-rt
48411 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
48412 maybe-install-target-libhsail-rt:
48413 @if target-libhsail-rt
48414 maybe-install-target-libhsail-rt: install-target-libhsail-rt
48416 install-target-libhsail-rt: installdirs
48417 @: $(MAKE); $(unstage)
48418 @r=`${PWD_COMMAND}`; export r; \
48419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48420 $(NORMAL_TARGET_EXPORTS) \
48421 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48424 @endif target-libhsail-rt
48426 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
48427 maybe-install-strip-target-libhsail-rt:
48428 @if target-libhsail-rt
48429 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
48431 install-strip-target-libhsail-rt: installdirs
48432 @: $(MAKE); $(unstage)
48433 @r=`${PWD_COMMAND}`; export r; \
48434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48435 $(NORMAL_TARGET_EXPORTS) \
48436 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48437 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48439 @endif target-libhsail-rt
48441 # Other targets (info, dvi, pdf, etc.)
48443 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
48444 maybe-info-target-libhsail-rt:
48445 @if target-libhsail-rt
48446 maybe-info-target-libhsail-rt: info-target-libhsail-rt
48448 info-target-libhsail-rt: \
48449 configure-target-libhsail-rt
48450 @: $(MAKE); $(unstage)
48451 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48452 r=`${PWD_COMMAND}`; export r; \
48453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48454 $(NORMAL_TARGET_EXPORTS) \
48455 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
48456 for flag in $(EXTRA_TARGET_FLAGS); do \
48457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48458 done; \
48459 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48462 "RANLIB=$${RANLIB}" \
48463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48464 info) \
48465 || exit 1
48467 @endif target-libhsail-rt
48469 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
48470 maybe-dvi-target-libhsail-rt:
48471 @if target-libhsail-rt
48472 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
48474 dvi-target-libhsail-rt: \
48475 configure-target-libhsail-rt
48476 @: $(MAKE); $(unstage)
48477 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48478 r=`${PWD_COMMAND}`; export r; \
48479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48480 $(NORMAL_TARGET_EXPORTS) \
48481 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
48482 for flag in $(EXTRA_TARGET_FLAGS); do \
48483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48484 done; \
48485 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48488 "RANLIB=$${RANLIB}" \
48489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48490 dvi) \
48491 || exit 1
48493 @endif target-libhsail-rt
48495 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
48496 maybe-pdf-target-libhsail-rt:
48497 @if target-libhsail-rt
48498 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
48500 pdf-target-libhsail-rt: \
48501 configure-target-libhsail-rt
48502 @: $(MAKE); $(unstage)
48503 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48504 r=`${PWD_COMMAND}`; export r; \
48505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48506 $(NORMAL_TARGET_EXPORTS) \
48507 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48508 for flag in $(EXTRA_TARGET_FLAGS); do \
48509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48510 done; \
48511 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48514 "RANLIB=$${RANLIB}" \
48515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48516 pdf) \
48517 || exit 1
48519 @endif target-libhsail-rt
48521 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
48522 maybe-html-target-libhsail-rt:
48523 @if target-libhsail-rt
48524 maybe-html-target-libhsail-rt: html-target-libhsail-rt
48526 html-target-libhsail-rt: \
48527 configure-target-libhsail-rt
48528 @: $(MAKE); $(unstage)
48529 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48530 r=`${PWD_COMMAND}`; export r; \
48531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48532 $(NORMAL_TARGET_EXPORTS) \
48533 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
48534 for flag in $(EXTRA_TARGET_FLAGS); do \
48535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48536 done; \
48537 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48540 "RANLIB=$${RANLIB}" \
48541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48542 html) \
48543 || exit 1
48545 @endif target-libhsail-rt
48547 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
48548 maybe-TAGS-target-libhsail-rt:
48549 @if target-libhsail-rt
48550 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
48552 TAGS-target-libhsail-rt: \
48553 configure-target-libhsail-rt
48554 @: $(MAKE); $(unstage)
48555 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48556 r=`${PWD_COMMAND}`; export r; \
48557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48558 $(NORMAL_TARGET_EXPORTS) \
48559 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
48560 for flag in $(EXTRA_TARGET_FLAGS); do \
48561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48562 done; \
48563 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48566 "RANLIB=$${RANLIB}" \
48567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48568 TAGS) \
48569 || exit 1
48571 @endif target-libhsail-rt
48573 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
48574 maybe-install-info-target-libhsail-rt:
48575 @if target-libhsail-rt
48576 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
48578 install-info-target-libhsail-rt: \
48579 configure-target-libhsail-rt \
48580 info-target-libhsail-rt
48581 @: $(MAKE); $(unstage)
48582 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48583 r=`${PWD_COMMAND}`; export r; \
48584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48585 $(NORMAL_TARGET_EXPORTS) \
48586 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
48587 for flag in $(EXTRA_TARGET_FLAGS); do \
48588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48589 done; \
48590 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48593 "RANLIB=$${RANLIB}" \
48594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48595 install-info) \
48596 || exit 1
48598 @endif target-libhsail-rt
48600 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
48601 maybe-install-pdf-target-libhsail-rt:
48602 @if target-libhsail-rt
48603 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
48605 install-pdf-target-libhsail-rt: \
48606 configure-target-libhsail-rt \
48607 pdf-target-libhsail-rt
48608 @: $(MAKE); $(unstage)
48609 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48610 r=`${PWD_COMMAND}`; export r; \
48611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48612 $(NORMAL_TARGET_EXPORTS) \
48613 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48614 for flag in $(EXTRA_TARGET_FLAGS); do \
48615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48616 done; \
48617 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48620 "RANLIB=$${RANLIB}" \
48621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48622 install-pdf) \
48623 || exit 1
48625 @endif target-libhsail-rt
48627 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
48628 maybe-install-html-target-libhsail-rt:
48629 @if target-libhsail-rt
48630 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
48632 install-html-target-libhsail-rt: \
48633 configure-target-libhsail-rt \
48634 html-target-libhsail-rt
48635 @: $(MAKE); $(unstage)
48636 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48637 r=`${PWD_COMMAND}`; export r; \
48638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48639 $(NORMAL_TARGET_EXPORTS) \
48640 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
48641 for flag in $(EXTRA_TARGET_FLAGS); do \
48642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48643 done; \
48644 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48647 "RANLIB=$${RANLIB}" \
48648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48649 install-html) \
48650 || exit 1
48652 @endif target-libhsail-rt
48654 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
48655 maybe-installcheck-target-libhsail-rt:
48656 @if target-libhsail-rt
48657 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
48659 installcheck-target-libhsail-rt: \
48660 configure-target-libhsail-rt
48661 @: $(MAKE); $(unstage)
48662 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48663 r=`${PWD_COMMAND}`; export r; \
48664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48665 $(NORMAL_TARGET_EXPORTS) \
48666 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
48667 for flag in $(EXTRA_TARGET_FLAGS); do \
48668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48669 done; \
48670 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48673 "RANLIB=$${RANLIB}" \
48674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48675 installcheck) \
48676 || exit 1
48678 @endif target-libhsail-rt
48680 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
48681 maybe-mostlyclean-target-libhsail-rt:
48682 @if target-libhsail-rt
48683 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
48685 mostlyclean-target-libhsail-rt:
48686 @: $(MAKE); $(unstage)
48687 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48688 r=`${PWD_COMMAND}`; export r; \
48689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48690 $(NORMAL_TARGET_EXPORTS) \
48691 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48692 for flag in $(EXTRA_TARGET_FLAGS); do \
48693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48694 done; \
48695 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48698 "RANLIB=$${RANLIB}" \
48699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48700 mostlyclean) \
48701 || exit 1
48703 @endif target-libhsail-rt
48705 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
48706 maybe-clean-target-libhsail-rt:
48707 @if target-libhsail-rt
48708 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
48710 clean-target-libhsail-rt:
48711 @: $(MAKE); $(unstage)
48712 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48713 r=`${PWD_COMMAND}`; export r; \
48714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48715 $(NORMAL_TARGET_EXPORTS) \
48716 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48717 for flag in $(EXTRA_TARGET_FLAGS); do \
48718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48719 done; \
48720 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48723 "RANLIB=$${RANLIB}" \
48724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48725 clean) \
48726 || exit 1
48728 @endif target-libhsail-rt
48730 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
48731 maybe-distclean-target-libhsail-rt:
48732 @if target-libhsail-rt
48733 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
48735 distclean-target-libhsail-rt:
48736 @: $(MAKE); $(unstage)
48737 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48738 r=`${PWD_COMMAND}`; export r; \
48739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48740 $(NORMAL_TARGET_EXPORTS) \
48741 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48742 for flag in $(EXTRA_TARGET_FLAGS); do \
48743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48744 done; \
48745 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48748 "RANLIB=$${RANLIB}" \
48749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48750 distclean) \
48751 || exit 1
48753 @endif target-libhsail-rt
48755 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
48756 maybe-maintainer-clean-target-libhsail-rt:
48757 @if target-libhsail-rt
48758 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
48760 maintainer-clean-target-libhsail-rt:
48761 @: $(MAKE); $(unstage)
48762 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48763 r=`${PWD_COMMAND}`; export r; \
48764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48765 $(NORMAL_TARGET_EXPORTS) \
48766 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48767 for flag in $(EXTRA_TARGET_FLAGS); do \
48768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48769 done; \
48770 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48773 "RANLIB=$${RANLIB}" \
48774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48775 maintainer-clean) \
48776 || exit 1
48778 @endif target-libhsail-rt
48784 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
48785 maybe-configure-target-libphobos:
48786 @if gcc-bootstrap
48787 configure-target-libphobos: stage_current
48788 @endif gcc-bootstrap
48789 @if target-libphobos
48790 maybe-configure-target-libphobos: configure-target-libphobos
48791 configure-target-libphobos:
48792 @: $(MAKE); $(unstage)
48793 @r=`${PWD_COMMAND}`; export r; \
48794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48795 echo "Checking multilib configuration for libphobos..."; \
48796 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48797 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
48798 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48799 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48800 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
48801 else \
48802 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
48803 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48804 fi; \
48805 else \
48806 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48807 fi; \
48808 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
48809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48810 $(NORMAL_TARGET_EXPORTS) \
48811 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
48812 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
48813 case $(srcdir) in \
48814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48815 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
48816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48817 esac; \
48818 module_srcdir=libphobos; \
48819 rm -f no-such-file || : ; \
48820 CONFIG_SITE=no-such-file $(SHELL) \
48821 $$s/$$module_srcdir/configure \
48822 --srcdir=$${topdir}/$$module_srcdir \
48823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48824 --target=${target_alias} \
48825 || exit 1
48826 @endif target-libphobos
48832 .PHONY: all-target-libphobos maybe-all-target-libphobos
48833 maybe-all-target-libphobos:
48834 @if gcc-bootstrap
48835 all-target-libphobos: stage_current
48836 @endif gcc-bootstrap
48837 @if target-libphobos
48838 TARGET-target-libphobos=all
48839 maybe-all-target-libphobos: all-target-libphobos
48840 all-target-libphobos: configure-target-libphobos
48841 @: $(MAKE); $(unstage)
48842 @r=`${PWD_COMMAND}`; export r; \
48843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48844 $(NORMAL_TARGET_EXPORTS) \
48845 (cd $(TARGET_SUBDIR)/libphobos && \
48846 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48847 $(TARGET-target-libphobos))
48848 @endif target-libphobos
48854 .PHONY: check-target-libphobos maybe-check-target-libphobos
48855 maybe-check-target-libphobos:
48856 @if target-libphobos
48857 maybe-check-target-libphobos: check-target-libphobos
48859 check-target-libphobos:
48860 @: $(MAKE); $(unstage)
48861 @r=`${PWD_COMMAND}`; export r; \
48862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48863 $(NORMAL_TARGET_EXPORTS) \
48864 (cd $(TARGET_SUBDIR)/libphobos && \
48865 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48867 @endif target-libphobos
48869 .PHONY: install-target-libphobos maybe-install-target-libphobos
48870 maybe-install-target-libphobos:
48871 @if target-libphobos
48872 maybe-install-target-libphobos: install-target-libphobos
48874 install-target-libphobos: installdirs
48875 @: $(MAKE); $(unstage)
48876 @r=`${PWD_COMMAND}`; export r; \
48877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48878 $(NORMAL_TARGET_EXPORTS) \
48879 (cd $(TARGET_SUBDIR)/libphobos && \
48880 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48882 @endif target-libphobos
48884 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
48885 maybe-install-strip-target-libphobos:
48886 @if target-libphobos
48887 maybe-install-strip-target-libphobos: install-strip-target-libphobos
48889 install-strip-target-libphobos: installdirs
48890 @: $(MAKE); $(unstage)
48891 @r=`${PWD_COMMAND}`; export r; \
48892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48893 $(NORMAL_TARGET_EXPORTS) \
48894 (cd $(TARGET_SUBDIR)/libphobos && \
48895 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48897 @endif target-libphobos
48899 # Other targets (info, dvi, pdf, etc.)
48901 .PHONY: maybe-info-target-libphobos info-target-libphobos
48902 maybe-info-target-libphobos:
48903 @if target-libphobos
48904 maybe-info-target-libphobos: info-target-libphobos
48906 info-target-libphobos: \
48907 configure-target-libphobos
48908 @: $(MAKE); $(unstage)
48909 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48910 r=`${PWD_COMMAND}`; export r; \
48911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48912 $(NORMAL_TARGET_EXPORTS) \
48913 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
48914 for flag in $(EXTRA_TARGET_FLAGS); do \
48915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48916 done; \
48917 (cd $(TARGET_SUBDIR)/libphobos && \
48918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48920 "RANLIB=$${RANLIB}" \
48921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48922 info) \
48923 || exit 1
48925 @endif target-libphobos
48927 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
48928 maybe-dvi-target-libphobos:
48929 @if target-libphobos
48930 maybe-dvi-target-libphobos: dvi-target-libphobos
48932 dvi-target-libphobos: \
48933 configure-target-libphobos
48934 @: $(MAKE); $(unstage)
48935 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48936 r=`${PWD_COMMAND}`; export r; \
48937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48938 $(NORMAL_TARGET_EXPORTS) \
48939 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
48940 for flag in $(EXTRA_TARGET_FLAGS); do \
48941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48942 done; \
48943 (cd $(TARGET_SUBDIR)/libphobos && \
48944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48946 "RANLIB=$${RANLIB}" \
48947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48948 dvi) \
48949 || exit 1
48951 @endif target-libphobos
48953 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
48954 maybe-pdf-target-libphobos:
48955 @if target-libphobos
48956 maybe-pdf-target-libphobos: pdf-target-libphobos
48958 pdf-target-libphobos: \
48959 configure-target-libphobos
48960 @: $(MAKE); $(unstage)
48961 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48962 r=`${PWD_COMMAND}`; export r; \
48963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48964 $(NORMAL_TARGET_EXPORTS) \
48965 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
48966 for flag in $(EXTRA_TARGET_FLAGS); do \
48967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48968 done; \
48969 (cd $(TARGET_SUBDIR)/libphobos && \
48970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48972 "RANLIB=$${RANLIB}" \
48973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48974 pdf) \
48975 || exit 1
48977 @endif target-libphobos
48979 .PHONY: maybe-html-target-libphobos html-target-libphobos
48980 maybe-html-target-libphobos:
48981 @if target-libphobos
48982 maybe-html-target-libphobos: html-target-libphobos
48984 html-target-libphobos: \
48985 configure-target-libphobos
48986 @: $(MAKE); $(unstage)
48987 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48988 r=`${PWD_COMMAND}`; export r; \
48989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48990 $(NORMAL_TARGET_EXPORTS) \
48991 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
48992 for flag in $(EXTRA_TARGET_FLAGS); do \
48993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48994 done; \
48995 (cd $(TARGET_SUBDIR)/libphobos && \
48996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48998 "RANLIB=$${RANLIB}" \
48999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49000 html) \
49001 || exit 1
49003 @endif target-libphobos
49005 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
49006 maybe-TAGS-target-libphobos:
49007 @if target-libphobos
49008 maybe-TAGS-target-libphobos: TAGS-target-libphobos
49010 TAGS-target-libphobos: \
49011 configure-target-libphobos
49012 @: $(MAKE); $(unstage)
49013 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49014 r=`${PWD_COMMAND}`; export r; \
49015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49016 $(NORMAL_TARGET_EXPORTS) \
49017 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
49018 for flag in $(EXTRA_TARGET_FLAGS); do \
49019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49020 done; \
49021 (cd $(TARGET_SUBDIR)/libphobos && \
49022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49024 "RANLIB=$${RANLIB}" \
49025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49026 TAGS) \
49027 || exit 1
49029 @endif target-libphobos
49031 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
49032 maybe-install-info-target-libphobos:
49033 @if target-libphobos
49034 maybe-install-info-target-libphobos: install-info-target-libphobos
49036 install-info-target-libphobos: \
49037 configure-target-libphobos \
49038 info-target-libphobos
49039 @: $(MAKE); $(unstage)
49040 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49041 r=`${PWD_COMMAND}`; export r; \
49042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49043 $(NORMAL_TARGET_EXPORTS) \
49044 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
49045 for flag in $(EXTRA_TARGET_FLAGS); do \
49046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49047 done; \
49048 (cd $(TARGET_SUBDIR)/libphobos && \
49049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49051 "RANLIB=$${RANLIB}" \
49052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49053 install-info) \
49054 || exit 1
49056 @endif target-libphobos
49058 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
49059 maybe-install-pdf-target-libphobos:
49060 @if target-libphobos
49061 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
49063 install-pdf-target-libphobos: \
49064 configure-target-libphobos \
49065 pdf-target-libphobos
49066 @: $(MAKE); $(unstage)
49067 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49068 r=`${PWD_COMMAND}`; export r; \
49069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49070 $(NORMAL_TARGET_EXPORTS) \
49071 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
49072 for flag in $(EXTRA_TARGET_FLAGS); do \
49073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49074 done; \
49075 (cd $(TARGET_SUBDIR)/libphobos && \
49076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49078 "RANLIB=$${RANLIB}" \
49079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49080 install-pdf) \
49081 || exit 1
49083 @endif target-libphobos
49085 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
49086 maybe-install-html-target-libphobos:
49087 @if target-libphobos
49088 maybe-install-html-target-libphobos: install-html-target-libphobos
49090 install-html-target-libphobos: \
49091 configure-target-libphobos \
49092 html-target-libphobos
49093 @: $(MAKE); $(unstage)
49094 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49095 r=`${PWD_COMMAND}`; export r; \
49096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49097 $(NORMAL_TARGET_EXPORTS) \
49098 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
49099 for flag in $(EXTRA_TARGET_FLAGS); do \
49100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49101 done; \
49102 (cd $(TARGET_SUBDIR)/libphobos && \
49103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49105 "RANLIB=$${RANLIB}" \
49106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49107 install-html) \
49108 || exit 1
49110 @endif target-libphobos
49112 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
49113 maybe-installcheck-target-libphobos:
49114 @if target-libphobos
49115 maybe-installcheck-target-libphobos: installcheck-target-libphobos
49117 installcheck-target-libphobos: \
49118 configure-target-libphobos
49119 @: $(MAKE); $(unstage)
49120 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49121 r=`${PWD_COMMAND}`; export r; \
49122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49123 $(NORMAL_TARGET_EXPORTS) \
49124 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
49125 for flag in $(EXTRA_TARGET_FLAGS); do \
49126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49127 done; \
49128 (cd $(TARGET_SUBDIR)/libphobos && \
49129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49131 "RANLIB=$${RANLIB}" \
49132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49133 installcheck) \
49134 || exit 1
49136 @endif target-libphobos
49138 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
49139 maybe-mostlyclean-target-libphobos:
49140 @if target-libphobos
49141 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
49143 mostlyclean-target-libphobos:
49144 @: $(MAKE); $(unstage)
49145 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49146 r=`${PWD_COMMAND}`; export r; \
49147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49148 $(NORMAL_TARGET_EXPORTS) \
49149 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
49150 for flag in $(EXTRA_TARGET_FLAGS); do \
49151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49152 done; \
49153 (cd $(TARGET_SUBDIR)/libphobos && \
49154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49156 "RANLIB=$${RANLIB}" \
49157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49158 mostlyclean) \
49159 || exit 1
49161 @endif target-libphobos
49163 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
49164 maybe-clean-target-libphobos:
49165 @if target-libphobos
49166 maybe-clean-target-libphobos: clean-target-libphobos
49168 clean-target-libphobos:
49169 @: $(MAKE); $(unstage)
49170 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49171 r=`${PWD_COMMAND}`; export r; \
49172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49173 $(NORMAL_TARGET_EXPORTS) \
49174 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
49175 for flag in $(EXTRA_TARGET_FLAGS); do \
49176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49177 done; \
49178 (cd $(TARGET_SUBDIR)/libphobos && \
49179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49181 "RANLIB=$${RANLIB}" \
49182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49183 clean) \
49184 || exit 1
49186 @endif target-libphobos
49188 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
49189 maybe-distclean-target-libphobos:
49190 @if target-libphobos
49191 maybe-distclean-target-libphobos: distclean-target-libphobos
49193 distclean-target-libphobos:
49194 @: $(MAKE); $(unstage)
49195 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49196 r=`${PWD_COMMAND}`; export r; \
49197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49198 $(NORMAL_TARGET_EXPORTS) \
49199 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
49200 for flag in $(EXTRA_TARGET_FLAGS); do \
49201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49202 done; \
49203 (cd $(TARGET_SUBDIR)/libphobos && \
49204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49206 "RANLIB=$${RANLIB}" \
49207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49208 distclean) \
49209 || exit 1
49211 @endif target-libphobos
49213 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
49214 maybe-maintainer-clean-target-libphobos:
49215 @if target-libphobos
49216 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
49218 maintainer-clean-target-libphobos:
49219 @: $(MAKE); $(unstage)
49220 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49221 r=`${PWD_COMMAND}`; export r; \
49222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49223 $(NORMAL_TARGET_EXPORTS) \
49224 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
49225 for flag in $(EXTRA_TARGET_FLAGS); do \
49226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49227 done; \
49228 (cd $(TARGET_SUBDIR)/libphobos && \
49229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49231 "RANLIB=$${RANLIB}" \
49232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49233 maintainer-clean) \
49234 || exit 1
49236 @endif target-libphobos
49242 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
49243 maybe-configure-target-libtermcap:
49244 @if gcc-bootstrap
49245 configure-target-libtermcap: stage_current
49246 @endif gcc-bootstrap
49247 @if target-libtermcap
49248 maybe-configure-target-libtermcap: configure-target-libtermcap
49249 configure-target-libtermcap:
49250 @: $(MAKE); $(unstage)
49251 @r=`${PWD_COMMAND}`; export r; \
49252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49253 echo "Checking multilib configuration for libtermcap..."; \
49254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
49255 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
49256 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
49257 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
49258 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
49259 else \
49260 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
49261 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
49262 fi; \
49263 else \
49264 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
49265 fi; \
49266 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
49267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
49268 $(NORMAL_TARGET_EXPORTS) \
49269 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
49270 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
49271 case $(srcdir) in \
49272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49273 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
49274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49275 esac; \
49276 module_srcdir=libtermcap; \
49277 rm -f no-such-file || : ; \
49278 CONFIG_SITE=no-such-file $(SHELL) \
49279 $$s/$$module_srcdir/configure \
49280 --srcdir=$${topdir}/$$module_srcdir \
49281 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49282 --target=${target_alias} \
49283 || exit 1
49284 @endif target-libtermcap
49290 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
49291 maybe-all-target-libtermcap:
49292 @if gcc-bootstrap
49293 all-target-libtermcap: stage_current
49294 @endif gcc-bootstrap
49295 @if target-libtermcap
49296 TARGET-target-libtermcap=all
49297 maybe-all-target-libtermcap: all-target-libtermcap
49298 all-target-libtermcap: configure-target-libtermcap
49299 @: $(MAKE); $(unstage)
49300 @r=`${PWD_COMMAND}`; export r; \
49301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49302 $(NORMAL_TARGET_EXPORTS) \
49303 (cd $(TARGET_SUBDIR)/libtermcap && \
49304 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49305 $(TARGET-target-libtermcap))
49306 @endif target-libtermcap
49312 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
49313 maybe-check-target-libtermcap:
49314 @if target-libtermcap
49315 maybe-check-target-libtermcap: check-target-libtermcap
49317 # Dummy target for uncheckable module.
49318 check-target-libtermcap:
49320 @endif target-libtermcap
49322 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
49323 maybe-install-target-libtermcap:
49324 @if target-libtermcap
49325 maybe-install-target-libtermcap: install-target-libtermcap
49327 install-target-libtermcap: installdirs
49328 @: $(MAKE); $(unstage)
49329 @r=`${PWD_COMMAND}`; export r; \
49330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49331 $(NORMAL_TARGET_EXPORTS) \
49332 (cd $(TARGET_SUBDIR)/libtermcap && \
49333 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49335 @endif target-libtermcap
49337 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
49338 maybe-install-strip-target-libtermcap:
49339 @if target-libtermcap
49340 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
49342 install-strip-target-libtermcap: installdirs
49343 @: $(MAKE); $(unstage)
49344 @r=`${PWD_COMMAND}`; export r; \
49345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49346 $(NORMAL_TARGET_EXPORTS) \
49347 (cd $(TARGET_SUBDIR)/libtermcap && \
49348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49350 @endif target-libtermcap
49352 # Other targets (info, dvi, pdf, etc.)
49354 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
49355 maybe-info-target-libtermcap:
49356 @if target-libtermcap
49357 maybe-info-target-libtermcap: info-target-libtermcap
49359 info-target-libtermcap: \
49360 configure-target-libtermcap
49361 @: $(MAKE); $(unstage)
49362 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49363 r=`${PWD_COMMAND}`; export r; \
49364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49365 $(NORMAL_TARGET_EXPORTS) \
49366 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
49367 for flag in $(EXTRA_TARGET_FLAGS); do \
49368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49369 done; \
49370 (cd $(TARGET_SUBDIR)/libtermcap && \
49371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49373 "RANLIB=$${RANLIB}" \
49374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49375 info) \
49376 || exit 1
49378 @endif target-libtermcap
49380 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
49381 maybe-dvi-target-libtermcap:
49382 @if target-libtermcap
49383 maybe-dvi-target-libtermcap: dvi-target-libtermcap
49385 dvi-target-libtermcap: \
49386 configure-target-libtermcap
49387 @: $(MAKE); $(unstage)
49388 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49389 r=`${PWD_COMMAND}`; export r; \
49390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49391 $(NORMAL_TARGET_EXPORTS) \
49392 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
49393 for flag in $(EXTRA_TARGET_FLAGS); do \
49394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49395 done; \
49396 (cd $(TARGET_SUBDIR)/libtermcap && \
49397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49399 "RANLIB=$${RANLIB}" \
49400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49401 dvi) \
49402 || exit 1
49404 @endif target-libtermcap
49406 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
49407 maybe-pdf-target-libtermcap:
49408 @if target-libtermcap
49409 maybe-pdf-target-libtermcap: pdf-target-libtermcap
49411 pdf-target-libtermcap: \
49412 configure-target-libtermcap
49413 @: $(MAKE); $(unstage)
49414 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49415 r=`${PWD_COMMAND}`; export r; \
49416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49417 $(NORMAL_TARGET_EXPORTS) \
49418 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
49419 for flag in $(EXTRA_TARGET_FLAGS); do \
49420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49421 done; \
49422 (cd $(TARGET_SUBDIR)/libtermcap && \
49423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49425 "RANLIB=$${RANLIB}" \
49426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49427 pdf) \
49428 || exit 1
49430 @endif target-libtermcap
49432 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
49433 maybe-html-target-libtermcap:
49434 @if target-libtermcap
49435 maybe-html-target-libtermcap: html-target-libtermcap
49437 html-target-libtermcap: \
49438 configure-target-libtermcap
49439 @: $(MAKE); $(unstage)
49440 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49441 r=`${PWD_COMMAND}`; export r; \
49442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49443 $(NORMAL_TARGET_EXPORTS) \
49444 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
49445 for flag in $(EXTRA_TARGET_FLAGS); do \
49446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49447 done; \
49448 (cd $(TARGET_SUBDIR)/libtermcap && \
49449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49451 "RANLIB=$${RANLIB}" \
49452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49453 html) \
49454 || exit 1
49456 @endif target-libtermcap
49458 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
49459 maybe-TAGS-target-libtermcap:
49460 @if target-libtermcap
49461 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
49463 TAGS-target-libtermcap: \
49464 configure-target-libtermcap
49465 @: $(MAKE); $(unstage)
49466 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49467 r=`${PWD_COMMAND}`; export r; \
49468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49469 $(NORMAL_TARGET_EXPORTS) \
49470 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
49471 for flag in $(EXTRA_TARGET_FLAGS); do \
49472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49473 done; \
49474 (cd $(TARGET_SUBDIR)/libtermcap && \
49475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49477 "RANLIB=$${RANLIB}" \
49478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49479 TAGS) \
49480 || exit 1
49482 @endif target-libtermcap
49484 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
49485 maybe-install-info-target-libtermcap:
49486 @if target-libtermcap
49487 maybe-install-info-target-libtermcap: install-info-target-libtermcap
49489 install-info-target-libtermcap: \
49490 configure-target-libtermcap \
49491 info-target-libtermcap
49492 @: $(MAKE); $(unstage)
49493 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49494 r=`${PWD_COMMAND}`; export r; \
49495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49496 $(NORMAL_TARGET_EXPORTS) \
49497 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
49498 for flag in $(EXTRA_TARGET_FLAGS); do \
49499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49500 done; \
49501 (cd $(TARGET_SUBDIR)/libtermcap && \
49502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49504 "RANLIB=$${RANLIB}" \
49505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49506 install-info) \
49507 || exit 1
49509 @endif target-libtermcap
49511 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
49512 maybe-install-pdf-target-libtermcap:
49513 @if target-libtermcap
49514 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
49516 install-pdf-target-libtermcap: \
49517 configure-target-libtermcap \
49518 pdf-target-libtermcap
49519 @: $(MAKE); $(unstage)
49520 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49521 r=`${PWD_COMMAND}`; export r; \
49522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49523 $(NORMAL_TARGET_EXPORTS) \
49524 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
49525 for flag in $(EXTRA_TARGET_FLAGS); do \
49526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49527 done; \
49528 (cd $(TARGET_SUBDIR)/libtermcap && \
49529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49531 "RANLIB=$${RANLIB}" \
49532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49533 install-pdf) \
49534 || exit 1
49536 @endif target-libtermcap
49538 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
49539 maybe-install-html-target-libtermcap:
49540 @if target-libtermcap
49541 maybe-install-html-target-libtermcap: install-html-target-libtermcap
49543 install-html-target-libtermcap: \
49544 configure-target-libtermcap \
49545 html-target-libtermcap
49546 @: $(MAKE); $(unstage)
49547 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49548 r=`${PWD_COMMAND}`; export r; \
49549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49550 $(NORMAL_TARGET_EXPORTS) \
49551 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
49552 for flag in $(EXTRA_TARGET_FLAGS); do \
49553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49554 done; \
49555 (cd $(TARGET_SUBDIR)/libtermcap && \
49556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49558 "RANLIB=$${RANLIB}" \
49559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49560 install-html) \
49561 || exit 1
49563 @endif target-libtermcap
49565 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
49566 maybe-installcheck-target-libtermcap:
49567 @if target-libtermcap
49568 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
49570 installcheck-target-libtermcap: \
49571 configure-target-libtermcap
49572 @: $(MAKE); $(unstage)
49573 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49574 r=`${PWD_COMMAND}`; export r; \
49575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49576 $(NORMAL_TARGET_EXPORTS) \
49577 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
49578 for flag in $(EXTRA_TARGET_FLAGS); do \
49579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49580 done; \
49581 (cd $(TARGET_SUBDIR)/libtermcap && \
49582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49584 "RANLIB=$${RANLIB}" \
49585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49586 installcheck) \
49587 || exit 1
49589 @endif target-libtermcap
49591 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
49592 maybe-mostlyclean-target-libtermcap:
49593 @if target-libtermcap
49594 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
49596 # libtermcap doesn't support mostlyclean.
49597 mostlyclean-target-libtermcap:
49599 @endif target-libtermcap
49601 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
49602 maybe-clean-target-libtermcap:
49603 @if target-libtermcap
49604 maybe-clean-target-libtermcap: clean-target-libtermcap
49606 # libtermcap doesn't support clean.
49607 clean-target-libtermcap:
49609 @endif target-libtermcap
49611 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
49612 maybe-distclean-target-libtermcap:
49613 @if target-libtermcap
49614 maybe-distclean-target-libtermcap: distclean-target-libtermcap
49616 # libtermcap doesn't support distclean.
49617 distclean-target-libtermcap:
49619 @endif target-libtermcap
49621 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
49622 maybe-maintainer-clean-target-libtermcap:
49623 @if target-libtermcap
49624 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
49626 # libtermcap doesn't support maintainer-clean.
49627 maintainer-clean-target-libtermcap:
49629 @endif target-libtermcap
49635 .PHONY: configure-target-winsup maybe-configure-target-winsup
49636 maybe-configure-target-winsup:
49637 @if gcc-bootstrap
49638 configure-target-winsup: stage_current
49639 @endif gcc-bootstrap
49640 @if target-winsup
49641 maybe-configure-target-winsup: configure-target-winsup
49642 configure-target-winsup:
49643 @: $(MAKE); $(unstage)
49644 @r=`${PWD_COMMAND}`; export r; \
49645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49646 echo "Checking multilib configuration for winsup..."; \
49647 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49648 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
49649 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
49650 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
49651 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
49652 else \
49653 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
49654 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49655 fi; \
49656 else \
49657 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49658 fi; \
49659 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
49660 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49661 $(NORMAL_TARGET_EXPORTS) \
49662 echo Configuring in $(TARGET_SUBDIR)/winsup; \
49663 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
49664 case $(srcdir) in \
49665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49666 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
49667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49668 esac; \
49669 module_srcdir=winsup; \
49670 rm -f no-such-file || : ; \
49671 CONFIG_SITE=no-such-file $(SHELL) \
49672 $$s/$$module_srcdir/configure \
49673 --srcdir=$${topdir}/$$module_srcdir \
49674 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49675 --target=${target_alias} \
49676 || exit 1
49677 @endif target-winsup
49683 .PHONY: all-target-winsup maybe-all-target-winsup
49684 maybe-all-target-winsup:
49685 @if gcc-bootstrap
49686 all-target-winsup: stage_current
49687 @endif gcc-bootstrap
49688 @if target-winsup
49689 TARGET-target-winsup=all
49690 maybe-all-target-winsup: all-target-winsup
49691 all-target-winsup: configure-target-winsup
49692 @: $(MAKE); $(unstage)
49693 @r=`${PWD_COMMAND}`; export r; \
49694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49695 $(NORMAL_TARGET_EXPORTS) \
49696 (cd $(TARGET_SUBDIR)/winsup && \
49697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49698 $(TARGET-target-winsup))
49699 @endif target-winsup
49705 .PHONY: check-target-winsup maybe-check-target-winsup
49706 maybe-check-target-winsup:
49707 @if target-winsup
49708 maybe-check-target-winsup: check-target-winsup
49710 check-target-winsup:
49711 @: $(MAKE); $(unstage)
49712 @r=`${PWD_COMMAND}`; export r; \
49713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49714 $(NORMAL_TARGET_EXPORTS) \
49715 (cd $(TARGET_SUBDIR)/winsup && \
49716 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49718 @endif target-winsup
49720 .PHONY: install-target-winsup maybe-install-target-winsup
49721 maybe-install-target-winsup:
49722 @if target-winsup
49723 maybe-install-target-winsup: install-target-winsup
49725 install-target-winsup: installdirs
49726 @: $(MAKE); $(unstage)
49727 @r=`${PWD_COMMAND}`; export r; \
49728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49729 $(NORMAL_TARGET_EXPORTS) \
49730 (cd $(TARGET_SUBDIR)/winsup && \
49731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49733 @endif target-winsup
49735 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
49736 maybe-install-strip-target-winsup:
49737 @if target-winsup
49738 maybe-install-strip-target-winsup: install-strip-target-winsup
49740 install-strip-target-winsup: installdirs
49741 @: $(MAKE); $(unstage)
49742 @r=`${PWD_COMMAND}`; export r; \
49743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49744 $(NORMAL_TARGET_EXPORTS) \
49745 (cd $(TARGET_SUBDIR)/winsup && \
49746 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49748 @endif target-winsup
49750 # Other targets (info, dvi, pdf, etc.)
49752 .PHONY: maybe-info-target-winsup info-target-winsup
49753 maybe-info-target-winsup:
49754 @if target-winsup
49755 maybe-info-target-winsup: info-target-winsup
49757 info-target-winsup: \
49758 configure-target-winsup
49759 @: $(MAKE); $(unstage)
49760 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49761 r=`${PWD_COMMAND}`; export r; \
49762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49763 $(NORMAL_TARGET_EXPORTS) \
49764 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
49765 for flag in $(EXTRA_TARGET_FLAGS); do \
49766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49767 done; \
49768 (cd $(TARGET_SUBDIR)/winsup && \
49769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49771 "RANLIB=$${RANLIB}" \
49772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49773 info) \
49774 || exit 1
49776 @endif target-winsup
49778 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
49779 maybe-dvi-target-winsup:
49780 @if target-winsup
49781 maybe-dvi-target-winsup: dvi-target-winsup
49783 dvi-target-winsup: \
49784 configure-target-winsup
49785 @: $(MAKE); $(unstage)
49786 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49787 r=`${PWD_COMMAND}`; export r; \
49788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49789 $(NORMAL_TARGET_EXPORTS) \
49790 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
49791 for flag in $(EXTRA_TARGET_FLAGS); do \
49792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49793 done; \
49794 (cd $(TARGET_SUBDIR)/winsup && \
49795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49797 "RANLIB=$${RANLIB}" \
49798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49799 dvi) \
49800 || exit 1
49802 @endif target-winsup
49804 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
49805 maybe-pdf-target-winsup:
49806 @if target-winsup
49807 maybe-pdf-target-winsup: pdf-target-winsup
49809 pdf-target-winsup: \
49810 configure-target-winsup
49811 @: $(MAKE); $(unstage)
49812 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49813 r=`${PWD_COMMAND}`; export r; \
49814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49815 $(NORMAL_TARGET_EXPORTS) \
49816 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
49817 for flag in $(EXTRA_TARGET_FLAGS); do \
49818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49819 done; \
49820 (cd $(TARGET_SUBDIR)/winsup && \
49821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49823 "RANLIB=$${RANLIB}" \
49824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49825 pdf) \
49826 || exit 1
49828 @endif target-winsup
49830 .PHONY: maybe-html-target-winsup html-target-winsup
49831 maybe-html-target-winsup:
49832 @if target-winsup
49833 maybe-html-target-winsup: html-target-winsup
49835 html-target-winsup: \
49836 configure-target-winsup
49837 @: $(MAKE); $(unstage)
49838 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49839 r=`${PWD_COMMAND}`; export r; \
49840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49841 $(NORMAL_TARGET_EXPORTS) \
49842 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
49843 for flag in $(EXTRA_TARGET_FLAGS); do \
49844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49845 done; \
49846 (cd $(TARGET_SUBDIR)/winsup && \
49847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49849 "RANLIB=$${RANLIB}" \
49850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49851 html) \
49852 || exit 1
49854 @endif target-winsup
49856 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
49857 maybe-TAGS-target-winsup:
49858 @if target-winsup
49859 maybe-TAGS-target-winsup: TAGS-target-winsup
49861 TAGS-target-winsup: \
49862 configure-target-winsup
49863 @: $(MAKE); $(unstage)
49864 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49865 r=`${PWD_COMMAND}`; export r; \
49866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49867 $(NORMAL_TARGET_EXPORTS) \
49868 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
49869 for flag in $(EXTRA_TARGET_FLAGS); do \
49870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49871 done; \
49872 (cd $(TARGET_SUBDIR)/winsup && \
49873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49875 "RANLIB=$${RANLIB}" \
49876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49877 TAGS) \
49878 || exit 1
49880 @endif target-winsup
49882 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
49883 maybe-install-info-target-winsup:
49884 @if target-winsup
49885 maybe-install-info-target-winsup: install-info-target-winsup
49887 install-info-target-winsup: \
49888 configure-target-winsup \
49889 info-target-winsup
49890 @: $(MAKE); $(unstage)
49891 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49892 r=`${PWD_COMMAND}`; export r; \
49893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49894 $(NORMAL_TARGET_EXPORTS) \
49895 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
49896 for flag in $(EXTRA_TARGET_FLAGS); do \
49897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49898 done; \
49899 (cd $(TARGET_SUBDIR)/winsup && \
49900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49902 "RANLIB=$${RANLIB}" \
49903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49904 install-info) \
49905 || exit 1
49907 @endif target-winsup
49909 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
49910 maybe-install-pdf-target-winsup:
49911 @if target-winsup
49912 maybe-install-pdf-target-winsup: install-pdf-target-winsup
49914 install-pdf-target-winsup: \
49915 configure-target-winsup \
49916 pdf-target-winsup
49917 @: $(MAKE); $(unstage)
49918 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49919 r=`${PWD_COMMAND}`; export r; \
49920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49921 $(NORMAL_TARGET_EXPORTS) \
49922 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
49923 for flag in $(EXTRA_TARGET_FLAGS); do \
49924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49925 done; \
49926 (cd $(TARGET_SUBDIR)/winsup && \
49927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49929 "RANLIB=$${RANLIB}" \
49930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49931 install-pdf) \
49932 || exit 1
49934 @endif target-winsup
49936 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
49937 maybe-install-html-target-winsup:
49938 @if target-winsup
49939 maybe-install-html-target-winsup: install-html-target-winsup
49941 install-html-target-winsup: \
49942 configure-target-winsup \
49943 html-target-winsup
49944 @: $(MAKE); $(unstage)
49945 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49946 r=`${PWD_COMMAND}`; export r; \
49947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49948 $(NORMAL_TARGET_EXPORTS) \
49949 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
49950 for flag in $(EXTRA_TARGET_FLAGS); do \
49951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49952 done; \
49953 (cd $(TARGET_SUBDIR)/winsup && \
49954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49956 "RANLIB=$${RANLIB}" \
49957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49958 install-html) \
49959 || exit 1
49961 @endif target-winsup
49963 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
49964 maybe-installcheck-target-winsup:
49965 @if target-winsup
49966 maybe-installcheck-target-winsup: installcheck-target-winsup
49968 installcheck-target-winsup: \
49969 configure-target-winsup
49970 @: $(MAKE); $(unstage)
49971 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49972 r=`${PWD_COMMAND}`; export r; \
49973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49974 $(NORMAL_TARGET_EXPORTS) \
49975 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
49976 for flag in $(EXTRA_TARGET_FLAGS); do \
49977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49978 done; \
49979 (cd $(TARGET_SUBDIR)/winsup && \
49980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49982 "RANLIB=$${RANLIB}" \
49983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49984 installcheck) \
49985 || exit 1
49987 @endif target-winsup
49989 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
49990 maybe-mostlyclean-target-winsup:
49991 @if target-winsup
49992 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
49994 mostlyclean-target-winsup:
49995 @: $(MAKE); $(unstage)
49996 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49997 r=`${PWD_COMMAND}`; export r; \
49998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49999 $(NORMAL_TARGET_EXPORTS) \
50000 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
50001 for flag in $(EXTRA_TARGET_FLAGS); do \
50002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50003 done; \
50004 (cd $(TARGET_SUBDIR)/winsup && \
50005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50007 "RANLIB=$${RANLIB}" \
50008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50009 mostlyclean) \
50010 || exit 1
50012 @endif target-winsup
50014 .PHONY: maybe-clean-target-winsup clean-target-winsup
50015 maybe-clean-target-winsup:
50016 @if target-winsup
50017 maybe-clean-target-winsup: clean-target-winsup
50019 clean-target-winsup:
50020 @: $(MAKE); $(unstage)
50021 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50022 r=`${PWD_COMMAND}`; export r; \
50023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50024 $(NORMAL_TARGET_EXPORTS) \
50025 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
50026 for flag in $(EXTRA_TARGET_FLAGS); do \
50027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50028 done; \
50029 (cd $(TARGET_SUBDIR)/winsup && \
50030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50032 "RANLIB=$${RANLIB}" \
50033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50034 clean) \
50035 || exit 1
50037 @endif target-winsup
50039 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
50040 maybe-distclean-target-winsup:
50041 @if target-winsup
50042 maybe-distclean-target-winsup: distclean-target-winsup
50044 distclean-target-winsup:
50045 @: $(MAKE); $(unstage)
50046 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50047 r=`${PWD_COMMAND}`; export r; \
50048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50049 $(NORMAL_TARGET_EXPORTS) \
50050 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
50051 for flag in $(EXTRA_TARGET_FLAGS); do \
50052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50053 done; \
50054 (cd $(TARGET_SUBDIR)/winsup && \
50055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50057 "RANLIB=$${RANLIB}" \
50058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50059 distclean) \
50060 || exit 1
50062 @endif target-winsup
50064 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
50065 maybe-maintainer-clean-target-winsup:
50066 @if target-winsup
50067 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
50069 maintainer-clean-target-winsup:
50070 @: $(MAKE); $(unstage)
50071 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50072 r=`${PWD_COMMAND}`; export r; \
50073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50074 $(NORMAL_TARGET_EXPORTS) \
50075 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
50076 for flag in $(EXTRA_TARGET_FLAGS); do \
50077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50078 done; \
50079 (cd $(TARGET_SUBDIR)/winsup && \
50080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50082 "RANLIB=$${RANLIB}" \
50083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50084 maintainer-clean) \
50085 || exit 1
50087 @endif target-winsup
50093 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
50094 maybe-configure-target-libgloss:
50095 @if gcc-bootstrap
50096 configure-target-libgloss: stage_current
50097 @endif gcc-bootstrap
50098 @if target-libgloss
50099 maybe-configure-target-libgloss: configure-target-libgloss
50100 configure-target-libgloss:
50101 @: $(MAKE); $(unstage)
50102 @r=`${PWD_COMMAND}`; export r; \
50103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50104 echo "Checking multilib configuration for libgloss..."; \
50105 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
50106 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
50107 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
50108 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
50109 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
50110 else \
50111 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
50112 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
50113 fi; \
50114 else \
50115 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
50116 fi; \
50117 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
50118 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
50119 $(NORMAL_TARGET_EXPORTS) \
50120 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
50121 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
50122 case $(srcdir) in \
50123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50124 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
50125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50126 esac; \
50127 module_srcdir=libgloss; \
50128 rm -f no-such-file || : ; \
50129 CONFIG_SITE=no-such-file $(SHELL) \
50130 $$s/$$module_srcdir/configure \
50131 --srcdir=$${topdir}/$$module_srcdir \
50132 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50133 --target=${target_alias} \
50134 || exit 1
50135 @endif target-libgloss
50141 .PHONY: all-target-libgloss maybe-all-target-libgloss
50142 maybe-all-target-libgloss:
50143 @if gcc-bootstrap
50144 all-target-libgloss: stage_current
50145 @endif gcc-bootstrap
50146 @if target-libgloss
50147 TARGET-target-libgloss=all
50148 maybe-all-target-libgloss: all-target-libgloss
50149 all-target-libgloss: configure-target-libgloss
50150 @: $(MAKE); $(unstage)
50151 @r=`${PWD_COMMAND}`; export r; \
50152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50153 $(NORMAL_TARGET_EXPORTS) \
50154 (cd $(TARGET_SUBDIR)/libgloss && \
50155 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50156 $(TARGET-target-libgloss))
50157 @endif target-libgloss
50163 .PHONY: check-target-libgloss maybe-check-target-libgloss
50164 maybe-check-target-libgloss:
50165 @if target-libgloss
50166 maybe-check-target-libgloss: check-target-libgloss
50168 # Dummy target for uncheckable module.
50169 check-target-libgloss:
50171 @endif target-libgloss
50173 .PHONY: install-target-libgloss maybe-install-target-libgloss
50174 maybe-install-target-libgloss:
50175 @if target-libgloss
50176 maybe-install-target-libgloss: install-target-libgloss
50178 install-target-libgloss: installdirs
50179 @: $(MAKE); $(unstage)
50180 @r=`${PWD_COMMAND}`; export r; \
50181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50182 $(NORMAL_TARGET_EXPORTS) \
50183 (cd $(TARGET_SUBDIR)/libgloss && \
50184 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50186 @endif target-libgloss
50188 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
50189 maybe-install-strip-target-libgloss:
50190 @if target-libgloss
50191 maybe-install-strip-target-libgloss: install-strip-target-libgloss
50193 install-strip-target-libgloss: installdirs
50194 @: $(MAKE); $(unstage)
50195 @r=`${PWD_COMMAND}`; export r; \
50196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50197 $(NORMAL_TARGET_EXPORTS) \
50198 (cd $(TARGET_SUBDIR)/libgloss && \
50199 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50201 @endif target-libgloss
50203 # Other targets (info, dvi, pdf, etc.)
50205 .PHONY: maybe-info-target-libgloss info-target-libgloss
50206 maybe-info-target-libgloss:
50207 @if target-libgloss
50208 maybe-info-target-libgloss: info-target-libgloss
50210 info-target-libgloss: \
50211 configure-target-libgloss
50212 @: $(MAKE); $(unstage)
50213 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50214 r=`${PWD_COMMAND}`; export r; \
50215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50216 $(NORMAL_TARGET_EXPORTS) \
50217 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
50218 for flag in $(EXTRA_TARGET_FLAGS); do \
50219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50220 done; \
50221 (cd $(TARGET_SUBDIR)/libgloss && \
50222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50224 "RANLIB=$${RANLIB}" \
50225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50226 info) \
50227 || exit 1
50229 @endif target-libgloss
50231 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
50232 maybe-dvi-target-libgloss:
50233 @if target-libgloss
50234 maybe-dvi-target-libgloss: dvi-target-libgloss
50236 dvi-target-libgloss: \
50237 configure-target-libgloss
50238 @: $(MAKE); $(unstage)
50239 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50240 r=`${PWD_COMMAND}`; export r; \
50241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50242 $(NORMAL_TARGET_EXPORTS) \
50243 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
50244 for flag in $(EXTRA_TARGET_FLAGS); do \
50245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50246 done; \
50247 (cd $(TARGET_SUBDIR)/libgloss && \
50248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50250 "RANLIB=$${RANLIB}" \
50251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50252 dvi) \
50253 || exit 1
50255 @endif target-libgloss
50257 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
50258 maybe-pdf-target-libgloss:
50259 @if target-libgloss
50260 maybe-pdf-target-libgloss: pdf-target-libgloss
50262 pdf-target-libgloss: \
50263 configure-target-libgloss
50264 @: $(MAKE); $(unstage)
50265 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50266 r=`${PWD_COMMAND}`; export r; \
50267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50268 $(NORMAL_TARGET_EXPORTS) \
50269 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
50270 for flag in $(EXTRA_TARGET_FLAGS); do \
50271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50272 done; \
50273 (cd $(TARGET_SUBDIR)/libgloss && \
50274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50276 "RANLIB=$${RANLIB}" \
50277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50278 pdf) \
50279 || exit 1
50281 @endif target-libgloss
50283 .PHONY: maybe-html-target-libgloss html-target-libgloss
50284 maybe-html-target-libgloss:
50285 @if target-libgloss
50286 maybe-html-target-libgloss: html-target-libgloss
50288 html-target-libgloss: \
50289 configure-target-libgloss
50290 @: $(MAKE); $(unstage)
50291 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50292 r=`${PWD_COMMAND}`; export r; \
50293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50294 $(NORMAL_TARGET_EXPORTS) \
50295 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
50296 for flag in $(EXTRA_TARGET_FLAGS); do \
50297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50298 done; \
50299 (cd $(TARGET_SUBDIR)/libgloss && \
50300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50302 "RANLIB=$${RANLIB}" \
50303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50304 html) \
50305 || exit 1
50307 @endif target-libgloss
50309 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
50310 maybe-TAGS-target-libgloss:
50311 @if target-libgloss
50312 maybe-TAGS-target-libgloss: TAGS-target-libgloss
50314 TAGS-target-libgloss: \
50315 configure-target-libgloss
50316 @: $(MAKE); $(unstage)
50317 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50318 r=`${PWD_COMMAND}`; export r; \
50319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50320 $(NORMAL_TARGET_EXPORTS) \
50321 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
50322 for flag in $(EXTRA_TARGET_FLAGS); do \
50323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50324 done; \
50325 (cd $(TARGET_SUBDIR)/libgloss && \
50326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50328 "RANLIB=$${RANLIB}" \
50329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50330 TAGS) \
50331 || exit 1
50333 @endif target-libgloss
50335 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
50336 maybe-install-info-target-libgloss:
50337 @if target-libgloss
50338 maybe-install-info-target-libgloss: install-info-target-libgloss
50340 install-info-target-libgloss: \
50341 configure-target-libgloss \
50342 info-target-libgloss
50343 @: $(MAKE); $(unstage)
50344 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50345 r=`${PWD_COMMAND}`; export r; \
50346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50347 $(NORMAL_TARGET_EXPORTS) \
50348 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
50349 for flag in $(EXTRA_TARGET_FLAGS); do \
50350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50351 done; \
50352 (cd $(TARGET_SUBDIR)/libgloss && \
50353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50355 "RANLIB=$${RANLIB}" \
50356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50357 install-info) \
50358 || exit 1
50360 @endif target-libgloss
50362 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
50363 maybe-install-pdf-target-libgloss:
50364 @if target-libgloss
50365 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
50367 install-pdf-target-libgloss: \
50368 configure-target-libgloss \
50369 pdf-target-libgloss
50370 @: $(MAKE); $(unstage)
50371 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50372 r=`${PWD_COMMAND}`; export r; \
50373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50374 $(NORMAL_TARGET_EXPORTS) \
50375 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
50376 for flag in $(EXTRA_TARGET_FLAGS); do \
50377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50378 done; \
50379 (cd $(TARGET_SUBDIR)/libgloss && \
50380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50382 "RANLIB=$${RANLIB}" \
50383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50384 install-pdf) \
50385 || exit 1
50387 @endif target-libgloss
50389 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
50390 maybe-install-html-target-libgloss:
50391 @if target-libgloss
50392 maybe-install-html-target-libgloss: install-html-target-libgloss
50394 install-html-target-libgloss: \
50395 configure-target-libgloss \
50396 html-target-libgloss
50397 @: $(MAKE); $(unstage)
50398 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50399 r=`${PWD_COMMAND}`; export r; \
50400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50401 $(NORMAL_TARGET_EXPORTS) \
50402 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
50403 for flag in $(EXTRA_TARGET_FLAGS); do \
50404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50405 done; \
50406 (cd $(TARGET_SUBDIR)/libgloss && \
50407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50409 "RANLIB=$${RANLIB}" \
50410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50411 install-html) \
50412 || exit 1
50414 @endif target-libgloss
50416 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
50417 maybe-installcheck-target-libgloss:
50418 @if target-libgloss
50419 maybe-installcheck-target-libgloss: installcheck-target-libgloss
50421 installcheck-target-libgloss: \
50422 configure-target-libgloss
50423 @: $(MAKE); $(unstage)
50424 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50425 r=`${PWD_COMMAND}`; export r; \
50426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50427 $(NORMAL_TARGET_EXPORTS) \
50428 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
50429 for flag in $(EXTRA_TARGET_FLAGS); do \
50430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50431 done; \
50432 (cd $(TARGET_SUBDIR)/libgloss && \
50433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50435 "RANLIB=$${RANLIB}" \
50436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50437 installcheck) \
50438 || exit 1
50440 @endif target-libgloss
50442 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
50443 maybe-mostlyclean-target-libgloss:
50444 @if target-libgloss
50445 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
50447 mostlyclean-target-libgloss:
50448 @: $(MAKE); $(unstage)
50449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50450 r=`${PWD_COMMAND}`; export r; \
50451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50452 $(NORMAL_TARGET_EXPORTS) \
50453 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
50454 for flag in $(EXTRA_TARGET_FLAGS); do \
50455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50456 done; \
50457 (cd $(TARGET_SUBDIR)/libgloss && \
50458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50460 "RANLIB=$${RANLIB}" \
50461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50462 mostlyclean) \
50463 || exit 1
50465 @endif target-libgloss
50467 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
50468 maybe-clean-target-libgloss:
50469 @if target-libgloss
50470 maybe-clean-target-libgloss: clean-target-libgloss
50472 clean-target-libgloss:
50473 @: $(MAKE); $(unstage)
50474 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50475 r=`${PWD_COMMAND}`; export r; \
50476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50477 $(NORMAL_TARGET_EXPORTS) \
50478 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
50479 for flag in $(EXTRA_TARGET_FLAGS); do \
50480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50481 done; \
50482 (cd $(TARGET_SUBDIR)/libgloss && \
50483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50485 "RANLIB=$${RANLIB}" \
50486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50487 clean) \
50488 || exit 1
50490 @endif target-libgloss
50492 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
50493 maybe-distclean-target-libgloss:
50494 @if target-libgloss
50495 maybe-distclean-target-libgloss: distclean-target-libgloss
50497 distclean-target-libgloss:
50498 @: $(MAKE); $(unstage)
50499 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50500 r=`${PWD_COMMAND}`; export r; \
50501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50502 $(NORMAL_TARGET_EXPORTS) \
50503 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
50504 for flag in $(EXTRA_TARGET_FLAGS); do \
50505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50506 done; \
50507 (cd $(TARGET_SUBDIR)/libgloss && \
50508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50510 "RANLIB=$${RANLIB}" \
50511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50512 distclean) \
50513 || exit 1
50515 @endif target-libgloss
50517 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
50518 maybe-maintainer-clean-target-libgloss:
50519 @if target-libgloss
50520 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
50522 maintainer-clean-target-libgloss:
50523 @: $(MAKE); $(unstage)
50524 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50525 r=`${PWD_COMMAND}`; export r; \
50526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50527 $(NORMAL_TARGET_EXPORTS) \
50528 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
50529 for flag in $(EXTRA_TARGET_FLAGS); do \
50530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50531 done; \
50532 (cd $(TARGET_SUBDIR)/libgloss && \
50533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50535 "RANLIB=$${RANLIB}" \
50536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50537 maintainer-clean) \
50538 || exit 1
50540 @endif target-libgloss
50546 .PHONY: configure-target-libffi maybe-configure-target-libffi
50547 maybe-configure-target-libffi:
50548 @if gcc-bootstrap
50549 configure-target-libffi: stage_current
50550 @endif gcc-bootstrap
50551 @if target-libffi
50552 maybe-configure-target-libffi: configure-target-libffi
50553 configure-target-libffi:
50554 @: $(MAKE); $(unstage)
50555 @r=`${PWD_COMMAND}`; export r; \
50556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50557 echo "Checking multilib configuration for libffi..."; \
50558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
50560 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
50561 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
50562 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
50563 else \
50564 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
50565 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50566 fi; \
50567 else \
50568 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50569 fi; \
50570 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
50571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50572 $(NORMAL_TARGET_EXPORTS) \
50573 echo Configuring in $(TARGET_SUBDIR)/libffi; \
50574 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
50575 case $(srcdir) in \
50576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50577 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
50578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50579 esac; \
50580 module_srcdir=libffi; \
50581 rm -f no-such-file || : ; \
50582 CONFIG_SITE=no-such-file $(SHELL) \
50583 $$s/$$module_srcdir/configure \
50584 --srcdir=$${topdir}/$$module_srcdir \
50585 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50586 --target=${target_alias} \
50587 || exit 1
50588 @endif target-libffi
50594 .PHONY: all-target-libffi maybe-all-target-libffi
50595 maybe-all-target-libffi:
50596 @if gcc-bootstrap
50597 all-target-libffi: stage_current
50598 @endif gcc-bootstrap
50599 @if target-libffi
50600 TARGET-target-libffi=all
50601 maybe-all-target-libffi: all-target-libffi
50602 all-target-libffi: configure-target-libffi
50603 @: $(MAKE); $(unstage)
50604 @r=`${PWD_COMMAND}`; export r; \
50605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50606 $(NORMAL_TARGET_EXPORTS) \
50607 (cd $(TARGET_SUBDIR)/libffi && \
50608 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50609 $(TARGET-target-libffi))
50610 @endif target-libffi
50616 .PHONY: check-target-libffi maybe-check-target-libffi
50617 maybe-check-target-libffi:
50618 @if target-libffi
50619 maybe-check-target-libffi: check-target-libffi
50621 check-target-libffi:
50622 @: $(MAKE); $(unstage)
50623 @r=`${PWD_COMMAND}`; export r; \
50624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50625 $(NORMAL_TARGET_EXPORTS) \
50626 (cd $(TARGET_SUBDIR)/libffi && \
50627 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50629 @endif target-libffi
50631 .PHONY: install-target-libffi maybe-install-target-libffi
50632 maybe-install-target-libffi:
50633 @if target-libffi
50634 maybe-install-target-libffi: install-target-libffi
50636 # Dummy target for uninstallable.
50637 install-target-libffi:
50639 @endif target-libffi
50641 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
50642 maybe-install-strip-target-libffi:
50643 @if target-libffi
50644 maybe-install-strip-target-libffi: install-strip-target-libffi
50646 # Dummy target for uninstallable.
50647 install-strip-target-libffi:
50649 @endif target-libffi
50651 # Other targets (info, dvi, pdf, etc.)
50653 .PHONY: maybe-info-target-libffi info-target-libffi
50654 maybe-info-target-libffi:
50655 @if target-libffi
50656 maybe-info-target-libffi: info-target-libffi
50658 info-target-libffi: \
50659 configure-target-libffi
50660 @: $(MAKE); $(unstage)
50661 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50662 r=`${PWD_COMMAND}`; export r; \
50663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50664 $(NORMAL_TARGET_EXPORTS) \
50665 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
50666 for flag in $(EXTRA_TARGET_FLAGS); do \
50667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50668 done; \
50669 (cd $(TARGET_SUBDIR)/libffi && \
50670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50672 "RANLIB=$${RANLIB}" \
50673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50674 info) \
50675 || exit 1
50677 @endif target-libffi
50679 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
50680 maybe-dvi-target-libffi:
50681 @if target-libffi
50682 maybe-dvi-target-libffi: dvi-target-libffi
50684 dvi-target-libffi: \
50685 configure-target-libffi
50686 @: $(MAKE); $(unstage)
50687 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50688 r=`${PWD_COMMAND}`; export r; \
50689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50690 $(NORMAL_TARGET_EXPORTS) \
50691 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
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)/libffi && \
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 dvi) \
50701 || exit 1
50703 @endif target-libffi
50705 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
50706 maybe-pdf-target-libffi:
50707 @if target-libffi
50708 maybe-pdf-target-libffi: pdf-target-libffi
50710 pdf-target-libffi: \
50711 configure-target-libffi
50712 @: $(MAKE); $(unstage)
50713 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50714 r=`${PWD_COMMAND}`; export r; \
50715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50716 $(NORMAL_TARGET_EXPORTS) \
50717 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
50718 for flag in $(EXTRA_TARGET_FLAGS); do \
50719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50720 done; \
50721 (cd $(TARGET_SUBDIR)/libffi && \
50722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50724 "RANLIB=$${RANLIB}" \
50725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50726 pdf) \
50727 || exit 1
50729 @endif target-libffi
50731 .PHONY: maybe-html-target-libffi html-target-libffi
50732 maybe-html-target-libffi:
50733 @if target-libffi
50734 maybe-html-target-libffi: html-target-libffi
50736 html-target-libffi: \
50737 configure-target-libffi
50738 @: $(MAKE); $(unstage)
50739 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50740 r=`${PWD_COMMAND}`; export r; \
50741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50742 $(NORMAL_TARGET_EXPORTS) \
50743 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
50744 for flag in $(EXTRA_TARGET_FLAGS); do \
50745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50746 done; \
50747 (cd $(TARGET_SUBDIR)/libffi && \
50748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50750 "RANLIB=$${RANLIB}" \
50751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50752 html) \
50753 || exit 1
50755 @endif target-libffi
50757 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
50758 maybe-TAGS-target-libffi:
50759 @if target-libffi
50760 maybe-TAGS-target-libffi: TAGS-target-libffi
50762 TAGS-target-libffi: \
50763 configure-target-libffi
50764 @: $(MAKE); $(unstage)
50765 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50766 r=`${PWD_COMMAND}`; export r; \
50767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50768 $(NORMAL_TARGET_EXPORTS) \
50769 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
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)/libffi && \
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 TAGS) \
50779 || exit 1
50781 @endif target-libffi
50783 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
50784 maybe-install-info-target-libffi:
50785 @if target-libffi
50786 maybe-install-info-target-libffi: install-info-target-libffi
50788 install-info-target-libffi: \
50789 configure-target-libffi \
50790 info-target-libffi
50791 @: $(MAKE); $(unstage)
50792 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50793 r=`${PWD_COMMAND}`; export r; \
50794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50795 $(NORMAL_TARGET_EXPORTS) \
50796 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
50797 for flag in $(EXTRA_TARGET_FLAGS); do \
50798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50799 done; \
50800 (cd $(TARGET_SUBDIR)/libffi && \
50801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50803 "RANLIB=$${RANLIB}" \
50804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50805 install-info) \
50806 || exit 1
50808 @endif target-libffi
50810 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
50811 maybe-install-pdf-target-libffi:
50812 @if target-libffi
50813 maybe-install-pdf-target-libffi: install-pdf-target-libffi
50815 install-pdf-target-libffi: \
50816 configure-target-libffi \
50817 pdf-target-libffi
50818 @: $(MAKE); $(unstage)
50819 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50820 r=`${PWD_COMMAND}`; export r; \
50821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50822 $(NORMAL_TARGET_EXPORTS) \
50823 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
50824 for flag in $(EXTRA_TARGET_FLAGS); do \
50825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50826 done; \
50827 (cd $(TARGET_SUBDIR)/libffi && \
50828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50830 "RANLIB=$${RANLIB}" \
50831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50832 install-pdf) \
50833 || exit 1
50835 @endif target-libffi
50837 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
50838 maybe-install-html-target-libffi:
50839 @if target-libffi
50840 maybe-install-html-target-libffi: install-html-target-libffi
50842 install-html-target-libffi: \
50843 configure-target-libffi \
50844 html-target-libffi
50845 @: $(MAKE); $(unstage)
50846 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50847 r=`${PWD_COMMAND}`; export r; \
50848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50849 $(NORMAL_TARGET_EXPORTS) \
50850 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
50851 for flag in $(EXTRA_TARGET_FLAGS); do \
50852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50853 done; \
50854 (cd $(TARGET_SUBDIR)/libffi && \
50855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50857 "RANLIB=$${RANLIB}" \
50858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50859 install-html) \
50860 || exit 1
50862 @endif target-libffi
50864 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
50865 maybe-installcheck-target-libffi:
50866 @if target-libffi
50867 maybe-installcheck-target-libffi: installcheck-target-libffi
50869 installcheck-target-libffi: \
50870 configure-target-libffi
50871 @: $(MAKE); $(unstage)
50872 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50873 r=`${PWD_COMMAND}`; export r; \
50874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50875 $(NORMAL_TARGET_EXPORTS) \
50876 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
50877 for flag in $(EXTRA_TARGET_FLAGS); do \
50878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50879 done; \
50880 (cd $(TARGET_SUBDIR)/libffi && \
50881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50883 "RANLIB=$${RANLIB}" \
50884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50885 installcheck) \
50886 || exit 1
50888 @endif target-libffi
50890 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
50891 maybe-mostlyclean-target-libffi:
50892 @if target-libffi
50893 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
50895 mostlyclean-target-libffi:
50896 @: $(MAKE); $(unstage)
50897 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50898 r=`${PWD_COMMAND}`; export r; \
50899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50900 $(NORMAL_TARGET_EXPORTS) \
50901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
50902 for flag in $(EXTRA_TARGET_FLAGS); do \
50903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50904 done; \
50905 (cd $(TARGET_SUBDIR)/libffi && \
50906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50908 "RANLIB=$${RANLIB}" \
50909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50910 mostlyclean) \
50911 || exit 1
50913 @endif target-libffi
50915 .PHONY: maybe-clean-target-libffi clean-target-libffi
50916 maybe-clean-target-libffi:
50917 @if target-libffi
50918 maybe-clean-target-libffi: clean-target-libffi
50920 clean-target-libffi:
50921 @: $(MAKE); $(unstage)
50922 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50923 r=`${PWD_COMMAND}`; export r; \
50924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50925 $(NORMAL_TARGET_EXPORTS) \
50926 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
50927 for flag in $(EXTRA_TARGET_FLAGS); do \
50928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50929 done; \
50930 (cd $(TARGET_SUBDIR)/libffi && \
50931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50933 "RANLIB=$${RANLIB}" \
50934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50935 clean) \
50936 || exit 1
50938 @endif target-libffi
50940 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
50941 maybe-distclean-target-libffi:
50942 @if target-libffi
50943 maybe-distclean-target-libffi: distclean-target-libffi
50945 distclean-target-libffi:
50946 @: $(MAKE); $(unstage)
50947 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50948 r=`${PWD_COMMAND}`; export r; \
50949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50950 $(NORMAL_TARGET_EXPORTS) \
50951 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
50952 for flag in $(EXTRA_TARGET_FLAGS); do \
50953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50954 done; \
50955 (cd $(TARGET_SUBDIR)/libffi && \
50956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50958 "RANLIB=$${RANLIB}" \
50959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50960 distclean) \
50961 || exit 1
50963 @endif target-libffi
50965 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
50966 maybe-maintainer-clean-target-libffi:
50967 @if target-libffi
50968 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
50970 maintainer-clean-target-libffi:
50971 @: $(MAKE); $(unstage)
50972 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50973 r=`${PWD_COMMAND}`; export r; \
50974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50975 $(NORMAL_TARGET_EXPORTS) \
50976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
50977 for flag in $(EXTRA_TARGET_FLAGS); do \
50978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50979 done; \
50980 (cd $(TARGET_SUBDIR)/libffi && \
50981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50983 "RANLIB=$${RANLIB}" \
50984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50985 maintainer-clean) \
50986 || exit 1
50988 @endif target-libffi
50994 .PHONY: configure-target-zlib maybe-configure-target-zlib
50995 maybe-configure-target-zlib:
50996 @if gcc-bootstrap
50997 configure-target-zlib: stage_current
50998 @endif gcc-bootstrap
50999 @if target-zlib
51000 maybe-configure-target-zlib: configure-target-zlib
51001 configure-target-zlib:
51002 @: $(MAKE); $(unstage)
51003 @r=`${PWD_COMMAND}`; export r; \
51004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51005 echo "Checking multilib configuration for zlib..."; \
51006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
51008 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
51009 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
51010 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
51011 else \
51012 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
51013 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51014 fi; \
51015 else \
51016 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51017 fi; \
51018 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
51019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51020 $(NORMAL_TARGET_EXPORTS) \
51021 echo Configuring in $(TARGET_SUBDIR)/zlib; \
51022 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
51023 case $(srcdir) in \
51024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51025 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
51026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51027 esac; \
51028 module_srcdir=zlib; \
51029 rm -f no-such-file || : ; \
51030 CONFIG_SITE=no-such-file $(SHELL) \
51031 $$s/$$module_srcdir/configure \
51032 --srcdir=$${topdir}/$$module_srcdir \
51033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51034 --target=${target_alias} \
51035 || exit 1
51036 @endif target-zlib
51042 .PHONY: all-target-zlib maybe-all-target-zlib
51043 maybe-all-target-zlib:
51044 @if gcc-bootstrap
51045 all-target-zlib: stage_current
51046 @endif gcc-bootstrap
51047 @if target-zlib
51048 TARGET-target-zlib=all
51049 maybe-all-target-zlib: all-target-zlib
51050 all-target-zlib: configure-target-zlib
51051 @: $(MAKE); $(unstage)
51052 @r=`${PWD_COMMAND}`; export r; \
51053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51054 $(NORMAL_TARGET_EXPORTS) \
51055 (cd $(TARGET_SUBDIR)/zlib && \
51056 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51057 $(TARGET-target-zlib))
51058 @endif target-zlib
51064 .PHONY: check-target-zlib maybe-check-target-zlib
51065 maybe-check-target-zlib:
51066 @if target-zlib
51067 maybe-check-target-zlib: check-target-zlib
51069 check-target-zlib:
51070 @: $(MAKE); $(unstage)
51071 @r=`${PWD_COMMAND}`; export r; \
51072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51073 $(NORMAL_TARGET_EXPORTS) \
51074 (cd $(TARGET_SUBDIR)/zlib && \
51075 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51077 @endif target-zlib
51079 .PHONY: install-target-zlib maybe-install-target-zlib
51080 maybe-install-target-zlib:
51081 @if target-zlib
51082 maybe-install-target-zlib: install-target-zlib
51084 install-target-zlib: installdirs
51085 @: $(MAKE); $(unstage)
51086 @r=`${PWD_COMMAND}`; export r; \
51087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51088 $(NORMAL_TARGET_EXPORTS) \
51089 (cd $(TARGET_SUBDIR)/zlib && \
51090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51092 @endif target-zlib
51094 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
51095 maybe-install-strip-target-zlib:
51096 @if target-zlib
51097 maybe-install-strip-target-zlib: install-strip-target-zlib
51099 install-strip-target-zlib: installdirs
51100 @: $(MAKE); $(unstage)
51101 @r=`${PWD_COMMAND}`; export r; \
51102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51103 $(NORMAL_TARGET_EXPORTS) \
51104 (cd $(TARGET_SUBDIR)/zlib && \
51105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51107 @endif target-zlib
51109 # Other targets (info, dvi, pdf, etc.)
51111 .PHONY: maybe-info-target-zlib info-target-zlib
51112 maybe-info-target-zlib:
51113 @if target-zlib
51114 maybe-info-target-zlib: info-target-zlib
51116 info-target-zlib: \
51117 configure-target-zlib
51118 @: $(MAKE); $(unstage)
51119 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51120 r=`${PWD_COMMAND}`; export r; \
51121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51122 $(NORMAL_TARGET_EXPORTS) \
51123 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
51124 for flag in $(EXTRA_TARGET_FLAGS); do \
51125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51126 done; \
51127 (cd $(TARGET_SUBDIR)/zlib && \
51128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51130 "RANLIB=$${RANLIB}" \
51131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51132 info) \
51133 || exit 1
51135 @endif target-zlib
51137 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
51138 maybe-dvi-target-zlib:
51139 @if target-zlib
51140 maybe-dvi-target-zlib: dvi-target-zlib
51142 dvi-target-zlib: \
51143 configure-target-zlib
51144 @: $(MAKE); $(unstage)
51145 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51146 r=`${PWD_COMMAND}`; export r; \
51147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51148 $(NORMAL_TARGET_EXPORTS) \
51149 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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 dvi) \
51159 || exit 1
51161 @endif target-zlib
51163 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
51164 maybe-pdf-target-zlib:
51165 @if target-zlib
51166 maybe-pdf-target-zlib: pdf-target-zlib
51168 pdf-target-zlib: \
51169 configure-target-zlib
51170 @: $(MAKE); $(unstage)
51171 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51172 r=`${PWD_COMMAND}`; export r; \
51173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51174 $(NORMAL_TARGET_EXPORTS) \
51175 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
51176 for flag in $(EXTRA_TARGET_FLAGS); do \
51177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51178 done; \
51179 (cd $(TARGET_SUBDIR)/zlib && \
51180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51182 "RANLIB=$${RANLIB}" \
51183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51184 pdf) \
51185 || exit 1
51187 @endif target-zlib
51189 .PHONY: maybe-html-target-zlib html-target-zlib
51190 maybe-html-target-zlib:
51191 @if target-zlib
51192 maybe-html-target-zlib: html-target-zlib
51194 html-target-zlib: \
51195 configure-target-zlib
51196 @: $(MAKE); $(unstage)
51197 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51198 r=`${PWD_COMMAND}`; export r; \
51199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51200 $(NORMAL_TARGET_EXPORTS) \
51201 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
51202 for flag in $(EXTRA_TARGET_FLAGS); do \
51203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51204 done; \
51205 (cd $(TARGET_SUBDIR)/zlib && \
51206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51208 "RANLIB=$${RANLIB}" \
51209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51210 html) \
51211 || exit 1
51213 @endif target-zlib
51215 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
51216 maybe-TAGS-target-zlib:
51217 @if target-zlib
51218 maybe-TAGS-target-zlib: TAGS-target-zlib
51220 TAGS-target-zlib: \
51221 configure-target-zlib
51222 @: $(MAKE); $(unstage)
51223 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51224 r=`${PWD_COMMAND}`; export r; \
51225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51226 $(NORMAL_TARGET_EXPORTS) \
51227 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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 TAGS) \
51237 || exit 1
51239 @endif target-zlib
51241 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
51242 maybe-install-info-target-zlib:
51243 @if target-zlib
51244 maybe-install-info-target-zlib: install-info-target-zlib
51246 install-info-target-zlib: \
51247 configure-target-zlib \
51248 info-target-zlib
51249 @: $(MAKE); $(unstage)
51250 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51251 r=`${PWD_COMMAND}`; export r; \
51252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51253 $(NORMAL_TARGET_EXPORTS) \
51254 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
51255 for flag in $(EXTRA_TARGET_FLAGS); do \
51256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51257 done; \
51258 (cd $(TARGET_SUBDIR)/zlib && \
51259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51261 "RANLIB=$${RANLIB}" \
51262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51263 install-info) \
51264 || exit 1
51266 @endif target-zlib
51268 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
51269 maybe-install-pdf-target-zlib:
51270 @if target-zlib
51271 maybe-install-pdf-target-zlib: install-pdf-target-zlib
51273 install-pdf-target-zlib: \
51274 configure-target-zlib \
51275 pdf-target-zlib
51276 @: $(MAKE); $(unstage)
51277 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51278 r=`${PWD_COMMAND}`; export r; \
51279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51280 $(NORMAL_TARGET_EXPORTS) \
51281 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
51282 for flag in $(EXTRA_TARGET_FLAGS); do \
51283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51284 done; \
51285 (cd $(TARGET_SUBDIR)/zlib && \
51286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51288 "RANLIB=$${RANLIB}" \
51289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51290 install-pdf) \
51291 || exit 1
51293 @endif target-zlib
51295 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
51296 maybe-install-html-target-zlib:
51297 @if target-zlib
51298 maybe-install-html-target-zlib: install-html-target-zlib
51300 install-html-target-zlib: \
51301 configure-target-zlib \
51302 html-target-zlib
51303 @: $(MAKE); $(unstage)
51304 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51305 r=`${PWD_COMMAND}`; export r; \
51306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51307 $(NORMAL_TARGET_EXPORTS) \
51308 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
51309 for flag in $(EXTRA_TARGET_FLAGS); do \
51310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51311 done; \
51312 (cd $(TARGET_SUBDIR)/zlib && \
51313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51315 "RANLIB=$${RANLIB}" \
51316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51317 install-html) \
51318 || exit 1
51320 @endif target-zlib
51322 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
51323 maybe-installcheck-target-zlib:
51324 @if target-zlib
51325 maybe-installcheck-target-zlib: installcheck-target-zlib
51327 installcheck-target-zlib: \
51328 configure-target-zlib
51329 @: $(MAKE); $(unstage)
51330 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51331 r=`${PWD_COMMAND}`; export r; \
51332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51333 $(NORMAL_TARGET_EXPORTS) \
51334 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
51335 for flag in $(EXTRA_TARGET_FLAGS); do \
51336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51337 done; \
51338 (cd $(TARGET_SUBDIR)/zlib && \
51339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51341 "RANLIB=$${RANLIB}" \
51342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51343 installcheck) \
51344 || exit 1
51346 @endif target-zlib
51348 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
51349 maybe-mostlyclean-target-zlib:
51350 @if target-zlib
51351 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
51353 mostlyclean-target-zlib:
51354 @: $(MAKE); $(unstage)
51355 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51356 r=`${PWD_COMMAND}`; export r; \
51357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51358 $(NORMAL_TARGET_EXPORTS) \
51359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
51360 for flag in $(EXTRA_TARGET_FLAGS); do \
51361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51362 done; \
51363 (cd $(TARGET_SUBDIR)/zlib && \
51364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51366 "RANLIB=$${RANLIB}" \
51367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51368 mostlyclean) \
51369 || exit 1
51371 @endif target-zlib
51373 .PHONY: maybe-clean-target-zlib clean-target-zlib
51374 maybe-clean-target-zlib:
51375 @if target-zlib
51376 maybe-clean-target-zlib: clean-target-zlib
51378 clean-target-zlib:
51379 @: $(MAKE); $(unstage)
51380 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51381 r=`${PWD_COMMAND}`; export r; \
51382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51383 $(NORMAL_TARGET_EXPORTS) \
51384 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
51385 for flag in $(EXTRA_TARGET_FLAGS); do \
51386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51387 done; \
51388 (cd $(TARGET_SUBDIR)/zlib && \
51389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51391 "RANLIB=$${RANLIB}" \
51392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51393 clean) \
51394 || exit 1
51396 @endif target-zlib
51398 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
51399 maybe-distclean-target-zlib:
51400 @if target-zlib
51401 maybe-distclean-target-zlib: distclean-target-zlib
51403 distclean-target-zlib:
51404 @: $(MAKE); $(unstage)
51405 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51406 r=`${PWD_COMMAND}`; export r; \
51407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51408 $(NORMAL_TARGET_EXPORTS) \
51409 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
51410 for flag in $(EXTRA_TARGET_FLAGS); do \
51411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51412 done; \
51413 (cd $(TARGET_SUBDIR)/zlib && \
51414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51416 "RANLIB=$${RANLIB}" \
51417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51418 distclean) \
51419 || exit 1
51421 @endif target-zlib
51423 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
51424 maybe-maintainer-clean-target-zlib:
51425 @if target-zlib
51426 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
51428 maintainer-clean-target-zlib:
51429 @: $(MAKE); $(unstage)
51430 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51431 r=`${PWD_COMMAND}`; export r; \
51432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51433 $(NORMAL_TARGET_EXPORTS) \
51434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
51435 for flag in $(EXTRA_TARGET_FLAGS); do \
51436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51437 done; \
51438 (cd $(TARGET_SUBDIR)/zlib && \
51439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51441 "RANLIB=$${RANLIB}" \
51442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51443 maintainer-clean) \
51444 || exit 1
51446 @endif target-zlib
51452 .PHONY: configure-target-rda maybe-configure-target-rda
51453 maybe-configure-target-rda:
51454 @if gcc-bootstrap
51455 configure-target-rda: stage_current
51456 @endif gcc-bootstrap
51457 @if target-rda
51458 maybe-configure-target-rda: configure-target-rda
51459 configure-target-rda:
51460 @: $(MAKE); $(unstage)
51461 @r=`${PWD_COMMAND}`; export r; \
51462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51463 echo "Checking multilib configuration for rda..."; \
51464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
51466 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
51467 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
51468 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
51469 else \
51470 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
51471 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51472 fi; \
51473 else \
51474 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51475 fi; \
51476 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
51477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51478 $(NORMAL_TARGET_EXPORTS) \
51479 echo Configuring in $(TARGET_SUBDIR)/rda; \
51480 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
51481 case $(srcdir) in \
51482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51483 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
51484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51485 esac; \
51486 module_srcdir=rda; \
51487 rm -f no-such-file || : ; \
51488 CONFIG_SITE=no-such-file $(SHELL) \
51489 $$s/$$module_srcdir/configure \
51490 --srcdir=$${topdir}/$$module_srcdir \
51491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51492 --target=${target_alias} \
51493 || exit 1
51494 @endif target-rda
51500 .PHONY: all-target-rda maybe-all-target-rda
51501 maybe-all-target-rda:
51502 @if gcc-bootstrap
51503 all-target-rda: stage_current
51504 @endif gcc-bootstrap
51505 @if target-rda
51506 TARGET-target-rda=all
51507 maybe-all-target-rda: all-target-rda
51508 all-target-rda: configure-target-rda
51509 @: $(MAKE); $(unstage)
51510 @r=`${PWD_COMMAND}`; export r; \
51511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51512 $(NORMAL_TARGET_EXPORTS) \
51513 (cd $(TARGET_SUBDIR)/rda && \
51514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51515 $(TARGET-target-rda))
51516 @endif target-rda
51522 .PHONY: check-target-rda maybe-check-target-rda
51523 maybe-check-target-rda:
51524 @if target-rda
51525 maybe-check-target-rda: check-target-rda
51527 check-target-rda:
51528 @: $(MAKE); $(unstage)
51529 @r=`${PWD_COMMAND}`; export r; \
51530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51531 $(NORMAL_TARGET_EXPORTS) \
51532 (cd $(TARGET_SUBDIR)/rda && \
51533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51535 @endif target-rda
51537 .PHONY: install-target-rda maybe-install-target-rda
51538 maybe-install-target-rda:
51539 @if target-rda
51540 maybe-install-target-rda: install-target-rda
51542 install-target-rda: installdirs
51543 @: $(MAKE); $(unstage)
51544 @r=`${PWD_COMMAND}`; export r; \
51545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51546 $(NORMAL_TARGET_EXPORTS) \
51547 (cd $(TARGET_SUBDIR)/rda && \
51548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51550 @endif target-rda
51552 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
51553 maybe-install-strip-target-rda:
51554 @if target-rda
51555 maybe-install-strip-target-rda: install-strip-target-rda
51557 install-strip-target-rda: installdirs
51558 @: $(MAKE); $(unstage)
51559 @r=`${PWD_COMMAND}`; export r; \
51560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51561 $(NORMAL_TARGET_EXPORTS) \
51562 (cd $(TARGET_SUBDIR)/rda && \
51563 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51565 @endif target-rda
51567 # Other targets (info, dvi, pdf, etc.)
51569 .PHONY: maybe-info-target-rda info-target-rda
51570 maybe-info-target-rda:
51571 @if target-rda
51572 maybe-info-target-rda: info-target-rda
51574 info-target-rda: \
51575 configure-target-rda
51576 @: $(MAKE); $(unstage)
51577 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51578 r=`${PWD_COMMAND}`; export r; \
51579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51580 $(NORMAL_TARGET_EXPORTS) \
51581 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
51582 for flag in $(EXTRA_TARGET_FLAGS); do \
51583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51584 done; \
51585 (cd $(TARGET_SUBDIR)/rda && \
51586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51588 "RANLIB=$${RANLIB}" \
51589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51590 info) \
51591 || exit 1
51593 @endif target-rda
51595 .PHONY: maybe-dvi-target-rda dvi-target-rda
51596 maybe-dvi-target-rda:
51597 @if target-rda
51598 maybe-dvi-target-rda: dvi-target-rda
51600 dvi-target-rda: \
51601 configure-target-rda
51602 @: $(MAKE); $(unstage)
51603 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51604 r=`${PWD_COMMAND}`; export r; \
51605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51606 $(NORMAL_TARGET_EXPORTS) \
51607 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 dvi) \
51617 || exit 1
51619 @endif target-rda
51621 .PHONY: maybe-pdf-target-rda pdf-target-rda
51622 maybe-pdf-target-rda:
51623 @if target-rda
51624 maybe-pdf-target-rda: pdf-target-rda
51626 pdf-target-rda: \
51627 configure-target-rda
51628 @: $(MAKE); $(unstage)
51629 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51630 r=`${PWD_COMMAND}`; export r; \
51631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51632 $(NORMAL_TARGET_EXPORTS) \
51633 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
51634 for flag in $(EXTRA_TARGET_FLAGS); do \
51635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51636 done; \
51637 (cd $(TARGET_SUBDIR)/rda && \
51638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51640 "RANLIB=$${RANLIB}" \
51641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51642 pdf) \
51643 || exit 1
51645 @endif target-rda
51647 .PHONY: maybe-html-target-rda html-target-rda
51648 maybe-html-target-rda:
51649 @if target-rda
51650 maybe-html-target-rda: html-target-rda
51652 html-target-rda: \
51653 configure-target-rda
51654 @: $(MAKE); $(unstage)
51655 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51656 r=`${PWD_COMMAND}`; export r; \
51657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51658 $(NORMAL_TARGET_EXPORTS) \
51659 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
51660 for flag in $(EXTRA_TARGET_FLAGS); do \
51661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51662 done; \
51663 (cd $(TARGET_SUBDIR)/rda && \
51664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51666 "RANLIB=$${RANLIB}" \
51667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51668 html) \
51669 || exit 1
51671 @endif target-rda
51673 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51674 maybe-TAGS-target-rda:
51675 @if target-rda
51676 maybe-TAGS-target-rda: TAGS-target-rda
51678 TAGS-target-rda: \
51679 configure-target-rda
51680 @: $(MAKE); $(unstage)
51681 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51682 r=`${PWD_COMMAND}`; export r; \
51683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51684 $(NORMAL_TARGET_EXPORTS) \
51685 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 TAGS) \
51695 || exit 1
51697 @endif target-rda
51699 .PHONY: maybe-install-info-target-rda install-info-target-rda
51700 maybe-install-info-target-rda:
51701 @if target-rda
51702 maybe-install-info-target-rda: install-info-target-rda
51704 install-info-target-rda: \
51705 configure-target-rda \
51706 info-target-rda
51707 @: $(MAKE); $(unstage)
51708 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51709 r=`${PWD_COMMAND}`; export r; \
51710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51711 $(NORMAL_TARGET_EXPORTS) \
51712 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
51713 for flag in $(EXTRA_TARGET_FLAGS); do \
51714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51715 done; \
51716 (cd $(TARGET_SUBDIR)/rda && \
51717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51719 "RANLIB=$${RANLIB}" \
51720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51721 install-info) \
51722 || exit 1
51724 @endif target-rda
51726 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51727 maybe-install-pdf-target-rda:
51728 @if target-rda
51729 maybe-install-pdf-target-rda: install-pdf-target-rda
51731 install-pdf-target-rda: \
51732 configure-target-rda \
51733 pdf-target-rda
51734 @: $(MAKE); $(unstage)
51735 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51736 r=`${PWD_COMMAND}`; export r; \
51737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51738 $(NORMAL_TARGET_EXPORTS) \
51739 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
51740 for flag in $(EXTRA_TARGET_FLAGS); do \
51741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51742 done; \
51743 (cd $(TARGET_SUBDIR)/rda && \
51744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51746 "RANLIB=$${RANLIB}" \
51747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51748 install-pdf) \
51749 || exit 1
51751 @endif target-rda
51753 .PHONY: maybe-install-html-target-rda install-html-target-rda
51754 maybe-install-html-target-rda:
51755 @if target-rda
51756 maybe-install-html-target-rda: install-html-target-rda
51758 install-html-target-rda: \
51759 configure-target-rda \
51760 html-target-rda
51761 @: $(MAKE); $(unstage)
51762 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51763 r=`${PWD_COMMAND}`; export r; \
51764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51765 $(NORMAL_TARGET_EXPORTS) \
51766 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
51767 for flag in $(EXTRA_TARGET_FLAGS); do \
51768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51769 done; \
51770 (cd $(TARGET_SUBDIR)/rda && \
51771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51773 "RANLIB=$${RANLIB}" \
51774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51775 install-html) \
51776 || exit 1
51778 @endif target-rda
51780 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51781 maybe-installcheck-target-rda:
51782 @if target-rda
51783 maybe-installcheck-target-rda: installcheck-target-rda
51785 installcheck-target-rda: \
51786 configure-target-rda
51787 @: $(MAKE); $(unstage)
51788 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51789 r=`${PWD_COMMAND}`; export r; \
51790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51791 $(NORMAL_TARGET_EXPORTS) \
51792 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
51793 for flag in $(EXTRA_TARGET_FLAGS); do \
51794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51795 done; \
51796 (cd $(TARGET_SUBDIR)/rda && \
51797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51799 "RANLIB=$${RANLIB}" \
51800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51801 installcheck) \
51802 || exit 1
51804 @endif target-rda
51806 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51807 maybe-mostlyclean-target-rda:
51808 @if target-rda
51809 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51811 mostlyclean-target-rda:
51812 @: $(MAKE); $(unstage)
51813 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51814 r=`${PWD_COMMAND}`; export r; \
51815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51816 $(NORMAL_TARGET_EXPORTS) \
51817 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
51818 for flag in $(EXTRA_TARGET_FLAGS); do \
51819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51820 done; \
51821 (cd $(TARGET_SUBDIR)/rda && \
51822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51824 "RANLIB=$${RANLIB}" \
51825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51826 mostlyclean) \
51827 || exit 1
51829 @endif target-rda
51831 .PHONY: maybe-clean-target-rda clean-target-rda
51832 maybe-clean-target-rda:
51833 @if target-rda
51834 maybe-clean-target-rda: clean-target-rda
51836 clean-target-rda:
51837 @: $(MAKE); $(unstage)
51838 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51839 r=`${PWD_COMMAND}`; export r; \
51840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51841 $(NORMAL_TARGET_EXPORTS) \
51842 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
51843 for flag in $(EXTRA_TARGET_FLAGS); do \
51844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51845 done; \
51846 (cd $(TARGET_SUBDIR)/rda && \
51847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51849 "RANLIB=$${RANLIB}" \
51850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51851 clean) \
51852 || exit 1
51854 @endif target-rda
51856 .PHONY: maybe-distclean-target-rda distclean-target-rda
51857 maybe-distclean-target-rda:
51858 @if target-rda
51859 maybe-distclean-target-rda: distclean-target-rda
51861 distclean-target-rda:
51862 @: $(MAKE); $(unstage)
51863 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51864 r=`${PWD_COMMAND}`; export r; \
51865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51866 $(NORMAL_TARGET_EXPORTS) \
51867 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
51868 for flag in $(EXTRA_TARGET_FLAGS); do \
51869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51870 done; \
51871 (cd $(TARGET_SUBDIR)/rda && \
51872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51874 "RANLIB=$${RANLIB}" \
51875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51876 distclean) \
51877 || exit 1
51879 @endif target-rda
51881 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51882 maybe-maintainer-clean-target-rda:
51883 @if target-rda
51884 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51886 maintainer-clean-target-rda:
51887 @: $(MAKE); $(unstage)
51888 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51889 r=`${PWD_COMMAND}`; export r; \
51890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51891 $(NORMAL_TARGET_EXPORTS) \
51892 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
51893 for flag in $(EXTRA_TARGET_FLAGS); do \
51894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51895 done; \
51896 (cd $(TARGET_SUBDIR)/rda && \
51897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51899 "RANLIB=$${RANLIB}" \
51900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51901 maintainer-clean) \
51902 || exit 1
51904 @endif target-rda
51910 .PHONY: configure-target-libada maybe-configure-target-libada
51911 maybe-configure-target-libada:
51912 @if gcc-bootstrap
51913 configure-target-libada: stage_current
51914 @endif gcc-bootstrap
51915 @if target-libada
51916 maybe-configure-target-libada: configure-target-libada
51917 configure-target-libada:
51918 @: $(MAKE); $(unstage)
51919 @r=`${PWD_COMMAND}`; export r; \
51920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51921 echo "Checking multilib configuration for libada..."; \
51922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51923 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
51924 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
51925 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
51926 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
51927 else \
51928 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
51929 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51930 fi; \
51931 else \
51932 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51933 fi; \
51934 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
51935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51936 $(NORMAL_TARGET_EXPORTS) \
51937 echo Configuring in $(TARGET_SUBDIR)/libada; \
51938 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
51939 case $(srcdir) in \
51940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51941 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
51942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51943 esac; \
51944 module_srcdir=libada; \
51945 rm -f no-such-file || : ; \
51946 CONFIG_SITE=no-such-file $(SHELL) \
51947 $$s/$$module_srcdir/configure \
51948 --srcdir=$${topdir}/$$module_srcdir \
51949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51950 --target=${target_alias} \
51951 || exit 1
51952 @endif target-libada
51958 .PHONY: all-target-libada maybe-all-target-libada
51959 maybe-all-target-libada:
51960 @if gcc-bootstrap
51961 all-target-libada: stage_current
51962 @endif gcc-bootstrap
51963 @if target-libada
51964 TARGET-target-libada=all
51965 maybe-all-target-libada: all-target-libada
51966 all-target-libada: configure-target-libada
51967 @: $(MAKE); $(unstage)
51968 @r=`${PWD_COMMAND}`; export r; \
51969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51970 $(NORMAL_TARGET_EXPORTS) \
51971 (cd $(TARGET_SUBDIR)/libada && \
51972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51973 $(TARGET-target-libada))
51974 @endif target-libada
51980 .PHONY: check-target-libada maybe-check-target-libada
51981 maybe-check-target-libada:
51982 @if target-libada
51983 maybe-check-target-libada: check-target-libada
51985 check-target-libada:
51986 @: $(MAKE); $(unstage)
51987 @r=`${PWD_COMMAND}`; export r; \
51988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51989 $(NORMAL_TARGET_EXPORTS) \
51990 (cd $(TARGET_SUBDIR)/libada && \
51991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51993 @endif target-libada
51995 .PHONY: install-target-libada maybe-install-target-libada
51996 maybe-install-target-libada:
51997 @if target-libada
51998 maybe-install-target-libada: install-target-libada
52000 install-target-libada: installdirs
52001 @: $(MAKE); $(unstage)
52002 @r=`${PWD_COMMAND}`; export r; \
52003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52004 $(NORMAL_TARGET_EXPORTS) \
52005 (cd $(TARGET_SUBDIR)/libada && \
52006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52008 @endif target-libada
52010 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
52011 maybe-install-strip-target-libada:
52012 @if target-libada
52013 maybe-install-strip-target-libada: install-strip-target-libada
52015 install-strip-target-libada: installdirs
52016 @: $(MAKE); $(unstage)
52017 @r=`${PWD_COMMAND}`; export r; \
52018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52019 $(NORMAL_TARGET_EXPORTS) \
52020 (cd $(TARGET_SUBDIR)/libada && \
52021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52023 @endif target-libada
52025 # Other targets (info, dvi, pdf, etc.)
52027 .PHONY: maybe-info-target-libada info-target-libada
52028 maybe-info-target-libada:
52029 @if target-libada
52030 maybe-info-target-libada: info-target-libada
52032 info-target-libada: \
52033 configure-target-libada
52034 @: $(MAKE); $(unstage)
52035 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52036 r=`${PWD_COMMAND}`; export r; \
52037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52038 $(NORMAL_TARGET_EXPORTS) \
52039 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
52040 for flag in $(EXTRA_TARGET_FLAGS); do \
52041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52042 done; \
52043 (cd $(TARGET_SUBDIR)/libada && \
52044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52046 "RANLIB=$${RANLIB}" \
52047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52048 info) \
52049 || exit 1
52051 @endif target-libada
52053 .PHONY: maybe-dvi-target-libada dvi-target-libada
52054 maybe-dvi-target-libada:
52055 @if target-libada
52056 maybe-dvi-target-libada: dvi-target-libada
52058 dvi-target-libada: \
52059 configure-target-libada
52060 @: $(MAKE); $(unstage)
52061 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52062 r=`${PWD_COMMAND}`; export r; \
52063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52064 $(NORMAL_TARGET_EXPORTS) \
52065 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
52066 for flag in $(EXTRA_TARGET_FLAGS); do \
52067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52068 done; \
52069 (cd $(TARGET_SUBDIR)/libada && \
52070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52072 "RANLIB=$${RANLIB}" \
52073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52074 dvi) \
52075 || exit 1
52077 @endif target-libada
52079 .PHONY: maybe-pdf-target-libada pdf-target-libada
52080 maybe-pdf-target-libada:
52081 @if target-libada
52082 maybe-pdf-target-libada: pdf-target-libada
52084 pdf-target-libada: \
52085 configure-target-libada
52086 @: $(MAKE); $(unstage)
52087 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52088 r=`${PWD_COMMAND}`; export r; \
52089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52090 $(NORMAL_TARGET_EXPORTS) \
52091 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
52092 for flag in $(EXTRA_TARGET_FLAGS); do \
52093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52094 done; \
52095 (cd $(TARGET_SUBDIR)/libada && \
52096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52098 "RANLIB=$${RANLIB}" \
52099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52100 pdf) \
52101 || exit 1
52103 @endif target-libada
52105 .PHONY: maybe-html-target-libada html-target-libada
52106 maybe-html-target-libada:
52107 @if target-libada
52108 maybe-html-target-libada: html-target-libada
52110 html-target-libada: \
52111 configure-target-libada
52112 @: $(MAKE); $(unstage)
52113 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52114 r=`${PWD_COMMAND}`; export r; \
52115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52116 $(NORMAL_TARGET_EXPORTS) \
52117 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
52118 for flag in $(EXTRA_TARGET_FLAGS); do \
52119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52120 done; \
52121 (cd $(TARGET_SUBDIR)/libada && \
52122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52124 "RANLIB=$${RANLIB}" \
52125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52126 html) \
52127 || exit 1
52129 @endif target-libada
52131 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
52132 maybe-TAGS-target-libada:
52133 @if target-libada
52134 maybe-TAGS-target-libada: TAGS-target-libada
52136 TAGS-target-libada: \
52137 configure-target-libada
52138 @: $(MAKE); $(unstage)
52139 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52140 r=`${PWD_COMMAND}`; export r; \
52141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52142 $(NORMAL_TARGET_EXPORTS) \
52143 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
52144 for flag in $(EXTRA_TARGET_FLAGS); do \
52145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52146 done; \
52147 (cd $(TARGET_SUBDIR)/libada && \
52148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52150 "RANLIB=$${RANLIB}" \
52151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52152 TAGS) \
52153 || exit 1
52155 @endif target-libada
52157 .PHONY: maybe-install-info-target-libada install-info-target-libada
52158 maybe-install-info-target-libada:
52159 @if target-libada
52160 maybe-install-info-target-libada: install-info-target-libada
52162 install-info-target-libada: \
52163 configure-target-libada \
52164 info-target-libada
52165 @: $(MAKE); $(unstage)
52166 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52167 r=`${PWD_COMMAND}`; export r; \
52168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52169 $(NORMAL_TARGET_EXPORTS) \
52170 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
52171 for flag in $(EXTRA_TARGET_FLAGS); do \
52172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52173 done; \
52174 (cd $(TARGET_SUBDIR)/libada && \
52175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52177 "RANLIB=$${RANLIB}" \
52178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52179 install-info) \
52180 || exit 1
52182 @endif target-libada
52184 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
52185 maybe-install-pdf-target-libada:
52186 @if target-libada
52187 maybe-install-pdf-target-libada: install-pdf-target-libada
52189 install-pdf-target-libada: \
52190 configure-target-libada \
52191 pdf-target-libada
52192 @: $(MAKE); $(unstage)
52193 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52194 r=`${PWD_COMMAND}`; export r; \
52195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52196 $(NORMAL_TARGET_EXPORTS) \
52197 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
52198 for flag in $(EXTRA_TARGET_FLAGS); do \
52199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52200 done; \
52201 (cd $(TARGET_SUBDIR)/libada && \
52202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52204 "RANLIB=$${RANLIB}" \
52205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52206 install-pdf) \
52207 || exit 1
52209 @endif target-libada
52211 .PHONY: maybe-install-html-target-libada install-html-target-libada
52212 maybe-install-html-target-libada:
52213 @if target-libada
52214 maybe-install-html-target-libada: install-html-target-libada
52216 install-html-target-libada: \
52217 configure-target-libada \
52218 html-target-libada
52219 @: $(MAKE); $(unstage)
52220 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52221 r=`${PWD_COMMAND}`; export r; \
52222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52223 $(NORMAL_TARGET_EXPORTS) \
52224 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
52225 for flag in $(EXTRA_TARGET_FLAGS); do \
52226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52227 done; \
52228 (cd $(TARGET_SUBDIR)/libada && \
52229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52231 "RANLIB=$${RANLIB}" \
52232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52233 install-html) \
52234 || exit 1
52236 @endif target-libada
52238 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
52239 maybe-installcheck-target-libada:
52240 @if target-libada
52241 maybe-installcheck-target-libada: installcheck-target-libada
52243 installcheck-target-libada: \
52244 configure-target-libada
52245 @: $(MAKE); $(unstage)
52246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52247 r=`${PWD_COMMAND}`; export r; \
52248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52249 $(NORMAL_TARGET_EXPORTS) \
52250 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
52251 for flag in $(EXTRA_TARGET_FLAGS); do \
52252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52253 done; \
52254 (cd $(TARGET_SUBDIR)/libada && \
52255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52257 "RANLIB=$${RANLIB}" \
52258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52259 installcheck) \
52260 || exit 1
52262 @endif target-libada
52264 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
52265 maybe-mostlyclean-target-libada:
52266 @if target-libada
52267 maybe-mostlyclean-target-libada: mostlyclean-target-libada
52269 mostlyclean-target-libada:
52270 @: $(MAKE); $(unstage)
52271 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52272 r=`${PWD_COMMAND}`; export r; \
52273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52274 $(NORMAL_TARGET_EXPORTS) \
52275 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
52276 for flag in $(EXTRA_TARGET_FLAGS); do \
52277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52278 done; \
52279 (cd $(TARGET_SUBDIR)/libada && \
52280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52282 "RANLIB=$${RANLIB}" \
52283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52284 mostlyclean) \
52285 || exit 1
52287 @endif target-libada
52289 .PHONY: maybe-clean-target-libada clean-target-libada
52290 maybe-clean-target-libada:
52291 @if target-libada
52292 maybe-clean-target-libada: clean-target-libada
52294 clean-target-libada:
52295 @: $(MAKE); $(unstage)
52296 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52297 r=`${PWD_COMMAND}`; export r; \
52298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52299 $(NORMAL_TARGET_EXPORTS) \
52300 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
52301 for flag in $(EXTRA_TARGET_FLAGS); do \
52302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52303 done; \
52304 (cd $(TARGET_SUBDIR)/libada && \
52305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52307 "RANLIB=$${RANLIB}" \
52308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52309 clean) \
52310 || exit 1
52312 @endif target-libada
52314 .PHONY: maybe-distclean-target-libada distclean-target-libada
52315 maybe-distclean-target-libada:
52316 @if target-libada
52317 maybe-distclean-target-libada: distclean-target-libada
52319 distclean-target-libada:
52320 @: $(MAKE); $(unstage)
52321 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52322 r=`${PWD_COMMAND}`; export r; \
52323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52324 $(NORMAL_TARGET_EXPORTS) \
52325 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
52326 for flag in $(EXTRA_TARGET_FLAGS); do \
52327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52328 done; \
52329 (cd $(TARGET_SUBDIR)/libada && \
52330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52332 "RANLIB=$${RANLIB}" \
52333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52334 distclean) \
52335 || exit 1
52337 @endif target-libada
52339 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
52340 maybe-maintainer-clean-target-libada:
52341 @if target-libada
52342 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
52344 maintainer-clean-target-libada:
52345 @: $(MAKE); $(unstage)
52346 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52347 r=`${PWD_COMMAND}`; export r; \
52348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52349 $(NORMAL_TARGET_EXPORTS) \
52350 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
52351 for flag in $(EXTRA_TARGET_FLAGS); do \
52352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52353 done; \
52354 (cd $(TARGET_SUBDIR)/libada && \
52355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52357 "RANLIB=$${RANLIB}" \
52358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52359 maintainer-clean) \
52360 || exit 1
52362 @endif target-libada
52368 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
52369 maybe-configure-target-libgomp:
52370 @if gcc-bootstrap
52371 configure-target-libgomp: stage_current
52372 @endif gcc-bootstrap
52373 @if target-libgomp
52374 maybe-configure-target-libgomp: configure-target-libgomp
52375 configure-target-libgomp:
52376 @r=`${PWD_COMMAND}`; export r; \
52377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52378 echo "Checking multilib configuration for libgomp..."; \
52379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52381 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52382 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52383 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52384 else \
52385 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52386 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52387 fi; \
52388 else \
52389 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52390 fi; \
52391 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52393 $(NORMAL_TARGET_EXPORTS) \
52394 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
52395 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
52396 case $(srcdir) in \
52397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52398 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52400 esac; \
52401 module_srcdir=libgomp; \
52402 rm -f no-such-file || : ; \
52403 CONFIG_SITE=no-such-file $(SHELL) \
52404 $$s/$$module_srcdir/configure \
52405 --srcdir=$${topdir}/$$module_srcdir \
52406 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52407 --target=${target_alias} \
52408 || exit 1
52409 @endif target-libgomp
52413 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
52414 maybe-configure-stage1-target-libgomp:
52415 @if target-libgomp-bootstrap
52416 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
52417 configure-stage1-target-libgomp:
52418 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52419 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52420 @r=`${PWD_COMMAND}`; export r; \
52421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52422 TFLAGS="$(STAGE1_TFLAGS)"; \
52423 echo "Checking multilib configuration for libgomp..."; \
52424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52425 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52426 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52427 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52428 else \
52429 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52430 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52431 fi; \
52432 else \
52433 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52434 fi; \
52435 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52436 $(NORMAL_TARGET_EXPORTS) \
52437 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52438 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52439 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52440 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
52441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52442 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52443 case $(srcdir) in \
52444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52445 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52447 esac; \
52448 module_srcdir=libgomp; \
52449 $(SHELL) $$s/$$module_srcdir/configure \
52450 --srcdir=$${topdir}/$$module_srcdir \
52451 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52452 --target=${target_alias} \
52454 $(STAGE1_CONFIGURE_FLAGS)
52455 @endif target-libgomp-bootstrap
52457 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
52458 maybe-configure-stage2-target-libgomp:
52459 @if target-libgomp-bootstrap
52460 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
52461 configure-stage2-target-libgomp:
52462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52463 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52464 @r=`${PWD_COMMAND}`; export r; \
52465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52466 TFLAGS="$(STAGE2_TFLAGS)"; \
52467 echo "Checking multilib configuration for libgomp..."; \
52468 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52469 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52470 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52471 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52472 else \
52473 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52474 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52475 fi; \
52476 else \
52477 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52478 fi; \
52479 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52480 $(NORMAL_TARGET_EXPORTS) \
52482 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52483 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52484 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52485 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
52486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52487 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52488 case $(srcdir) in \
52489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52490 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52492 esac; \
52493 module_srcdir=libgomp; \
52494 $(SHELL) $$s/$$module_srcdir/configure \
52495 --srcdir=$${topdir}/$$module_srcdir \
52496 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52497 --target=${target_alias} \
52498 --with-build-libsubdir=$(HOST_SUBDIR) \
52499 $(STAGE2_CONFIGURE_FLAGS)
52500 @endif target-libgomp-bootstrap
52502 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
52503 maybe-configure-stage3-target-libgomp:
52504 @if target-libgomp-bootstrap
52505 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
52506 configure-stage3-target-libgomp:
52507 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52508 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52509 @r=`${PWD_COMMAND}`; export r; \
52510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52511 TFLAGS="$(STAGE3_TFLAGS)"; \
52512 echo "Checking multilib configuration for libgomp..."; \
52513 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52514 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52515 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52516 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52517 else \
52518 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52519 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52520 fi; \
52521 else \
52522 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52523 fi; \
52524 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52525 $(NORMAL_TARGET_EXPORTS) \
52527 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52528 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52529 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52530 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
52531 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52532 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52533 case $(srcdir) in \
52534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52535 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52537 esac; \
52538 module_srcdir=libgomp; \
52539 $(SHELL) $$s/$$module_srcdir/configure \
52540 --srcdir=$${topdir}/$$module_srcdir \
52541 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52542 --target=${target_alias} \
52543 --with-build-libsubdir=$(HOST_SUBDIR) \
52544 $(STAGE3_CONFIGURE_FLAGS)
52545 @endif target-libgomp-bootstrap
52547 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
52548 maybe-configure-stage4-target-libgomp:
52549 @if target-libgomp-bootstrap
52550 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
52551 configure-stage4-target-libgomp:
52552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52553 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52554 @r=`${PWD_COMMAND}`; export r; \
52555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52556 TFLAGS="$(STAGE4_TFLAGS)"; \
52557 echo "Checking multilib configuration for libgomp..."; \
52558 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52559 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52560 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52561 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52562 else \
52563 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52564 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52565 fi; \
52566 else \
52567 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52568 fi; \
52569 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52570 $(NORMAL_TARGET_EXPORTS) \
52572 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52573 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52574 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52575 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
52576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52577 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52578 case $(srcdir) in \
52579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52580 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52582 esac; \
52583 module_srcdir=libgomp; \
52584 $(SHELL) $$s/$$module_srcdir/configure \
52585 --srcdir=$${topdir}/$$module_srcdir \
52586 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52587 --target=${target_alias} \
52588 --with-build-libsubdir=$(HOST_SUBDIR) \
52589 $(STAGE4_CONFIGURE_FLAGS)
52590 @endif target-libgomp-bootstrap
52592 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
52593 maybe-configure-stageprofile-target-libgomp:
52594 @if target-libgomp-bootstrap
52595 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52596 configure-stageprofile-target-libgomp:
52597 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52598 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52599 @r=`${PWD_COMMAND}`; export r; \
52600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52601 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52602 echo "Checking multilib configuration for libgomp..."; \
52603 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52604 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52605 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52606 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52607 else \
52608 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52609 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52610 fi; \
52611 else \
52612 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52613 fi; \
52614 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52615 $(NORMAL_TARGET_EXPORTS) \
52617 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52618 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52619 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52620 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
52621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52622 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52623 case $(srcdir) in \
52624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52625 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52627 esac; \
52628 module_srcdir=libgomp; \
52629 $(SHELL) $$s/$$module_srcdir/configure \
52630 --srcdir=$${topdir}/$$module_srcdir \
52631 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52632 --target=${target_alias} \
52633 --with-build-libsubdir=$(HOST_SUBDIR) \
52634 $(STAGEprofile_CONFIGURE_FLAGS)
52635 @endif target-libgomp-bootstrap
52637 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
52638 maybe-configure-stagetrain-target-libgomp:
52639 @if target-libgomp-bootstrap
52640 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52641 configure-stagetrain-target-libgomp:
52642 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52643 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52644 @r=`${PWD_COMMAND}`; export r; \
52645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52646 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52647 echo "Checking multilib configuration for libgomp..."; \
52648 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52649 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52650 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52651 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52652 else \
52653 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52654 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52655 fi; \
52656 else \
52657 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52658 fi; \
52659 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52660 $(NORMAL_TARGET_EXPORTS) \
52662 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52665 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
52666 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52667 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52668 case $(srcdir) in \
52669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52670 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52672 esac; \
52673 module_srcdir=libgomp; \
52674 $(SHELL) $$s/$$module_srcdir/configure \
52675 --srcdir=$${topdir}/$$module_srcdir \
52676 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52677 --target=${target_alias} \
52678 --with-build-libsubdir=$(HOST_SUBDIR) \
52679 $(STAGEtrain_CONFIGURE_FLAGS)
52680 @endif target-libgomp-bootstrap
52682 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
52683 maybe-configure-stagefeedback-target-libgomp:
52684 @if target-libgomp-bootstrap
52685 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52686 configure-stagefeedback-target-libgomp:
52687 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52688 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52689 @r=`${PWD_COMMAND}`; export r; \
52690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52691 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52692 echo "Checking multilib configuration for libgomp..."; \
52693 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52694 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52695 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52696 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52697 else \
52698 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52699 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52700 fi; \
52701 else \
52702 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52703 fi; \
52704 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52705 $(NORMAL_TARGET_EXPORTS) \
52707 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52708 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52709 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52710 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
52711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52712 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52713 case $(srcdir) in \
52714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52715 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52717 esac; \
52718 module_srcdir=libgomp; \
52719 $(SHELL) $$s/$$module_srcdir/configure \
52720 --srcdir=$${topdir}/$$module_srcdir \
52721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52722 --target=${target_alias} \
52723 --with-build-libsubdir=$(HOST_SUBDIR) \
52724 $(STAGEfeedback_CONFIGURE_FLAGS)
52725 @endif target-libgomp-bootstrap
52727 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
52728 maybe-configure-stageautoprofile-target-libgomp:
52729 @if target-libgomp-bootstrap
52730 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52731 configure-stageautoprofile-target-libgomp:
52732 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52733 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52734 @r=`${PWD_COMMAND}`; export r; \
52735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52736 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52737 echo "Checking multilib configuration for libgomp..."; \
52738 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52739 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52740 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52741 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52742 else \
52743 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52744 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52745 fi; \
52746 else \
52747 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52748 fi; \
52749 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52750 $(NORMAL_TARGET_EXPORTS) \
52752 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52753 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52754 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52755 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
52756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52757 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52758 case $(srcdir) in \
52759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52760 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52762 esac; \
52763 module_srcdir=libgomp; \
52764 $(SHELL) $$s/$$module_srcdir/configure \
52765 --srcdir=$${topdir}/$$module_srcdir \
52766 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52767 --target=${target_alias} \
52768 --with-build-libsubdir=$(HOST_SUBDIR) \
52769 $(STAGEautoprofile_CONFIGURE_FLAGS)
52770 @endif target-libgomp-bootstrap
52772 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
52773 maybe-configure-stageautofeedback-target-libgomp:
52774 @if target-libgomp-bootstrap
52775 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52776 configure-stageautofeedback-target-libgomp:
52777 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52778 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52779 @r=`${PWD_COMMAND}`; export r; \
52780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52781 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52782 echo "Checking multilib configuration for libgomp..."; \
52783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52784 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52785 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52786 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52787 else \
52788 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52789 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52790 fi; \
52791 else \
52792 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52793 fi; \
52794 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52795 $(NORMAL_TARGET_EXPORTS) \
52797 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52800 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
52801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52802 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52803 case $(srcdir) in \
52804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52805 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52807 esac; \
52808 module_srcdir=libgomp; \
52809 $(SHELL) $$s/$$module_srcdir/configure \
52810 --srcdir=$${topdir}/$$module_srcdir \
52811 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52812 --target=${target_alias} \
52813 --with-build-libsubdir=$(HOST_SUBDIR) \
52814 $(STAGEautofeedback_CONFIGURE_FLAGS)
52815 @endif target-libgomp-bootstrap
52821 .PHONY: all-target-libgomp maybe-all-target-libgomp
52822 maybe-all-target-libgomp:
52823 @if gcc-bootstrap
52824 all-target-libgomp: stage_current
52825 @endif gcc-bootstrap
52826 @if target-libgomp
52827 TARGET-target-libgomp=all
52828 maybe-all-target-libgomp: all-target-libgomp
52829 all-target-libgomp: configure-target-libgomp
52830 @r=`${PWD_COMMAND}`; export r; \
52831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52832 $(NORMAL_TARGET_EXPORTS) \
52833 (cd $(TARGET_SUBDIR)/libgomp && \
52834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52835 $(TARGET-target-libgomp))
52836 @endif target-libgomp
52840 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
52841 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
52842 maybe-all-stage1-target-libgomp:
52843 maybe-clean-stage1-target-libgomp:
52844 @if target-libgomp-bootstrap
52845 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
52846 all-stage1: all-stage1-target-libgomp
52847 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
52848 all-stage1-target-libgomp: configure-stage1-target-libgomp
52849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52850 @r=`${PWD_COMMAND}`; export r; \
52851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52852 TFLAGS="$(STAGE1_TFLAGS)"; \
52853 $(NORMAL_TARGET_EXPORTS) \
52854 cd $(TARGET_SUBDIR)/libgomp && \
52856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52857 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52863 $(EXTRA_TARGET_FLAGS) \
52865 TFLAGS="$(STAGE1_TFLAGS)" \
52866 $(TARGET-stage1-target-libgomp)
52868 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
52869 clean-stage1: clean-stage1-target-libgomp
52870 clean-stage1-target-libgomp:
52871 @if [ $(current_stage) = stage1 ]; then \
52872 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52873 else \
52874 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
52875 $(MAKE) stage1-start; \
52876 fi; \
52877 cd $(TARGET_SUBDIR)/libgomp && \
52878 $(MAKE) $(EXTRA_TARGET_FLAGS) \
52879 clean
52880 @endif target-libgomp-bootstrap
52883 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
52884 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
52885 maybe-all-stage2-target-libgomp:
52886 maybe-clean-stage2-target-libgomp:
52887 @if target-libgomp-bootstrap
52888 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
52889 all-stage2: all-stage2-target-libgomp
52890 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
52891 all-stage2-target-libgomp: configure-stage2-target-libgomp
52892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52893 @r=`${PWD_COMMAND}`; export r; \
52894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52895 TFLAGS="$(STAGE2_TFLAGS)"; \
52896 $(NORMAL_TARGET_EXPORTS) \
52898 cd $(TARGET_SUBDIR)/libgomp && \
52900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52901 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52902 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52903 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52907 $(EXTRA_TARGET_FLAGS) \
52908 TFLAGS="$(STAGE2_TFLAGS)" \
52909 $(TARGET-stage2-target-libgomp)
52911 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
52912 clean-stage2: clean-stage2-target-libgomp
52913 clean-stage2-target-libgomp:
52914 @if [ $(current_stage) = stage2 ]; then \
52915 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52916 else \
52917 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
52918 $(MAKE) stage2-start; \
52919 fi; \
52920 cd $(TARGET_SUBDIR)/libgomp && \
52921 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52922 @endif target-libgomp-bootstrap
52925 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
52926 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
52927 maybe-all-stage3-target-libgomp:
52928 maybe-clean-stage3-target-libgomp:
52929 @if target-libgomp-bootstrap
52930 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
52931 all-stage3: all-stage3-target-libgomp
52932 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
52933 all-stage3-target-libgomp: configure-stage3-target-libgomp
52934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52935 @r=`${PWD_COMMAND}`; export r; \
52936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52937 TFLAGS="$(STAGE3_TFLAGS)"; \
52938 $(NORMAL_TARGET_EXPORTS) \
52940 cd $(TARGET_SUBDIR)/libgomp && \
52942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52943 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52944 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52945 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52949 $(EXTRA_TARGET_FLAGS) \
52950 TFLAGS="$(STAGE3_TFLAGS)" \
52951 $(TARGET-stage3-target-libgomp)
52953 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
52954 clean-stage3: clean-stage3-target-libgomp
52955 clean-stage3-target-libgomp:
52956 @if [ $(current_stage) = stage3 ]; then \
52957 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52958 else \
52959 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
52960 $(MAKE) stage3-start; \
52961 fi; \
52962 cd $(TARGET_SUBDIR)/libgomp && \
52963 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52964 @endif target-libgomp-bootstrap
52967 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
52968 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
52969 maybe-all-stage4-target-libgomp:
52970 maybe-clean-stage4-target-libgomp:
52971 @if target-libgomp-bootstrap
52972 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
52973 all-stage4: all-stage4-target-libgomp
52974 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
52975 all-stage4-target-libgomp: configure-stage4-target-libgomp
52976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52977 @r=`${PWD_COMMAND}`; export r; \
52978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52979 TFLAGS="$(STAGE4_TFLAGS)"; \
52980 $(NORMAL_TARGET_EXPORTS) \
52982 cd $(TARGET_SUBDIR)/libgomp && \
52984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52985 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52986 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52987 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52991 $(EXTRA_TARGET_FLAGS) \
52992 TFLAGS="$(STAGE4_TFLAGS)" \
52993 $(TARGET-stage4-target-libgomp)
52995 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
52996 clean-stage4: clean-stage4-target-libgomp
52997 clean-stage4-target-libgomp:
52998 @if [ $(current_stage) = stage4 ]; then \
52999 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53000 else \
53001 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
53002 $(MAKE) stage4-start; \
53003 fi; \
53004 cd $(TARGET_SUBDIR)/libgomp && \
53005 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53006 @endif target-libgomp-bootstrap
53009 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
53010 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
53011 maybe-all-stageprofile-target-libgomp:
53012 maybe-clean-stageprofile-target-libgomp:
53013 @if target-libgomp-bootstrap
53014 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
53015 all-stageprofile: all-stageprofile-target-libgomp
53016 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
53017 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
53018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53019 @r=`${PWD_COMMAND}`; export r; \
53020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53022 $(NORMAL_TARGET_EXPORTS) \
53024 cd $(TARGET_SUBDIR)/libgomp && \
53026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53027 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53028 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53029 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53033 $(EXTRA_TARGET_FLAGS) \
53034 TFLAGS="$(STAGEprofile_TFLAGS)" \
53035 $(TARGET-stageprofile-target-libgomp)
53037 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
53038 clean-stageprofile: clean-stageprofile-target-libgomp
53039 clean-stageprofile-target-libgomp:
53040 @if [ $(current_stage) = stageprofile ]; then \
53041 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53042 else \
53043 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
53044 $(MAKE) stageprofile-start; \
53045 fi; \
53046 cd $(TARGET_SUBDIR)/libgomp && \
53047 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53048 @endif target-libgomp-bootstrap
53051 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
53052 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
53053 maybe-all-stagetrain-target-libgomp:
53054 maybe-clean-stagetrain-target-libgomp:
53055 @if target-libgomp-bootstrap
53056 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
53057 all-stagetrain: all-stagetrain-target-libgomp
53058 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
53059 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
53060 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53061 @r=`${PWD_COMMAND}`; export r; \
53062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53063 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53064 $(NORMAL_TARGET_EXPORTS) \
53066 cd $(TARGET_SUBDIR)/libgomp && \
53068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53069 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53070 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53071 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53075 $(EXTRA_TARGET_FLAGS) \
53076 TFLAGS="$(STAGEtrain_TFLAGS)" \
53077 $(TARGET-stagetrain-target-libgomp)
53079 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
53080 clean-stagetrain: clean-stagetrain-target-libgomp
53081 clean-stagetrain-target-libgomp:
53082 @if [ $(current_stage) = stagetrain ]; then \
53083 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53084 else \
53085 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
53086 $(MAKE) stagetrain-start; \
53087 fi; \
53088 cd $(TARGET_SUBDIR)/libgomp && \
53089 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53090 @endif target-libgomp-bootstrap
53093 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
53094 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
53095 maybe-all-stagefeedback-target-libgomp:
53096 maybe-clean-stagefeedback-target-libgomp:
53097 @if target-libgomp-bootstrap
53098 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
53099 all-stagefeedback: all-stagefeedback-target-libgomp
53100 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
53101 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
53102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53103 @r=`${PWD_COMMAND}`; export r; \
53104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53106 $(NORMAL_TARGET_EXPORTS) \
53108 cd $(TARGET_SUBDIR)/libgomp && \
53110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53111 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53112 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53113 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53117 $(EXTRA_TARGET_FLAGS) \
53118 TFLAGS="$(STAGEfeedback_TFLAGS)" \
53119 $(TARGET-stagefeedback-target-libgomp)
53121 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
53122 clean-stagefeedback: clean-stagefeedback-target-libgomp
53123 clean-stagefeedback-target-libgomp:
53124 @if [ $(current_stage) = stagefeedback ]; then \
53125 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53126 else \
53127 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
53128 $(MAKE) stagefeedback-start; \
53129 fi; \
53130 cd $(TARGET_SUBDIR)/libgomp && \
53131 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53132 @endif target-libgomp-bootstrap
53135 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
53136 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
53137 maybe-all-stageautoprofile-target-libgomp:
53138 maybe-clean-stageautoprofile-target-libgomp:
53139 @if target-libgomp-bootstrap
53140 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
53141 all-stageautoprofile: all-stageautoprofile-target-libgomp
53142 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
53143 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
53144 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53145 @r=`${PWD_COMMAND}`; export r; \
53146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53147 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53148 $(NORMAL_TARGET_EXPORTS) \
53150 cd $(TARGET_SUBDIR)/libgomp && \
53151 $$s/gcc/config/i386/$(AUTO_PROFILE) \
53152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53153 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53154 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53155 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53159 $(EXTRA_TARGET_FLAGS) \
53160 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
53161 $(TARGET-stageautoprofile-target-libgomp)
53163 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
53164 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
53165 clean-stageautoprofile-target-libgomp:
53166 @if [ $(current_stage) = stageautoprofile ]; then \
53167 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53168 else \
53169 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
53170 $(MAKE) stageautoprofile-start; \
53171 fi; \
53172 cd $(TARGET_SUBDIR)/libgomp && \
53173 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53174 @endif target-libgomp-bootstrap
53177 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
53178 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
53179 maybe-all-stageautofeedback-target-libgomp:
53180 maybe-clean-stageautofeedback-target-libgomp:
53181 @if target-libgomp-bootstrap
53182 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
53183 all-stageautofeedback: all-stageautofeedback-target-libgomp
53184 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
53185 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
53186 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53187 @r=`${PWD_COMMAND}`; export r; \
53188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53189 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53190 $(NORMAL_TARGET_EXPORTS) \
53192 cd $(TARGET_SUBDIR)/libgomp && \
53194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53195 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53196 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53197 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53201 $(EXTRA_TARGET_FLAGS) \
53202 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
53203 $(TARGET-stageautofeedback-target-libgomp)
53205 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
53206 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
53207 clean-stageautofeedback-target-libgomp:
53208 @if [ $(current_stage) = stageautofeedback ]; then \
53209 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53210 else \
53211 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
53212 $(MAKE) stageautofeedback-start; \
53213 fi; \
53214 cd $(TARGET_SUBDIR)/libgomp && \
53215 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53216 @endif target-libgomp-bootstrap
53223 .PHONY: check-target-libgomp maybe-check-target-libgomp
53224 maybe-check-target-libgomp:
53225 @if target-libgomp
53226 maybe-check-target-libgomp: check-target-libgomp
53228 check-target-libgomp:
53229 @: $(MAKE); $(unstage)
53230 @r=`${PWD_COMMAND}`; export r; \
53231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53232 $(NORMAL_TARGET_EXPORTS) \
53233 (cd $(TARGET_SUBDIR)/libgomp && \
53234 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53236 @endif target-libgomp
53238 .PHONY: install-target-libgomp maybe-install-target-libgomp
53239 maybe-install-target-libgomp:
53240 @if target-libgomp
53241 maybe-install-target-libgomp: install-target-libgomp
53243 install-target-libgomp: installdirs
53244 @: $(MAKE); $(unstage)
53245 @r=`${PWD_COMMAND}`; export r; \
53246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53247 $(NORMAL_TARGET_EXPORTS) \
53248 (cd $(TARGET_SUBDIR)/libgomp && \
53249 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53251 @endif target-libgomp
53253 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
53254 maybe-install-strip-target-libgomp:
53255 @if target-libgomp
53256 maybe-install-strip-target-libgomp: install-strip-target-libgomp
53258 install-strip-target-libgomp: installdirs
53259 @: $(MAKE); $(unstage)
53260 @r=`${PWD_COMMAND}`; export r; \
53261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53262 $(NORMAL_TARGET_EXPORTS) \
53263 (cd $(TARGET_SUBDIR)/libgomp && \
53264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53266 @endif target-libgomp
53268 # Other targets (info, dvi, pdf, etc.)
53270 .PHONY: maybe-info-target-libgomp info-target-libgomp
53271 maybe-info-target-libgomp:
53272 @if target-libgomp
53273 maybe-info-target-libgomp: info-target-libgomp
53275 info-target-libgomp: \
53276 configure-target-libgomp
53277 @: $(MAKE); $(unstage)
53278 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53279 r=`${PWD_COMMAND}`; export r; \
53280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53281 $(NORMAL_TARGET_EXPORTS) \
53282 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
53283 for flag in $(EXTRA_TARGET_FLAGS); do \
53284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53285 done; \
53286 (cd $(TARGET_SUBDIR)/libgomp && \
53287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53289 "RANLIB=$${RANLIB}" \
53290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53291 info) \
53292 || exit 1
53294 @endif target-libgomp
53296 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
53297 maybe-dvi-target-libgomp:
53298 @if target-libgomp
53299 maybe-dvi-target-libgomp: dvi-target-libgomp
53301 dvi-target-libgomp: \
53302 configure-target-libgomp
53303 @: $(MAKE); $(unstage)
53304 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53305 r=`${PWD_COMMAND}`; export r; \
53306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53307 $(NORMAL_TARGET_EXPORTS) \
53308 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
53309 for flag in $(EXTRA_TARGET_FLAGS); do \
53310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53311 done; \
53312 (cd $(TARGET_SUBDIR)/libgomp && \
53313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53315 "RANLIB=$${RANLIB}" \
53316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53317 dvi) \
53318 || exit 1
53320 @endif target-libgomp
53322 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
53323 maybe-pdf-target-libgomp:
53324 @if target-libgomp
53325 maybe-pdf-target-libgomp: pdf-target-libgomp
53327 pdf-target-libgomp: \
53328 configure-target-libgomp
53329 @: $(MAKE); $(unstage)
53330 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53331 r=`${PWD_COMMAND}`; export r; \
53332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53333 $(NORMAL_TARGET_EXPORTS) \
53334 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
53335 for flag in $(EXTRA_TARGET_FLAGS); do \
53336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53337 done; \
53338 (cd $(TARGET_SUBDIR)/libgomp && \
53339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53341 "RANLIB=$${RANLIB}" \
53342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53343 pdf) \
53344 || exit 1
53346 @endif target-libgomp
53348 .PHONY: maybe-html-target-libgomp html-target-libgomp
53349 maybe-html-target-libgomp:
53350 @if target-libgomp
53351 maybe-html-target-libgomp: html-target-libgomp
53353 html-target-libgomp: \
53354 configure-target-libgomp
53355 @: $(MAKE); $(unstage)
53356 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53357 r=`${PWD_COMMAND}`; export r; \
53358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53359 $(NORMAL_TARGET_EXPORTS) \
53360 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
53361 for flag in $(EXTRA_TARGET_FLAGS); do \
53362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53363 done; \
53364 (cd $(TARGET_SUBDIR)/libgomp && \
53365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53367 "RANLIB=$${RANLIB}" \
53368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53369 html) \
53370 || exit 1
53372 @endif target-libgomp
53374 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
53375 maybe-TAGS-target-libgomp:
53376 @if target-libgomp
53377 maybe-TAGS-target-libgomp: TAGS-target-libgomp
53379 TAGS-target-libgomp: \
53380 configure-target-libgomp
53381 @: $(MAKE); $(unstage)
53382 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53383 r=`${PWD_COMMAND}`; export r; \
53384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53385 $(NORMAL_TARGET_EXPORTS) \
53386 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
53387 for flag in $(EXTRA_TARGET_FLAGS); do \
53388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53389 done; \
53390 (cd $(TARGET_SUBDIR)/libgomp && \
53391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53393 "RANLIB=$${RANLIB}" \
53394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53395 TAGS) \
53396 || exit 1
53398 @endif target-libgomp
53400 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
53401 maybe-install-info-target-libgomp:
53402 @if target-libgomp
53403 maybe-install-info-target-libgomp: install-info-target-libgomp
53405 install-info-target-libgomp: \
53406 configure-target-libgomp \
53407 info-target-libgomp
53408 @: $(MAKE); $(unstage)
53409 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53410 r=`${PWD_COMMAND}`; export r; \
53411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53412 $(NORMAL_TARGET_EXPORTS) \
53413 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
53414 for flag in $(EXTRA_TARGET_FLAGS); do \
53415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53416 done; \
53417 (cd $(TARGET_SUBDIR)/libgomp && \
53418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53420 "RANLIB=$${RANLIB}" \
53421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53422 install-info) \
53423 || exit 1
53425 @endif target-libgomp
53427 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
53428 maybe-install-pdf-target-libgomp:
53429 @if target-libgomp
53430 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
53432 install-pdf-target-libgomp: \
53433 configure-target-libgomp \
53434 pdf-target-libgomp
53435 @: $(MAKE); $(unstage)
53436 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53437 r=`${PWD_COMMAND}`; export r; \
53438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53439 $(NORMAL_TARGET_EXPORTS) \
53440 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
53441 for flag in $(EXTRA_TARGET_FLAGS); do \
53442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53443 done; \
53444 (cd $(TARGET_SUBDIR)/libgomp && \
53445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53447 "RANLIB=$${RANLIB}" \
53448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53449 install-pdf) \
53450 || exit 1
53452 @endif target-libgomp
53454 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
53455 maybe-install-html-target-libgomp:
53456 @if target-libgomp
53457 maybe-install-html-target-libgomp: install-html-target-libgomp
53459 install-html-target-libgomp: \
53460 configure-target-libgomp \
53461 html-target-libgomp
53462 @: $(MAKE); $(unstage)
53463 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53464 r=`${PWD_COMMAND}`; export r; \
53465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53466 $(NORMAL_TARGET_EXPORTS) \
53467 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
53468 for flag in $(EXTRA_TARGET_FLAGS); do \
53469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53470 done; \
53471 (cd $(TARGET_SUBDIR)/libgomp && \
53472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53474 "RANLIB=$${RANLIB}" \
53475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53476 install-html) \
53477 || exit 1
53479 @endif target-libgomp
53481 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
53482 maybe-installcheck-target-libgomp:
53483 @if target-libgomp
53484 maybe-installcheck-target-libgomp: installcheck-target-libgomp
53486 installcheck-target-libgomp: \
53487 configure-target-libgomp
53488 @: $(MAKE); $(unstage)
53489 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53490 r=`${PWD_COMMAND}`; export r; \
53491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53492 $(NORMAL_TARGET_EXPORTS) \
53493 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
53494 for flag in $(EXTRA_TARGET_FLAGS); do \
53495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53496 done; \
53497 (cd $(TARGET_SUBDIR)/libgomp && \
53498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53500 "RANLIB=$${RANLIB}" \
53501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53502 installcheck) \
53503 || exit 1
53505 @endif target-libgomp
53507 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
53508 maybe-mostlyclean-target-libgomp:
53509 @if target-libgomp
53510 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
53512 mostlyclean-target-libgomp:
53513 @: $(MAKE); $(unstage)
53514 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53515 r=`${PWD_COMMAND}`; export r; \
53516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53517 $(NORMAL_TARGET_EXPORTS) \
53518 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
53519 for flag in $(EXTRA_TARGET_FLAGS); do \
53520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53521 done; \
53522 (cd $(TARGET_SUBDIR)/libgomp && \
53523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53525 "RANLIB=$${RANLIB}" \
53526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53527 mostlyclean) \
53528 || exit 1
53530 @endif target-libgomp
53532 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
53533 maybe-clean-target-libgomp:
53534 @if target-libgomp
53535 maybe-clean-target-libgomp: clean-target-libgomp
53537 clean-target-libgomp:
53538 @: $(MAKE); $(unstage)
53539 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53540 r=`${PWD_COMMAND}`; export r; \
53541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53542 $(NORMAL_TARGET_EXPORTS) \
53543 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
53544 for flag in $(EXTRA_TARGET_FLAGS); do \
53545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53546 done; \
53547 (cd $(TARGET_SUBDIR)/libgomp && \
53548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53550 "RANLIB=$${RANLIB}" \
53551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53552 clean) \
53553 || exit 1
53555 @endif target-libgomp
53557 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
53558 maybe-distclean-target-libgomp:
53559 @if target-libgomp
53560 maybe-distclean-target-libgomp: distclean-target-libgomp
53562 distclean-target-libgomp:
53563 @: $(MAKE); $(unstage)
53564 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53565 r=`${PWD_COMMAND}`; export r; \
53566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53567 $(NORMAL_TARGET_EXPORTS) \
53568 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
53569 for flag in $(EXTRA_TARGET_FLAGS); do \
53570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53571 done; \
53572 (cd $(TARGET_SUBDIR)/libgomp && \
53573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53575 "RANLIB=$${RANLIB}" \
53576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53577 distclean) \
53578 || exit 1
53580 @endif target-libgomp
53582 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
53583 maybe-maintainer-clean-target-libgomp:
53584 @if target-libgomp
53585 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
53587 maintainer-clean-target-libgomp:
53588 @: $(MAKE); $(unstage)
53589 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53590 r=`${PWD_COMMAND}`; export r; \
53591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53592 $(NORMAL_TARGET_EXPORTS) \
53593 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
53594 for flag in $(EXTRA_TARGET_FLAGS); do \
53595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53596 done; \
53597 (cd $(TARGET_SUBDIR)/libgomp && \
53598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53600 "RANLIB=$${RANLIB}" \
53601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53602 maintainer-clean) \
53603 || exit 1
53605 @endif target-libgomp
53611 .PHONY: configure-target-libitm maybe-configure-target-libitm
53612 maybe-configure-target-libitm:
53613 @if gcc-bootstrap
53614 configure-target-libitm: stage_current
53615 @endif gcc-bootstrap
53616 @if target-libitm
53617 maybe-configure-target-libitm: configure-target-libitm
53618 configure-target-libitm:
53619 @: $(MAKE); $(unstage)
53620 @r=`${PWD_COMMAND}`; export r; \
53621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53622 echo "Checking multilib configuration for libitm..."; \
53623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53624 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
53625 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
53626 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
53627 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
53628 else \
53629 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
53630 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53631 fi; \
53632 else \
53633 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53634 fi; \
53635 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
53636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53637 $(NORMAL_TARGET_EXPORTS) \
53638 echo Configuring in $(TARGET_SUBDIR)/libitm; \
53639 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
53640 case $(srcdir) in \
53641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53642 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
53643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53644 esac; \
53645 module_srcdir=libitm; \
53646 rm -f no-such-file || : ; \
53647 CONFIG_SITE=no-such-file $(SHELL) \
53648 $$s/$$module_srcdir/configure \
53649 --srcdir=$${topdir}/$$module_srcdir \
53650 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53651 --target=${target_alias} \
53652 || exit 1
53653 @endif target-libitm
53659 .PHONY: all-target-libitm maybe-all-target-libitm
53660 maybe-all-target-libitm:
53661 @if gcc-bootstrap
53662 all-target-libitm: stage_current
53663 @endif gcc-bootstrap
53664 @if target-libitm
53665 TARGET-target-libitm=all
53666 maybe-all-target-libitm: all-target-libitm
53667 all-target-libitm: configure-target-libitm
53668 @: $(MAKE); $(unstage)
53669 @r=`${PWD_COMMAND}`; export r; \
53670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53671 $(NORMAL_TARGET_EXPORTS) \
53672 (cd $(TARGET_SUBDIR)/libitm && \
53673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53674 $(TARGET-target-libitm))
53675 @endif target-libitm
53681 .PHONY: check-target-libitm maybe-check-target-libitm
53682 maybe-check-target-libitm:
53683 @if target-libitm
53684 maybe-check-target-libitm: check-target-libitm
53686 check-target-libitm:
53687 @: $(MAKE); $(unstage)
53688 @r=`${PWD_COMMAND}`; export r; \
53689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53690 $(NORMAL_TARGET_EXPORTS) \
53691 (cd $(TARGET_SUBDIR)/libitm && \
53692 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53694 @endif target-libitm
53696 .PHONY: install-target-libitm maybe-install-target-libitm
53697 maybe-install-target-libitm:
53698 @if target-libitm
53699 maybe-install-target-libitm: install-target-libitm
53701 install-target-libitm: installdirs
53702 @: $(MAKE); $(unstage)
53703 @r=`${PWD_COMMAND}`; export r; \
53704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53705 $(NORMAL_TARGET_EXPORTS) \
53706 (cd $(TARGET_SUBDIR)/libitm && \
53707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53709 @endif target-libitm
53711 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
53712 maybe-install-strip-target-libitm:
53713 @if target-libitm
53714 maybe-install-strip-target-libitm: install-strip-target-libitm
53716 install-strip-target-libitm: installdirs
53717 @: $(MAKE); $(unstage)
53718 @r=`${PWD_COMMAND}`; export r; \
53719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53720 $(NORMAL_TARGET_EXPORTS) \
53721 (cd $(TARGET_SUBDIR)/libitm && \
53722 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53724 @endif target-libitm
53726 # Other targets (info, dvi, pdf, etc.)
53728 .PHONY: maybe-info-target-libitm info-target-libitm
53729 maybe-info-target-libitm:
53730 @if target-libitm
53731 maybe-info-target-libitm: info-target-libitm
53733 info-target-libitm: \
53734 configure-target-libitm
53735 @: $(MAKE); $(unstage)
53736 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53737 r=`${PWD_COMMAND}`; export r; \
53738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53739 $(NORMAL_TARGET_EXPORTS) \
53740 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
53741 for flag in $(EXTRA_TARGET_FLAGS); do \
53742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53743 done; \
53744 (cd $(TARGET_SUBDIR)/libitm && \
53745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53747 "RANLIB=$${RANLIB}" \
53748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53749 info) \
53750 || exit 1
53752 @endif target-libitm
53754 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
53755 maybe-dvi-target-libitm:
53756 @if target-libitm
53757 maybe-dvi-target-libitm: dvi-target-libitm
53759 dvi-target-libitm: \
53760 configure-target-libitm
53761 @: $(MAKE); $(unstage)
53762 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53763 r=`${PWD_COMMAND}`; export r; \
53764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53765 $(NORMAL_TARGET_EXPORTS) \
53766 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
53767 for flag in $(EXTRA_TARGET_FLAGS); do \
53768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53769 done; \
53770 (cd $(TARGET_SUBDIR)/libitm && \
53771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53773 "RANLIB=$${RANLIB}" \
53774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53775 dvi) \
53776 || exit 1
53778 @endif target-libitm
53780 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
53781 maybe-pdf-target-libitm:
53782 @if target-libitm
53783 maybe-pdf-target-libitm: pdf-target-libitm
53785 pdf-target-libitm: \
53786 configure-target-libitm
53787 @: $(MAKE); $(unstage)
53788 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53789 r=`${PWD_COMMAND}`; export r; \
53790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53791 $(NORMAL_TARGET_EXPORTS) \
53792 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
53793 for flag in $(EXTRA_TARGET_FLAGS); do \
53794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53795 done; \
53796 (cd $(TARGET_SUBDIR)/libitm && \
53797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53799 "RANLIB=$${RANLIB}" \
53800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53801 pdf) \
53802 || exit 1
53804 @endif target-libitm
53806 .PHONY: maybe-html-target-libitm html-target-libitm
53807 maybe-html-target-libitm:
53808 @if target-libitm
53809 maybe-html-target-libitm: html-target-libitm
53811 html-target-libitm: \
53812 configure-target-libitm
53813 @: $(MAKE); $(unstage)
53814 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53815 r=`${PWD_COMMAND}`; export r; \
53816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53817 $(NORMAL_TARGET_EXPORTS) \
53818 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
53819 for flag in $(EXTRA_TARGET_FLAGS); do \
53820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53821 done; \
53822 (cd $(TARGET_SUBDIR)/libitm && \
53823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53825 "RANLIB=$${RANLIB}" \
53826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53827 html) \
53828 || exit 1
53830 @endif target-libitm
53832 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
53833 maybe-TAGS-target-libitm:
53834 @if target-libitm
53835 maybe-TAGS-target-libitm: TAGS-target-libitm
53837 TAGS-target-libitm: \
53838 configure-target-libitm
53839 @: $(MAKE); $(unstage)
53840 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53841 r=`${PWD_COMMAND}`; export r; \
53842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53843 $(NORMAL_TARGET_EXPORTS) \
53844 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
53845 for flag in $(EXTRA_TARGET_FLAGS); do \
53846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53847 done; \
53848 (cd $(TARGET_SUBDIR)/libitm && \
53849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53851 "RANLIB=$${RANLIB}" \
53852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53853 TAGS) \
53854 || exit 1
53856 @endif target-libitm
53858 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
53859 maybe-install-info-target-libitm:
53860 @if target-libitm
53861 maybe-install-info-target-libitm: install-info-target-libitm
53863 install-info-target-libitm: \
53864 configure-target-libitm \
53865 info-target-libitm
53866 @: $(MAKE); $(unstage)
53867 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53868 r=`${PWD_COMMAND}`; export r; \
53869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53870 $(NORMAL_TARGET_EXPORTS) \
53871 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
53872 for flag in $(EXTRA_TARGET_FLAGS); do \
53873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53874 done; \
53875 (cd $(TARGET_SUBDIR)/libitm && \
53876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53878 "RANLIB=$${RANLIB}" \
53879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53880 install-info) \
53881 || exit 1
53883 @endif target-libitm
53885 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
53886 maybe-install-pdf-target-libitm:
53887 @if target-libitm
53888 maybe-install-pdf-target-libitm: install-pdf-target-libitm
53890 install-pdf-target-libitm: \
53891 configure-target-libitm \
53892 pdf-target-libitm
53893 @: $(MAKE); $(unstage)
53894 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53895 r=`${PWD_COMMAND}`; export r; \
53896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53897 $(NORMAL_TARGET_EXPORTS) \
53898 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
53899 for flag in $(EXTRA_TARGET_FLAGS); do \
53900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53901 done; \
53902 (cd $(TARGET_SUBDIR)/libitm && \
53903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53905 "RANLIB=$${RANLIB}" \
53906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53907 install-pdf) \
53908 || exit 1
53910 @endif target-libitm
53912 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
53913 maybe-install-html-target-libitm:
53914 @if target-libitm
53915 maybe-install-html-target-libitm: install-html-target-libitm
53917 install-html-target-libitm: \
53918 configure-target-libitm \
53919 html-target-libitm
53920 @: $(MAKE); $(unstage)
53921 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53922 r=`${PWD_COMMAND}`; export r; \
53923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53924 $(NORMAL_TARGET_EXPORTS) \
53925 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
53926 for flag in $(EXTRA_TARGET_FLAGS); do \
53927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53928 done; \
53929 (cd $(TARGET_SUBDIR)/libitm && \
53930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53932 "RANLIB=$${RANLIB}" \
53933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53934 install-html) \
53935 || exit 1
53937 @endif target-libitm
53939 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
53940 maybe-installcheck-target-libitm:
53941 @if target-libitm
53942 maybe-installcheck-target-libitm: installcheck-target-libitm
53944 installcheck-target-libitm: \
53945 configure-target-libitm
53946 @: $(MAKE); $(unstage)
53947 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53948 r=`${PWD_COMMAND}`; export r; \
53949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53950 $(NORMAL_TARGET_EXPORTS) \
53951 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
53952 for flag in $(EXTRA_TARGET_FLAGS); do \
53953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53954 done; \
53955 (cd $(TARGET_SUBDIR)/libitm && \
53956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53958 "RANLIB=$${RANLIB}" \
53959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53960 installcheck) \
53961 || exit 1
53963 @endif target-libitm
53965 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
53966 maybe-mostlyclean-target-libitm:
53967 @if target-libitm
53968 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
53970 mostlyclean-target-libitm:
53971 @: $(MAKE); $(unstage)
53972 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53973 r=`${PWD_COMMAND}`; export r; \
53974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53975 $(NORMAL_TARGET_EXPORTS) \
53976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
53977 for flag in $(EXTRA_TARGET_FLAGS); do \
53978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53979 done; \
53980 (cd $(TARGET_SUBDIR)/libitm && \
53981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53983 "RANLIB=$${RANLIB}" \
53984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53985 mostlyclean) \
53986 || exit 1
53988 @endif target-libitm
53990 .PHONY: maybe-clean-target-libitm clean-target-libitm
53991 maybe-clean-target-libitm:
53992 @if target-libitm
53993 maybe-clean-target-libitm: clean-target-libitm
53995 clean-target-libitm:
53996 @: $(MAKE); $(unstage)
53997 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53998 r=`${PWD_COMMAND}`; export r; \
53999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54000 $(NORMAL_TARGET_EXPORTS) \
54001 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
54002 for flag in $(EXTRA_TARGET_FLAGS); do \
54003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54004 done; \
54005 (cd $(TARGET_SUBDIR)/libitm && \
54006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54008 "RANLIB=$${RANLIB}" \
54009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54010 clean) \
54011 || exit 1
54013 @endif target-libitm
54015 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
54016 maybe-distclean-target-libitm:
54017 @if target-libitm
54018 maybe-distclean-target-libitm: distclean-target-libitm
54020 distclean-target-libitm:
54021 @: $(MAKE); $(unstage)
54022 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54023 r=`${PWD_COMMAND}`; export r; \
54024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54025 $(NORMAL_TARGET_EXPORTS) \
54026 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
54027 for flag in $(EXTRA_TARGET_FLAGS); do \
54028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54029 done; \
54030 (cd $(TARGET_SUBDIR)/libitm && \
54031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54033 "RANLIB=$${RANLIB}" \
54034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54035 distclean) \
54036 || exit 1
54038 @endif target-libitm
54040 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
54041 maybe-maintainer-clean-target-libitm:
54042 @if target-libitm
54043 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
54045 maintainer-clean-target-libitm:
54046 @: $(MAKE); $(unstage)
54047 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54048 r=`${PWD_COMMAND}`; export r; \
54049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54050 $(NORMAL_TARGET_EXPORTS) \
54051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
54052 for flag in $(EXTRA_TARGET_FLAGS); do \
54053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54054 done; \
54055 (cd $(TARGET_SUBDIR)/libitm && \
54056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54058 "RANLIB=$${RANLIB}" \
54059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54060 maintainer-clean) \
54061 || exit 1
54063 @endif target-libitm
54069 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
54070 maybe-configure-target-libatomic:
54071 @if gcc-bootstrap
54072 configure-target-libatomic: stage_current
54073 @endif gcc-bootstrap
54074 @if target-libatomic
54075 maybe-configure-target-libatomic: configure-target-libatomic
54076 configure-target-libatomic:
54077 @: $(MAKE); $(unstage)
54078 @r=`${PWD_COMMAND}`; export r; \
54079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54080 echo "Checking multilib configuration for libatomic..."; \
54081 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
54082 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
54083 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
54084 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
54085 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
54086 else \
54087 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
54088 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
54089 fi; \
54090 else \
54091 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
54092 fi; \
54093 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
54094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
54095 $(NORMAL_TARGET_EXPORTS) \
54096 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
54097 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
54098 case $(srcdir) in \
54099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54100 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
54101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54102 esac; \
54103 module_srcdir=libatomic; \
54104 rm -f no-such-file || : ; \
54105 CONFIG_SITE=no-such-file $(SHELL) \
54106 $$s/$$module_srcdir/configure \
54107 --srcdir=$${topdir}/$$module_srcdir \
54108 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54109 --target=${target_alias} \
54110 || exit 1
54111 @endif target-libatomic
54117 .PHONY: all-target-libatomic maybe-all-target-libatomic
54118 maybe-all-target-libatomic:
54119 @if gcc-bootstrap
54120 all-target-libatomic: stage_current
54121 @endif gcc-bootstrap
54122 @if target-libatomic
54123 TARGET-target-libatomic=all
54124 maybe-all-target-libatomic: all-target-libatomic
54125 all-target-libatomic: configure-target-libatomic
54126 @: $(MAKE); $(unstage)
54127 @r=`${PWD_COMMAND}`; export r; \
54128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54129 $(NORMAL_TARGET_EXPORTS) \
54130 (cd $(TARGET_SUBDIR)/libatomic && \
54131 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54132 $(TARGET-target-libatomic))
54133 @endif target-libatomic
54139 .PHONY: check-target-libatomic maybe-check-target-libatomic
54140 maybe-check-target-libatomic:
54141 @if target-libatomic
54142 maybe-check-target-libatomic: check-target-libatomic
54144 check-target-libatomic:
54145 @: $(MAKE); $(unstage)
54146 @r=`${PWD_COMMAND}`; export r; \
54147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54148 $(NORMAL_TARGET_EXPORTS) \
54149 (cd $(TARGET_SUBDIR)/libatomic && \
54150 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54152 @endif target-libatomic
54154 .PHONY: install-target-libatomic maybe-install-target-libatomic
54155 maybe-install-target-libatomic:
54156 @if target-libatomic
54157 maybe-install-target-libatomic: install-target-libatomic
54159 install-target-libatomic: installdirs
54160 @: $(MAKE); $(unstage)
54161 @r=`${PWD_COMMAND}`; export r; \
54162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54163 $(NORMAL_TARGET_EXPORTS) \
54164 (cd $(TARGET_SUBDIR)/libatomic && \
54165 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54167 @endif target-libatomic
54169 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
54170 maybe-install-strip-target-libatomic:
54171 @if target-libatomic
54172 maybe-install-strip-target-libatomic: install-strip-target-libatomic
54174 install-strip-target-libatomic: installdirs
54175 @: $(MAKE); $(unstage)
54176 @r=`${PWD_COMMAND}`; export r; \
54177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54178 $(NORMAL_TARGET_EXPORTS) \
54179 (cd $(TARGET_SUBDIR)/libatomic && \
54180 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54182 @endif target-libatomic
54184 # Other targets (info, dvi, pdf, etc.)
54186 .PHONY: maybe-info-target-libatomic info-target-libatomic
54187 maybe-info-target-libatomic:
54188 @if target-libatomic
54189 maybe-info-target-libatomic: info-target-libatomic
54191 info-target-libatomic: \
54192 configure-target-libatomic
54193 @: $(MAKE); $(unstage)
54194 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54195 r=`${PWD_COMMAND}`; export r; \
54196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54197 $(NORMAL_TARGET_EXPORTS) \
54198 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
54199 for flag in $(EXTRA_TARGET_FLAGS); do \
54200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54201 done; \
54202 (cd $(TARGET_SUBDIR)/libatomic && \
54203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54205 "RANLIB=$${RANLIB}" \
54206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54207 info) \
54208 || exit 1
54210 @endif target-libatomic
54212 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
54213 maybe-dvi-target-libatomic:
54214 @if target-libatomic
54215 maybe-dvi-target-libatomic: dvi-target-libatomic
54217 dvi-target-libatomic: \
54218 configure-target-libatomic
54219 @: $(MAKE); $(unstage)
54220 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54221 r=`${PWD_COMMAND}`; export r; \
54222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54223 $(NORMAL_TARGET_EXPORTS) \
54224 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
54225 for flag in $(EXTRA_TARGET_FLAGS); do \
54226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54227 done; \
54228 (cd $(TARGET_SUBDIR)/libatomic && \
54229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54231 "RANLIB=$${RANLIB}" \
54232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54233 dvi) \
54234 || exit 1
54236 @endif target-libatomic
54238 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
54239 maybe-pdf-target-libatomic:
54240 @if target-libatomic
54241 maybe-pdf-target-libatomic: pdf-target-libatomic
54243 pdf-target-libatomic: \
54244 configure-target-libatomic
54245 @: $(MAKE); $(unstage)
54246 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54247 r=`${PWD_COMMAND}`; export r; \
54248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54249 $(NORMAL_TARGET_EXPORTS) \
54250 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
54251 for flag in $(EXTRA_TARGET_FLAGS); do \
54252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54253 done; \
54254 (cd $(TARGET_SUBDIR)/libatomic && \
54255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54257 "RANLIB=$${RANLIB}" \
54258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54259 pdf) \
54260 || exit 1
54262 @endif target-libatomic
54264 .PHONY: maybe-html-target-libatomic html-target-libatomic
54265 maybe-html-target-libatomic:
54266 @if target-libatomic
54267 maybe-html-target-libatomic: html-target-libatomic
54269 html-target-libatomic: \
54270 configure-target-libatomic
54271 @: $(MAKE); $(unstage)
54272 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54273 r=`${PWD_COMMAND}`; export r; \
54274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54275 $(NORMAL_TARGET_EXPORTS) \
54276 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
54277 for flag in $(EXTRA_TARGET_FLAGS); do \
54278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54279 done; \
54280 (cd $(TARGET_SUBDIR)/libatomic && \
54281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54283 "RANLIB=$${RANLIB}" \
54284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54285 html) \
54286 || exit 1
54288 @endif target-libatomic
54290 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
54291 maybe-TAGS-target-libatomic:
54292 @if target-libatomic
54293 maybe-TAGS-target-libatomic: TAGS-target-libatomic
54295 TAGS-target-libatomic: \
54296 configure-target-libatomic
54297 @: $(MAKE); $(unstage)
54298 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54299 r=`${PWD_COMMAND}`; export r; \
54300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54301 $(NORMAL_TARGET_EXPORTS) \
54302 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
54303 for flag in $(EXTRA_TARGET_FLAGS); do \
54304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54305 done; \
54306 (cd $(TARGET_SUBDIR)/libatomic && \
54307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54309 "RANLIB=$${RANLIB}" \
54310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54311 TAGS) \
54312 || exit 1
54314 @endif target-libatomic
54316 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
54317 maybe-install-info-target-libatomic:
54318 @if target-libatomic
54319 maybe-install-info-target-libatomic: install-info-target-libatomic
54321 install-info-target-libatomic: \
54322 configure-target-libatomic \
54323 info-target-libatomic
54324 @: $(MAKE); $(unstage)
54325 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54326 r=`${PWD_COMMAND}`; export r; \
54327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54328 $(NORMAL_TARGET_EXPORTS) \
54329 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
54330 for flag in $(EXTRA_TARGET_FLAGS); do \
54331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54332 done; \
54333 (cd $(TARGET_SUBDIR)/libatomic && \
54334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54336 "RANLIB=$${RANLIB}" \
54337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54338 install-info) \
54339 || exit 1
54341 @endif target-libatomic
54343 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
54344 maybe-install-pdf-target-libatomic:
54345 @if target-libatomic
54346 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
54348 install-pdf-target-libatomic: \
54349 configure-target-libatomic \
54350 pdf-target-libatomic
54351 @: $(MAKE); $(unstage)
54352 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54353 r=`${PWD_COMMAND}`; export r; \
54354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54355 $(NORMAL_TARGET_EXPORTS) \
54356 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
54357 for flag in $(EXTRA_TARGET_FLAGS); do \
54358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54359 done; \
54360 (cd $(TARGET_SUBDIR)/libatomic && \
54361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54363 "RANLIB=$${RANLIB}" \
54364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54365 install-pdf) \
54366 || exit 1
54368 @endif target-libatomic
54370 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
54371 maybe-install-html-target-libatomic:
54372 @if target-libatomic
54373 maybe-install-html-target-libatomic: install-html-target-libatomic
54375 install-html-target-libatomic: \
54376 configure-target-libatomic \
54377 html-target-libatomic
54378 @: $(MAKE); $(unstage)
54379 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54380 r=`${PWD_COMMAND}`; export r; \
54381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54382 $(NORMAL_TARGET_EXPORTS) \
54383 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
54384 for flag in $(EXTRA_TARGET_FLAGS); do \
54385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54386 done; \
54387 (cd $(TARGET_SUBDIR)/libatomic && \
54388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54390 "RANLIB=$${RANLIB}" \
54391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54392 install-html) \
54393 || exit 1
54395 @endif target-libatomic
54397 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
54398 maybe-installcheck-target-libatomic:
54399 @if target-libatomic
54400 maybe-installcheck-target-libatomic: installcheck-target-libatomic
54402 installcheck-target-libatomic: \
54403 configure-target-libatomic
54404 @: $(MAKE); $(unstage)
54405 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54406 r=`${PWD_COMMAND}`; export r; \
54407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54408 $(NORMAL_TARGET_EXPORTS) \
54409 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
54410 for flag in $(EXTRA_TARGET_FLAGS); do \
54411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54412 done; \
54413 (cd $(TARGET_SUBDIR)/libatomic && \
54414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54416 "RANLIB=$${RANLIB}" \
54417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54418 installcheck) \
54419 || exit 1
54421 @endif target-libatomic
54423 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
54424 maybe-mostlyclean-target-libatomic:
54425 @if target-libatomic
54426 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
54428 mostlyclean-target-libatomic:
54429 @: $(MAKE); $(unstage)
54430 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54431 r=`${PWD_COMMAND}`; export r; \
54432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54433 $(NORMAL_TARGET_EXPORTS) \
54434 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
54435 for flag in $(EXTRA_TARGET_FLAGS); do \
54436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54437 done; \
54438 (cd $(TARGET_SUBDIR)/libatomic && \
54439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54441 "RANLIB=$${RANLIB}" \
54442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54443 mostlyclean) \
54444 || exit 1
54446 @endif target-libatomic
54448 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
54449 maybe-clean-target-libatomic:
54450 @if target-libatomic
54451 maybe-clean-target-libatomic: clean-target-libatomic
54453 clean-target-libatomic:
54454 @: $(MAKE); $(unstage)
54455 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54456 r=`${PWD_COMMAND}`; export r; \
54457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54458 $(NORMAL_TARGET_EXPORTS) \
54459 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
54460 for flag in $(EXTRA_TARGET_FLAGS); do \
54461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54462 done; \
54463 (cd $(TARGET_SUBDIR)/libatomic && \
54464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54466 "RANLIB=$${RANLIB}" \
54467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54468 clean) \
54469 || exit 1
54471 @endif target-libatomic
54473 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
54474 maybe-distclean-target-libatomic:
54475 @if target-libatomic
54476 maybe-distclean-target-libatomic: distclean-target-libatomic
54478 distclean-target-libatomic:
54479 @: $(MAKE); $(unstage)
54480 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54481 r=`${PWD_COMMAND}`; export r; \
54482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54483 $(NORMAL_TARGET_EXPORTS) \
54484 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
54485 for flag in $(EXTRA_TARGET_FLAGS); do \
54486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54487 done; \
54488 (cd $(TARGET_SUBDIR)/libatomic && \
54489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54491 "RANLIB=$${RANLIB}" \
54492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54493 distclean) \
54494 || exit 1
54496 @endif target-libatomic
54498 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
54499 maybe-maintainer-clean-target-libatomic:
54500 @if target-libatomic
54501 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
54503 maintainer-clean-target-libatomic:
54504 @: $(MAKE); $(unstage)
54505 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54506 r=`${PWD_COMMAND}`; export r; \
54507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54508 $(NORMAL_TARGET_EXPORTS) \
54509 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
54510 for flag in $(EXTRA_TARGET_FLAGS); do \
54511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54512 done; \
54513 (cd $(TARGET_SUBDIR)/libatomic && \
54514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54516 "RANLIB=$${RANLIB}" \
54517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54518 maintainer-clean) \
54519 || exit 1
54521 @endif target-libatomic
54525 @if target-libgomp
54526 .PHONY: check-target-libgomp-c++
54527 check-target-libgomp-c++:
54528 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
54530 .PHONY: check-target-libgomp-fortran
54531 check-target-libgomp-fortran:
54532 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
54534 @endif target-libgomp
54536 @if target-libitm
54537 .PHONY: check-target-libitm-c++
54538 check-target-libitm-c++:
54539 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
54541 @endif target-libitm
54543 # ----------
54544 # GCC module
54545 # ----------
54547 @if gcc-no-bootstrap
54548 .PHONY: cross
54549 cross: all-build all-gas all-ld
54550 @r=`${PWD_COMMAND}`; export r; \
54551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54552 $(HOST_EXPORTS) \
54553 echo "Building the C and C++ compiler"; \
54554 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
54555 @r=`${PWD_COMMAND}`; export r; \
54556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54557 echo "Building runtime libraries"; \
54558 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
54559 @endif gcc-no-bootstrap
54561 @if gcc
54563 .PHONY: check-gcc-c check-c
54564 check-gcc-c:
54565 r=`${PWD_COMMAND}`; export r; \
54566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54567 $(HOST_EXPORTS) \
54568 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
54569 check-c: check-gcc-c
54571 .PHONY: check-gcc-c++ check-c++
54572 check-gcc-c++:
54573 r=`${PWD_COMMAND}`; export r; \
54574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54575 $(HOST_EXPORTS) \
54576 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
54577 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
54579 .PHONY: check-gcc-fortran check-fortran
54580 check-gcc-fortran:
54581 r=`${PWD_COMMAND}`; export r; \
54582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54583 $(HOST_EXPORTS) \
54584 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
54585 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
54587 .PHONY: check-gcc-ada check-ada
54588 check-gcc-ada:
54589 r=`${PWD_COMMAND}`; export r; \
54590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54591 $(HOST_EXPORTS) \
54592 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
54593 check-ada: check-gcc-ada check-target-libada
54595 .PHONY: check-gcc-objc check-objc
54596 check-gcc-objc:
54597 r=`${PWD_COMMAND}`; export r; \
54598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54599 $(HOST_EXPORTS) \
54600 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
54601 check-objc: check-gcc-objc check-target-libobjc
54603 .PHONY: check-gcc-obj-c++ check-obj-c++
54604 check-gcc-obj-c++:
54605 r=`${PWD_COMMAND}`; export r; \
54606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54607 $(HOST_EXPORTS) \
54608 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
54609 check-obj-c++: check-gcc-obj-c++
54611 .PHONY: check-gcc-go check-go
54612 check-gcc-go:
54613 r=`${PWD_COMMAND}`; export r; \
54614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54615 $(HOST_EXPORTS) \
54616 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
54617 check-go: check-gcc-go check-target-libgo check-gotools
54619 .PHONY: check-gcc-brig check-brig
54620 check-gcc-brig:
54621 r=`${PWD_COMMAND}`; export r; \
54622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54623 $(HOST_EXPORTS) \
54624 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
54625 check-brig: check-gcc-brig check-target-libhsail-rt
54627 .PHONY: check-gcc-d check-d
54628 check-gcc-d:
54629 r=`${PWD_COMMAND}`; export r; \
54630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54631 $(HOST_EXPORTS) \
54632 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
54633 check-d: check-gcc-d check-target-libphobos
54636 # The gcc part of install-no-fixedincludes, which relies on an intimate
54637 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
54638 .PHONY: gcc-install-no-fixedincludes
54639 gcc-install-no-fixedincludes:
54640 @if [ -f ./gcc/Makefile ]; then \
54641 r=`${PWD_COMMAND}`; export r; \
54642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54643 $(HOST_EXPORTS) \
54644 (cd ./gcc \
54645 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
54646 else true; fi
54647 @endif gcc
54649 # ---------------------
54650 # GCC bootstrap support
54651 # ---------------------
54653 # We track the current stage (the one in 'gcc') in the stage_current file.
54654 # stage_last instead tracks the stage that was built last. These targets
54655 # are dummy when toplevel bootstrap is not active.
54657 # While making host and target tools, symlinks to the final stage must be
54658 # there, so $(unstage) should be run at various points. To avoid excessive
54659 # recursive invocations of make, we "inline" them using a variable. These
54660 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
54661 # to avoid warnings from the GNU Make job server.
54663 unstage = :
54664 stage = :
54665 current_stage = ""
54667 @if gcc-bootstrap
54668 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
54669 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
54670 current_stage = "`cat stage_current 2> /dev/null`"
54671 @endif gcc-bootstrap
54673 .PHONY: unstage stage
54674 unstage:
54675 @: $(MAKE); $(unstage)
54676 stage:
54677 @: $(MAKE); $(stage)
54679 # Disable commands for lean bootstrap.
54680 LEAN = false
54682 # We name the build directories for the various stages "stage1-gcc",
54683 # "stage2-gcc","stage3-gcc", etc.
54685 # Since the 'compare' process will fail (on debugging information) if any
54686 # directory names are different, we need to link the gcc directory for
54687 # the previous stage to a constant name ('prev-gcc'), and to make the name of
54688 # the build directories constant as well. For the latter, we use naked names
54689 # like 'gcc', because the scripts in that directory assume it. We use
54690 # mv on platforms where symlinks to directories do not work or are not
54691 # reliable.
54693 # 'touch' doesn't work right on some platforms.
54694 STAMP = echo timestamp >
54696 # We only want to compare .o files, so set this!
54697 objext = .o
54700 .PHONY: stage1-start stage1-end
54702 stage1-start::
54703 @: $(MAKE); $(stage); \
54704 echo stage1 > stage_current; \
54705 echo stage1 > stage_last; \
54706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54707 @if bfd
54708 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
54709 mkdir stage1-bfd; \
54710 mv stage1-bfd bfd
54711 @endif bfd
54712 @if opcodes
54713 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
54714 mkdir stage1-opcodes; \
54715 mv stage1-opcodes opcodes
54716 @endif opcodes
54717 @if binutils
54718 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
54719 mkdir stage1-binutils; \
54720 mv stage1-binutils binutils
54721 @endif binutils
54722 @if fixincludes
54723 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
54724 mkdir stage1-fixincludes; \
54725 mv stage1-fixincludes fixincludes
54726 @endif fixincludes
54727 @if gas
54728 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
54729 mkdir stage1-gas; \
54730 mv stage1-gas gas
54731 @endif gas
54732 @if gcc
54733 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
54734 mkdir stage1-gcc; \
54735 mv stage1-gcc gcc
54736 @endif gcc
54737 @if gmp
54738 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
54739 mkdir stage1-gmp; \
54740 mv stage1-gmp gmp
54741 @endif gmp
54742 @if mpfr
54743 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
54744 mkdir stage1-mpfr; \
54745 mv stage1-mpfr mpfr
54746 @endif mpfr
54747 @if mpc
54748 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
54749 mkdir stage1-mpc; \
54750 mv stage1-mpc mpc
54751 @endif mpc
54752 @if isl
54753 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
54754 mkdir stage1-isl; \
54755 mv stage1-isl isl
54756 @endif isl
54757 @if libelf
54758 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
54759 mkdir stage1-libelf; \
54760 mv stage1-libelf libelf
54761 @endif libelf
54762 @if gold
54763 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
54764 mkdir stage1-gold; \
54765 mv stage1-gold gold
54766 @endif gold
54767 @if intl
54768 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
54769 mkdir stage1-intl; \
54770 mv stage1-intl intl
54771 @endif intl
54772 @if ld
54773 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
54774 mkdir stage1-ld; \
54775 mv stage1-ld ld
54776 @endif ld
54777 @if libbacktrace
54778 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
54779 mkdir stage1-libbacktrace; \
54780 mv stage1-libbacktrace libbacktrace
54781 @endif libbacktrace
54782 @if libcpp
54783 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
54784 mkdir stage1-libcpp; \
54785 mv stage1-libcpp libcpp
54786 @endif libcpp
54787 @if libdecnumber
54788 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
54789 mkdir stage1-libdecnumber; \
54790 mv stage1-libdecnumber libdecnumber
54791 @endif libdecnumber
54792 @if libiberty
54793 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
54794 mkdir stage1-libiberty; \
54795 mv stage1-libiberty libiberty
54796 @endif libiberty
54797 @if libiberty-linker-plugin
54798 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
54799 mkdir stage1-libiberty-linker-plugin; \
54800 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
54801 @endif libiberty-linker-plugin
54802 @if libiconv
54803 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
54804 mkdir stage1-libiconv; \
54805 mv stage1-libiconv libiconv
54806 @endif libiconv
54807 @if zlib
54808 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
54809 mkdir stage1-zlib; \
54810 mv stage1-zlib zlib
54811 @endif zlib
54812 @if lto-plugin
54813 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
54814 mkdir stage1-lto-plugin; \
54815 mv stage1-lto-plugin lto-plugin
54816 @endif lto-plugin
54817 @if libctf
54818 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
54819 mkdir stage1-libctf; \
54820 mv stage1-libctf libctf
54821 @endif libctf
54822 @[ -d stage1-$(TARGET_SUBDIR) ] || \
54823 mkdir stage1-$(TARGET_SUBDIR); \
54824 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
54826 stage1-end::
54827 @if bfd
54828 @if test -d $(HOST_SUBDIR)/bfd; then \
54829 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
54831 @endif bfd
54832 @if opcodes
54833 @if test -d $(HOST_SUBDIR)/opcodes; then \
54834 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
54836 @endif opcodes
54837 @if binutils
54838 @if test -d $(HOST_SUBDIR)/binutils; then \
54839 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
54841 @endif binutils
54842 @if fixincludes
54843 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54844 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
54846 @endif fixincludes
54847 @if gas
54848 @if test -d $(HOST_SUBDIR)/gas; then \
54849 cd $(HOST_SUBDIR); mv gas stage1-gas; \
54851 @endif gas
54852 @if gcc
54853 @if test -d $(HOST_SUBDIR)/gcc; then \
54854 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
54856 @endif gcc
54857 @if gmp
54858 @if test -d $(HOST_SUBDIR)/gmp; then \
54859 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
54861 @endif gmp
54862 @if mpfr
54863 @if test -d $(HOST_SUBDIR)/mpfr; then \
54864 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
54866 @endif mpfr
54867 @if mpc
54868 @if test -d $(HOST_SUBDIR)/mpc; then \
54869 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
54871 @endif mpc
54872 @if isl
54873 @if test -d $(HOST_SUBDIR)/isl; then \
54874 cd $(HOST_SUBDIR); mv isl stage1-isl; \
54876 @endif isl
54877 @if libelf
54878 @if test -d $(HOST_SUBDIR)/libelf; then \
54879 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
54881 @endif libelf
54882 @if gold
54883 @if test -d $(HOST_SUBDIR)/gold; then \
54884 cd $(HOST_SUBDIR); mv gold stage1-gold; \
54886 @endif gold
54887 @if intl
54888 @if test -d $(HOST_SUBDIR)/intl; then \
54889 cd $(HOST_SUBDIR); mv intl stage1-intl; \
54891 @endif intl
54892 @if ld
54893 @if test -d $(HOST_SUBDIR)/ld; then \
54894 cd $(HOST_SUBDIR); mv ld stage1-ld; \
54896 @endif ld
54897 @if libbacktrace
54898 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54899 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
54901 @endif libbacktrace
54902 @if libcpp
54903 @if test -d $(HOST_SUBDIR)/libcpp; then \
54904 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
54906 @endif libcpp
54907 @if libdecnumber
54908 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54909 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
54911 @endif libdecnumber
54912 @if libiberty
54913 @if test -d $(HOST_SUBDIR)/libiberty; then \
54914 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
54916 @endif libiberty
54917 @if libiberty-linker-plugin
54918 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54919 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
54921 @endif libiberty-linker-plugin
54922 @if libiconv
54923 @if test -d $(HOST_SUBDIR)/libiconv; then \
54924 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
54926 @endif libiconv
54927 @if zlib
54928 @if test -d $(HOST_SUBDIR)/zlib; then \
54929 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
54931 @endif zlib
54932 @if lto-plugin
54933 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54934 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
54936 @endif lto-plugin
54937 @if libctf
54938 @if test -d $(HOST_SUBDIR)/libctf; then \
54939 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
54941 @endif libctf
54942 @if test -d $(TARGET_SUBDIR); then \
54943 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
54945 rm -f stage_current
54947 # Bubble a bug fix through all the stages up to stage 1. They are
54948 # remade, but not reconfigured. The next stage (if any) will not be
54949 # reconfigured either.
54950 .PHONY: stage1-bubble
54951 stage1-bubble::
54952 @r=`${PWD_COMMAND}`; export r; \
54953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54954 if test -f stage1-lean ; then \
54955 echo Skipping rebuild of stage1; \
54956 else \
54957 $(MAKE) stage1-start; \
54958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
54961 .PHONY: all-stage1 clean-stage1
54962 do-clean: clean-stage1
54964 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54965 # only possibility, but now it conflicts with no-bootstrap rules
54966 @if gcc-bootstrap
54971 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54973 .PHONY: distclean-stage1
54974 distclean-stage1::
54975 @: $(MAKE); $(stage)
54976 @test "`cat stage_last`" != stage1 || rm -f stage_last
54977 rm -rf stage1-*
54980 @endif gcc-bootstrap
54983 .PHONY: stage2-start stage2-end
54985 stage2-start::
54986 @: $(MAKE); $(stage); \
54987 echo stage2 > stage_current; \
54988 echo stage2 > stage_last; \
54989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54990 @if bfd
54991 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
54992 mkdir stage2-bfd; \
54993 mv stage2-bfd bfd; \
54994 mv stage1-bfd prev-bfd || test -f stage1-lean
54995 @endif bfd
54996 @if opcodes
54997 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
54998 mkdir stage2-opcodes; \
54999 mv stage2-opcodes opcodes; \
55000 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55001 @endif opcodes
55002 @if binutils
55003 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
55004 mkdir stage2-binutils; \
55005 mv stage2-binutils binutils; \
55006 mv stage1-binutils prev-binutils || test -f stage1-lean
55007 @endif binutils
55008 @if fixincludes
55009 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
55010 mkdir stage2-fixincludes; \
55011 mv stage2-fixincludes fixincludes; \
55012 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55013 @endif fixincludes
55014 @if gas
55015 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
55016 mkdir stage2-gas; \
55017 mv stage2-gas gas; \
55018 mv stage1-gas prev-gas || test -f stage1-lean
55019 @endif gas
55020 @if gcc
55021 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
55022 mkdir stage2-gcc; \
55023 mv stage2-gcc gcc; \
55024 mv stage1-gcc prev-gcc || test -f stage1-lean
55025 @endif gcc
55026 @if gmp
55027 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
55028 mkdir stage2-gmp; \
55029 mv stage2-gmp gmp; \
55030 mv stage1-gmp prev-gmp || test -f stage1-lean
55031 @endif gmp
55032 @if mpfr
55033 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
55034 mkdir stage2-mpfr; \
55035 mv stage2-mpfr mpfr; \
55036 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55037 @endif mpfr
55038 @if mpc
55039 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
55040 mkdir stage2-mpc; \
55041 mv stage2-mpc mpc; \
55042 mv stage1-mpc prev-mpc || test -f stage1-lean
55043 @endif mpc
55044 @if isl
55045 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
55046 mkdir stage2-isl; \
55047 mv stage2-isl isl; \
55048 mv stage1-isl prev-isl || test -f stage1-lean
55049 @endif isl
55050 @if libelf
55051 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
55052 mkdir stage2-libelf; \
55053 mv stage2-libelf libelf; \
55054 mv stage1-libelf prev-libelf || test -f stage1-lean
55055 @endif libelf
55056 @if gold
55057 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
55058 mkdir stage2-gold; \
55059 mv stage2-gold gold; \
55060 mv stage1-gold prev-gold || test -f stage1-lean
55061 @endif gold
55062 @if intl
55063 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
55064 mkdir stage2-intl; \
55065 mv stage2-intl intl; \
55066 mv stage1-intl prev-intl || test -f stage1-lean
55067 @endif intl
55068 @if ld
55069 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
55070 mkdir stage2-ld; \
55071 mv stage2-ld ld; \
55072 mv stage1-ld prev-ld || test -f stage1-lean
55073 @endif ld
55074 @if libbacktrace
55075 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
55076 mkdir stage2-libbacktrace; \
55077 mv stage2-libbacktrace libbacktrace; \
55078 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55079 @endif libbacktrace
55080 @if libcpp
55081 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
55082 mkdir stage2-libcpp; \
55083 mv stage2-libcpp libcpp; \
55084 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55085 @endif libcpp
55086 @if libdecnumber
55087 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
55088 mkdir stage2-libdecnumber; \
55089 mv stage2-libdecnumber libdecnumber; \
55090 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55091 @endif libdecnumber
55092 @if libiberty
55093 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
55094 mkdir stage2-libiberty; \
55095 mv stage2-libiberty libiberty; \
55096 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55097 @endif libiberty
55098 @if libiberty-linker-plugin
55099 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
55100 mkdir stage2-libiberty-linker-plugin; \
55101 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
55102 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55103 @endif libiberty-linker-plugin
55104 @if libiconv
55105 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
55106 mkdir stage2-libiconv; \
55107 mv stage2-libiconv libiconv; \
55108 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55109 @endif libiconv
55110 @if zlib
55111 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
55112 mkdir stage2-zlib; \
55113 mv stage2-zlib zlib; \
55114 mv stage1-zlib prev-zlib || test -f stage1-lean
55115 @endif zlib
55116 @if lto-plugin
55117 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
55118 mkdir stage2-lto-plugin; \
55119 mv stage2-lto-plugin lto-plugin; \
55120 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55121 @endif lto-plugin
55122 @if libctf
55123 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
55124 mkdir stage2-libctf; \
55125 mv stage2-libctf libctf; \
55126 mv stage1-libctf prev-libctf || test -f stage1-lean
55127 @endif libctf
55128 @[ -d stage2-$(TARGET_SUBDIR) ] || \
55129 mkdir stage2-$(TARGET_SUBDIR); \
55130 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55131 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55133 stage2-end::
55134 @if bfd
55135 @if test -d $(HOST_SUBDIR)/bfd; then \
55136 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
55137 mv prev-bfd stage1-bfd; : ; \
55139 @endif bfd
55140 @if opcodes
55141 @if test -d $(HOST_SUBDIR)/opcodes; then \
55142 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
55143 mv prev-opcodes stage1-opcodes; : ; \
55145 @endif opcodes
55146 @if binutils
55147 @if test -d $(HOST_SUBDIR)/binutils; then \
55148 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
55149 mv prev-binutils stage1-binutils; : ; \
55151 @endif binutils
55152 @if fixincludes
55153 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55154 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
55155 mv prev-fixincludes stage1-fixincludes; : ; \
55157 @endif fixincludes
55158 @if gas
55159 @if test -d $(HOST_SUBDIR)/gas; then \
55160 cd $(HOST_SUBDIR); mv gas stage2-gas; \
55161 mv prev-gas stage1-gas; : ; \
55163 @endif gas
55164 @if gcc
55165 @if test -d $(HOST_SUBDIR)/gcc; then \
55166 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
55167 mv prev-gcc stage1-gcc; : ; \
55169 @endif gcc
55170 @if gmp
55171 @if test -d $(HOST_SUBDIR)/gmp; then \
55172 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
55173 mv prev-gmp stage1-gmp; : ; \
55175 @endif gmp
55176 @if mpfr
55177 @if test -d $(HOST_SUBDIR)/mpfr; then \
55178 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
55179 mv prev-mpfr stage1-mpfr; : ; \
55181 @endif mpfr
55182 @if mpc
55183 @if test -d $(HOST_SUBDIR)/mpc; then \
55184 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
55185 mv prev-mpc stage1-mpc; : ; \
55187 @endif mpc
55188 @if isl
55189 @if test -d $(HOST_SUBDIR)/isl; then \
55190 cd $(HOST_SUBDIR); mv isl stage2-isl; \
55191 mv prev-isl stage1-isl; : ; \
55193 @endif isl
55194 @if libelf
55195 @if test -d $(HOST_SUBDIR)/libelf; then \
55196 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
55197 mv prev-libelf stage1-libelf; : ; \
55199 @endif libelf
55200 @if gold
55201 @if test -d $(HOST_SUBDIR)/gold; then \
55202 cd $(HOST_SUBDIR); mv gold stage2-gold; \
55203 mv prev-gold stage1-gold; : ; \
55205 @endif gold
55206 @if intl
55207 @if test -d $(HOST_SUBDIR)/intl; then \
55208 cd $(HOST_SUBDIR); mv intl stage2-intl; \
55209 mv prev-intl stage1-intl; : ; \
55211 @endif intl
55212 @if ld
55213 @if test -d $(HOST_SUBDIR)/ld; then \
55214 cd $(HOST_SUBDIR); mv ld stage2-ld; \
55215 mv prev-ld stage1-ld; : ; \
55217 @endif ld
55218 @if libbacktrace
55219 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55220 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
55221 mv prev-libbacktrace stage1-libbacktrace; : ; \
55223 @endif libbacktrace
55224 @if libcpp
55225 @if test -d $(HOST_SUBDIR)/libcpp; then \
55226 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
55227 mv prev-libcpp stage1-libcpp; : ; \
55229 @endif libcpp
55230 @if libdecnumber
55231 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55232 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
55233 mv prev-libdecnumber stage1-libdecnumber; : ; \
55235 @endif libdecnumber
55236 @if libiberty
55237 @if test -d $(HOST_SUBDIR)/libiberty; then \
55238 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
55239 mv prev-libiberty stage1-libiberty; : ; \
55241 @endif libiberty
55242 @if libiberty-linker-plugin
55243 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55244 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
55245 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55247 @endif libiberty-linker-plugin
55248 @if libiconv
55249 @if test -d $(HOST_SUBDIR)/libiconv; then \
55250 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
55251 mv prev-libiconv stage1-libiconv; : ; \
55253 @endif libiconv
55254 @if zlib
55255 @if test -d $(HOST_SUBDIR)/zlib; then \
55256 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
55257 mv prev-zlib stage1-zlib; : ; \
55259 @endif zlib
55260 @if lto-plugin
55261 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55262 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
55263 mv prev-lto-plugin stage1-lto-plugin; : ; \
55265 @endif lto-plugin
55266 @if libctf
55267 @if test -d $(HOST_SUBDIR)/libctf; then \
55268 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
55269 mv prev-libctf stage1-libctf; : ; \
55271 @endif libctf
55272 @if test -d $(TARGET_SUBDIR); then \
55273 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
55274 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55276 rm -f stage_current
55278 # Bubble a bug fix through all the stages up to stage 2. They are
55279 # remade, but not reconfigured. The next stage (if any) will not be
55280 # reconfigured either.
55281 .PHONY: stage2-bubble
55282 stage2-bubble:: stage1-bubble
55283 @r=`${PWD_COMMAND}`; export r; \
55284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55285 if test -f stage2-lean || test -f stage1-lean ; then \
55286 echo Skipping rebuild of stage2; \
55287 else \
55288 $(MAKE) stage2-start; \
55289 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
55292 .PHONY: all-stage2 clean-stage2
55293 do-clean: clean-stage2
55295 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55296 # only possibility, but now it conflicts with no-bootstrap rules
55297 @if gcc-bootstrap
55301 .PHONY: bootstrap2 bootstrap2-lean
55302 bootstrap2:
55303 echo stage2 > stage_final
55304 @r=`${PWD_COMMAND}`; export r; \
55305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55306 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
55307 @: $(MAKE); $(unstage)
55308 @r=`${PWD_COMMAND}`; export r; \
55309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55310 TFLAGS="$(STAGE2_TFLAGS)"; \
55311 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55313 bootstrap2-lean:
55314 echo stage2 > stage_final
55315 @r=`${PWD_COMMAND}`; export r; \
55316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55317 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
55318 @: $(MAKE); $(unstage)
55319 @r=`${PWD_COMMAND}`; export r; \
55320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55321 TFLAGS="$(STAGE2_TFLAGS)"; \
55322 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55325 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55326 distclean-stage1:: distclean-stage2
55327 .PHONY: distclean-stage2
55328 distclean-stage2::
55329 @: $(MAKE); $(stage)
55330 @test "`cat stage_last`" != stage2 || rm -f stage_last
55331 rm -rf stage2-*
55334 @endif gcc-bootstrap
55337 .PHONY: stage3-start stage3-end
55339 stage3-start::
55340 @: $(MAKE); $(stage); \
55341 echo stage3 > stage_current; \
55342 echo stage3 > stage_last; \
55343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55344 @if bfd
55345 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
55346 mkdir stage3-bfd; \
55347 mv stage3-bfd bfd; \
55348 mv stage2-bfd prev-bfd || test -f stage2-lean
55349 @endif bfd
55350 @if opcodes
55351 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
55352 mkdir stage3-opcodes; \
55353 mv stage3-opcodes opcodes; \
55354 mv stage2-opcodes prev-opcodes || test -f stage2-lean
55355 @endif opcodes
55356 @if binutils
55357 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
55358 mkdir stage3-binutils; \
55359 mv stage3-binutils binutils; \
55360 mv stage2-binutils prev-binutils || test -f stage2-lean
55361 @endif binutils
55362 @if fixincludes
55363 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
55364 mkdir stage3-fixincludes; \
55365 mv stage3-fixincludes fixincludes; \
55366 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
55367 @endif fixincludes
55368 @if gas
55369 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
55370 mkdir stage3-gas; \
55371 mv stage3-gas gas; \
55372 mv stage2-gas prev-gas || test -f stage2-lean
55373 @endif gas
55374 @if gcc
55375 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
55376 mkdir stage3-gcc; \
55377 mv stage3-gcc gcc; \
55378 mv stage2-gcc prev-gcc || test -f stage2-lean
55379 @endif gcc
55380 @if gmp
55381 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
55382 mkdir stage3-gmp; \
55383 mv stage3-gmp gmp; \
55384 mv stage2-gmp prev-gmp || test -f stage2-lean
55385 @endif gmp
55386 @if mpfr
55387 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
55388 mkdir stage3-mpfr; \
55389 mv stage3-mpfr mpfr; \
55390 mv stage2-mpfr prev-mpfr || test -f stage2-lean
55391 @endif mpfr
55392 @if mpc
55393 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
55394 mkdir stage3-mpc; \
55395 mv stage3-mpc mpc; \
55396 mv stage2-mpc prev-mpc || test -f stage2-lean
55397 @endif mpc
55398 @if isl
55399 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
55400 mkdir stage3-isl; \
55401 mv stage3-isl isl; \
55402 mv stage2-isl prev-isl || test -f stage2-lean
55403 @endif isl
55404 @if libelf
55405 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
55406 mkdir stage3-libelf; \
55407 mv stage3-libelf libelf; \
55408 mv stage2-libelf prev-libelf || test -f stage2-lean
55409 @endif libelf
55410 @if gold
55411 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
55412 mkdir stage3-gold; \
55413 mv stage3-gold gold; \
55414 mv stage2-gold prev-gold || test -f stage2-lean
55415 @endif gold
55416 @if intl
55417 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
55418 mkdir stage3-intl; \
55419 mv stage3-intl intl; \
55420 mv stage2-intl prev-intl || test -f stage2-lean
55421 @endif intl
55422 @if ld
55423 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
55424 mkdir stage3-ld; \
55425 mv stage3-ld ld; \
55426 mv stage2-ld prev-ld || test -f stage2-lean
55427 @endif ld
55428 @if libbacktrace
55429 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
55430 mkdir stage3-libbacktrace; \
55431 mv stage3-libbacktrace libbacktrace; \
55432 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
55433 @endif libbacktrace
55434 @if libcpp
55435 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
55436 mkdir stage3-libcpp; \
55437 mv stage3-libcpp libcpp; \
55438 mv stage2-libcpp prev-libcpp || test -f stage2-lean
55439 @endif libcpp
55440 @if libdecnumber
55441 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
55442 mkdir stage3-libdecnumber; \
55443 mv stage3-libdecnumber libdecnumber; \
55444 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
55445 @endif libdecnumber
55446 @if libiberty
55447 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
55448 mkdir stage3-libiberty; \
55449 mv stage3-libiberty libiberty; \
55450 mv stage2-libiberty prev-libiberty || test -f stage2-lean
55451 @endif libiberty
55452 @if libiberty-linker-plugin
55453 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
55454 mkdir stage3-libiberty-linker-plugin; \
55455 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
55456 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
55457 @endif libiberty-linker-plugin
55458 @if libiconv
55459 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
55460 mkdir stage3-libiconv; \
55461 mv stage3-libiconv libiconv; \
55462 mv stage2-libiconv prev-libiconv || test -f stage2-lean
55463 @endif libiconv
55464 @if zlib
55465 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
55466 mkdir stage3-zlib; \
55467 mv stage3-zlib zlib; \
55468 mv stage2-zlib prev-zlib || test -f stage2-lean
55469 @endif zlib
55470 @if lto-plugin
55471 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
55472 mkdir stage3-lto-plugin; \
55473 mv stage3-lto-plugin lto-plugin; \
55474 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
55475 @endif lto-plugin
55476 @if libctf
55477 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
55478 mkdir stage3-libctf; \
55479 mv stage3-libctf libctf; \
55480 mv stage2-libctf prev-libctf || test -f stage2-lean
55481 @endif libctf
55482 @[ -d stage3-$(TARGET_SUBDIR) ] || \
55483 mkdir stage3-$(TARGET_SUBDIR); \
55484 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55485 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
55487 stage3-end::
55488 @if bfd
55489 @if test -d $(HOST_SUBDIR)/bfd; then \
55490 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
55491 mv prev-bfd stage2-bfd; : ; \
55493 @endif bfd
55494 @if opcodes
55495 @if test -d $(HOST_SUBDIR)/opcodes; then \
55496 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
55497 mv prev-opcodes stage2-opcodes; : ; \
55499 @endif opcodes
55500 @if binutils
55501 @if test -d $(HOST_SUBDIR)/binutils; then \
55502 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
55503 mv prev-binutils stage2-binutils; : ; \
55505 @endif binutils
55506 @if fixincludes
55507 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55508 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
55509 mv prev-fixincludes stage2-fixincludes; : ; \
55511 @endif fixincludes
55512 @if gas
55513 @if test -d $(HOST_SUBDIR)/gas; then \
55514 cd $(HOST_SUBDIR); mv gas stage3-gas; \
55515 mv prev-gas stage2-gas; : ; \
55517 @endif gas
55518 @if gcc
55519 @if test -d $(HOST_SUBDIR)/gcc; then \
55520 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
55521 mv prev-gcc stage2-gcc; : ; \
55523 @endif gcc
55524 @if gmp
55525 @if test -d $(HOST_SUBDIR)/gmp; then \
55526 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
55527 mv prev-gmp stage2-gmp; : ; \
55529 @endif gmp
55530 @if mpfr
55531 @if test -d $(HOST_SUBDIR)/mpfr; then \
55532 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
55533 mv prev-mpfr stage2-mpfr; : ; \
55535 @endif mpfr
55536 @if mpc
55537 @if test -d $(HOST_SUBDIR)/mpc; then \
55538 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
55539 mv prev-mpc stage2-mpc; : ; \
55541 @endif mpc
55542 @if isl
55543 @if test -d $(HOST_SUBDIR)/isl; then \
55544 cd $(HOST_SUBDIR); mv isl stage3-isl; \
55545 mv prev-isl stage2-isl; : ; \
55547 @endif isl
55548 @if libelf
55549 @if test -d $(HOST_SUBDIR)/libelf; then \
55550 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
55551 mv prev-libelf stage2-libelf; : ; \
55553 @endif libelf
55554 @if gold
55555 @if test -d $(HOST_SUBDIR)/gold; then \
55556 cd $(HOST_SUBDIR); mv gold stage3-gold; \
55557 mv prev-gold stage2-gold; : ; \
55559 @endif gold
55560 @if intl
55561 @if test -d $(HOST_SUBDIR)/intl; then \
55562 cd $(HOST_SUBDIR); mv intl stage3-intl; \
55563 mv prev-intl stage2-intl; : ; \
55565 @endif intl
55566 @if ld
55567 @if test -d $(HOST_SUBDIR)/ld; then \
55568 cd $(HOST_SUBDIR); mv ld stage3-ld; \
55569 mv prev-ld stage2-ld; : ; \
55571 @endif ld
55572 @if libbacktrace
55573 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55574 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
55575 mv prev-libbacktrace stage2-libbacktrace; : ; \
55577 @endif libbacktrace
55578 @if libcpp
55579 @if test -d $(HOST_SUBDIR)/libcpp; then \
55580 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
55581 mv prev-libcpp stage2-libcpp; : ; \
55583 @endif libcpp
55584 @if libdecnumber
55585 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55586 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
55587 mv prev-libdecnumber stage2-libdecnumber; : ; \
55589 @endif libdecnumber
55590 @if libiberty
55591 @if test -d $(HOST_SUBDIR)/libiberty; then \
55592 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
55593 mv prev-libiberty stage2-libiberty; : ; \
55595 @endif libiberty
55596 @if libiberty-linker-plugin
55597 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55598 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
55599 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
55601 @endif libiberty-linker-plugin
55602 @if libiconv
55603 @if test -d $(HOST_SUBDIR)/libiconv; then \
55604 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
55605 mv prev-libiconv stage2-libiconv; : ; \
55607 @endif libiconv
55608 @if zlib
55609 @if test -d $(HOST_SUBDIR)/zlib; then \
55610 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
55611 mv prev-zlib stage2-zlib; : ; \
55613 @endif zlib
55614 @if lto-plugin
55615 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55616 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
55617 mv prev-lto-plugin stage2-lto-plugin; : ; \
55619 @endif lto-plugin
55620 @if libctf
55621 @if test -d $(HOST_SUBDIR)/libctf; then \
55622 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
55623 mv prev-libctf stage2-libctf; : ; \
55625 @endif libctf
55626 @if test -d $(TARGET_SUBDIR); then \
55627 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
55628 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
55630 rm -f stage_current
55632 # Bubble a bug fix through all the stages up to stage 3. They are
55633 # remade, but not reconfigured. The next stage (if any) will not be
55634 # reconfigured either.
55635 .PHONY: stage3-bubble
55636 stage3-bubble:: stage2-bubble
55637 @r=`${PWD_COMMAND}`; export r; \
55638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55639 if test -f stage3-lean || test -f stage2-lean ; then \
55640 echo Skipping rebuild of stage3; \
55641 else \
55642 $(MAKE) stage3-start; \
55643 if $(LEAN); then \
55644 rm -rf stage1-*; \
55645 $(STAMP) stage1-lean; \
55646 fi; \
55647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
55649 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
55651 .PHONY: all-stage3 clean-stage3
55652 do-clean: clean-stage3
55654 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55655 # only possibility, but now it conflicts with no-bootstrap rules
55656 @if gcc-bootstrap
55658 compare:
55659 @r=`${PWD_COMMAND}`; export r; \
55660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55661 if test -f stage2-lean; then \
55662 echo Cannot compare object files as stage 2 was deleted.; \
55663 exit 0; \
55664 fi; \
55665 : $(MAKE); $(stage); \
55666 rm -f .bad_compare; \
55667 echo Comparing stages 2 and 3; \
55668 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
55669 files=`find stage3-* -name "*$(objext)" -print | \
55670 sed -n s,^stage$$sed-,,p`; \
55671 for file in $${files} ${extra-compare}; do \
55672 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
55673 if test ! -f $$f1; then continue; fi; \
55674 $(do-compare) > /dev/null 2>&1; \
55675 if test $$? -eq 1; then \
55676 case $$file in \
55677 @compare_exclusions@) \
55678 echo warning: $$file differs ;; \
55679 *) \
55680 echo $$file differs >> .bad_compare ;; \
55681 esac; \
55682 fi; \
55683 done; \
55684 if [ -f .bad_compare ]; then \
55685 echo "Bootstrap comparison failure!"; \
55686 cat .bad_compare; \
55687 exit 1; \
55688 else \
55689 echo Comparison successful.; \
55690 fi; \
55691 $(STAMP) compare
55692 if $(LEAN); then \
55693 rm -rf stage2-*; \
55694 $(STAMP) stage2-lean; \
55699 .PHONY: bootstrap bootstrap-lean
55700 bootstrap:
55701 echo stage3 > stage_final
55702 @r=`${PWD_COMMAND}`; export r; \
55703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55705 @: $(MAKE); $(unstage)
55706 @r=`${PWD_COMMAND}`; export r; \
55707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55708 TFLAGS="$(STAGE3_TFLAGS)"; \
55709 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55711 bootstrap-lean:
55712 echo stage3 > stage_final
55713 @r=`${PWD_COMMAND}`; export r; \
55714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55715 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
55716 @: $(MAKE); $(unstage)
55717 @r=`${PWD_COMMAND}`; export r; \
55718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55719 TFLAGS="$(STAGE3_TFLAGS)"; \
55720 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55723 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55724 distclean-stage2:: distclean-stage3
55725 .PHONY: distclean-stage3
55726 distclean-stage3::
55727 @: $(MAKE); $(stage)
55728 @test "`cat stage_last`" != stage3 || rm -f stage_last
55729 rm -rf stage3-* compare
55732 .PHONY: cleanstrap
55733 cleanstrap: do-distclean local-clean
55734 echo stage3 > stage_final
55735 @r=`${PWD_COMMAND}`; export r; \
55736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55737 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55738 @: $(MAKE); $(unstage)
55739 @r=`${PWD_COMMAND}`; export r; \
55740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55741 TFLAGS="$(STAGE3_TFLAGS)"; \
55742 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55744 @endif gcc-bootstrap
55747 .PHONY: stage4-start stage4-end
55749 stage4-start::
55750 @: $(MAKE); $(stage); \
55751 echo stage4 > stage_current; \
55752 echo stage4 > stage_last; \
55753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55754 @if bfd
55755 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
55756 mkdir stage4-bfd; \
55757 mv stage4-bfd bfd; \
55758 mv stage3-bfd prev-bfd || test -f stage3-lean
55759 @endif bfd
55760 @if opcodes
55761 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
55762 mkdir stage4-opcodes; \
55763 mv stage4-opcodes opcodes; \
55764 mv stage3-opcodes prev-opcodes || test -f stage3-lean
55765 @endif opcodes
55766 @if binutils
55767 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
55768 mkdir stage4-binutils; \
55769 mv stage4-binutils binutils; \
55770 mv stage3-binutils prev-binutils || test -f stage3-lean
55771 @endif binutils
55772 @if fixincludes
55773 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
55774 mkdir stage4-fixincludes; \
55775 mv stage4-fixincludes fixincludes; \
55776 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
55777 @endif fixincludes
55778 @if gas
55779 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
55780 mkdir stage4-gas; \
55781 mv stage4-gas gas; \
55782 mv stage3-gas prev-gas || test -f stage3-lean
55783 @endif gas
55784 @if gcc
55785 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
55786 mkdir stage4-gcc; \
55787 mv stage4-gcc gcc; \
55788 mv stage3-gcc prev-gcc || test -f stage3-lean
55789 @endif gcc
55790 @if gmp
55791 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
55792 mkdir stage4-gmp; \
55793 mv stage4-gmp gmp; \
55794 mv stage3-gmp prev-gmp || test -f stage3-lean
55795 @endif gmp
55796 @if mpfr
55797 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
55798 mkdir stage4-mpfr; \
55799 mv stage4-mpfr mpfr; \
55800 mv stage3-mpfr prev-mpfr || test -f stage3-lean
55801 @endif mpfr
55802 @if mpc
55803 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
55804 mkdir stage4-mpc; \
55805 mv stage4-mpc mpc; \
55806 mv stage3-mpc prev-mpc || test -f stage3-lean
55807 @endif mpc
55808 @if isl
55809 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
55810 mkdir stage4-isl; \
55811 mv stage4-isl isl; \
55812 mv stage3-isl prev-isl || test -f stage3-lean
55813 @endif isl
55814 @if libelf
55815 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
55816 mkdir stage4-libelf; \
55817 mv stage4-libelf libelf; \
55818 mv stage3-libelf prev-libelf || test -f stage3-lean
55819 @endif libelf
55820 @if gold
55821 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
55822 mkdir stage4-gold; \
55823 mv stage4-gold gold; \
55824 mv stage3-gold prev-gold || test -f stage3-lean
55825 @endif gold
55826 @if intl
55827 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
55828 mkdir stage4-intl; \
55829 mv stage4-intl intl; \
55830 mv stage3-intl prev-intl || test -f stage3-lean
55831 @endif intl
55832 @if ld
55833 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
55834 mkdir stage4-ld; \
55835 mv stage4-ld ld; \
55836 mv stage3-ld prev-ld || test -f stage3-lean
55837 @endif ld
55838 @if libbacktrace
55839 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
55840 mkdir stage4-libbacktrace; \
55841 mv stage4-libbacktrace libbacktrace; \
55842 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
55843 @endif libbacktrace
55844 @if libcpp
55845 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
55846 mkdir stage4-libcpp; \
55847 mv stage4-libcpp libcpp; \
55848 mv stage3-libcpp prev-libcpp || test -f stage3-lean
55849 @endif libcpp
55850 @if libdecnumber
55851 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
55852 mkdir stage4-libdecnumber; \
55853 mv stage4-libdecnumber libdecnumber; \
55854 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
55855 @endif libdecnumber
55856 @if libiberty
55857 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
55858 mkdir stage4-libiberty; \
55859 mv stage4-libiberty libiberty; \
55860 mv stage3-libiberty prev-libiberty || test -f stage3-lean
55861 @endif libiberty
55862 @if libiberty-linker-plugin
55863 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
55864 mkdir stage4-libiberty-linker-plugin; \
55865 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
55866 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
55867 @endif libiberty-linker-plugin
55868 @if libiconv
55869 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
55870 mkdir stage4-libiconv; \
55871 mv stage4-libiconv libiconv; \
55872 mv stage3-libiconv prev-libiconv || test -f stage3-lean
55873 @endif libiconv
55874 @if zlib
55875 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
55876 mkdir stage4-zlib; \
55877 mv stage4-zlib zlib; \
55878 mv stage3-zlib prev-zlib || test -f stage3-lean
55879 @endif zlib
55880 @if lto-plugin
55881 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
55882 mkdir stage4-lto-plugin; \
55883 mv stage4-lto-plugin lto-plugin; \
55884 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
55885 @endif lto-plugin
55886 @if libctf
55887 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
55888 mkdir stage4-libctf; \
55889 mv stage4-libctf libctf; \
55890 mv stage3-libctf prev-libctf || test -f stage3-lean
55891 @endif libctf
55892 @[ -d stage4-$(TARGET_SUBDIR) ] || \
55893 mkdir stage4-$(TARGET_SUBDIR); \
55894 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55895 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
55897 stage4-end::
55898 @if bfd
55899 @if test -d $(HOST_SUBDIR)/bfd; then \
55900 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
55901 mv prev-bfd stage3-bfd; : ; \
55903 @endif bfd
55904 @if opcodes
55905 @if test -d $(HOST_SUBDIR)/opcodes; then \
55906 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
55907 mv prev-opcodes stage3-opcodes; : ; \
55909 @endif opcodes
55910 @if binutils
55911 @if test -d $(HOST_SUBDIR)/binutils; then \
55912 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
55913 mv prev-binutils stage3-binutils; : ; \
55915 @endif binutils
55916 @if fixincludes
55917 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55918 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
55919 mv prev-fixincludes stage3-fixincludes; : ; \
55921 @endif fixincludes
55922 @if gas
55923 @if test -d $(HOST_SUBDIR)/gas; then \
55924 cd $(HOST_SUBDIR); mv gas stage4-gas; \
55925 mv prev-gas stage3-gas; : ; \
55927 @endif gas
55928 @if gcc
55929 @if test -d $(HOST_SUBDIR)/gcc; then \
55930 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
55931 mv prev-gcc stage3-gcc; : ; \
55933 @endif gcc
55934 @if gmp
55935 @if test -d $(HOST_SUBDIR)/gmp; then \
55936 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
55937 mv prev-gmp stage3-gmp; : ; \
55939 @endif gmp
55940 @if mpfr
55941 @if test -d $(HOST_SUBDIR)/mpfr; then \
55942 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
55943 mv prev-mpfr stage3-mpfr; : ; \
55945 @endif mpfr
55946 @if mpc
55947 @if test -d $(HOST_SUBDIR)/mpc; then \
55948 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
55949 mv prev-mpc stage3-mpc; : ; \
55951 @endif mpc
55952 @if isl
55953 @if test -d $(HOST_SUBDIR)/isl; then \
55954 cd $(HOST_SUBDIR); mv isl stage4-isl; \
55955 mv prev-isl stage3-isl; : ; \
55957 @endif isl
55958 @if libelf
55959 @if test -d $(HOST_SUBDIR)/libelf; then \
55960 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
55961 mv prev-libelf stage3-libelf; : ; \
55963 @endif libelf
55964 @if gold
55965 @if test -d $(HOST_SUBDIR)/gold; then \
55966 cd $(HOST_SUBDIR); mv gold stage4-gold; \
55967 mv prev-gold stage3-gold; : ; \
55969 @endif gold
55970 @if intl
55971 @if test -d $(HOST_SUBDIR)/intl; then \
55972 cd $(HOST_SUBDIR); mv intl stage4-intl; \
55973 mv prev-intl stage3-intl; : ; \
55975 @endif intl
55976 @if ld
55977 @if test -d $(HOST_SUBDIR)/ld; then \
55978 cd $(HOST_SUBDIR); mv ld stage4-ld; \
55979 mv prev-ld stage3-ld; : ; \
55981 @endif ld
55982 @if libbacktrace
55983 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55984 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
55985 mv prev-libbacktrace stage3-libbacktrace; : ; \
55987 @endif libbacktrace
55988 @if libcpp
55989 @if test -d $(HOST_SUBDIR)/libcpp; then \
55990 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
55991 mv prev-libcpp stage3-libcpp; : ; \
55993 @endif libcpp
55994 @if libdecnumber
55995 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55996 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
55997 mv prev-libdecnumber stage3-libdecnumber; : ; \
55999 @endif libdecnumber
56000 @if libiberty
56001 @if test -d $(HOST_SUBDIR)/libiberty; then \
56002 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
56003 mv prev-libiberty stage3-libiberty; : ; \
56005 @endif libiberty
56006 @if libiberty-linker-plugin
56007 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56008 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
56009 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
56011 @endif libiberty-linker-plugin
56012 @if libiconv
56013 @if test -d $(HOST_SUBDIR)/libiconv; then \
56014 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
56015 mv prev-libiconv stage3-libiconv; : ; \
56017 @endif libiconv
56018 @if zlib
56019 @if test -d $(HOST_SUBDIR)/zlib; then \
56020 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
56021 mv prev-zlib stage3-zlib; : ; \
56023 @endif zlib
56024 @if lto-plugin
56025 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56026 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
56027 mv prev-lto-plugin stage3-lto-plugin; : ; \
56029 @endif lto-plugin
56030 @if libctf
56031 @if test -d $(HOST_SUBDIR)/libctf; then \
56032 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
56033 mv prev-libctf stage3-libctf; : ; \
56035 @endif libctf
56036 @if test -d $(TARGET_SUBDIR); then \
56037 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
56038 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
56040 rm -f stage_current
56042 # Bubble a bug fix through all the stages up to stage 4. They are
56043 # remade, but not reconfigured. The next stage (if any) will not be
56044 # reconfigured either.
56045 .PHONY: stage4-bubble
56046 stage4-bubble:: stage3-bubble
56047 @r=`${PWD_COMMAND}`; export r; \
56048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56049 if test -f stage4-lean || test -f stage3-lean ; then \
56050 echo Skipping rebuild of stage4; \
56051 else \
56052 $(MAKE) stage4-start; \
56053 if $(LEAN); then \
56054 rm -rf stage2-*; \
56055 $(STAMP) stage2-lean; \
56056 fi; \
56057 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
56059 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
56061 .PHONY: all-stage4 clean-stage4
56062 do-clean: clean-stage4
56064 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56065 # only possibility, but now it conflicts with no-bootstrap rules
56066 @if gcc-bootstrap
56068 compare3:
56069 @r=`${PWD_COMMAND}`; export r; \
56070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56071 if test -f stage3-lean; then \
56072 echo Cannot compare object files as stage 3 was deleted.; \
56073 exit 0; \
56074 fi; \
56075 : $(MAKE); $(stage); \
56076 rm -f .bad_compare; \
56077 echo Comparing stages 3 and 4; \
56078 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
56079 files=`find stage4-* -name "*$(objext)" -print | \
56080 sed -n s,^stage$$sed-,,p`; \
56081 for file in $${files} ${extra-compare}; do \
56082 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
56083 if test ! -f $$f1; then continue; fi; \
56084 $(do-compare3) > /dev/null 2>&1; \
56085 if test $$? -eq 1; then \
56086 case $$file in \
56087 @compare_exclusions@) \
56088 echo warning: $$file differs ;; \
56089 *) \
56090 echo $$file differs >> .bad_compare ;; \
56091 esac; \
56092 fi; \
56093 done; \
56094 if [ -f .bad_compare ]; then \
56095 echo "Bootstrap comparison failure!"; \
56096 cat .bad_compare; \
56097 exit 1; \
56098 else \
56099 echo Comparison successful.; \
56100 fi; \
56101 $(STAMP) compare3
56102 if $(LEAN); then \
56103 rm -rf stage3-*; \
56104 $(STAMP) stage3-lean; \
56109 .PHONY: bootstrap4 bootstrap4-lean
56110 bootstrap4:
56111 echo stage4 > stage_final
56112 @r=`${PWD_COMMAND}`; export r; \
56113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
56115 @: $(MAKE); $(unstage)
56116 @r=`${PWD_COMMAND}`; export r; \
56117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56118 TFLAGS="$(STAGE4_TFLAGS)"; \
56119 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56121 bootstrap4-lean:
56122 echo stage4 > stage_final
56123 @r=`${PWD_COMMAND}`; export r; \
56124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56125 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
56126 @: $(MAKE); $(unstage)
56127 @r=`${PWD_COMMAND}`; export r; \
56128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56129 TFLAGS="$(STAGE4_TFLAGS)"; \
56130 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56133 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56134 distclean-stage3:: distclean-stage4
56135 .PHONY: distclean-stage4
56136 distclean-stage4::
56137 @: $(MAKE); $(stage)
56138 @test "`cat stage_last`" != stage4 || rm -f stage_last
56139 rm -rf stage4-* compare3
56142 @endif gcc-bootstrap
56145 .PHONY: stageprofile-start stageprofile-end
56147 stageprofile-start::
56148 @: $(MAKE); $(stage); \
56149 echo stageprofile > stage_current; \
56150 echo stageprofile > stage_last; \
56151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56152 @if bfd
56153 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
56154 mkdir stageprofile-bfd; \
56155 mv stageprofile-bfd bfd; \
56156 mv stage1-bfd prev-bfd || test -f stage1-lean
56157 @endif bfd
56158 @if opcodes
56159 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
56160 mkdir stageprofile-opcodes; \
56161 mv stageprofile-opcodes opcodes; \
56162 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56163 @endif opcodes
56164 @if binutils
56165 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
56166 mkdir stageprofile-binutils; \
56167 mv stageprofile-binutils binutils; \
56168 mv stage1-binutils prev-binutils || test -f stage1-lean
56169 @endif binutils
56170 @if fixincludes
56171 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
56172 mkdir stageprofile-fixincludes; \
56173 mv stageprofile-fixincludes fixincludes; \
56174 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
56175 @endif fixincludes
56176 @if gas
56177 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
56178 mkdir stageprofile-gas; \
56179 mv stageprofile-gas gas; \
56180 mv stage1-gas prev-gas || test -f stage1-lean
56181 @endif gas
56182 @if gcc
56183 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
56184 mkdir stageprofile-gcc; \
56185 mv stageprofile-gcc gcc; \
56186 mv stage1-gcc prev-gcc || test -f stage1-lean
56187 @endif gcc
56188 @if gmp
56189 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
56190 mkdir stageprofile-gmp; \
56191 mv stageprofile-gmp gmp; \
56192 mv stage1-gmp prev-gmp || test -f stage1-lean
56193 @endif gmp
56194 @if mpfr
56195 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
56196 mkdir stageprofile-mpfr; \
56197 mv stageprofile-mpfr mpfr; \
56198 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56199 @endif mpfr
56200 @if mpc
56201 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
56202 mkdir stageprofile-mpc; \
56203 mv stageprofile-mpc mpc; \
56204 mv stage1-mpc prev-mpc || test -f stage1-lean
56205 @endif mpc
56206 @if isl
56207 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
56208 mkdir stageprofile-isl; \
56209 mv stageprofile-isl isl; \
56210 mv stage1-isl prev-isl || test -f stage1-lean
56211 @endif isl
56212 @if libelf
56213 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
56214 mkdir stageprofile-libelf; \
56215 mv stageprofile-libelf libelf; \
56216 mv stage1-libelf prev-libelf || test -f stage1-lean
56217 @endif libelf
56218 @if gold
56219 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
56220 mkdir stageprofile-gold; \
56221 mv stageprofile-gold gold; \
56222 mv stage1-gold prev-gold || test -f stage1-lean
56223 @endif gold
56224 @if intl
56225 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
56226 mkdir stageprofile-intl; \
56227 mv stageprofile-intl intl; \
56228 mv stage1-intl prev-intl || test -f stage1-lean
56229 @endif intl
56230 @if ld
56231 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
56232 mkdir stageprofile-ld; \
56233 mv stageprofile-ld ld; \
56234 mv stage1-ld prev-ld || test -f stage1-lean
56235 @endif ld
56236 @if libbacktrace
56237 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
56238 mkdir stageprofile-libbacktrace; \
56239 mv stageprofile-libbacktrace libbacktrace; \
56240 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56241 @endif libbacktrace
56242 @if libcpp
56243 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
56244 mkdir stageprofile-libcpp; \
56245 mv stageprofile-libcpp libcpp; \
56246 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56247 @endif libcpp
56248 @if libdecnumber
56249 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
56250 mkdir stageprofile-libdecnumber; \
56251 mv stageprofile-libdecnumber libdecnumber; \
56252 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56253 @endif libdecnumber
56254 @if libiberty
56255 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
56256 mkdir stageprofile-libiberty; \
56257 mv stageprofile-libiberty libiberty; \
56258 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56259 @endif libiberty
56260 @if libiberty-linker-plugin
56261 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
56262 mkdir stageprofile-libiberty-linker-plugin; \
56263 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
56264 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56265 @endif libiberty-linker-plugin
56266 @if libiconv
56267 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
56268 mkdir stageprofile-libiconv; \
56269 mv stageprofile-libiconv libiconv; \
56270 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56271 @endif libiconv
56272 @if zlib
56273 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
56274 mkdir stageprofile-zlib; \
56275 mv stageprofile-zlib zlib; \
56276 mv stage1-zlib prev-zlib || test -f stage1-lean
56277 @endif zlib
56278 @if lto-plugin
56279 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
56280 mkdir stageprofile-lto-plugin; \
56281 mv stageprofile-lto-plugin lto-plugin; \
56282 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56283 @endif lto-plugin
56284 @if libctf
56285 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
56286 mkdir stageprofile-libctf; \
56287 mv stageprofile-libctf libctf; \
56288 mv stage1-libctf prev-libctf || test -f stage1-lean
56289 @endif libctf
56290 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
56291 mkdir stageprofile-$(TARGET_SUBDIR); \
56292 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56293 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56295 stageprofile-end::
56296 @if bfd
56297 @if test -d $(HOST_SUBDIR)/bfd; then \
56298 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
56299 mv prev-bfd stage1-bfd; : ; \
56301 @endif bfd
56302 @if opcodes
56303 @if test -d $(HOST_SUBDIR)/opcodes; then \
56304 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
56305 mv prev-opcodes stage1-opcodes; : ; \
56307 @endif opcodes
56308 @if binutils
56309 @if test -d $(HOST_SUBDIR)/binutils; then \
56310 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
56311 mv prev-binutils stage1-binutils; : ; \
56313 @endif binutils
56314 @if fixincludes
56315 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56316 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
56317 mv prev-fixincludes stage1-fixincludes; : ; \
56319 @endif fixincludes
56320 @if gas
56321 @if test -d $(HOST_SUBDIR)/gas; then \
56322 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
56323 mv prev-gas stage1-gas; : ; \
56325 @endif gas
56326 @if gcc
56327 @if test -d $(HOST_SUBDIR)/gcc; then \
56328 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
56329 mv prev-gcc stage1-gcc; : ; \
56331 @endif gcc
56332 @if gmp
56333 @if test -d $(HOST_SUBDIR)/gmp; then \
56334 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
56335 mv prev-gmp stage1-gmp; : ; \
56337 @endif gmp
56338 @if mpfr
56339 @if test -d $(HOST_SUBDIR)/mpfr; then \
56340 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
56341 mv prev-mpfr stage1-mpfr; : ; \
56343 @endif mpfr
56344 @if mpc
56345 @if test -d $(HOST_SUBDIR)/mpc; then \
56346 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
56347 mv prev-mpc stage1-mpc; : ; \
56349 @endif mpc
56350 @if isl
56351 @if test -d $(HOST_SUBDIR)/isl; then \
56352 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
56353 mv prev-isl stage1-isl; : ; \
56355 @endif isl
56356 @if libelf
56357 @if test -d $(HOST_SUBDIR)/libelf; then \
56358 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
56359 mv prev-libelf stage1-libelf; : ; \
56361 @endif libelf
56362 @if gold
56363 @if test -d $(HOST_SUBDIR)/gold; then \
56364 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
56365 mv prev-gold stage1-gold; : ; \
56367 @endif gold
56368 @if intl
56369 @if test -d $(HOST_SUBDIR)/intl; then \
56370 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
56371 mv prev-intl stage1-intl; : ; \
56373 @endif intl
56374 @if ld
56375 @if test -d $(HOST_SUBDIR)/ld; then \
56376 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
56377 mv prev-ld stage1-ld; : ; \
56379 @endif ld
56380 @if libbacktrace
56381 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56382 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
56383 mv prev-libbacktrace stage1-libbacktrace; : ; \
56385 @endif libbacktrace
56386 @if libcpp
56387 @if test -d $(HOST_SUBDIR)/libcpp; then \
56388 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
56389 mv prev-libcpp stage1-libcpp; : ; \
56391 @endif libcpp
56392 @if libdecnumber
56393 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56394 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
56395 mv prev-libdecnumber stage1-libdecnumber; : ; \
56397 @endif libdecnumber
56398 @if libiberty
56399 @if test -d $(HOST_SUBDIR)/libiberty; then \
56400 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
56401 mv prev-libiberty stage1-libiberty; : ; \
56403 @endif libiberty
56404 @if libiberty-linker-plugin
56405 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56406 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
56407 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56409 @endif libiberty-linker-plugin
56410 @if libiconv
56411 @if test -d $(HOST_SUBDIR)/libiconv; then \
56412 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
56413 mv prev-libiconv stage1-libiconv; : ; \
56415 @endif libiconv
56416 @if zlib
56417 @if test -d $(HOST_SUBDIR)/zlib; then \
56418 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
56419 mv prev-zlib stage1-zlib; : ; \
56421 @endif zlib
56422 @if lto-plugin
56423 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56424 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
56425 mv prev-lto-plugin stage1-lto-plugin; : ; \
56427 @endif lto-plugin
56428 @if libctf
56429 @if test -d $(HOST_SUBDIR)/libctf; then \
56430 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
56431 mv prev-libctf stage1-libctf; : ; \
56433 @endif libctf
56434 @if test -d $(TARGET_SUBDIR); then \
56435 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
56436 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56438 rm -f stage_current
56440 # Bubble a bug fix through all the stages up to stage profile. They are
56441 # remade, but not reconfigured. The next stage (if any) will not be
56442 # reconfigured either.
56443 .PHONY: stageprofile-bubble
56444 stageprofile-bubble:: stage1-bubble
56445 @r=`${PWD_COMMAND}`; export r; \
56446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56447 if test -f stageprofile-lean || test -f stage1-lean ; then \
56448 echo Skipping rebuild of stageprofile; \
56449 else \
56450 $(MAKE) stageprofile-start; \
56451 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
56454 .PHONY: all-stageprofile clean-stageprofile
56455 do-clean: clean-stageprofile
56457 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56458 # only possibility, but now it conflicts with no-bootstrap rules
56459 @if gcc-bootstrap
56464 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56465 distclean-stage1:: distclean-stageprofile
56466 .PHONY: distclean-stageprofile
56467 distclean-stageprofile::
56468 @: $(MAKE); $(stage)
56469 @test "`cat stage_last`" != stageprofile || rm -f stage_last
56470 rm -rf stageprofile-*
56473 @endif gcc-bootstrap
56476 .PHONY: stagetrain-start stagetrain-end
56478 stagetrain-start::
56479 @: $(MAKE); $(stage); \
56480 echo stagetrain > stage_current; \
56481 echo stagetrain > stage_last; \
56482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56483 @if bfd
56484 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
56485 mkdir stagetrain-bfd; \
56486 mv stagetrain-bfd bfd; \
56487 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
56488 @endif bfd
56489 @if opcodes
56490 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
56491 mkdir stagetrain-opcodes; \
56492 mv stagetrain-opcodes opcodes; \
56493 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
56494 @endif opcodes
56495 @if binutils
56496 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
56497 mkdir stagetrain-binutils; \
56498 mv stagetrain-binutils binutils; \
56499 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
56500 @endif binutils
56501 @if fixincludes
56502 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
56503 mkdir stagetrain-fixincludes; \
56504 mv stagetrain-fixincludes fixincludes; \
56505 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
56506 @endif fixincludes
56507 @if gas
56508 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
56509 mkdir stagetrain-gas; \
56510 mv stagetrain-gas gas; \
56511 mv stageprofile-gas prev-gas || test -f stageprofile-lean
56512 @endif gas
56513 @if gcc
56514 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
56515 mkdir stagetrain-gcc; \
56516 mv stagetrain-gcc gcc; \
56517 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
56518 @endif gcc
56519 @if gmp
56520 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
56521 mkdir stagetrain-gmp; \
56522 mv stagetrain-gmp gmp; \
56523 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
56524 @endif gmp
56525 @if mpfr
56526 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
56527 mkdir stagetrain-mpfr; \
56528 mv stagetrain-mpfr mpfr; \
56529 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
56530 @endif mpfr
56531 @if mpc
56532 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
56533 mkdir stagetrain-mpc; \
56534 mv stagetrain-mpc mpc; \
56535 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
56536 @endif mpc
56537 @if isl
56538 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
56539 mkdir stagetrain-isl; \
56540 mv stagetrain-isl isl; \
56541 mv stageprofile-isl prev-isl || test -f stageprofile-lean
56542 @endif isl
56543 @if libelf
56544 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
56545 mkdir stagetrain-libelf; \
56546 mv stagetrain-libelf libelf; \
56547 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
56548 @endif libelf
56549 @if gold
56550 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
56551 mkdir stagetrain-gold; \
56552 mv stagetrain-gold gold; \
56553 mv stageprofile-gold prev-gold || test -f stageprofile-lean
56554 @endif gold
56555 @if intl
56556 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
56557 mkdir stagetrain-intl; \
56558 mv stagetrain-intl intl; \
56559 mv stageprofile-intl prev-intl || test -f stageprofile-lean
56560 @endif intl
56561 @if ld
56562 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
56563 mkdir stagetrain-ld; \
56564 mv stagetrain-ld ld; \
56565 mv stageprofile-ld prev-ld || test -f stageprofile-lean
56566 @endif ld
56567 @if libbacktrace
56568 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
56569 mkdir stagetrain-libbacktrace; \
56570 mv stagetrain-libbacktrace libbacktrace; \
56571 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
56572 @endif libbacktrace
56573 @if libcpp
56574 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
56575 mkdir stagetrain-libcpp; \
56576 mv stagetrain-libcpp libcpp; \
56577 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
56578 @endif libcpp
56579 @if libdecnumber
56580 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
56581 mkdir stagetrain-libdecnumber; \
56582 mv stagetrain-libdecnumber libdecnumber; \
56583 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
56584 @endif libdecnumber
56585 @if libiberty
56586 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
56587 mkdir stagetrain-libiberty; \
56588 mv stagetrain-libiberty libiberty; \
56589 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
56590 @endif libiberty
56591 @if libiberty-linker-plugin
56592 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
56593 mkdir stagetrain-libiberty-linker-plugin; \
56594 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
56595 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
56596 @endif libiberty-linker-plugin
56597 @if libiconv
56598 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
56599 mkdir stagetrain-libiconv; \
56600 mv stagetrain-libiconv libiconv; \
56601 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
56602 @endif libiconv
56603 @if zlib
56604 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
56605 mkdir stagetrain-zlib; \
56606 mv stagetrain-zlib zlib; \
56607 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
56608 @endif zlib
56609 @if lto-plugin
56610 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
56611 mkdir stagetrain-lto-plugin; \
56612 mv stagetrain-lto-plugin lto-plugin; \
56613 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
56614 @endif lto-plugin
56615 @if libctf
56616 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
56617 mkdir stagetrain-libctf; \
56618 mv stagetrain-libctf libctf; \
56619 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
56620 @endif libctf
56621 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
56622 mkdir stagetrain-$(TARGET_SUBDIR); \
56623 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56624 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
56626 stagetrain-end::
56627 @if bfd
56628 @if test -d $(HOST_SUBDIR)/bfd; then \
56629 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
56630 mv prev-bfd stageprofile-bfd; : ; \
56632 @endif bfd
56633 @if opcodes
56634 @if test -d $(HOST_SUBDIR)/opcodes; then \
56635 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
56636 mv prev-opcodes stageprofile-opcodes; : ; \
56638 @endif opcodes
56639 @if binutils
56640 @if test -d $(HOST_SUBDIR)/binutils; then \
56641 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
56642 mv prev-binutils stageprofile-binutils; : ; \
56644 @endif binutils
56645 @if fixincludes
56646 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56647 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
56648 mv prev-fixincludes stageprofile-fixincludes; : ; \
56650 @endif fixincludes
56651 @if gas
56652 @if test -d $(HOST_SUBDIR)/gas; then \
56653 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
56654 mv prev-gas stageprofile-gas; : ; \
56656 @endif gas
56657 @if gcc
56658 @if test -d $(HOST_SUBDIR)/gcc; then \
56659 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
56660 mv prev-gcc stageprofile-gcc; : ; \
56662 @endif gcc
56663 @if gmp
56664 @if test -d $(HOST_SUBDIR)/gmp; then \
56665 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
56666 mv prev-gmp stageprofile-gmp; : ; \
56668 @endif gmp
56669 @if mpfr
56670 @if test -d $(HOST_SUBDIR)/mpfr; then \
56671 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
56672 mv prev-mpfr stageprofile-mpfr; : ; \
56674 @endif mpfr
56675 @if mpc
56676 @if test -d $(HOST_SUBDIR)/mpc; then \
56677 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
56678 mv prev-mpc stageprofile-mpc; : ; \
56680 @endif mpc
56681 @if isl
56682 @if test -d $(HOST_SUBDIR)/isl; then \
56683 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
56684 mv prev-isl stageprofile-isl; : ; \
56686 @endif isl
56687 @if libelf
56688 @if test -d $(HOST_SUBDIR)/libelf; then \
56689 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
56690 mv prev-libelf stageprofile-libelf; : ; \
56692 @endif libelf
56693 @if gold
56694 @if test -d $(HOST_SUBDIR)/gold; then \
56695 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
56696 mv prev-gold stageprofile-gold; : ; \
56698 @endif gold
56699 @if intl
56700 @if test -d $(HOST_SUBDIR)/intl; then \
56701 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
56702 mv prev-intl stageprofile-intl; : ; \
56704 @endif intl
56705 @if ld
56706 @if test -d $(HOST_SUBDIR)/ld; then \
56707 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
56708 mv prev-ld stageprofile-ld; : ; \
56710 @endif ld
56711 @if libbacktrace
56712 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56713 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
56714 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
56716 @endif libbacktrace
56717 @if libcpp
56718 @if test -d $(HOST_SUBDIR)/libcpp; then \
56719 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
56720 mv prev-libcpp stageprofile-libcpp; : ; \
56722 @endif libcpp
56723 @if libdecnumber
56724 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56725 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
56726 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
56728 @endif libdecnumber
56729 @if libiberty
56730 @if test -d $(HOST_SUBDIR)/libiberty; then \
56731 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
56732 mv prev-libiberty stageprofile-libiberty; : ; \
56734 @endif libiberty
56735 @if libiberty-linker-plugin
56736 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56737 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
56738 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
56740 @endif libiberty-linker-plugin
56741 @if libiconv
56742 @if test -d $(HOST_SUBDIR)/libiconv; then \
56743 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
56744 mv prev-libiconv stageprofile-libiconv; : ; \
56746 @endif libiconv
56747 @if zlib
56748 @if test -d $(HOST_SUBDIR)/zlib; then \
56749 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
56750 mv prev-zlib stageprofile-zlib; : ; \
56752 @endif zlib
56753 @if lto-plugin
56754 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56755 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
56756 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
56758 @endif lto-plugin
56759 @if libctf
56760 @if test -d $(HOST_SUBDIR)/libctf; then \
56761 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
56762 mv prev-libctf stageprofile-libctf; : ; \
56764 @endif libctf
56765 @if test -d $(TARGET_SUBDIR); then \
56766 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
56767 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
56769 rm -f stage_current
56771 # Bubble a bug fix through all the stages up to stage train. They are
56772 # remade, but not reconfigured. The next stage (if any) will not be
56773 # reconfigured either.
56774 .PHONY: stagetrain-bubble
56775 stagetrain-bubble:: stageprofile-bubble
56776 @r=`${PWD_COMMAND}`; export r; \
56777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56778 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
56779 echo Skipping rebuild of stagetrain; \
56780 else \
56781 $(MAKE) stagetrain-start; \
56782 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
56785 .PHONY: all-stagetrain clean-stagetrain
56786 do-clean: clean-stagetrain
56788 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56789 # only possibility, but now it conflicts with no-bootstrap rules
56790 @if gcc-bootstrap
56795 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56796 distclean-stageprofile:: distclean-stagetrain
56797 .PHONY: distclean-stagetrain
56798 distclean-stagetrain::
56799 @: $(MAKE); $(stage)
56800 @test "`cat stage_last`" != stagetrain || rm -f stage_last
56801 rm -rf stagetrain-*
56804 @endif gcc-bootstrap
56807 .PHONY: stagefeedback-start stagefeedback-end
56809 stagefeedback-start::
56810 @: $(MAKE); $(stage); \
56811 echo stagefeedback > stage_current; \
56812 echo stagefeedback > stage_last; \
56813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56814 @if bfd
56815 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
56816 mkdir stagefeedback-bfd; \
56817 mv stagefeedback-bfd bfd; \
56818 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
56819 @endif bfd
56820 @if opcodes
56821 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
56822 mkdir stagefeedback-opcodes; \
56823 mv stagefeedback-opcodes opcodes; \
56824 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
56825 @endif opcodes
56826 @if binutils
56827 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
56828 mkdir stagefeedback-binutils; \
56829 mv stagefeedback-binutils binutils; \
56830 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
56831 @endif binutils
56832 @if fixincludes
56833 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
56834 mkdir stagefeedback-fixincludes; \
56835 mv stagefeedback-fixincludes fixincludes; \
56836 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
56837 @endif fixincludes
56838 @if gas
56839 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
56840 mkdir stagefeedback-gas; \
56841 mv stagefeedback-gas gas; \
56842 mv stagetrain-gas prev-gas || test -f stagetrain-lean
56843 @endif gas
56844 @if gcc
56845 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
56846 mkdir stagefeedback-gcc; \
56847 mv stagefeedback-gcc gcc; \
56848 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
56849 @endif gcc
56850 @if gmp
56851 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
56852 mkdir stagefeedback-gmp; \
56853 mv stagefeedback-gmp gmp; \
56854 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
56855 @endif gmp
56856 @if mpfr
56857 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
56858 mkdir stagefeedback-mpfr; \
56859 mv stagefeedback-mpfr mpfr; \
56860 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
56861 @endif mpfr
56862 @if mpc
56863 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
56864 mkdir stagefeedback-mpc; \
56865 mv stagefeedback-mpc mpc; \
56866 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
56867 @endif mpc
56868 @if isl
56869 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
56870 mkdir stagefeedback-isl; \
56871 mv stagefeedback-isl isl; \
56872 mv stagetrain-isl prev-isl || test -f stagetrain-lean
56873 @endif isl
56874 @if libelf
56875 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
56876 mkdir stagefeedback-libelf; \
56877 mv stagefeedback-libelf libelf; \
56878 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
56879 @endif libelf
56880 @if gold
56881 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
56882 mkdir stagefeedback-gold; \
56883 mv stagefeedback-gold gold; \
56884 mv stagetrain-gold prev-gold || test -f stagetrain-lean
56885 @endif gold
56886 @if intl
56887 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
56888 mkdir stagefeedback-intl; \
56889 mv stagefeedback-intl intl; \
56890 mv stagetrain-intl prev-intl || test -f stagetrain-lean
56891 @endif intl
56892 @if ld
56893 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
56894 mkdir stagefeedback-ld; \
56895 mv stagefeedback-ld ld; \
56896 mv stagetrain-ld prev-ld || test -f stagetrain-lean
56897 @endif ld
56898 @if libbacktrace
56899 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
56900 mkdir stagefeedback-libbacktrace; \
56901 mv stagefeedback-libbacktrace libbacktrace; \
56902 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
56903 @endif libbacktrace
56904 @if libcpp
56905 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
56906 mkdir stagefeedback-libcpp; \
56907 mv stagefeedback-libcpp libcpp; \
56908 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
56909 @endif libcpp
56910 @if libdecnumber
56911 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
56912 mkdir stagefeedback-libdecnumber; \
56913 mv stagefeedback-libdecnumber libdecnumber; \
56914 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
56915 @endif libdecnumber
56916 @if libiberty
56917 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
56918 mkdir stagefeedback-libiberty; \
56919 mv stagefeedback-libiberty libiberty; \
56920 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
56921 @endif libiberty
56922 @if libiberty-linker-plugin
56923 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
56924 mkdir stagefeedback-libiberty-linker-plugin; \
56925 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56926 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
56927 @endif libiberty-linker-plugin
56928 @if libiconv
56929 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
56930 mkdir stagefeedback-libiconv; \
56931 mv stagefeedback-libiconv libiconv; \
56932 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
56933 @endif libiconv
56934 @if zlib
56935 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
56936 mkdir stagefeedback-zlib; \
56937 mv stagefeedback-zlib zlib; \
56938 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
56939 @endif zlib
56940 @if lto-plugin
56941 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
56942 mkdir stagefeedback-lto-plugin; \
56943 mv stagefeedback-lto-plugin lto-plugin; \
56944 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
56945 @endif lto-plugin
56946 @if libctf
56947 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
56948 mkdir stagefeedback-libctf; \
56949 mv stagefeedback-libctf libctf; \
56950 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
56951 @endif libctf
56952 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
56953 mkdir stagefeedback-$(TARGET_SUBDIR); \
56954 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56955 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
56957 stagefeedback-end::
56958 @if bfd
56959 @if test -d $(HOST_SUBDIR)/bfd; then \
56960 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
56961 mv prev-bfd stagetrain-bfd; : ; \
56963 @endif bfd
56964 @if opcodes
56965 @if test -d $(HOST_SUBDIR)/opcodes; then \
56966 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
56967 mv prev-opcodes stagetrain-opcodes; : ; \
56969 @endif opcodes
56970 @if binutils
56971 @if test -d $(HOST_SUBDIR)/binutils; then \
56972 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
56973 mv prev-binutils stagetrain-binutils; : ; \
56975 @endif binutils
56976 @if fixincludes
56977 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56978 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
56979 mv prev-fixincludes stagetrain-fixincludes; : ; \
56981 @endif fixincludes
56982 @if gas
56983 @if test -d $(HOST_SUBDIR)/gas; then \
56984 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
56985 mv prev-gas stagetrain-gas; : ; \
56987 @endif gas
56988 @if gcc
56989 @if test -d $(HOST_SUBDIR)/gcc; then \
56990 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
56991 mv prev-gcc stagetrain-gcc; : ; \
56993 @endif gcc
56994 @if gmp
56995 @if test -d $(HOST_SUBDIR)/gmp; then \
56996 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
56997 mv prev-gmp stagetrain-gmp; : ; \
56999 @endif gmp
57000 @if mpfr
57001 @if test -d $(HOST_SUBDIR)/mpfr; then \
57002 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
57003 mv prev-mpfr stagetrain-mpfr; : ; \
57005 @endif mpfr
57006 @if mpc
57007 @if test -d $(HOST_SUBDIR)/mpc; then \
57008 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
57009 mv prev-mpc stagetrain-mpc; : ; \
57011 @endif mpc
57012 @if isl
57013 @if test -d $(HOST_SUBDIR)/isl; then \
57014 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
57015 mv prev-isl stagetrain-isl; : ; \
57017 @endif isl
57018 @if libelf
57019 @if test -d $(HOST_SUBDIR)/libelf; then \
57020 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
57021 mv prev-libelf stagetrain-libelf; : ; \
57023 @endif libelf
57024 @if gold
57025 @if test -d $(HOST_SUBDIR)/gold; then \
57026 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
57027 mv prev-gold stagetrain-gold; : ; \
57029 @endif gold
57030 @if intl
57031 @if test -d $(HOST_SUBDIR)/intl; then \
57032 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
57033 mv prev-intl stagetrain-intl; : ; \
57035 @endif intl
57036 @if ld
57037 @if test -d $(HOST_SUBDIR)/ld; then \
57038 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
57039 mv prev-ld stagetrain-ld; : ; \
57041 @endif ld
57042 @if libbacktrace
57043 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57044 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
57045 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
57047 @endif libbacktrace
57048 @if libcpp
57049 @if test -d $(HOST_SUBDIR)/libcpp; then \
57050 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
57051 mv prev-libcpp stagetrain-libcpp; : ; \
57053 @endif libcpp
57054 @if libdecnumber
57055 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57056 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
57057 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
57059 @endif libdecnumber
57060 @if libiberty
57061 @if test -d $(HOST_SUBDIR)/libiberty; then \
57062 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
57063 mv prev-libiberty stagetrain-libiberty; : ; \
57065 @endif libiberty
57066 @if libiberty-linker-plugin
57067 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57068 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
57069 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
57071 @endif libiberty-linker-plugin
57072 @if libiconv
57073 @if test -d $(HOST_SUBDIR)/libiconv; then \
57074 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
57075 mv prev-libiconv stagetrain-libiconv; : ; \
57077 @endif libiconv
57078 @if zlib
57079 @if test -d $(HOST_SUBDIR)/zlib; then \
57080 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
57081 mv prev-zlib stagetrain-zlib; : ; \
57083 @endif zlib
57084 @if lto-plugin
57085 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57086 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
57087 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
57089 @endif lto-plugin
57090 @if libctf
57091 @if test -d $(HOST_SUBDIR)/libctf; then \
57092 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
57093 mv prev-libctf stagetrain-libctf; : ; \
57095 @endif libctf
57096 @if test -d $(TARGET_SUBDIR); then \
57097 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
57098 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
57100 rm -f stage_current
57102 # Bubble a bug fix through all the stages up to stage feedback. They are
57103 # remade, but not reconfigured. The next stage (if any) will not be
57104 # reconfigured either.
57105 .PHONY: stagefeedback-bubble
57106 stagefeedback-bubble:: stagetrain-bubble
57107 @r=`${PWD_COMMAND}`; export r; \
57108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57109 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
57110 echo Skipping rebuild of stagefeedback; \
57111 else \
57112 $(MAKE) stagefeedback-start; \
57113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
57116 .PHONY: all-stagefeedback clean-stagefeedback
57117 do-clean: clean-stagefeedback
57119 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57120 # only possibility, but now it conflicts with no-bootstrap rules
57121 @if gcc-bootstrap
57125 .PHONY: profiledbootstrap profiledbootstrap-lean
57126 profiledbootstrap:
57127 echo stagefeedback > stage_final
57128 @r=`${PWD_COMMAND}`; export r; \
57129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
57131 @: $(MAKE); $(unstage)
57132 @r=`${PWD_COMMAND}`; export r; \
57133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57134 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57135 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57137 profiledbootstrap-lean:
57138 echo stagefeedback > stage_final
57139 @r=`${PWD_COMMAND}`; export r; \
57140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57141 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
57142 @: $(MAKE); $(unstage)
57143 @r=`${PWD_COMMAND}`; export r; \
57144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57145 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57146 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57149 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57150 distclean-stagetrain:: distclean-stagefeedback
57151 .PHONY: distclean-stagefeedback
57152 distclean-stagefeedback::
57153 @: $(MAKE); $(stage)
57154 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
57155 rm -rf stagefeedback-*
57158 @endif gcc-bootstrap
57161 .PHONY: stageautoprofile-start stageautoprofile-end
57163 stageautoprofile-start::
57164 @: $(MAKE); $(stage); \
57165 echo stageautoprofile > stage_current; \
57166 echo stageautoprofile > stage_last; \
57167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57168 @if bfd
57169 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
57170 mkdir stageautoprofile-bfd; \
57171 mv stageautoprofile-bfd bfd; \
57172 mv stage1-bfd prev-bfd || test -f stage1-lean
57173 @endif bfd
57174 @if opcodes
57175 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
57176 mkdir stageautoprofile-opcodes; \
57177 mv stageautoprofile-opcodes opcodes; \
57178 mv stage1-opcodes prev-opcodes || test -f stage1-lean
57179 @endif opcodes
57180 @if binutils
57181 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
57182 mkdir stageautoprofile-binutils; \
57183 mv stageautoprofile-binutils binutils; \
57184 mv stage1-binutils prev-binutils || test -f stage1-lean
57185 @endif binutils
57186 @if fixincludes
57187 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
57188 mkdir stageautoprofile-fixincludes; \
57189 mv stageautoprofile-fixincludes fixincludes; \
57190 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
57191 @endif fixincludes
57192 @if gas
57193 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
57194 mkdir stageautoprofile-gas; \
57195 mv stageautoprofile-gas gas; \
57196 mv stage1-gas prev-gas || test -f stage1-lean
57197 @endif gas
57198 @if gcc
57199 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
57200 mkdir stageautoprofile-gcc; \
57201 mv stageautoprofile-gcc gcc; \
57202 mv stage1-gcc prev-gcc || test -f stage1-lean
57203 @endif gcc
57204 @if gmp
57205 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
57206 mkdir stageautoprofile-gmp; \
57207 mv stageautoprofile-gmp gmp; \
57208 mv stage1-gmp prev-gmp || test -f stage1-lean
57209 @endif gmp
57210 @if mpfr
57211 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
57212 mkdir stageautoprofile-mpfr; \
57213 mv stageautoprofile-mpfr mpfr; \
57214 mv stage1-mpfr prev-mpfr || test -f stage1-lean
57215 @endif mpfr
57216 @if mpc
57217 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
57218 mkdir stageautoprofile-mpc; \
57219 mv stageautoprofile-mpc mpc; \
57220 mv stage1-mpc prev-mpc || test -f stage1-lean
57221 @endif mpc
57222 @if isl
57223 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
57224 mkdir stageautoprofile-isl; \
57225 mv stageautoprofile-isl isl; \
57226 mv stage1-isl prev-isl || test -f stage1-lean
57227 @endif isl
57228 @if libelf
57229 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
57230 mkdir stageautoprofile-libelf; \
57231 mv stageautoprofile-libelf libelf; \
57232 mv stage1-libelf prev-libelf || test -f stage1-lean
57233 @endif libelf
57234 @if gold
57235 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
57236 mkdir stageautoprofile-gold; \
57237 mv stageautoprofile-gold gold; \
57238 mv stage1-gold prev-gold || test -f stage1-lean
57239 @endif gold
57240 @if intl
57241 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
57242 mkdir stageautoprofile-intl; \
57243 mv stageautoprofile-intl intl; \
57244 mv stage1-intl prev-intl || test -f stage1-lean
57245 @endif intl
57246 @if ld
57247 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
57248 mkdir stageautoprofile-ld; \
57249 mv stageautoprofile-ld ld; \
57250 mv stage1-ld prev-ld || test -f stage1-lean
57251 @endif ld
57252 @if libbacktrace
57253 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
57254 mkdir stageautoprofile-libbacktrace; \
57255 mv stageautoprofile-libbacktrace libbacktrace; \
57256 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
57257 @endif libbacktrace
57258 @if libcpp
57259 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
57260 mkdir stageautoprofile-libcpp; \
57261 mv stageautoprofile-libcpp libcpp; \
57262 mv stage1-libcpp prev-libcpp || test -f stage1-lean
57263 @endif libcpp
57264 @if libdecnumber
57265 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
57266 mkdir stageautoprofile-libdecnumber; \
57267 mv stageautoprofile-libdecnumber libdecnumber; \
57268 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
57269 @endif libdecnumber
57270 @if libiberty
57271 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
57272 mkdir stageautoprofile-libiberty; \
57273 mv stageautoprofile-libiberty libiberty; \
57274 mv stage1-libiberty prev-libiberty || test -f stage1-lean
57275 @endif libiberty
57276 @if libiberty-linker-plugin
57277 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
57278 mkdir stageautoprofile-libiberty-linker-plugin; \
57279 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
57280 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
57281 @endif libiberty-linker-plugin
57282 @if libiconv
57283 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
57284 mkdir stageautoprofile-libiconv; \
57285 mv stageautoprofile-libiconv libiconv; \
57286 mv stage1-libiconv prev-libiconv || test -f stage1-lean
57287 @endif libiconv
57288 @if zlib
57289 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
57290 mkdir stageautoprofile-zlib; \
57291 mv stageautoprofile-zlib zlib; \
57292 mv stage1-zlib prev-zlib || test -f stage1-lean
57293 @endif zlib
57294 @if lto-plugin
57295 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
57296 mkdir stageautoprofile-lto-plugin; \
57297 mv stageautoprofile-lto-plugin lto-plugin; \
57298 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
57299 @endif lto-plugin
57300 @if libctf
57301 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
57302 mkdir stageautoprofile-libctf; \
57303 mv stageautoprofile-libctf libctf; \
57304 mv stage1-libctf prev-libctf || test -f stage1-lean
57305 @endif libctf
57306 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
57307 mkdir stageautoprofile-$(TARGET_SUBDIR); \
57308 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57309 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
57311 stageautoprofile-end::
57312 @if bfd
57313 @if test -d $(HOST_SUBDIR)/bfd; then \
57314 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
57315 mv prev-bfd stage1-bfd; : ; \
57317 @endif bfd
57318 @if opcodes
57319 @if test -d $(HOST_SUBDIR)/opcodes; then \
57320 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
57321 mv prev-opcodes stage1-opcodes; : ; \
57323 @endif opcodes
57324 @if binutils
57325 @if test -d $(HOST_SUBDIR)/binutils; then \
57326 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
57327 mv prev-binutils stage1-binutils; : ; \
57329 @endif binutils
57330 @if fixincludes
57331 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57332 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
57333 mv prev-fixincludes stage1-fixincludes; : ; \
57335 @endif fixincludes
57336 @if gas
57337 @if test -d $(HOST_SUBDIR)/gas; then \
57338 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
57339 mv prev-gas stage1-gas; : ; \
57341 @endif gas
57342 @if gcc
57343 @if test -d $(HOST_SUBDIR)/gcc; then \
57344 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
57345 mv prev-gcc stage1-gcc; : ; \
57347 @endif gcc
57348 @if gmp
57349 @if test -d $(HOST_SUBDIR)/gmp; then \
57350 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
57351 mv prev-gmp stage1-gmp; : ; \
57353 @endif gmp
57354 @if mpfr
57355 @if test -d $(HOST_SUBDIR)/mpfr; then \
57356 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
57357 mv prev-mpfr stage1-mpfr; : ; \
57359 @endif mpfr
57360 @if mpc
57361 @if test -d $(HOST_SUBDIR)/mpc; then \
57362 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
57363 mv prev-mpc stage1-mpc; : ; \
57365 @endif mpc
57366 @if isl
57367 @if test -d $(HOST_SUBDIR)/isl; then \
57368 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
57369 mv prev-isl stage1-isl; : ; \
57371 @endif isl
57372 @if libelf
57373 @if test -d $(HOST_SUBDIR)/libelf; then \
57374 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
57375 mv prev-libelf stage1-libelf; : ; \
57377 @endif libelf
57378 @if gold
57379 @if test -d $(HOST_SUBDIR)/gold; then \
57380 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
57381 mv prev-gold stage1-gold; : ; \
57383 @endif gold
57384 @if intl
57385 @if test -d $(HOST_SUBDIR)/intl; then \
57386 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
57387 mv prev-intl stage1-intl; : ; \
57389 @endif intl
57390 @if ld
57391 @if test -d $(HOST_SUBDIR)/ld; then \
57392 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
57393 mv prev-ld stage1-ld; : ; \
57395 @endif ld
57396 @if libbacktrace
57397 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57398 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
57399 mv prev-libbacktrace stage1-libbacktrace; : ; \
57401 @endif libbacktrace
57402 @if libcpp
57403 @if test -d $(HOST_SUBDIR)/libcpp; then \
57404 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
57405 mv prev-libcpp stage1-libcpp; : ; \
57407 @endif libcpp
57408 @if libdecnumber
57409 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57410 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
57411 mv prev-libdecnumber stage1-libdecnumber; : ; \
57413 @endif libdecnumber
57414 @if libiberty
57415 @if test -d $(HOST_SUBDIR)/libiberty; then \
57416 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
57417 mv prev-libiberty stage1-libiberty; : ; \
57419 @endif libiberty
57420 @if libiberty-linker-plugin
57421 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57422 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
57423 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
57425 @endif libiberty-linker-plugin
57426 @if libiconv
57427 @if test -d $(HOST_SUBDIR)/libiconv; then \
57428 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
57429 mv prev-libiconv stage1-libiconv; : ; \
57431 @endif libiconv
57432 @if zlib
57433 @if test -d $(HOST_SUBDIR)/zlib; then \
57434 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
57435 mv prev-zlib stage1-zlib; : ; \
57437 @endif zlib
57438 @if lto-plugin
57439 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57440 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
57441 mv prev-lto-plugin stage1-lto-plugin; : ; \
57443 @endif lto-plugin
57444 @if libctf
57445 @if test -d $(HOST_SUBDIR)/libctf; then \
57446 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
57447 mv prev-libctf stage1-libctf; : ; \
57449 @endif libctf
57450 @if test -d $(TARGET_SUBDIR); then \
57451 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
57452 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
57454 rm -f stage_current
57456 # Bubble a bug fix through all the stages up to stage autoprofile. They are
57457 # remade, but not reconfigured. The next stage (if any) will not be
57458 # reconfigured either.
57459 .PHONY: stageautoprofile-bubble
57460 stageautoprofile-bubble:: stage1-bubble
57461 @r=`${PWD_COMMAND}`; export r; \
57462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57463 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
57464 echo Skipping rebuild of stageautoprofile; \
57465 else \
57466 $(MAKE) stageautoprofile-start; \
57467 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
57470 .PHONY: all-stageautoprofile clean-stageautoprofile
57471 do-clean: clean-stageautoprofile
57473 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57474 # only possibility, but now it conflicts with no-bootstrap rules
57475 @if gcc-bootstrap
57480 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57481 distclean-stage1:: distclean-stageautoprofile
57482 .PHONY: distclean-stageautoprofile
57483 distclean-stageautoprofile::
57484 @: $(MAKE); $(stage)
57485 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
57486 rm -rf stageautoprofile-*
57489 @endif gcc-bootstrap
57492 .PHONY: stageautofeedback-start stageautofeedback-end
57494 stageautofeedback-start::
57495 @: $(MAKE); $(stage); \
57496 echo stageautofeedback > stage_current; \
57497 echo stageautofeedback > stage_last; \
57498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57499 @if bfd
57500 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
57501 mkdir stageautofeedback-bfd; \
57502 mv stageautofeedback-bfd bfd; \
57503 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
57504 @endif bfd
57505 @if opcodes
57506 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
57507 mkdir stageautofeedback-opcodes; \
57508 mv stageautofeedback-opcodes opcodes; \
57509 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
57510 @endif opcodes
57511 @if binutils
57512 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
57513 mkdir stageautofeedback-binutils; \
57514 mv stageautofeedback-binutils binutils; \
57515 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
57516 @endif binutils
57517 @if fixincludes
57518 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
57519 mkdir stageautofeedback-fixincludes; \
57520 mv stageautofeedback-fixincludes fixincludes; \
57521 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
57522 @endif fixincludes
57523 @if gas
57524 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
57525 mkdir stageautofeedback-gas; \
57526 mv stageautofeedback-gas gas; \
57527 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
57528 @endif gas
57529 @if gcc
57530 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
57531 mkdir stageautofeedback-gcc; \
57532 mv stageautofeedback-gcc gcc; \
57533 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
57534 @endif gcc
57535 @if gmp
57536 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
57537 mkdir stageautofeedback-gmp; \
57538 mv stageautofeedback-gmp gmp; \
57539 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
57540 @endif gmp
57541 @if mpfr
57542 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
57543 mkdir stageautofeedback-mpfr; \
57544 mv stageautofeedback-mpfr mpfr; \
57545 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
57546 @endif mpfr
57547 @if mpc
57548 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
57549 mkdir stageautofeedback-mpc; \
57550 mv stageautofeedback-mpc mpc; \
57551 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
57552 @endif mpc
57553 @if isl
57554 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
57555 mkdir stageautofeedback-isl; \
57556 mv stageautofeedback-isl isl; \
57557 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
57558 @endif isl
57559 @if libelf
57560 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
57561 mkdir stageautofeedback-libelf; \
57562 mv stageautofeedback-libelf libelf; \
57563 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
57564 @endif libelf
57565 @if gold
57566 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
57567 mkdir stageautofeedback-gold; \
57568 mv stageautofeedback-gold gold; \
57569 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
57570 @endif gold
57571 @if intl
57572 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
57573 mkdir stageautofeedback-intl; \
57574 mv stageautofeedback-intl intl; \
57575 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
57576 @endif intl
57577 @if ld
57578 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
57579 mkdir stageautofeedback-ld; \
57580 mv stageautofeedback-ld ld; \
57581 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
57582 @endif ld
57583 @if libbacktrace
57584 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
57585 mkdir stageautofeedback-libbacktrace; \
57586 mv stageautofeedback-libbacktrace libbacktrace; \
57587 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
57588 @endif libbacktrace
57589 @if libcpp
57590 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
57591 mkdir stageautofeedback-libcpp; \
57592 mv stageautofeedback-libcpp libcpp; \
57593 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
57594 @endif libcpp
57595 @if libdecnumber
57596 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
57597 mkdir stageautofeedback-libdecnumber; \
57598 mv stageautofeedback-libdecnumber libdecnumber; \
57599 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
57600 @endif libdecnumber
57601 @if libiberty
57602 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
57603 mkdir stageautofeedback-libiberty; \
57604 mv stageautofeedback-libiberty libiberty; \
57605 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
57606 @endif libiberty
57607 @if libiberty-linker-plugin
57608 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
57609 mkdir stageautofeedback-libiberty-linker-plugin; \
57610 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
57611 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
57612 @endif libiberty-linker-plugin
57613 @if libiconv
57614 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
57615 mkdir stageautofeedback-libiconv; \
57616 mv stageautofeedback-libiconv libiconv; \
57617 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
57618 @endif libiconv
57619 @if zlib
57620 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
57621 mkdir stageautofeedback-zlib; \
57622 mv stageautofeedback-zlib zlib; \
57623 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
57624 @endif zlib
57625 @if lto-plugin
57626 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
57627 mkdir stageautofeedback-lto-plugin; \
57628 mv stageautofeedback-lto-plugin lto-plugin; \
57629 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
57630 @endif lto-plugin
57631 @if libctf
57632 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
57633 mkdir stageautofeedback-libctf; \
57634 mv stageautofeedback-libctf libctf; \
57635 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
57636 @endif libctf
57637 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
57638 mkdir stageautofeedback-$(TARGET_SUBDIR); \
57639 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57640 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
57642 stageautofeedback-end::
57643 @if bfd
57644 @if test -d $(HOST_SUBDIR)/bfd; then \
57645 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
57646 mv prev-bfd stageautoprofile-bfd; : ; \
57648 @endif bfd
57649 @if opcodes
57650 @if test -d $(HOST_SUBDIR)/opcodes; then \
57651 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
57652 mv prev-opcodes stageautoprofile-opcodes; : ; \
57654 @endif opcodes
57655 @if binutils
57656 @if test -d $(HOST_SUBDIR)/binutils; then \
57657 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
57658 mv prev-binutils stageautoprofile-binutils; : ; \
57660 @endif binutils
57661 @if fixincludes
57662 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57663 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
57664 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
57666 @endif fixincludes
57667 @if gas
57668 @if test -d $(HOST_SUBDIR)/gas; then \
57669 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
57670 mv prev-gas stageautoprofile-gas; : ; \
57672 @endif gas
57673 @if gcc
57674 @if test -d $(HOST_SUBDIR)/gcc; then \
57675 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
57676 mv prev-gcc stageautoprofile-gcc; : ; \
57678 @endif gcc
57679 @if gmp
57680 @if test -d $(HOST_SUBDIR)/gmp; then \
57681 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
57682 mv prev-gmp stageautoprofile-gmp; : ; \
57684 @endif gmp
57685 @if mpfr
57686 @if test -d $(HOST_SUBDIR)/mpfr; then \
57687 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
57688 mv prev-mpfr stageautoprofile-mpfr; : ; \
57690 @endif mpfr
57691 @if mpc
57692 @if test -d $(HOST_SUBDIR)/mpc; then \
57693 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
57694 mv prev-mpc stageautoprofile-mpc; : ; \
57696 @endif mpc
57697 @if isl
57698 @if test -d $(HOST_SUBDIR)/isl; then \
57699 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
57700 mv prev-isl stageautoprofile-isl; : ; \
57702 @endif isl
57703 @if libelf
57704 @if test -d $(HOST_SUBDIR)/libelf; then \
57705 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
57706 mv prev-libelf stageautoprofile-libelf; : ; \
57708 @endif libelf
57709 @if gold
57710 @if test -d $(HOST_SUBDIR)/gold; then \
57711 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
57712 mv prev-gold stageautoprofile-gold; : ; \
57714 @endif gold
57715 @if intl
57716 @if test -d $(HOST_SUBDIR)/intl; then \
57717 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
57718 mv prev-intl stageautoprofile-intl; : ; \
57720 @endif intl
57721 @if ld
57722 @if test -d $(HOST_SUBDIR)/ld; then \
57723 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
57724 mv prev-ld stageautoprofile-ld; : ; \
57726 @endif ld
57727 @if libbacktrace
57728 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57729 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
57730 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
57732 @endif libbacktrace
57733 @if libcpp
57734 @if test -d $(HOST_SUBDIR)/libcpp; then \
57735 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
57736 mv prev-libcpp stageautoprofile-libcpp; : ; \
57738 @endif libcpp
57739 @if libdecnumber
57740 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57741 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
57742 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
57744 @endif libdecnumber
57745 @if libiberty
57746 @if test -d $(HOST_SUBDIR)/libiberty; then \
57747 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
57748 mv prev-libiberty stageautoprofile-libiberty; : ; \
57750 @endif libiberty
57751 @if libiberty-linker-plugin
57752 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57753 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
57754 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
57756 @endif libiberty-linker-plugin
57757 @if libiconv
57758 @if test -d $(HOST_SUBDIR)/libiconv; then \
57759 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
57760 mv prev-libiconv stageautoprofile-libiconv; : ; \
57762 @endif libiconv
57763 @if zlib
57764 @if test -d $(HOST_SUBDIR)/zlib; then \
57765 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
57766 mv prev-zlib stageautoprofile-zlib; : ; \
57768 @endif zlib
57769 @if lto-plugin
57770 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57771 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
57772 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
57774 @endif lto-plugin
57775 @if libctf
57776 @if test -d $(HOST_SUBDIR)/libctf; then \
57777 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
57778 mv prev-libctf stageautoprofile-libctf; : ; \
57780 @endif libctf
57781 @if test -d $(TARGET_SUBDIR); then \
57782 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
57783 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
57785 rm -f stage_current
57787 # Bubble a bug fix through all the stages up to stage autofeedback. They are
57788 # remade, but not reconfigured. The next stage (if any) will not be
57789 # reconfigured either.
57790 .PHONY: stageautofeedback-bubble
57791 stageautofeedback-bubble:: stageautoprofile-bubble
57792 @r=`${PWD_COMMAND}`; export r; \
57793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57794 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
57795 echo Skipping rebuild of stageautofeedback; \
57796 else \
57797 $(MAKE) stageautofeedback-start; \
57798 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
57801 .PHONY: all-stageautofeedback clean-stageautofeedback
57802 do-clean: clean-stageautofeedback
57804 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57805 # only possibility, but now it conflicts with no-bootstrap rules
57806 @if gcc-bootstrap
57810 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
57811 autoprofiledbootstrap:
57812 echo stageautofeedback > stage_final
57813 @r=`${PWD_COMMAND}`; export r; \
57814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
57816 @: $(MAKE); $(unstage)
57817 @r=`${PWD_COMMAND}`; export r; \
57818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57819 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57820 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57822 autoprofiledbootstrap-lean:
57823 echo stageautofeedback > stage_final
57824 @r=`${PWD_COMMAND}`; export r; \
57825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57826 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
57827 @: $(MAKE); $(unstage)
57828 @r=`${PWD_COMMAND}`; export r; \
57829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57830 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57831 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57834 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57835 distclean-stageautoprofile:: distclean-stageautofeedback
57836 .PHONY: distclean-stageautofeedback
57837 distclean-stageautofeedback::
57838 @: $(MAKE); $(stage)
57839 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
57840 rm -rf stageautofeedback-*
57843 @endif gcc-bootstrap
57847 stageprofile-end::
57848 $(MAKE) distclean-stagefeedback
57850 stagefeedback-start::
57851 @r=`${PWD_COMMAND}`; export r; \
57852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57853 for i in prev-*; do \
57854 j=`echo $$i | sed s/^prev-//`; \
57855 cd $$r/$$i && \
57856 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
57857 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
57858 done
57860 @if gcc-bootstrap
57861 do-distclean: distclean-stage1
57863 # Provide a GCC build when we're building target libraries. This does
57864 # not work as a dependency, just as the minimum necessary to avoid errors.
57865 stage_last:
57866 @r=`${PWD_COMMAND}`; export r; \
57867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57868 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
57870 # Same as unstage, but not phony and defaulting to stage1-start. We place
57871 # it in the dependency so that for example `make -j3 all-gcc' works.
57872 stage_current:
57873 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
57875 .PHONY: restrap
57876 restrap::
57877 @: $(MAKE); $(stage)
57878 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
57879 restrap:: all
57880 @endif gcc-bootstrap
57882 # --------------------------------------
57883 # Dependencies between different modules
57884 # --------------------------------------
57886 # Generic dependencies for target modules on host stuff, especially gcc
57887 @if gcc-bootstrap
57888 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
57889 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
57890 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
57891 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
57892 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
57893 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
57894 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
57895 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
57896 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
57897 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
57898 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
57899 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
57900 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
57901 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
57902 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
57903 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
57904 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
57905 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
57906 configure-stage1-target-libvtv: maybe-all-stage1-gcc
57907 configure-stage2-target-libvtv: maybe-all-stage2-gcc
57908 configure-stage3-target-libvtv: maybe-all-stage3-gcc
57909 configure-stage4-target-libvtv: maybe-all-stage4-gcc
57910 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
57911 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
57912 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
57913 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
57914 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
57915 configure-target-liboffloadmic: stage_last
57916 configure-target-libssp: stage_last
57917 configure-target-newlib: stage_last
57918 configure-stage1-target-libgcc: maybe-all-stage1-gcc
57919 configure-stage2-target-libgcc: maybe-all-stage2-gcc
57920 configure-stage3-target-libgcc: maybe-all-stage3-gcc
57921 configure-stage4-target-libgcc: maybe-all-stage4-gcc
57922 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
57923 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
57924 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
57925 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
57926 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
57927 configure-target-libbacktrace: stage_last
57928 configure-target-libquadmath: stage_last
57929 configure-target-libgfortran: stage_last
57930 configure-target-libobjc: stage_last
57931 configure-target-libgo: stage_last
57932 configure-target-libhsail-rt: stage_last
57933 configure-target-libphobos: stage_last
57934 configure-target-libtermcap: stage_last
57935 configure-target-winsup: stage_last
57936 configure-target-libgloss: stage_last
57937 configure-target-libffi: stage_last
57938 configure-target-zlib: stage_last
57939 configure-target-rda: stage_last
57940 configure-target-libada: stage_last
57941 configure-stage1-target-libgomp: maybe-all-stage1-gcc
57942 configure-stage2-target-libgomp: maybe-all-stage2-gcc
57943 configure-stage3-target-libgomp: maybe-all-stage3-gcc
57944 configure-stage4-target-libgomp: maybe-all-stage4-gcc
57945 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
57946 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
57947 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
57948 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
57949 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
57950 configure-target-libitm: stage_last
57951 configure-target-libatomic: stage_last
57952 @endif gcc-bootstrap
57954 @if gcc-no-bootstrap
57955 configure-target-libstdc++-v3: maybe-all-gcc
57956 configure-target-libsanitizer: maybe-all-gcc
57957 configure-target-libvtv: maybe-all-gcc
57958 configure-target-liboffloadmic: maybe-all-gcc
57959 configure-target-libssp: maybe-all-gcc
57960 configure-target-newlib: maybe-all-gcc
57961 configure-target-libgcc: maybe-all-gcc
57962 configure-target-libbacktrace: maybe-all-gcc
57963 configure-target-libquadmath: maybe-all-gcc
57964 configure-target-libgfortran: maybe-all-gcc
57965 configure-target-libobjc: maybe-all-gcc
57966 configure-target-libgo: maybe-all-gcc
57967 configure-target-libhsail-rt: maybe-all-gcc
57968 configure-target-libphobos: maybe-all-gcc
57969 configure-target-libtermcap: maybe-all-gcc
57970 configure-target-winsup: maybe-all-gcc
57971 configure-target-libgloss: maybe-all-gcc
57972 configure-target-libffi: maybe-all-gcc
57973 configure-target-zlib: maybe-all-gcc
57974 configure-target-rda: maybe-all-gcc
57975 configure-target-libada: maybe-all-gcc
57976 configure-target-libgomp: maybe-all-gcc
57977 configure-target-libitm: maybe-all-gcc
57978 configure-target-libatomic: maybe-all-gcc
57979 @endif gcc-no-bootstrap
57982 # There are two types of dependencies here: 'hard' dependencies, where one
57983 # module simply won't build without the other; and 'soft' dependencies, where
57984 # if the depended-on module is missing, the depending module will do without
57985 # or find a substitute somewhere (perhaps installed). Soft dependencies
57986 # are made here to depend on a 'maybe-' target. If you're not sure,
57987 # it's safer to use a soft dependency.
57994 # With all the machinery above in place, it is pretty easy to generate
57995 # dependencies. Host dependencies are a bit more complex because we have
57996 # to check for bootstrap/prebootstrap dependencies. To resolve
57997 # prebootstrap dependencies, prebootstrap modules are gathered in
57998 # a hash table.
57999 all-build-bison: maybe-all-build-texinfo
58000 all-build-flex: maybe-all-build-texinfo
58001 all-build-flex: maybe-all-build-bison
58002 all-build-flex: maybe-all-build-m4
58003 all-build-libiberty: maybe-all-build-texinfo
58004 all-build-m4: maybe-all-build-texinfo
58005 all-build-fixincludes: maybe-all-build-libiberty
58006 all-build-libcpp: maybe-all-build-libiberty
58007 configure-gcc: maybe-configure-intl
58008 configure-stage1-gcc: maybe-configure-stage1-intl
58009 configure-stage2-gcc: maybe-configure-stage2-intl
58010 configure-stage3-gcc: maybe-configure-stage3-intl
58011 configure-stage4-gcc: maybe-configure-stage4-intl
58012 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
58013 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
58014 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
58015 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
58016 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
58017 configure-gcc: maybe-all-gmp
58018 configure-stage1-gcc: maybe-all-stage1-gmp
58019 configure-stage2-gcc: maybe-all-stage2-gmp
58020 configure-stage3-gcc: maybe-all-stage3-gmp
58021 configure-stage4-gcc: maybe-all-stage4-gmp
58022 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
58023 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
58024 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
58025 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
58026 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
58027 configure-gcc: maybe-all-mpfr
58028 configure-stage1-gcc: maybe-all-stage1-mpfr
58029 configure-stage2-gcc: maybe-all-stage2-mpfr
58030 configure-stage3-gcc: maybe-all-stage3-mpfr
58031 configure-stage4-gcc: maybe-all-stage4-mpfr
58032 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
58033 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
58034 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
58035 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
58036 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
58037 configure-gcc: maybe-all-mpc
58038 configure-stage1-gcc: maybe-all-stage1-mpc
58039 configure-stage2-gcc: maybe-all-stage2-mpc
58040 configure-stage3-gcc: maybe-all-stage3-mpc
58041 configure-stage4-gcc: maybe-all-stage4-mpc
58042 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
58043 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
58044 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
58045 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
58046 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
58047 configure-gcc: maybe-all-isl
58048 configure-stage1-gcc: maybe-all-stage1-isl
58049 configure-stage2-gcc: maybe-all-stage2-isl
58050 configure-stage3-gcc: maybe-all-stage3-isl
58051 configure-stage4-gcc: maybe-all-stage4-isl
58052 configure-stageprofile-gcc: maybe-all-stageprofile-isl
58053 configure-stagetrain-gcc: maybe-all-stagetrain-isl
58054 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
58055 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
58056 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
58057 configure-gcc: maybe-all-lto-plugin
58058 configure-stage1-gcc: maybe-all-stage1-lto-plugin
58059 configure-stage2-gcc: maybe-all-stage2-lto-plugin
58060 configure-stage3-gcc: maybe-all-stage3-lto-plugin
58061 configure-stage4-gcc: maybe-all-stage4-lto-plugin
58062 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
58063 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
58064 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
58065 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
58066 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
58067 configure-gcc: maybe-all-binutils
58068 configure-stage1-gcc: maybe-all-stage1-binutils
58069 configure-stage2-gcc: maybe-all-stage2-binutils
58070 configure-stage3-gcc: maybe-all-stage3-binutils
58071 configure-stage4-gcc: maybe-all-stage4-binutils
58072 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
58073 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
58074 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
58075 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
58076 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
58077 configure-gcc: maybe-all-gas
58078 configure-stage1-gcc: maybe-all-stage1-gas
58079 configure-stage2-gcc: maybe-all-stage2-gas
58080 configure-stage3-gcc: maybe-all-stage3-gas
58081 configure-stage4-gcc: maybe-all-stage4-gas
58082 configure-stageprofile-gcc: maybe-all-stageprofile-gas
58083 configure-stagetrain-gcc: maybe-all-stagetrain-gas
58084 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
58085 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
58086 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
58087 configure-gcc: maybe-all-ld
58088 configure-stage1-gcc: maybe-all-stage1-ld
58089 configure-stage2-gcc: maybe-all-stage2-ld
58090 configure-stage3-gcc: maybe-all-stage3-ld
58091 configure-stage4-gcc: maybe-all-stage4-ld
58092 configure-stageprofile-gcc: maybe-all-stageprofile-ld
58093 configure-stagetrain-gcc: maybe-all-stagetrain-ld
58094 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
58095 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
58096 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
58097 configure-gcc: maybe-all-gold
58098 configure-stage1-gcc: maybe-all-stage1-gold
58099 configure-stage2-gcc: maybe-all-stage2-gold
58100 configure-stage3-gcc: maybe-all-stage3-gold
58101 configure-stage4-gcc: maybe-all-stage4-gold
58102 configure-stageprofile-gcc: maybe-all-stageprofile-gold
58103 configure-stagetrain-gcc: maybe-all-stagetrain-gold
58104 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
58105 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
58106 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
58107 configure-gcc: maybe-all-libelf
58108 configure-stage1-gcc: maybe-all-stage1-libelf
58109 configure-stage2-gcc: maybe-all-stage2-libelf
58110 configure-stage3-gcc: maybe-all-stage3-libelf
58111 configure-stage4-gcc: maybe-all-stage4-libelf
58112 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
58113 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
58114 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
58115 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
58116 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
58117 configure-gcc: maybe-all-libiconv
58118 configure-stage1-gcc: maybe-all-stage1-libiconv
58119 configure-stage2-gcc: maybe-all-stage2-libiconv
58120 configure-stage3-gcc: maybe-all-stage3-libiconv
58121 configure-stage4-gcc: maybe-all-stage4-libiconv
58122 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
58123 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
58124 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
58125 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
58126 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
58127 all-gcc: all-libiberty
58128 all-stage1-gcc: all-stage1-libiberty
58129 all-stage2-gcc: all-stage2-libiberty
58130 all-stage3-gcc: all-stage3-libiberty
58131 all-stage4-gcc: all-stage4-libiberty
58132 all-stageprofile-gcc: all-stageprofile-libiberty
58133 all-stagetrain-gcc: all-stagetrain-libiberty
58134 all-stagefeedback-gcc: all-stagefeedback-libiberty
58135 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
58136 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
58137 all-gcc: maybe-all-intl
58138 all-stage1-gcc: maybe-all-stage1-intl
58139 all-stage2-gcc: maybe-all-stage2-intl
58140 all-stage3-gcc: maybe-all-stage3-intl
58141 all-stage4-gcc: maybe-all-stage4-intl
58142 all-stageprofile-gcc: maybe-all-stageprofile-intl
58143 all-stagetrain-gcc: maybe-all-stagetrain-intl
58144 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
58145 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
58146 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
58147 all-gcc: maybe-all-mpfr
58148 all-stage1-gcc: maybe-all-stage1-mpfr
58149 all-stage2-gcc: maybe-all-stage2-mpfr
58150 all-stage3-gcc: maybe-all-stage3-mpfr
58151 all-stage4-gcc: maybe-all-stage4-mpfr
58152 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
58153 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
58154 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
58155 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
58156 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
58157 all-gcc: maybe-all-mpc
58158 all-stage1-gcc: maybe-all-stage1-mpc
58159 all-stage2-gcc: maybe-all-stage2-mpc
58160 all-stage3-gcc: maybe-all-stage3-mpc
58161 all-stage4-gcc: maybe-all-stage4-mpc
58162 all-stageprofile-gcc: maybe-all-stageprofile-mpc
58163 all-stagetrain-gcc: maybe-all-stagetrain-mpc
58164 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
58165 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
58166 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
58167 all-gcc: maybe-all-isl
58168 all-stage1-gcc: maybe-all-stage1-isl
58169 all-stage2-gcc: maybe-all-stage2-isl
58170 all-stage3-gcc: maybe-all-stage3-isl
58171 all-stage4-gcc: maybe-all-stage4-isl
58172 all-stageprofile-gcc: maybe-all-stageprofile-isl
58173 all-stagetrain-gcc: maybe-all-stagetrain-isl
58174 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
58175 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
58176 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
58177 all-gcc: maybe-all-build-texinfo
58178 all-stage1-gcc: maybe-all-build-texinfo
58179 all-stage2-gcc: maybe-all-build-texinfo
58180 all-stage3-gcc: maybe-all-build-texinfo
58181 all-stage4-gcc: maybe-all-build-texinfo
58182 all-stageprofile-gcc: maybe-all-build-texinfo
58183 all-stagetrain-gcc: maybe-all-build-texinfo
58184 all-stagefeedback-gcc: maybe-all-build-texinfo
58185 all-stageautoprofile-gcc: maybe-all-build-texinfo
58186 all-stageautofeedback-gcc: maybe-all-build-texinfo
58187 all-gcc: maybe-all-build-bison
58188 all-stage1-gcc: maybe-all-build-bison
58189 all-stage2-gcc: maybe-all-build-bison
58190 all-stage3-gcc: maybe-all-build-bison
58191 all-stage4-gcc: maybe-all-build-bison
58192 all-stageprofile-gcc: maybe-all-build-bison
58193 all-stagetrain-gcc: maybe-all-build-bison
58194 all-stagefeedback-gcc: maybe-all-build-bison
58195 all-stageautoprofile-gcc: maybe-all-build-bison
58196 all-stageautofeedback-gcc: maybe-all-build-bison
58197 all-gcc: maybe-all-build-flex
58198 all-stage1-gcc: maybe-all-build-flex
58199 all-stage2-gcc: maybe-all-build-flex
58200 all-stage3-gcc: maybe-all-build-flex
58201 all-stage4-gcc: maybe-all-build-flex
58202 all-stageprofile-gcc: maybe-all-build-flex
58203 all-stagetrain-gcc: maybe-all-build-flex
58204 all-stagefeedback-gcc: maybe-all-build-flex
58205 all-stageautoprofile-gcc: maybe-all-build-flex
58206 all-stageautofeedback-gcc: maybe-all-build-flex
58207 all-gcc: maybe-all-build-libiberty
58208 all-stage1-gcc: maybe-all-build-libiberty
58209 all-stage2-gcc: maybe-all-build-libiberty
58210 all-stage3-gcc: maybe-all-build-libiberty
58211 all-stage4-gcc: maybe-all-build-libiberty
58212 all-stageprofile-gcc: maybe-all-build-libiberty
58213 all-stagetrain-gcc: maybe-all-build-libiberty
58214 all-stagefeedback-gcc: maybe-all-build-libiberty
58215 all-stageautoprofile-gcc: maybe-all-build-libiberty
58216 all-stageautofeedback-gcc: maybe-all-build-libiberty
58217 all-gcc: maybe-all-build-fixincludes
58218 all-stage1-gcc: maybe-all-build-fixincludes
58219 all-stage2-gcc: maybe-all-build-fixincludes
58220 all-stage3-gcc: maybe-all-build-fixincludes
58221 all-stage4-gcc: maybe-all-build-fixincludes
58222 all-stageprofile-gcc: maybe-all-build-fixincludes
58223 all-stagetrain-gcc: maybe-all-build-fixincludes
58224 all-stagefeedback-gcc: maybe-all-build-fixincludes
58225 all-stageautoprofile-gcc: maybe-all-build-fixincludes
58226 all-stageautofeedback-gcc: maybe-all-build-fixincludes
58227 all-gcc: maybe-all-build-libcpp
58228 all-stage1-gcc: maybe-all-build-libcpp
58229 all-stage2-gcc: maybe-all-build-libcpp
58230 all-stage3-gcc: maybe-all-build-libcpp
58231 all-stage4-gcc: maybe-all-build-libcpp
58232 all-stageprofile-gcc: maybe-all-build-libcpp
58233 all-stagetrain-gcc: maybe-all-build-libcpp
58234 all-stagefeedback-gcc: maybe-all-build-libcpp
58235 all-stageautoprofile-gcc: maybe-all-build-libcpp
58236 all-stageautofeedback-gcc: maybe-all-build-libcpp
58237 all-gcc: maybe-all-zlib
58238 all-stage1-gcc: maybe-all-stage1-zlib
58239 all-stage2-gcc: maybe-all-stage2-zlib
58240 all-stage3-gcc: maybe-all-stage3-zlib
58241 all-stage4-gcc: maybe-all-stage4-zlib
58242 all-stageprofile-gcc: maybe-all-stageprofile-zlib
58243 all-stagetrain-gcc: maybe-all-stagetrain-zlib
58244 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
58245 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
58246 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
58247 all-gcc: all-libbacktrace
58248 all-stage1-gcc: all-stage1-libbacktrace
58249 all-stage2-gcc: all-stage2-libbacktrace
58250 all-stage3-gcc: all-stage3-libbacktrace
58251 all-stage4-gcc: all-stage4-libbacktrace
58252 all-stageprofile-gcc: all-stageprofile-libbacktrace
58253 all-stagetrain-gcc: all-stagetrain-libbacktrace
58254 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
58255 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
58256 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
58257 all-gcc: all-libcpp
58258 all-stage1-gcc: all-stage1-libcpp
58259 all-stage2-gcc: all-stage2-libcpp
58260 all-stage3-gcc: all-stage3-libcpp
58261 all-stage4-gcc: all-stage4-libcpp
58262 all-stageprofile-gcc: all-stageprofile-libcpp
58263 all-stagetrain-gcc: all-stagetrain-libcpp
58264 all-stagefeedback-gcc: all-stagefeedback-libcpp
58265 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
58266 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
58267 all-gcc: all-libdecnumber
58268 all-stage1-gcc: all-stage1-libdecnumber
58269 all-stage2-gcc: all-stage2-libdecnumber
58270 all-stage3-gcc: all-stage3-libdecnumber
58271 all-stage4-gcc: all-stage4-libdecnumber
58272 all-stageprofile-gcc: all-stageprofile-libdecnumber
58273 all-stagetrain-gcc: all-stagetrain-libdecnumber
58274 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
58275 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
58276 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
58277 all-gcc: maybe-all-libiberty
58278 all-stage1-gcc: maybe-all-stage1-libiberty
58279 all-stage2-gcc: maybe-all-stage2-libiberty
58280 all-stage3-gcc: maybe-all-stage3-libiberty
58281 all-stage4-gcc: maybe-all-stage4-libiberty
58282 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
58283 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
58284 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
58285 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
58286 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
58287 all-gcc: maybe-all-fixincludes
58288 all-stage1-gcc: maybe-all-stage1-fixincludes
58289 all-stage2-gcc: maybe-all-stage2-fixincludes
58290 all-stage3-gcc: maybe-all-stage3-fixincludes
58291 all-stage4-gcc: maybe-all-stage4-fixincludes
58292 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
58293 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
58294 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
58295 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
58296 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
58297 all-gcc: maybe-all-lto-plugin
58298 all-stage1-gcc: maybe-all-stage1-lto-plugin
58299 all-stage2-gcc: maybe-all-stage2-lto-plugin
58300 all-stage3-gcc: maybe-all-stage3-lto-plugin
58301 all-stage4-gcc: maybe-all-stage4-lto-plugin
58302 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
58303 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
58304 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
58305 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
58306 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
58307 all-gcc: maybe-all-libiconv
58308 all-stage1-gcc: maybe-all-stage1-libiconv
58309 all-stage2-gcc: maybe-all-stage2-libiconv
58310 all-stage3-gcc: maybe-all-stage3-libiconv
58311 all-stage4-gcc: maybe-all-stage4-libiconv
58312 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
58313 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
58314 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
58315 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
58316 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
58317 info-gcc: maybe-all-build-libiberty
58318 info-stage1-gcc: maybe-all-build-libiberty
58319 info-stage2-gcc: maybe-all-build-libiberty
58320 info-stage3-gcc: maybe-all-build-libiberty
58321 info-stage4-gcc: maybe-all-build-libiberty
58322 info-stageprofile-gcc: maybe-all-build-libiberty
58323 info-stagetrain-gcc: maybe-all-build-libiberty
58324 info-stagefeedback-gcc: maybe-all-build-libiberty
58325 info-stageautoprofile-gcc: maybe-all-build-libiberty
58326 info-stageautofeedback-gcc: maybe-all-build-libiberty
58327 dvi-gcc: maybe-all-build-libiberty
58328 dvi-stage1-gcc: maybe-all-build-libiberty
58329 dvi-stage2-gcc: maybe-all-build-libiberty
58330 dvi-stage3-gcc: maybe-all-build-libiberty
58331 dvi-stage4-gcc: maybe-all-build-libiberty
58332 dvi-stageprofile-gcc: maybe-all-build-libiberty
58333 dvi-stagetrain-gcc: maybe-all-build-libiberty
58334 dvi-stagefeedback-gcc: maybe-all-build-libiberty
58335 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
58336 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
58337 pdf-gcc: maybe-all-build-libiberty
58338 pdf-stage1-gcc: maybe-all-build-libiberty
58339 pdf-stage2-gcc: maybe-all-build-libiberty
58340 pdf-stage3-gcc: maybe-all-build-libiberty
58341 pdf-stage4-gcc: maybe-all-build-libiberty
58342 pdf-stageprofile-gcc: maybe-all-build-libiberty
58343 pdf-stagetrain-gcc: maybe-all-build-libiberty
58344 pdf-stagefeedback-gcc: maybe-all-build-libiberty
58345 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
58346 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
58347 html-gcc: maybe-all-build-libiberty
58348 html-stage1-gcc: maybe-all-build-libiberty
58349 html-stage2-gcc: maybe-all-build-libiberty
58350 html-stage3-gcc: maybe-all-build-libiberty
58351 html-stage4-gcc: maybe-all-build-libiberty
58352 html-stageprofile-gcc: maybe-all-build-libiberty
58353 html-stagetrain-gcc: maybe-all-build-libiberty
58354 html-stagefeedback-gcc: maybe-all-build-libiberty
58355 html-stageautoprofile-gcc: maybe-all-build-libiberty
58356 html-stageautofeedback-gcc: maybe-all-build-libiberty
58357 install-gcc: maybe-install-fixincludes
58358 install-gcc: maybe-install-lto-plugin
58359 install-strip-gcc: maybe-install-strip-fixincludes
58360 install-strip-gcc: maybe-install-strip-lto-plugin
58361 configure-libcpp: configure-libiberty
58362 configure-stage1-libcpp: configure-stage1-libiberty
58363 configure-stage2-libcpp: configure-stage2-libiberty
58364 configure-stage3-libcpp: configure-stage3-libiberty
58365 configure-stage4-libcpp: configure-stage4-libiberty
58366 configure-stageprofile-libcpp: configure-stageprofile-libiberty
58367 configure-stagetrain-libcpp: configure-stagetrain-libiberty
58368 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
58369 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
58370 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
58371 configure-libcpp: maybe-configure-intl
58372 configure-stage1-libcpp: maybe-configure-stage1-intl
58373 configure-stage2-libcpp: maybe-configure-stage2-intl
58374 configure-stage3-libcpp: maybe-configure-stage3-intl
58375 configure-stage4-libcpp: maybe-configure-stage4-intl
58376 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
58377 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
58378 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
58379 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
58380 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
58381 configure-libcpp: maybe-all-libiconv
58382 configure-stage1-libcpp: maybe-all-stage1-libiconv
58383 configure-stage2-libcpp: maybe-all-stage2-libiconv
58384 configure-stage3-libcpp: maybe-all-stage3-libiconv
58385 configure-stage4-libcpp: maybe-all-stage4-libiconv
58386 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
58387 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
58388 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
58389 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
58390 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
58391 all-libcpp: all-libiberty
58392 all-stage1-libcpp: all-stage1-libiberty
58393 all-stage2-libcpp: all-stage2-libiberty
58394 all-stage3-libcpp: all-stage3-libiberty
58395 all-stage4-libcpp: all-stage4-libiberty
58396 all-stageprofile-libcpp: all-stageprofile-libiberty
58397 all-stagetrain-libcpp: all-stagetrain-libiberty
58398 all-stagefeedback-libcpp: all-stagefeedback-libiberty
58399 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
58400 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
58401 all-libcpp: maybe-all-intl
58402 all-stage1-libcpp: maybe-all-stage1-intl
58403 all-stage2-libcpp: maybe-all-stage2-intl
58404 all-stage3-libcpp: maybe-all-stage3-intl
58405 all-stage4-libcpp: maybe-all-stage4-intl
58406 all-stageprofile-libcpp: maybe-all-stageprofile-intl
58407 all-stagetrain-libcpp: maybe-all-stagetrain-intl
58408 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
58409 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
58410 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
58411 all-libcpp: maybe-all-libiconv
58412 all-stage1-libcpp: maybe-all-stage1-libiconv
58413 all-stage2-libcpp: maybe-all-stage2-libiconv
58414 all-stage3-libcpp: maybe-all-stage3-libiconv
58415 all-stage4-libcpp: maybe-all-stage4-libiconv
58416 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
58417 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
58418 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
58419 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
58420 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
58421 all-fixincludes: maybe-all-libiberty
58422 all-stage1-fixincludes: maybe-all-stage1-libiberty
58423 all-stage2-fixincludes: maybe-all-stage2-libiberty
58424 all-stage3-fixincludes: maybe-all-stage3-libiberty
58425 all-stage4-fixincludes: maybe-all-stage4-libiberty
58426 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
58427 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
58428 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
58429 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
58430 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
58431 all-gnattools: maybe-all-target-libada
58432 all-lto-plugin: maybe-all-libiberty
58433 all-stage1-lto-plugin: maybe-all-stage1-libiberty
58434 all-stage2-lto-plugin: maybe-all-stage2-libiberty
58435 all-stage3-lto-plugin: maybe-all-stage3-libiberty
58436 all-stage4-lto-plugin: maybe-all-stage4-libiberty
58437 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
58438 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
58439 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
58440 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
58441 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
58442 all-lto-plugin: maybe-all-libiberty-linker-plugin
58443 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
58444 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
58445 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
58446 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
58447 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
58448 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
58449 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
58450 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
58451 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
58452 all-gotools: maybe-all-target-libgo
58453 configure-intl: maybe-all-libiconv
58454 configure-stage1-intl: maybe-all-stage1-libiconv
58455 configure-stage2-intl: maybe-all-stage2-libiconv
58456 configure-stage3-intl: maybe-all-stage3-libiconv
58457 configure-stage4-intl: maybe-all-stage4-libiconv
58458 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
58459 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
58460 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58461 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58462 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58463 configure-mpfr: maybe-all-gmp
58464 configure-stage1-mpfr: maybe-all-stage1-gmp
58465 configure-stage2-mpfr: maybe-all-stage2-gmp
58466 configure-stage3-mpfr: maybe-all-stage3-gmp
58467 configure-stage4-mpfr: maybe-all-stage4-gmp
58468 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
58469 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
58470 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
58471 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
58472 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
58473 configure-mpc: maybe-all-mpfr
58474 configure-stage1-mpc: maybe-all-stage1-mpfr
58475 configure-stage2-mpc: maybe-all-stage2-mpfr
58476 configure-stage3-mpc: maybe-all-stage3-mpfr
58477 configure-stage4-mpc: maybe-all-stage4-mpfr
58478 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
58479 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
58480 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
58481 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
58482 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
58483 configure-isl: maybe-all-gmp
58484 configure-stage1-isl: maybe-all-stage1-gmp
58485 configure-stage2-isl: maybe-all-stage2-gmp
58486 configure-stage3-isl: maybe-all-stage3-gmp
58487 configure-stage4-isl: maybe-all-stage4-gmp
58488 configure-stageprofile-isl: maybe-all-stageprofile-gmp
58489 configure-stagetrain-isl: maybe-all-stagetrain-gmp
58490 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
58491 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
58492 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
58493 all-intl: maybe-all-libiconv
58494 all-stage1-intl: maybe-all-stage1-libiconv
58495 all-stage2-intl: maybe-all-stage2-libiconv
58496 all-stage3-intl: maybe-all-stage3-libiconv
58497 all-stage4-intl: maybe-all-stage4-libiconv
58498 all-stageprofile-intl: maybe-all-stageprofile-libiconv
58499 all-stagetrain-intl: maybe-all-stagetrain-libiconv
58500 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58501 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58502 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58503 configure-gdb: maybe-configure-sim
58504 configure-gdb: maybe-all-gnulib
58505 all-gdb: maybe-all-gnulib
58506 all-gdb: maybe-all-readline
58507 all-gdb: maybe-all-build-bison
58508 all-gdb: maybe-all-sim
58509 all-gdb: maybe-all-libtermcap
58510 configure-libgui: maybe-configure-tcl
58511 configure-libgui: maybe-configure-tk
58512 all-libgui: maybe-all-tcl
58513 all-libgui: maybe-all-tk
58514 all-libgui: maybe-all-itcl
58515 configure-bfd: configure-libiberty
58516 configure-stage1-bfd: configure-stage1-libiberty
58517 configure-stage2-bfd: configure-stage2-libiberty
58518 configure-stage3-bfd: configure-stage3-libiberty
58519 configure-stage4-bfd: configure-stage4-libiberty
58520 configure-stageprofile-bfd: configure-stageprofile-libiberty
58521 configure-stagetrain-bfd: configure-stagetrain-libiberty
58522 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
58523 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
58524 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
58525 configure-bfd: maybe-configure-intl
58526 configure-stage1-bfd: maybe-configure-stage1-intl
58527 configure-stage2-bfd: maybe-configure-stage2-intl
58528 configure-stage3-bfd: maybe-configure-stage3-intl
58529 configure-stage4-bfd: maybe-configure-stage4-intl
58530 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
58531 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
58532 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
58533 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
58534 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
58535 all-bfd: maybe-all-libiberty
58536 all-stage1-bfd: maybe-all-stage1-libiberty
58537 all-stage2-bfd: maybe-all-stage2-libiberty
58538 all-stage3-bfd: maybe-all-stage3-libiberty
58539 all-stage4-bfd: maybe-all-stage4-libiberty
58540 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
58541 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
58542 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
58543 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
58544 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
58545 all-bfd: maybe-all-intl
58546 all-stage1-bfd: maybe-all-stage1-intl
58547 all-stage2-bfd: maybe-all-stage2-intl
58548 all-stage3-bfd: maybe-all-stage3-intl
58549 all-stage4-bfd: maybe-all-stage4-intl
58550 all-stageprofile-bfd: maybe-all-stageprofile-intl
58551 all-stagetrain-bfd: maybe-all-stagetrain-intl
58552 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
58553 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
58554 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
58555 all-bfd: maybe-all-zlib
58556 all-stage1-bfd: maybe-all-stage1-zlib
58557 all-stage2-bfd: maybe-all-stage2-zlib
58558 all-stage3-bfd: maybe-all-stage3-zlib
58559 all-stage4-bfd: maybe-all-stage4-zlib
58560 all-stageprofile-bfd: maybe-all-stageprofile-zlib
58561 all-stagetrain-bfd: maybe-all-stagetrain-zlib
58562 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
58563 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
58564 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
58565 configure-opcodes: configure-libiberty
58566 configure-stage1-opcodes: configure-stage1-libiberty
58567 configure-stage2-opcodes: configure-stage2-libiberty
58568 configure-stage3-opcodes: configure-stage3-libiberty
58569 configure-stage4-opcodes: configure-stage4-libiberty
58570 configure-stageprofile-opcodes: configure-stageprofile-libiberty
58571 configure-stagetrain-opcodes: configure-stagetrain-libiberty
58572 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
58573 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
58574 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
58575 all-opcodes: maybe-all-libiberty
58576 all-stage1-opcodes: maybe-all-stage1-libiberty
58577 all-stage2-opcodes: maybe-all-stage2-libiberty
58578 all-stage3-opcodes: maybe-all-stage3-libiberty
58579 all-stage4-opcodes: maybe-all-stage4-libiberty
58580 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58581 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58582 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58583 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58584 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58585 configure-binutils: maybe-configure-intl
58586 configure-stage1-binutils: maybe-configure-stage1-intl
58587 configure-stage2-binutils: maybe-configure-stage2-intl
58588 configure-stage3-binutils: maybe-configure-stage3-intl
58589 configure-stage4-binutils: maybe-configure-stage4-intl
58590 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
58591 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
58592 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
58593 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
58594 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
58595 all-binutils: maybe-all-libiberty
58596 all-stage1-binutils: maybe-all-stage1-libiberty
58597 all-stage2-binutils: maybe-all-stage2-libiberty
58598 all-stage3-binutils: maybe-all-stage3-libiberty
58599 all-stage4-binutils: maybe-all-stage4-libiberty
58600 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
58601 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
58602 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
58603 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
58604 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
58605 all-binutils: maybe-all-opcodes
58606 all-stage1-binutils: maybe-all-stage1-opcodes
58607 all-stage2-binutils: maybe-all-stage2-opcodes
58608 all-stage3-binutils: maybe-all-stage3-opcodes
58609 all-stage4-binutils: maybe-all-stage4-opcodes
58610 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
58611 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
58612 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
58613 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
58614 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
58615 all-binutils: maybe-all-bfd
58616 all-stage1-binutils: maybe-all-stage1-bfd
58617 all-stage2-binutils: maybe-all-stage2-bfd
58618 all-stage3-binutils: maybe-all-stage3-bfd
58619 all-stage4-binutils: maybe-all-stage4-bfd
58620 all-stageprofile-binutils: maybe-all-stageprofile-bfd
58621 all-stagetrain-binutils: maybe-all-stagetrain-bfd
58622 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
58623 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
58624 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
58625 all-binutils: maybe-all-build-flex
58626 all-stage1-binutils: maybe-all-build-flex
58627 all-stage2-binutils: maybe-all-build-flex
58628 all-stage3-binutils: maybe-all-build-flex
58629 all-stage4-binutils: maybe-all-build-flex
58630 all-stageprofile-binutils: maybe-all-build-flex
58631 all-stagetrain-binutils: maybe-all-build-flex
58632 all-stagefeedback-binutils: maybe-all-build-flex
58633 all-stageautoprofile-binutils: maybe-all-build-flex
58634 all-stageautofeedback-binutils: maybe-all-build-flex
58635 all-binutils: maybe-all-build-bison
58636 all-stage1-binutils: maybe-all-build-bison
58637 all-stage2-binutils: maybe-all-build-bison
58638 all-stage3-binutils: maybe-all-build-bison
58639 all-stage4-binutils: maybe-all-build-bison
58640 all-stageprofile-binutils: maybe-all-build-bison
58641 all-stagetrain-binutils: maybe-all-build-bison
58642 all-stagefeedback-binutils: maybe-all-build-bison
58643 all-stageautoprofile-binutils: maybe-all-build-bison
58644 all-stageautofeedback-binutils: maybe-all-build-bison
58645 all-binutils: maybe-all-intl
58646 all-stage1-binutils: maybe-all-stage1-intl
58647 all-stage2-binutils: maybe-all-stage2-intl
58648 all-stage3-binutils: maybe-all-stage3-intl
58649 all-stage4-binutils: maybe-all-stage4-intl
58650 all-stageprofile-binutils: maybe-all-stageprofile-intl
58651 all-stagetrain-binutils: maybe-all-stagetrain-intl
58652 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
58653 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
58654 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
58655 all-binutils: maybe-all-gas
58656 all-stage1-binutils: maybe-all-stage1-gas
58657 all-stage2-binutils: maybe-all-stage2-gas
58658 all-stage3-binutils: maybe-all-stage3-gas
58659 all-stage4-binutils: maybe-all-stage4-gas
58660 all-stageprofile-binutils: maybe-all-stageprofile-gas
58661 all-stagetrain-binutils: maybe-all-stagetrain-gas
58662 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
58663 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
58664 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
58665 all-binutils: maybe-all-libctf
58666 all-stage1-binutils: maybe-all-stage1-libctf
58667 all-stage2-binutils: maybe-all-stage2-libctf
58668 all-stage3-binutils: maybe-all-stage3-libctf
58669 all-stage4-binutils: maybe-all-stage4-libctf
58670 all-stageprofile-binutils: maybe-all-stageprofile-libctf
58671 all-stagetrain-binutils: maybe-all-stagetrain-libctf
58672 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
58673 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
58674 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
58675 install-binutils: maybe-install-opcodes
58676 install-strip-binutils: maybe-install-strip-opcodes
58677 install-opcodes: maybe-install-bfd
58678 install-strip-opcodes: maybe-install-strip-bfd
58679 configure-gas: maybe-configure-intl
58680 configure-stage1-gas: maybe-configure-stage1-intl
58681 configure-stage2-gas: maybe-configure-stage2-intl
58682 configure-stage3-gas: maybe-configure-stage3-intl
58683 configure-stage4-gas: maybe-configure-stage4-intl
58684 configure-stageprofile-gas: maybe-configure-stageprofile-intl
58685 configure-stagetrain-gas: maybe-configure-stagetrain-intl
58686 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
58687 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
58688 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
58689 all-gas: maybe-all-libiberty
58690 all-stage1-gas: maybe-all-stage1-libiberty
58691 all-stage2-gas: maybe-all-stage2-libiberty
58692 all-stage3-gas: maybe-all-stage3-libiberty
58693 all-stage4-gas: maybe-all-stage4-libiberty
58694 all-stageprofile-gas: maybe-all-stageprofile-libiberty
58695 all-stagetrain-gas: maybe-all-stagetrain-libiberty
58696 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
58697 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
58698 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
58699 all-gas: maybe-all-opcodes
58700 all-stage1-gas: maybe-all-stage1-opcodes
58701 all-stage2-gas: maybe-all-stage2-opcodes
58702 all-stage3-gas: maybe-all-stage3-opcodes
58703 all-stage4-gas: maybe-all-stage4-opcodes
58704 all-stageprofile-gas: maybe-all-stageprofile-opcodes
58705 all-stagetrain-gas: maybe-all-stagetrain-opcodes
58706 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
58707 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
58708 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
58709 all-gas: maybe-all-bfd
58710 all-stage1-gas: maybe-all-stage1-bfd
58711 all-stage2-gas: maybe-all-stage2-bfd
58712 all-stage3-gas: maybe-all-stage3-bfd
58713 all-stage4-gas: maybe-all-stage4-bfd
58714 all-stageprofile-gas: maybe-all-stageprofile-bfd
58715 all-stagetrain-gas: maybe-all-stagetrain-bfd
58716 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
58717 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
58718 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
58719 all-gas: maybe-all-intl
58720 all-stage1-gas: maybe-all-stage1-intl
58721 all-stage2-gas: maybe-all-stage2-intl
58722 all-stage3-gas: maybe-all-stage3-intl
58723 all-stage4-gas: maybe-all-stage4-intl
58724 all-stageprofile-gas: maybe-all-stageprofile-intl
58725 all-stagetrain-gas: maybe-all-stagetrain-intl
58726 all-stagefeedback-gas: maybe-all-stagefeedback-intl
58727 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
58728 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
58729 configure-ld: maybe-configure-intl
58730 configure-stage1-ld: maybe-configure-stage1-intl
58731 configure-stage2-ld: maybe-configure-stage2-intl
58732 configure-stage3-ld: maybe-configure-stage3-intl
58733 configure-stage4-ld: maybe-configure-stage4-intl
58734 configure-stageprofile-ld: maybe-configure-stageprofile-intl
58735 configure-stagetrain-ld: maybe-configure-stagetrain-intl
58736 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
58737 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
58738 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
58739 all-ld: maybe-all-libiberty
58740 all-stage1-ld: maybe-all-stage1-libiberty
58741 all-stage2-ld: maybe-all-stage2-libiberty
58742 all-stage3-ld: maybe-all-stage3-libiberty
58743 all-stage4-ld: maybe-all-stage4-libiberty
58744 all-stageprofile-ld: maybe-all-stageprofile-libiberty
58745 all-stagetrain-ld: maybe-all-stagetrain-libiberty
58746 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
58747 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
58748 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
58749 all-ld: maybe-all-bfd
58750 all-stage1-ld: maybe-all-stage1-bfd
58751 all-stage2-ld: maybe-all-stage2-bfd
58752 all-stage3-ld: maybe-all-stage3-bfd
58753 all-stage4-ld: maybe-all-stage4-bfd
58754 all-stageprofile-ld: maybe-all-stageprofile-bfd
58755 all-stagetrain-ld: maybe-all-stagetrain-bfd
58756 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
58757 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
58758 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
58759 all-ld: maybe-all-opcodes
58760 all-stage1-ld: maybe-all-stage1-opcodes
58761 all-stage2-ld: maybe-all-stage2-opcodes
58762 all-stage3-ld: maybe-all-stage3-opcodes
58763 all-stage4-ld: maybe-all-stage4-opcodes
58764 all-stageprofile-ld: maybe-all-stageprofile-opcodes
58765 all-stagetrain-ld: maybe-all-stagetrain-opcodes
58766 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
58767 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
58768 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
58769 all-ld: maybe-all-build-bison
58770 all-stage1-ld: maybe-all-build-bison
58771 all-stage2-ld: maybe-all-build-bison
58772 all-stage3-ld: maybe-all-build-bison
58773 all-stage4-ld: maybe-all-build-bison
58774 all-stageprofile-ld: maybe-all-build-bison
58775 all-stagetrain-ld: maybe-all-build-bison
58776 all-stagefeedback-ld: maybe-all-build-bison
58777 all-stageautoprofile-ld: maybe-all-build-bison
58778 all-stageautofeedback-ld: maybe-all-build-bison
58779 all-ld: maybe-all-build-flex
58780 all-stage1-ld: maybe-all-build-flex
58781 all-stage2-ld: maybe-all-build-flex
58782 all-stage3-ld: maybe-all-build-flex
58783 all-stage4-ld: maybe-all-build-flex
58784 all-stageprofile-ld: maybe-all-build-flex
58785 all-stagetrain-ld: maybe-all-build-flex
58786 all-stagefeedback-ld: maybe-all-build-flex
58787 all-stageautoprofile-ld: maybe-all-build-flex
58788 all-stageautofeedback-ld: maybe-all-build-flex
58789 all-ld: maybe-all-intl
58790 all-stage1-ld: maybe-all-stage1-intl
58791 all-stage2-ld: maybe-all-stage2-intl
58792 all-stage3-ld: maybe-all-stage3-intl
58793 all-stage4-ld: maybe-all-stage4-intl
58794 all-stageprofile-ld: maybe-all-stageprofile-intl
58795 all-stagetrain-ld: maybe-all-stagetrain-intl
58796 all-stagefeedback-ld: maybe-all-stagefeedback-intl
58797 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
58798 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
58799 all-ld: maybe-all-gas
58800 all-stage1-ld: maybe-all-stage1-gas
58801 all-stage2-ld: maybe-all-stage2-gas
58802 all-stage3-ld: maybe-all-stage3-gas
58803 all-stage4-ld: maybe-all-stage4-gas
58804 all-stageprofile-ld: maybe-all-stageprofile-gas
58805 all-stagetrain-ld: maybe-all-stagetrain-gas
58806 all-stagefeedback-ld: maybe-all-stagefeedback-gas
58807 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
58808 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
58809 all-ld: maybe-all-binutils
58810 all-stage1-ld: maybe-all-stage1-binutils
58811 all-stage2-ld: maybe-all-stage2-binutils
58812 all-stage3-ld: maybe-all-stage3-binutils
58813 all-stage4-ld: maybe-all-stage4-binutils
58814 all-stageprofile-ld: maybe-all-stageprofile-binutils
58815 all-stagetrain-ld: maybe-all-stagetrain-binutils
58816 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
58817 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
58818 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
58819 install-ld: maybe-install-gold
58820 install-strip-ld: maybe-install-strip-gold
58821 configure-gold: maybe-configure-intl
58822 configure-stage1-gold: maybe-configure-stage1-intl
58823 configure-stage2-gold: maybe-configure-stage2-intl
58824 configure-stage3-gold: maybe-configure-stage3-intl
58825 configure-stage4-gold: maybe-configure-stage4-intl
58826 configure-stageprofile-gold: maybe-configure-stageprofile-intl
58827 configure-stagetrain-gold: maybe-configure-stagetrain-intl
58828 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
58829 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
58830 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
58831 all-gold: maybe-all-libiberty
58832 all-stage1-gold: maybe-all-stage1-libiberty
58833 all-stage2-gold: maybe-all-stage2-libiberty
58834 all-stage3-gold: maybe-all-stage3-libiberty
58835 all-stage4-gold: maybe-all-stage4-libiberty
58836 all-stageprofile-gold: maybe-all-stageprofile-libiberty
58837 all-stagetrain-gold: maybe-all-stagetrain-libiberty
58838 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
58839 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
58840 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
58841 all-gold: maybe-all-intl
58842 all-stage1-gold: maybe-all-stage1-intl
58843 all-stage2-gold: maybe-all-stage2-intl
58844 all-stage3-gold: maybe-all-stage3-intl
58845 all-stage4-gold: maybe-all-stage4-intl
58846 all-stageprofile-gold: maybe-all-stageprofile-intl
58847 all-stagetrain-gold: maybe-all-stagetrain-intl
58848 all-stagefeedback-gold: maybe-all-stagefeedback-intl
58849 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
58850 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
58851 all-gold: maybe-all-bfd
58852 all-stage1-gold: maybe-all-stage1-bfd
58853 all-stage2-gold: maybe-all-stage2-bfd
58854 all-stage3-gold: maybe-all-stage3-bfd
58855 all-stage4-gold: maybe-all-stage4-bfd
58856 all-stageprofile-gold: maybe-all-stageprofile-bfd
58857 all-stagetrain-gold: maybe-all-stagetrain-bfd
58858 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
58859 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
58860 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
58861 all-gold: maybe-all-build-bison
58862 all-stage1-gold: maybe-all-build-bison
58863 all-stage2-gold: maybe-all-build-bison
58864 all-stage3-gold: maybe-all-build-bison
58865 all-stage4-gold: maybe-all-build-bison
58866 all-stageprofile-gold: maybe-all-build-bison
58867 all-stagetrain-gold: maybe-all-build-bison
58868 all-stagefeedback-gold: maybe-all-build-bison
58869 all-stageautoprofile-gold: maybe-all-build-bison
58870 all-stageautofeedback-gold: maybe-all-build-bison
58871 all-gold: maybe-all-gas
58872 all-stage1-gold: maybe-all-stage1-gas
58873 all-stage2-gold: maybe-all-stage2-gas
58874 all-stage3-gold: maybe-all-stage3-gas
58875 all-stage4-gold: maybe-all-stage4-gas
58876 all-stageprofile-gold: maybe-all-stageprofile-gas
58877 all-stagetrain-gold: maybe-all-stagetrain-gas
58878 all-stagefeedback-gold: maybe-all-stagefeedback-gas
58879 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58880 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58881 check-gold: maybe-all-binutils
58882 check-stage1-gold: maybe-all-stage1-binutils
58883 check-stage2-gold: maybe-all-stage2-binutils
58884 check-stage3-gold: maybe-all-stage3-binutils
58885 check-stage4-gold: maybe-all-stage4-binutils
58886 check-stageprofile-gold: maybe-all-stageprofile-binutils
58887 check-stagetrain-gold: maybe-all-stagetrain-binutils
58888 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
58889 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
58890 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
58891 check-gold: maybe-all-gas
58892 check-stage1-gold: maybe-all-stage1-gas
58893 check-stage2-gold: maybe-all-stage2-gas
58894 check-stage3-gold: maybe-all-stage3-gas
58895 check-stage4-gold: maybe-all-stage4-gas
58896 check-stageprofile-gold: maybe-all-stageprofile-gas
58897 check-stagetrain-gold: maybe-all-stagetrain-gas
58898 check-stagefeedback-gold: maybe-all-stagefeedback-gas
58899 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58900 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58901 configure-opcodes: maybe-configure-intl
58902 configure-stage1-opcodes: maybe-configure-stage1-intl
58903 configure-stage2-opcodes: maybe-configure-stage2-intl
58904 configure-stage3-opcodes: maybe-configure-stage3-intl
58905 configure-stage4-opcodes: maybe-configure-stage4-intl
58906 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
58907 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
58908 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
58909 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
58910 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
58911 all-opcodes: maybe-all-bfd
58912 all-stage1-opcodes: maybe-all-stage1-bfd
58913 all-stage2-opcodes: maybe-all-stage2-bfd
58914 all-stage3-opcodes: maybe-all-stage3-bfd
58915 all-stage4-opcodes: maybe-all-stage4-bfd
58916 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
58917 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
58918 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
58919 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
58920 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
58921 all-opcodes: maybe-all-libiberty
58922 all-stage1-opcodes: maybe-all-stage1-libiberty
58923 all-stage2-opcodes: maybe-all-stage2-libiberty
58924 all-stage3-opcodes: maybe-all-stage3-libiberty
58925 all-stage4-opcodes: maybe-all-stage4-libiberty
58926 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58927 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58928 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58929 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58930 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58931 all-opcodes: maybe-all-intl
58932 all-stage1-opcodes: maybe-all-stage1-intl
58933 all-stage2-opcodes: maybe-all-stage2-intl
58934 all-stage3-opcodes: maybe-all-stage3-intl
58935 all-stage4-opcodes: maybe-all-stage4-intl
58936 all-stageprofile-opcodes: maybe-all-stageprofile-intl
58937 all-stagetrain-opcodes: maybe-all-stagetrain-intl
58938 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
58939 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
58940 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
58941 all-dejagnu: maybe-all-tcl
58942 all-dejagnu: maybe-all-expect
58943 all-dejagnu: maybe-all-tk
58944 configure-expect: maybe-configure-tcl
58945 configure-expect: maybe-configure-tk
58946 all-expect: maybe-all-tcl
58947 all-expect: maybe-all-tk
58948 configure-itcl: maybe-configure-tcl
58949 configure-itcl: maybe-configure-tk
58950 all-itcl: maybe-all-tcl
58951 all-itcl: maybe-all-tk
58952 install-itcl: maybe-install-tcl
58953 install-strip-itcl: maybe-install-strip-tcl
58954 configure-tk: maybe-configure-tcl
58955 all-tk: maybe-all-tcl
58956 all-sid: maybe-all-tcl
58957 all-sid: maybe-all-tk
58958 install-sid: maybe-install-tcl
58959 install-strip-sid: maybe-install-strip-tcl
58960 install-sid: maybe-install-tk
58961 install-strip-sid: maybe-install-strip-tk
58962 all-sim: maybe-all-readline
58963 all-sim: maybe-configure-gdb
58964 all-fastjar: maybe-all-build-texinfo
58965 all-libctf: all-libiberty
58966 all-stage1-libctf: all-stage1-libiberty
58967 all-stage2-libctf: all-stage2-libiberty
58968 all-stage3-libctf: all-stage3-libiberty
58969 all-stage4-libctf: all-stage4-libiberty
58970 all-stageprofile-libctf: all-stageprofile-libiberty
58971 all-stagetrain-libctf: all-stagetrain-libiberty
58972 all-stagefeedback-libctf: all-stagefeedback-libiberty
58973 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
58974 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
58975 all-libctf: maybe-all-bfd
58976 all-stage1-libctf: maybe-all-stage1-bfd
58977 all-stage2-libctf: maybe-all-stage2-bfd
58978 all-stage3-libctf: maybe-all-stage3-bfd
58979 all-stage4-libctf: maybe-all-stage4-bfd
58980 all-stageprofile-libctf: maybe-all-stageprofile-bfd
58981 all-stagetrain-libctf: maybe-all-stagetrain-bfd
58982 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
58983 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
58984 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
58985 all-libctf: maybe-all-zlib
58986 all-stage1-libctf: maybe-all-stage1-zlib
58987 all-stage2-libctf: maybe-all-stage2-zlib
58988 all-stage3-libctf: maybe-all-stage3-zlib
58989 all-stage4-libctf: maybe-all-stage4-zlib
58990 all-stageprofile-libctf: maybe-all-stageprofile-zlib
58991 all-stagetrain-libctf: maybe-all-stagetrain-zlib
58992 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
58993 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
58994 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
58995 configure-libctf: maybe-all-bfd
58996 configure-stage1-libctf: maybe-all-stage1-bfd
58997 configure-stage2-libctf: maybe-all-stage2-bfd
58998 configure-stage3-libctf: maybe-all-stage3-bfd
58999 configure-stage4-libctf: maybe-all-stage4-bfd
59000 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
59001 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
59002 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
59003 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
59004 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
59005 configure-libctf: maybe-all-intl
59006 configure-stage1-libctf: maybe-all-stage1-intl
59007 configure-stage2-libctf: maybe-all-stage2-intl
59008 configure-stage3-libctf: maybe-all-stage3-intl
59009 configure-stage4-libctf: maybe-all-stage4-intl
59010 configure-stageprofile-libctf: maybe-all-stageprofile-intl
59011 configure-stagetrain-libctf: maybe-all-stagetrain-intl
59012 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
59013 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
59014 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
59015 configure-libctf: maybe-all-zlib
59016 configure-stage1-libctf: maybe-all-stage1-zlib
59017 configure-stage2-libctf: maybe-all-stage2-zlib
59018 configure-stage3-libctf: maybe-all-stage3-zlib
59019 configure-stage4-libctf: maybe-all-stage4-zlib
59020 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
59021 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
59022 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
59023 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
59024 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
59025 configure-libctf: maybe-all-libiconv
59026 configure-stage1-libctf: maybe-all-stage1-libiconv
59027 configure-stage2-libctf: maybe-all-stage2-libiconv
59028 configure-stage3-libctf: maybe-all-stage3-libiconv
59029 configure-stage4-libctf: maybe-all-stage4-libiconv
59030 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
59031 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
59032 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
59033 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
59034 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
59035 all-bison: maybe-all-build-texinfo
59036 all-flex: maybe-all-build-bison
59037 all-flex: maybe-all-m4
59038 all-flex: maybe-all-build-texinfo
59039 all-m4: maybe-all-build-texinfo
59040 configure-target-fastjar: maybe-configure-target-zlib
59041 all-target-fastjar: maybe-all-target-zlib
59042 configure-target-libgo: maybe-configure-target-libffi
59043 all-target-libgo: maybe-all-target-libbacktrace
59044 all-target-libgo: maybe-all-target-libffi
59045 all-target-libgo: maybe-all-target-libatomic
59046 configure-target-libphobos: maybe-configure-target-libbacktrace
59047 configure-target-libphobos: maybe-configure-target-zlib
59048 all-target-libphobos: maybe-all-target-libbacktrace
59049 all-target-libphobos: maybe-all-target-zlib
59050 all-target-libphobos: maybe-all-target-libatomic
59051 configure-target-libstdc++-v3: maybe-configure-target-libgomp
59052 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
59053 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
59054 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
59055 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
59056 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
59057 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
59058 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
59059 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
59060 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
59061 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
59062 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
59063 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
59064 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
59065 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
59066 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
59067 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
59068 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
59069 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
59070 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
59071 configure-target-libvtv: maybe-all-target-libstdc++-v3
59072 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
59073 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
59074 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
59075 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
59076 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
59077 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
59078 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
59079 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
59080 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
59081 all-target-libstdc++-v3: maybe-configure-target-libgomp
59082 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
59083 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
59084 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
59085 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
59086 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
59087 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
59088 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
59089 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
59090 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
59091 install-target-libgo: maybe-install-target-libatomic
59092 install-target-libgfortran: maybe-install-target-libquadmath
59093 install-target-libgfortran: maybe-install-target-libgcc
59094 install-target-libphobos: maybe-install-target-libatomic
59095 install-target-libsanitizer: maybe-install-target-libstdc++-v3
59096 install-target-libsanitizer: maybe-install-target-libgcc
59097 install-target-libvtv: maybe-install-target-libstdc++-v3
59098 install-target-libvtv: maybe-install-target-libgcc
59099 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
59100 install-target-liboffloadmic: maybe-install-target-libgcc
59101 install-target-libitm: maybe-install-target-libgcc
59102 install-target-libobjc: maybe-install-target-libgcc
59103 install-target-libstdc++-v3: maybe-install-target-libgcc
59104 all-target-libgloss: maybe-all-target-newlib
59105 all-target-winsup: maybe-all-target-libtermcap
59106 configure-target-libgfortran: maybe-all-target-libquadmath
59107 configure-target-libgfortran: maybe-all-target-libbacktrace
59110 @if gcc-bootstrap
59111 configure-gnattools: stage_last
59112 configure-libcc1: stage_last
59113 configure-utils: stage_last
59114 configure-gdb: stage_last
59115 configure-gprof: stage_last
59116 configure-sid: stage_last
59117 configure-sim: stage_last
59118 configure-fastjar: stage_last
59119 configure-bison: stage_last
59120 configure-flex: stage_last
59121 configure-m4: stage_last
59122 @endif gcc-bootstrap
59124 @unless gcc-bootstrap
59125 all-gnattools: maybe-all-target-libstdc++-v3
59126 configure-libcc1: maybe-configure-gcc
59127 all-libcc1: maybe-all-gcc
59128 all-utils: maybe-all-libiberty
59129 configure-gdb: maybe-all-intl
59130 configure-gdb: maybe-all-bfd
59131 configure-gdb: maybe-all-libiconv
59132 all-gdb: maybe-all-libiberty
59133 all-gdb: maybe-all-libiconv
59134 all-gdb: maybe-all-opcodes
59135 all-gdb: maybe-all-libdecnumber
59136 configure-gprof: maybe-configure-intl
59137 all-gprof: maybe-all-libiberty
59138 all-gprof: maybe-all-bfd
59139 all-gprof: maybe-all-opcodes
59140 all-gprof: maybe-all-intl
59141 all-gprof: maybe-all-gas
59142 all-sid: maybe-all-libiberty
59143 all-sid: maybe-all-bfd
59144 all-sid: maybe-all-opcodes
59145 configure-sim: maybe-configure-intl
59146 all-sim: maybe-all-intl
59147 all-sim: maybe-all-libiberty
59148 all-sim: maybe-all-bfd
59149 all-sim: maybe-all-opcodes
59150 all-fastjar: maybe-all-zlib
59151 all-fastjar: maybe-all-libiberty
59152 all-bison: maybe-all-intl
59153 all-flex: maybe-all-intl
59154 all-m4: maybe-all-intl
59155 configure-target-libgo: maybe-all-target-libstdc++-v3
59156 configure-target-liboffloadmic: maybe-configure-target-libgomp
59157 all-target-liboffloadmic: maybe-all-target-libgomp
59158 configure-target-newlib: maybe-all-binutils
59159 configure-target-newlib: maybe-all-ld
59160 @endunless gcc-bootstrap
59162 # Dependencies for target modules on other target modules are
59163 # described by lang_env_dependencies; the defaults apply to anything
59164 # not mentioned there.
59167 @if gcc-bootstrap
59168 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
59169 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
59170 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
59171 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
59172 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
59173 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
59174 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
59175 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
59176 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
59177 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
59178 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
59179 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
59180 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
59181 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
59182 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
59183 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
59184 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
59185 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
59186 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
59187 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
59188 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
59189 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
59190 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
59191 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
59192 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
59193 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
59194 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
59195 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
59196 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
59197 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
59198 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
59199 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
59200 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
59201 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
59202 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
59203 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
59204 @endif gcc-bootstrap
59206 @if gcc-no-bootstrap
59207 configure-target-libstdc++-v3: maybe-all-target-libgcc
59208 configure-target-libsanitizer: maybe-all-target-libgcc
59209 configure-target-libvtv: maybe-all-target-libgcc
59210 configure-target-liboffloadmic: maybe-all-target-libgcc
59211 configure-target-libssp: maybe-all-target-libgcc
59212 configure-target-newlib: maybe-all-target-libgcc
59213 configure-target-libbacktrace: maybe-all-target-libgcc
59214 configure-target-libquadmath: maybe-all-target-libgcc
59215 configure-target-libgfortran: maybe-all-target-libgcc
59216 configure-target-libobjc: maybe-all-target-libgcc
59217 configure-target-libgo: maybe-all-target-libgcc
59218 configure-target-libhsail-rt: maybe-all-target-libgcc
59219 configure-target-libphobos: maybe-all-target-libgcc
59220 configure-target-libtermcap: maybe-all-target-libgcc
59221 configure-target-winsup: maybe-all-target-libgcc
59222 configure-target-libgloss: maybe-all-target-libgcc
59223 configure-target-libffi: maybe-all-target-libgcc
59224 configure-target-zlib: maybe-all-target-libgcc
59225 configure-target-rda: maybe-all-target-libgcc
59226 configure-target-libada: maybe-all-target-libgcc
59227 configure-target-libgomp: maybe-all-target-libgcc
59228 configure-target-libitm: maybe-all-target-libgcc
59229 configure-target-libatomic: maybe-all-target-libgcc
59230 @endif gcc-no-bootstrap
59233 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
59235 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
59237 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
59239 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
59240 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
59242 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
59246 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
59248 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
59250 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
59252 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
59254 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
59256 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
59258 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
59260 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
59262 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
59265 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
59266 configure-target-libffi: maybe-all-target-libstdc++-v3
59268 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
59270 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
59272 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
59274 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
59276 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
59277 configure-target-libitm: maybe-all-target-libstdc++-v3
59279 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
59282 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
59283 GDB_TK = @GDB_TK@
59284 INSTALL_GDB_TK = @INSTALL_GDB_TK@
59285 configure-gdb: $(CONFIGURE_GDB_TK)
59286 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
59287 install-gdb: $(INSTALL_GDB_TK)
59289 # Serialization dependencies. Host configures don't work well in parallel to
59290 # each other, due to contention over config.cache. Target configures and
59291 # build configures are similar.
59292 @serialization_dependencies@
59294 # --------------------------------
59295 # Regenerating top level configury
59296 # --------------------------------
59298 # Rebuilding Makefile.in, using autogen.
59299 AUTOGEN = autogen
59300 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
59301 cd $(srcdir) && $(AUTOGEN) Makefile.def
59303 # Rebuilding Makefile.
59304 Makefile: $(srcdir)/Makefile.in config.status
59305 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
59307 config.status: configure
59308 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
59310 # Rebuilding configure.
59311 AUTOCONF = autoconf
59312 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
59313 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
59314 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
59315 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
59316 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
59317 cd $(srcdir) && $(AUTOCONF)
59319 # ------------------------------
59320 # Special directives to GNU Make
59321 # ------------------------------
59323 # Don't pass command-line variables to submakes.
59324 .NOEXPORT:
59325 MAKEOVERRIDES=
59327 # end of Makefile.in